/****************************************/
/* ELEMENTS
/****************************************/


/* Loaders */
.loader {
	position: absolute;
	z-index: -99;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #fff;
	opacity: 0;
	-webkit-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
		-ms-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
			transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s; 
}
.loader.on {
	z-index: 99;
	opacity: 1;
	-webkit-transition: opacity 0.4s ease 0s;
		-ms-transition: opacity 0.4s ease 0s;
			transition: opacity 0.4s ease 0s;
}
#site-loader {
	position: fixed;
}
#site-loader.on {
	z-index: 9999;
}
.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 96px;
	height: 96px;
	margin: -48px auto auto -48px;
	background: url('../img/logo-96x96.png') no-repeat;
}
.loader.animated .spinner {
	-webkit-animation: sk-rotateplane 2.4s infinite ease-in-out;
			animation: sk-rotateplane 2.4s infinite ease-in-out;	
}

@-webkit-keyframes sk-rotateplane {
	0% { 
		-webkit-transform: perspective(256px);
	}
	50% { 
		-webkit-transform: perspective(256px) rotateY(180deg);
	}
	100% { 
		-webkit-transform: perspective(256px) rotateY(180deg)  rotateX(180deg);
	}
}
@keyframes sk-rotateplane {
	0% { 
		-webkit-transform: perspective(256px) rotateX(0deg) rotateY(0deg);		
				transform: perspective(256px) rotateX(0deg) rotateY(0deg);
	} 
	50% { 
		-webkit-transform: perspective(256px) rotateX(0deg) rotateY(360deg);
				transform: perspective(256px) rotateX(0deg) rotateY(360deg);
    }
	100% { 
		-webkit-transform: perspective(256px) rotateX(0deg) rotateY(360deg);
				transform: perspective(256px) rotateX(0deg) rotateY(360deg);
	}
}
/***/



/* Banners */
.banner {
	position: relative;
	padding: 75px 0;
	background-attachment: fixed;
	text-align: center;
}
.banner:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--main-color-inv);
	opacity: 0.75;
}
.banner > * {
	position: relative;
}
.dark-banner {
	color: var(--main-color-lighter-inv);
}
/***/



/* News list (home) */
.home-news-item {
	margin-bottom: 50px;
	text-align: justify;
}
.home-news-item figure {
	margin-bottom: 2em;
	overflow: hidden;
}
.home-news-item figure > img {
	-webkit-transition: all 0.4s ease;
			transition: all 0.4s ease;
}
.home-news-item a:hover img {
	-webkit-transform: scale(1.1);
			transform: scale(1.1);
}
/***/



/* Google maps */
.google-maps-iframe {
	border: 1px solid #ddd;
}
/***/



/* News list */
.news-list {
}
.news-list-item {
	margin: 0 0 3em 0;
}
.news-item-img {
	width: 482px;
	max-width: 100%;
}
.news-item-img > figure {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
}
.news-item-img > figure > img {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	-webkit-transition: all 0.5s ease;
			transition: all 0.5s ease;
	will-change: transform;
}
.news-item-text {
}
.news-title {
}
.news-title:after {
	content: '';
	display: block;
	width: 80px;
	height: 3px;
	margin: 0.5em 0.05em 0.75em 0.05em;
	background: var(--main-color);	
}
.news-excerpt {
}
.news-extra {
	font-size: 0.85em;
	margin: 1em 0;
}

@media screen and (min-width: 1200px) {
	.news-list {
	}
	.news-list-item {
		display: flex;
		margin: 0 -25px 3em -25px;
	}
	.news-item-img {
		padding: 0 25px;
	}
	.news-item-text {
		flex: 1 0;
		display: flex;
		flex-direction: column;
		padding: 0 25px;
	}
	.news-title {
	}
	.news-excerpt {
	}
	.news-extra {
		margin: auto 0 1em 0;
	}
}
/***/



