html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.noscroll {
    overflow: hidden;
}

.portal-payment-option-content {
    padding: 0px 0px 20px;
}

.portal-payment-option-content a {
    font-size: 14px;
    color: var(--fg-color-1);
}

.portal-payment-option-image {
    padding: 20px 0px;
}

.portal-payment-option-image img {
    width: 60px;
}

.portal-heading {
    margin-top: 23px;
    font-size: 14px;
    display: block;
}

.landing-view-header {
    line-height: 1.6;
    letter-spacing: 0.3px;
    font-size: 15px;
}

.landing-view-sub-header{
    letter-spacing: 0.24px;
    line-height: 1.5;
    font-size: 12px;
}

.remove-dropdown-toggle-icon::after {
    content: none;
}

#cookie-consent-modal {
    background-color: rgba(0, 0, 0, 0.69);
    color: var(--fg-color-2);
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 9999;
}

#cookie-consent-modal .portal-btn {
    background-color: #fff;
    color: var(--fg-color-1);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cookie-consent-modal .close-btn {
    background-color: transparent;
    color: #fff;
    border: none;
    font-size: 25px;
    padding: 0;
    width: 100%;
}

.container-fluid.article {
   position: relative;
   z-index: 2;
}

footer {
    font-family: FuturaMedium;
    font-size: 12px;
    color: var(--fg-color-2);
    background-color: var(--bg-color-3);
    height: 37px;
}

footer .footer-content {
    color: inherit;
    height: 100%;
    display: flex;
    align-items: center;
}

.btn-margin-bottom {
    margin-bottom: 25px;
}

.form-group input[type=text], .form-group input[type=email], .form-group input[type=password] {
    background: #fdfdfd;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid #e1e1e1;
}

.terms a {
    text-decoration: underline;
}

.sign-in {
    font-size: 14px;
    text-align: center;
    font-family: FuturaMedium;
    letter-spacing: 0.28px;
}

::-webkit-input-placeholder { /* Edge */
    color: var(--fg-color-1) !important;
    font-weight: bold;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--fg-color-1) !important;
    font-weight: bold;
}

/*------------------Checkbox------------*/
.round {
    position: relative;
    margin-top: 30px;
}

.round i {
    background-color: #f7f5f5;
    cursor: pointer;
    height: 30px;
    left: 0;
    position: absolute;
    top: -5px;
    width: 30px;
    color: #99aab5;
}

.round i:after {
    border: 1px solid #000;
    border-top: none;
    border-right: none;
    content: "";
    height: 7px;
    left: 8px;
    opacity: 0;
    position: absolute;
    top: 9px;
    transform: rotate(-45deg);
    width: 12px;
}

.round input[type="checkbox"] {
    visibility: hidden;
}

.round input[type="checkbox"]:checked + i {
    background-color: #f7f5f5;
    border-color: #000;
}

.round input[type="checkbox"]:checked + i:after {
    opacity: 1;
}

#navigation-header {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.navbar {
    background: var(--bg-color-3);
    padding: var(--navbar-y-padding) var(--navbar-x-padding);
    height: var(--navbar-height);
}

.navbar-toggler,
#dismiss {
    border: 0;
    padding: 0;
    cursor: pointer;
}

#sidebar {
    width: 100%;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    z-index: 999;
    background-color: var(--bg-color-3);
    color: var(--fg-color-2);
    transition: all 0.3s;
    overflow-y: scroll;
    font-family: FuturaMedium;
}

#sidebar .sidebar-header {
    height: var(--navbar-height);
}

#sidebar .sidebar-header > div {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
}

#sidebar.active {
    left: 0;
}

#dismiss {
    font-size: 40px;
    line-height: 0;
}

#dismiss:hover {
    color: var(--fg-color-2);
}

#sidebar .sidebar-header {
    padding: 10px var(--navbar-x-padding);
}

#sidebar ul li:first-child {
    padding-top: 20px;
}

