/*
Theme Name: Simultan
Theme URI: #
Author: Vajna Botond
Author URI: http://vajnabotond.ro
Description: Custom theme for simultan.org
*/

:root {
	--gri-inchis: #231f20;
	--gri: #5a686e;
	--gri-deschis: #e2e2e2;
	--blue: #005eff;
	--blue-light: #0055af;
	--blue-lighter: #4b79aa;
}
a, a:hover, a:active, a:focus {
	text-decoration: none;
	outline: none;
}
a {
	color: var(--blue);
	word-wrap: break-word;
}
a:hover {
	color: var(--gri);
}
.grid-item a {
	color: initial;
}
div {
	box-sizing: border-box;
}
p {
	line-height: 20px;
	padding: 10px 20px;
	margin: 0;
}
figure {
	margin-left: 20px;
	margin-right: 19px;
}
.tpl {
	width: 0;
	height: 0;
	opacity: 0;
}
.right {
	text-align: right;
}
body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: var(--gri-inchis);
	background: no-repeat  left top fixed;
	background-color: #f0f0f0;
/* 	background-size: 100% auto; */
}
.selector-limbi {
	position: absolute;
	width: 100%;
}
.selector-button {
	padding-right: 40px;
	text-align: right;
	color: var(--blue);
}
.selector-button li {
	list-style-type: none;
	display: inline;
	padding-left: 10px;
}
.wpml-ls-current-language a {
	color: var(--gri-deschis);
}
.wpml-ls a:hover {
	color: var(--gri);
}
.wpml-ls-current-language a:hover {
	color: var(--gri-deschis);
}

/* === MENU === */
.header-menu ul {
	padding: 0;
}
.header-menu ul li{
	display: inline-block;
	color: var(--blue);
	font-size: 1.2em;
}
.header-menu ul li a {
	padding-right: 10px;
}
.head-logo, .header-menu {
	display: inline-block;
}
.head-logo-menu {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}
.head-logo {
	padding: 0;
}
.head-logo img {
	width: 140px;
	height: auto;
	display: block;
}

/* meniu resp*/







/**/

/*  === content === */
.wrap {
	max-width: 1080px;
	margin-left: 140px;
	margin-right: 20px;
}
.index-header {
	display: flex;
	flex-basis: 100%;
	margin-bottom: 20px;
	justify-content: space-between;
	margin-right: 20px;
	box-sizing: content-box;
	flex-wrap: wrap;
}
.index-header .textwidget {
	padding-left: 20px;
}
.index-header .title {
	display: inline-block;
	margin: 0;
	color: #fff;
	background: #000;
	font-size: 1em;
	line-height: 1.7;
  font-weight: 400;
	padding: 0 6px;	
}
.news-upcoming span {
	display: inline-block;
	margin: 0;
	color: #fff;
	background: #000;
	font-size: 1em;
	line-height: 1.7;
  font-weight: 400;
	padding: 0 6px;
}
.news-upcoming {
	flex-basis: 100%;
	margin-bottom: 10px;
	border-top: solid;
}
.index-header > div {
	flex-basis: 340px;
	background: #fff;
	border: solid 1px var(--blue);
}
.index-header div:first-of-type {
	flex-basis: 710px;
}
.index-header div:first-of-type img {
	width: 100%;
	height: auto;
}
.index-header > div:last-of-type {
	border-top: solid;
}
.post-wrapper {
/* 	background: rgba(255, 255, 255, 0.7); */
	border: solid 1px var(--blue);
	display: flex;
	margin-bottom: 60px;
}
.clear {
	clear: both;
}
.post-thumbnail {
/* 	width: 50%; */
/* 	float: left; */
	/*! margin-right: 20px; */
	flex-basis: 40%;
flex-shrink: 0;
	background: url() no-repeat left bottom;
	background-size: 100% auto;
}
.grid-item {
	margin-bottom: 30px;
	width: 340px;
	border: solid 1px var(--blue);
	background: #fff;
}
.tags {
	text-align: right;
}
a.tag-btn {
	display: inline-block;
	background-color: var(--blue);
	color: #fff;
	padding: 0 4px;
}
.widget-wrapper {
	margin-bottom: 30px;
	border: solid 1px var(--blue);
	background: #fff;
	padding-bottom: 40px;
}
.textwidget {
	padding-top: 2px;
}
.widget-wrapper img {
	width: 100%;
	height: auto;
}
.post-item {
	margin-bottom: 30px;
	border: solid 1px var(--blue);
	background: #fff;
	display: flex;
}
.post-item-thumnb {
	flex-basis: 340px;
	flex-shrink: 0;
}
.post-type-archive-festival .post-item-thumnb {
	flex-basis: 60%;
}
.post-item-content {
	background-color: #fff;
	/*! border-left: dotted 1px var(--blue); */
	flex-basis: 60%;
}
.post-item img, .grid-item img, .post-wrapper img {
	width: 100%;
	height: auto;
}
.post-item-title, .widget-title {
	font-size: 1.8em;
	padding: 20px;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	text-decoration: underline;
	font-weight: initial;
}
.single .post-item-title {
	font-size: 2.6em;
	margin: 0;
}
.post-item-date {
	text-transform: uppercase;
	margin-bottom: 20px;
}
.footnote {
	font-size: 0.8em;
	color: var(--gri);
}
.post-item-date, h1, h2, h3, h4 {
	padding: 0 20px;
}
.read-more {
	padding-left: 20px;
}
.read-more.right {
	padding-right: 20px;
}
/* === footer === */
.footer-wrapper {
	background: var(--blue);
	padding-top: 20px;
	padding-bottom: 40px;
}
.footer {
	display: flex;
	color: #fff;
	flex-wrap: wrap;
	justify-content: space-between;
}
.footer > div {
	/*! margin-right: 20px; */
	flex-grow: 0;
	flex-basis: 32%;
	/*! padding: 0 10px; */
}
.footer a {
	color: var(--gri-deschis);
}
.footer a:hover {
	color: #000;
}

