.terms {
    font-size: 10px;
    text-align: center;
    font-family: WorkSansRegular;
    color: #8b8686;
}

.terms a {
    font-size: 10px;
    text-decoration: underline;
    font-family: WorkSans-Medium;
    color: #8b8686;
}

@media (min-width: 992px) {
    .terms {
        font-size: 12px;
        text-align: center;
        font-family: WorkSansRegular;
    }

    .terms a {
        font-size: 12px;
    }
}

a.terms-link-style,
a.terms-link-style:hover {
    color: #1a6a35;
}

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

#cookie-consent-modal .portal-subscribe-btn {
    background-color: #fff;
    color: #000;
    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%;
}

.terms-and-conditions {
    font-size: 12px;
}

.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: counters(clause, '.') '. '
}

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

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

.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-note {
    font-size: 12px;
}

.terms-and-conditions-note {
    border: 1px solid black;
}

.terms-and-conditions-note > ol {
    list-style-type: upper-alpha;
}

@media (min-width: 768px) {
    .terms-and-conditions {
        font-size: 16px;
    }

    .terms-and-conditions > ol > li ol {
        padding-left: 40px;
        font-size: 16px;
    }

    .terms-and-conditions > ol > li {
        font-size: 18px;
    }

    .terms-and-conditions > ol > li ol li {
        font-size: 16px;
    }

    .terms-and-conditions-note-title {
        font-size: 20px;
    }

    .terms-and-conditions-note > ol > li ol {
        padding-left: 40px;
        font-size: 16px;
    }

    .terms-and-conditions-note,
    .terms-and-conditions-note > ol > li {
        font-size: 18px;
    }

    .terms-and-conditions-note > ol > li ol li {
        font-size: 16px;
    }
}

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

@media (min-width: 768px) {
    .comms-prefs {
        font-size: 20px;
    }
}

/* 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: #FFF;
    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: #1a6a35;
}

.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: #1a6a35;
}

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

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

#receive-marketing-modal .close {
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.22px;
    font-family: WorkSans-Medium;
    font-weight: 100;
    text-shadow: none;
    float: none;
    opacity: 1;
    text-decoration: underline;
}

#receive-marketing-modal .portal-subscribe-btn {
    background-color: #fff;
    color: #1a6a35;
    width: 112px;
    font-size: 13px;
    text-transform: none !important;
}

#receive-marketing-modal .modal-content {
    border: none;
    border-radius: 0;
    background-color: #1a6a35;
    color: #fff;
    font-size: 16px;
    font-family: WorkSansSemiBold;
}

#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: black;
}

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

#receive-marketing-modal .onoffswitch-label:before {
    background: #1a6a35;
    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;
}

@media (min-width: 768px) {
    #receive-marketing-modal .portal-subscribe-btn {
        width: 150px;
        font-size: 18px;
    }

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