@font-face {
    font-family: 'Alef';
    src: url('../font/Alef-Webfont/Alef-Regular.eot');
    src: url('../font/Alef-Webfont/Alef-Regular.eot?#iefix') format('embedded-opentype'),
		url('../font/Alef-Webfont/Alef-Regular.woff') format('woff'),
		url('../font/Alef-Webfont/Alef-Regular.ttf') format('truetype'),
		url('../font/Alef-Webfont/Alef-Regular.svg#alefregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Alef-bold';
    src: url('../font/Alef-Webfont/Alef-Bold.eot');
    src: url('../font/Alef-Webfont/Alef-Bold.eot?#iefix') format('embedded-opentype'),
		url('../font/Alef-Webfont/Alef-Bold.woff') format('woff'),
		url('../font/Alef-Webfont/Alef-Bold.ttf') format('truetype'),
		url('../font/Alef-Webfont/Alef-Bold.svg#alefregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
    background-color: #ffffff;
    background-image: none;
}

body,
input,
textarea,
.page-title span,
.pingback a.url,
h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
.site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,

.post .entry-utility,
.post .entry-utility a,
.post h2.entry-title a,
.entry-meta a,
.entry-utility a,
.page-title a:link,
.page-title a:visited,
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6,
.pingback p,
.reply,
.widget-title,
.wp-caption-text,
input[type=submit] {
    font-family: 'Alef';
    color: #333;
}
.post .entry-utility a:hover,
.entry-meta a:hover,
.entry-utility a:hover,
a:hover,
.entry-content a:hover,
.entry-summary a:hover,
.tags a:hover{
    color: #828282;
}



/*-------------------------------------------------------------- */
/* =Sprite
-------------------------------------------------------------- */
.ort_site,
.Sci-Tech,
.navigation .nav-next a:after,
.navigation .nav-previous a:after,
a.rpb-more span,
.ort_google_calendar_widget .calendar_more span{
    background-image: url('../images/sprite.png');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-color: transparent;
}
/*-------------------------------------------------------------- */
/* =Header
-------------------------------------------------------------- */
#header{
    background-image: none;
}
#branding{
    padding: 1rem 0 0;
    border-bottom: none;
}
.ort_site,
.Sci-Tech{
    display: inline-block;
    line-height: 0;
}

/*logo ort + sci tech*/
.ort_site{
    background-position: 0 38%;
    background-size: 150% auto;
    height: auto;
    padding-bottom: 17%;
    width: 37%;
    margin-right: 10px;

}
.Sci-Tech{
    background-position: 0 72%;
    background-size: 131% auto;
    margin-bottom: 1rem;
    padding-bottom: 12%;
    width: 37%;
}
/*name of school & sub title*/
.top-title{
    margin-top: 1.2rem;
    background-color: #dcdcdc;
    padding:2rem;
    text-align: right;
}
.school_name,
.header_search,
.site-title,
.site-description{
    display: block;
}
.site-title a, .site-description a {
    color: #353535;
    font-family: 'Alef-bold';
    font-weight: normal;
}
.site-title a{
    font-size: 3.5rem;
    color:#ed6502 ;
}

.site-description a{
    font-size: 2.4rem;
    margin: 0;
}



/*----------------------------*/
/*-----HomePage Structure-----*/
/*----------------------------*/
.main{
    background-color: #ffffff;
    margin:1.4rem 0;
}
#mainPage {
    padding: 0;
}
#mainPage .widget-title span {
    font-family: 'Alef-bold';
    font-size: 2rem;
    font-weight: normal;
    padding-right: 0;
}
#container{
    background-color: #ffffff;
    /*padding: 0;*/
}
.widget-container {
    padding: 0 1rem;
}


/*-----Widgets Title-----*/
#mainPage .widget-title{
    border-radius:0;
    color:#333333 ;
    background:#ececec ;
    box-shadow:-10px 0 0 0 #ECECEC,15px 0 0 #ECECEC;
    padding:5px 10px;
}
#mainPage .widget-title:before{
    content: none;
}
#mainPage .widget-title span{
    background: none;
}
.sidebarWarperRight .sidebar,
.sidebarWarperLeft .sidebar,
.content-wrapper .sidebar{
    margin-bottom: 2.5rem;
}

/*----- main image -----*/
#sidebarPicture .widget_sp_image {
    padding: 0;
}

