/* Template Redesign and rtl by webmargin.ir | Author: Majid | URL: http://webmargin.ir */

#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: #002F6C;

    color: #eaeaeb;

}



.bg-grey a {

    color: #002F6C;

    text-decoration: none;

}



.bg-grey a:hover {

    color: #008C45;

    text-decoration: none;

}



.ratebox2 {

    float: left;

}



.ratebox3 {

    float: left;

}



.ratebox ul,

.ratebox ul li {

    float: right;

    list-style-type: none;

}



.ratebox2 ul,

.ratebox2 ul li {

    float: right;

    list-style-type: none;

}



.ratebox3 ul,

.ratebox3 ul li {

    float: right;

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



.comments_subscribe {

    color: black;

}



.list-group-item-footer {

    background-color: #FFFFFF !important;

    border: 1px solid #002F6C !important;
;

}



.social_footer {

    margin-top: 20px;

    left: 50%;

    display: flex;

    justify-content: center;

}



.social_footer i {

    margin: 0 20px;

}



.hr_tag {

    width: auto;

    height: 1px;

    background-color: #002F6C;

    margin: 20px 10px;

}



.title_short {

    font-size: 16px;

    line-height: 1;

    font-weight: bold;

}



.copyright {

    display: flex;

    justify-content: space-between;

    width: 100%;

    font-size: 10px;

    flex-wrap: wrap;

}



@media (max-width: 600px) {

    .copyright {

        justify-content: center !important;

        font-size: 9px;

    }

}



.tags a {

    background-color: rgba(214, 214, 214, 0.534);

    padding: 0 5px;

    border-radius: 3px;

    line-height: 16px;

    font-size: 10px;

}



.overlay {
  position: absolute;
  width: 35px;
  transition: .5s ease;
  opacity:50%;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
	bottom: 35%;left: 35%;
}

.container:hover .overlay {
  opacity: 1;
}
