/*--------------------------------------------------------------
# Custom Styles
--------------------------------------------------------------*/

.relative {
	position: relative;
}

/* Paddings */
.p_60 { padding: 60px !important; }
.p_30 { padding: 30px !important; }

.pr_20{ padding-right: 20px !important; }

.pb_60 { padding-bottom: 60px !important; }
.pb_50 { padding-bottom: 50px !important; }
.pb_40 { padding-bottom: 40px !important; }
.pb_30 { padding-bottom: 30px !important; }
.pb_20 { padding-bottom: 20px !important; }
.pb_10 { padding-bottom: 10px !important; }

.pt_60 { padding-top: 60px !important; }
.pt_50 { padding-top: 50px !important; }
.pt_40 { padding-top: 40px !important; }
.pt_30 { padding-top: 30px !important; }
.pt_20 { padding-top: 20px !important; }
.pt_10 { padding-top: 10px !important; }

/* Margins */

.mt_60 { margin-top: 60px !important; }
.mt_50 { margin-top: 50px !important; }
.mt_40 { margin-top: 40px !important; }
.mt_30 { margin-top: 30px !important; }
.mt_20 { margin-top: 20px !important; }
.mt_15 { margin-top: 15px !important; }
.mt_10 { margin-top: 10px !important; }
.mt_0 { margin-top: 0px !important; }

.mb_60 { margin-bottom: 60px !important; }
.mb_50 { margin-bottom: 50px !important; }
.mb_40 { margin-bottom: 40px !important; }
.mb_30 { margin-bottom: 30px !important; }
.mb_20 { margin-bottom: 20px !important; }
.mb_15 { margin-bottom: 15px !important; }
.mb_10 { margin-bottom: 10px !important; }
.mb_5 { margin-bottom: 5px !important; }
.mb_0 { margin-bottom: 0px !important; }

/* Pages */

.page,
.single,
.archive,
.search {
	padding: 0;
	box-shadow: 0 0 5px #ccc;
	margin-left: auto !important;
	margin-right: auto !important;
	background: url(../images/bg.png);
}

#page {
	background: #ffffff;
	/*overflow: hidden;*/
}
.page-id-7070 #page {;
	overflow: scroll;
	-webkit-overflow-scrolling:touch;
}
#content {
	background: #ffffff;
	overflow-x: hidden;
}

