/*
Theme Name:     Semiconductor
Theme URI:      http://semiconductorfilms.com
Description:    Child theme for the Twenty Twelve theme 
Author:         Oli Pyle
Author URI:     http://madebyoli.co.uk
Template:       twentytwelve
Version:        2.3
*/

@import url("../twentytwelve/style.css");

@font-face {
    font-family: 'bariol_lightlight';
    src: url('bariol_light-webfont.eot');
    src: url('bariol_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('bariol_light-webfont.woff') format('woff'),
         url('bariol_light-webfont.ttf') format('truetype'),
         url('bariol_light-webfont.svg#bariol_lightlight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bariol_regularregular';
    src: url('bariol_regular-webfont.eot');
    src: url('bariol_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('bariol_regular-webfont.woff') format('woff'),
         url('bariol_regular-webfont.ttf') format('truetype'),
         url('bariol_regular-webfont.svg#bariol_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	background-color: #fff;
}

body, p, li, h3, h4, h5, div {
		font-family: Helvetica, Arial, sans-serif;
}

body .site {
	box-shadow: inherit;
}

h1, h2 {
	font-family: 'bariol_regularregular';
}

a:link, a:visited {
	color: #444;
	outline: 0;	
}

a:hover {
	color: gray;
	outline: 0;	
}

h2, .entry-content h2, .comment-content h2, .mu_register h2 {
	font-size: 23px;
	font-weight: normal;
	margin-bottom: 38px;
	margin-top: 0;
}

.entry-content h3 {
	margin-bottom: 0;
}

p {
	line-height: 1.3;
}

h1.site-title {
	margin: 10px 0 2px 0;
	font-weight: normal;
	font-size: 50px;
}

h1.site-title a {
	text-decoration: none;
}


h1 img, img.latest-thumb {
	max-width: 100%;
	height: auto;
}

@media \0screen {
  img, img.latest-thumb { 
  	width: auto; /* for ie 8 */
  }
}

#page {
	margin-top: 0;
	padding-top: 0;
}

header#masthead {
	height: inherit;
	float: left;
	width: 100%;
}

header#masthead ul li {
	font-family: 'bariol_lightlight';
	text-transform: lowercase;
	float: left;
	margin-right: 5px;
	padding-right: 20px;
	font-size: 43px;
	background: transparent url(css/slash.png) no-repeat right center;
}

header#masthead ul li:last-child {
	background-image: none;
}

header#masthead ul li a {
	text-decoration: none;
}

#top-nav {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 38px;
}

.page-id-43 #top-nav, .home #top-nav {
	margin-bottom: 38px;
}

#sub-nav {
	display: block;
	float: left;
	width: 100%;
	clear: left;
	margin-bottom: 50px;
}



.page-id-43 .page-item-art a, 
.page-id-2 .page-item-about a,
.page-id-21 .page-item-cv a,
.page-id-23 .page-item-texts a,
.page-id-27 .page-item-news a,
.page-id-25 .page-item-contact a {
	color: #a4a4a4 !important;
}

#home-slider {
	position: relative;
	clear: both;
	width: 100%;
	height: 100%;
}

.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
	box-shadow: inherit;
	border-radius: inherit;
}

ul.latest-work {
	width: 100%;
}

ul.latest-work li {
	position: relative;
	float: left;
	margin: 0 26px 26px 0;
	width: 100%;
	height: auto;
	display: block;
}

ul.latest-work li a {
	display: block;
	float: left;
	width: 100%;
	position: relative;
	height: auto;
}

ul.latest-work li img {
	width: 100%;
	height: auto;
}

ul.latest-work li li {
	width: 190px;
}

ul.latest-work li:last-child {
	margin-right: 0;
}

ul.latest-work li img {
	position: relative;
}

ul.latest-work li .overlay {
	background: transparent url(css/header-bg.png) repeat left top;
	width: 100%;
	height: 100%;
	display: none;
	padding: 10px;
	position: absolute;
	top: 0;
}
ul.latest-work li ul.post-meta li {
	height: inherit;
}

ul#featured-work a {
	text-decoration: none;
}

.overlay .post-meta-key {
	display: none;
}

.overlay ul.post-meta {
	font-size: 12px;
	margin-top: 5px;
	padding-top: 7px;
}

.overlay ul.post-meta li {
	margin-bottom: 3px !important;
}

ul#featured-work li .slider-overlay  {
	background: transparent url(css/header-bg.png) repeat left top;
	height: 104px;
	width: 100%;
	margin-top: -124px;
	padding: 10px 0;
	z-index: 10000;
	position: relative;
	display: none;
}

