/* home page */
.home .home-slider-block {
	overflow: hidden;
}
.home .home-slider-block .slick-gallery {
	max-height: 580px; /* loading bug fix */
}
.home .home-slider-block .slick-gallery .slick-dots {
	position: absolute;
	width: calc(50% - 20px);
	left: calc(50% + 20px);
	bottom: 0;
	margin-bottom: 0;
	text-align: left;
}
.home .home-slider-block .entry-summary {
	position: relative;
	font-size: 0;
}
.home .home-slider-block .entry-summary > a {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.home .home-slider-block .entry-summary .image {
	display: inline-block;
	width: calc(50% - 20px);
	margin-right: 20px;
	vertical-align: top;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.home .home-slider-block .entry-summary .image {
	background-color: #fff;
}
.home .home-slider-block .entry-summary .text-content {
	display: inline-block;
	width: 50%;
	padding-left: 20px;
	vertical-align: top;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.home .home-slider-block .entry-summary .category-list {
	margin-bottom: 8px;
}
.home .home-slider-block .entry-summary .category-list a {
	position: relative;
	z-index: 2;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.home .home-slider-block .entry-summary .text-content h4 {
	height: 206px;
	font-size: 40px;
	font-weight: bold;
	margin-bottom: 14%;
	overflow: hidden;

	-o-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
.home .home-slider-block .entry-summary:hover .text-content h4 {
	color: #666 !important;
}
.home .home-slider-block .entry-summary .text-content p {
	display: block;
	height: 67px;
	overflow: hidden;
}
.home .home-slider-block .entry-summary .text-content .extra {
	position: absolute;
	bottom: 40px;
	font-weight: bold;
	/* color: #b3b3b3; */
}
.home .home-slider-block .entry-summary .text-content .extra .date {
	font-size: 1.1em;
}
.home .home-slider-block .entry-summary .text-content .extra .term-list a {
	position: relative;
	z-index: 2;
}
@media all and (max-width: 1400px) {
	.home .home-slider-block .slick-gallery .slick-prev,
	.home .home-slider-block .slick-gallery .slick-next {
		display: none !important;
	}
}
@media all and (max-width: 1200px) {
	.home .home-slider-block .entry-summary .text-content h4 {
		margin-bottom: 40px;
	}
}
@media all and (max-width: 1000px) {
	.home .home-slider-block .slick-gallery {
		max-height: none; /* loading bug fix */
	}
	.home .home-slider-block .slick-gallery .slick-dots {
		position: relative;
		width: 100%;
		left: auto;
		bottom: auto;
		margin-bottom: 30px;
		text-align: center;
	}
	.home .home-slider-block .entry-summary .image {
		display: block;
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
		padding-right: 0;
	}
	.home .home-slider-block .entry-summary .text-content {
		display: block;
		width: 100%;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-top: 30px;
		text-align: center;
	}
	.home .home-slider-block .entry-summary .text-content h4 {
		height: auto;
		font-size: 36px;
		margin-bottom: 20px;
	}
	.home .home-slider-block .entry-summary .text-content p {
		height: auto;
	}
	.home .home-slider-block .entry-summary .text-content .extra {
		position: relative;
		bottom: auto;
	}
}
@media all and (max-width: 800px) {
	.home .home-slider-block .entry-summary .text-content h4 {
		font-size: 24px;
	}
}

.home #block-2 .block-title {
	margin-bottom: 20px;
	text-align: left;
}
.home #block-2 .event-table {
	border-top: 3px solid #1a1a1a;
	font-size: 0;
}
.home #block-2 .event-table > ul > li {
	display: inline-block;
	position: relative;
	width: calc(50% - 20px);
	margin-left: 20px;
	padding: 30px 20px;
	border-bottom: 1px solid #b3b3b3;
	border-right: 1px solid #b3b3b3;
	vertical-align: top;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	-o-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	-webkit-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
.home #block-2 .event-table > ul > li:hover {
	background-color: #ffff4d;
}
.home #block-2 .event-table > ul > li > a {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.home #block-2 .event-table > ul > li .left {
	display: inline-block;
	width: 130px;
	vertical-align: top;
	color: #999;

	-o-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
.home #block-2 .event-table > ul > li:hover .left {
	color: #b3b336 !important;
}
.home #block-2 .event-table > ul > li .left .date {
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	color: inherit;
}
.home #block-2 .event-table > ul > li .left .time {
	font-family: 'Raleway', sans-serif;
	font-size: 36px;
	color: inherit;
	line-height: 1;
}
.home #block-2 .event-table > ul > li .right {
	display: inline-block;
	width: calc(100% - 130px);
	vertical-align: top;
}
.home #block-2 .event-table > ul > li .right h4 {
	height: 50px;
	margin-bottom: 30px;
	font-weight: bold;
	font-size: 20px;
	overflow: hidden;

	-o-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
