/*Footer styles*/
.bg-wp-primary{
    font-size: 1rem;
    padding-top: 1rem;
    color: hsl(0, 0%, 100%);
    background: var(--universal-black) 0% 0% no-repeat padding-box;
}

/*Footer menu styles*/
.footer-menu {
    margin-top: -1rem;
    display: block;
    width: 100%;
    z-index: 1;
    top: 0;
    left: 0;
}

#footer-ul {
    border: unset;
    margin: unset !important;
    list-style: none;
    padding: 0px;
}

#footer .hr {
  background-color: #D3BC8D;
  margin-top: 30px;
  width: 40%;
}
/*Footer Logo style*/
.footer-logo-section {
    padding: 0px 35px;
}

.logo-crest{
    width: 270px;
    margin-top: 1.5rem;
}

footer .logo-text{
    width:225px;
    /*margin-top: 30px;*/
}

/*Footer Links styles*/
.footer-link {
    /* font-size: 1.5rem !important; */
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 600 !important;
    font-stretch: normal;
    color: hsl(0, 0%, 100%) !important;
    font-weight: 500 !important;
    letter-spacing: 2px;
    text-align: left;
    line-height: 1;
    margin-bottom: unset !important;
    border-bottom: unset !important;
    display: inline-block;
    padding: .25em 0 .25em 0;
    font-size: 1rem;
}

a.footer-link:hover,a.email-footer-bottom:hover{
    text-decoration: underline #D3BC8D;
    color: var(--primary)!important;
}

/*Contact Bottom section*/
.footer-bottom-contact {
    font-size: 0.8rem;
    color: #ffffff;
    font-family: var(--open-sans);
}

.footer-social-icons .fab {
    margin-right: 1em;
}

.desktop-hidden{
    display: none;
}

.footer-linkedin {
    width: 53px;
}

.footer-bottom-div a {
    color: var(--universal-white);
}

.footer-bottom-div .fa-facebook-f:before {
    content: "\f39e";
    background: white;
    padding: 2px 10px 0 10px;
    color: var(--universal-black);
    border-radius: 50%;
    font-size: 0.9em;
}

.footer-contact-email span:nth-child(1):before {
    content: "";
    background: url(../../img/mail.png) right center no-repeat #fff;
    background-size: 16px 14px;
    background-color: var(--universal-black) !important;
    padding: 0.1em 0.7em;
    margin-right: 1em;
}

.footer-contact-address span:nth-child(1):before {
    content: "";
    background: url(../../img/home.png) right center no-repeat #fff;
    background-size: 16px 16px;
    background-color: var(--universal-black) !important;
    padding: 0.1em 0.7em;
    margin-right: 1em;
}

/*Mobile Styles*/
@media(min-width: 2400px) and (max-width: 3760px ){
    .logo-crest{
        width: 9vw;
    }
    .crest-footer-logo .logo-text{
        width: 15vw !important;
    }
}

h2#block-footerlinkscolumnone-menu,
h2#block-footerlinkscolumntwo-menu,
h2#block-footerlinkscolumnthree-menu {
    font-size: 1.31429rem;
    line-height: 1.2;
    margin-top: 0.8em;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

@media(max-width: 1730px) and (min-width:1025px) {
    /*.footer-link, .footer-bottom-contact {*/
    /*    font-size: 1.5vw !important;*/
    /*}*/
    .footer-logo-section {
        padding: unset !important;
        margin:0 auto;
    }
}

@media (min-width: 1450px) {
    .footer-bottom-contact {
        font-size: 1rem;
    }
}

@media (max-width: 1199px) {
    .footer-bottom-div {
        flex-direction: column;
        align-items: center;
    }

    .footer-social-icons {
        justify-content: center;
        margin-bottom: 1.5em;
    }

    .footer-social-icons .fab:last-child {
        margin-right: 0;
    }

    .footer-contact-wrapper {
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
    }

    .footer-bottom-contact {
        font-size: 1rem;
        /*width: 300px;*/
        text-align: left;
        margin-bottom: 0.8em;
    }

    .footer-contact-wrapper span:nth-child(1):before,
    .footer-contact-wrapper span:nth-child(2):before,
    .footer-contact-wrapper span:nth-child(3):before {
        margin-right: 1em;
    }

    .footer-contact-wrapper span:nth-child(2) {
        margin-left: -28px;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {
    .region-footer-two a, .region-footer-three a, .region-footer-four a, .footer-bottom-contact {
        font-size: 1.7vw !important;
    }

    .region-footer-two a, .region-footer-three a, .region-footer-four a {
        letter-spacing: unset !important;
    }

    /*#footer-ul {*/
    /*    padding: 15px 14px;*/
    /*}*/
    .footer-logo-section{
        padding: 5px;
    }
    .logo-crest {
        width: 195px;
    }

    #footer .hr{
        background-color: #D3BC8D;
        margin-top: 30px;
        width: 65%
    }

    #footer > section {
        margin: 0 30px;
    }
}
@media(width: 1024px){
    .logo-crest {
        width: 163px;
    }
}
@media (max-width: 767.98px) {
    .region-footer-two a, .region-footer-three a, .region-footer-four a {
        text-align: center !important;
        justify-content: center;
    }

    .region-footer-two, .region-footer-three, .region-footer-four, .footer-bottom-div {
        text-align: center;
    }

    .region-footer-two {
        margin-top: 2rem;
    }

    .footer-menu {
        margin-top: unset !important;
    }
    .footer-logo-section{
        padding: 15px 15px 0px 15px;
    }
    .crest-footer-logo{
        padding: 21px;
    }
    .desktop-hidden{
        display: block;
    }

    .footer-linkedin {
        width: 53px;
    }

    #footer .hr {
        background-color: #D3BC8D;
        /*margin-top: 15px!important;*/
        width: 33%;
        margin: 15px auto;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .footer-logo-section {
        padding: 45px 45px 0px 45px;
        margin:0 auto;
    }
    .logo-crest {
        width: 225px;
    }
    footer .logo-text{
        width:351px
    }
}

@media (max-width: 350px) {
    /*.footer-bottom-div {*/
    /*    justify-content: unset !important;*/
    /*}*/

    /*.region-footer-two a, .region-footer-three a, .region-footer-four a, .footer-bottom-contact {*/
    /*    font-size: 7vw !important;*/
    /*}*/

    .footer-bottom-contact a {
        margin-left: -6px;
    }

    .logo-crest {
        width: 182px;
    }

    .footer-bottom-contact {
        font-size: 0.8rem !important;
    }
}

/*Mobile Styles Landscape*/
@media(max-width: 1730px) and (orientation:landscape){
    .footer-logo-section{
        padding-bottom: 1.5rem !important;
    }
    .crest-footer-logo{
        padding: 12px;
    }
}

@media (max-width: 767.98px) and (orientation: landscape) {
    .footer-logo-section {
        padding: 0px 100px;
        margin:0 auto;
    }
    .crest-footer-logo {
        padding: 0px 70px;
    }
    .crest-footer-logo img{
        padding: 5px;
    }
}

@media (max-width: 600px) and (orientation: landscape) {
    .crest-footer-logo {
        padding: 0px 51px;
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .footer-linkedin {
        width: unset;
    }
}
/*.footer-social-icons .fab:last-child {*/
/*    margin-right: 0;*/
/*}*/

@media (max-width: 991.98px) {
    .footer-logo-section{
        text-align: center;
    }
}