ul#featured-work .info {
	padding: 0 10px;
}

a:hover .overlay,  a:link .overlay,  a:visited .overlay  {
	color: #111;
}


#home-latest {
	clear: both;
}

.site-content article {
	border: 0;
}

#content {
	padding-top: 20px;
}

#news-list {
	padding: 50px 0 0 0;
}

#news-list li {
	float: left;
	width: 100%;
	clear: both;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

#news-list li img {
	width: 100%;
	height: auto;
}

#news-list p.news-date, #news-list-featured p.news-date {
	color: gray;
}

.flexslider-news li {
	background-color: #fff;
}

.site-content article {
	-webkit-hyphens: none;
}

footer div {
	float: left;
	font-size: 13px;
	margin: 0 35px 0 0;
}

footer div#mail {
	float: right;
	margin-right: 0;
}

footer a  {
	text-decoration: none;
}

footer a:hover {
	color: #444!important;
}


#news-list-featured {
	padding: 0 0 30px 0;
	float: left;
	width: 100%;
}

#news-list-featured li {
	float: left;
	margin: 0 26px 26px 0;
	width: 100%;
}
#news-list-featured li:last-child {
	margin-right: 0;
}

#news-list-featured li img {
	margin: 5px 0;
	width: 100%;
}

#home-side h2 a {
	text-decoration: none;
}

.widget-area .widget h3 {
	font-size: 23px;
	font-weight: normal;
	margin-bottom: 18px;
	margin-top: 0;
	font-family: 'bariol_regularregular';
	text-transform: none;
	color: #444;
}

#taxonomy_list_widget_list_2 a {
	text-decoration: none;
}

.site-content {
	margin-top: 0;
}

#content {
	padding-top: 0;
}

.widget-area, .widget-area h3 {
	margin-top: 0;
}

.widget-area h3 {
	line-height: 1;
}

.tlw-list {
	line-height: 1.3;
}

.widget-area .widget a:hover {
	color: #444;
}

body.art footer {
	display: none;
}
#post-top {
	margin-bottom: 40px;
}
#post-info	li {
	padding-bottom: 5px;
	font-size: 13px;
	/* background: transparent url(css/spacer.png) no-repeat left bottom; */
}

#post-content p {
	margin: 0 0 1.714285714rem;
	line-height: 1.714285714;
}

#post-content h3 {
	font-size: 1.142857143rem;
	line-height: 1.846153846;
	margin-bottom: 15px;
}

#post-content img {
	width: 100%;
	height: auto;
}

h2.entry-title {
	font-family: 'bariol_lightlight';
	font-size: 43px;
}

.sscf-wrapper p {
	margin-bottom: 10px;
}

.sscf-wrapper #submit {
	margin-left: 100px;
}

#latest-news-section {
	margin-top: 20px;
	height: 120px;
}

#home-side h2 {
	margin-bottom: 6px;
}

.site {
	padding-bottom: 20px;
}

#press-list li {
	width: 100%;
	margin-bottom: 20px;
}

#press-list li img {
	width: 100%;
	height: auto;
}

.sscf-wrapper #submit {
	margin-left: 0 !important;
}

#jtltykk-jtltykk {
	margin-bottom: 10px;
	width: 260px !important;
}

.sscf-input-wrapper input {
	width: 260px !important;
}

.sscf-input-wrapper textarea {
	width: 260px !important;
}

#subscribe-submit {
	clear: both;
}

#home-slider .info {
	padding: 0 40px !important;
}

#post-info {
	margin-bottom: 30px;
}

#new-tag-function h3 {
	font-family: 'bariol_regularregular';
	margin-bottom: 10px;
	font-size: 25px;
	font-weight: normal;
}
#new-tag-function h3 a {
	text-decoration: none;
}

#new-tag-list {
	display: none;	
}

#new-tag-list li {
	margin-bottom: 5px;	
}

#new-tag-list a:link, #new-tag-list a:visited  {
	color: #757575;
	text-decoration: none;
}
#new-tag-list a:hover {
	color: #393939;
}

a#tag-toggle {
	outline: 0;	
}

a#tag-toggle #icon-cat {
	display: inline-block;
	transition: 0.5s;
	margin-left: 10px;
}
a#tag-toggle.active #icon-cat {
	transform: rotate(90deg);
}

.nf-before-form-content {
	display: none;
}

.nf-form-content label, .nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field {
	font-size: 100% !important;
	font-weight: normal !important;
}
.nf-form-content {
	padding: 0 !important;
}
#nf-label-field-9, #nf-field-9-wrap .nf-field-label {
	display: none;
}
.nf-field-label {
	margin-bottom: 2px !important;
}
.nf-field-container {
	margin-bottom: 10px !important;
}
.nf-form-content {
	margin-top: -15px;
}

