
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* End of Eric Meyer's CSS Reset */

html {
    height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}
body {
    font-family: "Arial Black, sans-serif";
    height: 100%;
}
.grecaptcha-badge {
  visibility: hidden;
}
.wrapper {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}
.ban_f{
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}
.ban_f img{
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

/* Header
-----------------------------------------------------------------------------*/
.header {

}
#ua{
    padding: 2px;
}
#ua a, #ua a:hover, #ua a:visited{
    font-size: 1em;
    color: #535353;
}
.heder_centr{
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    text-align: center;
    padding-bottom: 10px;
}
.logo{
    padding-left: 5px;
    display: inline-block;
}

.bascet{

    display: inline-block;
    height: 70px;
    border-radius: 5px;
    width: 60px;
    margin: 5px;
    vertical-align: bottom;
    padding: 5px;
    font-size: 14px;
}
.bascet a{
    width: 70px;
    height: 70px;
    position: relative;
}
.tov_baskc{
    position: absolute;
    border: 1px solid red;
    font-size: 16px;
    border-radius: 50px;
    color: white;
    width: 23px;
    height: 20px;
    background: rgba(75, 0, 130, 0.9);
    padding-top: 3px;
    margin: 40px 0 0 40px;
    font-weight:bold;
    z-index: 99;
}
.search{
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: 550px;
    height: 70px;
}
.search p{
    text-align: left;
    font-size: 14px;
    color: #b9b9b9;
    padding: 5px 5px 5px 15px;
}
.search_form{
    margin-top: 15px;
}
.search_form input{
    border: 1px solid silver;
    height: 30px;
    width: 430px;
    padding: 5px;
    margin-top: 3px;
    font-size: 1.2em;
}
.search_form button{
    margin: 5px;
    padding: 5px;
    cursor: pointer;
    background-color: #18ad38;
    color: white;
    border-radius: 1px;
    border: 1px solid green;
    font-size: 1.3em;
    height: 40px;

}
.autoriz{
    width: 200px;
    display: inline-block;
    text-align: center;
    color: #a7a3a3;
    font-size: 14px;
}
.aut_of a{
    color: #a7a3a3;
    font-size: 14px;
}
.aut_onl{
    color: #00a551;
    font-size: 14px;
}
.logo_cont{
    display: inline-block;
}
.logo_cont img{
    height: auto;
    width: 100%;
    aspect-ratio: attr(width) / attr(height);
}
.cat{
    display: inline-block;
    text-align: center;
}
.doch_cat{
    display: inline-block;
    width: 260px;
    height: auto;
    padding: 10px;
    margin: 10px;
    text-align: left;
    border: 1px solid silver;
    border-radius: 5px;
    vertical-align: top;
    font-family:'Times New Roman', serif;

}
.doch_cat_z a{
    font-size: 1.3em;
    padding: 2px 0 50px 0;
    text-decoration: none;
    color: red;
}
.doch_cat_z a:hover{
    text-decoration: underline;
}
.doch_cat_m a{
    font-size: 1em;
    padding: 2px 2px 2px 20px;
    color: #555555;
}
.doch_cat_m a:hover{
    text-decoration: underline;
}

/* Middle
-----------------------------------------------------------------------------*/
.content {
    margin: 0 auto;
    padding: 0 0 75px;
    max-width: 1400px;
}
.pages{
    margin: 0 auto;
    padding: 15px 5px 15px 5px;
    max-width: 1400px;
    position: relative;
    text-align: center;
}
.pages h3{
    font-size: 2.2em;
    padding: 15px;
}
.pages h4{
    font-size: 1.5em;
    padding: 15px;
    text-align: left;
}
.err_tov{
    text-align: left;
    font-size: 16px;
}
/* Можно стилизовать элементы по отдельности как нравится */
.signin{
    overflow: hidden;
    display: inline-block;
    width: 200px;
}
.signin input{
    background-color: #00a551;
    color: white;
    font-size: 25px;
    cursor: pointer;
    padding: 4px;
}
.tov_blok{
    max-width:300px;
    height: 450px;
    display: inline-block;
    border: 1px solid #18ad38;
    border-style: dotted;
    margin: 5px 10px 35px 10px;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}
.tov_blok:hover{
    border-style: dashed;
    -webkit-transition: all 0.9s ease;;
    -moz-transition: all 0.9s ease;;
    -o-transition: all 0.9s ease;;
    transition: all 0.9s ease;
}
.text_lil{
    vertical-align: top;
    display: inline-block;
    text-align: left;
    height: auto;
    width: 750px;
    padding: 10px;
}
.color_z{
    text-align: left;
    display: inline-block;
    width: 50px;
    min-height: auto;
    height: auto;
}
.color_z img{
    width: 12px;
    height: 12px;
    margin: 3px;
    border: 1px solid #18ad38;
    aspect-ratio: attr(width) / attr(height);
}
.color_z p{
    padding: 5px;
}
.foto_prev{
    vertical-align: top;
    display: inline-block;
    max-height: 300px;
    width: 200px;
    bottom: 0;
    padding: 10px;
}
.foto_prev img{
    height:auto;
    width: 200px;
    aspect-ratio: attr(width) / attr(height);
}
.tov_sidbar{
    border: 1px solid white;
    border-radius: 5px;
    height: 200px;
    float: right;
    width: 48px;
    position:relative;
    background: rgba(255,255,255, 0.7);
}
.videoobzor{
    height: 70px;
}
.videoobzor_hov{
    background:url(../img/videoobzor.png) no-repeat;
    display: block;
    height: 41px;
    width: 50px;
}


.otzuvu{
    height: 70px;
}
.otzuvu a, .otzuvu a:hover, .otzuvu a:visited{
    color: #544d54;
    text-decoration: none;
}
.otzuvu_hover{
    background:url(../img/mass_tov.png) no-repeat;
    display: block;
    height: 43px;
    width: 50px;
}

