@charset "utf-8";
/* CSS Document */

body {
	margin: 0;
	overflow-x: hidden;
	color: #000;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a:focus,
button:focus {
	outline: none !important;
}

/*********************
Main
*********************/

.top-wrap {
    background: #161D27;
    padding: 10px 0;
}

header .top-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1350px;
    margin: 0 auto;
    align-items: center;
}

.logo-wrap a img {
    max-height: 35px;
}

.top-nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: end;
}

.top-nav ul li a {
    color: #fff;
    padding: 0 10px;
    text-decoration: none;
}

.top-nav ul li a:hover {
    text-decoration: underline;
}

.top-nav ul li:last-of-type a {
    padding-right: 0;
}

.top-nav ul li:first-of-type a {
    padding-left: 0;
}

.bottom-wrap {
    background: #fff;
    border-bottom: 1px solid #000;
}

.bottom-container {
    display: flex;
    max-width: 1350px;
    margin: 0 auto;
    align-items: center;
}

.menu-wrap {
    display: flex;
    align-items: center;
}

.menu-wrap img {
    width: 17px;
    height: 17px;
}

.menu-wrap a {
    color: #232F3E;
    text-decoration: none;
    padding-left: 1em;
}

.menu-wrap .vl {
    border-left: 2px solid #D8DDE3;
    height: 20px;
    margin-left: 2em;
}

/*********************
Dropdown Menu
*********************/

.nav-bar {
    display: flex;
    height: 43px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.dropdown,
.nav-menu > li {
    position: relative;
    border: none;
    cursor: pointer;
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 15px;
    color: #232F3E;
}

.nav-menu li a {
    text-decoration: none;
    color: #000;
    letter-spacing: 2%;
}

.dropbtn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 102%; 
    left: 0;
    background-color: #F5F7F8;
    min-width: 310px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    list-style: none;
    margin: 0;
    padding: 2em 2em 0 3em;
    min-height: 350px;
}

.dropdown-content li:first-of-type {
    border-bottom: 1px solid #7A828B;
    max-width: 75%;
}

.dropdown-content li:first-of-type a {
    font-size: 18px;
}

.dropdown-content li:first-of-type:hover {
    border-bottom: 1px solid #0066CC;
}

.dropdown-content li:nth-of-type(2) a {
    padding-top: 1.5em;
}

.dropdown-content a {
    color: black;
    padding: 12px 0;
    text-decoration: none;
    display: block;
}

.dropdown-content li:not(:first-of-type) a:hover {
    text-decoration: underline;
}

.dropdown:hover,
.nav-menu > li:hover {
    background-color: #F5F7F8;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    height: 100%;
}

/*********************
Media
*********************/

@media only screen and (max-width: 1400px) {
    header .top-container,
    .bottom-container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1250px) {
    header .top-container,
    .bottom-container {
        max-width: 1100px;
    }
}

@media only screen and (max-width: 1150px) {
    header .top-container,
    .bottom-container {
        max-width: unset;
        padding: 0 2em;
    }
    .menu-wrap .vl {
        margin-left: 2em;
    }
    .search-container input[type=text] {
        width: 400px;
    }
}

@media only screen and (max-width: 992px) {
    .nav-bar {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .top-nav ul li a {
        padding: 0 5px;
    }
    .logo-container a img {
        max-height: 30px;
    }
}

@media only screen and (min-width: 768px) {
    .logo-mobile {
        display: none;
    }
    .bars {
        display: none;
    }
}

/* Medium devices */
@media only screen and (max-width: 768px) {
    .logo-wrap {
        margin: 0 1.5em;
        position: relative;
    }
    .logo-mobile {
        display: block;
        margin: 0 auto;
    }
    .logo-desktop,
    .top-nav,
    .bottom-wrap {
        display: none;
    }
    header .top-container {
        padding: 0;
        grid-template-columns: 1fr;
        margin: unset;
        align-items: unset;
    }
    .top-wrap {
        padding: 10px 0 5px;
    }
    .bars {
        display: block;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        font-size: 16px;
        position: absolute;
        right: 0;
        top: 5px;
    }
    .bars span {
        padding-right: 10px;
    }
}
