/*!
Theme Name: Team USFS child
Theme URI: https://team-usfs.com/
Author: Farzan Shahid
Author URI: https://team-usfs.com/
Description: Description
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: LICENSE
Template: usfs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
/
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
/
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
    --primary-font-family: "Jost", sans-serif;
    --secondary-font-family: "Jost", sans-serif;
    --light-green: #d0e8d7;
    --light-brown: #e3d3be;
    --text-color: #121212;
    --heading-color: #121212;
    --white: #fff;
    --glutter: 1.5rem;
    --container: 143rem;

}

/* =====================
   General
   ====================== */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    html {
      font-size: 62.5%; /* This sets 1rem to 10px (62.5% of the default 16px browser font size) */
    }
    html,
    body {
        width: 100%;
        height: 100%;
    }
    body {
        overflow-x: hidden;
    }
    body {
        font-family: var(--primary-font-family);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.8;
        color: var(--text-color);
    }
    p {
        margin-bottom: 15px;
    }
    .container {
        width: 100%;
        max-width: var(--container);
        padding-inline: var(--glutter);
        margin: 0 auto;
    }
    .d-flex {
        display: flex;
    }
    .rank-math-breadcrumb {
        text-align: right;
        font-size: 14px;
    }
    .rank-math-breadcrumb p {
        margin-bottom: 0;
    }
    .rank-math-breadcrumb a,
    .rank-math-breadcrumb .separator {
        color: #121212bf;
    }
    
/* =====================
   Typo 
   ====================== */

    h1,h2,h3,h4,h5,h6,
    .h1,.h2,.h3,.h4,.h5,.h6 {
        margin-bottom: 15px;
        color: var(--heading-color);
        font-family: var(--primary-font-family);
        font-style: normal;
        font-weight: 500;
        letter-spacing: 0;
        line-height: calc(1 + .3 / max(1, 1));
        margin: 0 0 15px;
        text-transform: none;
    }
    h1,.h1 {
        font-size: 4rem;
    }
    h2,.h2 {
        font-size: 3.2rem;
    }
    h3,
    .h3 {
        font-size: 1.6rem;
    }
    h4,
    .h4 {
        font-size: 2.4rem;
    }
    h5,
    .h5 {
        font-size: 1.6rem;
    }
    h6,
    .h6 {
        font-size: 1.6rem;
    }

/* =====================
   transition
   ====================== */
    a {
        text-decoration: none;
    }
    a, a::before, a::after, a > i {
        transition: all 0.25s linear;
        -webkit-transition: all 0.25s linear;
        -moz-transition: all 0.25s linear;
        -o-transition: all 0.25s linear;
        -ms-transition: all 0.25s linear;
    }

/* =====================
   Buttons
   ====================== */
    .button {
        cursor: pointer;
        display: inline-block;
        font-size: 1.5rem;
        border-radius: 3px;
        letter-spacing: 0;
        font-weight: 400;
        text-transform: uppercase;
        padding: 1rem 3.5rem;
    }
    
    .button-primary {
        border: 1px solid var(--text-color);
        background-color: transparent;
        color: var(--text-color);
    }
    .button-primary:hover {
        background-color: var(--text-color);
        color: var(--white);
    }

    .button-secondary {
        border: 1px solid var(--text-color);
        background-color: var(--text-color);
        color: var(--white);
        transform: translateY(0);
    }
    .button-secondary:visited {
        color: var(--white);
    }
    .button-secondary:hover {
        transform: translateY(-2px);
        color: rgba(255, 255, 255, 0.8);
    }


