/*
	Theme Name: Театр им. Савина
	Theme URL: http://komidrama.ru
	Author: Студия цифрового маркетинга «Чехов»
	Author URL: http://chekhovstudio.ru
	Version: 1.0
*/

/* LAYOUT */
@font-face {
	font-family: BebasNeueBold;
	src: url(fonts/BebasNeueBold.otf) format('opentype');
}
@font-face {
	font-family: Attentica;
	src: url(fonts/Attentica.ttf) format('truetype');
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
}
body, html {
	font-family: Candara,Arial,sans-serif;
}
body {
	font-size: 16px;
	line-height: normal;
	color: #2d2d2d;
	background-color: #fff3af;
}
a, button, img, input, textarea {
	border: 0;
	outline: none;
	text-decoration: none;
	-webkit-appearance: none;
}
input[placeholder] {
	text-overflow: ellipsis;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
	display: none;
}
a {
	color: #8d1302;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font-size: 2.5rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.75rem;
}
h4 {
	font-size: 1.5rem;
}
h5 {
	font-size: 1.25rem;
}
h6 {
	font-size: 1rem;
}
strong, b {
	font-weight: bold;
}
p {
	margin-bottom: 1em;
}
ul li {
	list-style-position: inside;
}
img {
	max-width: 100%;
	height: auto;
}
table {
	border-collapse: collapse;
	border-spacing: none;
	width: 100%;
}
.float-right {
	float: right;
}
.float-left {
	float: left;
}
.alignleft {
	float: left;
	margin-right: 10px;
}
.alignright {
	float: right;
	margin-left: 10px;
}
.aligncenter {
	display: block;
	margin: 0 auto;
	text-align: center;
}
.container {
	width: 1260px;
	min-width: 450px;
	margin: 0 auto;
	background-color: #fff;
}
.clear {
	clear: both;
}
.gallery {
	letter-spacing: -0.3em;
	margin: auto;
}
.gallery img {
	width: 100%;
	height: auto;
}
.gallery > .gallery-item {
	letter-spacing: normal;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	margin: 0;
	padding: 10px;
}
.gallery-columns-1 > .gallery-item {
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
}
.gallery-columns-2 > .gallery-item {
	width: 50%;
}
.gallery-columns-3 > .gallery-item {
	width: 33.33333%;
}
.gallery-columns-4 > .gallery-item {
	width: 25%;
}
.gallery-columns-5 > .gallery-item {
	width: 20%;
}
.gallery-columns-6 > .gallery-item, .gallery-columns-7 > .gallery-item, .gallery-columns-9 > .gallery-item {
	width: 16.66666%;
}
.gallery-columns-8 > .gallery-item {
	width: 12.5%;
}
@media (max-width: 74.9em) {
	.gallery-columns-6 > .gallery-item, .gallery-columns-7 > .gallery-item, .gallery-columns-8 > .gallery-item, .gallery-columns-9 > .gallery-item {
		width: 20%;
	}
}
@media (max-width: 61.9em) {
	.gallery-columns-5 > .gallery-item, .gallery-columns-6 > .gallery-item, .gallery-columns-7 > .gallery-item, .gallery-columns-8 > .gallery-item, .gallery-columns-9 > .gallery-item {
		width: 25%;
	}
}
@media (max-width: 47.9em) {
	.gallery-columns-4 > .gallery-item, .gallery-columns-5 > .gallery-item, .gallery-columns-6 > .gallery-item, .gallery-columns-7 > .gallery-item, .gallery-columns-8 > .gallery-item, .gallery-columns-9 > .gallery-item {
		width: 33.33333%;
	}
}
@media (max-width: 31.9em) {
	.gallery-columns-3 > .gallery-item, .gallery-columns-4 > .gallery-item, .gallery-columns-5 > .gallery-item, .gallery-columns-6 > .gallery-item, .gallery-columns-7 > .gallery-item, .gallery-columns-8 > .gallery-item, .gallery-columns-9 > .gallery-item {
		width: 50%;
	}
}
@media (max-width: 27.9em) {
	.gallery-columns-2 > .gallery-item, .gallery-columns-3 > .gallery-item, .gallery-columns-4 > .gallery-item, .gallery-columns-5 > .gallery-item, .gallery-columns-6 > .gallery-item, .gallery-columns-7 > .gallery-item, .gallery-columns-8 > .gallery-item, .gallery-columns-9 > .gallery-item {
		width: 100%;
		padding: 0;
		margin-bottom: 20px;
	}
}