.otzuvu_hover sup{
    position: absolute;
    margin-top: 14px;
    margin-left: -16px;
    font-size: 11px;
}
.dostavla_kart{
    background:url(../img/dostavka_kart.png) no-repeat;
    display: block;
    height: 38px;
    width: 50px;
}
.tov_title{
    height:70px;
    padding-top: 5px;
}
.tov_blok h2, a{
    font-size: 1.1em;
    font-family: "Arial Black, sans-serif";
    color: black;
    text-decoration: none;
}
.tov_blok a:hover{
    text-decoration: underline;
}
.tov_prise{
    font-size: 14px;
    font-family: "Arial Black, sans-serif";
    color: #544d54;
    margin-top: 35px;
    font-weight:bold;
    text-align: left;
}

.tov_prise span{
    font-size: 12px;
    color: rgba(122,122,122, 0.5);
    text-decoration: line-through;
    padding-left: 10px;
}
.boot_tov{
    display: inline-block;
    margin-top: 5px;
    text-align: center;
    color: rgba(122,122,122, 0.8);
}
.boot_tov a{
    background-color: #610c14;
    color: white;
    padding: 10px 7px 10px 7px;
    font-size: 14px;
}
.boot_tov a:hover{
    background-color: #bb1726;
    color:white;
    text-decoration: none;
}
.boot_tov span{
    font-size: 20px;
    font-weight:bold;
    color: red;
}
.boot_tov sup{
    font-size: 12px;
    vertical-align: top;
    color: red;
}
.no_tov_cat{
    text-align: center;
    margin-top: 25px;
}
.no_tov_cat img{
    height: auto;
    width: 100px;
    aspect-ratio: attr(width) / attr(height);
}
.masseges_info{
    text-align: left;
    padding: 15px;
}
.masseges_info p{
    font-size: 12px;
    color: #544d54;
}
.masseges_info a{
    font-size: 12px;
    color: #544d54;
}
.nov_massege{
    text-align: left;
    padding: 15px;
}
.now_massege_p p{
    padding: 15px 0 15px 0;
    font-size: 18px;
}
.inp_1{
    width: 600px;
    height: 40px;
    font-size: 1.5em;
    padding: 5px;
}
.inp_2{
    width: 600px;
    height: 100px;
    font-size: 1.5em;
    padding: 5px;
}
.now_massege_button input{
    padding: 15px;
    margin: 15px;
    font-size: 18px;
    cursor: pointer;
    color: white;
    background-color: red;
}
.roditel_mass{
    height: auto;
    display: block;
    border: 1px solid #BCBCBC;
    border-radius: 20px;
    padding: 25px 10px 25px 10px;
    margin: 10px;
}
.roditel_mass h5{
    font-size: 14px;
}
.roditel_mass span{
    font-size: 1.6em;
    padding-left: 15px;
}
.roditel_mass p{
    padding: 5px 0 0 20px;
    font-size: 18px;
}
.docher_mass{
    height: auto;
    display: block;
    border: 1px solid #BCBCBC;
    border-radius: 20px;
    padding: 25px 10px 25px 10px;
    margin: 10px 10px 10px 30px;
    background-color: #f8f8f8;
}
.docher_mass span{
    font-size: 1.6em;
    padding-left: 15px;
}
.docher_mass h5{
    font-size: 14px;
}
.docher_mass p{
    padding: 5px 0 0 20px;
    font-size: 18px;
}
.no_mass{
    font-size: 1.5em;
    padding-top: 15px;
}
/* basket */
.basket_blok{
    border-top: 1px solid #dbdbdb;
    border-left: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
    max-width: 810px;
    margin: 0 auto;
    text-align: center;
    padding: 1px;
}
.basket_blok_title{
    position: relative;
    top: 0;
    display: inline-block;
    font-size: 1.1em;
    height: 50px;
    margin: 3px;
    width: 60%;
    text-align: left;
}
.basket_blok_title span{
    position: relative;
}
.basket_blok_qty{
    position: relative;
    top: 25px;
    overflow: hidden;
    display: inline-block;
    max-width: 100px;
    min-height: 50px;
    text-align: center;
    padding: 0 3px 0 3px;
}
.up_qty{
    width: 35px;
    padding: 3px;
}
.updete{
    cursor: pointer;
    padding: 5px 3px 5px 3px;
    background-color: green;
    color: white;
}
.basket_blok_prise{
    position: relative;
    top: -2px;
    display: inline-block;
    width: 140px;
    height: 50px;
    text-align: center;
}
.basket_blok_delete{
    display: inline-block;
    width: 70px;
    height: 50px;
    text-align: center;
}
.basket_blok_delete span{
    position: relative;
    top: 0;
}
.basket_blok_itogo{
    border: 1px solid #dbdbdb;
    max-width: 810px;
    height: 40px;
    margin: 0 auto;
    text-align: right;
    padding: 1px;
}
.basket_blok_itogo span{
    position: relative;
    top: 15px;
    right: 10px;
}
.basket_blok_beak{
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.beak{
    border: 1px solid green;
    width: 200px;
    height: 30px;
    text-align: center;
    padding-top: 10px;
    background-color: #289527;
}
.beak a{
    color: white;
    font-size: 1.2em;
}

.beak a:hover{
    text-decoration: underline;
    color: white;
}

.now{
    margin: 0 auto;
    padding: 10px;
    max-width: 700px;
}
.now p{
    margin-bottom:15px;
}
.now p:first-child{
    margin: 0;
}
.now label{
    color: black;
    position: relative;
    float: left;
    font-size: 18px;
    padding-left: 2px;
    padding-top: 3px;
}
.now input:not([type="checkbox"]){
    width: 95%;
    margin-top: 4px;
    padding: 20px 5px 20px 10px;
    border: 1px solid #555555;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    -moz-box-sizing : content-box;
    box-sizing : content-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
    -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
    box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.now input:not([type="checkbox"]):active,
.now input:not([type="checkbox"]):focus{
    border: 1px solid rgba(91, 90, 90, 0.7);
    background: rgba(238, 236, 240, 0.2);
    -webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
    -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
    box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
}

.now p.button input{
    width: 170px;
    height: 50px;
    cursor: pointer;
    background: rgba(255 0 0, 0.99);
    padding: 5px 3px;
    color: #fff;
    font-size: 25px;
    border: 1px solid rgb(28, 108, 122);
    margin-bottom: 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.now p.button input:hover{
    background: rgba(255 0 0, 0.9);
}
.now p.button input:hover{
    background: rgba(255 0 0, 0.9);
}
.now p.button input:active,
.now p.button input:focus{
    background: rgba(255 0 0, 0.9);
    position: relative;
    top: 1px;
    border: 1px solid rgb(255 0 0);
    -webkit-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
}
.error{
    max-width: 600px;
    font-size: 1,7em;
    margin: 0 auto;
    padding: 10px;
    font-size: 14px;
    border: 1px solid red;
    background-color: #FFE8E8;
}
/* basket */
.new_t{
    position: absolute;
    margin-top: -5px;
    margin-left: -130px;
}
.hit_t{
    position: absolute;
    margin-top: -5px;
    margin-left: -130px;
}
.bred{
    padding: 10px 0 5px 20px;
    color: #bbbfbb;
}
.bred h2{
    display: inline-block;
    font-size: 0.9em;
}
.bred a{
    text-decoration: none;
    color: #989c98;
    font-size: 0.9em;
}
.bred a:hover{
    text-decoration: underline;
    color: #989c98;
}
.bred a:visited{
    color: #989c98;
}

.mptovar{
    text-align: center;
    padding: 0 10px 10px 10px;
}
.mptovar_blo{
    padding-top: 5px;
}
.mptovar img{
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}
a.demo { float:left; }
a img { border:none; aspect-ratio: attr(width) / attr(height);}
img.demo { float:right; aspect-ratio: attr(width) / attr(height);}
.demo { position:relative; top:0px;}




.mptovar_prise{

    padding: 15px;
}
.old_cena{
    text-align: left;
    font-size: 1em;
    text-decoration:line-through;
    color: darkgray;
}
.now_cena{
    display: inline-block;
    font-size: 1.2em;
}
#zvonok{
    text-align: left;
    padding: 10px;
    font-size: 1em;
}
#zvonok a{
    color: black;
    font-size: 1.2em;
}

.mptovar_artikul{
    width: 100%;
    text-align: left;
    padding:2px;
    color: #555555;
    margin: 2px;
    display: inline-block;
    font-size: 0.8em;
}
.mptovar_nalichie{
    width: 40%;
    text-align: right;
    padding:2px;
    color: #555555;
    margin: 2px;
    display: inline-block;
    font-size: 0.8em;
}
.foto_tovar{
    display: inline-block;
    max-width: 500px;
}
.foto_tovar img{
    height: auto;
    max-width: 500px;
    border: 1px solid #d0ffb5;
    aspect-ratio: attr(width) / attr(height);
}
.block_tovar_1{
    display: inline-block;
    max-width: 800px;
    vertical-align: top;
    padding: 0 5px 0 5px;
    z-index: 1;
    position: relative;
    background-color: white;
}
.dostavka_kart{
    padding: 10px;
}
.dostavka_kart ul li{
    padding: 10px;
    font-size: 1.2em;
    text-align: left;
}
.dostavka_kart h2{
    padding: 10px;
    font-size: 1.4em;
    text-align: right;
}
.dostavka_kart p{
    padding: 10px;
    text-align: left;
    font-size: 1em;
}
.dostavka_kart a, .dostavka_kart a:hover, .dostavka_kart a:visited{
    color: #289527;
}
.fop{
    color: silver;
    padding-top: 20px;
}
.prise_tov{
    display: inline-block;
    width:90%;
    padding: 20px;
    text-align: center;
    font-size: 1.4em;
}
.mptovar_by{
    display: inline-block;
    margin: 15px;
}
.mptovar_by a{
    color: white;
    padding: 10px 60px 10px 60px;
    background-color: green;
    font-size: 1.5em;
    text-decoration: none;
}
.mptovar_by a:hover{
    background-color: #185719;
}
.mptovar_by a:visited{
    color: white;
}
.mptovar p{
    font-size: 1.4em;
    padding-top: 5px;
    padding-bottom: 5px;
}
.info_p{
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Arial Black, sans-serif";
    padding-bottom: 20px;
}
.info_p h2{
    font-size: 2.5em;
    padding: 15px 0 15px 0;
    text-align: left;
}
.info_p p{
    font-size: 1.3em;
    text-align: left;
    padding: 10px 0 15px 0;
    color: #544d54;
}
.info_p img{
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}
.info_p span{
    position: absolute;
    padding: -10px 0 0 0;
    margin-left: 10px;
}
.error_search{
    font-size: 1.3em;
    border: 1px solid red;
    background-color: #ffe5ec;
    margin: 25px;
    padding: 25px;
    max-width: 900px;
    display: inline-block;
}
.search_h2{
    text-align: left;
    font-size: 1.2em;
    padding: 15px;
}
.kon_info{
    display: inline-block;
    width: 250px;
    font-size: 1.3em;
    text-align: left;
    border: 1px solid red;
    border-radius: 5px;
    margin: 5px 10px 5px 10px;
    padding: 10px 20px 10px 10px;
    height: 130px;
}
.kon_info p{
    padding-top: 5px;
    position: relative;
}
.kon_info span{
    float: right;
}
.kon_info a{
    color: #0062C4;
}
.kon_graf{
    display: inline-block;
    width: 250px;
    font-size: 1.3em;
    text-align: left;
    border: 1px solid red;
    border-radius: 5px;
    margin: 5px 10px 5px 10px;
    padding: 10px 20px 10px 10px;
    height: 130px;
}
.kon_graf p{
    padding-top: 6px;
    position: relative;
}
.kon_graf span{
    float: inherit;
}
.kon_sot{
    display: inline-block;
    width: 250px;
    font-size: 1.3em;
    text-align: left;
    border: 1px solid red;
    border-radius: 5px;
    margin: 5px 10px 5px 10px;
    padding: 10px 20px 10px 10px;
    height: 130px;
}
.kon_sot p{
    padding-top: 8px;
}
.kon_sot a{
    text-align: center;
    width: 250px;
    color: #0062C4;
}
.forma_sv{
    display: inline-block;
    max-width: 900px;
}
.forma_sv h4{
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
}
.blok_zver{
    display: inline-block;
    width: 880px;
    border-radius: 5px;
    padding: 10px 0 10px 0;
    margin: 10px;
}
.blok_zver input{
    max-width: 600px;
    width: 100%;
    height: 40px;
    margin: 10px;
    padding: 10px;
    font-size: 1.3em;
}
.blok_zver textarea{
    max-width: 600px;
    width: 100%;
    height: 120px;
    margin: 10px;
    padding: 10px;
    font-size: 1.4em;
}
.zv_button input{
    background-color: #185719;
    color: white;
    width: 200px;
    height: auto;
    padding: 20px;
    cursor: pointer;
}
#hum1, #hum2 {

}
#hum2 {
    display: none;

}
.hum{
    color: #555555;
    font-size: 1.3em;
    height: 50px;
    margin-top: 20px;
}
.hum input{
    height: 20px;
    width: 20px;
    margin-top: 1px;
    position: absolute;
}