#sidebar ul li a {
    color: var(--fg-color-2);
    padding: 10px 30px;
    font-size: 14px;
    display: block;
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

#web-sidebar {
    width: 37.66vw;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    z-index: 999;
    background-color: var(--bg-color-3);
    color: var(--fg-color-2);
    transition: all 0.3s;
    font-family: FuturaMedium;
    font-size: calc((16/1152) * 100vw + 3.33px);
}

#web-sidebar .sidebar-header {
    height: var(--web-navbar-height);
}

#web-sidebar .sidebar-header > div {
    display: flex;
    align-items: center;
}

#web-sidebar.active {
    right: 0;
}

#web-sidebar .dismiss {
    font-size: 3.707vw;
    line-height: 0;
    cursor: pointer;
}

#web-sidebar .dismiss:hover {
    color: var(--fg-color-2);
}

#web-sidebar .sidebar-header {
    padding: 1.9vh 2.52vw;
}

#web-sidebar ul li:first-child {
    margin-top: 6.72vw;
}

#web-sidebar ul li a {
    padding: 1.04vw 4.38vw;
    color: var(--fg-color-2);
    display: block;
}

#web-sidebar a[data-toggle="collapse"] {
    position: relative;
}

.content-link a {
    color: var(--fg-color-1);
    text-decoration: none;
}

button.btn.add-to-home-screen-install {
    display: none;
    color: var(--fg-color-2);
}

.content-link:hover, .content-link:visited, .content-link:link, .content-link:active {
    text-decoration: none;
}

.dropdown-menu {
    top: 35px;
}

.category-dropdown.dropdown-menu {
    left: -130px;
}

.account-dropdown.dropdown-menu {
    left: -110px;
}

.content-dropdown-menu {
    background-color: #000;
    font-family: FuturaMedium;
    font-size: 25px;
    border: none;
    border-radius: 0;
    padding: 20px 0px 20px 0px;
    min-width: 15rem;
}

.content-dropdown-menu > a.dropdown-item {
    color: #fff;
    padding: 10px 40px;
}

.content-dropdown-menu > a.dropdown-item:hover,
.content-dropdown-menu > a.dropdown-item:focus {
    color: #000;
    text-decoration: none;
}

.content-dropdown-menu > a.dropdown-item:active {
    background-color: #fdbc0b;
}

#reactivate-subscription-modal .modal-dialog {
    top: 30%;
}

#reactivate-subscription-modal .modal-header {
    border: none;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
}

#reactivate-subscription-modal .modal-body {
    border: none;
    padding: 0;
}

#receive-marketing-modal .modal-dialog {
    top: 30%;
}

#receive-marketing-modal .close {
    color: var(--fg-color-2);
    font-size: 11px;
    letter-spacing: 0.22px;
    font-family: FuturaMedium;
    font-weight: 100;
    text-shadow: none;
    float: none;
    text-decoration: underline;
}

#reactivate-subscription-modal .close {
    opacity: 1;
}

#reactivate-subscription-modal .close:hover {
    color: var(--fg-color-2);
}

#reactivate-subscription-modal .modal-content,
#receive-marketing-modal .portal-btn {
    background-color: var(--bg-color-2);
    color: var(--fg-color-1);
    width: 112px;
    font-size: 13px;
    text-transform: none !important;
}

#reactivate-subscription-modal .modal-content,
#receive-marketing-modal .modal-content {
    border: none;
    border-radius: 0;
    background-color: var(--bg-color-3);
    color: var(--fg-color-2);
    font-size: 16px;
    font-family: FuturaMedium;
    width: 100%;
}

#receive-marketing-modal .modal-header {
    border: none;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
}

#receive-marketing-modal .modal-body {
    border: none;
    padding: 0;
}

#receive-marketing-modal .modal-body button.portal-btn {
    background-color: var(--fg-color-1);
}

#receive-marketing-modal .onoffswitch-label {
    background-color: #352c87;
    border: 5px #fff solid;
}

#receive-marketing-modal .onoffswitch-label:before {
    background: #352c87;
    border-color: #fff;
}