.home #block-2 .event-table > ul > li:hover .right h4 {
	color: #666;
}
.home #block-2 .event-table > ul > li .right p {
	display: block;
	height: 66px;
	margin-bottom: 2px;
	color: #999;
	overflow: hidden;

	-o-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
.home #block-2 .event-table > ul > li:hover .right p {
	color: #b3b336 !important;
}
.home #block-2 .event-table > ul > li .right .term-list a {
	position: relative;
	z-index: 2;
	font-weight: bold;
}
.home #block-2 .all-events {
	margin-top: 20px;
}
@media all and (min-width: 801px) {
	.home #block-2 .event-table > ul > li:nth-child(2n+1) {
		margin-left: 0;
		width: 50%;
	}
	.home #block-2 .event-table > ul > li:nth-child(2n+2) {
		border-right: none;
	}
	.home #block-2 .event-table > ul > li:nth-child(2n+2) > a {
		left: -20px;
		width: calc(100% + 20px);
	}
}
@media all and (max-width: 800px) {
	.home #block-2 .block-title {
		text-align: center;
	}
	.home #block-2 .event-table > ul > li {
		display: block;
		width: 100%;
		margin-left: 0;
		padding: 20px;
		border-bottom: 1px solid #b3b3b3;
		border-right: none;
	}
	.home #block-2 .event-table > ul > li .left {
		display: block;
		width: 100%;
		margin-bottom: 20px;
	}
	.home #block-2 .event-table > ul > li .right {
		display: block;
		width: 100%;
	}
	.home #block-2 .event-table > ul > li .right h4 {
		height: auto;
		margin-bottom: 20px;
	}
}
@media all and (max-width: 600px) {
	.home #block-2 .event-table > ul > li .right p {
		height: 90px;
	}
}

.home #block-3b {
	overflow: visible;
	margin-top: 140px;
}
.home #block-3b .grey-back {
	position: absolute;
	top: -80px;
	left: 0;
	width: 100%;
	height: 370px;
	background-color: #b3b3b3;
}
@media all and (max-width: 1000px) {
	.home #block-3b {
		margin-top: 80px;
	}
	.home #block-3b .grey-back {
		top: -40px;
		height: 320px;
	}
}

.home #block-3 {
	background-color: #1a1a1a;
}
.home #block-3 .block-title {
	padding-top: 50px;
	margin-bottom: 50px;
	color: #fff;
}
.home #block-3 .block-title a:hover {
	color: #ffff4d !important;
}
.home #block-3 .film-table {
	font-size: 0;
}
.home #block-3 .film-table ul > li {
	display: inline-block;
	position: relative;
	width: 33.33%;
	padding: 20px 20px 80px 20px;
	border-left: 1px solid #4d4d4d;
	vertical-align: top;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.home #block-3 .film-table ul > li:first-child {
	border-left: none;
}
.home #block-3 .film-table ul > li > a {
	display: block;
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.home #block-3 .film-table ul > li .time {
	margin-bottom: 4px;
	font-size: 16px;
	font-family: 'Raleway', sans-serif;
	color: #999;
}
.home #block-3 .film-table ul > li .image {
	width: 170px;
	margin-bottom: 20px;
}
.home #block-3 .film-table ul > li .image {
	background-color: #666;
}
.home #block-3 .film-table ul > li .image:before {
	padding-top: 133%; /* (height/width)*100 */
}
.home #block-3 .film-table ul > li .text-content {
	color: #999;
}
.home #block-3 .film-table ul > li .text-content h4 {
	color: #fff;
	text-transform: uppercase;
	font-size: 26px;

	-o-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