.sidebar.sidebarPicture{
    height: auto;
}

/*----- link-icon -----*/
#sidebar1 {
    height: auto;
    padding: 1rem 0;
}
/*style is un css\link-icon-style.css*/

/*----- category & tag post widgets -----*/
.rpb p,
.rpb a{
    font-size:1.6rem;
    font-weight: normal;
    color: #646464;
    line-height: 2.2rem;
}
.rpb p{
    line-height: 1.9rem;
}
.sidebar .rpb a:link,
.sidebar .rpb a:visited,
.sidebar .rpb a:visited,
.sidebar .rpb a:active,
.sidebar .rpb a:hover {
    color: #646464;
}
.sidebar .widget-title ~ div{
    font-size: 16px;
    color:#646464;
    overflow: hidden;
    line-height: 22px;
}
.sidebar .widget_rpb ul li{
    padding-top:10px
}
.sidebar .rpb_thumbnail_right ~ .rpb_content {
    width: auto;
}
.sidebar a.rpb-more,
.ort_google_calendar_widget .calendar_more{
    color: #666666;
    font-family: "Alef-bold";
    font-size: 1.6rem;
    font-weight: normal;
    background-color: transparent;
    bottom: -0.2rem ;
    padding: 0 ;
}
a.rpb-more span,
.ort_google_calendar_widget .calendar_more span{
    background-color: #dbebf2;
    border-radius: 50%;
    text-indent: -9999px;
    overflow: hidden; /*hidding the original plugin ">" and replacing it with an image*/
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background-position: 0 -369px;
    vertical-align: middle;
    margin-right: 0.2rem;
}

/*facebook widget*/

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe {
    max-height: 30rem;
    border-bottom: none;
}
/*text -widget*/
.textwidget {
    padding-top: 0.6rem;
}
/*----------------------------*/
/*-----------FOOTER-----------*/
/*----------------------------*/

#colophon{
    background-color:#ececec ;
    color: #333;
    font-size: 1.6rem;
}
.footer ul li a,
.footer ul li a:hover,
.credits a,
.credits a:hover{
    color: #333;
}
.static_links li{
    font-size: 1.6rem;
}


/*---------------------------------------*/
/*--------All The Rest of The Site-------*/
/*---------------------------------------*/
.category #container,
.single #container{
    /*padding: 0;*/
    border-left: none;
}

/*----------------------------*/
/*--------Left Navigation-----*/
/*----------------------------*/
.post-item,
.cat-item {
    padding-right: 0.3rem;
}

#sidebar .selected{
    background-color:#cce0e9 ;
    border-radius: 0;
}
.cat-item a, .cat-item a:hover, .cat-item a:visited,
.cat-item a:link, li.post-item a{
    font-family: 'Alef';
    font-size: 1.8rem;
    font-weight: normal;
    color: #333333;
}
#sidebar .selected a{
    font-family: 'Alef-bold';
    font-weight: normal;
    color: #333333;
}
/*the orange squer near every LI*/
.cat-item img,
.post-item img{
    background-color: #ed6502;
    margin: 4px 3px 0 0;
    padding: 0;
}

/*children has gray squer*/
.children li img{
    background-color: #b2b2b2;

}
.leftMenu {
    border-bottom: 0.1rem dotted;
    /*margin-top: 1rem;
    padding: 2rem;*/
}


/*----------------------------*/
/*---------Post Design--------*/
/*----------------------------*/

/*post section*/

.single .post{
    margin-right: 0;
}
/*post header*/
#content .entry-title{
    background-color:#F4F4F4;
    color: #333333;
    font-family: 'Alef-bold';
    font-size: 2rem;
    font-weight: normal;
    height: auto;
    line-height: 1.2;
    padding: 1rem 1.5rem 0 1rem;
}
.post h2.entry-title a{
    font-family: inherit;
}
/*published on & author*/
.entry-meta{
    background-color:#F4F4F4;
    padding:0 1.5rem 0.5rem 0;
    margin-bottom: 0;
}

/*the post body*/
.entry-content,
.entry-summary{
    color: #333333;
    font-size: 18px;
    font-family: 'Alef';
    padding-right: 1.6rem;
    margin: 1rem 0 2rem;
}

