/*

Theme Name: ForeignCinema

*/

@import "css/reset.css";
@import "css/layout.css";
@import "typography.css";

/*------------------ globals --------------------*/

html {
	background: #000000;
}
html, body {
	height: 100%;
}
#fullWrap {
	min-height: 100%;
	height: auto !important;
	height: 0;
	margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
	width: 100%;
	overflow: auto;
}
#footer, #push {
	clear: both;
	height: 60px; /* #push must be the same height as #footer */
}

#push {
	height: 120px;
}


.left{
	float: left;
	width: auto;
}
.right{
	float: right;
	width: auto;
}

.imgshadow { border: 1px solid #rgba(255, 255, 255, 0.3); -webkit-box-shadow: 0px 0px 45px rgba(0, 0, 0, 1); -moz-box-shadow: 0px 0px 45px rgba(0, 0, 0, 1); box-shadow: 0px 0px 45px rgba(0, 0, 0, 1); /* For IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=0, Color='#000000')"; /* For IE 5.5 - 7 */ filter: progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=0, Color='#000000'); margin-top: 10px; margin-bottom: 10px; line-height: 0;}
	
	
.blurjs-10-radius{
    -webkit-filter:blur(10px);
    filter:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cfilter%20id%3D%22blur%22%3E%3CfeGaussianBlur%20stdDeviation%3D%2210%22%20/%3E%3C/filter%3E%3C/svg%3E#blur);
}

.showphone {
	display: none;
}


/*------------------ header ----------------------*/

#title {
	top: 7px;
	left: 22px;
	float:left;
	
	width: 356px;
	height: 57px;
	overflow: hidden;
	text-align: center;
}
#title h1{
	margin-top: 60px;
}
#nav {
	position: absolute;
	top: 20px;
	height: 35px;
	right: 0;
	width: 510px;
	
	padding: 0 0 0 5px;
	
	background: rgba(59, 43, 43, 0.4) url(images/pattern.png) top left repeat;
	border-left: 4px solid rgba(255, 255, 255, 0.1);
}
.menucont {
	position: relative;
	float: left;
	margin-right: 50px;
	margin-left: 7px;
	line-height: 25px;
	display: block;
}
.menu li {
	position: relative;
	float: left;
	margin-right: 15px;
	display: inline-block;
}

.socnets img {
	position: relative;
	float: left;
	margin-right: 10px;
	margin-top: 1px;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5; 
	opacity: 0.5;
	-khtml-opacity: 0.5;
	max-height: 20px;
}
.socnets img:hover {
	
	filter:alpha(opacity=100); 
	-moz-opacity: 1.0; 
	opacity: 1.0;
	-khtml-opacity: 1.0;
}

/*------------------ content ------------------------*/

#content{
	margin-top: 100px;
	padding-top: 25px;
	width: 100%;
	overflow: auto;
	z-index: 100000
}

.page-content-container, .blog-content-container{
	float: left;
	
	width: 34%;
	margin:  0 2%;
	padding: 15px 0 0 0;
	
}
.blog-content-container { width: 65%; }
.post-content-container, .blog-menu-container{
	float:right;
	
	width: 60%;
	/*max-width: 690px;*/
	
	padding: 20px 0 0 0;
	margin-right: 2%;
	overflow: visible;
}
.blog-menu-container { width: 25%; }

.content {
	
	padding: 10px;
	background: rgba(59, 43, 43, 0.4) url(images/pattern.png) top left repeat;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	overflow: hidden;
	float:left;
}
.blog-post, .blog-content-container > .content {
	max-width: 800px;
}

.full{
	width: 96%;
	margin: 0 2% 0 2%;
}
	

.min {
	min-width: 450px;
	max-width: 450px;
	margin: 0 20px;
}
.mid {
	min-width: 700px;
	max-width: 700px;
	margin: 0 20px;
}
	

.content-below {
	float: left;
	
	padding: 10px;
	margin-top: 20px;
	overflow: hidden;
	
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.right {
	float:right;
}
.min.right {
	clear: both;
}

.post {
	float:right;
	margin-bottom: 50px;
}
.post:before{
	content: "" !important;
}
.post-thumb, .post-text, .post-touch {
	float:left;
}
.post-thumb, .post-touch {
	width: 35%;
	margin:  0 2.5% 0 0;
}
.post-touch {
	margin-bottom: 30px;
	line-height: 0;
	overflow: hidden;
}

.post-text {
	width: 60%;
}

.pd-accordion {
	clear: both;
	width: 95%;
	text-align: left;
	z-index: 10;
}
	
.post h2 {
	position: absolute;
	top: -26px;
	left:0;
}

.gallery{
	width: 98%;
	max-width: 450px;
	float: left;
	margin: 10px;
	padding-bottom: 5px;
	
	border-top: 0;
	border-bottom: 0;
	background: rgba(0, 0, 0, 0.3) url(images/pattern.png) top left repeat;
}
.gallery .imgshadow{
	margin-top: 0;
}
#masonry .imgshadow {
	width: 330px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-top: 0;
}
.imgshadow img {
	width: 100% !important;
}
#masonry {
	width: 100%;
	overflow: visible !important;
}

