#adBlockMessage{
    border: 0px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 4%) 0px 2px 4px 0px;
    transition: box-shadow 0.3s ease;
    padding: 5px;
    margin-bottom: 20px;
} 


 .panel, .addform, .advertisement-card {
    border: 0 solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04); /* Исправлено */
    transition: box-shadow 0.3s ease;
    padding: 10px;
    margin-bottom: 20px;
}
.addform .advertisement-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.advertisement-header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.type-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

.advertisement-date {
    font-size: 14px;
    color: #888;
}

.advertisement-details {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.advertisement-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.advertisement-text {
    margin-bottom: 10px;
    color: #555;
}

.advertisement-info,
.advertisement-author {
    font-size: 18px;
    margin-bottom: 5px;
    color: #666;
}

.price {
    color: #ff6600;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0056b3;
}

.advertisement-photos {
    display: flex;
    flex-wrap: wrap;
}

.photo-thumbnail {
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-thumbnail img {
    transform: scale(2.2);
}

.photo-thumbnail:hover img {
    transform: scale(1.1);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    cursor: pointer;
    color: #fff; 
    font-size: 30px; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; 
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 30px;
  
    display: inline-flex; width: 32px; height: 32px; border-radius: 50%; 
    
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.modal ol {
    text-align: left;
    padding-left: 40px;
}

.modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    
}


.modal-bg{
    position: fixed; background-color: rgba(0, 0, 0, 0.6); z-index: 999; left: 0; top: 0; right: 0; bottom: 0; padding: 15px; overflow: auto;
    display: inline-flex; align-items: center;
}
.modal-error{
   z-index: 999;
    padding: 25px; background-color: white; border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,.15); position: relative; top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}


.modal-content{
   z-index: 999;
    padding: 25px; background-color: white; border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,.15); position: relative; top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}

.close{
    position: absolute; top: -13px; right: -13px; cursor: pointer; 
    z-index: 3; padding: 5px;
    display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background-color: white;
    box-shadow: rgba(51, 51, 51, 0.13) 0px 4px 12px 0px;
    align-items: center;
    justify-content: center;
}

/*error


.modal-content .close {
    -webkit-transition: -webkit-transform .4s ease-in-out;
    transition:         transform .4s ease-in-out;
    font-size: 16px;
}
.modal-content .close :hover{
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
*/


/* Стили для кнопки отключения AdBlock */
#btn_disable_adblock {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #f44336;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#btn_disable_adblock:hover {
    background-color: #d32f2f;
}






























 a img {
    border: none; /* убираем рамку */
   }
.lightbox {
/** определяем базовый стиль lightbox */
  position: fixed;
  overflow: hidden;
  z-index: 9999;
  width: 0;
  height: 0;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
}
.lightbox img {
/** базовый стиль изображений lightbox*/
  width: 95%;
  max-width: 800px;
  height: auto;
  margin: 5% auto;
/** полная прозрачность изначально */
  opacity: 0;
  border: 1px solid #4D4D4D;
/** тени у картинок - это по желанию */
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
/* трансформация прозрачности при открытии  */
  -webkit-transition: opacity 500ms ease-in;
  -moz-transition: opacity 500ms ease-in;
  transition: opacity 500ms ease-in;  
}
.lightbox:target {
/** активируем lightbox при нажатии */
  width: auto;
  height: auto;
  bottom: 0;
  right: 0;
/** удаляем контур по умолчанию */
  outline: none;
}
.lightbox:target img {
/** делаем элемент непрозрачным  */
  opacity: 1;
}
/** стиль миниатюр для демо-страницы */
.thumb img{
  width: 45%;
  margin:2%;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.6);
}



