body {
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
}

img {
	border: 0;
}

a, a:link a:active {
	text-decoration: underline;
	background-color: inherit;
	color: #666125;
}

a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #666125;
}

a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #a0994d;
}
/*****************basic layout *****************/

div#pagewrapper {
	margin: 0 auto;
}

div#telo {
    width: 1010px;

}


div#centr{
            height: 279px;
                background:  url(https://www.dovjenko.com/pic/poloska-center.jpg) repeat-x left center;
            background-size: contain;
}

div#centr2{
            width: 1010px;
            font-size:14px;
        
}

div#centr2 a{
           color: #fff;      
}

a.act{
           color: #fff;  
           text-decoration: none;    
}


div#content {
	margin: 1.5em auto 2em 0;
	padding: 0px;
}

div#main {
           line-height: 26px;
	padding: 10px 15px;
}

div#main h2, h1, h3{
color: #6F5035;
margin: 0;
margin-bottom: 20px;
}

div#footer {
           width: 1010px;
	padding: 30px 10px 10px 10px;
           color: #fff;
           font-size: 15px;
           line-height: 24px;
}
div#footer a{
           color: #fff;
}

div#footer ul{
list-style-type: none;
}

input {
  border: 1px solid #684D31;
}

textarea{
  border: 1px solid #684D31;
}

input:hover, input:focus, input:active, textarea:hover, input .hovered, textarea:focus 
  {
  border:1px solid #D4CA50;
  }

.cms_textarea{
    width: 500px;
    height: 100px;
}

.aaa{
display: block;
 width:1000px;
 height:2px;
  background:  url(https://www.dovjenko.com/pic/page.jpg) no-repeat center center;
}
.aaa2{
display: block;
 width:450px;
 height:1px;
  background:  url(https://www.dovjenko.com/pic/page2.jpg) no-repeat center center;
}

#baners span
{
filter:alpha(opacity=40); -moz-opacity:0.4; opacity: 0.4;
}
#baners span:hover, #baners span.jshover
{
filter:alpha(opacity=100); -moz-opacity:1.0; opacity: 1.0;
}


/* Стили для баннера cookie */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
    font-family: Arial, sans-serif;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-text a {
    color: #4da6ff;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #80c1ff;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.cookie-btn.accept {
    background: #4da6ff;
    color: white;
}

.cookie-btn.accept:hover {
    background: #3388e6;
}

.cookie-btn.reject {
    background: #666;
    color: white;
}

.cookie-btn.reject:hover {
    background: #555;
}

.cookie-btn.customize {
    background: transparent;
    color: #4da6ff;
    border: 1px solid #4da6ff;
}

.cookie-btn.customize:hover {
    background: rgba(77, 166, 255, 0.1);
}

/* Модальное окно настроек (скрыто по умолчанию) */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-settings-modal.active {
    display: flex;
}

.cookie-settings-content {
    background: white;
    color: #333;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.cookie-settings-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cookie-settings-header h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.cookie-settings-body {
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-header h4 {
    margin: 0;
    color: #333;
}

.cookie-category-toggle {
    position: relative;
}

.cookie-category-toggle input[type="checkbox"] {
    display: none;
}

.cookie-category-toggle label {
    display: block;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.cookie-category-toggle label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cookie-category-toggle input:checked + label {
    background: #4da6ff;
}

.cookie-category-toggle input:checked + label:after {
    transform: translateX(24px);
}

.cookie-category-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cookie-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cookie-btn.save {
    background: #4da6ff;
    color: white;
}

.cookie-btn.cancel {
    background: #666;
    color: white;
}