.menuItem:after{
	content: " | ";
}
.menuItem:last-child:after{
	content: ".";
	margin-right: 45px;
	opacity: 0;
}

#slideshow, .slideshow {
	width: 98%;
	margin: 0 1% 10px 1%;
	height: 200px;
	overflow: hidden;
}
.slideshow { position:relative; width: auto !important; margin: 20px 0; }
#slideshow > div, .slideshow > div {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 0px;
	width: 100%;
	height: auto;
	overflow: hidden;
}
#slideshow div a img {
	padding: 0;
	margin: 0;
	width: 100%;
}
.slideshow div img, .slideshow div a img{
	padding: 0;
	margin: 0;
	width: 100%;
}
.slideshow-controls {
	width: 100%;
	position: absolute;
	z-index: 25;
	bottom: 35px;
	left: 5px;
}

.blog-post {
	width: 100%;
	position: relative;
}
.blog-post p > img, .blog-post p > a > img {
	max-width: 100%;
	width: 100% !important;
	height: auto !important;
	display: inline-block !important;
}

/*------------------- footer --------------------- */

#footer {
	width: 100%;
        background: rgba(59, 43, 43, 0.4) url(images/pattern.png) top left repeat;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	
	line-height: 60px;
	overflow: hidden;
}
#footer .left {
	margin: 10px 0 0 20px;
}
#footer .right {
	margin-right: 20px;
}

#footer .right .menucont{
	position:relative;
	float:left;
	
	border-right: 4px solid rgba(150, 150, 150, 0.3);
	margin: 20px 20px 20px 0;
	line-height: 20px;
}
#footer .socnets{
	border-left: 4px solid rgba(150, 150, 150, 0.3);
	padding-left: 20px;
	margin-top: 20px;
}

#nav2 {
	height: 25px;
	bottom: 25px !important;
	
	background: rgba(59, 43, 43, 0.4) url(images/pattern.png) top left repeat;
}
.copy {
	margin-top: 15px;
	line-height: 15px;
	font-size: 0.7em;
}



/*----------- Sidebar -----------*/

.widget-container {
	margin: 15px 0;
}






/*----------------- Media Queries -----------------------*/

@media screen and (max-height: 730px) { /* Tablets */


	.min.right{
		max-height: 300px;
		overflow-y: scroll;
	}
}

@media screen and (max-width: 900px),  screen and  (max-height: 630px) { /* Tablets */


	.post-content-container, .page-content-container, .blog-content-container, .blog-menu-container, .post-thumb, .post-text, #nav, #nav2, .post-touch{
		width: 98%;
		margin: 0 1% 0 1%;
	}
	
	.min.right{ max-height: none; }
	.min, mid, .full, .gallery {
		width: 96%;
		min-width: 0;
		max-width: 98%;
		margin-right: 1%;
		margin-left: 1%;
	}
	.right, .left {
		margin-right: 1%;
		margin-left: 1%;
		float: left;
	}

	.post {
		float: none;
	}
	.content, .gallery, .content-below {
		padding: 1%;
	}
	.gallery {
		margin: 0;
	}
	#content {
		left: 0;
		top:0;
		bottom: auto;
		position:relative;
	}
	#title{
		left:0;
		width: 100%;
	}
	#title img {
		max-width: 80%;
	}
	#nav {
		top: 80px;
		border: 0;
		padding: 0;
	}
	.menucont {
		float: none;
		display: table;   /* Allow the centering to work */
		margin: 0 auto 0 auto !important;
		text-align:center;
	}
	.menu {
		
	}
	.menu li {
		display: inline;
		float: none;
		margin-right: 10px;
	}
	#nav .menucont .menu li:first-child{
		display: none;
	}
	
	#nav2 {
		font-size: 0.8em;
		border: 0;
		padding: 0;
	}
	
	.menuItem {
		width: 100%;
		display: block;
		margin-bottom: 20px;
		text-align: center;
	}
	.menuItem:after{
		content: "";
		margin: 0!important;
	}
	#masonry{
		padding: 0;
	}
	#masonry .imgshadow {
		margin-right: 0;
		width: 100% !important;
	}
	

	.showphone {
		display: block;
	}
	.hidephone {
		display: none;
	}
	/* for touchtouch */
	#prevArrow{ left: 0 !important; }
	#nextArrow{ right: 0 !important; }
	#closeArrow{ right: 0 !important; }
	
	
}