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

.cookie {
  position: fixed;
  bottom: 15px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(48,48,48,0.5);
  padding: 10px;
  left: -10000px;
  border-radius: 12px;
  transition: left 2s ease-in-out;
  width: 50%;
  z-index: 99999;
}
.cookie .row {
  position: relative;
  padding: 10px 20px;
}
.cookie .none-visible {
  left: -10000px;
}
.cookie .show {
  left: 15px;
}
.cookie .none-show {
  display: none;
}
.cookie .cookie-img {
  height: 31px;
  background: no-repeat center;
  background-size: contain;
  width: 100%;
}
.cookie .cookie-text {
  color: #fff;
  font-size: .8rem;
  line-height: 1.4;
}
.cookie .cookie-text a {
  text-shadow: 2px 8px 6px rgba(0,0,0,0.2), 0 -5px 35px rgba(255,255,255,0.3);
}
.cookie .cookie-wrapper__close {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
}
.cookie .cookie-wrapper__close i {
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  position: relative;
  right: 15px;
}
.cookie .cookie-wrapper span {
  position: relative;
  float: left;
}
.cookie .cookie-wrapper__close-ok {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  color: #000;
  font-weight: 700;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  margin-top: 5px;
}
.cookie-wrapper__img {
  padding: 0;
}




#cookie_note{
    display: none;
    position: fixed;
    bottom: 15px;
    left: 30%;
    max-width: 90%;
    transform: translateX(-10%);
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_note p{
    margin: 5px;
    margin-right: 30px;
    font-size: 0.7rem;
    text-align: left;
    color: black;
}

.cookie_accept{
    width:40%;
    border-radius: 8px;
}

.cookie_accept2{
    color: black;
    background: transparent;
    width:30px;
    position: absolute;
    text-align: center;
    right: 0px;
    top: 0px;
    border: 0px;
    border-radius: 8px;
}

@media (min-width: 576px){
    #cookie_note.show{
        display: flex;
    }
}

@media (max-width: 575px){
    #cookie_note.show{
        display: block;
        text-align: left;
    }
}

/* Выравнивание блоков по 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: #2e2f3b;
	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; 
	}

}
