/* ==== Google font ==== */
@import url('http://fonts.googleapis.com/css?family=Lato:400,300,700,900');
@import url(http://fonts.googleapis.com/earlyaccess/opensanshebrew.css);
@import url(http://fonts.googleapis.com/earlyaccess/opensanshebrewcondensed.css);
/* === fontawesome === */
@import url('/css/font-awesome.css');
/* ==== overwrite bootstrap standard ==== */
@import url('/css/overwrite.css');
@import url('/css/animate.css');


/*===========================
  Portfolio
============================ */
nav#filter a {
	background-color: #EEE;
	color:#555;
}
nav#filter a:hover, nav#filter a.current {
	background-color: #7bb5de;
	color:#fff;
}

/* ------- */

.isotopeWrapper article{
    margin-bottom: 5px;
}

#portfolio img  {
	width:100%;
}

#portfolio article p {
	margin-bottom:1.45em;/*set next row on the baseline*/
}
nav#filter {
	margin-bottom:1.5em;
}

nav#filter li {
	display:inline-block;
	margin:0 0 0 5px;
}
nav#filter a {
	padding: 4px 12px;
	line-height: 20px;
	text-decoration: none;
}


.portfolio-items article img {width:100%;} 

.portfolio-item {
	display: block;
	position: relative;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	cursor:default;
}
.portfolio-item img {
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	transition: all 300ms linear;

}
.portfolio-item .portfolio-desc {
    display: block;
    opacity: 0;
    position: absolute;
    width: 100%;
	left: 0;
	top: 0;
	/*color: rgba(220, 220, 220);*/
}


.portfolio-item:hover .portfolio-desc {
	/*padding-top: 5%;*/
	height: 100%;
    transition: all 200ms ease-in-out 0s;
	opacity: 1;
	/*background: #7bb5de;*/
}

.portfolio-item .portfolio-desc a {
	color: #fff;
}
.portfolio-item .portfolio-desc a:hover {
	/*text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.7);*/
	text-decoration: none;
}
.portfolio-item .portfolio-desc .folio-info {
	/*top:-20px;*/
	padding: 50px 0;
	height: 0;
    opacity: 0;
    position: relative;
	background: transparent;

}

.portfolio-item:hover .folio-info{
	height: 100%;
    opacity: 1;
	 background-color: #666666;
    /*background-image: url(http://212.150.186.108/home/images/raster.png);*/
    -webkit-transition: background-color 1000ms linear;
    -moz-transition: background-color 1000ms linear;
    -o-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
	top:0px;

}



.portfolio-item .portfolio-desc .folio-info h5 {
	text-transform: uppercase;
}
.portfolio-item .portfolio-desc .folio-info p {
	color: #ffffff;
	font-size: 12px;
}
body {
  padding-bottom: 40px;
  color: #666666;
}
pre { margin: 0; padding: 10px 20px !important;}

footer {
  margin-top: 200px;
}

.container, .jumbotron .container { width: auto; max-width: 1170px; }
#content-container {direction:rtl; text-align:right;}
#content-container p {font-size: 18px;}
#content-container  .col-md-7 p {text-align: justify;}
#top-container, #footer-container {max-width: 1200px; }
.jumbotron {
  margin: 60px 0;
  padding-left: 0;
  padding-right: 0;
}
  .jumbotron.intro {
    margin-top: 0;
  }

  .jumbotron .navbar {
    font-size: 14px;
    line-height: 1.6;
  }

/* menu styes */
.list-unstyled,
.list-unstyled ul { min-width: 120px }

/* page styles */

