/*Обнуление*/
*{padding: 0;margin: 0;border: 0;}
*,*:before,*:after{-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: inherit;}
/*--------------------*/

:root{
  --green_: #033828;
  --grey2_: #dcdcdc;
  --grey1_: #f5f5f5;
/*
--grey1_: white;
--grey2_: white;
  --white: #f9f9f9;
  --red: #ee6e73;
  --grey: #f3f3f3;
  --grey2: #e7e7e7;
  --grey3: #2a2a2a;
  */
}

html,body{
  height: 100%;
}

body{
  min-width: 340px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background-color: var(--grey1_);
}

h3{
  padding-top: 10px;
  font-size: 16px;
  font-weight: bold;
}

h4{
  padding-top: 15px;
  font-size: 14px;
  font-weight: bold;
}

.wrapper{
  min-height: 100%;
  display: flex;
  flex-direction: column;
/*  border: 1px solid red; */
  max-width: 1200px;
}

.container{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex: 1 1 auto;
/*  border: 1px solid magenta; */
}

.header, .footer{
  font-size: 18px;
}

/*
.menu-up{
  padding: 5px;
  padding-right: 15px;
  text-align: right;
}
*/
.menu-up{
  background-color: var(--green_);/*#033828;*/
  padding: 5px;
  display: flex;
  flex-direction: row;
  height: 46px;
  margin-bottom: 1px;
}

.menu-up a{
  color: var(--grey2_);/*#dcdcdc;*/
}

.menu-up a:hover{
  color: white;
}

.menu-up-sign {
  font-style: italic;
  font-size: 26px;
  padding: 5px 0;
  width: 108px;
  border: 1px solid white;
  text-align: center;
}

.menu-up-side {
  width: 110px;
}

.menu-up-main {
/*  border: 1px solid yellow; */
  text-align: center;
  width: 100%;
  padding-top: 8px;
  color: var(--grey2_);
}

/*******/

.menu2{
  background-color: var(--green_);/*#033828;*/
  width: 100%;
  padding: 5px;
  height: 46px;
  margin-bottom: 1px;
  text-align: center;
  padding-top: 14px;
  color: var(--grey2_);

}


/*******/

.menulink{
  padding-bottom: 10px; 
/*  border: 1px solid olive; */
  height: 25px;
  font-size: 16px;
}

.menulink p{
  padding-left: 10px;
}

.main{
  display: flex;
  flex-direction: column;
  margin-top: 0px;
  align-items: center;
  width: 60%;
/*  min-width: 500px; */
/*  border: 1px solid blue; */ 
}

.main form{
  display: flex;
  flex-direction: column;
  min-width: 340px;
  width: 90%;
/*  border: 1px solid green;  */
}

.main input{
  margin-bottom: 1px;
  padding: 5px 2px;
/*  outline: none; */
  outline: 1px solid var(--green_);
}

.main select{
  margin-top: 1px;
  padding: 5px 0;
  outline: 1px solid var(--green_);
}

.main-side{
  display: flex;
  flex-direction: column;
/*  border: 1px solid black; */
/*  max-width: 80%; 
  min-width: 300px;*/
}
/*
.main button{
  margin: 20px 0;
  padding: 10px;
  border: unset;
  cursor: pointer;
}

.main p{
  padding: 5px;
}

h3{
  font-size: 30px;
}
*/

.form-div{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
/*  border: 1px solid fuchsia; */
/*  max-width: 350px;*/

}