.home #block-3 .film-table ul > li:hover .text-content h4  {
	color: #ffff4d;
}
.home #block-3 .film-table ul > li .date {
	position: absolute;
	bottom: 40px;
	font-size: 14px;
	font-family: 'Raleway', sans-serif;
	color: #fff;
}
@media all and (max-width: 800px) {
	.home #block-3 .film-table ul > li {
		display: block;
		width: 100%;
		padding: 0 0 40px 0;
		border-left: none;
		text-align: center;
	}
	.home #block-3 .film-table ul > li .image {
		margin-left: auto;
		margin-right: auto;
	}
	.home #block-3 .film-table ul > li .text-content {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
	.home #block-3 .film-table ul > li .date {
		position: relative;
		bottom: auto;
		margin-top: 20px;
	}
}

.home #block-4 a > img:last-child {
	display: none;
}
@media all and (max-width: 800px) {
	.home #block-4 a > img:first-child {
		display: none;
	}
	.home #block-4 a > img:last-child {
		display: block;
	}
}

.home #block-5 .grid {
	margin-left: -40px;
	margin-top: -60px;
}
.home #block-5 .grid .col {
	padding-left: 40px;
	padding-top: 60px;
}
.home #block-5 .events.boxy {
	background-color: #ffff4d;
	padding: 32px 42px;
	text-align: center;
}
.home #block-5 .events.boxy:last-child {
	margin-top: 40px;
	background-color: #f2f2f2;
}
.home #block-5 .events > ul > li {
	position: relative;
	padding-top: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #b3b3b3;
}
.home #block-5 .events h3 {
	padding-bottom: 20px;
	border-bottom: 3px solid #1a1a1a;
	font-size: 24px;
	text-transform: uppercase;
}
.home #block-5 .events.boxy h3 {
	padding-bottom: 40px;
	border-bottom: none;
}
.home #block-5 .events .text-content h4 {
	font-family: 'Merriweather', serif;
	font-size: 18px;
	margin-bottom: 40px;
	line-height: 1.6;
	letter-spacing: 0px;
}
.home #block-5 .events .text-content a:hover {
	color: #666;
}
.home #block-5 .events.boxy:first-child .text-content a:hover {
}
.home #block-5 .events.boxy .text-content h4 {
	margin-bottom: 0;
	font-size: 20px;
}
.home #block-5 .events:not(.boxy) .no-events {
	margin-top: 20px;
}
.home #block-5 .events .date {
	font-family: 'Raleway', sans-serif;
	color: #b3b3b3;
}
.home #block-5 .events.boxy .slick-dots {
	margin-top: 40px;
	margin-bottom: 0;
}
.home #block-5 .events.boxy:first-child .date {
	color: #b3b336;
}
.home #block-5 .events.boxy:first-child .slick-dots li button {
	border-color: #b3b336;
}
.home #block-5 .events.boxy:first-child .slick-dots li:hover button {
	background-color: #b3b336;
}
.home #block-5 .all-events {
	margin-top: 20px;
}
.home #block-5 .events.boxy .all-events {
	margin-top: 40px;
}
@media all and (max-width: 800px) {
	.home #block-5 .grid .col {
		text-align: center;
	}
}


/* single event */
.single #head-block {
	margin-bottom: 50px;
	overflow: hidden;
}
.single #head-block .container {
	max-width: 720px;
}
.single #head-block .category-list {
	margin-bottom: 0.6em;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	text-transform: uppercase;
}
.single #head-block .category-list li {
	letter-spacing: 2px;
}
.single #head-block .date {
	font-size: 17px;
	margin-bottom: 0;
}
.single #head-block .author,
.single #head-block .location {
	font-size: 17px;
}
@media all and (max-width: 800px) {
	.single #head-block h1 {
		font-size: 32px;
	}
}

.single #cover-block .share-container {
	position: absolute;
	left: -80px;
	top: 10px;
}
@media all and (max-width: 1200px) {
	.single #cover-block .share-container {
		display: none;
	}
}

