/* LAST UPDATED: 12-28-2021 */

/* ***************************** GENERAL STYLES ***************************** */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
    background-color: #ffffff;
    color: #212529;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    display: flex;
    /* the 3 styles below force the footer to be sticky */
    height: 100vh;
    flex-direction: column;
}

a {
    text-decoration: underline;
    color: #005499;
}

/* using SVG for external link icon, for any target="_blank" anchors - modified from https://codepen.io/fathy_ar/pen/WNvZjgK */
a[target="_blank"]::after {
    content: '';
    -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1536 1536' xmlns='http://www.w3.org/2000/svg'><path d='M1408 928v320c0 159-129 288-288 288H288c-159 0-288-129-288-288V416c0-159 129-288 288-288h704c18 0 32 14 32 32v64c0 18-14 32-32 32H288c-88 0-160 72-160 160v832c0 88 72 160 160 160h832c88 0 160-72 160-160V928c0-18 14-32 32-32h64c18 0 32 14 32 32zm384-864v512c0 35-29 64-64 64-17 0-33-7-45-19l-176-176-652 652c-6 6-15 10-23 10s-17-4-23-10L695 983c-6-6-10-15-10-23s4-17 10-23l652-652-176-176c-12-12-19-28-19-45 0-35 29-64 64-64h512c35 0 64 29 64 64z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 1em 0.75em;
    -webkit-mask-position: center;
    mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1536 1536' xmlns='http://www.w3.org/2000/svg'><path d='M1408 928v320c0 159-129 288-288 288H288c-159 0-288-129-288-288V416c0-159 129-288 288-288h704c18 0 32 14 32 32v64c0 18-14 32-32 32H288c-88 0-160 72-160 160v832c0 88 72 160 160 160h832c88 0 160-72 160-160V928c0-18 14-32 32-32h64c18 0 32 14 32 32zm384-864v512c0 35-29 64-64 64-17 0-33-7-45-19l-176-176-652 652c-6 6-15 10-23 10s-17-4-23-10L695 983c-6-6-10-15-10-23s4-17 10-23l652-652-176-176c-12-12-19-28-19-45 0-35 29-64 64-64h512c35 0 64 29 64 64z'/></svg>");
    mask-repeat: no-repeat;
    mask-size: 1em 0.75em;
    mask-position: center;
    display: inline-block;
    background-color: currentcolor;
    position: relative;
    top: 0em;
    width: 1em;
    height: 1em;
    left: 0.1em; /* added this so icon is not totally against the link on display */
}

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

h1.cardHeading, h2.cardHeading {
    font-size: 1.6em;
}

.fa {
    font-family: FontAwesome !important;
    display: inline !important; /* so that external link icons do not break onto new line in smaller viewports */
}

/* *** HIDE/SHOW PASSWORD FIELD *** */

/* hiding the default show/hide on IE10 and Edge since doing it with script instead for all browsers */
::-ms-reveal,
::-ms-clear {
    display: none !important;
}

.my-toggle {
    -moz-appearance: none;
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    border-radius: 0.25em;
    color: #004A98;
    cursor: pointer;
    font-size: 0.75em;
    font-weight: 700;
    margin-right: 0.5em;
    padding: 0.5em;
    text-transform: uppercase;
}

.my-toggle:hover,
.my-toggle:focus {
    background-color: #eee;
    color: #555;
    outline: medium none transparent;
}

.hideShowPassword-toggle,
.my-toggle {
    z-index: 3;
}

/* class added with JS so that hide/show button remains in input field when jQuery validate is triggered in the pw field */
.hideShowButtonMarginFix {
    margin-top: -25px !important;
}

/* *** FLEXBOX BUTTON STACKING *** */

@media only screen and (max-width: 480px){
    .flexStackOn480 {
        flex-direction: column;
    }
}

/* *** RESPONSIVE UTILITIES *** */

@media screen and (max-width: 991px){
    .fullWidthButton991 {
        width:100%;
    }
}

/* *** BEGIN - OVERRIDES *** */

/* *** some necessary overrides for the ITS UX Pattern Library to fit with marketing site styles *** */
*, body, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Open Sans', sans-serif !important;
}

.form-control {
    font-weight: 400; /* override from IUX PL that has font-weight of 100 for the input fields, but the Open Sans makes the 100 too light so need to override here */
}

