/******https://html5book.ru/shrift-awesome/*****/
@import url('animate.css'); 
body{margin:4px;color:#333;}
body a, input, submit, textarea, select{font-family:Georgia,Times New Roman, Arial;}
body a{text-decoration:none;color:#000;}
.sidebar{grid-area:sidebar;}
.content{grid-area:content;}
.header{grid-area:header;}
.footer{grid-area:footer;}
.wrapper{background:none;/*background-color:#eeeeee;*/color:#444;padding:8px;margin:auto;display:grid;grid-gap:1em;grid-template-areas:"header" "sidebar" "content" "footer";}
:root {
    --color_str: #333;
    --color_back: #333;
    --finocolor_btn: ;
}
@media only screen and (min-width:580px){
.wrapper{grid-template-columns:20% auto;
grid-template-areas:"header   header" "sidebar  content" "footer   footer";}
        }
@media only screen and (min-width:600px){
.wrapper{grid-gap:10px;
grid-template-columns:220px auto;
grid-template-areas:"header  header" "sidebar content" "footer  footer";
max-width:1200px;}
        }
.box{/*background-color:#444; */ background:none;border-radius:5px;
padding:5px;font-size:18px;}  
.header,.footer{/*background-color:blue;*//*border:1px solid blue;*/box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;}
.sidebar{padding:0px important;/*background-color:#ccc;*/border:1px solid #ccc;}
.content{/*background:rgb(16,160,179);*/border:1px solid #ccc;}
.box_sidebar{font-size:17px;font-weight:600;padding:8px;border:0px solid #ccc;margin:5px;border-radius:5px;box-shadow:1px 2px 3px silver;}
.box_sidebar:hover{color:#fff;background-color:#333;}
@media screen  and (max-width: 580px) {
.box_sidebar{display:inline-block;float:left;margin:3px;font-size:16px;box-shadow:1px 2px 3px silver;}
}
#header_titul{border:none;}
.header_titul_img{width:250px;margin:5px;float:left;display:inline-block;}
.titul_top{margin-top:20px;margin-left:20px;border:1px solid rgb(16,160,179);display:inline-block;/*margin:0 auto;width:100%;*/text-align:center;}
.div_reg{text-align:center;padding:5px;margin:0 auto;border:0px solid rgb(16,160,179);}
.div_reg_form input{width:80%;font-size:18px;text-align:center;height:35px;border-radius:5px;border:1px solid silver;padding:3px;margin-bottom:8px;}
.div_reg_form input[type=submit]{width:70%;font-size:20px;cursor:pointer;padding:3px;height:40px;/*margin-left:13px;*/}
.div_reg_form .s-h{cursor:pointer;color:#ff0000;font-size:20px;border:1px solid silver;padding:5px 5px;margin-left:25px;}
/*.div_reg_form input[type=text]:focus {
  background-color: lightblue;
  border: 3px solid #555;
}     */
#reg input:focus {
  background-color: none;
  border: none !important; box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;
}
.log_reg_form input{width:80%;font-size:18px;text-align:center;height:35px;border-radius:5px;border:1px solid silver;padding:3px;margin-bottom:8px;}
.log_reg_form input[type=submit]{width:70%;font-size:20px;cursor:pointer;padding:3px;height:40px;/*margin-left:13px;*/}
.log_reg_form .s-h{cursor:pointer;color:#ff0000;font-size:20px;border:1px solid silver;padding:5px 5px;margin-left:25px;}
.code_form{margin:0 auto;display:block;text-align:center;}
.code_form input{width:20%;font-size:18px;text-align:center;height:30px;border-radius:5px;border:1px solid silver;padding:3px;margin-bottom:8px;}
.code_form input[type=submit]{height:39px;padding:3px;} 
button.button{font-size:17px;text-align:center;height:30px;border-radius:5px;border:1px solid silver;margin:5px;box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 9px; padding:3px 6px;}
button.button:hover{color:#fff;background:#333;}
/*****глазок****/
.comic{font-family: Comic Sans MS, cursive !important;}
.password4{position:relative;}
.password-control{position:absolute;top:14px;right:85%;display:inline-block;width:12px;height:12px;background:url(img/view.svg) 0 0 no-repeat;}
.password-control.view{background:url(img/no-view.svg) 0 0 no-repeat;background-size:cover;}
/********/
/* цвет placeholder*/
::-webkit-input-placeholder{color:silver;}
::-moz-placeholder{color:silver;}
/* Firefox 19+ */
:-moz-placeholder{color:silver;}
/* Firefox 18- */
:-ms-input-placeholder{color:silver;}
/* сдвиг placeholder-а вправо при фокусе*/
input::-webkit-input-placeholder{text-indent:0px;transition:text-indent 0.3s ease;}
input::-moz-placeholder{text-indent:0px;transition:text-indent 0.3s ease;}
input:-moz-placeholder{text-indent:0px;transition:text-indent 0.3s ease;}
input:-ms-input-placeholder{text-indent:0px;transition:text-indent 0.3s ease;}
input:focus::-webkit-input-placeholder{text-indent:500px;transition:text-indent 0.3s ease;}
input:focus::-moz-placeholder{text-indent:500px;transition:text-indent 0.3s ease;}
input:focus:-moz-placeholder{text-indent:500px;transition:text-indent 0.3s ease;}
input:focus:-ms-input-placeholder{text-indent:500px;transition:text-indent 0.3s ease;}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #000;color:#fff;
  width: 20px;
  height: 20px;
} 
/****/
/*       индикатор пароля         */
.block_for_input{width:96%;}
.block_for_input input{width:100%;}
#block_check{height:6px;margin:0 auto;text-align:center;/*margin-left:14px;*/transition:1s;width:70%;}
/* индикатор пароля */
/**********modal*********/
/* слой затемнения */
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0; 
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
/* активируем слой затемнения и модальное окно */
.dm-overlay:target {
    display: block;
/* анимация и время задержки */
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* блочная таблица */
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
/* ячейка блочной таблицы */
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */
.dm-modal {
    display: inline-block;
    padding: 20px;
/* максимально возможная ширина */
   /* width: 100%;*/ width:85%;min-width:250px;max-width:600px;
    background:#fff;
/* внешняя тень блока */
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: var(--finocolor_str);
    text-align: left;
/* анимация и время задержки */
    -webkit-animation: fade .8s;
    -moz-animation: fade .8s;
    animation: fade .8s;
}
/* анимация при появлении затемнения и блоков с содержанием */
@-moz-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 } 
}
@keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
/* изображения в модальном окне */
.dm-modal img {
    width: 30%;
    height: auto;
}
/* миниатюры изображений */
.pl-left,.pl-right {
    width: 25%;
    height: auto;
}
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
.pl-left {
    float: left;
    margin: 5px 15px 5px 0;
}
/* рисуем кнопарь закрытия */
 
.haz_close_modal {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #000;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.haz_close_modal:after {
    display: block;
    border: 2px solid #000;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
.haz_close_modal:hover:after {
    border-color: #ff0000;
    color: #ff0000;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
/* варианты фонвой заливки модального блока */
 
.green {
    background: #388e3c!important;
}
.cyan {
    background: #0097a7!important;
}
.teal {
    background: #00796b!important;
}
/* движуха при появлении блоков с содержанием */
 
@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
/**********modal*********/
/********мудалка*****/
#p_overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.4);z-index:999;overflow:auto;
/* visibility:hidden;*/
/*  opacity:0;*/
transition:opacity 0.7s ease-in 0s;}
.p_popup{top:45%;left:0;right:0;margin:auto;width:80%;min-width:200px;max-width:400px;position:absolute;padding:15px 20px;border:0px solid red;background-color:#fff;z-index:1000;border-radius:0px;font-size:18px;
/*font:14px/18px 'Tahoma',Arial,sans-serif;*/
/* box-shadow:0 0px 14px rgba(0,0,0,0.4);*/
color:red;font-weight:bold;}
.p_popup_success{top:45%;left:0;right:0;font-size:18px;margin:auto;width:80%;min-width:200px;max-width:400px;position:absolute;padding:15px 20px;border:0px solid rgb(0,102,0);background-color:#EDFFF1;z-index:1000;border-radius:0px;box-shadow:0 0px 14px rgba(0,0,0,0.4);color:rgb(0,102,0);font-weight:bold;}
.p_close{top:10px;right:10px;width:22px;height:22px;position:absolute;border:none;border-radius:50%;background:rgb(48,138,226);box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);cursor:pointer;outline:none;}
.p_close:before{color:rgba(255,255,255,0.9);content:"X";font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:normal;text-decoration:none;text-shadow:0 -1px rgba(0,0,0,0.9);}
.p_close:hover{background:red;}
#p_overlay .p_popup p.zag{margin:20px 0 10px;padding:0 0 6px;color:tomato;font-size:16px;font-weight:bold;border-bottom:1px solid tomato;}
/*******конец мудалки*********/
.gifload{width:250px;height:250px;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;}
.gifload2{width:250px;height:250px;position:absolute;top:250px;right:0;bottom:0;left:0;margin:auto;}
.back{color:#000;background:rgb(240,240,240);margin:0 auto;padding:4px;text-align:center;font-size:1em;width:30%;border:2px solid #ccc;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;}
.back:hover{background:#143333;color:#fff;}
.back a{text-decoration:none;color:#fff;}
a.back{text-decoration:none;color:#fff;}
/***********************/
#messenger,#messenger1,#messenger2,#messenger3,#messenger4,#messenger5,#messenger6,#messenger7,#messenger8,#messenger9,#messenger20,#messenger21,#messenger22,#messenger23,#messenger24{width:100%;margin-left:2px;display:inline-block;padding:5px;font-size:13px;border:none;background:none;display:none;color:red;}
#messenger10,#messenger11,#messenger12,#messenger13{width:100%;margin-left:2px;display:inline-block;padding:5px;font-size:13px;border:none;background:none;display:none;color:green;}
#messenger_1,#messenger_2,#messenger_3,#messenger_4,#messenger_5,#messenger_6,#messenger_7{width:100%;margin-left:2px;display:inline-block;padding:5px;font-size:13px;border:none;background:none;display:none;color:red;}
.messenger3{width:100%;margin-left:2px;display:inline-block;padding:5px;font-size:1.1em;border:none;background:none;color:red;}
.msgbox{width:100%;margin:5px 5px 5px 5px;padding:5px;font-size:0.8em;border:none;background:none;color:silver;}
span.valid_er{font-size:13px;color:red;}
span.e_error{font-size:13px;color:red;margin:0 auto;padding:4px;}
#mes{display:block;font-size:11px;border:none;background:none;color:red;margin:4px;}
#err_center{margin:3px;font-size:13px;color:red;text-align:center;list-style-type: none; /* Убирает буллиты */}
#err_center li{margin:5px;}
/************tooltip*****************/
#tooltip{
        background:#000;
        color:#fff;
        text-align:center;
        padding:6px 0;
        position:absolute;
        max-width:250px;
        z-index:9999;
        display:none;
        border-radius:3px;
       /* box-shadow:4px 4px 8px rgba(0, 0, 0, 0.3);  */
        padding:5px 8px;
        font-size:15px;
        text-shadow:none;
}
#tooltip:before{
        position: absolute;
        width: 0;
        height: 0;
        line-height: 0;
        border: 6px dashed #000;
        top: -6px;
        left:15px;
        border-bottom-style: solid;
        border-top: none;
        border-left-color: transparent;
        border-right-color: transparent;
        content:'';
}
/************tooltip*****************/
/************************/
.text-field__input:invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.text-field__input:valid:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgb(25 135 84 / 25%);
}
/* is invalid */
    .text-field__input_invalid,
    .text-field__input_valid {
      border-color: #dc3545;
      padding-right: 2.25rem;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 0.5625rem center;
      background-size: 1.125rem 1.125rem;
    }

    .text-field__input_valid {
      border-color: #198754;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    }

    .text-field__input_invalid:focus {
      border-color: #dc3545;
      box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

    .text-field__input_valid:focus {
      border-color: #198754;
      box-shadow: 0 0 0 0.25rem rgb(25 135 84 / 25%);
    }
/************************/
.get_r{font-weight:600;font-size:19px;text-align:center;}
/*************************/
.left_sidebar_reg{margin-top:38%;font-size:15px;}
@media (max-width:991px) {
.left_sidebar_reg{margin-top:1%;font-size:13px;}
/*.recaptcha{transform:scale(0.8);transform-origin:0 0;text-align:center;} */
}
.recaptcha{text-align:center;}
.g-recaptcha {
        display: inline-block;
    }
.ch{font-size:13px;}
/******************/
.container_outer_img{margin:50px;  width:60%;  overflow:hidden;}
.container_img{width:100%;  animation:slideIn 1.5s ease-in-out forwards;}
.swing{
	-webkit-animation:swinging 10s ease-in-out 0s infinite;
	-moz-animation:swinging 10s ease-in-out 0s infinite;
	animation:swinging 10s ease-in-out 0s infinite;
	-webkit-transform-origin:50% 0;
	-moz-transform-origin:50% 0;
	transform-origin:50% 0;
}

@-webkit-keyframes swinging{
	0% { -webkit-transform: rotate(0); }
	5% { -webkit-transform: rotate(10deg); }
	10% { -webkit-transform: rotate(-9deg); }
	15% { -webkit-transform: rotate(8deg); }
	20% { -webkit-transform: rotate(-7deg); }
	25% { -webkit-transform: rotate(6deg); }
	30% { -webkit-transform: rotate(-5deg); }
	35% { -webkit-transform: rotate(4deg); }
	40% { -webkit-transform: rotate(-3deg); }
	45% { -webkit-transform: rotate(2deg); }
	50% { -webkit-transform: rotate(0); } /* Come to rest at 50%. The rest is just stillness */
	100% { -webkit-transform: rotate(0); }
}

@-moz-keyframes swinging{
	0% { -moz-transform: rotate(0); }
	5% { -moz-transform: rotate(10deg); }
	10% { -moz-transform: rotate(-9deg); }
	15% { -moz-transform: rotate(8deg); }
	20% { -moz-transform: rotate(-7deg); }
	25% { -moz-transform: rotate(6deg); }
	30% { -moz-transform: rotate(-5deg); }
	35% { -moz-transform: rotate(4deg); }
	40% { -moz-transform: rotate(-3deg); }
	45% { -moz-transform: rotate(2deg); }
	50% { -moz-transform: rotate(0); } /* Come to rest at 50%. The rest is just stillness */
	100% { -moz-transform: rotate(0); }
}

@keyframes swinging{
	0% { transform: rotate(0); }
	5% { transform: rotate(10deg); }
	10% { transform: rotate(-9deg); }
	15% { transform: rotate(8deg); }
	20% { transform: rotate(-7deg); }
	25% { transform: rotate(6deg); }
	30% { transform: rotate(-5deg); }
	35% { transform: rotate(4deg); }
	40% { transform: rotate(-3deg); }
	45% { transform: rotate(2deg); }
	50% { transform: rotate(0); } /* Come to rest at 50%. The rest is just stillness */
	100% { transform: rotate(0); }
}
.pointer{cursor:pointer;}
.help{cursor:help;}
.w_600{font-weight:600;}.w_700{font-weight:700;}.f_size15{font-size:15px;}.f_size16{font-size:16px;}
.f_size10{font-size:10px;}.f_size11{font-size:11px;}.f_size12{font-size:12px;}.f_size13{font-size:13px;}.f_size14{font-size:14px;}.f_size15{font-size:15px;}.f_size16{font-size:16px;}.f_size17{font-size:17px;}.f_size18{font-size:18px;}.f_size19{font-size:19px;}.f_size20{font-size:20px;}
.curs{font-style:italic;}
.u{text-decoration:underline;}
.l_height20{line-height:20px;}.l_height22{line-height:22px;}.l_height24{line-height:24px;}.l_height26{line-height:26px;}.l_height28{line-height:28px;}.l_height30{line-height:30px;}
.red{color:red;}.zel{color:green;}.sin{color:rgb(51,0,153);}
.s6600{background:rgb(102,0,0);color:#fff;padding:2px 4px !important;margin:2px;}
.sCC00{background:rgb(204,0,204);color:#fff;padding:2px 4px !important;margin:2px;}
.s_day{background:#005F68;color:#fff;padding:2px 4px !important;margin:2px;}
.fa-question-circle{font-size:17px;color:#3300CC;}
.hr_item_avtor {
    background-size: 6px 6px;
    margin: -34px auto 16px;
    padding: 0;
    height: 50px;
    border: none;
    border-bottom: 1px solid silver;
    box-shadow: 0 20px 20px -20px silver;
    width: 100%;
}
.add_t select {cursor:pointer;
appearance: none; /* Убирает стандартное оформление в некоторых браузерах */
-webkit-appearance: none; /* Для Safari */
-moz-appearance: none; /* Для Firefox */
padding-left:10px;padding-top:7px;padding-bottom:7px;
background-color: var(--color_back);color:#fff;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23999"/></svg>');

background-position: right 10px center;
background-repeat: no-repeat;
padding-right: 30px; /* Место для стрелки */
}
.add_t select:hover {box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 12px;}
/*.add_t select option:checked { color: red; }
.add_t select option:not(:checked) {color: orange; background-color:#333;}
.add_t select:hover {box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 12px;}
.add_t select:focus {color: orange;background-color:#6A6C6A;}  */
.add_t input {padding:4px 8px;}
.add_t input.naz{width:310px;}
/******************/
.d_my_t{border-radius:5px;border:1px solid #CCCCCC;padding:5px;font-size:18px;margin-top:5px;box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;}
.d_my_t_line{display:inline-block;border-radius:10px 100px / 120px;border:none;/*padding:5px;*/}
.br_d_my_t_line{display:none;}
.d_my_t_line_del{background:#333;color:#fff;padding:2px 4px !important;}
.d_my_t_line_del:hover{background:#333;box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;}
@media (max-width:932px) {.br_d_my_t_line{display:block;}}
@media (max-width:532px) {.d_my_t_line{font-size:16px;;}}
.off{background:red;color:#fff;padding:2px 4px !important;box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;}
.d_my_t_off{background:#F4F2F4;}
.opac{opacity:0.5;/*background: linear-gradient(90deg, #b9deed, #efefef);*/}
.on{background:rgb(0,102,0);color:#fff;padding:2px 4px !important;box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;}
.class_type_o{color:#fff;background:#4E6871;padding:2px 4px !important;box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;margin:2px;}
.class_type_z{color:#fff;background:#4E6871;padding:2px 4px !important;box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 6px;margin:2px;}
.on_offform{display:inline-block;}

.filters li a { cursor: pointer; }
ul.filters{padding:3px;margin:0 auto;box-shadow:rgba(0, 0, 0, 0.35) 0px 3px 6px;border-radius: 5px;}
.filters li {margin:3px;box-shadow: 1px 2px 3px silver;    border-radius: 5px;
  display: inline-block;
  padding: 5px 10px;
}
.filters li:hover{color:#fff;background-color:#333;}
.filters a:hover{color:#fff;background-color:#333;}
.filters :hover .filters_a{color:#fff;}
.filters :hover .sp_k{color:#ffcc00;border:1px solid rgb(255,204,0);}
.filters li.active a{ 
  color: #f00;
}

.products:after {
  content: '';
  display: block;
  clear: both;
}

.products li {
  width: 50px;
  height: 50px;
  float: left;
  margin: 0 10px 10px 0;
  background: #ccc;
} 
.sp_k{/*background:rgb(0,51,102);*/color:rgb(0,51,102);;font-size:13px;margin:3px;padding:1px 6px;border:1px solid rgb(0,51,102);border-radius:50%;}       
.adm_moder0{color:red;}
.adm_moder1{color:green;}