#receive-marketing-modal .onoffswitch-checkbox:checked + .onoffswitch-label {
    background: #fff;
}

#receive-marketing-modal .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: #fff;
}

.portal-modal .modal-body {
    font-size: 15px;
}

/* OTP input styling */
.btn-resend-otp {
	background: none;
	border: none;
	text-decoration: underline;
	color: var(--fg-color-3);
}

.otp-digit {
    width: 45px;
    height: 45px;
    text-align: center;
    border-radius: 0;
    border: 2px solid #707070;
    font-size: 30px;
    padding: 0;
}

/* Remove number spinners */
input[type="number"].otp-digit::-webkit-outer-spin-button,
input[type="number"].otp-digit::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"].otp-digit {
    -moz-appearance: textfield;
}

button.btn-disabled {
    background-color: #f0f0f0;
    color: #ccc;
    pointer-events: none;
}
/* End OTP input styling */

/* Switch Toggle Custom styling */
.toggle.default-toggle, .toggle-on.default-toggle, .toggle-off.default-toggle {
    border-radius: 20rem;
}

.toggle.default-toggle .toggle-handle {
    border-radius: 20rem;
}
/* End Bootstrap4 Toggle Custom styling */

/* Toggle switch styling */
.onoffswitch {
    display: inline-block;
    position: relative; width: 56px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onoffswitch-label {
    font-size: 0.7rem;
    font-weight: bold;
    display: block; overflow: hidden; cursor: pointer;
    height: 32px; padding: 0;
    line-height: 32px;
    border-radius: 32px;
    background-color: #CCC;
    transition: background-color 0.3s ease-in;
    text-align: center;
}

.onoffswitch-label:before {
    content: "";
    display: block; width: 32px; margin: 0px;
    background-color: var(--bg-color-2);
    position: absolute; top: 0; bottom: 0;
    right: 24px;
    border: 5px solid #CCC;
    border-radius: 32px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: var(--bg-color-3);
}

.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: var(--bg-color-3);
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px;
}
/* End Toggle switch styling */

.portal-dropdown {
    font-family: FuturaBold;
}

.portal-dropdown .portal-btn .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-dropdown .dropdown-arrows {
    font-size: 25px;
}

.portal-dropdown .dropdown-arrows .dropdown-arrow-down,
.portal-dropdown .dropdown-arrows .dropdown-arrow-up {
    display: flex;
    align-items: center;
}

.portal-dropdown .dropdown-menu {
    font-size: 11px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    width: var(--portal-btn-width);
}

.portal-dropdown .dropdown-menu > .dropdown-item {
    color: var(--fg-color-1);
    background-color: var(--bg-color-2);
    font-size: 11px;
    height: 38px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-dropdown .dropdown-menu > .dropdown-item:hover,
.portal-dropdown .dropdown-menu > .dropdown-item:focus {
    color: var(--fg-color-2);
    background-color: var(--bg-color-5);
}

.portal-dropdown.show .portal-btn {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.portal-dropdown .portal-btn:focus,
.portal-dropdown .portal-btn:hover {
    box-shadow: none;
}

.terms-and-conditions ol {
    counter-reset: clause;
    list-style-type: none;
    padding-left: 20px;
}

.terms-and-conditions > ol {
    padding: 0;
}

.terms-and-conditions > ol > li {
    font-weight: bold;
    margin-bottom: 16px;
}

.terms-and-conditions > ol > li ol li {
    font-weight: normal;
    margin-bottom: 5px;
}

.terms-and-conditions ol > li {
    counter-increment: clause;
}

.terms-and-conditions ol > li::before {
    content: counter(clause) '. ';
}

.terms-and-conditions ol > li > ol > li > ol > li::before {
    content: counter(clause, lower-alpha) '. ';
}

.terms-and-conditions.privacy-policy ol > li.no-counter {
    counter-increment: clause 0;
    font-weight: bold;
}

.terms-and-conditions.privacy-policy ol > li.no-counter:before {
    content: '';
}

.terms-and-conditions.privacy-policy ol > li {
    font-weight: normal;
}

.terms-and-conditions ol > li.no-counter {
    counter-increment: clause 0;
    font-weight: normal;
}

.terms-and-conditions ol > li.no-counter:before {
    content: '';
}

#opt-out-checkbox {
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5); /* IE */
  -moz-transform: scale(1.5); /* FF */
  -webkit-transform: scale(1.5); /* Safari and Chrome */
  -o-transform: scale(1.5); /* Opera */
  transform: scale(1.5);
  padding: 10px;
}