/* to match how BS3 made readonly and disabled fields look */

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

/* *** END - OVERRIDES *** */

/* If we are using jQuery Validation, we might consider using this styling used for specifying the form field validation colors for the form validation example - should we incorporate these styles into the PL, at least for reference? They will only work with how jQuery Validate works with setting .has-error and .has-success states */

.help-block {
    color: #990000;
    font-size: 14px;
    font-weight: 700;
    margin-top: 5px;
}
.has-error input, .has-error select, .has-error textarea {
    border-color: #a94442 !important;
}
.has-error input:focus, .has-error select:focus, .has-error textarea:focus {
    border-color: #a94442 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ff0000 !important;
}
.has-success input, .has-success select, .has-success textarea {
    border-color: #2a8c3a;
}
.has-success input:focus, .has-success select:focus, .has-success textarea:focus {
    border-color: #2a8c3a;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #51cb65;
}

/* alternating form sections */

.form-row-gray {
    background-color: #f4f4f4;
    padding: 15px;
}

.form-row-padding {
    padding: 15px;
}

/* ***************************** ACW SPECIFIC STYLES ***************************** */

header {
    background-color: #ffffff;
}

.apaStyleHeaderPNG {
    height: 100px;
    margin-left: 35px;
    background-color: #ffffff;
}

.apaStyleHeaderPNG img {
    max-height: 70px;
    margin: 10px 10px 30px;
}

@media only screen and (max-width: 600px) {
    .apaStyleHeaderPNG img {
        margin: 10px auto 15px;
        padding-right: 27px;
    }
}

@media only screen and (max-width: 400px) {
    .apaStyleHeaderPNG img {
        padding-right: 40px;
    }
}

.headerBar {
    height: 10px;
    flex: none;
}

.headerBarGreen {
    background-color: #198731;
}

.welcome-container {
    padding: 10px;
}

.welcome-container .welcome-heading p {
    line-height: 1.15;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 0;
    color: #0077C0;
}

.welcome-container .intro-text {
    line-height: 170%;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ***************************** FOOTER STYLES ***************************** */

footer {
    background-color: #198731;
    width: 100%;
    flex-shrink: 0;
}

footer img:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

footer a,
footer a:focus {
    color: #fff;
}

footer a:hover {
    color: #fff;
    opacity: 0.6;
    filter: alpha(opacity=60);
}

footer a.biggerFooterAnchor {
    font-size: 1.6em;
}

.footer-rightdesktop {
    text-align: right;
}

@media only screen and (max-width: 991px) {
    .footer-rightdesktop {
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .footer-leftdesktop,
    .footer-middledesktop,
    .footer-rightdesktop {
        margin-bottom: 12px;
    }
    .footer-leftdesktop img,
    .footer-middledesktop img {
        margin: 0 auto;
    }
}

.footer-rightdesktop div {
    margin-bottom: 20px;
}

/* ***************************** ACW MARKETING SITE SPECIFIC STYLES ***************************** */

body.lightBlue {
    background-color: #f1f4ff;
}

body.backgroundImg {
    background: url(../img/acw-ds2-background.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.headerBarBlue {
    background-color: #14283d;
}

footer.dark {
    background-color: #14283d;
}

/* *** COLORS *** */

.mainHeadingBlue {
    color: #135da6;
}

.subHeadingBlue {
    color: #0a8fe6;
}

.sectionBackgroundBlue {
    color: #0587ee;
}

.lightBackgroundBlue {
    color: #f1f4ff;
}

/* Note that one of these yellow button colors may go away, they are very close */

.primaryButtons {
    color: #fab40c; /* was #f8b81a from mockups */
}

.submitButtons {
    color: #fab40c; /* was #fab81a from mockups */
}

.bullets {
    color: #76be04;
}

.darkBlueFooter {
    color: #14283d;
}

/* *** BUTTONS *** */

.btn-acw-primary {
    background-color: rgba(250, 180, 12, 0.95); /* same as #fab40c */
    color: #000000;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 48px;
    border-radius: 8px;
    text-transform: none;
}

.btn-acw-primary:hover {
    background-color: #000000; /* initially was darker yellow shade of #dc9d05 before seeing live site */
    color: #FFFFFF;
}