@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('./PurysNdtvFontCss.css');

body {
    margin: 0;
    padding: 0;
    font-family: "PurysNdtv", "Lato", sans-serif;
    font-weight: 400;
}

.top-header {
    background-color: #3E3E3E;
}

.top-header ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-header ul li {
    list-style: none;
}

.top-header ul li a {
    text-decoration: none;
    color: #C6C6C6;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left;
    transition: all 0.3s ease;
}

.top-header ul li a:hover {
    color: #fff;
}   

.container {
    margin: 0 auto;
    box-sizing: border-box;
}

.main-header {
    background-color: #202020;
    position: sticky;
    top: 0;
    z-index: 9;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-header-search-login {
    display: flex;
    justify-content: end;
    align-items: center;
}

.main-header-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.main-header-search-login,
.main-header-textimg {
    white-space: nowrap;
    position: relative;
}

.main-header-search {
    position: relative;
}

.main-header-search input[type="text"] {
    border: none;
    font-weight: 400;
    color: #000;
    background-color: #D9D9D9;
    outline: none;
    box-sizing: border-box;
    font-family: "PurysNdtv", "Lato", sans-serif;
}

.upload-image-search {
    position: absolute;
    top: 0;
    height: 100%;
    border: none;
    background-color: transparent;
}

.upload-image-search img {
    display: block;
}

.search-data {
    background-color: #3E3E3E;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.search-data img {
    display: block;
    border: none;
}

.main-header-textimg {
    color: #fff;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
}

.below-header {
    background-color: #202020;
}

.below-header ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.below-header ul li {
    list-style: none;
}

.below-header ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.85;
    transition: 0.5s;
    position: relative;
}

.below-header ul li:not(.highlight) a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: 0.5s;
}

.below-header ul li:not(.highlight) a:hover::before {
    width: 100%;
}

.below-header ul li:not(.highlight) a:hover {
    opacity: 1;
}

.below-header ul li.highlight a {
    font-weight: 500;
    background-color: #fff;
    color: #000;
    border-radius: .069vw;
}

.below-header-menu {
    background-color: #FBFBFB;
}

.below-header-menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.below-header-menu ul li {
    list-style: none;
    border-right-color: #DEDEDE;
    border-right-style: solid;
}

.below-header-menu ul li:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.below-header-menu ul li a {
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

.menu-handler.open {
    position: fixed;
    top: 10px;
    left: 15px;
    z-index: 9999999;
    width: 30px;
    height: 30px;
    /* background-color: #f00; */
    border-radius: 30px;
}

.menu-handler.open img {
    display: none;
    position: relative;
}

.menu-handler.open::before {
    content: "";
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background-image: url('../images/close-menu.svg');
    background-size: 35px;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .top-header {
        padding: 1.111vw 0 1.042vw;
        background-color: #3E3E3E;
    }

    .top-header ul li {
        padding: 0 .972vw;
    }
    
    .top-header ul li a {
        font-size: .625vw;
        line-height: .75vw;
    }

    .main-header {
        padding: 1.319vw 0;
    }

    .menu-handler {
        display: none;
    }

    .main-header-logo {
        width: 10.069vw;
    }

    .main-header-search {
        width: 17vw;
        display: flex;
        flex-wrap: wrap;
    }

    .main-header-search input[type="text"] {
        width: 100%;
        padding: .347vw 2.153vw .347vw .7vw;
        border-radius: .208vw;
        font-size: .725vw;
        line-height: .972vw;
    }

    .upload-image-search {
        right: 0;
    }
    
    .upload-image-search img {
        width: 1.319vw;
        height: 1.319vw;
    }

    .search-data {
        border-radius: 0 .208vw .208vw 0;
        width: 3.125vw;
    }
    
    .search-data img {
        width: 1.25vw;
        height: 1.25vw;
    }

    .main-header-textimg {
        margin-right: .556vw;
    }

    .main-header-textimg:last-child {
        margin-right: 0;
    }

    .main-header-textimg img {
        margin-right: .174vw;
    }

    .main-header-textimg {
        font-size: .972vw;
        line-height: 1.167vw;
    }

    .below-header {
        position: absolute;
        left: 11.458vw;
    }

    .below-header ul li {
        margin: 0 .4vw;
    }

    .below-header ul li a {
        font-size: .78vw;
        line-height: 1vw;
        letter-spacing: 1px;
    }

    .below-header ul li.highlight a {
        padding: .347vw .417vw .278vw;
    }

    .below-header-menu {
        padding: .694vw;
    }

    .below-header-menu ul li {
        margin-right: 1.528vw;
        border-right-width: .208vw;
        padding: .625vw 1.528vw .625vw 0;
    }

    .below-header-menu ul li a {
        font-size: .875vw;
        line-height: 1.111vw;
    }
}

@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
    }

    /* .top-header {
        display: none;
    } */

    .main-header {
        padding: 13px 0;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .menu-handler {
        display: block;
        margin-right: 7px;
    }

    .main-header-logo {
        width: 74px;
    }

    .main-header-search-login {
        width: calc(100% - 74px - 7px - 12px);
    }

    .main-header-search {
        margin-right: 8px;
        width: 200px;
        display: flex;
        flex-wrap: wrap;
    }

    .main-header-search input[type="text"] {
        width: 100%;
        padding: 5px 20px 4px 8px;
        border-radius: 1px;
        font-size: 9px;
        line-height: 12px;
    }

    .upload-image-search {
        right: 0px;
    }
    
    .upload-image-search img {
        width: 14px;
        height: 14px;
    }

    .search-data {
        border-radius: 0 .208vw .208vw 0;
        width: 20px;
    }
    
    .search-data img {
        width: 10px;
        height: 10px;
    }

    .main-header-textimg {
        margin-right: 3px;
    }

    .main-header-textimg:nth-last-child(2) img {
        width: 13px;
        height: auto;
    }

    .main-header-textimg:last-child {
        margin-right: 0;
    }

    .main-header-textimg:last-child img {
        width: 11px;
        height: auto;
    }

    .main-header-textimg span {
        display: none;
    }

    .below-header {
        position: fixed;
        height: 100vh;
        top: 0;
        left: -500px;
        width: 300px;
        margin: 0;
        padding-top: 50px;
        box-sizing: border-box;
        transition: 0.5s;
    }

    .below-header.show {
        left: 0;
    }

    .below-header ul {
        display: block;
    }

    .below-header ul li a {
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        white-space: nowrap;
        display: block;
        padding: 7px 15px;
    }

    /* .below-header ul li.highlight {
        display: none;
    } */
    .below-header-menu .container {
        width: calc(100% - 32px);
        box-sizing: border-box;
        padding: 9px 16px 9px 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .below-header-menu::-webkit-scrollbar {
        display: none;
    }

    .below-header-menu ul {
        display: flex;
        justify-content: space-between;
    }

    .below-header-menu ul li {
        margin-right: 3px;
        padding-right: 3px;
        border-right: 1px solid #DEDEDE;
    }

    .below-header-menu ul li a {
        font-weight: 500;
        font-size: 9px;
        line-height: 11px;
        white-space: nowrap;
        display: block;
    }

    .top-header {
        width: 100%;
        box-sizing: border-box;
        padding: 9px 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .top-header ul {
        display: flex;
        justify-content: space-between;
        align-items: unset;
        padding-left: 10px;
        padding-right: 10px;
    }

    .top-header ul li {
        margin-right: 8px;
        padding-right: 8px;
        border-right: 1px solid #777;
    }

    .top-header ul li a {
        font-weight: 500;
        font-size: 11px;
        line-height: 11px;
        white-space: nowrap;
        display: block;
    }
}