@import "fonts.css";

/* ============== */

/* Mobile responsivity */

@media (min-width: 1199px) {
    .secondary-share-block {
        display: none;
    }
    /* .share-block {
        padding-top: 5rem;
    } */
    .share-icons {
        padding-top: 3rem;
    }
    .mb-sidebar-right {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 63px;
        grid-column: wide-end / main-end;
    }
    #mb-sidebar-right {
        margin-top: 3vmin;
    }
    /* Fixed sidebar on scroll */
    #mb-sidebar-right.mb-fixed {
        position: fixed;
        top: 21px;
        margin-top: 15.2vmin !important;
        right: -50px;
        /* padding-top: 115px; */
        /* padding-bottom: 1px; */
        /* transform: translateY(20px); */
        right: 41.359px;
        /* top: 0px; */
        /* width: 43.9375px; */
        /* height: 7467.28px; */
    }
}


@media (min-width: 1440px) {
    #mb-sidebar-right.mb-fixed {
      top: 19px !important;
      right: 338.359px !important;
    }

    .mb-sidebar-right {
      right: 106px !important;
    }
}

@media (min-width: 2560px) {
    #mb-sidebar-right {
        margin-top: 22vmin !important;
    }
    #mb-sidebar-right.mb-fixed {
        right: 681.359px !important;
        margin-top: 30.2vmin !important;
    }
    aside#mb-sidebar-right.mb-fixed {
        margin-top: 30.2vmin !important;
    }
}

@media (min-width: 1920px) {
    #mb-sidebar-right.mb-fixed {
        right: 458.35px !important;
    }
}

/* ================ */

.subscription-box {
    /* max-width: 100%; */
    width: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    position: absolute;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0px 0px 11.3428px -2.98495px rgba(70, 107, 144, 0.12);
    border-radius: 6.82274px;
    /* right: 18px;
    top: 1624px; */
    --color-accent: #003366;
    padding: 15px;
  }

  .subscription-box::after {
    /* background-color: var(--color-accent); */
    opacity: 0.2;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .subscription-illustration-box {
    margin-bottom: 12px;
    /* background: radial-gradient(50% 50% at 50% 50%, #003F7D 0%, #003366 100%); */
    /* border-radius: 8px; */
  }

  .subscription-illustration-box img {
    border-radius: 8px;
    background: radial-gradient(50% 50% at 50% 50%, #003F7D 0%, #003366 100%);
    width: 250px;
  }

  .subscription-header {
    padding: 5px 0;
    align-self: flex-start;
  }

  .subscription-header h3 {
    left: 0;
    font-family: 'Objectivity';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    /* color: #000912; */
  }

  .subscription-header p {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    color: #466B90;
  }

  .subscription-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 30rem;
    --color-danger: #fc365e;
    --color-success: #48c774;
  }

  .subscription-form-description {
    text-align: left;
    margin-bottom: 2em;
    margin-top: 0;
  }

  .subscription-form .success-message, .subscription-form .error-message {
    display: none;
  }

  .subscription-form.success .success-message, .subscription-form.error .error-message {
    display: flex;
    margin-top: 10px;
    font-weight: 500;
  }

  .subscription-form.success .success-message {
    color: var(--color-success);
  }

  .subscription-form.error .error-message {
    color: var(--color-danger);
  }

  .subscribe-box {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding-top: 10px;
    border-radius: 5px;
  }

  .subscribe-box input {
    border: none;
    box-shadow: none;
    flex: 2;
    margin: 0;
    /* width: 226px; */
    /* height: 44.35px; */
    outline: none;
    border: 0.682274px solid #91A1B1;
    border-radius: 3.41137px;
    padding: 10.67559px 14.4983px;
    font-family: 'Objectivity';
    font-style: normal;
    font-weight: 500;
    font-size: 12.9398px;
    line-height: 20px;
    color: #ADBCCA;
  }

  .subscribe-box button {
    background-color: #003366;
    flex: 1;
    font-family: 'Objectivity';
    font-style: normal;
    font-weight: 700;
    font-size: 13.6455px;
    line-height: 20px;
    border-radius: 6.82274px;
    padding: 11.087px 21.0201px 11.087px 24.4314px;
    color: #FBFDFF;
  }

  .switch {
    position: relative;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    width: 41px;
    height: 18px;
    margin-bottom: 1em;
    margin-right: 1em;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 1px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: var(--color-accent);
  }

  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(17px);
  }

  .slider.round {
    border-radius: 34px;
    width: 30px;
    height: 15px;
  }

  .slider.round:before {
    border-radius: 50%;
    width: 9px;
    height: 9px;
  }

  .switch .switch-data {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 30px;
  }
  

  .switch-data .label-description {
    white-space: nowrap;
    /* word-break: break-all; */
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    /* max-width: 140px; */
    width: 135px;
    /* overflow-wrap: break-word; */
    margin-left: 10px;
  }

  .switch .switch-data .fas.fa-info-circle {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    color: white;
    /* height: 19px;
    width: 19px !important; */
    background-color:#8FABC8;
    border: 0.407407px solid #8FABC8;
    border-radius: 50%;
  }

  .switch i.fas.fa-info-circle::before {
    width: 19px;
    height: 19px;
  }

