@charset "UTF-8";
@import url('normalize.css');
@import url('modintech.css');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;800&display=swap');
@import url('https://fonts.google.com/share?selection.family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
	outline: none !important;
    transition: all .25s;
    --color-black: #000000;
    --color-brown: #6f5b43;
    --color-grey: #dddddd;
    --color-dark-grey: #979797;
    --color-beige: #fbf8f3;
    --color-white: #ffffff;
    --color-orange: #ff6c00;
    --color-red: #dd1e1d;
    --vertical-indent: 80px;
}

a{
    color: var(--color-orange);
    cursor: pointer;
}

a:hover{
    color: var(--color-orange);
}

.btn-default{
    display: inline;
    padding: 10px 30px;
    cursor: pointer;
    background-color: var(--color-orange);
	color: var(--color-white);
    text-decoration: none;
    min-width: 150px;
    max-width: 250px;
    text-align: center;
}

.btn-default:hover{
    background-color: var(--color-red);
	color: var(--color-white);
}

.btn-default.light{
    background-color: transparent;
	color: var(--color-orange);
    border: 1px solid var(--color-orange);
}

.btn-default.light:hover{
    background-color: var(--color-orange);
	color: var(--color-white);
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Noto';   
}

h1, h2{
    display: block;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: normal;
}

h1{
    text-transform: uppercase;
}

.shadow{
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
}

body {
    margin: 0;
	padding: 0;
    background-color: var(--color-white);
    color: var(--color-black);
	font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    font-weight: 400;
    line-height: 30px;
    height: 100%;
}

.overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.overlay.active{
    display: flex;
}

.search-modal-window{
    padding: 0 40px;
    width: 100%;
    max-width: 900px;
}

.search-form-wrapper{
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--color-white);
}

.search-form-wrapper .search-form{
    justify-content: space-between;
}

.search-field, .search-button{
    background: none;
    font-size: 300%;
    color: var(--color-white);
    border: none;
}

.search-field{
    width: calc(100% - 100px);
}

