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

	
}

.dload {
  text-decoration: none;
  border-radius: 8px;
  margin: 5px;
  padding: 8px;
  display: inline-block;
  color: #000;
  border: 1px solid #5d5d5d;
  transition: all .5s;
}
.dload:hover {
  color: #F7F7F7;
  text-decoration: none;
  box-shadow: 0 0 5px rgba(0,0,0,.5);
  background: linear-gradient(to bottom,#3DC5D5,#00525B);
}

/*---стиль кнопки "вверх-вниз"---*/
.in_top{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 30px;
    height: 100%;
    opacity: 0.5;
    filter: alpha(opacity=50);
    cursor: pointer;
    display: none;
}
.in_top:hover{
    background-color: #c9c9c9;
    opacity: 0.5;
    filter: alpha(opacity=100);
}
.in_top span{
    display: block;
    width: 30px;
    margin-top: 100px;
    text-align: center;
    color: #293c51;
    font-weight: bold;
}

.speedbar {
	margin-bottom:15px;
	background:#fff;
	padding: 10px 15px;
	font:normal 13px/31px Arial, sans-serif;
	list-style:none;
	border-radius:4px;
	box-shadow:0 2px 5px rgba(0,0,0,.1);
}
.speedbar:after {
	content:"";
	clear:both;
	display:table;
}
.speedbar li {
	float:left;
	margin-right:6px;
	color:#222;
}
.speedbar li.speedbar_sep { color:#999; }

/* anchor styles */
.d-load-anchor {    
    display: table;
    margin: 15px auto;
    box-shadow: 0 0 15px rgba(0,0,0,.2);
    padding: 8px 25px;
    border-radius: 5px;
    transition: all linear .15s;
    font-weight: 700;
    text-transform: uppercase;
}
.d-load-anchor:hover {
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    text-decoration: none;
}
