@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(115px,149px) auto minmax(70px,100px);
    grid-template-areas:
        "header"
        "body"
        "tail";
}
header{
    grid-area: header;
    display: grid;
    grid-template-rows: minmax(105px,136px);
    grid-template-areas:
        "head";
    /*grid-column: 2 / span 6;
    grid-row: 2/3;*/
}


nav.warpper{
    grid-area: head;
    background:
        url(../../images/header_background.png);
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;

    display: grid;
    grid-template-columns: minmax(5px,10px) auto minmax(20px, 30px) minmax(15px,150px) minmax(206px, 225px) minmax(15px,150px) minmax(20px, 26px) auto minmax(5px,10px);
    grid-template-rows: minmax(10px, 13px) minmax(14px, 18px) minmax(10px, 13px) minmax(71px, 92px) minmax(10px, 13px);
    gap: 0px 0px;
    grid-template-areas:
        ". . . . . . . . ."
        ". . . . media . . . ."
        ". . . . . . . . ."
        ". . menu . logo . lan . ."
        ". . . . . . . . .";
    align-items: start;
    /*align-items: center;
    justify-items: center;*/
}
.logo{
    grid-area: logo;
    max-height: 92px;
    max-width: 300px;
    align-self: center;
    justify-self:center;
}
.desktop_logo{
    display: none;
}
.small_logo{
    max-height: 92px;
    max-width: 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-areas: "globe";
    grid-template-rows: minmax(12px,23px);
}
.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: var(--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: 75%;
    font-size: 20pt;
    color:white;
}
footer{
    grid-area:tail;
    background-color: #192c62;
    overflow-x:visible;
    display: grid;
    grid-template-columns: minmax(20px, 30px) minmax(20px, 30px) minmax(15px,30px) minmax(206px, 300px) minmax(20px,34px) auto minmax(40px, 50px) minmax(20px, 26px);
    grid-template-areas:
    ". address address address . . map ."
    ". address address address . . map .";
    color: white;
    font-size: 8pt;
    height: 100%;
    min-height: 0;
}
.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;
    margin-top: 5px;
    justify-self:center;
}
.yandex_map{
    max-width: 100%;
    max-height: 100%;
}

/*body*/
section{
    grid-area: body;
    display: grid;
    grid-template-columns: minmax(5px,10px) auto minmax(20px, 30px) minmax(15px,30px) minmax(206px, 300px) minmax(20px,34px) minmax(20px, 26px) auto minmax(5px,10px);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
    ". . untext untext untext untext untext . ."
    ". . text text text text text . ."
    ". . calc calc calc calc calc . ."
    ". . submit submit submit . . . .";
}
.text{
    margin-left: 5%;
    margin-right: 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;
    display: flex;
    flex-direction:column;
    flex-wrap: nowrap;
    margin-top: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16pt;
    margin-bottom: 5px;
}
label{
    display: block;
    max-width: 300px;
}
.tr{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}

.input{
    box-sizing:border-box;
    height: 54px;
    width: 300px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.input-read{
    box-sizing:border-box;
    height: 54px;
    width: 300px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.custom-select{
    width: 300px;
    height: 54px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.input input{
    width: 100%;
    height: 34px;
    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 input{
    width: 100%;
    height: 34px;
    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;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
.underText{
    padding-top: 5px;
    grid-area: untext;
    font-family: 'Roboto Condensed', sans-serif;
}