/* Template created by tcse-cms.com | Author: Vitaly V. Chuyakov | URL: http://tcse-cms.com */

/* Выравнивание блоков по 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: #2d3349;
	color: #80909A;
}
.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) {

	
}

/* MATRIX */
/* доп поля */
.clr {clear: both; height: 0; overflow: hidden;} 

.full4 {
    float: left; 
    width: 25%; 
    min-width: 250px;
    min-height: 100px;
    text-align: center;
    color: #d33b3d;
}

.full4 img{ 
    width: 230px; 
    height: 77px;
}

.full4 a{ 
    cursor: pointer;
}

.full44 a{
    display: block;
    width: 230px;
    height: 77px;
    background: url(/get_button.png);
    text-indent: -9999px; /* прячем текст за пределами заголовка */
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.full44 a:hover{
    width: 230px;
    height: 77px;
    background: url(/get_button2.png);
    text-indent: -9999px; /* прячем текст за пределами заголовка */
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.full44 a:hover::after { 
 content: attr(data-title); 
}

/* Tags */

	.tag_list > span { margin: 0 2px 2px 0; }
		.tag_list > span, .tag_list > span > a { display: inline-block; }
		.tag_list > span > a {
			border: 1px solid #d6d6d6;
			color: inherit;
			text-decoration: none !important;
			padding: 4px 8px;
			border-radius: 2px;
		}
		.tag_list > span > a:hover {
			background-color: #fff;
			color: #3394e6;
			border-color: #fff;
			box-shadow: 0 3px 7px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 7px 0 rgba(0,0,0,0.2);
		}
		.tags_more { margin-top: 1em; }