.mc4wp-form-fields input {
	font-size: 100% !important;
}

@media screen and (min-width: 600px) and (max-width: 960px)  { /*Tablet*/

	ul.latest-work li {
		width: 30%;
		float: left;
		margin-right: 3%;
	}
	ul.latest-work li ul {
		margin-top: 0 !important;
		padding-top: 0.5em !important;
	}
	
	#home-side {
		width: 100%;
	}
	
	#home-latest {
		float: left;
		width: 76%;
		clear: none;
	}
	#home-latest-text {
		float: left;
		width: 24%;
	}
	
	#home-latest-text ul.latest-work li {
		width: 95%;
	}
	
	#home-slider .info {
		padding: 0 10px !important;
	}
	
	#home-latest h2, #home-latest-text h2 {
		margin-bottom: 11px;
	}
	
	#home-latest ul.latest-work li, #home-latest-text ul.latest-work li  {
		margin-bottom: 20px;
	}
	
	#news-list-featured li, #press-list li {
		width: 22%;
		float: left;
		margin: 0 20px 0 0;
	}
	#press-list li {
		height: 220px;
	}
	#contact-left {
		width: 40%;
		float: left;
	}
	#contact-right {
		width: 50%;
		float: right;
	}
	.page-id-25 .site-content {
		width: 100%;
	}
	.site-title, .site-content {
		width: 75%;
	}
	.widget-area {
		width: 20%;
		margin-top: -4px;
	}
	#post-info {
		float: left;
		width: 25%;
	}
	
	#post-content {
		float: right;
		width: 70%;
	}
	.page-id-43 #post-content {
		width: 100% !important;
	}
	
	ul.latest-work li li {
		width: 95% !important;
		margin-right: 10%;
	}
	.tag .site-content {
		width: 77%;
	}
	.page-template-art-php .site-content {
		width: 100%;
	}
	#content ul.latest-work li {
		width: 31%;
		font-size: 0.85em;
		margin-right: 2%;
	}
	
	#latest-news-section {
		margin-top: 20px;
		height: 120px;
	}
	
	#post-top embed, #post-top iframe, #post-top object, #post-top video {
		height: 405px !important;
	}
	
	.postid-526 #post-top embed, .postid-526 #post-top iframe, .postid-526 #post-top object, .postid-526 #post-top video {
		height: 395px !important;
	}
	
	.postid-450 #post-top embed, .postid-450 #post-top iframe, .postid-450 #post-top object, .postid-450 #post-top video {
		height: 405px !important;
	}
	
	.postid-754 #post-top embed, .postid-754 #post-top iframe, .postid-754 #post-top object, .postid-754 #post-top video {
		height: 394px !important;
	}
	
	#post-content embed, #post-content iframe, #post-content object, #post-content video {
		height: 375px !important;
	}
	
	.postid-737 #post-content embed, .postid-737 #post-content iframe, .postid-737 #post-content object, .postid-737 #post-content video {
		height: 365px !important;
	}
	
	.postid-760 #post-content embed, .postid-760 #post-content iframe, .postid-760 #post-content object, .postid-760 #post-content video {
		height: 365px !important;
	}
	
	.postid-772 #post-content embed, .postid-772 #post-content iframe, .postid-772 #post-content object, .postid-772 #post-content video {
		height: 380px !important;
	}
	
	.postid-727 #post-content embed, .postid-727 #post-content iframe, .postid-727 #post-content object, .postid-727 #post-content video {
		height: 370px !important;
	}
	.postid-781 #post-content embed, .postid-781 #post-content iframe, .postid-781 #post-content object, .postid-781 #post-content video {
		height: 365px !important;
	}
	.postid-538 #post-content embed, .postid-538 #post-content iframe, .postid-538 #post-content object, .postid-538 #post-content video {
		height: 370px !important;
	}
	
	.postid-54 #post-content embed, .postid-54 #post-content iframe, .postid-54 #post-content object, .postid-54 #post-content video {
		height: 150px !important;
	}
	
	.postid-450 #post-content embed, .postid-450 #post-content iframe, .postid-450 #post-content object, .postid-450 #post-content video {
		height: 284px !important;
	}
	
}

@media screen and (min-width: 600px) and (max-width: 960px) and (orientation : landscape)   { /*iPad landscape*/

	#home-slider {
		width: 73%;
		float: left;
	}
	#home-side {
		float: right;
		width: 24%;
		clear: none;
	}
	
	#home-side p {
		font-size: 0.8em;
	}
	
	#latest-news-section {
	margin-top: 20px;
	height: 120px;
	}	
	
	/*#post-top embed, #post-top iframe, #post-top object, #post-top video {
		height: 395px !important;
	}
	
	#post-content embed, #post-content iframe, #post-content object, #post-content video {
		height: 369px !important;
	}*/
	
}