/*Flex slider*/
.flex-direction-nav li a.prev{
    left:-11px !important;
}
.flex-direction-nav li a.next{
    right: -12px !important;
}
.tags{
    color:#333333 ;
    padding-right: 28px;
    font-size: 1.6rem;
}
.tags a{
    color:#333333 ;
}

/*Next & Previous links*/
.navigation a:link,
.navigation a:visited{
    color: #333333;
    font-size: 1.6rem;
    padding: 0.5rem 0 0.5rem 3rem;
    position: relative;
    background-image: none;
}

.navigation .nav-next a{
    padding: 0.5rem 3rem 0.5rem 0;
    /*padding-top: 7px !important;*/
}
.navigation .nav-next a:after,
.navigation .nav-previous a:after{
    content: "";
    position: absolute;
    background-color: #dbebf2;
    background-position: 0 -36.9rem;
    left: 0;
    top: 0.3rem;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
}
.navigation .nav-next a:after{
    background-position: 0 -40.8rem;
    left: auto;
    right: 0;
}
/*background-position for IE 8-11*/
.ie8 .navigation .nav-next a:after,
.ie9 .navigation .nav-next a:after{
    background-position: 0 -408px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .navigation .nav-next a:after,
    .navigation .nav-next a:after{
        background-position: 0 -408px;
    }
}
.ie8 .navigation .nav-previous a:after,
.ie9 .navigation .nav-previous a:after{
    background-position: 0 -369px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .navigation .nav-previous a:after,
    .navigation .nav-previous a:after{
		background-position: 0 -369px;
    }
}

/*the edit button*/
#content .entry-utility{
    margin-right: 28px;
}

/*----------------------------*/
/*----------Category----------*/
/*----------------------------*/
.category-news #content,
.category-announce #content{
    border: none;
}

/*page title - ex "hadashot"*/
#content .page-title{
    padding-right: 1.4rem;
    margin-bottom: 1rem;
}

.single .post/*,
.category .post*/{
    padding-left: 15px;
}
/*thumbnail imag in post lists*/
.category .category_thumbnail_right{
    margin-top: 0;
}
/*.category #content .category_thumbnail_right img{
    height: 85px;
    width: 120px;
}*/
/*read more link*/
.entry-content a,
.entry-summary a{
    color: #333;
    border-bottom: 1px dotted #333333;
    /*in the futuer when the text-decoration will be supported this will do the dotted underline */
    /*    border-bottom: 0;
	text-decoration: underline dotted;*/
}


#content .entry-summary a:last-child {
    font-size: 1.6rem;
    line-height: 2;
}
.tag #container,
.page #container,
.search #container,
.author #container,
.bbpress #container {
    padding: 0;
}

/*----------------------------*/
/*---------Page Design--------*/
/*----------------------------*/
.tag #container,
.page #container,
.search #container {
    margin: 0;
    padding: 0 1rem;
}

.page #content .entry-title{
    padding: 1.5rem 2.7rem 1.5rem 1rem;
    margin-top: 1rem;
}

/*---------SEARCH-PAGE--------*/
.search-no-results #content{
    min-height: 35rem;
}
.search-no-results #content .entry-title{
    padding-bottom: 1rem;
}
/*------- Lemida BeHerum ------*/
.page-template-page_herum #content .entry-title{
    font-size: 3rem;
    color: #ed6502;
}

/*---------------------------------------------------------*/
/*---------------only for 700px to 960px-------------------*/
/*---------------------------------------------------------*/
@media only screen and (min-width: 700px) and (max-width: 959px){

    /*icon widgets*/
    .widget-container.widget_link_icons {
		width: 100%;
		display: block;
    }
}