.generic-radio-box input[type="radio"] {
    display: none;
}

.generic-radio-box input[type="radio"] + label {
    display: inline-block;
    line-height: 24px;
    font-size: 20px;
    font-family: 'Oranienbaum', serif;
    border: 1px solid #BCBCBC;
    cursor: pointer;
    padding: 15px 10px 15px 10px;
    margin: 0 5px 30px 10px;
    width: 110px;
    color: red;
    text-align: center;

}
.generic-radio-box input[type="radio"] + label:nth-of-type(1){
    border-left: 1px solid #BCBCBC;
    border-radius: 4px;
}
.generic-radio-box label{
    border-right: 1px solid red;
    border-radius: 4px;
    display: block;
}

.generic-radio-box input[type="radio"]:checked + label {
    background-color: red;
    color: white;
    box-shadow: inset 1px 1px 1px 1px rgba(255 0 0, 0.99);
}
.dostavka{
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    display: inline-block;
}
.oplata{
    padding: 15px;
    font-size: 17px;
    text-align: left;
}
.oplata input{
    width: 18px;
    height: 18px;
    padding-top: 5px;
}
.oplata label{
    position: absolute;
    padding-top: 4px;
}

.dosthide div{
    display: none;
}
.dosthide input:first-of-type:checked ~ div:first-of-type  {
    display: block;
    transition: 2s;
}
.dosthide input:last-of-type:checked ~ div:last-of-type  {
    display: block;
    transition: 2s;
}
.info_samov{
    clear: both;
    border: 1px solid #555555;
    padding: 20px 0 20px 0;
    margin: 0 10px 0 10px;
    border-radius: 5px;
}
.men{
    display: inline-block;
    width: 100%;
    max-width: 1300px;
}
.kotakt{
    overflow: hidden;
    display: inline-block;
    max-width: 250px;
    text-align:center;
    height: 70px;
}
.telefon{
    display: inline-block;
    margin: 5px 15px 5px 15px;
    text-align: right;
    color: gray;
    font-size: 1.3em;
}
.telefon a, .telefon a:visited{
    font-size: 1.1em;
    color: gray;
}
.rubr_blok{
    display: inline-block;
    height: 150px;
    width: 220px;
    border: 1px solid red;
    padding: 5px;
    margin: 5px 10px 10px 0;
    border-radius: 5px;
}
.rubr_blok img{
    padding-bottom: 5px;
    aspect-ratio: attr(width) / attr(height);
}
.rubr_blok a {
    font-size: 15px;
}
.oliv{
    display: inline-block;
    width: 100%;
    height: 5px;
    background: radial-gradient(at bottom, #FEFFFF, #18ad38);
}
/* Footer
-----------------------------------------------------------------------------*/
.footer {
    margin: -70px auto 0;
    min-width: 320px;
    height: 70px;
    position: relative;
    color:gray;
    border-top: 1px solid gray;
}
.podval{
    margin: 0 auto;
    text-align: center;
    vertical-align: bottom;
}
.copy{
    width: 250px;
    display: inline-block;
    top: 5px;
    position: relative;
    text-align: center;
}
.copy a, .copy a:hover, .copy a:visited{
    color: black;
    text-decoration: none;
}
.socs{
    top: 10px;
    position: relative;
    display: inline-block;
    width: 80%;
    text-align: right;
}


/* Кнопка обратного звонка*/
.call_me{
    position: relative;
    width: 100%;
    height: auto;
}

.call_me input{
    font-size: 18px;
    padding: 10px;
    margin:0 0 20px 0;
}
.call_sub{
    border: 1px solid silver;
    background-color: red;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 250px;
}
.page_navi{
    text-align: center;
    padding: 0 0 20px 0;
}
a.activ_page{
    border: 1px solid silver;
    background-color: red;
    color: #FFF;
    padding: 5px 7px 5px 8px;
    font-size: 15px;
}
a.link_page{
    border: 1px solid silver;
    text-decoration: none;
    padding: 5px 7px 5px 8px;
    margin: 0 2px;
    font-size: 15px;
    color: black;
}
.sortirovka{
    width: auto;
    text-align: right;
    padding: 0 10px 15px 0;
}
.sortirovka a{
    border: 1px solid #BCBCBC;
    padding: 5px 10px 5px 10px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: red;
    color: white;
}
.sortirovka a:visited{
    background-color: red;
    color: white;
}

.info_option{
    overflow: hidden;
    display: inline-block;
    width: auto;
    text-align: center;
    vertical-align: top;
}
.info_option_blok_1{
    float: left;
    width: 97%;
    padding: 5px;
    margin: 5px;
    text-align: center;
}
.info_option_blok_2{
    float: left;
    width: 45%;
    padding: 5px;
    margin: 5px;
    height: auto;
}
.info_option_blok_2 img{
    width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}
.info_option_blok_1_1{
    text-align: left;
    display: inline-block;
    width: 98%;
    border: 1px solid #BCBCBC;
    margin: 0;
    padding: 5px;
}
.info_option_blok_1_1 span{
    font-weight: bold;
    padding-right: 5px;
}

.dost_b1, .dost_b2, .dost_b3{
    width: 95%;
    display: inline-block;
    overflow: hidden;
    text-align: left;
}
.dost_b1 h2, .dost_b2 h2, .dost_b3 h2{
    padding: 20px 10px 10px 10px;
    font-size: 2em;
    font-weight: bold;
}
.dost_b1 p, .dost_b2 p{
    padding-top: 30px;
    font-size: 1.3em;
}
.dost_b1 img, .dost_b3 img{
    float: right;
    margin: 10px;
    aspect-ratio: attr(width) / attr(height);
}
.dost_b2 img{
    float: left;
    margin: 10px;
    aspect-ratio: attr(width) / attr(height);
}
.dost_b3 p{
    font-size: 1.3em;
    padding-top: 15px;
}
.dost_b3 p img{
    height: auto;
    width: auto;
    float:none;
    margin: 10px;
    position: relative;
    top: 15px;
    aspect-ratio: attr(width) / attr(height);
}
.cont_fath{
    display: inline-block;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
.cont_fath h2{
    font-weight: bold;
    font-size: 2em;
    padding: 10px;
}
.cont_left{
    display: inline-block;
    max-width: 350px;
    height: auto;
    width: 30%;
}

.cont_right{
    display: inline-block;
    max-width: 900px;
    height: auto;
    width: 70%;
}
.cont_tab{
    width: 100%;
    height: 160px;
    text-align: left;
    display: inline-block;
    vertical-align: bottom;
}
.cont_tab h3{
    font-weight: bold;
    font-size: 1.2em;
    padding: 20px;
}
.cont_tab p{
    font-size: 1.5em;
    padding: 0 10px 0 10px;
}

.result_order{
    padding: 10px;
}
.result_order img{
    height: auto;
    max-width: 300px;
    aspect-ratio: attr(width) / attr(height);
}
.result_order h2{
    font-size: 1.7em;
}
.result_order p{
    padding: 10px;
    font-size: 1.3em;
}
.result_order span{
    font-size: 1.5em;
    font-weight: bold;
}

#oplata{
    padding: 15px;
    font-size: 17px;
    text-align: left;
}
#oplata input{
    width: 18px;
    height: 18px;
    padding-top: 5px;
    cursor: pointer;
}
#oplata label{
    position: absolute;
    padding-top: 4px;
}
#signin{
    overflow: hidden;
    display: inline-block;
    padding: 5px;
    text-align: center;
}
#signin input{
    position: relative;
    background-color: #185719;
    color: white;
    font-size: 1.4em;
    cursor: pointer;
    width: 200px;
    padding: 10px 10px 10px 10px;
}
.p_d_c{
    padding: 20px;
    text-align: left;
}
.p_d_c a{
    color: #0000FF;
    font-size: 1em;
}
.primen{
}
.primen h1{
    font-size: 1.5em;
    padding: 10px;
}
.primen_blok{
    margin: 10px;
    display: inline-block;
    overflow: hidden;
    max-width: 300px;
    max-height: 245px;
    border: 1px solid #00a551;
    background: #00a551;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.primen_blok img{
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    aspect-ratio: attr(width) / attr(height);
}
.primen_blok img:hover{
    -webkit-filter: hue-rotate(65deg);
    aspect-ratio: attr(width) / attr(height);
}
.primen_blok_prev{
    background: #00a551;
    padding: 11px;
}
.primen_blok_prev a, .primen_blok_prev a:visited{
    color: white;
}
.primen_blok_prev a:hover{
    color: #d5f9d5;
}
.color_f{
    border: 1px solid #00a551;
    padding: 10px;
    margin: 10px;
    height: 100px;
    background:url("../img/color_f.jpg");
    cursor: pointer;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.color_f:hover{
    -webkit-filter: contrast(185%);
}
.color_f_a{
    margin-top: 25px;
    background-color: rgba(0, 165, 81, 0.5);
    padding: 15px;
    cursor: pointer;
}
.color_f_a a{
    color: white;
    font-size: 1.4em;
}
.comp_index{
    padding: 10px;
    color: #b5b5b5;
}
.comp_index p{
    padding: 15px 5px 15px 5px;
    text-align: left;
}
.filter_blok_desc{
    border: 1px solid #00a551;
    display: inline-block;
    width: 300px;
    min-height: 965px;
    float: left;
    margin: 2px 5px 0 20px;
    border-radius: 5px;
}
.filter_blok_desc h2{
    border: 1px solid #00a551;
    background: #00a551;
    font-size: 1.4em;
    color: white;
    padding: 10px;
}
.fil_a{
    width: 260px;
    text-align: left;
    margin: 20px;
}
.filter_blok_desc ol li{
    list-style-image: url("../img/cat/li_1.png");
    padding-top: 15px;
    list-style-position: inside;
}
.filter_blok_desc ol li:hover{
    list-style-image: url("../img/cat/li_2.png");
}
.filter_blok_desc ol li.act{
    list-style-image: url("../img/cat/li_3.png");
    padding-top: 15px;
    list-style-position: inside;
}
.filter_blok_desc a{
    font-size: 1.2em;
}
.filter_a{
    display: none;
    border: 1px solid green;
    padding: 10px;
    margin: 10px;
    background: #00a551;
}
.filter_a a{
    font-size: 1.3em;
    color: white;
    cursor: pointer;
}

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    .blok_zver{
        width: 100%;
    }
    .foto_tovar img{
        max-width: 250px;
        aspect-ratio: attr(width) / attr(height);
    }
    .filter_a{
        display: block;
    }
    .filter_blok_desc{
        float: none;
    }
    .mob{
        display: none;
    }
    .cont_fath h2{
        font-size: 1.5em;
    }
    .cont_left{
        width: 90%;
    }
    .cont_right{
        width: 90%;
    }
    .cont_tab{
        height: auto;
        font-size: 1.2em;
    }
    .cont_tab p{
        font-size: 1em;
    }
    .info_option_blok_1{
        width: 98%;
        margin: 0;
    }
    .info_option_blok_2{
        width: 98%;
        margin: 0;
    }
    #popup__toggle{
        display: none;
    }
    .kotakt{
        display: inline-block;
        width: 90%;
        max-width: 90%;
        padding: 0;
        margin: 0;
        height: auto;
    }
    .search p{
        display: none;
    }
    .autoriz{
        display: none;
    }
    .telefon{
        text-align: center;
        display: inline-block;
        width: 49%;
        height: auto;
        padding: 15px 0 0 0 ;
        margin: 0;
        font-size: 1em;
    }
    #ua{
        display: inline-block;
    }
    .telefon a{

    }

    .generic-radio-box input[type="radio"] + label {
        font-size: 16px;
        width: 100px;
    }
    .hum{
        padding-bottom: 20px;
        display: block;
    }
    .hum input{
        position: relative;
    }
    .blok_zver input{
        width: 230px;
        height: 20px;
        margin: 4px;
        padding: 4px;
        font-size: 1em;
    }
    .blok_zver textarea{
        width: 230px;
        height: 60px;
        margin: 4px;
        padding: 4px;
        font-size: 1em;
    }
    .zv_button input{
        width: 150px;
        height: auto;
        padding: 20px;
        cursor: pointer;
    }
    .blok_zver{
        display: inline-block;
        max-width: 880px;
        border-radius: 5px;
        padding: 20px 0 20px 0;
        margin: 5px;
        width:260px;
    }

    .navi{
        margin: 0 0 0 0;
        display: inline;
    }
    .bascet{
        margin:0 auto;
        margin-top: 2px;
        height: auto;
        width: auto;
    }
    .bascet img{
        width: 25px;
        height: auto;
        aspect-ratio: attr(width) / attr(height);
    }
    .basket_blok_title{
        min-height: 50px;
        width: 90%;
        top:15px;
    }
    .block_tovar{
        height: auto;
        min-height: auto;
        width: 95%;
        margin: 0;
        padding: 0;
    }
    .tov_blok{
        width: 90%;

    }
    .inp_1{
        width: 280px;
        height: 20px;
        font-size: 1.1em;
        padding: 5px;
    }
    .inp_2{
        width: 280px;
        height: 50px;
        font-size: 1.1em;
        padding: 5px;
    }
    .doch_cat{
        min-width: 200px;
        max-width: 230px;
    }
    .search{
        display: inline-block;
        vertical-align: top;
        text-align: center;
        width:auto;
        height: auto;
        clear: both;
    }
    .search_form input{
        height: 15px;
        width: 70%;
        padding: 5px;
        margin-top: 3px;
        font-size: 1em;
    }
    .search_form button{
        margin: 5px;
        padding: 0 3px 0 3px;
        font-size: 1em;
        height: 30px;
    }
    .men_ico{
        display: none;
    }
    .call_me{
        position:relative;
        top:-20px;
    }
    .dost_b1 p, .dost_b2 p, .dost_b3 p{
        padding-top: 15px;
        text-align: left;
    }
    .dost_b1 img, .dost_b2 img, .dost_b3 img{
        float: none;
        width: 300px;
        height: auto;
        aspect-ratio: attr(width) / attr(height);
    }
    .dost_b1, .dost_b2, .dost_b3{
        text-align: center;
    }
    .text_lil{
        width: auto;
    }
    .block_tovar_1{
        width: 95%;
    }
    .mptovar_artikul{
        width: auto;
    }
    .mptovar_nalichie{
        width: 30%;
    }
    .socs{
        top: 10px;
        position: relative;
        display: inline-block;
        width: 100%;
        text-align:center;
    }
}

