*{
    box-sizing: border-box;
}

p{
    color: #ffffff;
}

h2{
    color: #FFAA00;
}

body{
    color: #ffffff;
    min-width: 1578px;
    font-family: "Jura", serif;
    font-size: 16px;
    background-color: #0F0F0F;
}
/*---------------------global header--------------------*/
.header{
    padding-top: 24px;
    border-style: solid;
    border-color: #FFAA00;
    background-color: #0F0F0F;
}

.head{
    width: 1570px;
    height: 76px;
    margin: 0 auto;
}

.row{
    display: flex;
    justify-content: space-around;
}

.menu{
    align-self: center;
    font-weight: bold;
}

.menu a{
    color: #ffffff;
    text-decoration: none;
}

.row a:hover{
    color: #FFAA00;
}

/*-------------------global main - flex-----------------*/
.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 40vh);
    width: 1578px;
    margin: 0 auto;
    border-style: solid;
    border-color: #FFAA00;
    border-top: none;
    border-bottom: none;
    
}

/*---------------------global footer--------------------*/
.footer{
    height: 100px;
    margin: 0 auto;
    border-style: solid;
    border-color: #FFAA00;
    padding-left: 64px;
}

.end{
    width: 1570px;
    margin: 0 auto;
    font-weight: bold;
}

#ko{
    margin-top: 0px;
    font-size: 12px;
}
/*------------------end global footer--------------------*/

.logot{  /*-------------заголовки------------------------*/
    margin-top: 20px;
    text-align-last: center;
    font-size: 70px;
    font-weight: bold;
    color: #ffffff;
}

/*-------------------index.html--------------------------*/
.prev{
    width: 1570px;
    border-style: solid;
    border-color: #FFAA00;
    border-top: none;
    border-left: none;
    border-right: none;
}

.sale{
    width: 1570px;
}

.news{
    border-style: solid;
    border-color: #FFAA00;
    border-bottom: none;
    border-left: none;
    border-right: none;
    width: 1570px;
}

.nimg{
    border-radius: 30px;
    width: 350px;
    float: left;
    vertical-align: top;
    margin-bottom: 20px;
    margin-left: 40px;
    margin-right: 20px;
    margin-top: 20px;
}
.ntext{
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 50px;
    font-size: 20px;
    color: #ffffff;
}

.simg{
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
}

.stext{
    margin-top: 39px;
    display: flex;
    font-size: 20px;
    justify-content: space-around;
    color: #ffffff;
}
.stext a{
    text-align: center;
    width: 336px;
    height: 80px;
    color: #ffffff;
    text-decoration: none;
}
.stext a:hover{
    color: #FFAA00;
}

.dua{
    width: 1570px;
    margin: 0 auto;
    border-style: solid;
    border-color: #FFAA00;
    
    border-right: none;
    border-bottom: none;
    border-left: none;
}

.mtext{
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 50px;
    text-align: left;
    font-size: 20px;
}
/*---------------------------------------------------------*/
/*--------------------------kabel.html-----------------------*/
.kprev{
    width: 1570px;
    border-style: solid;
    border-color: #FFAA00;
    border-top: none;
    border-left: none;
    border-right: none;
}
.kabel1, .kabel2, .kabel3{
    width: 1300px;
    border-style: solid;
    border-color: #FFAA00;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-bottom: 60px;
    margin-top: 60px;
    padding-top: 60px;
    font-size: 20px;
}

.rtext{
    font-size: 32px;
}
/*---------------------------------------------------------*/
/*--------------------------sale.html-----------------------*/
.limg{
    border-radius: 30px;
    width: 350px;
    float: left;
    vertical-align: top;
    margin-bottom: 20px;
    margin-left: 40px;
    margin-right: 20px;
    margin-top: 20px;
}
.rimg{
    border-radius: 30px;
    width: 350px;
    float: right;
    vertical-align: top;
    margin-bottom: 20px;
    margin-left: 40px;
    margin-right: 20px;
    margin-top: 20px;
}
.act1, .act2, .act3{
    width: 1300px;
    border-style: solid;
    border-color: #FFAA00;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-bottom: 60px;
    margin-top: 60px;
    padding-top: 60px;
}
/*---------------------------------------------------------*/
/*--------------------------oplata.html-----------------------*/
.soder, .vnimanie{
    width: 1300px;
    border-style: solid;
    border-color: #FFAA00;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-bottom: 60px;
    margin-top: 60px;
    padding-top: 60px;
}

.qrimg{
    width: 350px;
    float: right;
    vertical-align: top;
    margin-bottom: 20px;
    margin-left: 40px;
    margin-right: 20px;
    margin-top: 20px;
}
      #zatemnenie {
        background: rgba(102, 102, 102, 0.5);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: none;
      }
      #okno {
        width: 1300px;
        height: 550px;
        text-align: center;
        padding: 15px;
        border-style: solid;
        border-color: #FFAA00;
        border-radius: 10px;
        color: #ffffff;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        background: #0F0F0F;
      }
      #zatemnenie:target {display: block;}
      .button_close {
    display: inline-block !important;
    text-decoration: none !important;
    background-color: #0d0c0c !important;
    color: #ffffff !important;
    border: 3px solid #ffaa00 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    padding: 5px 20px !important; 
    transition: all 0.2s ease !important;
    align: right;
    }
    .button_close:hover{
    text-decoration: none !important; 
    background-color: #6c7173 !important;
    color: #ffaa00 !important;
    border-color: #ffaa00 !important;
    }
      .close:hover {background: #e6e6ff;}

.instr{
    display: flex;
    justify-content: space-around;
}
.instr1 p{
    width: 200px;
}
.instr1 img{
    border-radius: 10px;
    width: 150px;
    border-style: solid;
    border-color: #FFAA00;
}
/*---------------------------------------------------------*/
/*--------------------------kont.html-----------------------*/
.kont, .map{
    font-size: 20px;
    width: 1300px;
    border-style: solid;
    border-color: #FFAA00;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-bottom: 60px;
    margin-top: 60px;
    padding-top: 60px;
}
.kotext{
    font-size: 22px;
    color: #ffffff;
}