.single-post #main-block {
	overflow: hidden;
}
.single-post #main-block .text-content > .gallery,
.single-post #main-block .text-content > .wp-gallery {
	width: 100vw;
	max-width: none;
	margin: 0 calc(-50vw + 50%);
}
.single-post #main-block .slick-gallery .slick-item {
	overflow: hidden;
	padding-left: 1vw;
	padding-right: 1vw;
	opacity: 0.6;

	-o-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.single-post #main-block .slick-gallery .slick-item.slick-current {
	opacity: 1;
}
.single-post #main-block .slick-gallery .slick-prev {
	left: 3%;
	top: calc(50% - 16px);
}
.single-post #main-block .slick-gallery .slick-next {
	right: 3%;
	top: calc(50% - 16px);
}
.single-post #main-block .slick-gallery .slick-item img{
	width: auto;
	height: 30vw;
	max-height: 526px;
}
@media all and (max-width: 800px) {
	.single-post #main-block .text-content {
		text-align: center;
	}
}

.single-post #gallery-block {
	padding-top: 40px;
	padding-bottom: 60px;
	background-color: #f2f2f2;
}
.single-post #gallery-block .grid {
	margin-left: -40px;
}
.single-post #gallery-block .grid > * {
	padding-left: 40px;

	-o-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.single-post #gallery-block .grid > *:hover {
	opacity: 0.8;
}
.single-post #fancybox-wrap .fancybox-title-outside {
	font-family: 'Merriweather', serif;
	color: #1a1a1a;
	font-size: 14px;
}
@media all and (max-width: 800px) {
	.single-post #gallery-block .grid {
		margin-left: -30px;
		margin-top: -30px;
	}
	.single-post #gallery-block .grid > * {
		padding-left: 30px;
		padding-top: 30px;
	}
}
@media all and (max-width: 600px) {
	.single-post #gallery-block .grid {
		margin-left: -20px;
		margin-top: -20px;
	}
	.single-post #gallery-block .grid > * {
		padding-left: 20px;
		padding-top: 20px;
	}
}

.single-post #film-info-block .grid {
	margin-left: -40px;
}
.single-post #film-info-block .grid .col {
	padding-left: 40px;
}

/* single staff */
.single-staff #head-block .info {
	color: #666;
}

.single-staff #avatar-block > .container {
	max-width: 400px;
}
.single-staff #avatar-block > .container .image {
	max-width: 400px;
	max-height: 400px;
	overflow: hidden;
	font-size: 0;

	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

/* about page */
.page-template-page-about #head-block {
	display: block;
	overflow: visible;
}
.page-template-page-programs #head-block .links,
.page-template-page-about #head-block .links {
	margin-top: -10px;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.page-template-page-programs #head-block .links > a,
.page-template-page-about #head-block .links > a {
	display: inline-block;
	margin-right: 25px;
	margin-top: 10px;
	white-space: nowrap;
}
.page-template-page-programs #head-block .links > a:last-child,
.page-template-page-about #head-block .links > a:last-child {
	margin-right: 0;
}
@media all and (max-width: 1000px) {
	.page-template-page-about #head-block .links {
		font-size: 12px;
	}
	.page-template-page-about #head-block .links > a {
		margin-right: 12px;
	}
}
@media all and (max-width: 800px) {
	.page-template-page-about #head-block .links {
		font-size: 14px;
	}
	.page-template-page-about #head-block .links > a {
		margin-right: 25px;
	}
}

.page-template-page-about #quotes-block {
	background-color: #f2f2f2;
	padding-top: 65px;
	padding-bottom: 65px;
}
.page-template-page-about #quotes-block .quotes {
	font-size: 0;
}
.page-template-page-about #quotes-block .quotes > * {
	display: inline-block;
	vertical-align: top;
	width: 50%;
	padding-top: 30px;
	padding-bottom: 30px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.page-template-page-about #quotes-block .quotes > *:first-child {
	padding-right: 4%;
	border-right: 1px solid #b3b3b3;
}
.page-template-page-about #quotes-block .quotes > *:last-child {
	padding-left: 4%;
}
.page-template-page-about #quotes-block .quotes .text-content em {
	font-size: 18px;
}
@media all and (max-width: 800px) {
	.page-template-page-about #quotes-block {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.page-template-page-about #quotes-block .quotes > *,
	.page-template-page-about #quotes-block .quotes > *:first-child,
	.page-template-page-about #quotes-block .quotes > *:last-child {
		display: block;
		width: 100%;
		padding: 0;
		text-align: center;
	}
	.page-template-page-about #quotes-block .quotes > *:first-child {
		border-right: none;
		margin-bottom: 40px;
	}
	.page-template-page-about #quotes-block .quotes .text-content em {
		font-size: 16px;
	}
}