/* Lectures list */
.lecture-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.lecture-list-item {
	margin: 15px 0;
	padding: 0 15px;
}
.list-item-box {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	padding: 0 15px;
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
}
.list-item-box:hover {
	box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.list-item-thumb {
	position: relative;
	overflow: hidden;
	margin: 0 -16px;
}
.list-item-thumb:after {
	content: "\f002";
	display: block;
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	margin: -0.5em 0 0 -0.5em;
	font-family: FontAwesome;
	font-size: 3em;
	color: #FFF;
	opacity: 0;
	will-change: opacity, transform;
	-webkit-transform: scale(0.3);
			transform: scale(0.3);
	-webkit-transition: all 0.4s cubic-bezier(0.34, 2.56, 0.64, 1);
			transition: all 0.4s cubic-bezier(0.34, 2.56, 0.64, 1);
}
.list-item-box:hover .list-item-thumb:after {
	opacity: 0.75;
	-webkit-transform: none;
			transform: none;	
}
.list-item-thumb > img {
	display: block;
	width: 100% !important;
	height: auto !important;
}
.lecture-list-item h3 {
}
.lecture-list-item p {
	margin-bottom: 1em;
}
.list-item-info {
	margin: auto -0.5em 1em -0.5em;
	font-size: 0.9em;
}
.list-item-info > span {
	margin: 0 0.5em;
	vertical-align: middle;
}
.list-item-info > span:last-child {
	float: right;
}
.list-item-info a {
	font-size: 1.25em;
	vertical-align: middle;
}

@media (min-width : 1200px) {
	.lecture-list-item {
		width: 33.3333%;
	}
	
	.lecture-list-item h3 {
		height: 2.5em;
		overflow: hidden;
	}
	.lecture-list-item p {
		height: 7.5em;
		overflow: hidden;
	}
}
/***/



/* Search results list */
.search-results-list {
}
.search-results-item {
	display: flex;
	margin: 0 -15px 3em -15px;
}
.search-results-img {
	width: 246px;
	max-width: 100%;
	padding: 0 15px;
}
.search-results-img > figure {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
}
.search-results-img > figure > img {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	-webkit-transition: all 0.5s ease;
			transition: all 0.5s ease;
	will-change: transform;
}
.search-results-text {
	flex: 1 0;
	padding: 0 15px;
}
.search-results-title {
	margin-top: 0.5em;
}
.search-results-excerpt {
}
/***/




/* Forms */
.form-container {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}
form.off {
	z-index: -99;
	visibility: hidden;
	-webkit-transition: all 0s ease 0.5s;
			transition: all 0s ease 0.5s;
}
.form-field {
	position: relative;
	margin-bottom: 1em;
}
.checkbox-field {
	padding: 0.5em 0.1em;
}
.submit-field {
	text-align: center;
}

::-webkit-input-placeholder { color: var(--main-color-lighter); }
:-moz-placeholder { color: var(--main-color-lighter); opacity: 1; }
::-moz-placeholder { color: var(--main-color-lighter); opacity: 1; }
:-ms-input-placeholder { color: var(--main-color-lighter); }

input,
textarea {
	padding: 0.25em 0.5em;
}
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	outline: 0;
	border: 1px solid;
	padding: 0.66em 1em;
	line-height: 1.3333em;
	font-family: inherit;
	background: var(--main-color-inv);
	color: var(--text-color);
}
textarea {
	height: 10.25em;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
textarea:focus {
	outline-color: #000;
	-webkit-box-shadow: 0px 2px 6px -2px rgba(0,0,0,0.75);
	   -moz-box-shadow: 0px 2px 6px -2px rgba(0,0,0,0.75);
			box-shadow: 0px 2px 6px -2px rgba(0,0,0,0.75);
}
input[type="submit"] {
	width: 50%;
	padding: 0.66em 1em;
	cursor: pointer;
	background: var(--main-color);
	color: var(--main-color-inv);
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
}
input[type="submit"]:hover {
	background: var(--main-color-lighter);
}

.form-field > .error-box {
	display: block;
	position: absolute;
	z-index: -1;
	top: 50%;
	right: 35%;
	margin-top: -1.25em;
	border-radius: 4px;
	padding: 0.5em 1em;
	white-space: nowrap;
	background: #ff2627;
	color: #fff;
	font-size: 0.85em;
	opacity: 0;
	-webkit-transform: translateX(40px);
	   -moz-transform: translateX(40px);
		-ms-transform: translateX(40px);
		 -o-transform: translateX(40px);
			transform: translateX(40px);
	-webkit-transition: all 0.35s ease;
			transition: all 0.35s ease;
	-webkit-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
	   -moz-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
			box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
}
.form-field > .error-box:after {
	content: "";
	display: block;
	position: absolute;
	left: -5px;
	top: 0.8em;
	width: 0px;
	height: 0px;
	border-right: 5px solid #ff2627;
	border-top: 5px solid transparent;
	border-left: 0;
	border-bottom: 5px solid transparent;
}
.form-field.invalid-field > .error-box {
	z-index: 9;
	opacity: 1;
	-webkit-transform: none;
	   -moz-transform: none;
		-ms-transform: none;
		 -o-transform: none;
			transform: none;
}

.custom-checkbox {
	display: none;
}
.custom-checkbox-label {
}
.custom-checkbox + .custom-checkbox-label:before {
	content: "\f096";
	display: inline-block;
	vertical-align: middle;
	width: 1.2em;
	font-family: FontAwesome;
	font-size: 1.2em;
}
.custom-checkbox:checked + .custom-checkbox-label:before {
	content: "\f046";
}

.form-return {
	position: absolute;
	z-index: -9;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 2em 15px;
	font-size: 1.5em;
	line-height: 1.25em;
	text-align: center;
	opacity: 0;
	-webkit-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
	   -moz-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
		-ms-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
		 -o-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
			transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;	
}
.form-return.on {
	z-index: 9;
	opacity: 1;
	-webkit-transition: opacity 0.4s ease 0.4s;
	   -moz-transition: opacity 0.4s ease 0.4s;
		-ms-transition: opacity 0.4s ease 0.4s;
		 -o-transition: opacity 0.4s ease 0.4s;
			transition: opacity 0.4s ease 0.4s;
}
.form-success, 
.form-failure {
	display: none;
}
.form-success.on, 
.form-failure.on {
	display: block;
}

@media (min-width : 1200px) {
	.submit-field {
		text-align: initial;
	}
}

/***/





/* Page decorations */
.page-decoration {
	margin: 45px 0;
	text-align: center;
}
/***/



/* Swipers */
.auto-slides-swiper .swiper-slide {
	width: auto;
	max-width: 512px;
}
.swiper-slide > img {
	max-width: 100%;
}
/***/



/* WP hacks */
.blocks-gallery-grid {
}
.blocks-gallery-item {
	flex-grow: 0 !important;
}
/***/

