/* 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;
font: 29px/100% Tahoma, Arial;
}

/* Подвал */
.bg-grey {
	background-color: #2e2f3b;
	color: #eaeaeb;
}
.bg-grey a {
	color: #fff;
	text-decoration: none;
}
.bg-grey a:hover {
	color: #eaeaeb;
	text-decoration: underline;
}

/* Правки для разной ширины экрана */
@media (max-width:  640px) {
	.header-logo {
		text-align: center;
	}
	.full-content img {
		max-width: 100%;
		display: block;
	}
}

@media (min-width: 1000px) {

	.short-news .panel {
		border: 0px solid transparent; 
	}

}

/*Slider*/

.smltext {
width:100%;
    height: 300px; /*РАЗМЕРЫ КАРТИНКИ И ОБЛАСТИ ТЕКСТА*/
    display:inline-block;   
    position:relative;
}

.smltext .iexample_text {
    display:block;
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
   
    box-sizing:border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
         color:#fff;
    padding:20px;
    background-color:rgba(0,0,0,.5);
 
}




.smltext h6  {
font: 24px/100% Conv_Ubuntu-C, Tahoma, Arial;
COLOR: #ffffff;
margin: 0px;
}


.smltext h6 a {
font: 23px/100% PTSansNarrow, Tahoma, Arial;
COLOR: #ffffff;
}



.smltext span {
 font-size:13px; 
margin-TOP: 10px;
}


/*версия для слабовидящих*/
#hpvgd,.h-mdiv,.h-mdiv2,.h-ldiv,.h-rdiv {background:#EAEAEA; color:#6D6D6D;}
#hpvgd {width:100%; z-index:100; width:100%; border-bottom:2px solid rgb(230,230,230);}
.h-mdiv {display:none; position:relative; margin:auto; text-alegn:center;}
.h-mdiv2 {display:none; position:fixed; margin:auto; text-alegn:center; width:400px; height:200px;}
.h-ldiv {float:left; padding:7px 10px 7px 0px;}
.h-rdiv {position:absolute; top:7px; right:0px; text-align:right;}
.h-ni {display:none !important;}
a.hcmaf {color:red; margin-left:5px; font-size:20px; font-weight:bold;}
a.h-anl {color:#2a72cc;}
a.h-al {color:#ED664B;}
.h-fi {font-weight:bold; border-radius:50%; padding:0px 8px; margin-right:5px; font-size:19px;}
.h-background-1 {color:#fff !important; background:#000 !important;}
.h-background-2 {color:#000 !important; background:#fff !important;}
/* конец версия для слабовидящих