/*
 Theme Name:   technion Child Theme
 Theme URI:    http://www.wpbeginner.com/
 Description:  technion child theme 
 Author:       WPBeginner
 Author URI:   http://www.wpbeginner.com
 Template:     technion
 Version:      1.0.0
*/

@import url("../technion/style.css");
@import url("style-he.css");

#main-wrapper{
	top:-40px;
}

caption {
    text-align:right;

}

a:hover {
	text-decoration:underline;
}

#lang_sel_list ul .icl-en a{
	background:url("images/eng/hpeng14x70_up.jpg") no-repeat 0 0 !important;
}

#lang_sel_list ul .icl-en a:hover, #lang_sel_list ul .icl-en a:active, #lang_sel_list ul .icl-en a:focus{
	background:url("images/eng/hpeng14x70_mo.jpg") no-repeat 0 0 !important;
}

#lang_sel_list ul .icl-he a.lang_sel_sel{
	background:url("images/eng/hpheb14x70_push.jpg") no-repeat 0 0 !important;
}

a.arabic-link:hover, a.arabic-link:focus{	
	color:#fff;
}

form#searchform-google label
{
	display:none;
	float:left;
	color:#000;
}

.rtl form#searchform-google label
{
	float:right;
}


#fw .main {
	display: inherit!important;
}
	
#fw .item {
	display: inline-grid!important;
}

#megaMenu ul li a:focus, #megaMenu ul li a:hover,#megaMenu ul li.megaHover > a {
	background:url(images/eng/hpmm_bg.jpg) 0 0 repeat-x #EFECD9;
	color:#002d62;
}

/* Quick Menu Icos */
#top-bar-menu .quick-16 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -1177px 7px;
}

#top-bar-menu .quick-15 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -1097px 7px;
}

#top-bar-menu .quick-14 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -1017px 7px;
}

#top-bar-menu .quick-13 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -937px 7px;
}

#top-bar-menu .quick-12 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat 21px 7px;
}

#top-bar-menu .quick-11 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -59px 7px;
}

#top-bar-menu .quick-10 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -139px 7px;
}

#top-bar-menu .quick-9 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -219px 7px;
}



#top-bar-menu .quick-8 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -294px 7px;
}

#top-bar-menu .quick-7 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -374px 7px;
}

#top-bar-menu .quick-6 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -452px 7px;
}

#top-bar-menu .quick-5 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -533px 7px;
}

#top-bar-menu .quick-4 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -612px 7px;
}

#top-bar-menu .quick-3 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -688px 7px;
}

#top-bar-menu .quick-2 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -766px 7px;
}

#top-bar-menu .quick-1 a{
	background:url("images/eng/fast_links_sprite.png") no-repeat -848px 7px;
}



@media only screen
and (min-width : 1131px) {
	#top-bar-menu .quick-16 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -1177px -95px;
	}

	#top-bar-menu .quick-15 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -1097px -95px;
	}

	#top-bar-menu .quick-14 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -1017px -95px;
	}

	#top-bar-menu .quick-13 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -937px -95px;
	}
		
	#top-bar-menu .quick-12 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat 21px -95px;
	}
	
	#top-bar-menu .quick-11 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -59px -95px;
	}
		
	#top-bar-menu .quick-10 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -139px -95px;
	}
	
	#top-bar-menu .quick-9:hover a{
		background:url("images/eng/fast_links_sprite.png") no-repeat -219px -95px;
	}
	
	#top-bar-menu .quick-8 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -294px -95px;
	}
	
	#top-bar-menu .quick-7 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -374px -95px;
	}
	
	#top-bar-menu .quick-6 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -452px -95px;
	}
	
	#top-bar-menu .quick-5 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -533px -95px;
	}
	
	#top-bar-menu .quick-4 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -612px -95px;
	}
	
	#top-bar-menu .quick-3 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -688px -95px;
	}
	
	#top-bar-menu .quick-2 a:hover{
		background:url("images/eng/fast_links_sprite.png") no-repeat -766px -95px;
	}
	
	#top-bar-menu .quick-1 a:hover{ 
		background:url("images/eng/fast_links_sprite.png") no-repeat -848px -95px;
	}
}

/* =breadcrumbs
---------------------------------------------------------------*/
.breadcrumbs
{
	color:#002d62;
	width:74%;
	float:left;
	margin-bottom:10px;
}

