/*!
 * Laughing Samurai Responsive Layout
 *
 * Based on Bootsrap Responsive - Copyright 2012 Twitter, Inc=
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 */

 /* New Mini Twitter Feed */
  section.widget_reallysimpletwitterwidget {
    width: 200px;
    min-height: 162px;
    background: url('../img/tw-feed-bg.png');
    background-repeat: no-repeat;
    margin-left: 30px;
  }

  section.widget_reallysimpletwitterwidget .widget-inner {
    padding-top: 25px;
    text-align: center;
    font-size: 20px;
  }

  section.widget_reallysimpletwitterwidget .widget-inner h3 {
    display: none;
  }

  .really_simple_twitter_widget li {
    font-weight: 100;
    line-height: 24px;
  }

/* Desktop */
@media (min-width: 1181px) {
  .row {
    margin-left: -30px;
    *zoom: 1;
  }
  .row:before,
  .row:after {
    display: table;
    line-height: 0;
    content: "";
  }
  .row:after {
    clear: both;
  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
  }
  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: 1170px;
  }
  .span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}
}


/* iPad */
@media (min-width: 569px) and (max-width: 1180px) {

  /* New Mini Twitter Feed */
  section.widget_reallysimpletwitterwidget {
    position: absolute;
    margin-left: 400px;
    margin-top: -500px;
  }

  img {
  	max-width: 100%;
  	height: auto;
  	width: auto\9; /* ie8 */
  }
  .video embed,
  .video object,
  .video iframe {
  	width: 680px;
  	height: 383px;
  }

  #banner, #main, #content-info {
  	overflow: hidden;
  }
  #banner nav, #banner .brand, #banner #headcopy {
  	display: block !important;
  	clear: both;
  }
  #banner {
	overflow: hidden;
  }
  	.home #banner { height: 530px; }
  	.services #banner, .services #bg-line { height: 420px; }
  	.work #banner, .work #bg-line { height: 510px; }
  	.about #banner { height: 640px; }
  	body.about {
  		background-position: center 145px, center 1500px, center 840px;
  	}
  	#banner .brand, #bloghead .brand {
  		position: absolute;
  		top: 0;
  		margin-top: 20px;
  		left: 20px;
  		padding-left: 90px;
  		height: 90px;
  		background-size: cover;
  		z-index: 100;
  	}
  	#banner nav, #bloghead nav {
  		display: block;
  		position: absolute;
  		top: 55px;
  		right: 20px;
  		width: 510px;
  		z-index: 100;
  	}
  		#banner nav li a, #bloghead nav li a {
  			font-size: 18px;
  			font-family: "proxima-nova";
  			font-weight: 700;
  			text-align: right;
  			line-height: 20px;
  			margin: 0;
  			padding: 0;
  			width: auto;
  		}
  			#banner nav li, #bloghead nav li {
  				display: inline-block;
  				width: auto;
  				text-align: right !important;
  				line-height: 20px !important;
  				vertical-align: top !important;
  				margin: 0;
  				margin-left: 25px;
  				top: 0;
  			}
  	#banner #headcopy {
  		position: relative;
  		left: 0;
  		margin-left: 20px !important;
  		margin-top: 0;
      transform: scale(.75);
      transform-origin: 0 0;
      -ms-transform: scale(.75);
      -ms-transform-origin: 0 0;
  		-moz-transform: scale(.75);
  		-moz-transform-origin: 0 0;
	    -o-transform: scale(.75);
	    -o-transform-origin: 0 0;
	    -webkit-transform: scale(.75);
	    -webkit-transform-origin: 0 0;
  	}
  	.home #banner #headcopy, .work #banner #headcopy { top: 140px; }
  	.services #banner #headcopy { top: 110px; }
  	.about #banner #headcopy { top: 130px; }
  	.contact #banner #headcopy { top: 50px; }
  	.page-template-page-work-project-php #banner, .page-template-page-work-project-php #banner .sub-head#work-head, .page-template-page-work-project-php #bg-line {
  		position: inherit;
  		/*width: auto;  used to be 768px */
  		height: 350px;
  		overflow: hidden !important;
  	}
  	.page-template-page-work-project-php #banner #bg-line {
  		z-index: 99 !important;
  	}
  	.page-template-page-work-project-php #banner .sub-head#work-head {
  		position: absolute;
  	}
  	.page-template-page-work-project-php #banner {
  		background-size: cover;
  		background-position: center center;
  	}
  	.page-template-page-work-project-php #main #proj-details {
  		width: 440px;
  		margin-bottom: 40px;
  	}
  	#theproject {
  		width: 100%;
  		top: 185px;
  	}
  	#banner #headcopy.about .abt-info p {
  		font-size: 18px;
  		line-height: 24px;
  	}
  	#blogwrap #blogtitle {
  		margin-top: 130px;
  	}
  	#blogwrap #blogtitle h1 {
  		font-size: 130px; /* was 58 */
  		width: 720px;
  		margin-left: 20px;
  		margin-bottom: 15px;
  		padding: 15px 0;
  	}
      .blog #blogtitle h3, .single #blogtitle h3, .category #blogtitle h3, .author #blogtitle h3, .search #blogtitle h3 {
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 0 0 15px 0;
        font-weight: 800;
        font-size: 23px;
        color: #ec1d3a;
      }

  		.blog #articles, .category #articles, .author #articles, .search #articles { left: 10px; }
  		.blog article, .category article, .author article, .search article {
  			width: 320px;
  		}
  			.blog article h2, .category article h2, .author article h2, .search article h2 {
  				font-size: 18px;
  				text-transform: uppercase;
  				line-height: 22px;
  			}
  			.blog article .featimg, .category article .featimg, .author article .featimg, .search article .featimg {
  				padding-left: 320px;
  				height: 106px;
  			}
  .container #main {
  	width: 765px;
  }
  	#main .service {
  		padding: 50px 25px 0;
  		margin: 40px 0;
  	}
  	#content .service#web::before,
  	#content .service#mobile::before,
  	#content .service#content::before,
  	#content .service#future::before {
  		content: " ";
  		float: left;
  		position: relative;
  		left: -25px;
  		height: 170px;
  		width: 1px;
  		margin-top: 15px;
  		background-color: #d1d1d1;
  	}
  	.services #content #main div {
  		width: 300px;
  		float: none;
  		display: inline-block;
  		vertical-align: top;
  		margin-bottom: 60px;
  	}
  		.services #content #main div#s-motion {
  			clear: none;
  		}
  	.about .abt-big {
  		padding: 50px;
  		margin-left: 0;
  		color: #fff;
  	}
  	.about #abt-food {
  		margin-top: 70px;
  	}
  	.contact #content .cont {
  		float: none;
  		display: inline-block;
  		vertical-align: top;
  	}
  		.contact #content .cont#interns, .contact #content .cont#vendors {
  			padding-right: 0;
  			border-right: none;
  		}
  		.contact #content .cont#careers {
  			border-right: 1px solid #d1d1d1;
  		}
  	.page-template-page-work-project-php #main {
  		width: 720px;
  	}
  	.page-template-page-work-project-php embed,
  	.page-template-page-work-project-php object,
  	.page-template-page-work-project-php iframe {
  		width: 720px;
  		height: 406px;
  	}
  #sidebar {
  	clear: both;
  	position: relative;
  	left: 20px;
  	top: 80px;
  	width: 680px;
  	padding-bottom: 50px;
  }
  #sidebar .widget-twitter {
  	position: absolute;
  	right: 25px;
  	bottom: 280px;
  	width: 280px !important;
  }
	  .blog #sidebar, .single #sidebar, .search #sidebar, .author #sidebar, .category #sidebar, .page-template-page-work-project-php #sidebar {
	  	display: none;
	  }
  #blogwrap {
  	width: 740px;
  }
  	.single #blogwrap {
  		width: 720px;
  	}
  		.single #blogwrap article, .single #blogtitle h1 {
  			margin-left: 0 !important;
  			padding-left: 0 !important;
  		}
  		.single article .entry-content {
  			margin-left: 20px;
  		}
  		.single article h1 {
  			left: 20px !important;
  		}
  		#blogwrap h4#subtitle {
  			top: 309px !important; /* was 210 */
  		}
  #content-info, .push {
  	height: 180px;
  }
	  #content-info h2, #content-info hr {
	  	display: none !important;
	  }
	  #content-info #back-top {
	  	left: 0;
	  	top: 60px;
	  }
	  #content-info #f-social {
	  	width: 270px;
	  	right: -20px;
	  	left: auto;
	  	bottom: 40px;
	  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
  }
  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: 724px;
  }
  .span12 {
    width: 724px;
  }
  .span11 {
    width: 662px;
  }
  .span10 {
    width: 600px;
  }
  .span9 {
    width: 538px;
  }
  .span8 {
    width: 476px;
  }
  .span7 {
    width: 414px;
  }
  .span6 {
    width: 352px;
  }
  .span5 {
    width: 290px;
  }
  .span4 {
    width: 228px;
  }
  .span3 {
    width: 166px;
  }
  .span2 {
    width: 104px;
  }
  .span1 {
    width: 42px;
  }

}