.opt-out-checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    font-size: 10px;
    margin: 10px 0;
}

.comms-prefs {
    font-size: 16px
}

#marketing-submit-btn {
    transition: all 0.3s ease-in 0s;
}

.landing-page-header {
    font-family: FuturaBold;
    font-size: 18px;
    line-height: 24px;
}

.pricing-text {
    font-family: FuturaMedium;
    font-size: 12px;
    letter-spacing: 0.24px;
}

.grade-navigator {
    color: var(--fg-color-2);
    background-color: var(--bg-color-5);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    padding: 6px var(--navbar-x-padding);
    height: 29px;
    font-size: 11px;
}

.grade-navigator .grade-selector {
    margin-left: 15px;
    color: var(--fg-color-4);
    border: solid 0.5px var(--fg-color-4);
    border-radius: 3px;
    width: 90px;
    font-size: 10px;
}

.form-dropdown .dropdown-item {
    cursor: pointer;
}

.form-dropdown .portal-btn,
.form-dropdown .portal-dropdown .dropdown-menu {
    width: var(--form-dropdown-width);
}

.form-dropdown .form-dropdown-input {
    width: var(--form-dropdown-width);
    height: var(--portal-btn-height);
    border: 0;
    border-radius: var(--portal-btn-border-radius);
    position: absolute;
    outline-color: var(--warning);
}

.signup-final-text {
    margin: 39px 0 20px;
}

.main-home-content-link {
    cursor: pointer;
}

.main-home-content-container .main-home-content-thumbnail {
    border: none;
    border-radius: 10px;
    width: 122px;
    height: 100%;
}

.main-home-content-container .main-home-content-description {
    font-size: 12px;
    color: var(--fg-color-7);
}

.page-container {
    margin: 25px;
    margin-top: 23.5px;
}

.page-container-grade-home {
    margin: 0;
}

.grade-home-heading {
    color: var(--fg-color-3);
    font-size: 14px;
    margin: 16px 25px;
}

.subject-block-container {
    margin-bottom: 9px;
}

.subject-block {
    width: 100%;
    height: 40px;
    background-color: var(--bg-color-6);
}

.subject-block-icon {
    border-radius: 10px;
    display: flex;
    width: 20px;
    height: 20px;
    color: var(--bg-color-6);
    background-color: var(--bg-color-2);
    justify-content: center;
    align-items: center;
}

.subject-home-heading {
    background-color: var(--bg-color-6);
    color: var(--fg-color-2);
    width: 100%;
    height: 40px;
    padding-left: 26px;
}

.topic-block-container {
    width: 100%;
    min-height: 48.5px;
}

.topic-block {
    border-bottom: solid 1px var(--color-11);
    width: 100%;
    height: 100%;
    padding: 10px 0;
}

.topic-block-icon {
    width: 26px;
}

.topic-block-text {
    font-size: 12px;
}

.page-container-topic-home {
    margin: 25px;
}

.topic-home-topic-nav {
    font-size: 12px;
    color: var(--fg-color-7);
    margin-top: 10px;
    margin-bottom: 32px;
}

.topic-home-topic-nav a {
    color: var(--fg-color-7);
}