.art_cat{
    font-size: 12px;
    font-style: italic;
    text-align: left;
    padding-top: 10px;
    padding-left: 5px;
    color: #555555;
}



.start_cat {
    display: inline-block;
    overflow: hidden;
    text-align: center;
    max-width: 1000px;
}
.start_cat h1{
    font-size: 2.1em;
    padding:0 0 15px 0;
}
.start_cat h2{
    font-size: 1.7em;
    padding:15px 0 15px 0;
}
.start_cat p{
    padding: 10px 5px 10px 5px;
    font-size: 1.2em;
    text-align: left;
}

.agrem h2{
    font-size: 2em;
    padding: 10px;
}
.agrem p{
    font-size: 1.2em;
    padding: 10px;
    text-align: left;
}

/*Блок товар комменты*/

.parent_tab_com{
    text-align: center;
    width: 96%;
}
.tabs{
    width: 750px;
    overflow: hidden;
    display: inline-block;
    text-align: left;
}
.tabs__caption{
    cursor: pointer;
}
ul.tabs__caption {
    margin: 15px 5px 15px 5px;
    padding: 10px 5px 10px 0;
    border-bottom: 2px solid #dee5ed;
}
ul.tabs__caption li {
    display: inline;
    margin-right: 5px;
    padding:5px 15px 10px 5px;
    font-size: 1.3em;
    min-width: 50px;
    color: #272729;
}
ul.tabs__caption li.active {
    border-bottom: 2px solid #232f3e;
    font-weight: bold;
    color: #232f3e;
    min-width: 50px;
}
.tabs__content {
    display: none;
}
.tabs__content.active {
    display: block;
}
.comment_box{
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    width: 500px;
    padding: 10px 0 0 0;
    margin: 5px;
}
.comment_box h5{
    text-align: left;
    font-size: 1.2em;
    padding-top: 10px;
    padding-left: 5px;
}
.auth{
    width: 90%;
    margin: 5px;
    padding: 5px;
}
.text_auth{
    width: 90%;
    margin: 5px;
    padding: 5px;
    min-height: 100px;
}
.sub_auth{
    padding: 5px;
    margin: 5px;
    border: 1px solid silver;
    font-size: 1em;
    height: 50px;
    width: 160px;
    color: white;
    background-color: green;
    cursor: pointer;
}
.messres{
    border: 1px solid #65f580;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.8em;
    display: none;
    color: gray;
    margin: 10px;
}
.mas_inf{
    padding: 5px;
    font-size: 0.8em;
    color: gray;
}
.roditel_mass{
    text-align: left;
    padding: 20px 10px 20px 10px;
    border-bottom: 1px solid #e2e4f5;
}
.roditel_mass h6{
    font-weight: bold;
}
.roditel_mass span{
    position: relative;
    float: right;
    font-size: 0.7em;
}
.roditel_mass p{
    font-size: 0.9em;
    padding-top: 15px;
    padding-left: 5px;
}