/* premises page */
.page-template-page-premises #head-block {
	display: block;
}
.page-template-page-premises #head-block .text-content em {
	font-size: 14px;
}
.page-template-page-premises #head-block .lease {
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* single premises */
.single-premises #head-block h1 {
	text-transform: uppercase;
}
.single-premises #details-block .grid > .col {
	border: 3px solid #1a1a1a;
	padding: 30px 20px;
}
.single-premises #details-block .grid > .col:nth-child(2),
.single-premises #details-block .grid > .col:nth-child(3) {
	border-left: none;
}
.single-premises #details-block .grid > .col svg {
	width: 22px;
	margin-bottom: 0px;
}
@media all and (max-width: 800px) {
	.single-premises #details-block .grid {
		margin-top: -20px;
	}
	.single-premises #details-block .grid > .col {
		border: none;
		padding: 20px 0 0 20px;
		text-align: center;
	}
}

.single-premises #main-block .text-content {

}
@media all and (max-width: 800px) {
	.single-premises #main-block .text-content {
		text-align: center;
	}
}

/* staff page */
.page-template-page-staff #head-block {
	display: block;
	overflow: visible;
}
.page-template-page-staff #head-block .filter {
	width: 350px;
}
.page-template-page-staff #head-block .filter > ul,
.page-template-page-staff #head-block .filter > ul > li.filter-item.active {
	background-color: #fff;
}
.page-template-page-staff #head-block .filter li.category-7,
.page-template-page-staff #head-block .filter li.category-47 {
	display: none;
}
@media all and (max-width: 600px) {
	.page-template-page-staff #head-block .filters .filter {
		width: 100%;
	}
}

/* programs page */
.page-template-page-programs #head-block {
	display: block;
}
.page-template-page-programs #head-block .text-content em {
	font-size: 14px;
}

/* belgrade window page */
.page-template-page-bgw-collections #head-block {
	display: block;
}

.page-template-page-bgw-collections #main-block h2 {
	text-align: center;
	margin-bottom: 80px;
	font-size: 24px;
	text-transform: uppercase;
}
@media all and (max-width: 800px) {
	.page-template-page-bgw-collections #main-block h2 {
		margin-bottom: 50px;
	}
}

/* single bg window collection */
.single-collection #gallery-block .slick-gallery .slick-item img{
	width: auto;
	height: 526px;
	max-height: 526px;
}
@media all and (max-width: 800px) {
	.single-collection #gallery-block .slick-gallery .slick-item img{
		height: calc(67vw - 40px);
	}
}

/* about programs page */
.page-template-page-about-programs #title-block {
	text-transform: uppercase;
	text-align: center;
}
.page-template-page-about-programs #title-block .container {
	max-width: 720px;
}
.page-template-page-about-programs #head-block {
	display: block;
}
.page-template-page-about-programs #head-block .container {
	min-height: 130px;
}
.page-template-page-about-programs #head-block .text-content a {
	text-decoration: underline;
}
.page-template-page-programs #staff-block h2,
.page-template-page-about-programs #staff-block h2 {
	margin-bottom: 40px;
	padding-bottom: 24px;
	border-bottom: 3px solid #1a1a1a;
	font-size: 24px;
	text-transform: uppercase;
}
.page-template-page-programs #staff-block .entry-summary,
.page-template-page-about-programs #staff-block .entry-summary {
	font-size: 0;
}
.page-template-page-programs #staff-block .image,
.page-template-page-about-programs #staff-block .image {
	display: inline-block;
	width: 30%;
	max-width: 150px;
	margin: 0 auto;
	vertical-align: middle;
	overflow: hidden;

	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
