/* New Styles Added after Oct 2016 */

.wbmpl_main_container_light_slider ul.lightSlider li{ box-sizing: border-box; }
.wbmpl_main_container_light_slider .lSrtl i.fa{ margin-left: 10px; }
.wbmpl_list_right { text-align: right; font-weight: normal; }
.wbmpl_list_title h2 { margin: 0 0 15px 0; }
.wbmpl_list_title { height: 75px; overflow: hidden; }
.news-featured ul li { line-height: 1.4em; }
.lSPager { position: absolute; height: 0; overflow: visible; top: 540px;} /* top: 270px for top of image */
@media only screen and (max-width: 1030px) {
	.lSPager { position: absolute; height: 0; overflow: visible; top: 1185px;} /* top: 910px for top of image */
}
@media only screen and (max-width: 850px) {
    .lSPager { display: none; }
}
.wbmpl_list_content { height: 85px; overflow: hidden;}
.wbmpl_list_thumbnail img{ height:auto; }
#norouz {
	position: absolute;
	top: 10px;
	right: 150px;
	width: 212px;
	height: 83px;
	background: url(../img/norouz-1399.png);
}

.lastartivlesbox_ad {
	width: 300px;
	float: left;
	margin-bottom: 20px;
	display: inline-table;
}

.wp-embedded-content {
	width:90% !important;
	min-height:250px !important;
	/*max-height: 380px;*/
}
#HomeZamanehForum iframe.wp-embedded-content {
	width: 291px !important;
}
.commentalert {
	padding-right: 25px;
	margin: 10px;
	background: url(../img/alert_icon.png);
	background-position: right;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: smaller;
	color: #999999;
}

.fullposttitle {
	display: inline-block;
	width: 100%;
	padding: 10px 0 0 0;
}

.tribune-feed ul li {
	margin-right: -10px;
}

/* -------------------------- */
/* Entekhabat 1396 custom css */
/* -------------------------- */
#ent01 .firsteight a img {
		border: 5px solid rgba(0, 0, 0, 0.1);
		width: 80px;
		height: auto;
		border-radius: 50%;

		margin: 0 0 5px 20px;
		display: block;
		float: right;
}

#ent02 .firsteight a img {
		border: 5px solid rgba(0, 0, 0, 0.1);
		width: 80px;
		height: auto;
		border-radius: 50%;

		margin: 5px 5px 0 0;
		display: block;
		float: left;
}

#elecc {
	margin: 0 5px 0;
}
#elec_header {
width: 60%; height: auto; padding-bottom: 20px; padding-right: 20px; border-radius: 5px; float: left;
}

.ent {
width: 49%; float: right;
}

#entp {
border: solid 1px; background: #00c0ff; color:#ffffff; border-radius: 8px 8px 0 0; margin: 0 5px 0; padding: 10px; text-align: center;
}

#ent01 {
background: #dfecf0; margin: 0 5px 0; padding: 20px;
}

#entpb {
border: solid 1px; background: #00c0ff; color:#ffffff; border-radius: 0 0 8px 8px; margin: 0 5px 0; text-align: center;
}

.ents {
width: 49%; float: left;
}

#entsp {
border: solid 1px; background: #99c82a; color:#ffffff; border-radius: 8px 8px 0 0; margin: 0 5px 0; padding: 10px; text-align: center;
}

#ent02 {
background: #e0e6d0; margin: 0 5px 0; padding: 20px;
}

#entsb {
border: solid 1px; background: #99c82a; color:#ffffff; border-radius: 0 0 8px 8px; margin: 0 5px 0; text-align: center;
}

.ents iframe {
	max-width: 430px;
	max-height: 242px;
}

.ents .addtoany_share_save_container {
	display: none;
}


#tab ul li span {
  display: none;
}

.wpsso-notice {
	display: none;
}