.docher_mass{
    text-align: left;
    padding: 20px 10px 20px 40px;
    border-bottom: 1px solid #dce1f5;
}
.docher_mass h6{
    font-weight: bold;
}
.docher_mass span{
    position: relative;
    float: right;
    font-size: 0.7em;
}
.docher_mass p{
    font-size: 0.9em;
    padding-top: 15px;
    padding-left: 5px;
}
.info_tov_p p{
    font-size: 1.3em;
    padding: 5px 7px 5px 7px;
    text-align: left;
}

@media all and (max-width: 1024px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    .tabs{
        width: 100%;
    }
    .comment_box{
        width: 100%;
    }
    .start_cat {
        top: -15px;
    }
    .logo{
        display: block;
        width: 90%;
        text-align: left;
    }
    .logo img{
        width: 60px;
        height: auto;
        aspect-ratio: attr(width) / attr(height);
    }
    .autoriz{
        width:40%;
    }
}
.cen_k{
    display: inline-block;
    width: auto;
    height: 30px;
    color: #6a6e6a;
}
.down_o {
    width: 100%;
    padding: 10px 5px 10px 5px;
}
.down_o a{
    color: white;
    background-color: #18ad38;
    padding: 10px 60px 10px 60px;
}
.tov_search{
    width: 95%;
    margin: 20px 10px 30px 10px;
    text-align:left;
}
.serch_foto{
    display: inline-block;
}
.serch_block{
    vertical-align: top;
    display: inline-block;
}
.serch_foto img{
    padding: 5px;
    max-width: 150px;
    height: auto;
}
.link_search{
    padding: 3px;
}
.link_search a, .link_search a:hover, .link_search a:visited{
    color: #989c98;
    font-size: 0.9em;
}
.title_search{
    padding: 5px;
}
.title_search a, .title_search a:hover, .title_search a:visited{
    color: #18ad38;
    font-size: 1.2em;
}
.nal_search{
    width: 250px;
    padding: 3px;
    display: inline-block;
    text-align: center;
    color: #6a6e6a;
}
.b_n_search{
    width: 90px;
    text-align: left;
    display: inline-block;
}
.price_search{
    width: 130px;
    text-align:left;
    display: inline-block;
}
.prev_text_search{
    max-width: 900px;
    padding: 3px;
    color: #989c98;
}
.st_ind{
    width: auto;
    padding: 5px;
    display: inline-block;
    text-align: center;
}
.st_ind img{
    width: 80px;
    height: auto;
    padding: 10px;
    aspect-ratio: attr(width) / attr(height);
}
.var_ser{
    display: inline-block;
    width: 98%;
    vertical-align: top;
    position: relative;
    top: 0;
}
.var_ser h2{
    padding: 10px;
    text-align: left;
    font-size: 1.3em;
}
.ser_color_blo{
    vertical-align: top;
    display: inline-block;
    width: 175px;
    height:auto;
    padding-bottom: 5px;
}
.ser_color{
    border: 1px solid silver;
    height: 100px;
    width: 175px;
    font-size: 1em;
}
.ser_color img{
    height: 100px;
    width: 175px;
    aspect-ratio: attr(width) / attr(height);
}

