/*
Theme Name:     Dan
Theme URI:      http: //www.technion.ac.il/
Description:    Accessible child theme of the zacklive customized for Technion WordPress multisite. Named after Prof. Dan Shechtman Nobel prize laureate in Chemistry 2011
Author:         Cis WebDev
Author URI:     http: //net.technion.ac.il/
Template:       zacklive
Version:        1.3.6
Text Domain:  	dan
*/

/* Include the parent theme's stylesheet(s). Then anything you change below that will
 * override those styles. If you'd rather start from scratch, you can comment out this
 * next line.
 */
@import url("../zacklive/style.css");

/* FIX [@v1.3.4] - hide author of member page */
body.single-tg_members footer.entry-footer .byline { display: none; }

/* RTL FIX [@v1.3.2] set .dropdown-submenu arrow direction to right */
body.rtl .dropdown-submenu>a:after {
	border-right-color: #ccc;
	border-width: 5px 5px 5px 0px;
}

/* members fixes */
.member_wrap .member_title { margin-top:5px; }

/* wp-accessibility plugin-fixes */
.wpa-hide-rtl#skiplinks a, .wpa-hide-rtl#skiplinks a:hover, .wpa-hide-rtl#skiplinks a:visited ,
.wpa-hide-ltr#skiplinks a, .wpa-hide-ltr#skiplinks a:hover, .wpa-hide-ltr#skiplinks a:visited {
    z-index: 100000;
}
/* skiplinks: rtl fix */
.wpa-hide-rtl#skiplinks a:focus , 
body.rtl #wpadminbar .screen-reader-shortcut { 
	left: auto;     right:2px !important; min-width: 150px !important;
} 
#lang_sel_list.lang_sel_list_vertical { margin: 10px 0 8px; }

/* fix focus outline */
body #content:focus ,body #site-navigation:focus { outline:none !important; }

/* fix breadcrumbs */
body .breadcrumbs { padding: 0 38px;}
body .breadcrumbs a { color: #23527c; }

/* heigher entry title */
body header.entry-header { padding-top: 3px; } 

/* hide entry-footer: posted-on and author  */
article.type-page .entry-footer { border-top :none; }
article.type-page .entry-footer .posted-on ,
article.type-page .entry-footer .byline {display:none;}

/* FIX for pages with admin-bar caused by: tcc-site-init/css/technion-admin-bar-style.css?ver=1.6.7.wp2 */
body.admin-bar #page { margin-top: 0 !important;}	

/* Fix footer credits */
footer .site-info {text-align: center;}
footer #cis-foot-links { top:5px !important ; }

/* Site Branding fixes */
.site-branding 	{ margin-top:10px ; margin-bottom:5px ; }
.site-branding .technion-logo-link img 	{ max-height:65px ; vertical-align: baseline;} 



 

/* Add extra Head Space  */
 
#content.site-content { margin-top: 50px; }
/* ____________  body.design-style-default _________________ */
body.design-style-default  .site-branding  { min-height: 90px;  margin-top: 30px;	} 



/* optional fix(???)  for collapsed dropdownmenu */
@media (max-width: 767px) {
	XXX body .navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
		background-color: transparent;     background-color: red;
		border: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}


/* _________________________ body.design-style-manlam  ______________________________
   relocated from  from cis-templates/header-manlam.php	
*/


	


/* _________________________ /body.design-style-manlam  ______________________________*/



/*
_______________________________________
fixes for a11y-toggle-fontsize contrast button 
_______________________________________
*/

#top-links{
  width: 100%;
}

#menu-top-links{
  float: right;
}

#top-links ul{
  display: flex;
  float: right;
  flex-wrap: wrap;
}
#top-links ul li{
  display: table-cell;
  padding: 0 5px;
  border-left: 1px solid;
}
#top-links ul li:first-child {
  border-left: 0;
}
.trail-item:nth-child(3){
  display: none !important;
}
.trail-items li::after {
    content: "»" !important;
}
/******************************************************************
IFRAME
******************************************************************/
.h_iframe        {position:relative;}
.h_iframe .ratio {display:block;width:100%;height:100%;  z-index: -9999; position: relative;}
.h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}
/******/
.home .entry-title {display: none;}

.fontsize table {
  font-size: 150% !important;
  line-height: 1.4;
}

.fontsize ul li ul li:not(.a11y-toolbar-list-item) {
  font-size: 100% !important;
}

