@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');
:root{
    --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{
    font-family: 'Times New Roman', Times, serif;
    color: white;
    text-decoration: none;
}

a, .logo{
    cursor: pointer;
}

main{
    height: 100%;
    display: grid;
    gap: 0px 0px;
    grid-template-rows: minmax(135px,146px) auto minmax(70px,100px);
    grid-template-areas:
        "head"
        "body"
        "tail";
}
header{
    display: inline;
    /*grid-column: 2 / span 6;
    grid-row: 2/3;*/
}


.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-column-gap: 10px;
    grid-template-columns: minmax(10px, 50px) repeat(5, minmax(134px,1fr)) minmax(10px, 50px);
    grid-template-rows: minmax(15px,20px) minmax(20px,26px) 100px;
    grid-template-areas:
        ". . . . . . ."
        ". logo . media . lan ."
        ". logo list list list list .";
    align-items: start;
    /*align-items: center;
    justify-items: center;*/
    color: white;
}
.logo{
    grid-area: logo;
    align-self: center;
    justify-self: center;
}
.desktop_logo{
    max-width: 100%;
    max-height: 100px;
    display: block;
}
.small_logo{
    display: none;
}
.media_links{
    grid-area: media;
    display: flex;
    height: 20px;
    justify-content: flex-start;
    margin-left: 20%;
    margin-right: 20%;
}
.social_logo{
    margin-right: 15px;
    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:white;
    grid-area: lan;
    display: grid;
    grid-template-areas: "globe";
    grid-template-rows: minmax(12px,23px);
}
.globe{
    display: none;
}
.lang_desk{
    max-width: 100%;
    max-height: 100%;
    grid-area: globe;
    align-self: center;
    display: flex;
    justify-content: flex-end;
    margin-right: 20%;
}
.lang_list{
    display: none;
}
.overlay{
    grid-area: list;
    align-self: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "list";
}
.list_menu{
    grid-area: list;
    display: flex;
    align-self: center;
    justify-content: space-between;
}
.comp{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    align-self: center;
    justify-self: center;
}
.prod{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    align-self: center;
    justify-self: center;
}
.dill{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    align-self: center;
    justify-self: center;
}
.cont{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    align-self: center;
    justify-self: center;
}
.ind{
    font-style: italic;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20pt;
    align-self: center;
    justify-self: center;
}.closebtn{
    display: none;
}
.menu{
    display: none;
}
footer{
    grid-area:tail;
    height: 100%;
    background-color: #192c62;
    overflow-x:visible;
    display: grid;
    grid-template-areas:
    "address . . . . . .";
    color: white;
}
.address_desktop{
    grid-area: address;
    align-self: center;
    justify-self:center;
}
#whiteText{
    color: white;
}
.address_mobile{
display: none;
}
.yandex_nav{
    display: none;
}

/*body*/
section{
    grid-area: body;
    display: grid;
    grid-template-columns: minmax(10px, 50px) repeat(5, minmax(134px,1fr)) minmax(10px, 50px);
    grid-template-rows: auto auto auto;
    grid-template-areas:
        ". . text text text  . ."
        ". . calc calc calc untext ."
        ". . submit . . untext .";

}
.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;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 30px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18pt;
    margin-bottom: 10px;
}
label{
    display: block;
    max-width: 240px;
}
.tr{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.input{
    box-sizing:border-box;
    height: 54px;
    width: 240px;
    padding: 10px;
}
.input-read{
    box-sizing:border-box;
    height: 54px;
    width: 240px;
    padding: 10px;
}
.custom-select{
    width: 240px;
    height: 54px;
    padding: 10px;
}

.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 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{
    grid-area: untext;
    font-size: 14pt;
    font-family: 'Roboto Condensed', sans-serif;
}