/* Main Style Sheet for the ACAmerica.com site */
@font-face {
    font-family: Elegant;
    src: url(../fonts/eleganticons/ElegantIcons.ttf);
    font-weight: normal;
}
:root {
    /** Fonts **/
    --headerFont: "DM Serif Display", serif;
    --primaryFont : "Montserrat";
    --detailFont : "Inter", sans-serif;

    /** Colors **/
    --headerColor : #29388A;
    --textColor : #45e6264;
    --white : #ffffff;
    --bgFill : #fafafa;
    --footerFill : #004a80;
    --acaBlue : #29388A;
    --acaRed : #EB1E27;
}

html {
    min-height: 100%;
    box-sizing: border-box;
    font-size: 62.5%; /* Now 10px = 1 rem! */
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    min-height: 100%;
    font-family: var(--primaryFont), sans-serif;
    font-size: 1.6rem;
    background-color: #fff;
}
#page_content {
    margin-top: 60px;
}
a {
    color: var(--acaBlue);
}
a:hover {
    color: var(--acaRed);
    text-decoration: underline;
}

header.site-header {
    box-shadow: 0 2px 3px rgba(0,0,0,.2);
}
@media only screen and (min-width:1200px) {
    header.site-header {
        height: 70px;
    }
}

/* Navbar styling */
img.custom-logo {
    max-width: 240px;
    height: auto;
}
nav.navbar {
    align-items: flex-start;
    padding-top: 10px;
}
ul.navbar-nav {
    width: 100%;
}
@media only screen and (min-width: 1200px) {
    ul.navbar-nav {
        margin-left: 40px;
    }
    ul.navbar-nav > li {
        margin-right: 20px;
    }
}
ul.navbar-nav > li a {
    color: #000;
    font-weight: 500;
    letter-spacing: -.4px;
}
ul.navbar-nav > li a:hover {
    color: var(--acaRed);
    text-decoration: none;
}
@media only screen and (min-width:1200px) {
    ul.navbar-nav > li {
        padding-bottom: 30px;
        margin-top: 34px;
    }
}
ul.navbar-nav > li > div {
    display: flex;
    flex-wrap: nowrap;
}
ul.navbar-nav > li > div > ul {
    display: inline-flex;
    list-style: none;
    padding-left: 0;
}
ul.navbar-nav > li > div > ul > li {
    margin-right: 20px;
}
ul.navbar-nav > li.menu-item-has-children > ul {
    display:none;
    position: absolute;
    width: 100%;
    top: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    list-style: none;
    padding-left: 0;
    background: #fff;
}
ul.navbar-nav > li.products-nav > ul {
    transition: 0.2s 1s;
    left: 0;
    border-bottom: 1px solid var(--acaBlue);
    border-top: 1px solid var(--acaBlue);
}
@media only screen and (min-width:1200px) {
    ul.navbar-nav > li.products-nav > ul {
        top:70px;
        padding-left: calc(calc(100vw - 1140px) / 2);
        padding-right: calc(calc(100vw - 1140px) / 2);
    }

}
ul.navbar-nav > li.menu-item-has-children > ul.show {
    display: flex;
    z-index: 5000;
}
ul.sub-menu > div {
    display: flex;
    width: 100%;
    overflow:hidden;
    background: #fff;
    z-index:100;
    padding: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}