/* =====================
   Header
   ====================== */
    
    header.header {
        /*height: 134px;*/
    }
    .header__topbar {
        background-color: var(--light-brown);
        padding: 1.6rem 0;
    }
    ul.contact-info {
        list-style: none;
        margin-bottom: 0;
        margin-left: 0;
    }
    ul.contact-info.d-flex {
        align-items: center;
        justify-content: space-between;
    }
    ul.contact-info li {
        line-height: 1;

    }
    ul.contact-info li:nth-child(2) {
        text-align: center;
        min-width: 350px;
    }
    ul.contact-info li a {
        text-decoration: none;
    }


    header .row.d-flex {
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .header__main {
        padding: 15px 0;
    }
    .header__logo {
        line-height: 0;
		position: relative;
    	z-index: 1;
    }
    .logo--wrap {
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 0 2px 2px #e3d3be;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
		width: 155px;
		padding: 15px;
		height: 155px;
		position: absolute;
		top: -25px;
		left: 0;
    }
/*     .logo--wrap img {
        height: 132px;
        width: 132px;
        object-fit: contain;
    } */
    .main-navigation {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header__actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    a.login-icon {
        line-height: 1;
        text-transform: capitalize;
        text-align: center;
    }
    a.login-icon b {
        display: block;
    }
    .points-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    li.menu-item.points-main,
    li.menu-item.login-item {
        display: none;
    }
    .login-item {
        order: -1;
    }
    .header__actions a.login-icon {
        width: 125px;
    }
    .current_page_item a,
    .current-menu-item a {
        position: relative;
        background-color: var(--light-brown);
    }
    /*ul#primary-menu .current_page_item a::before {
        content: '';
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-top: 25px solid var(--light-brown);
        position: absolute;
        left: 50%;
        top: -100%;
        transform: translate(-50%, 0px);
    }*/
    

/* =====================
   Footer
   ====================== */

    .site-footer {
        background: #090a0a;
        color: #fff;
        position: relative;
        clear: both;
    }
    .site-footer .footer-row {
        padding-top: 90px;
        padding-bottom: 80px;
    }
    .site-footer .container.d-flex {
        justify-content: space-between;
        gap: 16px;
    }
    .widget-inner {
        width: 100%;
    }
    .footer-row h3 {
        color: #fff;
        font-weight: 600;
    }
    .footer-row a,
    .copyright a {
        color: #fff;
    }
    .footer-row .menu {
        margin-left: 0;
        margin-bottom: 0;
        list-style: none;
    }
    .footer-row .menu li a {
        position: relative;
        display: block;
    }
    .footer-row .menu li a:before {
        content: "";
        margin-right: 6px;
        padding-left: 0;
        font-size: 1.3rem;
        position: relative;
        top: -5px;
        display: inline-block;
        width: 7px;
        height: 1px;
        background: #fff;
        transition: .3s;
    }
    .footer-row .menu li a:hover:before,
    ul.menu .current_page_item a:before,
    ul.menu .current-menu-item a:before {
        width: 12px;
    }
    ul.footer-contact-info, ul.social-media {
        margin: 0;
        list-style: none;
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.4;
    }
    ul.social-media {
        display: flex;
        gap: 16px;
        margin-top: 10px;
    }
    ul.social-media a {
        border: 1px solid;
        border-radius: 3px;
        padding: 0 4px;
    }
    .copyright {
        padding-block: 25px;
        border-top: 1px solid rgba(255,255,255,.04);
    }
    
    
    

/* =====================
   404 
   ====================== */
    .error-404.not-found {
        text-align: center;
        margin-top: 8vh;
        margin-bottom: 5vh;
    }

/* =====================
   Search 
   ====================== */

    .page-content {
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
        margin-bottom: 40px;
    }
    .page-content article {
        width: 32%;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 20px;
    }
    .page-content article h2 {
        font-size: 2.2rem;
    }


/* =====================
   Responsive 
   ====================== */

    @media screen and (max-width: 991px){
        header.header {
            position: relative;
        }
        .main-navigation {
            width: 60%;
            justify-content: flex-end;
        }
        .menu-toggle,
        .menu-toggle:focus {
            background-color: transparent;
            position: relative;
            border: none;
            padding: 10px 15px;
        }
        .menu-toggle b {
            position: absolute;
            left: 0;
            width: 30px;
            height: 1.5px;
            background-color: #121212;
            z-index: 999;
        }
        .menu-toggle b:nth-child(1) {
            top: 0;
        }
        .menu-toggle b:nth-child(2) {
            top: 50%;
            width: 20px;
        }
        .menu-toggle b:nth-child(3) {
            top: 100%;
        }
        .menu-toggle:hover b {
            background-color: #121212;
        }
        .menu-toggle:hover b:nth-child(2) {
            left: 10px;
        }
        .main-navigation.toggled .menu-toggle {
            transform: rotateZ(135deg);
        }
        .main-navigation.toggled .menu-toggle b:nth-child(1) {
            top: 50%;
        }
        .main-navigation.toggled .menu-toggle b:nth-child(3) {
            top: 50%;
            transform: rotateZ(90deg);
        }

        .main-navigation ul {
            position: absolute;
            left: 0;
            top: 100%;
            z-index: 9;
            background: #fff;
            width: 100%;
            box-shadow: 0px 2px 1px 2px rgba(0, 0, 0, .5);
        }
        .main-navigation a {
            padding-block: 15px;
            border-bottom: 1px solid #ddd;
        }
        /*ul#primary-menu .current_page_item a::before {
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 14px solid var(--light-brown);
            left: 0;
            top: 50%;
            transform: translate(0, -50%) rotate(-90deg);
        }*/
        .site-footer .footer-row {
            padding-top: 40px;
            padding-bottom: 20px;
        }


    }

    @media screen and (max-width: 767px){

        header.header {
            height: 186px;
        }
        .header__actions a.login-icon,
        .header__actions .points-main {
            display: none;
        }
        ul.contact-info.d-flex {
            flex-direction: column;
            justify-content: center;
            row-gap: 10px;
        }
        ul.contact-info li,
        ul.contact-info li:nth-child(3) {
            text-align: center;
            width: 100%;
        }
        li.menu-item.points-main, li.menu-item.login-item {
            display: block;
        }
        a.login-icon { text-align:left; }
        li.menu-item.points-main {
            padding: 20px;
        }
        .site-footer .container.d-flex {
            flex-direction: column;
        }
        .widget-inner {
            text-align: center;
        }
        ul.social-media {
            justify-content: center;
        }
        .copyright {
            padding-block: 10px;
        }
        .copyright--wrap {
            text-align: center;
        }


    }