@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');
:root{
    --red: #FF0000;
    --transition: all 0.3s ease 0s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: auto;   
}

body{
    background-color: white;
        /*url(../../images/Background.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;*/
}
a{
    color: var(--red);
    text-decoration: none;
}

a, .logo{
    cursor: pointer;
}

main{
    height: 100%;
    display: grid;
    gap: 0px 0px;
    grid-template-rows: minmax(236px,307px) auto 74px;
    grid-template-areas:
        "head"
        "body"
        "tail";
}
header{
    display: inline;
    /*grid-column: 2 / span 6;
    grid-row: 2/3;*/
}


nav.warpper{
    grid-area: head;
    height: 100%;

    background:
        url(../../images/header_background.png);
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        
    display: grid;
    grid-template-columns: minmax(50px, 80px) minmax(25px, 32px) minmax(78px,107px) minmax(495px, 664px) minmax(45px, 73px) minmax(30px, 39px) minmax(45px, 59px);
    grid-template-rows: minmax(20px, 26px) minmax(20px, 26px) minmax(20px, 26px) minmax(156px, 203px) minmax(20px,26px);
    gap: 0px 0px;
    grid-template-areas:
        ". . . . . . ."
        ". . . media . . ."
        ". . . . . . ."
        ". menu . logo . lan ."
        ". . . . . . .";
    align-items: start;
    /*align-items: center;
    justify-items: center;*/
}
.logo{
    grid-area: logo;
    align-self: center;
    justify-self: center;
}
.desktop_logo{
    display: none;
}
.small_logo{
    max-width: 100%;
    max-height: 100%;
    display: block; 
}


.media_links{
    grid-area: media;
    display: flex;
    height: 20px;
    align-self: center;
    justify-content: space-evenly;
    margin-left: 30%;
    margin-right: 30%;
}
.social_logo{
    filter: invert(100%) sepia(2%) saturate(7494%) hue-rotate(206deg) brightness(103%) contrast(100%);
    height: 100%;
    float: right;
}
.lang{
    font-size: 16pt;
    font-family: 'Roboto Condensed', sans-serif;
    color:var(--red);
    grid-area: lan;
    align-self: center;
    justify-self: center;
    margin-bottom: 75%;
    display: grid;
    grid-template-rows: minmax(30px,39px);
    grid-template-areas: "globe";

}
.globe{
    max-width: 100%;
    /*max-height: 100%;*/
    grid-area: globe;
    align-self: center;
    justify-self: center;
}
.lang_desk{
    display: none;
}
.lang_list{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: rgba(255,255,255,0.75);
    overflow-x: hidden;
    transition: 0.5s;
}
.lang_menu{
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px;
}
.lang_list a {
    padding: 8px;
    text-decoration: none;
    font-size: 26px;
    color: var(--red);
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}
.lang_list .closebtn {
    position: absolute;
    top: 20px;
    left: 45px;
    font-size: 40px;
    font-family:initial;
}
.separator{
    display: none;
}
.overlay{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.75);
    overflow-x: hidden;
    transition: 0.5s;
}
.list_menu{
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px;
}
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 26px;
    color: red;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 40px;
  }
.comp{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    display: block;
    align-self: center;
    justify-self: center;
}
.prod{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    display: block;
    align-self: center;
    justify-self: center;
}
.dill{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    display: block;
    align-self: center;
    justify-self: center;
}
.cont{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    display: block;
    align-self: center;
    justify-self: center;
}
.ind{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    display: block;
    align-self: center;
    justify-self: center;
}
.menu{
    grid-area: menu;
    align-self: center;
    justify-self: center;
    margin-bottom: 100%;
    font-size: 35pt;
    color:white;
}
footer{
    grid-area:tail;
    background-color: #192c62;
    overflow-x:visible;
    display: grid;
    grid-template-columns: minmax(50px, 80px) minmax(25px, 32px) minmax(78px,107px) minmax(495px, 664px) minmax(50px, 80px) minmax(20px, 26px) minmax(50px, 65px);
    grid-template-areas:
    ". address address address map . .";
    color: white;
    min-height: 0;
    height: 75px;
}
.address_mobile{
    grid-area: address;
    align-self: center;
    justify-self:left;
}
#whiteText{
    color: white;
}

.address_desktop{
display: none;
}
.yandex_nav{
    grid-area: map;
    align-self: center;
    justify-self:center;
}
.yandex_map{
    max-width: 100%;
    max-height: 100px;
    width: 90%;
    height: 90%;
}

/*body*/
section{
    grid-area: body;
    display: grid;
    grid-template-columns: minmax(50px, 80px) minmax(25px, 32px) minmax(78px,107px) minmax(495px, 664px) minmax(50px, 80px) minmax(20px, 26px) minmax(50px, 65px);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
        ". . untext untext untext . ."
        ". . text text text . ."
        ". . calc calc calc . ."
        ". . submit . . . .";
}
.text{
    margin-left: 2.5%;
    margin-right: 2.5%;
    margin-top: 20px;
    grid-area: text;
    font-family: 'Roboto Condensed', sans-serif;
}
.text1{
    font-size: 18pt;
}
.text2{
    font-size: 16pt;
    color: red;
    margin-top: 5px;
}

.calc{
    grid-area: calc;
    margin-top: 30px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18pt;
}

.input{
    box-sizing:border-box;
    height: 34px;
}
.input input{
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
.input textarea{
    width: 100%;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

td{
    padding: 5px;
}
tr{
    vertical-align: bottom;
}

.input-read{
    box-sizing:border-box;
    height: 34px;
}
.input-read input{
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
.input-read textarea{
    width: 100%;
    padding: 6px 12px;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

::-webkit-scrollbar {
    width: 8px;
    background: #f1f1f1;
}
    
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #a9a9a9;
}

.submit{
    grid-area: submit;
    margin-left: 5%;
    margin-right: 5%;
    color: #fff !important;
    background-color: #192c62 !important;
    border-color: #192c62 !important;
    width: 90% !important;
    height: 50px !important;
    font-size: 22px !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

.custom-select select{
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

.underText{
    padding-top: 10px;
    grid-area: untext;
    font-family: 'Roboto Condensed', sans-serif;
}