/*---------------------------------------------------------*/
/*----------------------from 700px ------------------------*/
/*---------------------------------------------------------*/
@media only screen and (min-width: 700px){
    #branding{
		text-align: center;
    }
    /*logo ort + sci tech*/
    .ort_site,
    .Sci-Tech{
		background-size: auto;
		line-height: auto;
		padding-bottom: 0;
		margin:0;
    }
    .ort_site{
		width: 37rem;
		height: 5rem;
		background-position: 0 0;
    }
    .Sci-Tech{
		background-position: 0 -6.4rem;
		height: 5rem;
		width: 13.5rem;
    }
    .top-title{
		padding: 2.5rem 2.5rem 2.5rem 0;
    }
    .site-title a{
		font-size: 4.8rem;
    }
    .school_name{
		width: 71%;
		/*padding-bottom: 15px;*/
    }
    .school_name, .header_search,
    .site-title, .site-description {
		display: inline-block;
    }
    .leftMenu{
		border-bottom: none;
		border-right: 0.1rem dotted;
		padding: 1rem;
    }
    .category-news .leftMenu,
    .category-announce .leftMenu{
		margin-top: 4.4rem;
    }
    .sidebarWarperRight .sidebar,
    .sidebarWarperLeft .sidebar,
	.content-wrapper .sidebar{
		height: 36rem;
    }
    .sidebarWarperLeft .widget_text .textwidget {
		max-height: 30rem;
    }
    /*category page*/
    .category_thumbnail_right ~ .post-content {
		width: calc(100% - 13rem);

    }
    .category_thumbnail_right ~ .post-content p{
		width: 98%;
    }

}
/*---------------------------------------------------------*/
/*-------------------from 960px and more-------------------*/
/*---------------------------------------------------------*/
@media only screen and (min-width: 960px){
    /*----------------------------*/
    /*-----------HEADER-----------*/
    /*----------------------------*/

    .header_search{
		padding-bottom: 0.4rem;
		width: 28%;
		vertical-align: bottom;
    }
    /*search code in header - need to be changed - not nice code saving it for later  - rachel 02.2015*/
    #searchform{
		background-color: #f6f6f6;
		background-image: none;
		padding: 0.6rem 1rem 0.6rem 0.6rem;
		width: 24.5rem;
		height: auto ;
    }
    #searchform #s{
		color: #999999;
		font-family: 'Alef';
		font-size: 1.8rem;
		line-height: 2rem;
		margin: 0;
		padding: 0;
		width: 87%;
    }
    #searchform #searchsubmit{
		margin: 0;
    }

    /*----------------------------*/
    /*-----Home Page Stracture----*/
    /*----------------------------*/
    #mainPage {
		/*padding: 1rem;*/
    }
    /*Widgets borders*/
    .top-left-border,
    .top-border{
		border-left: 1px dotted;
		border-top: none;
    }
    .left-border,
    .top-border{
		border-left:none;
    }
    .sidebarWarperRight,
    .sidebarWarperLeft,
	.content-wrapper{
		margin-top: 2rem;
    }
    .sidebar.sidebarPicture{
		width: 700px;
		padding: 0;

    }
    .sidebarPicture .widget_huge_it_widget {
		width: 700px;
    }
    /*----- link-icon -----*/
    #sidebar1 {
		height: auto;
		padding: 0;
    }

    #sidebar1 .widget-container{
		width: 260px;
		padding: 0 1rem 0 0;
    }
    #sidebar1 .widget-container ul{
		width: 100%;
    }


    .sidebar,
    #sidebar2, #sidebar3, #sidebar4{
		height: 36rem;
    }

    .ort_google_calendar_widget iframe{
		height: 26rem !important;
		max-height: 26rem;
    }
    /*Main Image*/
    #sidebarPicture .widget_sp_image img {
		width: 100%;
		height: 30.7rem;
    }
    #sidebarPicture .widget_sp_image {
		width: 696px;
		padding: 0;
    }
    .videosidebar embed,
    .videosidebar object,
    .videosidebar iframe,
    .ortimagegallerywidget,
    .ort_slide_show_box .gss,
    .widget_ort_image_gallery .gss,
    .widget-container .fb_iframe_widget,
    .textwidget iframe{
		margin-top: 4rem;
		width: 95% !important;
    }
    .ortimagegallerywidget,
    .ort_slide_show_box .gss,
    .widget_ort_image_gallery .gss{
		margin-top: 5rem;
    }
    /*footer*/
    .footer .static_links .rights a {
		padding-left: 0;
    }

    /*----------------------------*/
    /*--------Single & Page-------*/
    /*----------------------------*/
    .home #container {
		padding-top: 1.5rem;
    }
    #leftMenu #sidebar {
		margin-left: 0;
    }
    .tag #container,
    .page #container,
    .search #container,
    .author #container{
		width:96rem;
		padding: 0;
		margin: 0;


		border: 0;
    }
    .category #container,
    .single #container{
		padding: 0;
    }
    #container #content {
		margin: 0 0.5rem 0 1.5rem;
    }
}
/*--------------------------------------------*/
/*----------------For Link icons--------------*/
/*--------------------------------------------*/

