/* Last Updated: 4-8-2020 */
/* ************ APA PUBLISHING MARKETING TEAM STYLES ************ */
@import url("https://fonts.googleapis.com/css?family=Catamaran");
/* *************** APA PUBLISHING BRANDING GUIDELINES - 4-7-2020 ******************** */
/* *** Some necessary overrides for the ITS UX Pattern Library *** */
*, body, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-family: 'Catamaran', sans-serif !important;
}
.fa {
    font-family: FontAwesome !important;
}
.btn{
    font-family: ProximaNova, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
p.small {
    font-size: 14px !important;
}
h2 {
    font-size: 1.7em;
    font-weight: 400;
    margin: 25px 0 15px 15px;
}
.apatriband-apateal-top{background-color: #33bfd5; height: 8px; width: 100%;}
.apatriband-apacerulean-middle{background-color: #3e52a3; height: 12px; width: 100%;}
.apatriband-apapubpurple-bottom{background-color: #39207c; height: 16px; width: 100%;}
.btn-apapub-borderradius {
    border-radius: 0px !important;
}
.btn-apapub-cta-rounded-red {
    border-radius: 50px;
    background-color: #d22730;
    color: #fff;
}
.btn-apapub-cta-rounded-red:hover {
    background-color: #93001c;
    color: #efb1b6;
}
.btn-apapub-squared-red {
    border-radius: 0px;
    background-color: #d22730;
    color: #fff;
}
.btn-apapub-squared-red:hover {
    background-color: #93001c;
    color: #efb1b6;
}
/* ************ GENERAL STYLES ************ */
body {
    /* styles for sticky footer */
    font-family: 'Catamaran', sans-serif;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: #eeeeee;
}

#mainBodyContainer {
    flex: 1 0 auto;
    /* style for sticky footer */
}

/* using data image for external link icon, for any target="_blank" anchors - see https://stackoverflow.com/questions/1899772/new-window-icon-for-web-accessibility */
a[target="_blank"]::after {
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
margin: 0 3px 0 5px;
}

a {
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

hr {
border: 0;
height: 2px;
background: #333;
background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.modal-body .alertsBox {
background-color: #f8f8f8;
}

@media only screen and (max-width: 767px) {
.topic-1-alert-checkboxes {
text-align: left;
}

.fullWidthButton767 {
width: 100%;
margin-top: 10px;
}
}

input[readonly] {
cursor: not-allowed;
pointer-events: all !important;
}

.grayText {
    color: #595959 !important;
}

.quotetext {
    color: #595959;
    font-size: 14px;
    font-style: italic;
}

/* .error-format using addClass and removeClass with character count JS */
.help-block, .form-group .help-block, .form-group.has-error label.control-label, .form-group.has-error .help-block, #interests-error-message, .error-format {
    color:#a94442 !important;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

/* ************ 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;
}

/* ************ 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;
}
/* .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;}