
@font-face {
    font-family: Poppins;
    src: url(../../fonts/Poppins/Poppins-Regular.ttf);
}
@font-face {
    font-family: Poppins-Light;
    src: url(../../fonts/Poppins/Poppins-Light.ttf);
    font-weight: 100;
}
@font-face {
    font-family: Poppins-LightItalic;
    src: url(../../fonts/Poppins/Poppins-LightItalic.ttf);
    font-weight: 100;
}
@font-face {
    font-family: Poppins-Medium;
    src: url(../../fonts/Poppins/Poppins-Medium.ttf);
    font-weight: 300;
}
@font-face {
    font-family: Poppins-SemiBold;
    src: url(../../fonts/Poppins/Poppins-SemiBold.ttf);
    font-weight: 300;
}

/*nav on other pages*/

nav {
    display: flex;
    align-items: baseline;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    width: 100%;
    /*max-width: 575px;*/
    position: fixed;
    bottom: 0;
    background-color: white;
    justify-content: center;
}
nav a.active {
    pointer-events: none;
}
nav a.active p {
    color: var(--orange);
}

nav a.home:hover img {
    content: url("../images/icons/Home_Orange.png");
}
nav a.contactus:hover img {
    content: url("../images/icons/mail-icon-orange.png");
}
nav > div {
    width: 25%;
    text-align: center;
}
nav a {
    display: inline-block;
    text-decoration: none;
    color: var(--blue);
}
nav a:hover {
    color: var(--orange);
}
nav img {
    width: 1rem;
}

/*nav articles*/

nav#nav-desktop {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    max-width: 100%;
    position: fixed;
    overflow: hidden;
    top: 0;
    bottom: auto;
    background-color: white;
    justify-content: center;
    border-bottom: 1px solid var(--orange);
    z-index: 20;
    padding:0;
}
nav#nav-desktop > div.col-2 {
    text-align: center;
    display: inline-block;
    line-height: 21vh;
    height: 21vh;
    /*max-height: 150px;*/
}
nav#nav-desktop a {
    font-family: Poppins-SemiBold;
    width: 100%;
    display: inline-block;
    text-decoration: none;
    color: var(--orange);
    font-size:  1.5vw;
}

nav#nav-desktop p {
    width: 100%;
    display: inline-block;
    margin: 0; 
    vertical-align: middle;
}

nav#nav-desktop a:hover {
    font-family: Poppins;
    font-weight: bold;
    color: white;
    background-color:var(--orange);
}

nav#nav-desktop > div > img {
    width: 80%;
    max-width: 80%;
    vertical-align: middle;
    height: auto;
    margin: auto 0;
}

nav#nav-desktop > div >  span.dropdown-triangle {
    display: inline-block;
    width: 0; 
    height: 0; 
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #0D73B9;
    position: relative;
    bottom: 110px;
}

/*navbar for mobile*/
nav#nav-mobile {
    max-width: 100%;
    border-bottom: 1px solid var(--orange);
    display: none;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    overflow: hidden;
    top: 0;
    bottom: auto;
    background-color: var(--orange);
    text-align: center;
    padding: 1rem;
    z-index: 20;
    
}

nav#nav-mobile ul {
    padding: 0;
    margin: 0;
}

nav#nav-mobile ul li{
    list-style: none;
}
nav#nav-mobile ul li a {
    text-decoration: none;
    font-family: Poppins-SemiBold;
    color: black;
    font-size: 1.3rem;
    width: 100%;
    display: block;
    line-height: 5.3vh;
}

nav#nav-mobile > .nav-menu > .nav-item > .nav-link:hover {
    font-family: Poppins;
    font-weight: bold;
    color:#f68026;
}

nav#nav-mobile > .hamburger {
    display: none;
    width: auto;
}

nav#nav-mobile > .hamburger > .bar {
    display: block;
    width: 29px;
    height: 4px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
    border-radius: 5px;
}


@media only screen and (max-width: 430px) { 
    nav {
        max-width: none;
    }

    nav#nav-desktop {
        display: none;
    }
    nav#nav-mobile {
        display: flex;
    }
    nav#nav-mobile > a > img {
        width: 50%;
        max-width: 50%;
        vertical-align: middle;
        height: auto;
        margin: auto 0;
    }

    nav#nav-mobile > .nav-menu {
        height: 22vh;
        width: 100%;
        position: fixed;
        left: -100%;
        margin-top:5.9rem;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
        0 10px 27px rgba(0, 0, 0, 0.05);
    }

    nav#nav-mobile > .hamburger {
        display: block;
        cursor: pointer;
    }

    nav#nav-mobile > .nav-menu.active {
        left: 0;
    }

}

@media only screen and (min-width: 431px) and (max-width: 960px) {

    nav#nav-desktop {
        display: none;
    }

    nav#nav-mobile {
        display: flex;
    }
    nav#nav-mobile > a > img {
        width: 40%;
        max-width: 40%;
        vertical-align: middle;
        height: auto;
        margin: 0 auto;
    }

    nav#nav-mobile ul li a {
        text-decoration: none;
        font-family: Poppins-SemiBold;
        color: black;
        font-size: 1rem;
        width: 100%;
        display: block;
        line-height: 6.7vh;
    }

    nav#nav-mobile > .nav-menu {
        height: auto;
        position: fixed;
        left: -100%;
        margin-top:5.8rem;
        top:0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
        0 10px 27px rgba(0, 0, 0, 0.05);
    }

    nav#nav-mobile > .hamburger {
        display: block;
        cursor: pointer;
    }

    nav#nav-mobile > .hamburger > .bar {
        width: 55px;
        height: 9px;
        margin: 9px auto;
    }

    nav#nav-mobile > .nav-menu.active {
        left: 0;
    }
}

@media only screen and (min-width: 961px) and (max-width: 1025px) {
    /*Navbar*/
    nav#nav-mobile {
        display: none;
    }

    nav#nav-desktop > div > img {
        max-width: 70%;
        vertical-align: middle;
        height: auto;
        margin: auto 0;
    }

    nav#nav-desktop > div.col-2 {
        text-align: center;
        display: inline-block;
        line-height: 15vh;
        height: 15vh;
    }
    nav#nav-desktop a {
        font-family: Poppins-SemiBold;
        width: 100%;
        display: inline-block;
        text-decoration: none;
        color: var(--orange);
        font-size:  2vw;
    }
}

@media only screen and (min-width:1281px) {
    nav#nav-mobile {
        display: none;
    }

    nav#nav-desktop > div.col-2 {
        text-align: center;
        display: inline-block;
        line-height: 25vh;
        height: 25vh;
    }
}
/*@media (min-width: 576px) {
    nav {
        max-width: none;
    }
    }*/