.ser_title a{
    font-size: 1em;
}


.ser_el_f{
    border-radius: 5px;
    display: inline-block;
    border: 1px solid silver;
    position: relative;
    height: 35px;
    width: 75px;
    padding: 5px;
    margin: 5px;
    background-color: white;
}
.ser_el_f a{
    font-size: 1.2em;
    text-decoration: none;
    color: black;
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}
.ser_el_f span{
    position: relative;
    top: 8px;
}
.ser_el_f_activ{
    border-radius: 5px;
    display: inline-block;
    border: 1px solid green;
    position: relative;
    height: 35px;
    width: 75px;
    padding: 5px;
    margin: 5px;
    background-color: white;
    font-size: 1.2em;
}
.ser_el_f_activ span{
    position: relative;
    top: 8px;
}


.block-prof-1{
    overflow: hidden;
    display: inline-block;
    width: 48%;
    height: 500px;
    vertical-align: center;
}
.block-prof-2{
    overflow: hidden;
    display: inline-block;
    width: 48%;
    height: 500px;
    border-left: 1px solid silver;
}
.block-prof-1 h2, .block-prof-2 h2{
    font-size: 1.5em;
    padding: 10px;
}
.auto-1 input{
    padding: 5px;
    margin: 5px;
    width: 230px;
}
.auto-2{
    max-width: 450px;
    margin: 0 auto;
}
.auto-2 p{
    padding: 5px 10px 5px 10px;
    color: #969696;
    width: 80%;
    text-align: left;
    font-size: 1em;
}
.auto-2 input{
    padding: 5px 10px 5px 10px;
    margin: 5px 10px 5px 10px;
    width: 80%;
    text-align: left;
    font-size: 1.1em;
}
.keeplogin{
    padding: 10px;
    color: #3a3a3a;
}
.keeplogin a{
    font-size: 16px;
    color: #6a6e6a;
}
.auto-ok input{
    background-color: #00a551;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 20px 4px 20px;
    margin: 10px;
}
.logout h2{
    font-size: 1.3em;
}
.logout a, .logout a:hover, .logout a:visited{
    font-size: 1.1em;
    color: red;
}
.aut_info{
    width: auto;
    border: 1px solid #ececec;
    padding: 5px;
    margin: 5px;
    display: block;
}
.aut_info p{
    padding: 5px;
    font-size: 1.4em;
    text-align: left;
}
.aut_zak{
    width: auto;
    border: 1px solid gray;
    padding: 5px;
    margin: 5px;
}
.aut_zak p{
    text-align: left;
    padding: 5px;
    font-size: 1.2em;
}
@media screen and (max-width: 1100px){
    .block-prof-1{
        width: 90%;
        height: auto;
    }
    .block-prof-2{
        padding-top: 20px;
        width: 90%;
        height: auto;
        border: none;
    }
}