@media only screen and (min-width:1200px) {
    ul.sub-menu > div {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}
ul.sub-menu > div > li , ul.sub-menu > div > div {
    display: block;
    flex-basis: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}
ul.sub-menu > div > div {
    border: none;
}
@media only screen and (min-width: 1200px) {
    ul.sub-menu > div > li {
        flex-basis: 15%;
        padding: 20px 10px;
    }
    ul.sub-menu > div > div {
        flex-basis: 25%;
    }
}
ul.sub-menu > div > li img {
    margin-bottom: 10px;
    max-width: 80%;
}
ul.sub-menu > div > li h3 {
    font-size: 1.4rem;
}

ul.sub-menu > div > li {
    text-align: center;
}
ul.sub-menu > div > li h3 {
    margin-bottom: 0;
}
ul.sub-menu > div > div {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    height: 100%;
    padding-top: 20px;
    padding-left: 20px;
}
div h3.p-category-2 {
    margin-bottom: 20px;
}
div h3.p-category-2:last-of-type {
    margin-bottom: 0;
}
ul.sub-menu > div > div > a {
    display: block;
}

/* Footer Styling */
footer.site-footer {
    background: var(--acaBlue);
    color: #fff;
}
@media only screen and (min-width:1200px) {
    footer.site-footer {
        padding: 60px 0;
    }
}
footer.site-footer h2 {
    font-family: var(--detailFont), sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -.4px;
    text-transform: uppercase;
}
div.footer-logo {
    background: #fff;
    border: 2px solid var(--acaRed);
    border-radius: 5px;
    padding: 5px;
}
footer.site-footer div.contact {
    margin-top: 20px;
    font-family: var(--detailFont), sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.4px;
}
footer.site-footer div.contact a {
    color: #fff;
}
footer.site-footer ul {
    padding-left: 0;
}
footer.site-footer ul li {
    list-style-type: none;
    font-weight:500;
    font-size: 14px;
}
footer.site-footer ul li a {
    color: #fff;
}
@media only screen and (min-width:1200px) {
    div.footer-products {
        padding-left: 60px;
    }
}
div.footer-contact p {
    font-family: var(--detailFont), sans-serif;
    font-weight: 400;
    font-size: 12px;
    font-weight: 500;
}
div.footer-contact a {
    color: #fff;
    text-decoration:underline;
}
div.footer-contact div.cta {

}
@media only screen and (min-width:1200px) {
    div.footer-contact div.cta {
        padding: 0;
    }
}
div.form-input fieldset {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
fieldset.footer-form > input, fieldset.footer-form textarea {
    width: 100%;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 3px;
    border: none;
}
fieldset.footer-form label {
    display:none;
}
div.message-send-submit input {
    width: 100%;
    background: white;
    border: 1px solid var(--acaRed);
    border-radius: 3px;
    font-size: 14px;
    color: var(--acaBlue);
    font-weight: 500;
    padding:4px 0;
}
/* Updating Styling */
fieldset.jcs-hp {
    height: 0;
    width: 0;
    visibility: hidden;
}
div.bar-wrapper {
    width: 100%;
    border: 1px solid #000;
    position: relative;
}
#progress_pct {
    font-family: var(--detailFont), sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    position: relative;
    z-index: 100;
    text-align: center;
}
#progress_bar {
    width: 0;
    height: 20px;
    background-color: #00ba37;
    position: absolute;
    top: 0;
    left: 0;
}
#current_item {
    margin-top: 10px;
    padding-left: 10px;
}
div.finished {
    display: none;
}
div.finished.show {
    display: block;
}
/* Front Page Slider Styles */
#fp_carousel {
    border-top: 2px solid rgba(0,0,0,0.3);
    border-bottom: 2px solid rgba(0,0,0,0.3);
}
div.owl-carousel.front-slider {
    position: relative;
    height: calc(100vw * 0.25);
}
div.owl-carousel.front-slider div.owl-item {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#29388a+0,2989d8+50,eb1e27+100&1+0,0+50,1+100 */
    background: linear-gradient(to right,  rgba(41,56,138,1) 0%,rgba(41,137,216,0.38) 50%,rgba(235,30,39,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
div.owl-carousel.front-slider div.slide {
    position: relative;
}
div.owl-carousel.front-slider div.slide img {
    max-width: 100%;
    max-height: calc(100vw * 0.25);
}
div.owl-carousel.front-slider > div.owl-nav {
    display: none;
}
div.owl-carousel.front-slider > div.owl-dots {
    position: absolute;
    bottom: 5rem;
    left: 12rem;
}
@media only screen and (min-width: 375px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 13.5rem;
        bottom: 3.5rem;
    }
}
@media only screen and (min-width: 412px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 15.9rem;
    }
}
@media only screen and (min-width: 428px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 16.7rem;
    }
}
@media only screen and (min-width: 600px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 6.5rem;
        bottom: 7rem;
    }
}
@media only screen and (min-width: 768px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 14.8rem;
    }
}
@media only screen and (min-width: 992px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 6rem;
        bottom: -5px;
    }
}
@media only screen and (min-width: 1200px) {
    div.owl-carousel.front-slider > div.owl-dots {
        left: 10rem;
        bottom: -5px;
    }
}
button.owl-dot, button.owl-dot > span {
    width: 15px;
    height: 15px;
}
button.owl-dot {
    background: transparent !important;
    border: 1px solid var(--acaBlue) !important;
    border-radius: 50%;
    margin-right: 12px;
}
button.owl-dot.active {
    background: var(--acaRed) !important;
}
button.owl-dot:focus {
    outline: none;
}
button.owl-dot > span {
    display: inline-block;
}
/* Test */
#messages {
    padding-top: 20px;
}
@media only screen and (min-width: 1200px) {
    #messages {
        padding-top: 20px;
    }
}
#messages div.fp-messages {
    display: flex;
    flex-wrap: wrap;
}
@media only screen and (min-width: 992px) {
    #messages div.fp-messages {
        flex-wrap: nowrap;
        justify-content: space-around;
    }
}
div.fp-messages > div {
    display: flex;
    flex-wrap: nowrap;
}
div.fp-messages div.icon {
    margin-right: 10px;
}
#messages i::before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    vertical-align: top;
    padding: 0 .5rem;
    /*content: '\f48b';*/
    font-size: 3.4rem;
    color: var(--acaBlue);
    -webkit-font-smoothing: antialiased;
}
#messages i.fa-shipping-fast::before {
    font-style: italic;
}
ul.navbar-nav li.search {
    margin-top: 32px;
}
li.search div.header-search #searchsubmit {
    font-size: 16px;
    line-height: 20px;
    padding: 0 12px;
    font-weight: 500;
}
li.search input[type="text"] {
    font-size: 16px;
    line-height: 18px;
    border: 1px solid #767676;
    border-radius: 3px;
}
@media only screen and (min-width:1200px) {
    li.search input[type="text"] {
        width:400px;
    }
}
ul.support-links {
    display: inline-flex;
    list-style: none;
}
i.fa-phone-alt, i.fa-shopping-cart, i.fa-user-circle {
    color: var(--acaBlue);
}
li.support-link-wrap {
    text-align:right;
    flex: 100;
}
ul.support-links li {
    margin-right: 20px;
}
ul.support-links div.support {
    display: flex;
    flex-wrap: nowrap;
}
div.support i.fa-shopping-cart, div.support i.fa-user-circle {
    font-size: 20px;
}
div.support > div.icon {
    position: relative;
}
div.support > div.icon > span {
    position: absolute;
    font-size: 10px;
    display: block;
    background: var(--acaRed);
    padding: 4px;
    line-height: 4px;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    color: #fff;
    font-weight: 900;
    text-align: center;
    border: 1px solid var(--acaRed);
    top: -4px;
    right: -7px;
}