.breadcrumbs span a
{
	color:#002d62;
	text-decoration:underline;
}

.breadcrumbs span a:hover, .breadcrumbs span a:focus
{
	color:#c19f10;
}

.breadcrumbs span
{
	color:#002d62;
}

a:focus{
	text-decoration:underline !important;
}

#searchform-google input#s {
	width: 51%;
}



.widget_search #searchform-google input#s {
	margin-right: -3px;
}

/* =Footer
-------------------------------------------------------------- */
#colophon {
	top:0;
}

.technion-rss-events .date{
	color:#5c4e21;
}

.last-events-title
{
	color:#F6EDCB !important;
	font-family:ReformaWebRegular;
	font-size:18px !important;
}

/* =Home Page
-------------------------------------------------------------- */
#home-news-container .jcarousel-prev{
	background:url("images/eng/carousel_arrows_sprite.png") no-repeat 0 0 !important;
}

#home-news-container .jcarousel-next{
	background:url("images/eng/carousel_arrows_sprite.png") no-repeat -60px 0 !important;
}

#homepage-slider .read-more:hover ,#homepage-slider .read-more:active {
	background: url(images/eng/hpENGreadm20x320_mo.png) 0 0 no-repeat transparent;
}

.news-entry .read-more:hover
{
	background: url("images/eng/hpENGread20x231_mo.jpg") no-repeat 0 0;
}

#homepage-slider .slide img
{
	width:100%;
	height:100%;
}

#action
{
	left:950px;
}

/*SIDEBAR*/
#primary ul li,#primary ul li a {
	color:#000;
}

/*Social Corner*/
#custom_html-2 .widget-title{
	color:#F6EDCB;
	font-family:ReformaWebRegular;
	font-size:18px;
}

/*#share-popup:hover,#share-popup:focus{
	background:url(images/share-h.png) no-repeat 0 0;
} */

/* Top */

#lang_sel_click ul li
{
	float:left;
}

a.lang_sel_sel.icl-he
{
	background: url("images/eng/hpheb14x70_push.jpg") no-repeat 0 0;
}

.lang_sel_clickicl_rtl
{
	float:right;
}

.lang_sel_clickicl_rtl ul li a 
{
    display: block;
    text-indent: -9999px;
    height: 14px;
    width: 70px;
}


#menu-eng-quick-links-menu li a
{
	font-size: 11px;
    line-height: 115px;
    text-align: center;
    color: #613e02;
    text-shadow: 2px 2px 2px #daa20f;
}

article#post-14726 .entry-content h2
{
	width:auto;
	display:inline-block;
}

article#post-14726 .entry-content span p
{
	display:inline-block;
}

#popular-links
{
	background:url("images/eng/hpengfast14x110_up.jpg") no-repeat 0 0;
}

#popular-links:hover,#popular-links:active , #popular-links:focus
{
	background:url("images/eng/hpengfast14x110_mo.jpg") no-repeat 0 0;
}

/* ACCESIBILLITY */

.fontsize strong{
	font-size:22px;
}

.fontsize #main h1, .fontsize #main h2, .fontsize #main h3 {
	font-size: 200% !important;
	line-height: 1.5;
}

.fontsize #access > div > ul > li > a, .fontsize .sub-menu-2 > li > a, .fontsize .sub-menu-3 > li > a
{
	font-size:24px;
}

.fontsize .date-time
{
	padding-top:2px;
}

.fontsize #subsidiary-second .widget_nav_menu li a
{
	font-size:20px;
}

.fontsize .entry-content h5 span,.fontsize .entry-content h2
{
	font-size:32px !important;
}

.fontsize .entry-content h4
{
	font-size:32px !important;
}

.fontsize .entry-content p,.fontsize .entry-content p span,.fontsize .entry-content  span
{
	font-size:27px !important;
	line-height: 35px;
}


.fontsize .post-14726 .entry-content table span strong a
{
	font-size:15px;
}

.fontsize .post-14726 .entry-content .wp-caption-text span
{
	line-height:22px;
}

.fontsize #homepage-slider .slide-details p
{
	font-size:22px !important;
	line-height: 22px;
}

.fontsize #post-9821 tr td
{
	font-size:27px;
}