/* Posts in loop */
.news_block {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.news_block_inside,
.news_block>a {
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
}
.news_block_badge {
	left: 0px;
	top: 10px;
	z-index: 1;
	color: #fff;
	padding: 4px 10px;
	position: absolute;
	opacity: 0.85;
}
.news_block_badge:hover {
	opacity: 1;
}
.news_block_badge a {
	color: #fff;
}
.news_block_badge a:hover {
	text-decoration: none;
}

.blog-photos li {
	display: inline;
}
.blog-photos li img {
	width: 58px;
	height: 58px;
	margin: 0 2px 8px;
}
.hover-effect {
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.blog-photos li img:hover {
	box-shadow: 0 0 0 2px #e74c3c;
}

.blog-photostream {
	margin-right: -5px;
}
.blog-photostream li {
	padding: 0;
	margin: 3px 0 5px;
	position: relative;
}
.blog-photostream li img {
	width: 78px;
	height: auto;
}
.img-hover-v2 img {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}
.img-hover-v2:hover img {
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
}

.img-hover-v1 img {
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	filter: grayscale(0%);
	transition: all 0.5s ease;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

.img-hover-v1 span {
	display: block;
	overflow: hidden;
	position: relative;
}

.img-hover-v1 img:hover {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transform: scale(1.1) rotate(0.1deg);
	-moz-transform: scale(1.1) rotate(0.1deg);
	transform: scale(1.1) rotate(0.1deg);
}

.portfolio-box a.fancybox {
	background: #fff;
	overflow: hidden;
	position: relative;
	-webkit-backface-visibility: hidden;
}
a.thumbnail {
	padding: 0;
	border: none;
	margin-bottom: 15px;
}
.thumbnail {
	border-radius: 0;
}
.portfolio-box a.fancybox img {
	width: 100%;
	overflow: hidden;
	transition: all 500ms ease 0s;
}
.portfolio-box .portfolio-box-in {
	left: 0;
	top: 50%;
	z-index: 1;
	width: 100%;
	min-height: 50px;
	margin-top: -40px;
	visibility: hidden;
	text-align: center;
	position: absolute;
}
.portfolio-box a.fancybox:hover img {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transform: scale(1.1) rotate(0.1deg);
	-moz-transform: scale(1.1) rotate(0.1deg);
	transform: scale(1.1) rotate(0.1deg);
}
.portfolio-box a.fancybox:hover .portfolio-box-in {
	visibility: visible;
}
.portfolio-box .portfolio-box-in i {
	color: #fff;
	width: 50px;
	height: 50px;
	padding: 16px;
	font-size: 20px;
	text-align: center;
	background: #e74c3c;
	display: inline-block;
	border-radius: 50%;
}

/* Bacggrounds */
.bg-color-light {
	background-color: #f7f7f7;
}

/* Forms */
.nf-before-form-content {
	display: none;
}

/* Lists */
.list-unstyled {
	margin-left: 0;
}
.link-list li {
	border-top: solid 1px #353535;
}
.link-list li:first-child {
	border-top: none;
}
.link-list a {
	color: #eee;
	font-size: 11px;
	padding: 6px 0px;
	display: inline-block;
	text-transform: uppercase;
}
.link-list li i {
	color: #bbb;
	float: right;
	margin-top: 10px;
}
.list-inline>li {
	display: inline-block;
	padding-left: 5px;
	padding-right: 5px;
}
.blog-post-tags ul {
	margin-bottom: 0;
	margin-left: 0;
}
.blog-post-tags ul li {
	padding-left: 0;
}
.blog-post-tags ul.blog-tags a {
	color: #fff;
	font-size: 11px;
	display: inline;
	padding: 4px 7px;
}
ul.blog-tags a:hover, 
ul.blog-tags a:hover i {
	color: #fff;
	text-decoration: none;
}
.blog-post-tags ul.blog-tags a.tag-badge {
	color: #555;
	background: #f4f4f4;
	padding: 4px 7px;
	margin-right: 5px;
}
.blog-post-tags ul.blog-tags a.tag-badge:hover {
	background-color: #999999;
	color: #f4f4f4;
}
ul.list-group.sidebar-nav-v1 li.list-toggle {
	border-bottom: 0;
}
.sidebar-nav-v1 ul.collapse li.list-group-item {
	border: 0;
}
.sidebar-nav-v1 ul li.list-toggle a {
	color: #555;	
}
.sidebar-nav-v1 ul li.list-toggle a:hover {
	color: #e74c3c;
}

/* Labels */
.badge, 
.label {
	border-radius: 0;
}
span.badge, 
.list-group-item.active>.badge {
	color: #fff;
	font-weight: 400;
	padding: 4px 7px;
}
span.label-light, 
span.badge-light, 
.list-group-item.active>.badge.badge-light {
	color: #777;
	background: #ecf0f1;
}
.rubric-badge {
	opacity: 0.85;
	margin-bottom: 5px;
}
.rubric-badge:hover {
	opacity: 1;
}

/* Responsive video */
.responsive-video {
	height: 0;
	padding-top: 1px;
	position: relative;
	padding-bottom: 56.25%;
}
.responsive-video iframe {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

/* Galleries */
.partners .su-custom-gallery-slide img {
	border: 0;
}

/* Spoilers */

.custom .su-spoiler-content {
	color: #555;
}

.custom .su-spoiler-title {
	background: #fefefe;
	border: 1px solid #ddd;
	font-weight: 400;
	font-size: 14px;
	padding: 10px 30px;
	padding-left: 40px !important;
	color: #555;
}
.custom .su-spoiler-icon {
	top: 10px;
	left: 10px !important;
}
.custom .su-spoiler-content a,
a.doc-link {
	display: block;
	border-bottom: 1px solid #dddddd;
	color: #000;
	position: relative;
	padding-bottom: 10px;
	padding-right: 30px;
}
.custom .su-spoiler-content a:hover,
a.doc-link:hover {
	text-decoration: none;
}
.custom .su-spoiler-content a:after,
a.doc-link:after {
	content: "\f0f6";
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	top: 5px;
	right: 10px;
}

.custom.no-icon .su-spoiler-title {
	padding-left: 30px !important;
}
.custom.no-icon .su-spoiler-icon {
	display: none;
	left: 0 !important;
}

/* Ratio */
.ratio {
	width: 100%;
	padding-bottom: 56.25%;
	position: relative;
}
.ratio:before {
	content: '';
	display: block;
}
.ratio-inside {    
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
}

/* Headers on pages */
.interactive-slider-v3 {
	z-index: 1;
	padding: 140px 0;
	position: relative;
	text-align: center;
	background: url(../img/bg/18.jpg) no-repeat;
	background-size: cover;
	background-position: center center;
}
.interactive-slider-v3 h1 {
	color: #fff;
	font-size: 70px;
	font-weight: 600;
	line-height: 80px;
	text-transform: uppercase;
}
.interactive-slider-v3:after {
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	content: " ";
	position: absolute;
	background: rgba(0, 0, 0, 0.4);
}

/* Paralax */

.parallax-bg-custom {
	z-index: 1;
	height: auto;
	overflow: hidden;
	text-align: center;
	position: relative;
	margin: 0 -15px;
}
.parallax-bg-v6 h1,
.parallax-bg-v7 h1,
.parallax-bg-v8 h1,
.parallax-bg-custom h1 {
	color: #fff;
}

/* Sliders */

@media (min-width: 320px) {
	.royalSlider h1 {
		text-transform: uppercase;
		color: #fff;
		text-align: center;
		font-size: 16px;
	}
	.royalSlider h4 {
		color: #fff;
		text-align: center;
		font-size: 12px;
		line-height: 1;
	}
}

@media (min-width: 768px) {
	.royalSlider h1 {
		font-size: 36px;
	}
	.royalSlider h4 {
		font-size: 18px;
		line-height: 1.1;
	}
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
	.royalSlider h1 {		
		font-size: 45px;
	}
}

/* Call button */
#call_button a {
	color: #fff;
	z-index: 99;
	width: 50px;
	height: 50px;
	font-size: 30px;
	background: #e74c3c;
	position: fixed;
	right: 80px!important;
	bottom: 20px!important;
	border-radius: 50%!important;
}
#call_button a:hover {
	background: #222;
}
#call_button a:after {
	top: 2px;
	left: 13px;
	content: "\f095";
	position: absolute;
	text-align: center;
	font-family: FontAwesome;
}

/* Events */
.wcs-modal__content a {
	color: #e74c3c !important;
}
.wcs-class__click-area.wcs-class__click-area.wcs-class__click-area {
	display: none !important;
}
.wcs-class__excerpt.wcs-class__excerpt {
	display: block !important;
}

/* Filters */

/* Masonry */
.grid-item-content {
	-webkit-box-shadow: 0px 0px 8px -1px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 0px 8px -1px rgba(0, 0, 0, 0.15);
}
.caption {
	text-align: center;
	padding: 10px;
}
.caption h5,
.caption h6 {
	font-weight: bold;
	color: #e74c3c;
}
.caption h5 a:hover,
.caption h6 a:hover {
	text-decoration: none;
}
.caption-detals {
	background-color: #f5f5f5;
	padding: 10px 10px 0px 10px;
}
.caption-detals p {
	font-size: 12px;
}
.event_online {
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: 10px;
    font-family: 'museo_sans_cyrl300';
	opacity: 0.9;
}

/* Modal */
.event-modal {
	z-index: 1041;
}
.page.modal-open {
	padding: 0 !important;
}
a.event-link:hover {
	text-decoration: none;
	cursor: pointer;
}
.event-info {
	padding: 30px;
	background-color: #f5f5f5;
	color: #666666;		
}
.event-info-date,
.event-info-time,
.event-info-adress {
	font-size: 16px;
	margin-bottom: 15px;
}
.event-modal .modal-content {
	background: transparent;
	box-shadow: none;
	border: 0;
}
.event-modal .modal-header {
	padding: 5px 0;
	border: 0;
	background: transparent;
}
.event-modal .modal-body {
	background-color: #ffffff;
	padding: 0;
	overflow-x: hidden;
}
.event-modal .modal-header .close {
	color: #ffffff;
	opacity: 1;
	font-weight: 100;
	font-size: 30px;
	text-shadow: none;
}
.event-modal .event-modal-content {
	padding: 30px;
}
.event-modal .event-modal-sidebar {
	background-color: #f5f5f5;
}
.event-modal .event-share {}
.event-table {
	display: flex;
	flex-wrap: wrap;
}
@media (min-width: 320px) {
	.event-modal .event-modal-content,
	.event-modal .event-modal-sidebar {
		display: block;
		width: 100%;
	}		
}
@media (min-width: 768px) {
	.event-modal .event-modal-content {
		display: flex;
		width: 60%;
		flex-wrap: wrap;
		flex-direction: column;
	}
	.event-modal .event-modal-sidebar {
		display: flex;
		width: 40%;
		flex-wrap: wrap;
		flex-direction: column;
	}		
}
@media (min-width: 992px) {
	.event-modal .event-modal-content {
		display: flex;
		width: 67%;
		flex-wrap: wrap;
		flex-direction: column;
	}
	.event-modal .event-modal-sidebar {
		display: flex;
		width: 33%;
		flex-wrap: wrap;
		flex-direction: column;
	}		
}

/* Readmore shortcode links */
.su-expand-link a, 
.su-expand-link a:hover, 
.su-expand-link a:active, 
.su-expand-link a:visited, 
.su-expand-link a:focus {
    color: #e74c3c !important;
}

/* Links in Lists */
.event-content ul li a {
	color: #e74c3c;
}