/****************************************/
/* MAIN
/****************************************/

#primary {
	position: relative;
	/*min-height: 90vh;*/
	padding-top: 1px;
	/*direction: rtl;*/
}
#page-header.minified + #primary {
	padding-top: 56px;
}

@media (min-width : 1200px) {
	#page-header.minified + #primary {
		padding-top: 96px;
	}
}

#primary ul:not(.blocks-gallery-grid) {
	padding: 0 1.25em;
}
#primary p + ul,
#primary p + ol {
	margin-top: -0.75em;
}
#primary ul:not(:last-child),
#primary ol:not(:last-child) {
	margin-bottom: 1em;
}



/* Page title */
.page-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: -1px;
	padding: 60px 0;
	/*background-attachment: fixed;*/
	background-size: cover;
	background-position: 50% 50%;
	color: var(--main-color-lighter-inv);
	text-align: center;
}
.page-banner:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0,0,0,0.7);
}
.viewport-banner {
	height: 100vh;
}
.page-banner > * {
	position: relative;
}
.page-title {
	line-height: 1em;
}
.site-title {
	line-height: 1em;
}
@media screen and (min-width: 1200px) {
	.page-banner {
		padding: 160px 0 100px 0;
	}
	.page-banner.viewport-banner {
		padding: 100px 0;
	}
}
/***/


/* Page banner button (for home page) */
@-webkit-keyframes page-banner-button-animation {
	0%		{ opacity: 0; -webkit-transform: translateY(-30px); transform: translateY(-30px); }
	10% 	{ opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }
	90% 	{ opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }
	100% 	{ opacity: 0; -webkit-transform: translateY(0px); transform: translateY(0px); }
}
@keyframes page-banner-button-animation {
	0% 		{ opacity: 0; -webkit-transform: translateY(-30px); transform: translateY(-30px); } 
	10% 	{ opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }
	90% 	{ opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }
	100% 	{ opacity: 0; -webkit-transform: translateY(0px); transform: translateY(0px); }
}
.page-banner-button {
	position: absolute;
	z-index: 9;
	bottom: 20px;
	left: 50%;
}
.page-banner-button > span {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 72px;
	height: 26px;
	margin-left: -36px;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAAAaCAYAAAAUqxq7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAo9JREFUeNrkmV1IFFEUx2fXFkNClkQw7KEIQVAo0RCDkA16MMJ8kR5c6UGCtBcfUpQQUYQWiohAsKLIl3ow8kUp90VQaSkxWlQwIqIgEEEKMTX8mP4nztBhaL+c2fnYvfBjlp177v3f/70z955dj6qqCpcA8INRJbtLHSBTJv5eYdABMK7+K89BARmXZRwCj4QPr4BPu5kPHoub38GFLDKnFnwR43/Ahin6ihfBsqj4UKuYoRwEd8FerIXxvyB6vEaESeTs2Qw0pwosJXq1xGugCfzgYHL4DjvudmN8oA/s8NhWweVY9RM1VgxeC5cXQaWLzSkH78V4aHM6Ei8mmUY94BpY50a3QS/vfm4xJgd0gC0eA43lKo9NMWqQxgkwI9yfBaUuMId0TwvdU+B4svH7mYlO8Js7oxlpB14HGkOro1WsfNJ6I1WtRp7lD2JWJsExB5lD784JoW8OlO2nLaO7wYDYDdZAiwPMCYKfrIm09bNWxWqDNKrBRzFbY6DIBmMKwUuhg844p422a5a4PHBfiKOzRaOF5jSAFdH/PbPObGYLPQe+CaHPwOE0GuMHw6K/ryBgZh/pEE2J71Nd4luXhn7O6ybjCfetON0gjUu6ZT9kUuJLj/OgaJeS6/p0jcPqF+dng4nvGfBJtPeC+1DcapBGs9h6d8FtkJtCPNUNcazKbQWt0G7lNnwUhMXsL4CKJOJOgXkRF+aDoJJpBmnH/+tgQyS+PTESX/ruJteh8gu0JZNgutkgjRIQEavinS7xpc9vxf03HGO5Vrt/gugWie8mJ77tYoXRvS6ua4tOj/jbx65yEgzzVZYouMJX24rXAf9DkQHVIAT2mFv8XdRucU5YQbLU8DXiFEF/BBgA98Q8PyG3AMYAAAAASUVORK5CYII=) 50% 50% no-repeat;	
	opacity: 0;
	-webkit-transform: translateY(30px);
			transform: translateY(30px);
	-webkit-animation: page-banner-button-animation 8s infinite ease-in-out;
			animation: page-banner-button-animation 8s infinite ease-in-out;
}
.page-banner-button > span:nth-child(1) { -webkit-animation-delay: 2.2s; animation-delay: 2.2s; }
.page-banner-button > span:nth-child(2) { -webkit-animation-delay: 2.4s; animation-delay: 2.4s; }
.page-banner-button > span:nth-child(3) { -webkit-animation-delay: 2.6s; animation-delay: 2.6s; }
/***/