/* Tooltip for Large Screens */
.switch .switch-data i:hover::after {
  content: attr(data-tooltip);
  display: inline-block;
  /* float: right; */
  z-index: 200;
  background-color: transparent;
  left: 100%;
  transform: translate(80%, 5%);
  color: #003366;
  border-radius: 4px;
  padding: 0.5em;
  font-family: 'Objectivity';
  font-style: normal;
  font-weight: 400;
  font-size: 8px;
  line-height: 12px;
  white-space: wrap;
  box-shadow: 0px 0px 9.18885px -2.41812px rgba(70, 107, 144, 0.12);
  border-radius: 5.52713px;
}

.switch .switch-data i:hover::before {
  /* content: ""; */
  display: inline-block;
  position: absolute;
  z-index: 100;
  /* left: 100%; */
  transform: translate(5%, 5%);
  background-color: #8FABC8;
  border-radius: 50%;
  opacity: 0.93;
  /* border: 5px solid transparent; */
  /* border-left-color: #da3636; */
}

/* screensize lower than 1240 */
@media screen and (max-width: 1240px) {

  .subscription-box {
    display: none;
  }

  /* End of post subscription box styling */

  .end-of-post-sub-box-container .subscription-box {
    display: inline;
    position: inherit;
  }

  .end-of-post-sub-box-container {
    margin: auto;
    position: inherit;
    display: flex;
  }

}

@media screen and (min-width: 1240px) {

  .end-of-post-sub-box-container .subscription-box {
    display: none;
  }
}
/* Tootip test */

/* Reset */
/* * {
	margin: 0;
	padding: 0;
	text-decoration: none;
} */


/* Base Style ------------------*/
/* body {
	font-family: Helvetica, Arial, sans-serif;
	margin: 100px;
}
a {
	color: #CB786C;
} */


/* =Tooltip Style -------------------- */

/* Tooltip Wrapper */
.has-tooltip {
  position: relative;
}
.has-tooltip .tooltip {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: visibility 0s ease 0.5s,opacity .3s ease-in;
  -moz-transition: visibility 0s ease 0.5s,opacity .3s ease-in;
  -o-transition: visibility 0s ease 0.5s,opacity .3s ease-in;
  transition: visibility 0s ease 0.5s,opacity .3s ease-in;
}
.has-tooltip:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Tooltip Body */
.tooltip {
  background-color: #ffffff;
  bottom: 156%;
  color: #466B90;
  font-size: 12px;
  font-family: 'Objectivity';
  left: 89%;
  margin-left: -56px;
  padding: 6px;
  position: absolute;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  width: 100px;
  z-index: 4;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  box-shadow: 0px 0px 9.18885px -2.41812px rgba(70, 107, 144, 0.12);
  border-radius: 5.52713px;
  white-space: break-spaces;
}

/* Tooltip Caret */
.tooltip:after {
  border-top: 5px solid #ffffff;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  bottom: -5px;
  content: " ";
  font-size: 0px;
  left: 50%;
  line-height: 0%;
  margin-left: -4px;
  position: absolute;
  width: 0px;
  z-index: 1;
  box-shadow: 0px 0px 9.18885px -2.41812px rgba(70, 107, 144, 0.12);
}

.mb-sub-icon {
  display: inline;
}

.nl-name {
  vertical-align: super;
  margin-right: 3px;
}

form .nl-audience-group {
  margin-bottom: 12px;
  font-size: 14px;
  font-family: 'Lora';
  font-weight: 600;
}

/* To remove dropcap in sub box in #ffiho */

.tag-hash-ffiho #mb-content #mb-sidebar-right p:first-of-type::first-letter,
.tag-hash-ffiho #mb-content #mb-sidebar-right hr+p:first-letter,
.tag-hash-ffiho #mb-content #mb-sidebar-right hr+h2+p:first-letter,
.tag-hash-mbsv #mb-content #mb-sidebar-right p:first-of-type::first-letter, 
.tag-hash-mbsv #mb-content #mb-sidebar-right hr + p:first-of-type::first-letter, 
.tag-hash-mbsv #mb-content #mb-sidebar-right hr + h2 + p:first-of-type::first-letter {
  float: inherit !important;
  line-height: inherit;
  font-size: inherit !important;
  font-weight: 600 !important;
  font-family: 'Lora';
  color: inherit;
  font-style: inherit;
  padding-top: unset;
  padding-bottom: unset;
  padding-right: unset;
  /* padding-left: 5px; */
  margin-right: unset;
  margin-bottom: unset;
  /* margin: 0 10px 10px 0; */
}

/* Sub box text color change for video pages */

.tag-hash-mbsv #mb-content .subscription-box,
.tag-hash-mbsv #mb-content .subscription-form-title,
.tag-hash-mbsv #mb-content .subscription-form-description,
.tag-hash-mbsv .end-of-post-sub-box-container .subscription-box,
.tag-hash-mbsv .end-of-post-sub-box-container .subscription-form-title {
  color: #143646;
}

.tag-hash-mbsv #mb-content .subscription-form-description {
  font-size: 12px;
}