.page-template-page-programs #staff-block .text-content,
.page-template-page-about-programs #staff-block .text-content {
	display: inline-block;
	width: 60%;
	margin-left: 10%;
	vertical-align: middle;
}
.page-template-page-programs #staff-block .text-content > *,
.page-template-page-about-programs #staff-block .text-content > * {
	margin-bottom: 0;
}
.page-template-page-programs #staff-block .text-content h4,
.page-template-page-about-programs #staff-block .text-content h4 {
	font-family: 'Merriweather', serif;
	font-size: 1em;
	font-weight: bold;
}
.page-template-page-programs #staff-block .text-content .main-text,
.page-template-page-about-programs #staff-block .text-content .main-text {
	color: #999;
}

.page-template-page-about-programs #info-block ul > li {
	margin-bottom: 3px;
}
.page-template-page-about-programs #info-block ul > li:last-child {
	margin-bottom: 0;
}
.page-template-page-about-programs #info-block ul > li .head {
	position: relative;
	display: table;
	width: 100%;
	height: 68px;
	margin-bottom: 3px;
	padding: 0 70px 0 30px;
	color: #fff;
	background-color: #1a1a1a;
	cursor: pointer;
	overflow: hidden;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	-o-transition: color 0.2s, background-color 0.2s;
	-moz-transition: color 0.2s, background-color 0.2s;
	-webkit-transition: color 0.2s, background-color 0.2s;
	transition: color 0.2s, background-color 0.2s;
}
.page-template-page-about-programs #info-block ul > li.active .head {
	color: #1a1a1a;
	background-color: #f2f2f2;
}
.page-template-page-about-programs #info-block ul > li .head h3 {
	display: table-cell;
	font-size: 20px;
	text-transform: uppercase;
	vertical-align: middle;
}
.page-template-page-about-programs #info-block ul > li .head .close {
	position: absolute;
	top: 0;
	right: 0;
	width: 66px;
	height: 100%;
	border-left: 3px solid #fff;
}
.page-template-page-about-programs #info-block ul > li .head .close .line {
	background-color: #fff;

	-o-transition: background-color 0.2s, transform 0.2s;
	-moz-transition: background-color 0.2s, transform 0.2s;
	-webkit-transition: background-color 0.2s, -webkit-transform 0.2s;
	transition: background-color 0.2s, transform 0.2s;

	-ms-transform: rotate(45deg) scale(1) !important;
	-webkit-transform: rotate(45deg) scale(1) !important;
	transform: rotate(45deg) scale(1) !important;
}
.page-template-page-about-programs #info-block ul > li .head:hover .close > div .line,
.page-template-page-about-programs #info-block ul > li.active .head:hover .close > div .line {
	background-color: #ffff4d;
}
.page-template-page-about-programs #info-block ul > li .head .close > div {
	margin: 17px 18px;

	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
}
.page-template-page-about-programs #info-block ul > li.active .head .close > div .line {
	background-color: #1a1a1a;

	-ms-transform: rotate(0deg) scale(1.1) !important;
	-webkit-transform: rotate(0deg) scale(1.1) !important;
	transform: rotate(0deg) scale(1.1) !important;
}

.page-template-page-about-programs #info-block ul > li .text-content {
	display: none;
	padding: 20px 30px;
	color: #1a1a1a;
	background-color: #f2f2f2;
}
.page-template-page-about-programs #info-block ul > li .text-content a {
	text-decoration: underline;
}
@media all and (max-width: 600px) {
	.page-template-page-about-programs #info-block ul > li .head {
		padding: 0 70px 0 20px;
	}
	.page-template-page-about-programs #info-block ul > li .text-content {
		padding: 20px;
	}
}

.page-template-page-about-programs #main-block .post-list {
	background-color: #f2f2f2;
}

/* friends page */
.page-template-page-friends #head-block {
	display: block;
}
.page-template-page-friends #head-block h1 {
	text-transform: uppercase;
	text-align: center;
}