/* ---- Status posts ---- */
li.j-status-item {
	display: flex;
	margin: 5px 5px 10px;
	align-items: center;
}
li.j-status-item * {
	padding: 0 5px;
}
li.j-status-item .featured-thumbnail a img {
	border-radius: 50% !important;
	margin-bottom: 1em;
	transition: all 0.7s ease-in;
	-webkit-transition: all 0.7s ease-in; /* Safari */
}
li.j-status-item .featured-thumbnail a img:hover {
	border-radius: 20% !important;
}
li.j-status-item > h2 {
	margin: 0 !important;
}
li.j-status-item > h2:first-child {
	padding: 1em;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	width: 100%;
}
h2.j-status {
	line-height: 2em;
    padding-right: 1em;
    margin: 1em 1em 2em;
    border-right: solid 4px #a2bfd9;
}
/* Home page style for status */
#slider2 li.j-status-item {
	margin: initial;
   display: block;
   height: initial;
}
#slider2 li.j-status-item h2 {
	padding: initial;
	background: none;
}
.news-list .prev-next {
	position: relative;
    top: -7em;
    margin-bottom: -12em;
    overflow: visible;
	 pointer-events: none;
}
.news-list .prev-next::before {
    content: '';
    position: relative;
    bottom: 0.4em;
    display: block;
    width: 120%;
    height: 7em;
    right: -2.5em;
	 pointer-events: none;
	 background: none; /* For browsers that do not support gradients */
	 background: linear-gradient(rgba(255,255,255,0), white); /* Standard syntax (must be last) */
}
.news-list .prev-next span {
	pointer-events: auto;
}
#slider2 ul::after {
	background: none;
}
#slider2 .news-list ul {
	padding: 0;
}
#slider2 ul.j-status-item {
    margin-top: -20px;
}
div#slider2 {
    height: 510px !important;
}

/* -------------------------- */
/* Normalizing Posts Headings */
/* -------------------------- */
div.singlemain article div.post-content h1 {
	font-size: 2.1em;
	line-height: 2.6em;
	font-weight: normal;
}
div.singlemain article div.post-content h2 {
	font-size: 1.7em;
	line-height: 2.1em;
	font-weight: normal;
	margin: 0;
	color: inherit;
}
div.singlemain article div.post-content h3 {
	font-size: 1.5em !important;
	line-height: 1.9em !important;
	font-weight: normal !important;
	margin: 0 !important;
	color: inherit !important;
	position: static !important;
	padding: 0 !important;
	background: none !important;
}
div.singlemain article div.post-content h4 {
	font-size: 1.3em;
	line-height: 1.7em;
	font-weight: normal;
}
div.singlemain article div.post-content h5 {
	font-size: 1.1em;
	line-height: 1.5em;
	font-weight: 700;
}
div.singlemain article div.post-content h6 {
	font-size: 1em;
	line-height: 1.5em;
	font-weight: 700;
}
div.singlemain article div.post-content ul li {
	line-height: 1.5em !important;
	margin-right: 2em !important;
}