.form-table{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.form-table input{
  margin: 0px;
  padding: 2px 1px;
  outline: none; 
  text-align: center;
  background-color: var(--grey1_);
  width: 100%;
/*  outline: 1px solid var(--green_); */
}

.form-checkbox{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.form-label{
  margin-bottom: 3px;
/*  font-weight: bold;*/
}

.form-buttons{
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form-buttons input{
  width: 170px;
  font-weight: bold;
}

.footer {
  margin-top: 30px;
  padding: 15px;
  text-align: center;
  color: #dcdcdc;
  background-color: var(--green_);/*#033828;*/
}

.texterror ul{
  color: red;
  font-size: 12px;
  margin: 3px 0;
}

.texterror {
  color: red;
  font-size: 12px;
}

.list {
  width: 100%;
  margin-top: 15px;
  padding: 0 10px;
  min-width: 350px;

/*  border: 1px solid green; */
}

.list ul {
  margin-top: 3px;
}  

.list li {
  font-size: 13px;
}  

.list-item {
  margin-top: 15px;
/*  border: 1px solid red; */
}

.desc {
/*  justify-content: center;*/
  padding: 20px 10px 0 10px;
  width: 100%;
  min-width: 340px; 
/*  border: 1px solid blue; */

}

.desc h4{
  font-size: 14px;
  font-weight: bold;
/*  margin: 10px 0;*/
}

.desc p{
  font-size: 14px;
  margin: 2px 0;
  text-align: left;
  margin-bottom: 5px;

}

.desc a{
  padding: 10px 0;
  text-align: center;
}

.desc-img{
  margin: 20px 0 10px 0;
/*  border: 1px solid black;*/
  border-style: double;
  border-width: 4px;
  border-color: var(--green_);
  text-align: left;
}

.results-div  {
  margin: 10px 0 0 0;
/*  border: 1px solid green;  
  width: 60%; */
  max-width: 100%;

}

.results-div p {
  margin: 5px 0;
}

.results-buttons input{
  width: 100%;
  margin-top: 15px;
  font-weight: bold;
}

table {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 2px;
/*  width: 600px; */
  width: 100%;  
}

td, th {
  border: 1px solid black; 
  padding: 3px;
  font-weight: normal;
}

.adv img {
  margin: 20px;
/*  border: 1px solid yellow; */ 
}

/*////////////////////////////////////////////////////////*/


table.math {
  table-layout: auto;

  width: auto;
  border: none;
  margin: 20px auto;
}

.math td {
  padding: 0 1px;
  text-align: center;
  font-size: 20px;
  border: none;
  width: fit-content;

/*  border: 1px solid green */; 
  

}
/*
.results-table table  {
  width: auto;
  border: none;
  margin: 22px auto;
/*  
  border: 1px solid red; 
  table-layout: auto;

}*/

td.tdbottom{
  border-bottom: 1px solid black;
}

td.tdtop {
  border-top: 1px solid black;
}

.mob-ad{
  display: none;
}

.cookie {
  display: flex;
  flex-direction: row;
  justify-content: left;
  border: 1px solid black;

}

.cookie div {
  margin: 0 10px;
  padding: 10px 0;
}

.cookie-button input{
  width: 170px;
  font-weight: bold;
  border: 1px solid black;
}

#cookie-banner {
    display: none;
    position:fixed;
    bottom:0; left:0; right:0;
    background:#fff;
    border-top:2px solid #2563eb;
    padding:16px 24px;
    box-shadow:0 -4px 12px rgba(0,0,0,0.1);
    z-index:9999;
    max-width: 1200px;
}

#cookie-banner-div {
    max-width:1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}  

#cookie-banner p {
    margin:0;
    font-size:14px;
    line-height:1.5;
}  

#cookie-banner-div div {
    display:flex;
    gap:12px;
    align-items:center;
}  

.cookie-banner-button {
    display: flex; 
    flex-direction: row;
    justify-content: space-around;
/*    border: 1px solid black; */
    width: 100%;
}

.cookie-banner-button input {
    padding: 12px;
    background: #2563eb; 
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    width: 40%;
/*    border: 1px solid red; */
}

.about p{
    margin-top: 20px;
    font-size: 14px;
}

.policy-cookie div{
  margin-bottom: 20px;

}

.policy-cookie h3{
  margin-bottom: 20px;

}

.policy-cookie p{
  margin-bottom: 5px;

}