.tab_ef{
    display: inline-block;
    overflow: hidden;
    text-align: center;
    max-width:  800px;
    min-width: 300px;
}
.tab_ef h2{
    font-size: 1.4em;
    padding: 15px;
}
.tab {
    position: relative;
    display: flex;
    min-height: 35px;
    height: auto;
}

.tab__item > span {
    border-bottom: 1px solid #ccc;
    padding: 0.5em 1em;
    cursor: pointer;
    background:white;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
    display: block;
    font-size: 1.3em;
}

.tab__item:not(:nth-last-child(1)) > span {
    border-right: none;
}

.tab__content {
    visibility: hidden;
    transition: .55s opacity, .55s visibility;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    padding-top: 50px;
}

.tab__content > * {
    position: relative;
}

.tab__item.active .tab__content {
    display: block;
}

.tab__item > span.active {
    background: white;
    border-left: 1px solid #00a551;
    border-right: 1px solid #00a551;
    border-top: 1px solid #00a551;
    border-bottom: 1px solid white;
    z-index: 3;
}

.tab__item > span.active ~ .tab__content{
    z-index: 1;
    opacity: 1;
    visibility: visible;
    width: 100%;
}

@media(max-width: 1023px) {
    .tov_search{
        text-align: center;
    }
    .tab_ef{
        width: auto;
        padding: 5px;
    }
    .tab {
        display: block;
    }

    .tab__item {
        min-height: 35px;
        margin-bottom: 0;
    }

    .tab__item > span {
        width: 100%;
        display: block;
        position: static;
        transition: ease all .25s
    }
    .tab__item span {
        border: 1px solid #ccc;
        border-left: 1px solid white;
        border-right: 1px solid white;
        border-top: 1px solid #ccc;
    }
    .tab__item span.active {
        width: auto;
        border-left: 1px solid white;
        border-right: 1px solid white;
        border-top: 1px solid #00a551;
    }

    .tab__content {
        padding-top: 0;
        position: static;
        opacity: 0;
        overflow: hidden;
        display: none;
        border-bottom: 1px solid #00a551;
    }
}
.pages_colorfilter{
    text-align: center;
    padding: 5px;
}
.pages_colorfilter h2{
    color: black;
    padding: 20px;
    font-size: 2em;
    text-align: left;
}
.obraz_blok{
    vertical-align: top;
    display: inline-block;
    overflow: hidden;
    width: 240px;
    height: 100px;
    padding: 5px 0 5px 0;
    margin: 3px;
    border: 2px solid #00a551;

}
.osm img{
    height: auto;
    max-width: 90%;
    padding: 5px;
    margin: 5px;
    aspect-ratio: attr(width) / attr(height);
}

