/*
 Theme Name:     Tehran Bureau
 Theme URI:      https://wordpress.org/themes/wp-bootstrap-starter/
 Description:    A child theme of WPBS Theme, designed by Tehran Bureau design department
 Author:         Tehran Bureau design department
 Author URI:     https://tehranbureau.com/
 Template:       wp-bootstrap-starter
 Version:        1.0
*/


/****************************************
*** Theme customization starts below ***
*****************************************/
body {
	font-family: Georgia, serif;
	font-size: 1.2rem;
	line-height: 1.8;
	text-align: start;
}
a {
    color: #f28123;
}
a:hover {
    color: #f94d00;
}
a:visited {
    color: #cb410b;
}
h1,h2,h3,h4,h5,h6 {
	font-family: "Helvetica Neue", Helvetica, "Lucida Grande", sans-serif;
	font-weight: 700;
}
h1 {
	font-weight: 800;
	text-transform: uppercase;
}
 h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
    color: #327a8b;
}
h1 a:visited, h2 a:visited,h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
    color: #327a8b;
}
p {
	/*padding-top: 1rem;*/
}
hr {
	padding: 1rem 0 0 0;
}

/* LOGO */
:not(.error404) .elementor-widget-theme-site-logo .elementor-image,
:not(.error404) .elementor-widget-theme-site-logo .elementor-image a,
:not(.ham-header) .elementor-widget-theme-site-logo .elementor-image,
:not(.ham-header) .elementor-widget-theme-site-logo .elementor-image a {
	text-align: start;
}
.error404 .elementor-widget-theme-site-logo .elementor-image,
.error404 .elementor-widget-theme-site-logo .elementor-image a,
.ham-header .elementor-widget-theme-site-logo .elementor-image,
.ham-header .elementor-widget-theme-site-logo .elementor-image a {
	text-align: center;
}

/* FULLSCREEN MOBILE MENU */
.fsmfe-wrapper {
	display: flex;
	justify-content: flex-end;
}
.fsmfe-wrapper .icon-bars {
	margin-left: initial !important;
}

.wp-block-image figcaption {
	font-size: .9rem;
	color: #888888;
}


/* SINGLE */
.has-medium-font-size {
	font-size: larger;
}
.title-single-post h1 {
	font-size: 3.6rem;
	/*padding-right: 7px;
	padding-left: 7px;*/
}
@media (max-width: 1024px) {
	.title-single-post h1 {
		font-size: 3rem;
	}
}
.post-date li {
	justify-content: flex-end;
}
body:not(.single-post):not(.elementor-editor-active) .post-date{display: none;}

.is-style-circle-mask img, .is-style-rounded img {
	border-radius: 9999px !important;
}
.share-widget {
	margin-left: -10px;
}

/* BLOCK STYLES */
.wp-block-image,
.wp-block-cover,
.wp-block-cover-image,
.wp-block-pullquote,
.wp-block-media-text {
    margin-bottom: 1.2rem !important;
}
.wp-block-image .aligncenter {
	margin-right: auto !important;
	margin-left: auto !important;
}
.alignfull {
	position: relative;
	width: 101vw !important;
	left: 0;
	top: 0;
	/* right: 50%; */
	margin-left: calc( ( (100% - 100vw) /2 ) ) !important;
	margin-right: calc( ( (100% - 100vw) /2 ) ) !important;
}
.alignleft, .alignright {
	margin-top: .9rem !important;
}
.alignleft {
	margin-right: 1.5rem !important;
}
.alignright {
	margin-left: 1.5rem !important;
}

.wp-block-quote {
    border-left-color: #327a8b;
}

figure.wp-block-pullquote.alignwide,
figure.wp-block-pullquote.alignleft,
figure.wp-block-pullquote.alignright {
    border-color: #f28123;
}

@media (max-width: 767px) {
	.alignleft, .alignright {
		float: none;
	}
}
@media (min-width: 768px) {
	.alignfull {
		left: 0;
	}
}
@media (min-width: 1200px) {
	.alignwide {
		position: relative;
		width: 70vw !important;
		left: 0;
		top: 0;
		/* right: 50%; */
		margin-left: calc( ( (100% - 70vw) /2 ) ) !important;
		margin-right: calc( ( (100% - 70vw) /2 ) ) !important;
	}
	.alignfull {
		left: 0;
	}
}

/* LANGUAGE */
.wpml-ls-statics-post_translations {
	border: 0 dotted gray;
	color: gray;
	font-size: 90%;
}
.wpml-ls-statics-post_translations:first-of-type {
	border-bottom-width: 1px;
	padding-bottom: 1rem;
}
.wpml-ls-statics-post_translations:last-of-type {
	border-top-width: 1px;
	padding-top: 1rem;
}

/* AESOP BLOCKS*/
.aesop-component.aesop-reveal {
	margin-bottom: 1.2rem;
}

/* ELEMENTOR */
.error404 .elementor-location-footer {display: none;}
@media (max-width: 1024px) {
	body:not(.home) > .elementor > .elementor-inner > .elementor-section-wrap > .elementor-element:not(.header-term) > .elementor-container .elementor-row,
	body.archive .tax-archive-banner-content {
		padding-right: 1.5em;
		padding-left: 1.5em;
	}
	body.archive .tax-archive-banner-content .tax-archive-banner {
		padding-right: 10px;
		padding-left: 10px;
	}
}
@media (max-width: 768px) {
	body:not(.home) > .elementor > .elementor-inner > .elementor-section-wrap > .elementor-element:not(.header-term) > .elementor-container .elementor-row,
	body.archive .tax-archive-banner-content {
		padding-right: 0;
		padding-left: 0;
	}
}
/* FOOTER */
.post.hentry {
    margin-bottom: 0;
}

/* ARCHIVE */
.tax-terms a span.badge {
	background-color: #327a8b;
	text-transform: uppercase;
	font-weight: normal;
	padding: 0.5rem;
	letter-spacing: 0.03rem;
}
.tax-terms a span.badge.badge-secondary {
	background-color: #696969;
}

body.page .post-nav {display: none;}

/* FOOT NOTES */
ol.alefba-footnotes-wrapper {
	border-top: 1px solid #F28123;
	margin-top: 3rem
}
.alefba-footnotes-wrapper::before {
	content: "✒ Footnotes:";
	padding: 1rem 0;
	display: block;
}
li.alefba-footnote-single {
	color: #696969;
	font-size: 85%;
}

/** Listings */
.pi-section-box-title {
	padding-bottom: 10px;
	line-height: 1.2;
}

/* Timeline JS */
.tl-slide-content,
.tl-media-wikipedia,
.tl-slide .tl-slide-scrollable-container
{
	width: 100% !important;
}
h2.tl-headline.tl-headline-title {
	line-height: 1.5 !important;
}