/* Выравнивание блоков по 3 в ряд */
#dle-content .short-news:nth-of-type(3n+1) { clear: both; }
.wp-caption {max-width: 100%;}
.full-content img {
	max-width: 100%;
	display: inherit;
}

.header-logo {
	padding: 10px 0;
}

/* Подвал */
.bg-grey {
	background-color: #35394b;
	color: #eaeaeb;
}
.bg-grey a {
	color: #fff;
	text-decoration: none;
}
.bg-grey a:hover {
	color: #eaeaeb;
	text-decoration: underline;
}
.ratebox2 {
  float: right;
}

.ratebox3 {
  float: right;
}

.ratebox ul, .ratebox ul li {
  float: left;
  list-style-type: none;
}

.ratebox2 ul, .ratebox2 ul li {
  float: left;
  list-style-type: none;
}

.ratebox3 ul, .ratebox3 ul li {
  float: left;
  list-style-type: none;
}
/* Правки для разной ширины экрана */
@media (max-width:  640px) {
	.header-logo {
		text-align: center;
	}
	.full-content img {
		max-width: 100%;
		display: block;
	}
}

@media (min-width: 1200px) {

	
}

.xfieldimagegallery li img {
  float: left;
  margin-right: 5px;
  border: 5px solid #fff;
  width: 250px;
  height: 150px;
  transition: box-shadow 0.5s ease;
}

.spoiler-content{
display:block;  /**скрываем блок контента спойлера**/
padding:15px 20px; /**добавляем внутренний отступ**/
}

/**Стили блока с текстом внутри спойлера**/
.spoiler-content{
display:none;  /**скрываем блок контента спойлера**/
padding:15px 20px; /**добавляем внутренний отступ**/
border:1px solid #ccc; /**рамка блока контента спойлера**/
margin-top:0px; /**отступ сверху**/
background:#F0F0F0; /**фон блока контента спойлера**/
}
/**Стили блока оборачивающего каждый блок**/
.spoiler-block{
margin-top:10px; 
}
/**Стили кнопки спойлера**/
.spoiler-title {
border:1px solid #B9B9B9;
background: #ссс;/**обычный фон для браузеров, которые не поддерживают градиент**/
background:linear-gradient(8ac8ff);/**градиентный фон**/
padding:10px;/**внутренний отступ**/
text-decoration:none;/**убираем подчёркивание у ссылки**/
color:#012120; /**цвет текста ссылки**/
display:block; /**делаем ссылку на всю ширину**/
}

/* VIDEO IFRAME
--------------------------------------------------------------------------------*/
.videoWrapper {position:relative; height:0;padding-bottom:56.25%; padding-top:25px; }
.videoWrapper iframe {position:absolute; top:0; left:0; width:100%; height:100%;}

/* screens cash
--------------------------------------------------------------------------------*/
.screens_cash > a.link_cash > img {display: block;height: 100%;object-fit: cover;width: 100%;}
.screens_cash, .screens_cash .text_spoiler {display: flex;justify-content: center;flex-wrap: wrap;margin: 0;padding: 0 5px;}
.screens_cash > a.link_cash, .screens_cash .text_spoiler > a.link_cash {flex: 1;min-width: 30%;padding: 10px;}
.screens_cash + br {display: none;}
.screens_cash > a.link_cash {position:relative;}
.screens_cash > a.link_cash::before {opacity: 0;visibility: hidden;-webkit-transform: scale(0,0);transform: scale(0,0);transition: all 0.3s ease 0s;content: "Увеличить";position: absolute;bottom: 10px;width: auto;text-align: center;color: #fff;background: rgba(0,0,0,.7);padding: 7px 20px;right: 10px;font-size: 12px;}
.screens_cash > a.link_cash:hover::before {opacity: 1;visibility: visible;-webkit-transform: scale(1,1);transform: scale(1,1);transition: all 0.3s ease 0s;}
.screens_cash .title_spoiler {text-align: left;display: block;width: 100%;margin-right: 12px;margin-left: 12px;}
.screens_cash .text_spoiler {margin: 0 12px;}
.screens_cash .text_spoiler > a.link_cash {position:relative;}
.screens_cash .text_spoiler > a.link_cash::before {opacity: 0;visibility: hidden;-webkit-transform: scale(0,0);transform: scale(0,0);transition: all 0.3s ease 0s;content: "Увеличить";position: absolute;bottom: 10px;width: auto;text-align: center;color: #fff;background: rgba(0,0,0,.7);padding: 7px 20px;right: 10px;font-size: 12px;}
.screens_cash .text_spoiler > a.link_cash:hover::before {opacity: 1;visibility: visible;-webkit-transform: scale(1,1);transform: scale(1,1);transition: all 0.3s ease 0s;}

.highslide-controls li::before {
    background-color: transparent !important;
}

/* Правка гориз. линии <hr>
--------------------------------------------------------------------------------*/
.fullstory hr {
    opacity: .2;
    margin: 20px 0;
}