a, a:focus, a:active, a:hover, object, embed {color: #666666; outline: none; text-decoration: none; }
:-moz-any-link:focus { outline: none; }
input::-moz-focus-inner { border: 0; }
:focus { outline: 0; }
body { 
background: #ffffff;
font-family: 'Open Sans Hebrew Condensed', serif; 
}	
.isotope h2{font-size: 36px;}
.isotope h2 , .isotope h3 , .isotope h4  
{
text-shadow: 1px 2px 3px rgba(0,0,0,0.7);
margin-top: 5px;
margin-bottom: 5px;
}

.isotope h2 a, .isotope h3 a, .isotope h4 a 
{
color: #ffffff; 
margin-top: 5px;
margin-bottom: 5px;
}

.brand { padding: 10px 40px !important; }
.navbar-brand {
float: right;
height: 95px;
padding: 15px 0;
font-size: 18px;
line-height: 20px;
}
/*
.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
     width: 1170px;
}
*/

.navbar .navbar-collapse {
  text-align: center;
  padding: 0;
}
.navbar { border-radius: 0px; border: 0;  background: #ffffff;margin: auto;  min-height: 100px;  width:100%; display:block;}

.nav li a {font-size: 28px; padding: 0;}
.navbar-nav>li>.dropdown-menu {
margin-top: 14px;
border: 0;
top: 155px;
}
.navbar-nav>li>a {
line-height: inherit;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
background-color: #ffffff;
border-bottom: 4px solid #666666;
padding:  0 0 5px 0;
}

.dropdown-menu li,.dropdown-menu li a{
padding-right: 0;
}
ul, menu, dir{
padding: 0;
margin: 0;
-webkit-margin-before: 0 !important;
-webkit-margin-after: 0 !important;
-webkit-margin-start: 0 !important;
-webkit-margin-end: 0 !important;
-webkit-padding-start: 0 !important;
}

#top {

height: 80px; 

}
.yamm-content, .yamm-content a {direction: rtl; text-align: right;font-size: 16px;}
.dropdown-menu {
left: 0 !important;
min-width: 1136px;
padding: 0;
margin: 0;
}
.lang
{
top: 50px;
min-width: 200px !important;
padding: 10px;
}
.lang a {font-family: Arial;}
#languages{background-color:#abafb2; width: 134px; height:61px; color: #ffffff; font-size: 24px;}
/* to change the navigation dropdowns to hover instead of click
**
.dropdown:hover .dropdown-menu {
display: block;
}
*/

.dropdown-cols {
border-right: 1px solid #cccccc;
border-top: 1px solid  #cccccc;
}

.border-bottom {border-bottom: 1px solid #cccccc;}
.yamm .yamm-content,.yamm-content .row,.yamm-content .dropdown-cols,.yamm-content .col-sm-12 {margin: 0 !important;padding: 0 !important;}
.links {padding: 20px 60px;}
.links p {padding:  0;}
p {padding:  0 0 0 2px !important;}
.links a {color: #666666; font-size: 22px!important;}

.links a:hover {border-bottom: 2px dotted #666666;}

.links ul {list-style-type: none;padding:  10px 0 0 0;}
.links ul li{padding: 0 10px 10px 0;}
/*.archaeology .links a {color: #666666; font-size: 20px!important;}*/
div.ddlabel {padding: 35px 60px; background: #d93300; height: 101px;}
div.ddlabel a {font-size: 22px;color: #ffffff;}
a.department {font-weight: bold;color: #666666;font-size: 16px!important;}
.indent {text-indent: 10px;}
#panel
{
    position: fixed;
    height: 50%;    
    background: transparent;
    left: 0;
	z-index: 9;
	border: 0px solid red;
	top: 50%;
}

#panel-content {
position: relative;
width: 200px;
height: 270px;
background: #dddddd;
float: left;
margin: 0;
padding: 10px 5px;
}
#at4-share {margin-top: 100px!important;}
#search-tab
{
    position: relative;
    width: 48px;
    height: 50%;
    background-color: transparent;
    float:left;
}

#search
{
position: relative;
top: 500px;
background: #999999;
height: 48px;
width: 48px;
color: White;
padding: 12px ;
}

.fa-search {font-size: 22px; color: #ffffff;}

#fb-wrapper
{
position:absolute; 
left: 0.2%; 
top: 612px; 
margin:10px 10px 0 0;
}
.footer 
{
margin: auto;
text-align: right;
}

/* ---- isotope ---- */

.isotope {
border-top: 0px solid #888;
      background-color: rgba(255, 255, 255, 255);
  max-width: 1170px;
  height: 800px;
  margin: 15px auto 0;
  padding: 15px 0 0 0;
}

/* clear fix */
.isotope:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .item ---- */

.item {
  float: left;
  width: 292px;
  height: 200px;
  background: #ffffff;
  border: 2px solid #ffffff;
  /*border-color: hsla(255, 0%, 0%, 0.7);*/
  text-align: right;
  direction: rtl;
}

.item.width2 { width: 584px;   text-align: right;  direction: rtl;}
.item.height2 { height: 400px;   text-align: right;  direction: rtl;}
#left-top {background: url(/images/50/left-top.jpg) no-repeat;}
#middle-top {background: url(/images/50/middle-top.jpg) no-repeat;}
#right-top {background: url(/images/50/right-top.jpg) no-repeat;}
#left-bottom {background: url(/images/50/left-bottom.jpg) no-repeat;}
#right-middle {background: url(/images/50/right-middle.jpg) no-repeat;}
#middle-bottom {background: url(/images/50/middle-bottom.jpg) no-repeat;}
#middle-bottom {background: url(/images/50/middle-bottom.jpg) no-repeat;}
#right-bottom{background: url(/images/50/right-bottom.jpg) no-repeat;}
#bg {
display: none;
       position:absolute;
       top:135px;
       left:0px;
       width:100%;
       height:100%;
       background: #333333;
       z-index:2;
       /* These three lines are for transparency in all browsers.*/
       -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
       filter: alpha(opacity=80);
       opacity:.8; 
   }

.addthis_button_facebook_like {
overflow:hidden;
width: 60px !important;
}

   /* ========================================
Media queries
========================================= */
@media (min-width: 959px) and (max-width: 1199px) {
	.navbar-nav {
		margin-top: 20px;
	}

}

@media only screen and (min-device-width : 979px) and (max-device-width : 1024px)  {

	.navbar-nav {
		margin-top: 20px;
	}
}


@media only screen and (min-width: 768px) and (max-width: 959px) {

	.navbar-nav {
		margin-top: 20px;
	}
}

@media (min-width: 768px){
.navbar-header {
float: right!important;
width: 100%;
height: 100px;
}
}
/*
@media (min-width: 992px){

	ul.navbar-nav> li:first-child {text-align: left;}
	ul.navbar-nav> li:last-child {text-align: right;width: 120px;}
} */
@media ( min-width: 767px ) {
    .navbar-nav {
        margin: 0 auto;
        display: table;
        table-layout: auto;
        float: none;
        width: 100%;
    }
    .navbar-nav>li {
        display: table-cell;
        float: none;
        text-align: center;
    }
  .panel-group { width: 400px; }
  .thumbnail { margin: 0; }
  .dropdown-menu {
min-width: 100%;
}
	#fb-wrapper
{
top: 100%; 
margin:5px 0;
}
}
/*
@media (max-width: 990px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
	
    .navbar-collapse.collapse {
        display: block!important;
    }
	
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
*/
@media ( max-width: 766px ) {
	#fb-wrapper
{
top: 100%; 
margin:20px 0;
}

.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px;
text-align: right;
border-bottom: 1px solid #dddddd;
}
  .dropdown-menu {
min-width: 100%;
}
.dropdown-cols {
border-right: 0px solid #cccccc;
}
#bg {
display: none;
   }
}
@media ( max-width: 480px ) {
.dropdown-menu {
min-width: 100%;
}
.dropdown-cols {
border-right: 0px solid #cccccc;
}
#bg {
display: none;
   }
.isotope
 {  max-width: 100%;
  height: auto;
  margin: 5px auto 0;
  }
.item, .item.width2 {
position: relative!important;
top: 0 !important;
  float: none;
  width: 100%;
  max-height: 100%;
  background: #0D8;
  border: 0px solid #ffffff;
}
#left-top {background: url(/images/50/left-top-bg.jpg) no-repeat;}
#middle-top {background: url(/images/50/middle-top.jpg) no-repeat;}
#right-top {background: url(/images/50/right-top-bg.jpg) no-repeat;}
#left-bottom {background: url(/images/50/left-bottom-bg.jpg) no-repeat;}
#right-middle {background: url(/images/50/right-middle-bg.jpg) no-repeat;}
#middle-bottom {background: url(/images/50/middle-bottom-bg.jpg) no-repeat;}
#middle-bottom {background: url(/images/50/middle-bottom-bg.jpg) no-repeat;}
#right-bottom{background: url(/images/50/right-bottom.jpg) no-repeat;}
}

/* Grid demo styles */
.grid-demo {
  padding: 10px 30px;
}

  .grid-demo [class*="col-"] {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1em;
    text-align: center;
    line-height: 2;
    background-color: #e5e1ea;
    border: 1px solid #d1d1d1;
  }