/* iPhone */
@media (max-width: 568px) {
  .nav-collapse {
    -webkit-transform: translate3d(0, 0, 0);
  }
  img {
  	max-width: 100%;
  	height: auto;
  	width: auto\9; /* ie8 */
  }
  .video embed,
  .video object,
  .video iframe {
  	width: 460px;
  	height: 259px;
  }

  #banner, #main, #content-info {
  	overflow: hidden;
  }
  #banner nav, #banner .brand, #banner #headcopy {
  	display: block !important;
  	clear: both;
  }
  #banner {
  	overflow: hidden;
  }
  	body.about {
  		background-position: center 800px, center 2170px, center 1500px;
  	}
  	#banner .brand, #bloghead .brand {
  		position: absolute;
  		top: 0;
  		margin-top: 20px;
  		left: 20px;
  		padding-left: 70px;
  		height: 70px;
  		background-size: cover;
  		z-index: 100;
  	}
  	#banner nav, #bloghead nav {
  		display: block;
  		position: absolute;
  		top: 20px;
  		right: 20px;
  		width: 200px;
  		z-index: 100;
  	}
  		#bloghead .brand { left: 10px; }
  		#bloghead nav { right: 10px; }
  		#banner nav li a, #bloghead nav li a {
  			font-size: 14px;
  			font-family: "proxima-nova";
  			font-weight: 700;
  			text-align: right;
  			line-height: 16px;
  			margin: 0;
  			padding: 0;
  			width: auto;
  		}
  		#banner nav li:last-child, #bloghead nav li:last-child {
  			margin-top: 13px;
  		}
  			#banner nav li, #bloghead nav li {
  				display: block;
  				width: auto;
  				text-align: right !important;
  				line-height: 16px !important;
  				vertical-align: top !important;
  				margin: 0;
  				top: 0;
  			}
  				.blog .search-query, .single .search-query, .category .search-query, .author .search-query, .search .search-query {
  					width: 195px !important;
  				}
  				.blog .pager, .author .pager, .search .pager {
  					margin-left: 0 !important;
  					width: 290px;
  				}

  	#banner #headcopy {
  		position: relative;
  		left: 0;
  		margin-left: 20px !important;
  		margin-top: 0;
      transform: scale(.32);
      transform-origin: 0 0;
      -ms-transform: scale(.32);
      -ms-transform-origin: 0 0;
  		-moz-transform: scale(.32);
  		-moz-transform-origin: 0 0;
  	  -o-transform: scale(.32);
  	  -o-transform-origin: 0 0;
  	  -webkit-transform: scale(.32);
  	  -webkit-transform-origin: 0 0;
  	}
  		.about #banner #headcopy {
  			position: relative;
  			left: 0;
  			margin-left: 20px !important;
  			margin-top: 0;
        transform: scale(1);
        transform-origin: 0 0;
        -ms-transform: scale(1);
        -ms-transform-origin: 0 0;
  			-moz-transform: scale(1);
  			-moz-transform-origin: 0 0;
  		    -o-transform: scale(1);
  		    -o-transform-origin: 0 0;
  		    -webkit-transform: scale(1);
  		    -webkit-transform-origin: 0 0;
  		}
  		#banner #headcopy {
  			position: relative;
  			left: 0;
  			margin-left: 20px !important;
  			margin-top: 0;
        transform: scale(.32);
        transform-origin: 0 0;
        -ms-transform: scale(.32);
        -ms-transform-origin: 0 0;
  			-moz-transform: scale(.32);
  			-moz-transform-origin: 0 0;
  		    -o-transform: scale(.32);
  		    -o-transform-origin: 0 0;
  		    -webkit-transform: scale(.32);
  		    -webkit-transform-origin: 0 0;
  		}
  		.about #banner h1 {
  			font-size: 34px !important;
  			line-height: 36px !important;
  			width: 280px;
  		}
  		.about #banner hr {
  			width: 280px;
  		}

  	.home #banner #headcopy, .work #banner #headcopy { top: 110px; }
  	.services #banner #headcopy { top: 110px; }
  	.about #banner #headcopy { top: 130px; }
  	.contact #banner #headcopy { top: 40px; }
  	.home #banner { height: 290px; }
  	.services #banner, .services #bg-line { height: 260px; }
  	.work #banner, .work #bg-line { height: 280px; }
  	.about #banner, .about #banner .container { height: 1240px; }
  	.contact #banner, .contact #bg-line { height: 270px; }

  	.page-template-page-work-project-php #banner, .page-template-page-work-project-php #banner .sub-head#work-head, .page-template-page-work-project-php #bg-line {
  		position: inherit;
  		/*width: 320px;*/
  		height: 200px;
  		overflow: hidden !important;
  	}
  	.page-template-page-work-project-php #banner nav, .work #banner nav, .work #banner #headcopy {
  		position: relative;
  		z-index: 9999;
  	}
  		.page-template-page-work-project-php #banner #nav-main, .work #banner #nav-main {
  			right: -100px;
  		}
  	.page-template-page-work-project-php #banner #bg-line {
  		z-index: 99 !important;
  	}
  	.page-template-page-work-project-php #banner .sub-head#work-head {
  		position: absolute;
  	}
  	.page-template-page-work-project-php #banner {
  		background-size: cover;
  		background-position: center center;
  	}
  	.page-template-page-work-project-php #main #proj-details {
  		width: 280px;
  		margin-bottom: 40px;
  	}
  	.page-template-page-work-project-php #main {
  		margin-left: 40px;
  	}
  	#theproject {
  		/*width: 320px !important;*/
  		top: 120px;
  		left: 0;
  	}
  		#theproject h1 {
  			font-size: 40px;
  		}
  	#banner #headcopy.about .abt-info {
  		display: block;
  		clear: both;
  	}
  	#banner #headcopy.work #slider_3508 {
  		top: -290px;
  		left: -10px;
  	}
  	#banner #headcopy.work .flex-caption {
  		display: none;
  	}
  	#blogwrap #blogtitle {
  		margin-top: 130px;
  		height: 200px;
  	}
  	#blogwrap #blogtitle h1 {
  		font-size: 53px; /* was 40 */
  		width: 300px;
  		margin-left: 20px;
  		margin-bottom: 15px;
  		padding: 15px 0;
      line-height: 30px;
  	}
      .blog #blogtitle h3, .single #blogtitle h3, .category #blogtitle h3, .author #blogtitle h3, .search #blogtitle h3 {
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0 0 15px 0;
        font-weight: 800;
        font-size: 18px;
        color: #ec1d3a;
        line-height: 22px;
      }
  		#blogwrap #blogtitle span#iphfix {
  			font-size: 65px;
  		}
  		.blog #articles, .category #articles, .author #articles, .search #articles { left: 0; }
  		.blog article, .category article, .author article, .search article {
  			width: 300px;
  		}
  			.blog article:first-of-type {
  				margin-top: 0;
  				padding-top: 0;
  			}
  			.blog .search {
  				width: 200px;
  			}
  			.blog article h2, .category article h2, .author article h2, .search article h2 {
  				font-size: 18px;
  				text-transform: uppercase;
  				line-height: 22px;
  			}
  			.blog article .featimg, .category article .featimg, .author article .featimg, .search article .featimg {
  				padding-left: 300px;
  				height: 99px;
  			}
  .container #main, #content {
  	width: 320px;
  }
  #cover-background-wrap #content {
    width: 100% !important;
    margin: 0px;
  }
  	#main .service {
  		padding: 50px 40px 0;
  		margin: 20px 0;
  		width: 280px;
  		height: auto;
  	}
  	#content .service#web::before,
  	#content .service#mobile::before,
  	#content .service#content::before,
  	#content .service#future::before {
  		display: none;
  	}
  	.services #content #main div {
  		width: 240px !important;
  		float: none;
  		display: inline-block;
  		vertical-align: top;
  		margin-bottom: 60px;
  	}
  		.services #content #main div#s-motion {
  			clear: none;
  		}
  	.about .abt-big {
  		padding: 50px;
  		margin-left: 0;
  		color: #fff;
  	}
  		.about .abt-big p {
  			font-size: 14px;
  			line-height: 19px;
  		}
  		.about .abt-big hr {
  			margin-top: 0;
  			margin-bottom: 12px;
  		}
  		.about .abt-big#abt-green h3 {
  			font-size: 24px;
  			line-height: 26px;
  			letter-spacing: 1px;
  		}
  		.about .abt-big#abt-food h3 {
  			font-size: 24px;
  			line-height: 26px;
  			letter-spacing: 1px;
  		}
  		.about .abt-big#abt-art h3 {
  			font-size: 18px;
  			line-height: 20px;
  			letter-spacing: 1px;
  		}
  	.about #abt-food {
  		margin-top: 0;
  	}
  	.about #abt-art {
  		padding-top: 50px !important;
  		padding-bottom: 20px !important;
  	}
  	.contact #content .cont {
  		float: none;
  		display: inline-block;
  		vertical-align: top;
  		width: 280px;
  		margin-left: 0;
  	}
  		.contact #content .cont#interns, .contact #content .cont#offices {
  			padding-right: 0;
  			border-right: none;
  		}
  		.contact #content .cont#careers {
  			border-right: 1px solid #d1d1d1;
  		}
  		#content .cont #c-social {
  			margin-left: 16px;
  		}
  		#content .cont #c-social li {
  			width: 40px;
  		}
  		#content .cont #c-social a {
  			height: 40px;
  			padding-left: 40px;
  			-moz-border-radius: 20px;
  			-webkit-border-radius: 20px;
  			border-radius: 20px;
  		}
  		.contact .modal {
        margin-top:-30px;
  			width: 300px;
        height: 400px;
  			left: 290px;
  		}
      .modal-body {
        max-height: 300px !important;
      }
  	.work .project-thumb {
  		width: 120px;
  		height: 120px;
  		margin: 0 25px 25px 0;
  	}
  	.work .project-thumb a img {
  		width: 120px;
  		height: 120px;
  	}
  	.work .project-thumb a span {
  		width: 120px;
  		height: 120px;
  		line-height: 120px;
  		font-size: 26px;
  		letter-spacing: 1px;
  	}

  	.page-template-page-work-project-php #content {
  		width: 300px;
  		margin-left: 30px !important;
  	}
  	.page-template-page-work-project-php #main #proj-serv {
  		float: left !important;
  		margin-bottom: 30px;
  	}
  	.page-template-page-work-project-php #main {
  		width: 300px !important;
  	}
  		.page-template-page-work-project-php #main img {
  			max-width: 300px;
  		}
  	.page-template-page-work-project-php embed,
  	.page-template-page-work-project-php object,
  	.page-template-page-work-project-php iframe {
  		width: 300px;
  		height: 169px;
  	}
  #sidebar {
  	clear: both;
  	position: relative;
  	left: -3px;
  	top: 80px;
  	padding-bottom: 50px;
  	margin-top: 20px;
  	margin-bottom: 20px;
  }
  	  .blog #sidebar, .single #sidebar, .search #sidebar, .author #sidebar, .category #sidebar, .page-template-page-work-project-php #sidebar {
  	  	display: none;
  	  }
  #blogwrap {
  	width: 320px;
  }
  	.blog #content {
  		width: 320px !important;
  		margin-left: -10px;
  	}
  	.author #content, .category #content, .search #content {
  		margin-left: -10px;
  	}
  	.single #content {
  		width: 320px !important;
  	}
  		.single .row {
  			margin-left: 0 !important;
  		}
  		.single #searchform {
  			margin: 0 0 10px 0 !important;
  			position: relative;
  			left: -20px !important;
  		}
  		.single #commentform input[type=text] {
  			width: 300px;
  		}
  		.single #commentform textarea {
  			width: 300px;
  			height: 150px;
  		}
  		.single .addthis_toolbox {
  			display: none !important;
  		}
  	.single #blogwrap {
  		width: 320px;
  		left: 10px;
  		margin-left: 0;
  	}
  	.signle #searchform, .single #back-blog {
  		z-index: 100 !important;
  	}
  		.single #blogwrap article, .single #blogtitle h1 {
  			margin-left: 0 !important;
  			padding-left: 0 !important;
  		}
  		.single #arthead, .single #headfade {
  			width: 300px !important;
  			height: 160px !important;
  		}
  		.single article .entry-content {
  			width: 280px;
  			margin-left: 10px;
  		}
  		.single article h1 {
  			left: 10px !important;
  			font-size: 24px !important;
  			line-height: 28px !important;
  			width: 280px !important;
  		}
  			.single #blogentry .wp-about-author-text h3 {
  				line-height: 27px;
  			}
  			.single #blogentry .wp-about-author-text p:first-of-type {
  				display: none;
  			}
  		#blogwrap h4#subtitle {
  			top: 311px !important;
  		}
  #content-info, .push {
  	height: 180px;
  	text-align: center;
  }
  .page-id-4901 #content-info {
    height: 200px;
  }
  .page-id-4901 .row {
    margin-left: 0px;
  }
  	  #content-info h2, #content-info hr {
  	  	display: none !important;
  	  }
  	  #content-info #back-top {
  	  	display: none;
  	  }
  	  #content-info #f-social {
  	  	width: 270px;
  	  	right: 20px;
  	  	left: auto;
  	  	bottom: 40px;
  	  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
  }
  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: 320px;
    overflow: hidden;
  }
  #content .span9, .work #content {
    width: 320px !important;
  }
  #content .span12 {
  	width: 320px;
  }
  body {
  	/*width: 320px !important;*/
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {
	html {
		zoom: 150%;
		-webkit-text-size-adjust: auto;
		text-size-adjust: auto;
		-webkit-line-height-adjust: auto;
		line-height-adjust: auto;
	}
	#home-c1 {
		font-size: 44px !important;
	}
}

@media only screen and (device-aspect-ratio: 40/71) and (orientation: landscape) {
	html {
		zoom: 180%;
		-webkit-text-size-adjust: auto;
		text-size-adjust: auto;
		-webkit-line-height-adjust: auto;
		line-height-adjust: auto;
	}
	#home-c1 {
		font-size: 44px !important;
	}
}