.page-template-page-friends #main-block .container {
	background-color: #fff;
	padding-top: 40px;
}
.page-template-page-friends .friends-list {
	margin-bottom: 60px;
}
.page-template-page-friends .friends-list:last-child {
	margin-bottom: 0;
}
.page-template-page-friends .friends-list h2 {
	margin-bottom: 40px;
	font-size: 24px;
	text-transform: uppercase;
}
.page-template-page-friends .friends-list ul {
	font-size: 0;
	margin-left: -5%;
	margin-top: -5%;
}
.page-template-page-friends .friends-list ul > li {
	position: relative;
	display: inline-block;
	width: 28.33%;
	margin-left: 5%;
	margin-top: 5%;
}
.page-template-page-friends .friends-list ul > li a {
	position: absolute;
	z-index: 1;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.page-template-page-friends .friends-list ul > li .image {
	background-repeat: no-repeat;
	background-size: 100% auto;
}
.page-template-page-friends .friends-list ul > li .image > div {
	-webkit-background-size: 150px auto;
	-moz-background-size: 150px auto;
	-o-background-size: 150px auto;
	background-size: 150px auto;

	background-position: center;
}
.page-template-page-friends .friends-list ul > li .image {
	background-color: #fff;
}
.page-template-page-friends .friends-list ul > li .image:before {
	padding-top: 72%; /* (height/width)*100 */
}
@media all and (max-width: 640px) {
	.page-template-page-friends .friends-list ul {
		 margin-left: 0;
		 margin-top: 0;
	}
	.page-template-page-friends .friends-list h2 {
		text-align: center;
	}
	.page-template-page-friends .friends-list ul > li {
		width: 100%;
		display: block;
		max-width: 300px;
		margin: 10% auto 0 auto;
	}
	.page-template-page-friends .friends-list ul > li:first-child {
		margin-top: 0;
	}
}

/* contact page */
.page-template-page-contact #title-block h1 {
	text-transform: uppercase;
	text-align: center;
}

.page-template-page-contact .info > div {
	margin-bottom: 60px;
}
.page-template-page-contact .info ul > li {
	margin-bottom: 0.5em;
}
.page-template-page-contact .info ul > li:last-child {
	margin-bottom: 0;
}
.page-template-page-contact .info ul > li svg {
	display: inline-block;
	width: 24px;
	margin-right: 25px;
	vertical-align: middle;
}
.page-template-page-contact .info ul > li span {
	display: inline-block;
	vertical-align: middle;
}
.page-template-page-contact .info .address ul > li:last-child svg {
	opacity: 0;
}
.page-template-page-contact .info .phone ul > li svg {
	opacity: 0;
}
.page-template-page-contact .info .phone ul > li:first-child svg {
	opacity: 1;
}
.page-template-page-contact .info .social-links ul > li {
	display: block;
	width: auto;
	margin-left: 0;
	margin-top: 18px;
}
.page-template-page-contact .info .social-links ul > li:first-child {
	margin-top: 0;
}
.page-template-page-contact .info .social-links ul > li a {
	display: inline-block;
	fill: #1a1a1a;
}
.page-template-page-contact .info .social-links ul > li a:hover {
	fill: #666 !important;
}
.page-template-page-contact .info .social-links ul > li a svg {
	display: inline-block;
	width: 24px;
	margin-right: 25px;
	vertical-align: middle;
}
.page-template-page-contact .info .social-links ul > li a span {
	display: inline-block;
	vertical-align: middle;
	font-size: 14px;
}