.fontsize .news-home-popup .entry-content h2 {
    font-size: 27px !important;
    line-height: 27px !important;
}

.page-id-15242.fontsize table td span,.page-id-15249.fontsize table td span,.page-id-15263.fontsize table td span,.page-id-15227.fontsize table td span,.page-id-15176.fontsize table td span,.page-id-15215.fontsize table td span,.fontsize table td span,.fontsize .entry-content table td p
{
	font-size:17px !important;
}

.page-id-15767.fontsize table td span,.page-id-15772.fontsize table td span,.page-id-15776.fontsize table td span,.page-id-15786.fontsize table td span,.page-id-15791.fontsize table td span,.page-id-12473 .fontsize td a
{
	font-size:17px !important;
}

.fontsize table td{
	font-size:17px !important;
}
.contrast .entry-header h1.entry-title
{
	color:#fff !important;
}

header.entry-header{
	position:relative;
}

#inner-header hgroup{
		width: 100%;
		display: flex;
    	justify-content: space-between;
	}

	.social-links-wrapper{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.social-links-wrapper .social-links-list{
		display: flex;
	}

	.social-links-wrapper .social-links-list .social-link-item{
		padding: 0 2px;
	}

	.textwidget .social-links-wrapper .social-links-list .social-link-item{
		padding: 0;
	}
	.social-links-wrapper .social-links-list .social-link-item a{
		width: 40px;
    	height: 40px;
		cursor: pointer;
		display:block;
	}

	#title-container .social-links-wrapper .social-links-list .social-link-item {
    	padding: 0 3px;
	}

	.social-link-item.email a{
		background:url("images/share_email.png") no-repeat 0 0 transparent;
	}
	.social-link-item.email a:hover{
		background:url("images/share_email-h.png") no-repeat 0 0 transparent;
	}
	.social-link-item.twitter a{
		background:url("images/share_twitter.png") no-repeat 0 0 transparent;
	}
	.social-link-item.twitter a:hover{
		background:url("images/share_twitter-h.png") no-repeat 0 0 transparent;
	}
	.social-link-item.whatsapp a{
		background:url("images/share_whatsapp.png") no-repeat 0 0 transparent;
	}
	.social-link-item.whatsapp a:hover{
		background:url("images/share_whatsapp-h.png") no-repeat 0 0 transparent;
	}
	.social-link-item.facebook a{
		background:url("images/share_f.png") no-repeat 0 0 transparent;
	}
	.social-link-item.facebook a:hover{
		background:url("images/share_f-h.png") no-repeat 0 0 transparent;
	}
	.social-link-item.messenger a{
		background:url("images/share_m.png") no-repeat 0 0 transparent;
	}
	.social-link-item.messenger a:hover{
		background:url("images/share_m-h.png") no-repeat 0 0 transparent;
	}

	.social-links-list .social-link-item img{
		box-shadow: none !important;
	}

	.entry-content .social-links-wrapper .email{
		padding-right: 0px;
	}

	.entry-content .social-links-wrapper .social-links-list .social-link-item {
		padding: 0 1px;
	}

	#fancybox-content .entry-content .social-links-wrapper{
		display: none;
	}

 html:lang(en-US) .contrast #site-title a
{
	background:url("images/eng/technion-logo.png") no-repeat 0 0 !important;
}

.contrast a:link
{
	color:#fff !important;
}

.contrast #access > div > ul > li > a span
{
	color:#fff !important;
}

.contrast .sub-menu-2 > li > a span,.contrast .sub-menu-3 > li > a span
{
	color:#fff !important;
}

#fancybox-title
{
	display:none !important;
}

/* IPAD */
@media only screen and (max-width : 1000px) {
	#main-wrapper {
		top: 0;
	}

	.fontsize #access > div > ul > li > a, .fontsize .sub-menu-2 > li > a, .fontsize .sub-menu-3 > li > a {
		font-size: 22px;
	}

}

#menu-item-3677{
	width: 30%;
}

/* ubermenu */

.ubermenu ul li:not(.ubermenu-item-level-0) a:hover > span{
	text-decoration: underline;
}

.ubermenu-submenu-type-stack .ubermenu-submenu-type-stack > li > a{
	padding: 3px 0 3px 3px;
}