/* -------------------------- */
/* Homepage featured images */
/* -------------------------- */
/* use this code to get the horizontal list: <div id="homefeatured">[j-post-list type="post" limit="3" cat="magazine" has_excerpt="40" thumbnail="medium"]</div> */
#homefeatured ul.j-status-item {
    list-style: none;
    padding: 0;
    margin: 0;
		display: flex;
}
#homefeatured ul.j-status-item li.j-status-item {
    flex-direction: column;
		min-width: 30%;
    max-width: 33%;
		margin: 0 7px !important;
}
#homefeatured ul.j-status-item li.j-status-item .featured-thumbnail {
    height: 300px;
    overflow: hidden;
    width: 100%;
    position: relative;
}
#homefeatured ul.j-status-item li.j-status-item .featured-thumbnail img {
		position: absolute;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -170%;
    margin: auto;
		border-radius: unset !important;
    filter: grayscale(30%) hue-rotate(135deg);
		transition: all 0.5s ease-in;
		height: 300px;
		width: auto;
}
#homefeatured ul.j-status-item li.j-status-item:hover .featured-thumbnail img {
	filter: grayscale(0%) hue-rotate(0deg);
}
#homefeatured ul.j-status-item li.j-status-item h2 {
	background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.9) 100%);
	    line-height: 1.2 !important;
	    padding-top: 0.5em;
			margin: -120px -0.2em 10px !important;
	    height: 110px;
	    position: relative;
			display: block;
			width: 100%;
			transition: all 0.5s ease-in;
}
#homefeatured ul.j-status-item li.j-status-item:hover h2 {
	background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 60%, rgba(0,0,0,1) 100%);
}
#homefeatured ul.j-status-item li.j-status-item h2 a {
	font-size: 18px;
	position: absolute;
    bottom: 0.5em;
		color: #fff;
}
#homefeatured ul.j-status-item li.j-status-item:hover h2 a {
		color: #7dd4f7;
}
#homefeatured ul.j-status-item li.j-status-item div.post-excerpt {
	font-weight: 400 !important;
	font-size: 13px;
	padding-right: 0;
}
/* vertical image */
ul.postfeaturlist {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.postfeaturlist li {
		transition: linear 0.4s;
		border-radius: 0;
		box-shadow: none;
		filter: sepia(40%);
    display: grid;
    margin: 0.5em 0;
}
ul.postfeaturlist li:hover {
	filter: sepia(0%);
}
ul.postfeaturlist li a {
    display: flex;
}
.postfeatureimg {
    width: 40%;
		min-width: 40%;
    max-width: 40%;
    overflow: hidden;
    height: 100px;
    margin-left: 10px;
		border-radius: 7px;
}
.postfeatureimg img {
    width: 100%;
    height: auto;
}
ul.postfeaturlist li div.excerpt {
    font-size: 12px;
    font-weight: 400;
		/*color: #999 !important;*/
}
ul.postfeaturlist li h4 {
	width: 100%;
    margin: 0.5em 0;
    padding: 0;
		color: #000;
}
/* Featured board */
ul#j-feature-board {
    list-style-type: none;
    padding: 0;
    margin: 0;
		display: flex;
    flex-flow: row wrap;
}
ul#j-feature-board > * {
    flex: 3 100%;
}
ul#j-feature-board li.j-feature-item {
	margin: 0 0.2em !important;
}
ul#j-feature-board li#jfi0 {
    flex: 1 100%;
    width: 100%;
		margin: 70px 0 1em !important;
		height: 300px !important;
}
ul#j-feature-board li#jfi0 div.featured-thumbnail {
	height: 300px;
	    background-size: cover;
	    display: flex;
	    flex-flow: column;
	    justify-content: space-between;
}
ul#j-feature-board li.j-feature-item div.featured-thumbnail {
	width: 100%;
	height: 200px;
	background-size: cover;
	background-position: left center;
	margin-bottom: 0.7em;
}
#jfi0 .post-excerpt {
	display: block;
	    position: relative;
	    padding: 20px 20px 10px;
	    font-size: 14px;
	    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.8) 100%);
	    line-height: 29px;
	    color: #eee;
}
#jfi1 .post-excerpt, #jfi2 .post-excerpt, #jfi3 .post-excerpt {
	display: none;
	position: absolute;
	z-index: -1;
}
ul#j-feature-board li.j-feature-item a h2 {
    font-size: 1em !important;
		line-height: 1.5 !important;
		margin-bottom: 1em;
}
ul#j-feature-board li#jfi0 a h2 {
	font-size: 1.5em !important;
	position: relative;
	top: -70px;
	line-height: normal !important;
}
ul#j-feature-board li#jfi0 a h2 span {
	background: #fff;
	    display: block;
	    padding: 0 15px;
	/*box-shadow: 15px 0 0 #fff, -15px 0 0 #fff;*/
}
div#mm-home-mob { margin-top: 100px; }
@media all and (min-width: 480px) {
  ul#j-feature-board > li { flex: 1 auto; }
	ul#j-feature-board li#jfi0 a h2 { /*top: -270px;*/ }
	div#mm-home-mob { margin-top: 0; }
	ul#j-feature-board li.j-feature-item div.featured-thumbnail { height: 100px; }
	ul#j-feature-board li.j-feature-item a h2 { margin-bottom: auto; }
}
@media all and (min-width: 720px) {
  #jfi1 { flex: 1 0px !important; order: 1; }
	#jfi2 { flex: 1 0px !important; order: 2; }
	#jfi3 { flex: 1 0px !important; order: 3; }
}


/* -------------------------- */
/* SurveyGizmo custom css */
/* -------------------------- */
.sg-survey .sg-body h1 { font-size: 1.2em; }
.sg-survey .sg-header .sg-title { padding: 0px; }
.sg-survey .sg-question-title { font-size: 1em; line-height: 1.6em; }
.sg-survey .sg-slider-label-row { padding: 10px 0 10px; }
.sg-survey .sg-content { padding: 0px; }
.sg-rtl .sg-page-title { padding-top: 30px; }