.footer h2 {
	font-size: 1em;
	font-weight: normal;
	border-bottom: solid 1px;
/* 	line-height: 3em; */
} 
.wpml-ls-menu-item {
	visibility: hidden;
}
figcaption {
	color: gray;
	text-align: center;
	font-size: 12px;
}
.wp-block-separator {
	margin-left: 20px;
	margin-right: 20px;
	border-bottom: none !important;
}
.wp-block-embed iframe {
	display: block;
	margin: auto;
}

@media only screen and (max-width: 1240px){
	.index-header div:first-of-type, .index-header > div {
		flex-basis: 710px;
	}
	.index-header div:first-of-type {
		margin-bottom: 20px;
	}
	.wrap {
/* 		max-width: 710px; */
	}
		.single .wrap {
		max-width: 100%;
	}
}
@media (max-width: 950px) {
	/* === menu show - hide ===*/
	.wpml-ls-menu-item {
	visibility: visible;
}
	
	.head-logo-menu {
		background-color: #0258ff;
		height: 60px;
	}
	.head-logo img {
		height: 60px;
		width: 60px;
	}

	.menuresp {
		position: absolute;
		width: 100%;
		z-index: 1;
		top: 0;
		left: 0;
/* 		top: -40px; */
/* 		right: 40px; */
	}
	.vb-menu {
		position: fixed;
		width: 100%;
		height: 100%;
/* 		background-color: var(--purple); */
/* 		padding-left: 12px; */
		padding-top: 12px;
		padding-right: 12px;
		box-sizing: content-box;
		border-bottom: solid 1px;
		box-sizing: border-box;
/* 		right: 70px; */
		top: 58px;
		background: white;
		padding: 0px;
		background-image: url(https://www.simultan.org/wp-content/uploads/2020/12/bg-1-1.gif);
		background-size: 800px auto;
		background-repeat: no-repeat;
		background-position: left 300px;
	}
	.vb-menu > div {
		display: block;
		width: auto;
		position: absolute;
		right: 20px;
	}

	.vb-menu {
			display: none;
	}
	.menu-button {
		position: absolute;
		width: 32px;
		height: 32px;
		background: url(images/menu-button-black.png) center no-repeat;
		background-size: contain;
		opacity:;
		right: 24px;
		top: 15px;
		z-index: 2;
	}
	.selector-limbi {
		display: none;
	}
	.vb-menu ul.menu {
		display: inline;
	}

	.vb-menu ul.menu li {
		display: list-item;
		list-style-type: none;
		padding: 10px 0;
	}
	.wpml-ls-menu-item {
		color: #fff;
		font-size: 0.6em;
		width: auto;
		height: auto;
	}
	
	/**/
}
 @media only screen and (max-width: 870px){
	 .post-item-thumnb {
		 flex-basis: 50%;
	 }
	 .wrap {
		margin-left: 10px;
		margin-right: 10px;
	}
	 .header-menu ul {
	     padding-left: 10px;
  }
	 .head-logo {
/* 		 margin: auto; */
		 display: block;
		 margin-left: 10px;
	 }
	 .header-menu {
		 display: block;
	 }
}
@media only screen and (max-width: 700px) {
	 .grid-item {
		 width: 340px;
	 }
	.post-wrapper {
		flex-wrap: wrap;
	}
	.post-wrapper > div {
		flex-basis: unset;
		flex-shrink: 1;
	}
	.post-item > a {
		flex-wrap: wrap;
	}
	.post-item > a > div {
		flex-basis: 100%;
	}
}
@media only screen and (max-width: 580px) {
	.post-item {
	flex-wrap: wrap;
	}
	.post-item-thumnb, .post-type-archive-festival .post-item-thumnb, .post-item-content {
		flex-basis: 100%;
	}
}
@media only screen and (max-width: 550px) {
	 .grid-item {
		 width: 100%;
	 }	
}