.ubermenu-item-level-3 .ubermenu-target-title {
    font-weight: normal;
}

#access ul li.ubermenu-active.ubermenu-item-level-0 > a{

	color: #002D62 !important;
}

#access li.ubermenu-item-level-3 span.ubermenu-target-title.ubermenu-target-text{
	font-weight: normal;
}

#access .ubermenu-main{
	background: transparent;
}


 html:lang(en-US) #access .date-time{
	 position:absolute;
	 top: 0;
	 right: 0;
	 left : initial;
 }

 html:lang(he-IL) #access .date-time{
	 position:absolute;
	 top: 0;
	 right: initial;
	 left : 0;
 }

 html:lang(he-IL) #access .ubermenu .ubermenu-submenu-type-stack>.ubermenu-item.ubermenu-column-auto.ubermenu-item-level-3{
	 padding-right: 25px;
 }

html:lang(en-US) #access .ubermenu .ubermenu-submenu-type-stack>.ubermenu-item.ubermenu-column-auto.ubermenu-item-level-3{
	 padding-left: 25px;
 }

#access .ubermenu .ubermenu-nav .ubermenu-column-1-3 {
    width: 30%;
}

#access .ubermenu-target-with-image{
	padding-right: 0px;
}


/* lang switcher polylang */

.lang-item a, .lang-item a:visited, .lang-item a:link{
    color: #bcbdbf;
}


.lang-item a:hover{
    color: white;
}

.lang-item {
    display: inline;
    list-style: none;
    margin: 0px 10px;
    float: right;
	height: 14px;
}
#subsidiary-second .widget_nav_menu .technion-map a{
	background:url("images/eng/technion-map-en.png") no-repeat top left;
}

#subsidiary-second .widget_nav_menu .seminars a{
	background:url("images/seminars.png") no-repeat top left;
}

#subsidiary-third{
	width:230px;
	height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


@media only screen and (max-width: 1000px) {
	#access > div > ul > li {
	width: 100%;
	}

	#access ul{
		width: 100%;
	}

	#access div.js-wpv-view-layout{
		position: relative;
	}
	
	/*#access li.ubermenu-item-level-1 {
    	background: url(images/eng/hpmm_bg.jpg) 0 0 repeat-x #EFECD9;
    	display: none;
    	right: 173px;
    	float: left;
    	top: 0;
    	left: 0;
    	padding-bottom: 25px;
    	padding-left: 0;
    	padding-right: 0;
    	padding-top: 25px;
    	position: absolute;
    	width: 456px;
    	min-height: 310px;
    	z-index: 99999;
    	-webkit-box-shadow: -1px 1px 0px 1px rgba(0, 0, 0, 0.3);
    	box-shadow: -1px 1px 0px 1px rgba(0, 0, 0, 0.3);
	} */

	#access .ubermenu-item .ubermenu-submenu-drop{
		top: 0;
    	width: 456px;
		display: inline-block;
    	height: auto;
    	overflow-wrap: break-word;
    	overflow: inherit;
	}

	html:lang(he-IL) #access .ubermenu-item .ubermenu-submenu-drop{
		right: 173px;
		left:initial;
	}

	html:lang(en-US) #access .ubermenu-item .ubermenu-submenu-drop{
		left: 173px;
		right:initial;
	}

	

	#access .ubermenu-bound, .ubermenu-bound-inner .ubermenu-nav{
		position: static;
	}


    #content .entry-content{
		position: relative;
	}


	.ubermenu .ubermenu-target{
		position: static;
	} 
}



@media only screen and (max-width: 670px) {
	html:lang(he-IL) #access .ubermenu-item .ubermenu-submenu-drop{
		right: 0px;
		left:initial;
	}

	html:lang(en-US) #access .ubermenu-item .ubermenu-submenu-drop{
		left: 0px;
		right:initial;
	}
	#subsidiary-third{
		width: 100%;
	}
}

.share-popup-sidebar .share-article #share-popup {
    position: relative;
	float: right;
    padding: 0;
	padding-top:0px;
    
}
.share-popup-sidebar .share-article{
	display: inline-block;
    float: right;
}

.share-popup-sidebar #popup-share-list{
	position:relative;
	left: 35px;
}
#secondary{
	box-shadow: none !important;
	background: transparent !important;
}