.social-icons {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 0;
}
.social-icons>li {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.social-icons a {
  position: relative;
  background-color: #eee;
  display: block;text-align: center;
  padding: 30%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: background-color .3s ease-in-out;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .25rem;
}
.social-icons a:hover {
  background-color: #e0e0e0;
}
.social-icons a::before {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  left: .65rem;
  top: .65rem;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}
.social-icons .social-icon-twitter::before {
  background-image: url("...");
}
.social-icons .social-icon-fb::before {
  background-image: url("https://velq.ru/images/ik/ok.png");
}
.social-icons .social-icon-vk::before {
  background-image: url("https://velq.ru/images/ik/vk.png");
}
.social-icons .social-icon-telegram::before {
  background-image: url("https://velq.ru/images/ik/telegram.png");
}
.social-icons .social-icon-youtube::before {
  background-image: url("...");
}



.lmenu, .lnews, .lnav, .lvip{padding:10px;  margin-bottom:20px;}
.kaleidoscope img{border:1px solid #fff;border-radius: 5px;
box-shadow: rgb(0 0 0 / 4%) 0px 2px 4px 0px;margin-left: auto;
margin-right: auto;
text-align: center;
margin:5px;}.kaleidoscope img:hover{border:1px solid #fff;}.rcorn{width:100%;background-color:#F4F4F4;color:#666666;}
.rcorn p{margin:0 5px;padding-left:12px;color:#666;font-size:11px;}
/*.roundtop{background:url(roundtr.png) no-repeat top right;}.roundbottom{background:url(roundbr.png) no-repeat top right;}background:url(c.png) repeat-x left bottom;*/
img.corner{width:15px;height:15px;border:none;display:block !important;}
.cornhc{height:40px;text-align: center; }
.cornhc h3{color:#CC0000;padding:12px;padding-left:20px;font-size:16px;
    box-shadow: rgb(0 0 0 / 4%) 0px 2px 4px 0px;
    background-color: #fff;border-radius: 5px;
}

.cornhl{width:10px;height:40px;float:left}.cornhr{width:22px;height:40px;float:right}

.lmenu p.links{margin:5px 5px;background:url(gray_arr.png) no-repeat left;padding-left:15px;}
.lnews p.news{margin:3px 5px;padding-left:5px;}.lnews div{padding:3px; color:#666; margin-left:5px; font-size:11px }.lvip p{text-align:center;margin:3px 5px;padding-left:5px;}
.lvip p a{ color:#009900; font-weight:bold }.lvip div{padding:3px; color:#666; margin-left:5px; font-size:11px }.lnav p.links{margin:2px 5px;}.lnav p.links img{ vertical-align:middle; margin-right:5px}
.lnav p.links a{color:#FF6600;font-weight:bold}.linec{width:80%}.header{width:100%;margin-top:0;}
.logo{float:left;padding:10px;width:22%; }

h1{
   font-size:22px; 
   line-height: 25px;
    font-weight: 700;
    display: block;
}

.no_img{margin:25px 25px 0 25px; }

.btn-delite {
    display: inline-block;
    width: 100%;
    padding: 5px;
    
    cursor: pointer;
    position: relative;
    border-radius: 50px;
}
.btn-top {
    display: inline-block;
    width: 100%;
    padding: 5px;
    text-align: center; 
    cursor: pointer;
    position: relative;
    border-radius: 50px;
}

.nav{padding:10px;float:left;width:50%;}.nav a{color:#399;font-size:18px;font-family:Arial;}
.searchform{padding-top:10px;padding-right:0;width:22%;height:50px;float:left;}.searchform form{background-color:#F0F0F0;padding:10px;}
.container{padding:5px; width:100%;margin:0;}.subcontainer{width:76%;float:left;margin:0;}.leftcolumn{width:28%;float:left;margin:0;padding:5px;color:#CCCCCC}
.centercolumn{width:70%;float:right;padding:5px 1.5%;margin:0;}.rightcolumn{width:21%;float:right;margin:0;padding:2px;color:#CCCCCC}
.footer{clear:both;width:100%;margin:0;background-color:#0D0D0D;height:150px;font-size:11px;color:#999999;}
.subfooter{padding:30px 30px 10px 30px;float:left;}.subfooter_right{padding:30px 30px 10px 30px;float:right;}.news_title{text-align:center;padding-bottom:30px;}
.news_autor{padding:0 5px;font-weight:bold;margin-top:10px;}.news_full{padding:0 5px;text-align:justify;}.news_logo{float:left;margin-right:10px;margin-bottom:10px;}
.news_date{float:right;color:#999;font-size:11px;margin-top:10px;text-align:right}.news_links{text-align:center;margin-top:10px;margin-top:20px;}
.news_list{ margin-bottom:25px; border-bottom: 1px solid #CCC; padding-bottom:5px}.news_list_title{font-size:14px;font-weight:bold;color:#FF6600; text-decoration:none}
.clear{clear:both;padding:0;}.admlink a{font-size:11px;}.admmenu a{text-decoration:none; font-size:11px; font-weight:bold}.admmenu td{background-color:#F8F8F8; padding:15px;}
td.whitebg{background-color:#FFFFFF;}.sm{font-size:10px;}.large{font-size:16px;}.gray{color:#999999;}.dgray{color:#666666;}.lgray{color:#AAAAAA;}.green{color:#009900;}.red{color:#FF0000;}
.dred{color:#CC0000;}.orange{color:#FF6600;}.blue{color:#3366CC;}.b{font-weight:bolder}.absmid{vertical-align:middle}.alcenter{text-align:center;}.err{border:3px #FF0000 solid;background-color:#FFFF99;}


.topmess{ margin: 0 auto;width:95%;/*background-color:#FFFFD9;*/background-color:#FFF;border:2px dashed #FF6600;margin:5px;padding:10px;font-size:11px;
    box-shadow: rgb(0 0 0 / 4%) 0px 2px 4px 0px;
}.topmess a{color:#FF3300}
.selectmess{width:94%;background-color:#EEFFEA;border:1px dashed #009900;margin:10px;padding:10px;font-size:11px;}
article {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 4em;
     -moz-column-gap: 4em;
          column-gap: 4em;
  -webkit-column-rule: 1px dotted #ddd;
     -moz-column-rule: 1px dotted #ddd;
          column-rule: 1px dotted #ddd;
}


a:hover{color: red;text-decoration: none;}





.stradv{width:100%;margin-top:5px;padding:5px;/*border-bottom:1px solid #EFEFEF;*/
box-shadow: rgb(0 0 0 / 4%) 0px 2px 4px 0px;border-radius: 5px;
background-color: #fff;
font-size:11px}


.textcols {width:100%;
  white-space: nowrap;
}
.textcols-item {
  white-space: normal;	
  display: inline-block;
   word-break: break-all;
  vertical-align: top;

}
.textcols .textcols-item:first-child {
  margin-right: 2%;
}




.o3{width:100%;}
.o3 img{border-radius: 5px;}



.o1{width:100%;border-bottom:1px solid #EFEFEF;font-size: 14px;padding:2px;}
.o2{width:100%;border-bottom:1px solid #EFEFEF;}

.o4{width:100%;border-bottom:1px solid #EFEFEF;}
.o5{width:100%;border-bottom:1px solid #EFEFEF;}


.o111{width:35%;float:left;}
.o333{width:10%;float:right;}
.o11{width:50%;float:left;}
.o33{width:18%;float:right;}
.cp1{width:50%;float:left;}.cp2{width:7%;float:right;}.cp3{width:20%;float:right;}.cp4{width:20%;float:right;}
.index_cat a{font-size:12px;}.rootcat{color:#FF6600;font-size:14px;font-weight: bolder}
.rootcatimg{float:left;margin-right:10px;}a.rootcat{color:#FF6600;font-size:14px;font-weight: bolder}.subclass{color:#009900;font-size:12px; margin-left:10px;}
/*
.addform{width:98%;vertical-align:middle;}.addform .pad{clear:both;padding:10px;}.addform select{width:100%;}.addform .lc{float:left;width:30%;padding-right:5px;text-align:right;}.addform .lc .req{color:#FF0000;font-weight:bolder;padding-left:5px;}.addform .rc{width:66%;float:right;padding-left:5px;text-align:left;}
*/

.w100{width:100%}div#nojs{padding:10px;border:2px #FF9900 dashed;background-color:#FFFF99;display:block;text-align:center;color:#FF0000;}div.comments{padding:10px;margin:5px;border:2px #CCFFCC dashed;background-color:#F0FFEA;color:#333333;}div.searchtags{padding:10px;margin:5px;border:2px #999999 dashed;background-color:#F9F9F9;color:#333333;}div.searchtags a:hover{color:#FFF;background:#FF0000; font-weight:bold;}
div.pagination{padding:3px;margin:10px;text-align:center;}
div.pagination a{    padding: 5px 10px; border-radius: 50px;margin-right:2px;border:1px solid #2C2C2C;text-decoration:none;color:#fff;background:#2C2C2C;}
div.pagination a:hover, div.pagination a:active{border:1px solid #B30000;color:#FFF;background:#B30000;}div.pagination a:visited{color:#FFF;}
div.pagination span.current{    padding: 5px 10px;border-radius: 50px;margin-right:2px;border:1px solid #B30000;font-weight:bold;background:#B30000;color:#FFF;}
div.pagination span.disabled{padding: 5px 10px;border-radius: 50px;margin-right:2px;border:1px solid #f3f3f3;color:#ccc;}

#informer_code{background-color:#FFFFF2;border: solid 1px #FC0; padding:10px; color:#C00; display:none;}#informer_code b{color:#333;}#informer_preview{background-color:#F2FFF3;border: solid 1px #0F0; padding:10px; color:#666666; display:none;}.b_inf_width{width:70%;}.b_inf_text_size{font-size:110%;}	.b_inf_text_color{color:#0066CC;}.b_inf_date_size{font-size:90%;}.b_inf_date_color{color:#666666;}div.admcats select{float:left}#toggle_s{display:none;position:absolute;right:20px;z-index:9999;background-color:#FFFBD7;border:1px solid #F00;padding:10px;margin-top:-10px;}#toggle_s_close{text-align:right;margin-top:0px;}table.sett td{padding:10px;vertical-align:middle}table.sort{border-spacing:0.1em;margin-bottom:1em;margin-top:1em}table.sort td{padding:0.3em 1em}table.sort thead td{cursor:pointer;font-weight:bold;text-align:center;vertical-align:middle}table.sort thead td.curcol{background-color:#999999;color:#FFFFFF}table.sort p{display:none;}#thumbBox{position:absolute;left:0;top:0;width:auto;padding:5px;padding-bottom:10px;background:#0D0D0D;visibility:hidden;z-index:10;cursor:pointer;} #thumbBox .footerbar{font:12px Tahoma;color:white;text-align:center;} #thumbBox #thumbImage{background-color:#0D0D0D;} #thumbLoading{position:absolute;visibility:hidden;border:1px solid black;background-color:#EFEFEF;padding:5px;z-index:5;}

.text-shadow-12 {text-decoration: none;outline: 0;
  color:#ff4f00;font-size: 28px;text-align: center; 
  text-shadow: 1px 1px white, 2px 2px white, -1px -1px white, -2px -2px white, -1px 1px white, 1px -1px white, -2px 2px white, 2px -2px white, -3px -3px 4px rgba(0,0,0,.3), -3px 3px 4px rgba(0,0,0,.3), 3px 3px 4px rgba(0,0,0,.3), 3px -3px 4px rgba(0,0,0,.3); 
}
.text-shadow-11 {text-decoration: none;outline: 0;
  color:#000;text-align: center; 
  text-shadow:  -3px -3px 4px rgba(0,0,0,.3), -3px 3px 4px rgba(0,0,0,.3), 3px 3px 4px rgba(0,0,0,.3), 3px -3px 4px rgba(0,0,0,.3); 
}
#right_cont{float:right;width:50%;}
#left_cont{float:left;width:50%;}

/* Smartphones (вертикальная и горизонтальная ориентация) ----------- */
@media only screen and (min-width : 120px) and (max-width : 480px) {

#right_cont, #left_cont{width:100%;margin:0 auto;}





.centercolumn, .subcontainer, .searchform {width:100%;margin:0 auto;padding-top: 0; padding-right:0;}
.leftcolumn{width:90%;padding:0;margin:0 auto;}
.rightcolumn{width:100%;margin:0 auto;}
.cornhc, .lmenu, .rcorn {width:100%;margin:0 auto;}
.footer {width:100%;}
.container {padding:0px;}
.subfooter_right, .subfooter {width:100%;padding:0;}
.logo{width:100%;}
}

/* Smartphones (горизонтальная) ----------- */
@media only screen and (min-width: 480px) and (max-width : 680px) {

.centercolumn, .subcontainer, .searchform {width:100%;margin:0 auto;}
.leftcolumn{width:90%;padding:0;margin:0 auto;}
.cornhc, .lmenu, .rcorn {width:100%;margin:0 auto;}
.footer {width:100%;}
.container {padding:5px;}
.subfooter_right, .subfooter {width:100%;padding:0;}
.logo{width:100%;}
.rightcolumn{width:100%;margin:0 auto;}
}
/* iPads (вертикальная и горизонтальная) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
/* стили .left, .content, .right {width:100%;}*/
}

