/*GALLERY*/
.calendar-gallery {
	position:relative;
	background:#f0eed8;
	padding: 12px 20px 18px 20px;
	margin: 0 0 53px 0;
	min-width: 165px;
}
.calendar-gallery p {
	padding: 0 0 7px 0;
}
.calendar-gallery .hdr{position:relative;top:-14px;float:left;width:100%;height:52px;font-family:Georgia;font-size:36px;font-weight:400;color:#fff;text-align:center;background:url(/www-include/decor/gl/header.png) no-repeat left top;padding:6px 0 0}
.calendar-gallery .main-frame{
    position:relative;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
	overflow-x:hidden;
	margin:20px auto 0
}
.calendar-gallery .main-frame ul {display: -webkit-box;display: -ms-flexbox;display: flex; position:absolute;top:0;left:0;list-style:none;width:11480px}
.calendar-gallery .arr{
	position:absolute;
	bottom: 21px;
	float:left;
	width:20px;
	height:70px;
	outline:none;
	text-indent:-100000px;
	background:url(/www-include/decor/gl/arrows.png) no-repeat -38px top;
}
.calendar-gallery .prev{
	left:22px;
	background-position: -20px 0;
}
.calendar-gallery .prev:hover, .calendar-gallery .prev.act{background-position:0 0;}
.calendar-gallery .arr.disabled{cursor:default}
.calendar-gallery .prev.disabled{background-position:-40px 0}
.calendar-gallery .next{
	right:22px;
	background-position: -80px 0;
}
.calendar-gallery .next:hover,.calendar-gallery .next.act{background-position:-100px 0}
.calendar-gallery .next.disabled{background-position:-60px 0}
.calendar-gallery .preview{position:relative;width: 90%;height:77px;overflow:hidden;margin:0 auto;padding:3px 0 3px 3px;}
.calendar-gallery .preview .prev{top:0;left:0;width:12px;height:45px;background-position:-228px 0}
.calendar-gallery .preview .next{top:0;right:0;width:12px;height:45px;background-position:-228px -45px}
.calendar-gallery .preview ul{position:absolute;top:3px;left:0;list-style:none;float:left;width:max-content;}
.calendar-gallery .preview ul li{position:relative;float:left;width:77px;}
.calendar-gallery .preview ul li a{float:left; margin: 0 4px 0 0;outline:none}
.calendar-gallery .preview ul li a.last{margin: 0;}
.calendar-gallery .preview ul li img{opacity:0.6;filter:alpha(opacity=60);margin:0 0 0 3px}
.calendar-gallery .preview ul li img.act-image{opacity:1;filter:alpha(opacity=100)}
.calendar-gallery .preview .frame {position:absolute;top:0;left:0;width:75px;height:99%;cursor:pointer; border: 1px solid black;}
.calendar-gallery .main-frame ul li,.calendar-gallery .preview ul li,.search-form .switcher li{float:left}
.calendar-gallery .preview ul li a{
	width: 72px;
	height: 70px;
	overflow: hidden;
}
.calendar-gallery .main-frame ul li{width:590px; margin:0; padding: 0; height: inherit !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
}

.calendar-gallery .main-frame ul li a {
    display: block;
}


.calendar-gallery .main-frame ul li a img { width: 100%; padding: 0;}
.calendar-gallery ul li .hide {display:none}
.calendar-gallery .dcr{
	overflow-y: auto;
	padding: 5px 10px;
	margin: 10px 0;
}
.calendar-gallery hr {
	width: 100%;
	height: 1px;
	background: #4e794f;
	border: none;
}
.calendar-gallery .dcr h3{font-family:Georgia;font-size:18px;font-weight:700;padding:7px 0 3px}
.calendar-gallery .dcr p{font-family:Tahoma;font-size:12px}
.calendar-gallery a { color: #000 }
.text .info {
    font-size: 11px;
}

@media screen and (max-width: 768px) {

    .calendar-gallery .main-frame ul li{margin:0; padding: 0;}

    .calendar-gallery .main-frame ul li a { display: block;}

    .calendar-gallery .main-frame ul li a img { width: 100%; padding: 0;}

    .calendar-gallery .preview ul li a { display: block; margin-right: 5px;}

    .calendar-gallery .preview ul li a img {padding: 0;}
}
    
    @media screen and (max-width: 480px) {

        .calendar-gallery .prev {
            left: 0;
            background-position: -20px 0;
        }

        .calendar-gallery .next {
            right: 0;
        }

        .calendar-gallery .arr {
            bottom: 15px;
        }

        .calendar-gallery .main-frame ul li {
            margin: 0;
            padding: 0;
        }

        .calendar-gallery {
            overflow: hidden;

            padding-left: 0;
            padding-right: 0;
        }

    }