.entry-meta{
	font-size:13px;
	margin: 10px 0;
	display: flex;
}
.post-sub-title{
	color: #002d62;
	font-size: 14px;
	font-weight: bold;
    line-height: 20px;
    padding-bottom: 20px;
}
.post-main-image{
	margin-right: auto;
    margin-left: auto;
	
	max-width: 100%;
}

.post-main-image figure{
	margin:0;
	line-height: 8px;
	
}
.post-main-image figure img{
	margin-bottom:0;
	border-radius: 0px;
	box-shadow: none;
	
}

.post-main-image figcaption{
	background-color: #dcd6be;
	padding: 2px 10px 2px 10px;
	margin-bottom: 20px;
}

@media only screen and (max-width: 1000px){
	#secondary{
		margin-top: 0px !important;
	}
}


.technion-live-wrapper, .corona-wrapper{
	position: relative;
	margin-left: 0px;
    margin-right: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.corona-wrapper{
	margin-right:0px;
	padding-top:8px;
}

.technion-live-wrapper{
	width:175px;
}

.technion-live-wrapper p.text{
	color: white;
	font-size:14px;
	margin-bottom: 0;
	text-align: center;
}
.technion-live-wrapper p.sub-text{
	color: white;
	font-size: 12px;
    letter-spacing: 0.06em;
	text-align: center;
}

.technion-live-wrapper p.text:lang(he){
	font-family:ReformaWebRegular,Arial;

}

.technion-live-wrapper p.sub-text:lang(he){
	font-size: 14px;
	font-family:ReformaWebRegular,Arial;
}

.technion-live-img{
	position: absolute;
    top: 20px;
    
}


@media only screen and (max-width: 590px){
	.inner-header-wrapper{
		/*height: 150px !important; */ /* if there are soical links in header */
	}
	#inner-header hgroup{
		/*flex-direction: column;  */  /* if there are soical links in header */
	}
	.social-links-wrapper{
		margin-top: 10px;
	}
	.corona-wrapper{
		margin-right: 0px;
		padding-top: 8px;
	}
	.corona-icon{
		width:123px;
	}
	.technion-live-wrapper{
		margin-right: 10px;
    	width: 135px;
	}
	.technion-live-img{
		width:125px;
		padding-left:10px;
		top:23px;
	}

	.technion-live-wrapper p.text{
		font-size:11px;
	}
	.technion-live-wrapper p.sub-text{
		font-size: 8px;
	}
	.technion-live-wrapper p.sub-text:lang(he){
		font-size: 8px;
	}
}

@media only screen and (max-width: 460px){
	.social-links-wrapper{
		
	}
	.technion-live-wrapper{
		width: 125px;
    	margin-right: 0px;
	}
	.technion-live-img{
		padding-left: 0;
    	top: 25px;
	}
}

.social-links-wrapper {
	flex-direction: row-reverse;
}

@media only screen and (max-width: 1000px){

	.social-links-wrapper {
		flex-direction: row;
	}

}

.rtl .su-slider-slides {
	display: flex;
}

/*.rtl #subsidiary-container {
	width: 1200px;
} */

.rtl .su-slider-slides {
	float: left;
}

@media only screen and (max-width: 768px) {
	.rtl #subsidiary-container {
		width: auto;
	}
}

/*#subsidiary-third {
	width: 370px;
} */


@media only screen and (min-width: 1000px) {
	[lang="en-US"] #subsidiary-container {
		width: 100%;
		height: 220px;
	}
	
	[lang="en-US"] #subsidiary-second {
		height: 219px;
	}
	
	/*[lang="en-US"] #subsidiary-third {
		width: 373px;
		margin-top: -24px;
	} */
	
	[lang="en-US"] #colophon {
		background: url("https://www.technion.ac.il/wp-content/themes/technion/images/eng/hpENGbackgroundlowerbar.jpg") no-repeat 85% 21%;
		background-size: 137% 271px;
		height: 265px;
	}

	.rtl #site-generator {
		margin-top: 36px;
	}

	.rtl #subsidiary-second {
		height: 300px;
	}

	.rtl #subsidiary-container {
		height: 247px;
	}

	.rtl #inner-footer {
		height: 213px;
	}

	.rtl #colophon {
		background-size: 170% 307px !important;
		height: 306px;
	}
}