.search-button{
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.search-button:hover .arrow-right{
    fill: var(--color-orange);
}

.arrow-right{
    fill: var(--color-white);
    width: 50px;
    height: 50px;
}

.close-button{
    display: block;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background-color: var(--color-orange);
    background-image: url('../images/icon-close.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.close-button:hover{
    background-color: var(--color-red);
}

.container{
    max-width: 1320px;
    padding: 0 40px;
}

.top-line{
    background-color: var(--color-orange);
    color: var(--color-white);
}

.top-line .container{
    height: 100%;
}

.top-contacts-wrapper{
    align-items: center;
}

.top-contacts{
    align-items: center;
}

.top-contacts-wrapper .icon{
    margin-right: 5px;
    display: block;
    width: 15px;
    height: 15px;
}

.top-contacts-wrapper .icon.phone{
    background-image: url('../images/icon-phone.png');
}

.top-contacts-wrapper .icon.mail{
    background-image: url('../images/icon-mail.png');
}

.top-contacts-wrapper span{
    font-size: 85%;
    margin-right: 15px;
}

.top-contacts-wrapper a, .top-contacts-wrapper a:hover{
    color: var(--color-white);
    text-decoration: none;
}

.nav-wrapper{
    width: 100%;
    height: 115px;
    background-color: var(--color-white);
}

.nav-wrapper.fixed{
    padding: 5px 0;
    position: fixed;
    height: 75px;
    top: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

.nav-wrapper .container{
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.nav-wrapper .container div, .top-menu{
    height: 100%;
}

.logo-wrapper{
    width: 70px;
}

.logo{
    fill: var(--color-brown);
}

.nav-wrapper.fixed .logo{
    fill: var(--color-white);
}

.nav-icons-wrapper{
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.nav-icons{
    fill: var(--color-black);
}

.nav-wrapper.fixed .nav-icons-wrapper .nav-icons{
    fill: var(--color-white);
}

.nav-wrapper.fixed .nav-icons-wrapper .nav-icons.close{
    fill: var(--color-black);
}

.nav-icons-wrapper:hover .nav-icons, .nav-wrapper.fixed .nav-icons-wrapper:hover .nav-icons{
    fill: var(--color-orange);
}

.nav-icons-wrapper.menu{
    display: none;
}

.nav-icons-wrapper.close{
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px !important;
    z-index: 1000;
}

.nav-icons-wrapper.close.active{
    display: block;
}

nav{
    position: relative;
    height: 100%;
}

nav ul{
    margin: 0;
	padding: 0;
    list-style: none;
}

nav ul.top-menu{
    display: flex; 
}

nav ul li{
    margin-right: 30px;
    display: flex;
    align-items: center;
}

nav ul.top-menu li.menu-item-has-children > a::after{
    display: inline-block;
    margin-left: 10px;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

nav ul li a{
    color: var(--color-black);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-wrapper.fixed nav ul li a{
    color: var(--color-white);
}

.nav-wrapper.fixed nav ul.sub-menu li a{
    color: var(--color-black);
} 

nav ul li a:hover, .nav-wrapper.fixed nav ul li a:hover{
    color: var(--color-orange);
} 

nav ul li:hover .sub-menu{
    display: block;
}

ul.sub-menu{
    top: 100%;
    display: none;
    position: absolute;
    z-index: 100;
    background-color: var(--color-white);
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

ul.sub-menu li{
    margin: 0;
    padding: 10px 20px;
}

nav ul.sub-menu li a{
    text-transform: none;
}

header{
    min-height: 30vh;
    height: auto !important;
    background-image: url('../images/bg-default.webp');
    background-size: cover;
    background-position: center center;
}

header .container{
    padding-top: var(--vertical-indent);
    padding-bottom: var(--vertical-indent);
    color: var(--color-white);
    height: 100%;
    justify-content: center;
}

.before-title-page{
    text-transform: uppercase;
    font-weight: 600;
}

.before-title-page::after{
    margin-top: 10px;
    content: "";
    display: block;
    width: 10%;
    height: 3px;
    background-color: var(--color-orange);
}

h1.title-page, h2.title-page{
    font-size: 300%;
    color: var(--color-white);
    text-transform: uppercase;
}

.after-title-page{
    margin-bottom: 40px;
    display: block;
    width: 50%;
}

main.container{
    padding-top: var(--vertical-indent);
    padding-bottom: var(--vertical-indent);
}

footer{
    background-color: var(--color-black);
    padding-top: var(--vertical-indent);
    color: var(--color-white);
    line-height: normal;
    font-size: 90%;
}

footer a, footer a:hover{
    color: var(--color-white);
}

footer a.btn-icon-social img{
    background-color: var(--color-orange);
}

footer a.btn-icon-social:hover img{
    background-color: var(--color-red);
}

footer .container{
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .flex-col{
    width: 30%;
}

footer .logo-wrapper{
    margin-right: 20px;
}

footer .logo-wrapper .logo{
    fill: var(--color-white);
}

footer .title{
    display: block;
    margin-bottom: 20px;
    font-family: 'Noto'; 
    font-size: 150%;
    font-weight: 600;
}

footer .footer-contacts a{
    color: var(--color-white);
    text-decoration: none;
}

footer .footer-contacts a:hover{
    color: var(--color-orange);
}

.copyright{
    border-top: 1px solid var(--color-dark-grey);
    margin-top: 10px;
    padding: 5px 0;
    font-size: 80%;
    font-weight: 200;
    line-height: normal;
}

.copyright p{
    margin: 0;
    padding: 0;
}

.modintech a, .modintech a:hover{
    color: var(--color-white);
    text-decoration: none;
}

.cookie-message-wrap{
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 50;
}

.cookie-message{
    background-color: var(--color-white);
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: normal;
    font-size: 80%;
    justify-content: space-between;
}

.cookie-message .text-wrap{
    align-items: baseline;
    padding-right: 40px;
}

.cookie-message .button-wrap{
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1400px) {

}

@media screen and (max-width: 1280px) {
   
}

@media screen and (max-width: 992px) {
    .container{
        padding: 0 20px;
    }

    .nav-wrapper{
        padding: 5px 0;
        height: 75px;
    }

    .nav-icons-wrapper.menu{
        display: block;
    }

    .nav-wrapper.fixed nav ul li a{
        color: var(--color-black);
    }

    nav{
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        min-height: 100vh;
        background-color: var(--color-white);
        z-index: 100;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav ul.top-menu{
        margin: var(--vertical-indent) 20px 0 20px;
        display: block; 
    }

    nav ul li{
        display: block;
        margin: 0;
        padding: 10px 20px; 
        border-bottom: 1px solid var(--color-dark-grey);
    }

    ul.sub-menu{
        top: auto;
        display: none;
        position: relative;
        box-shadow: none;
    }

    ul.sub-menu li{
        padding: 5px 0 5px 15px;
        border: 0;
    }

    header .container{
        align-items: center;
    }

    .before-title-page::after{
        margin:10px auto 0 auto;
        width: 25%;
    }

    h1.title-page, h2.title-page{
        text-align: center;
        font-size: 200%;
    }

    .after-title-page{
        width: 100%;
        text-align: center;
    }

    footer .flex-col{
        text-align: center;
    }

    footer .flex-col.footer-about{
        width: 100%;
        justify-content: center;
    }

    footer .flex-col.footer-social, footer .flex-col.footer-contacts{
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .search-button{
        width: 50px;
        height: 50px;
    }

    .search-field, .search-button{
        font-size: 150%;
    }

    .top-line .container{
        justify-content: center;
    }

    .top-contacts-wrapper{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 576px) {
    nav{
        width: 100%;
    }

    footer .flex-col{
        width: 100% !important;
    }
}
