/* ******** LAST UPDATED: 4-28-2020 ******** */
/* ************ GENERAL STYLES ************ */
body {
    background-color: #eeeeee;
    /* styles for sticky footer */
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
#mainBodyContainer {
    flex: 1 0 auto; /* style for sticky footer */
}
a {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
h2 {
    font-family: 'Lato', sans-serif;
    font-size: 1.7em;
    margin-top: 20px;
}
h3.alertsTitle {
    font-size: 1.1em;
    color: #333;
    font-weight: 700;
    margin-bottom: 3px;
}
h6 { /* being used for headings within modal bodies, where the modal titles are using h5's */
    font-size: 20px;
}
/* ************ THIN HEADER FROM APA.ORG ************ */
header {
    font-size: 75%;
    font-family: Arial, Helvetica, Sans-serif;
    line-height: 1.3em;
    letter-spacing: normal;
    word-spacing: normal;
    position: relative;
    border-bottom: 2px solid #555;
    overflow: visible;
    width: 100%;
    padding: 0;
    z-index: 110;
    margin: 0 auto;
}
header .banner {
    background: #ffffff;
    /* margin-top: 10px; */
    padding-top: 3px; /* added */
    width: 100%;
    overflow: hidden;
}
header .banner img {
    margin: 5px 0 8px 14px;
}
header .banner img.apaLogo {
    width: 155px;
}
header .banner .headLogo {
    float: left;
}
header .banner .headLogo img.large {
    max-width: 430px;
    height: auto;
}
header .banner .headLogo img.small,
header .banner .headLogo img.medium {
    display: none;
}
@media screen and (max-width: 995px) {
    header {
        width: auto;
        border: 0;
        margin: 0;
        clear: both;
    }
    header .header_top .header_left {
        display: none;
    }
    header .banner .headButton {
        display: block;
    }
    header .banner {
        margin-top: 0;
        overflow: visible;
        height: 57px;
        border-bottom: 2px solid #555;
    }
    header .banner .headLogo img {
        margin: 2px 0 0 20px;
        max-height: 55px;
    }
}
@media screen and (min-width: 768px) and (max-width: 995px) {
    header .banner .headLogo img.large {
        margin-top: 12px;
    }
}
@media screen and (max-width: 767px) {
    header .banner .headLogo img.large {
        max-width: 320px;
        height: auto;
        margin: 17px 0 0 10px;
    }
}
@media screen and (max-width: 480px) {
    header .banner .headLogo img.small {
        display: block;
        max-height: 40px;
        margin: 2px 0 0 10px;
        padding-top: 8px;
    }
    header .banner .headLogo img.large {
        display: none;
    }
}
/* ************ FOOTER STYLES ************ */
footer {
    bottom: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    /* style for sticky footer */
    border-top: 2px solid #555;
}
/* footer anchor overrides */
footer a {
    text-decoration: none;
}
footer a:hover {
    text-decoration:underline;
}
/* ************ PREFERENCE CENTER SPECIFIC STYLES ************ */
.alertsBox {
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    margin: 15px 20px; /* was margin: 10px 20px; */
    background-color: #f8f8f8;
}
.alertsDescription {
    color: #595959 !important;
}     
.alert-checkboxes {
    margin-bottom: 15px;
}
.unsubscribedNotice {
    color: #005344;
    font-size: 13px;
    font-weight: 700;
}
@media only screen and (max-width: 767px) {
    .fullWidthButton767 {
        width: 100%;
        margin-top: 10px;
    }   
    .alertsBox {
        margin: 20px 10px !important;
    }
    .modal-body .alertsBox {
        margin: 10px 0 !important;
}}
/* ************ BOOTSTRAP 4 SWITCH BUTTON STYLES ************ */
.btn-toggle {
    margin: 0 4rem;
    padding: 0;
    position: relative;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
    color: #6b7381;
    background: #bdc1c8;
}
.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
    outline: none;
}
.btn-toggle:before,
.btn-toggle:after {
    line-height: 1.5rem;
    width: 4rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 0;
    transition: opacity 0.25s;
}
.btn-toggle:before {
    content: 'Off';
    left: -4rem;
}
.btn-toggle:after {
    content: 'On';
    right: -4rem;
    opacity: 0.5;
}
.btn-toggle > .handle {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 1.125rem;
    background: #fff;
    transition: left 0.25s;
}
.btn-toggle.active {
    transition: background-color 0.25s;
}
.btn-toggle.active > .handle {
    left: 1.6875rem;
    transition: left 0.25s;
}
.btn-toggle.active:before {
    opacity: 0.5;
}
.btn-toggle.active:after {
    opacity: 1;
}
.btn-toggle.btn-sm:before,
.btn-toggle.btn-sm:after {
    line-height: -0.5rem;
    color: #fff;
    letter-spacing: 0.75px;
    left: 0.4125rem;
    width: 2.325rem;
}
.btn-toggle.btn-sm:before {
    text-align: right;
}
.btn-toggle.btn-sm:after {
    text-align: left;
    opacity: 0;
}
.btn-toggle.btn-sm.active:before {
    opacity: 0;
}
.btn-toggle.btn-sm.active:after {
    opacity: 1;
}
.btn-toggle:before,
.btn-toggle:after {
    color: #6b7381;
}
.btn-toggle.active {
    background-color: #29b5a8;
}
.btn-toggle.btn-sm {
    margin: 0 0.5rem 0 0; /* WAS margin: 0 0.5rem; LOOK INTO THIS */
    padding: 0;
    position: relative;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
}
/****  why was this in the internal CSS??? *****/
.btn-toggle.btn-sm {
    margin-left: 0;
}
.btn-toggle.btn-sm:focus,
.btn-toggle.btn-sm.focus,
.btn-toggle.btn-sm:focus.active,
.btn-toggle.btn-sm.focus.active {
    outline: none;
}
.btn-toggle.btn-sm:before,
.btn-toggle.btn-sm:after {
    line-height: 1.5rem;
    width: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 0;
    transition: opacity 0.25s;
}
.btn-toggle.btn-sm:before {
    content: 'Off';
    left: -0.5rem;
}
.btn-toggle.btn-sm:after {
    content: 'On';
    right: -0.5rem;
    opacity: 0.5;
}
.btn-toggle.btn-sm > .handle {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 1.125rem;
    background: #fff;
    transition: left 0.25s;
}
.btn-toggle.btn-sm.active {
    transition: background-color 0.25s;
}
.btn-toggle.btn-sm.active > .handle {
    left: 1.6875rem;
    transition: left 0.25s;
}
.btn-toggle.btn-sm.active:before {
    opacity: 0.5;
}
.btn-toggle.btn-sm.active:after {
    opacity: 1;
}
.btn-toggle.btn-sm.btn-sm:before,
.btn-toggle.btn-sm.btn-sm:after {
    line-height: -0.5rem;
    color: #fff;
    letter-spacing: 0.75px;
    left: 0.4125rem;
    width: 2.325rem;
}
.btn-toggle.btn-sm.btn-sm:before {
    text-align: right;
}
.btn-toggle.btn-sm.btn-sm:after {
    text-align: left;
    opacity: 0;
}
.btn-toggle.btn-sm.btn-sm.active:before {
    opacity: 0;
}
.btn-toggle.btn-sm.btn-sm.active:after {
    opacity: 1;
}
/* ************ FROM OLD MYAPACUSTOMCSS.CSS FILE USED FOR INITIAL MYAPA UPLIFT PHASE 1 MOCKUPS (BEING USED IN RESEARCH ALERTS SECTION ************ */
.smallContainerBox {
    background-color: #f5f5f5;
    border-radius: 3px;
    padding: 20px 10px;
    margin: 10px 10px 20px;
}
.alertLinks {
    padding-left: 20px;
}
/* ************ NOT SURE IF WE NEED THESE STYLES AND/OR NEEDS INTEGRATION INTO MAIN PL CSS ************ */
/* making sure placeholder text is accessible - but we probably just need to take out the light gray override in our Pattern Library */
::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #6c757d !important;
    opacity: 1;
    /* Firefox */
}
:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #6c757d !important;
}
::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #6c757d !important;
}
/* styling an accessible helper text- If no color is defined, then the helper text will take the color of the text within an alert */
.helper-text {
    color: #333333;
}
/* BS override that is needed for long labels in the accordion, might have to add this to the PL core CSS */
.accordion .btn {white-space: normal;}
/* for modal save alerts after pressing "Save" on modal and going back to main page */
.alert-fixed {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 9999;
    border-radius: 0;
}
.grayText {
    color: #595959 !important;
}
hr {
    border: 0;
    height: 2px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}