@media screen and (max-width: 600px)  {
	embed,
iframe,
object,
video {
		height: auto !important;
	}
	
	a.art-thumb {
		text-decoration: none !important;	
	}
	.overlay {
		position: relative !important;
		display: block !important;
		padding-left: 0 !important;
	}
	a .overlay h3 {
		text-decoration: none !important;	
	}
	ul.latest-work li li {
		width: 100% !important;	
	}
	ul#featured-work li .slider-overlay {
		margin-top: 0;
	}
	#home-slider .info {
		padding: 0 !important;
	}
	#home-latest {
		margin-top: 20px;
	}
	#home-latest h2, #home-latest-text h2 {
		margin-bottom: 15px;	
	}
	#home-slider ul#featured-work li .slider-overlay {
		height: 60px !important;
	}

}



@media screen and (min-width: 960px) { /*Desktop and above*/

	.site {
		width: 960px !important;
	}

	#home-slider .info {
		padding: 0 10px !important;
	}

	/*header#masthead {
		position: fixed;
		display: block;
		left: 0;
		top: 0;
		z-index: 100;
		width: 100%;
	}
	
	header#masthead div {
		width: 960px;
		height: 176px;
		padding: 0 2.857142857rem;
		margin: 0 auto;
	}
	
	#main {
		margin-top: 245px;
	}*/
	
	#main {
		clear: both;
	}
	
	ul.latest-work li {
		width: 220px;
		float: left;
	}
	
	ul.latest-work li .overlay {
		width: 273px;
		height: 145px;
	}
	
	.site-content {
		width: 738px;
	}
	
	.widget-area {
		width: 220px;	
	}
	#home-slider {
		width:712px;
		float: left;
		height: 450px;
	}
	#home-side {
		float: right;
		width: 220px;
	}
	#home-latest {
		float: left;
		width: 740px;
	}
	#home-latest-text {
		float: left;
		width: 220px;
	}
	
	footer #email {
		float: right;
	}
	
	ul.latest-work li {
		width: 293px;
		height: 164px;
		margin: 0 26px 26px 0;
	}
	
	
	
	#post-content {
		width: 712px;
		float: right;
	}
	
	#post-info {
		float: left;
		width: 180px;
	}
	
	/*h2.entry-title {
		position: fixed;
		display: block;
		left: 0;
		top: 186px;
		z-index: 100;
		width: 100%;
		background: transparent url(css/header-bg.png) repeat left top;
		height: 58px;
		
	}*/
	
	/*h2.entry-title span {
		width: 960px;
		margin: 0 auto;
		display: block;
		padding: 0 2.857142857rem;

	}*/
	body.page-id-25 .site-content {
		width: 100%!important;
	}
	
	ul#press-list {
		margin-left: -26px;
	}
	
	ul#press-list li {
		float: left;
		width: 100%;
		margin-left: 26px;
		height: 265px;
		display: block;
	}
	
	ul#press-list li img {
		width: 100%;
		height: auto;
		margin: 6px 0;
	}
	
	h1.site-title {
		font-size: 123px;
	}

	#news-list li {
		width: 712px;
	}
	
	#news-list p.news-date, #news-list-featured p.news-date {
		float: left;
		width: 246px;
	}
	
	#news-list p {
		float: left;
		width: 462px;
	}

	#contact-left { 
		float: left; width: 440px;
	}
	
	#contact-right {
		float: right; width: 467px;
	}
	
	#news-list-featured li {
		width: 220px;
	}	
	
	ul#press-list li {
		width: 302px;
	}
	
	#jtltykk-jtltykk {
		width: 185px !important;
	}
	
	#sscf-submit-wrapper {
		margin-left: 100px;
	}
	.site-content {
		width: 712px;
	}
	
	.tag .site-content {
		width: 738px;
		
	}
	.page-id-43 .site-content {
		width: 100% !important;
	}
	
	.home ul.latest-work li {
		width: 220px;
		height: 123px;
		margin: 0 26px 26px 0;
	}
	.home ul.latest-work li .overlay {
		width: 200px;
		height: 104px;
	}
	

}










/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 30px; background: #fff; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 0}

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: white url(/wordpress/wp-content/themes/semiconductor/css/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 1; right: 0;}
.flexslider:hover .flex-prev {opacity: 1; left: 0;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {display: none;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}
