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

/* Адаптирован и доработан DLETM.RU */



/* Выравнивание блоков по 3 в ряд */


#dle-content .short-news:nth-of-type(3n+1) { clear: both; }


.dleplyrplayer {
	margin:0 auto;
}

.wp-caption {max-width: 100%;}


.full-content {
	margin: auto;
    overflow: hidden; /* clearfix */
	
	
}

.full-content img {
	
	 
	 
	/*margin:20px;*/
	
	border-radius: 10px 10px;

	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */

}

.highslide img {
    cursor: zoom-in;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    margin-bottom: 5px;
    margin-top: 5px;
}

.header-logo {

	padding: 10px 0;

}



/* Подвал */

.bg-grey {

	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) {



	.short-news .panel {

		border: 0px solid transparent; 

	}



}



.instagram-media, .twitter-tweet {display: inline-block !important;}



/*кнопка наверх*/

.gototop{

    display: none;

    cursor: pointer;

    position: fixed;

    right: 0;

    bottom: 0;

    width: 4%;

    max-width: 60px;

    min-width: 30px;

    height: 8%;

    background: url('../images/uarr.png') no-repeat 50% bottom;

	background-size: 98%;

    vertical-align: bottom;

    transition: background-color .2s ease-in;

    z-index: 98;

}	



.gototop:hover{

    background: url('../images/uarr2.png') no-repeat 50% bottom;

	background-size: 98%;

}





h1 {

  text-align: center;

}



.matrix {

  width: 400px;

  margin: auto;

  text-align: justify;

}



/*podelitsa*/

#LinksPublication td { padding: 3px 0; }

.news_btn {overflow:hidden; clear:both; margin:0px 0 0 0;}

 

.news_btn hr { height: 0; border: 0; border-top: 1px solid #eeeeef;  -moz-box-sizing: content-box; box-sizing: content-box; margin: 10px 0; }

 

.vk_btn {display:block; float:left; margin:5 5px 5 5; width: 120px;}

.vk_btn :hover {opacity: 0.9;}

.vk_btn a {color:#2b5e81;}

.tw_btn {font-size:11px; display:block; float:left; margin:0 5px 0 0; opacity: 1;}

.tw_btn :hover {opacity: 0.9;}

.tw_btn a {color:#2b5e81;}

.ok_btn {font-size:11px; display:block; float:center;opacity: 1;}

.ok_btn :hover {opacity: 0.9;}

.ok_btn a span:first-letter {color:#ee4348;}

.lnk_btn {opacity: 1;}

.lnk_btn :hover {opacity: 0.9;}

.code_btn {font-size:11px; display:block; float:right;opacity: 1;}

.code_btn:hover {opacity: 0.7;}

.code_btn a {color:#72990e;}

.news_btn a, .news_btn a span {float:left; max-width:290px; overflow:hidden; height:30px; padding: 0 0 0 5px; background: url('../images/soc_icon/soc_btn.png') no-repeat; }

.news_btn a span {display:block; line-height:27px; padding: 0 8px 0 0; background-position: 100% 100%;}

.news_btn a span img {vertical-align:middle; margin:0 5px 0 0;}

.news_btn a:hover {text-decoration:none;}

@media (max-width: 980px) {.news_btn { display: none; } }



.tagspage{

	width: 400;

	word-break:break-all;

}