/* should we specify this in the IUXPL?, right now, it's just taking the body font-size of 1rem */
.card .card-header {
    font-size: 1.3rem;
}
/* these styles may be specific to the SF forms, but increasing padding here */
.card .card-body, .card .card-header{padding: 40px;}
.accordion .card .card-header{padding: 0;}

/* overriding the font-weight of "bold" (700) for all headings, something that may make its way into the IUX PL - probably won't need the "important" in real life without these SF classes/overrides */
h1, h2, h3, h4, h5, h6{font-weight: 500 !important;}
/* extra responsive utility for mobile vs. screen displays easily around 767px */
.screen-only767{display:block;}
.mobile-only767{display:none;}
@media screen and (max-width: 767px){
    .screen-only767{display:none;}
    .mobile-only767{display:block;}
}
/* .btn-textbutton = TEXT BUTTON - to be reviewed by UX Team - added with Edit Address screen */
.btn-textbutton{font-family: "ProximaNova","Helvetica Neue",Helvetica,Arial,sans-serif; color: #005499 !important; font-weight: 500; font-size: 12px; text-align: center; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: underline; background-color: inherit;color: #333; border-radius: 3px;transition: background 0.5s ease 0s; -webkit-transition: background 0.5s ease 0s; -moz-transition: background 0.5s ease 0s; -ms-transition: background 0.5s ease 0s;}
.btn-textbutton:hover, .btn-textbutton:focus, .btn-textbutton:active, .btn-textbutton.active, .open .dropdown-toggle.btn-textbutton{background-color: #e0f6fd; color: #23527c; text-decoration: none;}
.btn-textbutton:active, .open .dropdown-toggle.btn-textbutton{background-image: none;}