/* Breadcrumbs */
.breadcrumbs {
	border-bottom: 1px dashed #aaa;
	padding: 1em 0;
	font-size: 0.85em;
	text-align: right;
}
.breadcrumbs > div {
	display: flex;
	justify-content: space-between;
}
.post-breadcrumbs {
	margin-top: 96px;
}
.page-breadcrumbs {
}
#user-breadcrumbs {
}
@media screen and (min-width: 1200px) {
	.breadcrumbs {
		text-align: right;
	}
	.post-breadcrumbs {
	}
	.page-breadcrumbs {
	}
	#user-breadcrumbs {
		float: left;
	}
}
/***/




/* Page content */
.page-content {
	min-height: 50vh;
	padding: 30px 0;
}
.inline-logo {
	display: block;
	margin: 1em auto;
}
@media (min-width : 1200px) {
}
/***/



/* Page sections */
.page-section {
}
.light-section {
	background-color: #daf0ff;
}

.banner-section,
.contact-section {
	position: relative;
	padding: 1px 0;
	background-size: cover;
	color: var(--main-color-inv);	
}
.banner-section {
	background: #222 url('../img/banner1-1920x480.jpg') fixed 50% 50% no-repeat;
}
.contact-section {
	background: #222 url('../img/banner3-1920x1080.jpg') fixed 50% 50% no-repeat;
}

.banner-section:before,
.contact-section:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
}
/***/



/* Page private content */
.page-private-content {
	margin-bottom: 30px;
}
/***/



/* Post + Lecture templates */
.post-title-banner {
	/*padding: 126px 0 0 0;*/
	color: var(--link-color);
}
.post-title {
	margin: 30px 0;
}

.post-content {
	margin: 30px 0;
}

.post-main {
	margin-bottom: 60px;
}

.post-sidebar {
}

.private-content-box {
	border: 1px solid var(--warning-color);
	padding: 15px;
    background-color: var(--warning-color-lighter);
}
/***/



/* Sidebar */
.sidebar-widget {
	margin-bottom: 30px;
	border: 1px solid;
	padding: 15px;
	background: #e3f3ff;
	color: #d3e3ff;
}

.hot-widget {
	border: 1px solid;
    background-color: var(--warning-color-lighter);
	color: var(--warning-color);
}
.hot-widget input[type="text"],
.hot-widget input[type="email"],
.hot-widget input[type="password"],
.hot-widget textarea {
	border: 1px solid var(--warning-color);
}
.hot-widget input[type="submit"] {
	background-color: var(--hot-color);
}
.hot-widget input[type="submit"]:hover {
	background: var(--hotter-color);
}


.grey-widget {
	border: 1px solid var(--grey);
    background-color: var(--lightgrey);
	color: var(--grey);
}
.grey-widget input[type="text"],
.grey-widget input[type="email"],
.grey-widget input[type="password"],
.grey-widget textarea {
	border: 1px solid var(--grey);
}
.grey-widget input[type="submit"] {
	/*background-color: var(--hot-color);*/
}
.grey-widget input[type="submit"]:hover {
	/*background: var(--hotter-color);*/
}


.widget-iconbox {
	display: flex;
	margin: 0 -5px;
}
.widget-icon {
	flex: 0 0 auto;
	margin: 0 10px;
	width: 1.6em;
	height: 1.6em;
	border: 1px solid;
	border-radius: 0.8em;
	background: #FFF;
	font-size: 3em;
	text-align: center;
	line-height: 1.6em;
}
.widget-text {
	margin: 0 10px;
	color: var(--text-color);
}
.widget-text dl {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9em;
}
.widget-text dt {
	flex: 0 0 auto;
	width: 40%;
}
.widget-text dd {
	flex: 0 0 auto;
	width: 60%;
	margin-bottom: 0.75em;
}

.widget-separator {
	width: 80px;
	height: 3px;
	margin-top: 1em;
	margin-bottom: 1em;
	background: var(--main-color);
}

/***/



/* Page decorations */
.page-deco {
	margin: 30px 0 60px 0;
	text-align: center;
}
/***/