@keyframes slidy {
    0% { left: 0%; }
    20% { left: 0%; }
    25% { left: -100%; }
    45% { left: -100%; }
    50% { left: -200%; }
    70% { left: -200%; }
    75% { left: -300%; }
    95% { left: -300%; }
    100% { left: -400%; }
}
div.captioned-gallery {
    width: 100%; overflow: hidden;
}
figure.slider {
    position: relative; width: 500%; max-height: 420px;
    font-size: 0; animation: 30s slidy infinite;
}
figure.slider figure {
    width: 20%; height: auto;
    display: inline-block;  position: inherit;
}
figure.slider img {
    width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}

/* свойства модального окна по умолчанию */
.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}
/* при отображении модального окно */
.modal:target {
    opacity: 1; /* делаем окно видимым */
    pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 1300px;
        margin: 30px auto; /* для отображения модального окна по центру */
    }
}
/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}
@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
        box-shadow: 0 5px 15px rgba(0,0,0,.5);
    }
}
/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
}
.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}
/* свойства для кнопки "Закрыть" */
.close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;
    display: inline-block;
    text-align: center;
}
.modal-body p{
    text-align: left;
    font-size: 1.2em;
    padding: 10px;
}
.modal-body input, .modal-body textarea{
    margin: -5px 0 -5px 0;
    font-size: 1em;
    padding: 10px;
}


