/*
 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;
}

#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/eng/iconshare40x40_on.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;
}

html:lang(en-US) #site-title a
{
	background:url("images/eng/technionenglogo270x105.png") no-repeat 0 0;
}

#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 #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-third .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;
}

.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;
}

.fontsize #post-9821 tr td
{
	font-size:27px;
}

.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;
}

.contrast .entry-header h1.entry-title
{
	color:#fff !important;
}

 html:lang(en-US) .contrast #site-title a
{
	background:url("images/eng/technionenglogo270x105.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;
}


@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;
	}
}