@media (min-width: 389px) {
    .landing-page-header {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .comms-prefs {
        font-size: calc((4/1152) * 100vw + 13.33px);
    }

    footer {
        height: calc((21/1152) * 100vw + 23px);
    }

    .form-dropdown .form-dropdown-input {
        height: var(--portal-btn-web-height);
    }

    .grade-home-heading {
        font-size: calc((14/1152) * 100vw + 4.67px);
        margin-left: 0;
        margin-right: 0;
        margin-bottom: calc((35/1152) * 100vw + -9.33px);
    }

    .grade-navigator {
        padding: calc((6/1152) * 100vw + 2px) calc((43/1152) * 100vw + -2.67px);
        height: calc((28.6/1152) * 100vw + 9.93px);
        font-size: calc((10/1152) * 100vw + 4.33px);
    }

    .grade-navigator .grade-selector {
        margin-left: calc((18.5/1152) * 100vw + 2.67px);
        padding-left: calc((5/1152) * 100vw + -3.33px);
        width: calc((90/1152) * 100vw + 30px);
        font-size: calc((9/1152) * 100vw + 4px);
    }

    .landing-page-header {
        line-height: calc((6/1152) * 100vw + 20px);
    }

    .landing-page-header div {
        margin: 0 calc((9/1152) * 100vw + 74px);
    }

    .main-home-content-container .main-home-content-description {
        font-size: calc((10/1152) * 100vw + 5.33px);
    }

    .navbar {
        height: var(--web-navbar-height);
        padding: calc((20/1152) * 100vw + -3.33px) calc((34/1152) * 100vw + 3.33px);
    }

    .page-container {
        margin: calc((64/1152) * 100vw + -17.67px);
        margin-top: calc((8.5/1152) * 100vw + 17.83px);
    }

    .page-container-grade-home {
        margin: calc((19.2/1152) * 100vw + 0px) calc((53.4/1152) * 100vw + 0px);
    }

    .portal-payment-option-content {
        padding: 0px 0px 40px;
    }

    .portal-payment-option-content a {
        font-size: calc((8/1152) * 100vw + 10.67px);
    }

    .portal-payment-option-image img {
        width: calc((40/1152) * 100vw + 53.33px);
    }

    .portal-dropdown .dropdown-menu {
        width: var(--portal-btn-web-width);
    }

    .portal-heading {
        font-size: calc((14/1152) * 100vw + 4.67px);
        margin-top: calc((32.5/1152) * 100vw + 1.33px);
        margin-bottom: calc((13/1152) * 100vw + -0.67px);
    }

    .landing-view-header {
        font-size: 20px;
    }

    .landing-view-sub-header{
        font-size: 16px;
    }

    .pricing-text {
        font-size: calc((8/1152) * 100vw + 6.67px);
    }

    #receive-marketing-modal .close {
        font-size: 13px;
    }

    #receive-marketing-modal .portal-btn {
        width: 150px;
        font-size: 18px;
    }

    .sign-in {
        font-size: 1.146vw;
    }

    .subject-block-container {
        margin-bottom: calc((26/1152) * 100vw + -8.33px);
    }

    .subject-block {
        width: 90%;
        height: calc((26/1152) * 100vw + 22.67px);
    }

    .page-container-subject-home {
        margin: calc((32.4/1152) * 100vw + 0px) calc((56.4/1152) * 100vw + 0px) 0;
    }

    .subject-home-heading {
        height: calc((26/1152) * 100vw + 22.67px);
        font-size: calc((8/1152) * 100vw + 8.67px);
    }

    .topic-block {
        width: 90%;
    }

    .topic-block-text {
        font-size: calc((8/1152) * 100vw + 6.67px);
    }

    .terms-and-conditions {
        font-size: calc((10/1152) * 100vw + 7.33px);
    }

    .terms-and-conditions > ol > li ol {
        padding-left: calc((20/1152) * 100vw + 6.67px);
    }

    .terms-and-conditions > ol > li ol,
    .terms-and-conditions > ol > li ol li {
        font-size: calc((6/1152) * 100vw + 10px);
    }

    .web-sidebar-toggler img {
        width: calc((30/1152) * 100vw + 30px);
    }
}