/* HEADER */
.navmenu {
	background-image: -webkit-linear-gradient(bottom, #d5d5d5,#fff);
	background-image: linear-gradient(to top, #d5d5d5,#fff);
	width: 100%;
	position: relative;
}
.navmenu.fixed {
	position: fixed;
	top: 0px;
	width: 1260px;
	z-index: 1000;
}
.navmenu .menu {
	transition: all .3s;
	padding-right: 80px;
}
.navmenu.fixed .menu {
	padding-left: 50px;
}
.navmenu .menu_toggle {
	display: none;
	margin: 10px auto;
	padding: 5px 8px;
	border: 2px solid #7c1400;
	cursor: pointer;
}
.navmenu .menu_toggle span {
	display: block;
	width: 28px;
	height: 3px;
	background: #000;
	margin: 4px auto;
	border-radius: 1px;
}
.navmenu li {
	display: table-cell;
	width: 1%;
	list-style: none;
	vertical-align: middle;
}
.navmenu li a {
	text-transform: uppercase;
	font-size: 1.2rem;
}
.navmenu .current_page_item a {
	color: #000;
}
.navmenu .search {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	bottom: 0;
}
.navmenu .menu_search {
	height: 100%;
}
.navmenu .search_input {
	background: #7c1400;
	border: 0;
	box-shadow: none;
	height: 100%;
	color: #fff;
	text-align: center;
	width: 80px;
	transition: width .3s;
}
.navmenu .menu_search input:focus {
	width: 200px;
	padding: 0 8px;
	text-align: left;
}
.menu li {
	padding: 5px 0;
}
.sub-menu {
	position: absolute;
	display: none;
	left: 0;
	z-index: 999;
	background: #fff;
	top: 100%;
	margin: 0;
	width: 200px;
	box-shadow: 0px 0px 5px #999;
	border-radius: 2px;
}
.sub-menu .sub-menu {
	left: 100%;
	top: 0;
}
.sub-menu li {
	display: block;
	width: 100%;
}
.sub-menu li a {
	display: block;
	width: 100%;
	padding: 0 10px;
}
.menu-item-has-children {
	position: relative;
}
.menu-item-has-children:hover > .sub-menu {
	display: block;
}
.top_block, .menu {
	padding-left: 160px;
}
.logo, .red_block {
	display: table-cell;
	vertical-align: middle;
}
.logo {
	padding-right: 50px;
}
.logo img {
	max-width: none;
	width: 150px;
}
.red_block {
	background-image: -webkit-linear-gradient(bottom,#7c1400,#a82023);
	background-image: linear-gradient(to top,#7c1400,#a82023);
	width: 100%;
	height: 100px;
	text-align: center;
}
.red_block .text {
	color: #FFF3AF;
	border-right: 3px solid;
	padding-right: 15px;
	padding-left: 20px;
	font-size: 26px;
}
.red_block .text h1 {
	font-size: 1em !important;
}
.main_text {
	font-family: BebasNeueBold;
	font-size: 1.35em;
}
.red_block .text, .red_block .season {
	display: table-cell;
	vertical-align: middle;
}
.red_block .season {
	padding-left: 15px;
	color: #FFF3AF;
	font-family: Attentica;
	font-size: 4rem;
	padding-right: 15px;
}
#navigation {
	text-align: center;
	font-size: 20px;
	margin-bottom: 30px;
}
#navigation > * {
	width: 35px;
	height: 35px;
	line-height: 35px;
	display: inline-block;
	margin: 0 5px;
}
#navigation .current {
	background: #8d1302;
	color: #fff;
}
#comments {
	display: block;
	width: 100%;
	background: #fff;
	border-radius: 5px;
	padding: 20px;
	margin: 20px 0;
}
#middle {
	background-image: -webkit-linear-gradient(top,#E0BF8B,rgba(255,255,255,0) 50px);
	background-image: linear-gradient(to bottom,#E0BF8B, rgba(255,255,255,0) 50px);
	background-color: #fff3af;
	min-height: 700px;
	position: relative;
}
#middle:before {
	content: '';
	position: absolute;
	bottom: 0;
	top: 0;
	left: 1%;
	display: block;
	width: 200px;
	background: url("images/monument.png") no-repeat left bottom;
	z-index: 1;
}
#middle .news {
	margin-bottom: 30px;
	margin-top: 1.5rem;
}
#repertuar {
	letter-spacing: -0.3em;
}
#repertuar > * {
	display: inline-block;
	vertical-align: top;
	width: 33.33333%;
	letter-spacing: normal;
	padding: 20px;
}
#repertuar .catItem {
	text-align: center;
}
#repertuar .catItem img {
	max-width: 130px;
	width: 100%;
}
#repertuar .catItem h2 {
	font-size: 1.25rem;
	padding-bottom: 0.5em;
}
.date_cat {
	font-size: 1.2em;
	margin-bottom: 10px;
	font-style: italic;
}
.post_date {
	margin-right: 10px;
}
.title {
	padding-bottom: 20px;
}
.new_img img {
	width: 100%;
}
.main_block {
	width: 100%;
	padding-left: 380px;
	padding-right: 50px;
}
.inner-title {
	padding-top: 1.5rem;
	color: #8d1302;
	text-transform: uppercase;
}
.events_block {
	text-transform: uppercase;
	color: #8d1302;
	font-family: BebasNeueBold;
	padding-bottom: 30px;
}
.events_block a:hover {
	text-decoration: none;
}
.events_block .month_title {
	font-size: 2.5rem;
	padding-top: 1.5rem;
	padding-bottom: 0.6em
}
.events_block .event {
	border-bottom: 1px solid #8d1302;
	width: 100%;
	display: table;
	padding: 5px 10px;
}
.events_block .event.tour {
	/*background: linear-gradient(to top,#005AA3,#43B3CC); */
	border: 2px solid #8d1302;
}
.events_block .event.premiere {
	background: #8d1302;
}
.event.premiere, .event.premiere .event_title, .event.premiere .ev_author {
	color: #FFF3AF;
}
.event.premiere .ev_date {
	color: #FFF3AF !important;
}
.event.premiere .ev_cat {
	color: #fff;
}
.events_block .event > * {
	display: table-cell;
	vertical-align: middle;
}
.events_block .event_spec {
	font-size: 1.4rem;
	text-align: center;
	line-height: 0.8em;
	padding: 0 5px;
}
.events_block .event_title {
	color: #000;
	font-size: 2.5rem;
	text-align: center;
	width: 100%;
}
.events_block .event_date {
	min-width: 70px;
}
.events_block .event_date > * {
	display: inline-block;
}
.events_block .ev_time_day {
	text-align: center;
	margin-left: 5px;
	vertical-align: sub;
}
.events_block .ev_date {
	font-size: 2.5rem;
	color: #8d1302 !important;
}
.events_block .ev_day {
	font-family: Attentica;
	border: 1px solid;
	font-size: 1.4rem;
}
.events_block .event_info {
	min-width: 100px;
	text-align: right;
	font-size: 1.2rem;
}
.events_block .ev_author {
	color: #000;
}
.events_block .ev_cat {
	display: block;
	white-space: nowrap;
}
.events_block .ev_age {
	font-family: Attentica;
	border: 1px solid;
	margin-left: 5px;
	padding: 1px 2px;
	height: 22px;
}
.events_block .event_pos {
	font-family: Attentica;
	border: 1px solid;
	padding: 0 5px;
	text-align: center;
	font-size: 1.4rem;
	line-height: 0.9em;
}
.page_event .event_date {
	color: #8d1302;
	line-height: 4em;
	margin-bottom: 1rem;
}
.page_event .ev_day {
	font-size: 4rem;
}
.page_event .ev_date, .page_event .ev_time {
	font-size: 2rem;
}
.page_event .ev_age {
	color: #2d2d2d;
	font-size: 1.4rem;
	vertical-align: top;
	margin-left: 5px;
}
.page_event .ev_top_block {
	display: table;
	margin-top: 1.5rem;
}
.page_event .ev_top_block > * {
	display: table-cell;
	vertical-align: middle;
}
.page_event .inner-title {
	width: 100%;
}
.page_event .ticket {
	text-align: center;
	color: #fff;
	background: #8d1302;
	border-radius: 4px;
	display: block;
	width: 100%;
	line-height: 50px;
}
.main_block,.sidebar{
	display: table-cell;
	vertical-align: top;
}
.main_block.on-page {
	display: block;
}
.widget {
	padding-right: 1rem;
	padding-bottom: 1rem;
}
.widget ul li {
	list-style: none;
	padding-bottom: 8px;
}
.widget .post-date {
	display: block;
	color: #8d1302;
}
.widget ul li a {
	color: #2d2d2d;
}
.sidebar {
	padding-top: 1.5rem;
}
.sidebar, .widget {
	width: 250px;
}
.caption_widget {
	color: #8d1302;
	text-transform: uppercase;
	font-family: BebasNeueBold;
}
.white_lines {
	display: block;
	position: absolute;
	left: 160px;
	top: 0;
	bottom: 0;
	width: 150px;
}
.line1, .line2 {
	width: 60px;
	background-color: #fff;
	float: left;
	height: 100%
}
.rect1,.rect2,.rect1:before,.rect2:after {
	background-image: -webkit-linear-gradient(top, #EBCE94,#FBECA9);
	background-image: linear-gradient(to bottom, #EBCE94,#FBECA9);
	width: 20px;
	height: 50px;
	display: block;
	margin: 40px auto;
}
.rect1:before {
	content: '';
	margin-top: 30px;
	margin-left: -50px;
}
.rect2:after {
	content: '';
	margin-top: 30px;
	margin-right: -50px;
}
.top_line {
	height: 20px;
	background-color: #f7f7f8;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	box-shadow: 0 5px 10px #EADCD8;
}
.line1 {
	margin-right: 20px;
	margin-left: 5px;
}
.line2 {
	margin-right: 5px;
}
footer {
	background-image: -webkit-linear-gradient(top,#7c1400,#a82023);
	background-image: linear-gradient(to bottom,#7c1400,#a82023);
	padding: 1rem 1rem 1rem 160px;
	color: #FFF3AF;
}
footer h5 {
	text-transform: uppercase;
	margin-bottom: 10px;
}
footer .foot_block > * {
	display: table-cell;
	width: 1%;
	vertical-align: top;
}
footer .foot_proezd {
	text-align: center;
}
footer .foot_social {
	text-align: right;
}
footer .foot_social .vk, footer .foot_social .youtube, footer .foot_social .ins, footer .foot_social .fb {
	display: inline-block;
	background: url("images/social.png") no-repeat;
	width: 40px;
	height: 40px;
	background-size: cover;
	margin-left: 10px;
}
footer .foot_social .vk {
	background-position: 0 0;
}
footer .foot_social .fb {
	background-position: -40px 0;
}
footer .foot_social .ins {
	background-position: -79px 0;
}
footer .foot_social .youtube {
	background-position: -119px 0;
}
footer .desc {
	color: #f6f6f7;
}
footer .ymap {
	cursor: pointer;
}

@media (max-width: 1260px) {
	.container {
		width: 100%;
	}
	.navmenu.fixed {
		left: 0;
		right: 0;
		width: auto;
	}
}
@media (max-width: 1210px) {
	.top_block, .menu {
		padding-left: 2rem;
	}
	footer {
		padding: 1rem 1rem 1rem 2rem;
	}
	.white_lines {
		left: 2rem;
	}
	.main_block {
		padding-left: 250px;
	}
}
@media (max-width: 1080px) {
	.red_block .text {
		font-size: 2.3vw;
	}
	.red_block .season {
		font-size: 5vw;
	}
}
@media (min-width: 981px) {
	.navmenu .menu {
		display: block !important;
	}
}
@media (max-width: 980px) {
	.top_block, .menu {
		padding-left: 2rem;
	}
	.logo {
		padding-right: 10px;
	}
	.white_lines {
		left: 2rem;
	}
	.main_block {
		padding-left: 2rem;
	}
	#middle:before, .white_lines {
		display: none;
	}
	.navmenu li {
		display: block;
		width: 100%;
		text-align: center;
	}
	.navmenu .search {
		position: static;
		height: 35px;
		width: 80%;
		margin: 0 auto;
	}
	.navmenu .search_input {
		width: 100%;
		transition: none;
		padding: 0 8px;
	}
	.navmenu .menu_search input:focus {
		width: 100%;
		text-align: center;
	}
	.navmenu .menu {
		display: none;
		transition: none;
		padding: 0;
	}
	.navmenu .menu_toggle {
		display: block;
	}
}
@media (max-width: 900px) {
	.main_block, .sidebar {
		display: block;
		padding: 0 2rem;
	}
	.sidebar {
		margin-top: 2rem;
		width: auto;
	}
	.sidebar .widget {
		padding-right: 0;
		width: auto;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	.widget ul li {
		font-size: 1.2rem;
	}
	button.mc-toggle {
		top: -13px !important;
		right: 13px !important;
		font-size: 3rem;
	}
}
@media (max-width: 500px) {
	.top_block {
		padding: 0;
	}
	.logo, .red_block {
		display: block;
		width: 100%;
		padding: 0;
		margin: 10px auto;
		height: auto;
	}
	.logo {
		text-align: center;
	}
	.red_block .text {
		font-size: 4vw;
		padding: 20px;
	}
	.red_block .season {
		font-size: 7vw;
	}
	#repertuar > * {
		width: 50%;
	}
	footer .foot_block > * {
		display: block;
		width: 100%;
		text-align: left;
		margin: 10px auto;
	}
}

/* SPECIAL */
#btn_special {
	background: none;
	border: 0;
	outline: 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff !important;
	background: #8d1302;
	border-radius: 3px;
	padding: 10px 5px;
	width: 100%;
	text-align: center;
}
#btn_special:before {
	content: '';
	display: inline-block;
	background: url(http://eue.chekhovstudio.ru/special/eye-white.svg) no-repeat center;
	background-size: contain;
	width: 2em;
	height: 1em;
	margin-right: 5px;
	vertical-align: middle;
}
#btn_special > span {
	display: inline-block;
	vertical-align: middle;
}

body.ch_special_mode #middle, body.ch_special_mode .container {
	background: transparent;
}
body.ch_special_mode #middle:before {
	display: none;
}
body.ch_special_mode .white_lines {
	display: none;
}
body.ch_special_mode .main_block {
	padding-left: 30px;
	padding-right: 30px;
}
body.ch_special_mode footer, body.ch_special_mode .red_block, body.ch_special_mode .navmenu .search_input, body.ch_special_mode #navigation .current, body.ch_special_mode .mc-main.mini .weekend-heading {
	background: #333;
	color: #fff !important;
}
body.ch_special_mode .mc-main th {
	border-color: #333;
}
body.ch_special_mode.ch_no_image .logo img {
	display: block !important;
}
body.ch_special_mode .top_block {
	padding-left: 0;
}
body.ch_special_mode .menu {
	padding-left: 30px !important;
}
body.ch_special_mode .navmenu {
	background: #ddd;
	position: relative !important;
}
body.ch_special_mode .navmenu li a {
	font-weight: 600;
	color: #000 !important;
	font-size: 1.1em;
}
body.ch_special_mode #btn_special {
	background: #333;
}