/* Template created by tcse-cms.com | Author: Vitaly V. Chuyakov | URL: http://tcse-cms.com */
#msg_pop span > p{
	position: absolute;
    z-index: 9999999;
    right: 10px;
	top: 10px;
    font-size: 0px;
    width: 20px;
    height: 20px;	
}
#msg_pop > span.msg_close1{
	position: absolute;
    bottom: 12px;
    left: 12px;
    width: 14px;
    height: 14px;
    background-color: #565656;
    cursor: pointer;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    z-index: 9999!important;	
}
#msg_pop > span.msg_close1:before{
	    transform: rotate(45deg);
}
#msg_pop > span.msg_close1:after{
	    transform: rotate(-45deg);
}
#msg_pop > span.msg_close1:before,#msg_pop > span.msg_close1:after {
    content: '';
    width: 10px;
    height: 2px;
    background-color: #9e9e9e;
    display: block;
    position: absolute;
    top: 6px;
    left: 2px;
    border-radius: 10px;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}
#msg_pop > div.hd{
position: absolute;
    width: 100%;
    height: 19px;
    background-color: #f1f2f6;
    z-index: 99999;	
}
/* Выравнивание блоков по 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 {
	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; 
	}

}
