@font-face {
  font-family: "ExpertSans-Regular";
  src: url("../fonts/expertsans-regular-webfont.eot");
  src: url("../fonts/expertsans-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/expertsans-regular-webfont.woff") format("woff"),
    url("../fonts/expertsans-regular-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ExpertSans-Black";
  src: url("../fonts/expertsans-black.eot");
  src: url("../fonts/expertsans-black.eot?#iefix") format("embedded-opentype"),
    url("../fonts/expertsans-black.woff") format("woff"),
    url("../fonts/expertsans-black.woff2") format("woff2"),
    url("../fonts/expertsans-black.svg") format("svg"),
    url("../fonts/ExpertSans-Black.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ExpertSans-Bold";
  src: url("../fonts/expertsans-bold-webfont.eot");
  src: url("../fonts/expertsans-bold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/expertsans-bold-webfont.svg#expertsans-bold-webfont")
      format("svg"),
    url("../fonts/expertsans-bold-webfont.woff") format("woff"),
    url("../fonts/expertsans-bold-webfont.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

*,
*:focus,
*:hover {
  outline: none;
}

.barclays-cookie-consent-overlay {
  background-color: rgb(0, 0, 0);
  opacity: 0.32;
  filter: alpha(opacity=32);
  position: fixed;
  z-index: 2147483650;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

.barclays-cookie-consent-modal {
  position: fixed;
  z-index: 2147483651;
  left: 0;
  bottom: 0px;
  right: 0px;
  box-sizing: content-box;
  height: auto;
  /*  width: 97.6%; */
  background: #fff;
  box-shadow: 2px 3px 10px 0 rgba(0, 0, 0, 0.34);
}

.primary-view {
  padding: 28px 95px 26px 73px;
}

.manage-cookie-view {
  /* padding: 36px 95px 26px 103px; */
}

.manage-cookie-view-desc {
  /* padding: 10px 31px 22px 0; */
  padding-top: 10px;
  margin: 0;
}

.consents-container {
  padding: 0 95px 26px 103px;
}

.barclays-accept-cookies {
  margin-left: 20px;
}

.action-btns {
  display: flex;
  justify-content: flex-end;
  padding-right: 6px;
}

.manage-cookie-view {
  display: none;
}

.manage-cookie-view-header {
  background: #f3f8fc;
  padding: 36px 126px 22px 103px;
}

.manage-cookiee-row {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
}

.manage-cookiee-column {
  flex: 0 0 43%;
}

.consent-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.consent-title {
  display: inline-flex;
  font-family: ExpertSans-Black;
  font-size: 24px;
  color: #00395d;
  letter-spacing: -0.48px;
  line-height: 40px;
  margin: 0;
  max-width: 80%;
}

.consent-section-desc {
  font-family: ExpertSans-Regular;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 24px;
  margin: 10px 0 0 0;
}

.consent-header {
  font-family: ExpertSans-Black;
  font-size: 30px;
  color: #00395d;
  letter-spacing: -0.6px;
  line-height: 40px;
  margin: 0;
}

.consent-description {
  font-family: ExpertSans-Regular;
  font-size: 18px;
  color: #00395d;
  line-height: 31px;
}

.primary-view-consent-desc {
  padding: 10px 0 30px 0;
  margin: 0;
}

.consent-action-btn {
  font-family: ExpertSans-Regular;
  font-size: 18px;
  text-align: center;
  line-height: 18px;
  padding: 13px 17px;
}

.consent-primary-btn {
  background: #0074a6;
  border-radius: 30px;
  color: #ffffff;
  border: none;
  cursor:pointer;
}

.consent-secondary-btn {
  border: 1px solid #00aeef;
  border-radius: 30px;
  color: #00aeef;
  background: #ffffff;
}

.consent-form {
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.consent-as-modal {
  /*transform: translate(-50%, -50%);
 max-width: 70%;
  top: 425px;
  left: 50%;
  height: 718px;
  overflow: auto;
  width: 61.64%;*/
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  width: 73.125em;
  top: 125px;
  bottom: auto;
}

.consent-as-modal .manage-cookie-view-header {
  padding: 23px 62px 22px 46px;
}

.consent-as-modal .manage-cookie-view-desc {
  padding-top: 1px;
}

.consent-as-modal .consents-container {
  padding: 0 48px 26px 46px;
}

.consent-as-modal .manage-cookiee-column {
  flex: 0 0 39.034%;
}

.pecr-widget {
  position: fixed;
  bottom: 30px;
  left: 10px;
  right: auto;
  height: 30px;
  width: 30px;
  background: url("../img/pecr-widget.png") no-repeat;
  cursor: pointer;
  display:none;
}

@media only screen and (max-device-width: 811px) {
  .consent-secondary-btn {
    margin-bottom: 24px;
  }

  .primary-view {
    padding: 29px 10px 76px 19px;
  }
  .manage-cookie-view {
    overflow: auto;
    height: 70vh;
  }

  .manage-cookiee-row {
    flex-direction: column;
    padding: 0;
  }

  .manage-cookie-view-header {
    padding: 25px 18px 12px 14px;
  }

  .consent-description {
    font-size: 16px;
    line-height: 27px;
  }

  .manage-cookie-view-desc {
    padding: 13px 4px 0 4px;
  }

  .consents-container {
    padding: 0 14px 76px 18px;
  }

  .consent-section {
    padding-right: 9px;
  }

  .consent-form {
    padding-bottom: 0;
    margin-bottom: 30px;
    border: none;
  }

  .primary-view .action-btns {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    max-width: 225px;
    margin-right: auto;
    margin-left: auto;
  }

  .manage-cookie-view .action-btns {
    flex-direction: row;
    padding: 0;
    justify-content: center;
  }

  .consent-action-btn {
    padding: 13px 45px;
    min-width: 225px;
  }

  .barclays-accept-cookies {
    margin: 0;
  }

  .manage-cookiee-column {
    padding-top: 15px;
  }

  .primary-view-consent-desc {
    padding: 12px 10px 20px 2px;
  }

  /* .primary-view .action-btns {
    height: 112px;
    justify-content: space-between;
  } */
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .manage-cookie-view {
    height: 90vh !important;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* .manage-cookie-view {
    overflow: unset;
    height: auto;
  } */
  .consent-secondary-btn {
    margin-bottom: 0;
  }

  .consent-description {
    font-size: 18px;
    line-height: 31px;
  }

  .manage-cookie-view {
    overflow: auto;
    height: auto;
  }

  .manage-cookie-view-desc {
    padding: 10px 0 0 0;
  }

  .manage-cookiee-row {
    flex-direction: column;
  }

  .manage-cookiee-column {
    padding-top: 15px;
  }

  .primary-view {
    padding: 24px 38px 30px 38px;
  }

  .primary-view-consent-desc {
    padding: 10px 0 30px 0;
  }

  .consent-action-btn {
    padding: 13px 17px;
    min-width: 170px;
  }

  /* .primary-view .action-btns {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    padding: 0;
    height: auto;
  } */

  .action-btns {
    justify-content: flex-end !important;
    padding: 0;
    flex-direction: row !important;
    max-width: unset !important;
    margin: unset;
  }

  .barclays-accept-cookies {
    margin-left: 29px;
  }
  .consent-form {
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 15px;
    margin-bottom: 23px;
  }

  .consents-container {
    padding: 0 38px 35px 39px;
  }

  .manage-cookie-view-header {
    padding: 15px 38px 22px 39px;
  }
}

@media only screen and (max-device-width: 811px) and (orientation: landscape) {
  .manage-cookie-view {
    overflow: auto;
    height: 80vh;
  }

  .manage-cookiee-row {
    flex-direction: column;
  }

  .manage-cookie-view .action-btns {
    justify-content: center;
    flex-direction: row;
    min-width: 225px;
    padding: 0;
  }

  .primary-view .action-btns {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    height: auto;
    max-width: 225px;
    margin-right: auto;
    margin-left: auto;
  }

  .consent-form {
    border-bottom: unset;
  }

  /*  .primary-view .barclays-accept-cookies {
    margin-left: 29px;
  }

  .primary-view .consent-secondary-btn {
    margin-bottom: 0;
  } */
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (orientation: landscape) {
  .consent-form {
    border-bottom: unset;
  }

  .primary-view .action-btns {
    display: flex;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 0;
    max-width: 225px !important;
    margin-right: auto;
    margin-left: auto;
  }

  .primary-view .consent-secondary-btn {
    margin-bottom: 24px;
  }

  .primary-view .barclays-accept-cookies {
    margin: 0;
  }

  .manage-cookie-view .action-btns {
    flex-direction: row !important;
    padding: 0;
    justify-content: center !important;
  }
}

/*toggle button CSS starts here*/

.onoffswitch {
  position: relative;
  width: 59px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.onoffswitch-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  /* border: 2px solid #999999; */
  border-radius: 13.5px;
}
.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 30px;
  padding: 0;
  line-height: 30px;
  font-size: 11px;
  color: white;
  font-family: ExpertSans-Bold;
  font-weight: bold;
  box-sizing: border-box;
}
.onoffswitch-inner:before {
  content: "ON";
  padding-left: 9px;
  background-color: #0076b6;
  color: #ffffff;
}
.onoffswitch-inner:after {
  content: "OFF";
  padding-right: 5px;
  background-color: #d2f0ff;
  color: #0074a6;
  text-align: right;
  border: 1px solid #0074a6;
  border-radius: 17px;
}
.onoffswitch-switch {
  display: block;
  width: 23px;
  height: 23px;
  margin: 3px;
  background: #ffffff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  /* border: 2px solid #999999; */
  border-radius: 17px;
  border: 1px solid #0074a6;
  transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px;
}

.onoffswitch-checkbox-disabled + .onoffswitch-label .onoffswitch-inner:before,
.onoffswitch-checkbox-disabled + .onoffswitch-label .onoffswitch-inner:after {
  background-color: #a4cbdf;
  cursor: auto;
}

.onoffswitch-checkbox-disabled + .onoffswitch-label .onoffswitch-switch {
  cursor: auto;
}