.tablepress-id-13 td.column-1 {
  white-space: nowrap;
}

.fontsize .su-column {
  font-size: 150%;
}

.fontsize .su-column li {
  font-size: 100% !important;
}
body.contrast .su-tabs-nav span {background-color:#E0E0E0;}
body.contrast .su-tabs-current  {background-color:#FFF !important;}
html.fontsize .su-tabs-panes div, html.fontsize .su-tabs-nav span {font-size:1.5em !important;}
html.fontsize .wp-caption .wp-caption-text {font-size:1.3em !important;}


/* FIX [@v1.3.6] */

html.fontsize .breadcrumbs ,
html.fontsize #cis-foot-links ,
html.fontsize #service-navigation { font-size: 120% ; }

html.fontsize .widget .textwidget { font-size: 140% ; }
body.contrast .featuredposts-excerpt { background: #000 !important;  }
body.contrast #content #secondary aside.widget {
    background-color: inherit !important;
}



html.fontsize h1 { font-size: 38px !important ;  line-height: 1.1; }
html.fontsize h2 { font-size: 32px !important ;  line-height: 1.1; }
html.fontsize h2.widget-title { 
				   font-size: 18px !important ;  line-height: 1.1; }
html.fontsize h3 { font-size: 28px !important ;  line-height: 1.1; }
html.fontsize h4 { font-size: 24px !important ;  line-height: 1.1; }
html.fontsize h5 { font-size: 20px !important ;  line-height: 1.1; }
html.fontsize h6 { font-size: 16px !important ;  line-height: 1.1; }

html.fontsize li:not(.a11y-toolbar-list-item) li ,
html.fontsize li:not(.a11y-toolbar-list-item) li li {
    font-size: 100% !important;
}

/* print form css */

#post-4168 .entry-title{
  display: none;
}
#post-4117 .entry-title,#post-4101 .entry-title {
  display: none;
}

#HTMLtoPDF .title{
  margin-bottom: 40px;
}

#HTMLtoPDF td{
  border: none;
  padding-bottom: 15px;
}

#btnPrint, #btnSave{
  margin-top: 20px;
    border-radius: 10%;
    height: 40px;
    width: 100px;
    color: #FFF;
    background-color: #3498db;
    text-shadow: 0 1px 1px rgba(255,255,255,.3);
}

.gform_button{
    border-radius: 10%;
    height: 40px;
    color: #FFF;
    background-color: #3498db;
    text-shadow: 0 1px 1px rgba(255,255,255,.3);
}


.table-filter{
	display:flex !important;
}

.table-filter-select{
	margin-right: 20px;
}
.table-filter-title{
	padding-top:  5px;
}

/* make the text of close in the ui dialog transparent */
button.ui-button.ui-dialog-titlebar-close{
  color: transparent;
}


#footer-widgets1{
  display: flex;
  flex-wrap: nowrap;
}

@media(max-width:650px){
  #footer-widgets1{
    flex-wrap: wrap;
  }
}


.navbar-toggle{
  margin-right: 0 !important;
}

.theses-angular{
    display:none;
}

body.hide-table .theses-table{
  display:none;
}


.bootstrap-scope{
  overflow: auto;
  overflow-x: hidden;
  overflow-y: hidden;
}

@media(max-width:760px){
  .entry-content .bootstrap-scope .table{
    max-width: none;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch !important;
  }
}

.search-field{
  width: 150px;
}

#___gcse_0{
  width: 300px;
  float: left;
}

/* changes from graduate */

.header-top-1 {
    background: #f9f9ef !important;
    min-height: 80px !important;
}

body.design-style-manlam .header-top-2 {
    border-bottom: 3px solid #D59F10 !important;
}

.header-top-2 .site-description {
    width: 100% !important;
    padding-top: 15px !important;
    font-size: 20px !important;
}

body.design-style-manlam .header-top-2 .site-branding #header-branding-box {
    background: #d4cfaf !important;
    border-color: #D59F10 !important;
}


nav ul.nav li a:hover, nav ul.nav li a:focus {
    background-color: #d4cfaf !important !important;
}


.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: #d4cfaf !important;
}

.widget-title {
    border-bottom: 1px solid #D59F10 !important;
}


h1.entry-title:lang(he) {
    text-align: center;
}

.tablepress tbody tr td:lang(he) {
    text-align: center;
}

.tablepress thead tr th:lang(he) {
    text-align: center;
}