.page-template-page-contact .wpcf7-form div.field:not(.submit):not(.captcha) {
	border: 3px solid #1a1a1a;
	border-bottom: none;
}
.page-template-page-contact .wpcf7-form div.field.last {
	border-bottom: 3px solid #1a1a1a !important;
}
.page-template-page-contact .wpcf7-form div.field.submit {
	position: relative;
	text-align: right;
	margin-top: 40px;
	overflow-x: hidden;
}
.page-template-page-contact .wpcf7-form div.field input:not([type="submit"]),
.page-template-page-contact .wpcf7-form div.field textarea {
	border-color: transparent;
	background-color: transparent;
	padding: 24px 20px;
}
.page-template-page-contact .wpcf7-form div.field textarea {
	min-height: 5em;
	max-height: 30em;
}
.page-template-page-contact .wpcf7-form div.field.captcha {
	overflow: hidden;
	text-align: right;
}
.page-template-page-contact .wpcf7-form div.field.captcha .wpcf7-not-valid-tip {
margin-top: 5px;
}
.page-template-page-contact .wpcf7-form div.field.captcha .wpcf7-recaptcha > div {
	margin-left: auto;
}
.page-template-page-contact .wpcf7-form div.field input[type="submit"] {
	max-width: 220px;
	padding: 14px 20px;
	text-transform: uppercase;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 2px;
}
.page-template-page-contact .wpcf7-form div.field.submit .ajax-loader {
	position: absolute;
	top: 30%;
	right: -25px;
}
.page-template-page-contact .wpcf7-form div.field .wpcf7-not-valid-tip {
	padding: 0px 20px 24px 20px;
	font-size: 0.9em;
}
.page-template-page-contact .wpcf7-form .wpcf7-response-output {
	margin: 40px 0 0 0;
}

/* documentation page */
.page-template-page-documentation #head-block {
	display: block;
}
.page-template-page-documentation #head-block h1 {
	text-transform: uppercase;
	text-align: center;
}

.page-template-page-documentation #main-block .documents h2 {
	display: block;
	margin-top: 3px;
	margin-bottom: 3px;
	padding: 31px 40px 30px 40px;
	color: #fff;
	background-color: #1a1a1a;
	font-size: 20px;
	text-transform: uppercase;
}
.page-template-page-documentation #main-block .documents:first-child h2 {
	margin-top: 0;
}
.page-template-page-documentation #main-block .documents ul {
	padding: 20px 40px;
	background-color: #f2f2f2;
}
.page-template-page-documentation #main-block .documents ul > li {
	margin-bottom: 18px;
	white-space: nowrap;
}
.page-template-page-documentation #main-block .documents ul > li:last-child {
	margin-bottom: 0;
}
.page-template-page-documentation #main-block .documents ul > li a > * {
	display: inline-block;
	vertical-align: middle;
}
.page-template-page-documentation #main-block .documents ul > li a svg {
	width: 26px;
}
.page-template-page-documentation #main-block .documents ul > li a span {
	margin-left: 30px;
	white-space: normal;
}
@media all and (max-width: 600px) {
	.page-template-page-documentation #main-block .documents h2 {
		padding: 31px 30px 30px 30px;
	}
	.page-template-page-documentation #main-block .documents ul {
		padding: 20px 30px;
	}
	.page-template-page-documentation #main-block .documents ul > li a span {
		margin-left: 20px;
	}
}

/* cinema page */
.page-template-page-cinema #title-block h1 {
	text-align: center;
	text-transform: uppercase;
}
.page-template-page-cinema #head-block {
	display: block;
}

.page-template-page-cinema #block-1 .block-title h3,
.page-template-page-cinema #main-block .block-title h3 {
	font-size: 32px;
	text-transform: uppercase;
}

/* archives */
.blog #head-block {
	margin-bottom: 40px;
	text-transform: uppercase;
}
.blog #head-block h1 {
	margin-left: 0;
}
.archive #head-block h1 {
	font-size: 0;
	text-align: center;
	text-transform: uppercase;
}
.archive #head-block h1 span {
	font-size: 40px;
	color: #1a1a1a;
}
#filter-block .filters {
	margin-left: -20px;
	font-size: 0;
}
#filter-block .filters .filter {
	display: inline-block;
	width: calc(33.33% - 14px);
	margin-left: 20px;
	padding-left: 20px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#filter-block .filters .filter:first-child {
	margin-left: 0;
}
#filter-block .filters .filter > ul,
#filter-block .filters .filter #calendar {
	width: calc(100% - 20px);
}
@media all and (max-width: 800px) {
	#filter-block .filters .filter {
		width: calc(50% - 10px);
	}
}
@media all and (max-width: 600px) {
	#filter-block .filters {
		margin-left: 0;
	}
	#filter-block .filters .filter {
		display: inline-block;
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
		padding-left: 0;
	}
	#filter-block .filters .filter:first-child {
		margin-top: 0;
	}
	#filter-block .filters .filter > ul,
	#filter-block .filters .filter #calendar {
		width: 100%;
	}
}