/*grey link-icon style*/
.grey .widget_link_icons ul{
    height: auto;
}
.grey .widget_link_icons li {
    display: inline-block;
    height: 9.5rem;
    margin: 0 0.3% 2%;
    padding: 0;
    text-align: center;
    width: 7.3rem;
}
.grey .widget_link_icons li a {
    color: black;
    display: inline-block;
    font-family: "Alef";
    font-size: 1.4rem;
    font-weight: normal;
    width: 7.3rem;
}
.grey .widget_link_icons li span {
    background-image: url("../images/big-grey.png");
    background-repeat: no-repeat;
    height: auto;
    display: inline-block;
    margin: 0 auto;
    width: 6.8rem;
    padding-bottom: 6.6rem;
}
@media only screen and (min-width: 960px){
    .grey .widget_link_icons li {
		margin: 0 2% 2%;
    }
}
/*----------------------------*/
/*--------Other colors--------*/
/*----------------------------*/

/*pink*/
.pink .top-title {
    background-color: #a30171;
}
.pink .site-title a,
.pink .site-description a {
    color: #ffffff;
}
.pink #mainPage .widget-title:before{
    background-color: #a30170;
    background-image: none;
    content: "";
    height: 2.1rem;
    position: absolute;
    right: -1.36rem;
    top: 1.5rem;
    width: 0.7rem;
}
.pink #mainPage .sidebarWarperLeft .widget-title:before{
    right: -1rem;
}
.pink #mainPage .widget-title {
    padding-right: 0.1rem;
}
.pink a.rpb-more span:not(.assitive_text),
.pink .ort_google_calendar_widget .calendar_more span{
    background-color: #a30171;
    background-position: -24px -369px;;
}

.pink .cat-item img,
.pink .post-item img {
    background-color: #a30171;
}

/*colored*/
.colored .top-title {
    background-color: #494949;
}
.colored .site-title a {
    color: #e4e4e4;
}
.colored .site-description a{
    color: #fff;
}
.colored #mainPage .widget-title{
    box-shadow: none;
    color: #fff;
}
.colored #mainPage .sidebarWarperRight .sidebar:nth-child(1) .widget-title,
.colored #mainPage .sidebarWarperLeft .sidebar:nth-child(3) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(1) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(9) .widget-title{
    background-color: #d6518a;
}
.colored #mainPage .sidebarWarperRight .sidebar:nth-child(2) .widget-title,
.colored #mainPage .sidebarWarperRight .sidebar:nth-child(6) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(2) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(8) .widget-title{
    background-color: #519b00;
}
.colored #mainPage .sidebarWarperRight .sidebar:nth-child(3) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(4) .widget-title{
    background-color: #614a98;
}
.colored #mainPage .sidebarWarperRight .sidebar:nth-child(4) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(5) .widget-title{
    background-color: #0072ae;
}
.colored #mainPage .sidebarWarperLeft .sidebar:nth-child(1) .widget-title,
.colored #mainPage .sidebarWarperRight .sidebar:nth-child(5) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(3) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(7) .widget-title{
    background-color: #ff9e2d;
    color: #494949;
}
.colored #mainPage .sidebarWarperLeft .sidebar:nth-child(2) .widget-title,
.colored #mainPage .content-wrapper .sidebar:nth-child(6) .widget-title{
    background-color: #c60033;
}
.colored a.rpb-more span:not(.assitive_text),
.colored .ort_google_calendar_widget .calendar_more span{
    background-color: #3f2e14;
    background-position: -24px -369px;;
}
.colored .cat-item img,
.colored .post-item img {
    background-color: #383550;
}




/*---------------------------------------------------------*/
/*--------------- A11y contrast definitions ---------------*/
/*---------------------------------------------------------*/
body.acp-bright.pink a.rpb-more span,
body.acp-bright.pink .ort_google_calendar_widget .calendar_more span,
body.acp-bright.colored a.rpb-more span,
body.acp-bright.colored .ort_google_calendar_widget .calendar_more span{
	background-color: #000 !important;
}
body.acp-dark.grey:not(.pink):not(.colored) a.rpb-more span,
body.acp-dark.grey:not(.pink):not(.colored) .ort_google_calendar_widget .calendar_more span{
	 background-color: #dbebf2 !important;
}