/*   
Theme Name: The HTML5 Reset Theme
Theme URI: http://html5reset.org
Description: A style-free theme to get you started on an HTML5-based Wordpress theme of your own.
Author: Monkey Do!
Author URI: http://monkeydo.biz
Version: 1
*/

/*
	HTML5 Reset Wordpress Theme :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
	Special thanks: The Wordpress theme owes its start to an empty theme authored 
		by Chris Coyier & Jeff Starr: http://digwp.com

http://modularscale.com/scale/?px1=16&px2=320&ra1=1.618&ra2=0
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 16px;
}

body, body div, span, object, iframe, h1, h2, h3 h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, table, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

p {	margin: 0 0 1em 0;
	padding: 0;
	border: 0;
	outline: 0;
}

body, body div, object, iframe, p, h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, table, video {
	font-size: 15px;
        line-height: 1.408em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Geneva, sans-serif;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif; }

input.text {width: 284px !important;}

#cntctfrm_contact_form textarea {width: 284px !important;}

table {font-size: inherit; font: 100%;}


figcaption {
	font-size: .816em;
        margin-top: 1em;
}

 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

img.center {   display: block;   margin-left: auto;   margin-right: auto; }

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}


/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  




/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {font: 13px; font-family: Helmet, Freesans, sans-serif;}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #333;}

a {color: #4298a9; text-decoration: none;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #111; text-shadow: none;}
::selection {background: #fcd700; color: #111; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}



/* And here begins the Wordpress fun.
-------------------------------------------------------------------------------*/

video { 
    position: absolute;
  min-width: 100%; 
  min-height: 100%;
  width: auto; 
  height: auto;
    z-index: -100;
 background: url('//demosthenes.info/assets/images/polina.jpg') no-repeat;
  background-size: cover;
  overflow: hidden;
  transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}

#page-wrap {padding:0; margin: 0px auto;}

.post {}

.entry-content {}
.entry-content a {}
.entry-content a:hover {}

#meta {}
.postmetadata {}

 {}

.navgation {}
.next-posts {}
.prev-posts {}

#searchform {}
#s {}
#searchsubmt {}
	
ol.commentlist {list-style: none;}
ol.commentlist li {}
ol.commentlist li.alt {}
ol.commentlist li.bypostauthor {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment {border-bottom: 1px dotted #666; padding: 10px;}
ol.commentlist li.comment div.comment-author {}
ol.commentlist li.comment div.vcard {}
ol.commentlist li.comment div.vcard cite.fn {font-style: normal;}
ol.commentlist li.comment div.vcard cite.fn a.url {}
ol.commentlist li.comment div.vcard img.avatar {float:right; margin: 0 0 10px 10px;}
ol.commentlist li.comment div.vcard img.avatar-32 {}
ol.commentlist li.comment div.vcard img.photo {}
ol.commentlist li.comment div.vcard span.says {}
ol.commentlist li.comment div.commentmetadata {}
ol.commentlist li.comment div.comment-meta {font-size: 60%;}
ol.commentlist li.comment div.comment-meta a {color: #ccc;}
ol.commentlist li.comment p {}
ol.commentlist li.comment ul {}
ol.commentlist li.comment div.reply {font-size: 60%;}
ol.commentlist li.comment div.reply a {font-weight: bold;}
ol.commentlist li.comment ul.children {list-style: none; margin: 10px 0 0;}
ol.commentlist li.comment ul.children li {}
ol.commentlist li.comment ul.children li.alt {}
ol.commentlist li.comment ul.children li.bypostauthor {}
ol.commentlist li.comment ul.children li.byuser {}
ol.commentlist li.comment ul.children li.comment {}
ol.commentlist li.comment ul.children li.comment-author-admin {}
ol.commentlist li.comment ul.children li.depth-2 {border-left: 5px solid #555; margin: 0 0 10px 10px;}
ol.commentlist li.comment ul.children li.depth-3 {border-left: 5px solid #999; margin: 0 0 10px 10px;}
ol.commentlist li.comment ul.children li.depth-4 {border-left: 5px solid #bbb; margin: 0 0 10px 10px;}
ol.commentlist li.comment ul.children li.depth-5 {}
ol.commentlist li.comment ul.children li.odd {}
ol.commentlist li.even {background: #fff;}
ol.commentlist li.odd {background: #f6f6f6;}
ol.commentlist li.parent {border-left: 5px solid #111;}
ol.commentlist li.thread-alt {}
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {

 /* Print =================================================== */
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  @page  {
    margin: 0.5cm;
  }
  h2,
  h3 {
    orphans: 3;
    widows: 3;
    page-break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  pre,
  blockquote {
    border: 1px solid #808080;
    page-break-inside: avoid;
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
 .episode { width: 284px; max-height: 222px; min-height: 222px !important; }


  img.center {   display: block;   margin-left: auto;   margin-right: auto; }

  img.inline { float: none; }


  thead {
    display: table-header-group;
  }
  tr {
    page-break-inside: avoid;
  }

}

/* Button styles
===================================================*/

a.watch {
padding: 10px;
margin: 40px auto;
color: #FFF;
background: #FF6666;
text-decoration: none;
-webkit-transition-property: background;
-webkit-transition-duration: 0.5s;
-webkit-transition-timing-function: ease;
}

a.watch2 {
padding: 10px;
margin: 40px;
background: #FFCC00;
color: #333;
text-decoration: none;
-webkit-transition-property: background;
-webkit-transition-duration: 0.5s;
-webkit-transition-timing-function: ease;
}


p.feature-button {
	margin-top: 1.618em;
	text-align:center;
}

/* Default layout!
===================================================*/


/* Global nav ----------------------------------- */


#kick {
  position: fixed;
  z-index: 1000;
  top: 110px;
  right: 10px;
  height: 420px;
  width: 220px;
  color: #000;
  display: none;
}

#global-nav {
  background-color:#FFCC00;
  position: fixed;
  z-index: 990;
  top: 0;
  width: 100%;
  height: 97px;
  border-bottom:2px solid #ff9966;
  color: #000;
}

#logo { margin: 15px auto 13px;
}

#logo img { display: block; margin: 0px auto;
}

._h7r { background: #FFCC00 !important;}

#global-soc {
  background-color:#000;
  position: fixed;
  z-index: 980;
  bottom: 0;
  width: 100%;
  color: #FFF;
}

#menu {
	margin: 13px auto;
        display: table;
	text-transform: uppercase;
	font-weight: bold;
	float: none;
}

#menu li {
        float: left;
	list-style-type: none;
	margin: 0px .75em 12px .75em;
	font-size: .816em;
        color: #333;

	}
#menu ul li:hover, #menu ul li.hover, #menu ul li.current_page_item {
	}
#menu ul li:hover a, #menu ul li.hover a, #menu ul li.current_page_item a {
	text-decoration: none;
	}
#menu ul li.current_page_item a:hover {
	text-decoration: none;
	}
#menu ul li a {
	font-family: Verdana, Trebuchet, Helvetica,Arial, sans-serif;
	weight: bold;
        text-decoration: none;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
        color: #333;
	}
#menu ul li a:hover {
        color:#666666;
	text-decoration: none;
	}

/* Page layout ----------------------------------- */

.mast {	width: 100%;
	max-height: 626px;
	padding: 26px 0 34px;
}

 #footer {background-color: #000; padding: 10px 0; color: #FFF; text-align: center;
}

.social_bar {	width: 100%; padding: 20px 0;
}

.subscribe {
	width: 320px; 
	margin: 0px auto;
}

.center {text-align:center;}

  .body {
    width: 320px;
  }

  .nav {
    width: 310;
    padding: 0px;
  }

  .span9 {
    width: 816px;
  }
  .span8 {
    width: 284px;
  }

  .span8b {
    width: 170px;
    margin: 0px auto;
  }

  .testblock {
    width: 284px;
  }


  .featured {
    width: 284px;
  }


  .project {
    width: 170px;
    margin: 0px auto;
  }

  .mast-head {
    width: 284px;
    padding: 103px 18px 0px;
  }

  .page-head {
    width: 284px;
    padding: 103px 18px 0px;
  }

  .mast-subhead {
	font-size: 1em; 
	line-height: 1.408em;
  }

.at4-recommended-outer {padding: 43px 0px 18px !important;}

.at4-recommended h3 { color: #777 !important;}

  .span7 {
    width: 284px;
  }
  .span6 {
    width: 284px;
  }

  .span5 {
    width: 284px;
  }

  .span4 {
    width: 284px;
  }

  .spanthirds {
    width: 284px;
  }

  .clients {
    width: 284px;
    margin: 0px auto;
  }

  .ideals {
    width: 284px;
  }

  .ideals-col {
    width: 284px;
  }

  .ideals-row {
    width: 284px;
    padding: .8em 0; 
  }

  .services {
    width: 320px;
  }

  .span3 {
    width: 268px;
  }

  .span2 {
    width: 170px;
  }

  .row:before,
  .row:after {
    display:block;
    line-height: 0;
    content: "";
  }
  .row:after {
    clear: both;
  }
  [class*="span"] {
    float: none;
    min-height: 1px;
    margin-left: 0px;
  }

  .span1 {
    width: 72px;
    min-height: 1px;
    margin-left: 26px;
  }

.row [class*="span1"]:first-child {
    margin-left: 0;
  }

  .spanhalf {
    width: 284px;
  }


  [class*="ideals-col"] {
    float: left;
    min-height: 1px;
    margin-left: 0px;
  }

 .row [class*="four"]:nth-child(3) {
    display: none;
  }

 .row [class*="four"]:nth-child(4) {
    display: none;
  }

 .row [class*="episode"] {
    margin-bottom: 12px;
  }

li.service {
	font-weight: bold;
	color:#FFF;
}

li.ideal {
	font-weight: bold;
	list-style-type: none;
	display:inline;
	color: #FF6666;
}

p.ideal {
	margin: .236em 0 0 0;
	font-size: .816em; 
	line-height: 1.618em;
	display:inline;
}

.ideal-bullet {
	font-size: 3.686em;
	font-family: "Trebuchet MS", Helvetica, sans-serif; 
	font-style: italic; 
	font-weight: normal; 
	color: #CCC; 
	line-height: .87em; 
	float: left; 
	display: inline; 
	margin: 0 13px 54px 0;
}

.stat {
	font-size: 1.408em;
	font-family: "Trebuchet MS", Helvetica, sans-serif; 
	font-style: italic; 
	font-weight: normal; 
	color: #999; 
	line-height: 1em; 
	display: block;
	margin-bottom: 24px;
}

img.stat {
	max-width: 36px;
	float:left;
	display: inline;
	margin: 0 13px 24px 0;

}

img.feature {margin-bottom: 15px; }

.box {
	padding:26px; 
	background-color:#FF6666;
	color: #FFF;
	width: 314px;
	margin: 0px;
  }

.head { 
	background-color: #000;
	color: #FFF;
	padding: 13px;
	width: 340px;
	margin: 0px;

}

.box-8 {
	padding:26px; 
	background-color:#FF6666;
	color: #FFF;
	width: 706px;
	margin: 0px;
  }

.head-8 { 
	background-color: #000;
	color: #FFF;
	padding: 13px;
	width: 732px;
	margin: 0px;
}

.box-6 {
	padding:26px; 
	background-color:#FF6666;
	color: #FFF;
	width: 510px;
	margin: 0px;
  }

.head-6 { 
	background-color: #000;
	color: #FFF;
	padding: 13px;
	width: 536px;
	margin: 0px;

}

.box-5 {
	padding:26px; 
	background-color:#FF6666;
	color: #FFF;
	width: 412px;
	margin: 0px;
  }

.head-5 { 
	background-color: #000;
	color: #FFF;
	padding: 13px;
	width: 438px;
	margin: 0px;

}

.box-4 {
	padding: 13px 18px; 
	background-color:#FF6666;
	color: #FFF;
	margin: 0px;
	width: 248px;
  }

.head-4 { 
	padding: 13px 18px;
	background-color: #000;
	color: #FFF;
	margin: 0px;
	width: 248px;
}


.box-3 {
	padding:26px; 
	background-color:#FF6666;
	color: #FFF;
	width: 216px;
	margin: 0px;
  }

.head-3 { 
	background-color: #000;
	color: #FFF;
	padding: 13px;
	width: 242px;
	margin: 0px;

}


.box-2 {
	padding:26px; 
	background-color:#FF6666;
	color: #FFF;
	width: 118px;
	margin: 0px;
  }

.head-2 { 
	background-color: #000;
	color: #FFF;
	padding: 13px;
	width: 144px;
	margin: 0px;

}



.at4-recommended-outer { background-color: #000;}


/* Default typography settings!

http://modularscale.com/scale/?px1=15&px2=320&ra1=1.618&ra2=0

I didn't understand the need for this on 
-webkit-margin-before: 0.426em;
-webkit-margin-after: 0.426em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;

or this on h3
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
-------------------------------------------------------------------------------*/

h1 {font-size: 2.618em;
line-height: 1em;
font-weight:bold;
display: block;
font-family: "Trebuchet MS", Helvetica, sans-serif;
}

h2 {
font-size: 1.146em;
line-height: 1.146em;
font-family: "Trebuchet MS", Helvetica, sans-serif;
display: block;
font-weight: normal;
color: #999;
text-align: left;
}

h3 { 
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 1.408em;
line-height: 1.363em;
}

h3.feature {font-weight: bold;
	margin: 0;
	text-align: center;
}

h2.home {margin-bottom: 21px; line-height: 1.408em; text-align: center;}

h2.title { font-size: 2.278em;
	line-height: 1.09em;
	text-align: center;
	color: #333;
	font-weight: bold;
	margin-bottom: 15px;
}

h2.episode-title { font-size: 1.408em;
	line-height: 1.408em;
	color: #777; 
	text-align: left; 
	font-weight: bold;
}

.quote {
	font-size: 1.408em;
	font-style: italic;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #009999;
	line-height: 1.408em;
}

.quote-small {
	font-size: 1em;
	font-style: italic;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #009999;
}

p.feature-copy {
	text-align: center; 
	font-size: .816em;
	line-height: 1.618em; 
	margin-top: 0;
}

p.episode-summary {
margin-top: 21px;
line-height: 1.618em;
}

a.video-comments {
	color: #4298a9; 
	float: left; 
	text-decoration: none;
}

.credits {moz-column-count: 2;
-webkit-column-count: 2;
-ms-column-count: 2;
column-count: 2;
}

.credits p{font-size: .816em;
}

.credits h2{font-size: 1em;
}

/* Responsive video embed wrapper */

.dark {width: 100%;
	padding: 24px 0;
	background-color: #222; 
}


.videoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	margin: 0px auto;
	display: block;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.videoWrapper object {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.videoFeature {max-width:100%;}

.videoFeature iframe,
object,
embed {
        position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
}

.storeWrapper {
	position: relative;
	padding-bottom: 375%;
	padding-top: 0px;
	height: 0;
	margin: 0px auto;
	display: block;
}

.storeWrapper iframe{
        position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */

.hidden {
  display: none;
  visibility: hidden;
}

.visible-phone {
  display: none !important;
}

.visible-tablet {
  display: none !important;
}

.hidden-desktop {
  display: none !important;
}

.visible-desktop {
  display: none !important;
}


/* Connect Online ----------------------------------- */

.mc-field-group {
  	float:left;
	margin: 0px 10px 0px;
}

.addthis_toolbox {margin: 0px auto;
} 



@media only screen and (min-width: 480px) {
  /* 480 =================================================== */


  /* Text settings */

h1 {font-size: 2.618em;
line-height: 1em;
font-weight:bold;
display: block;
font-family: "Trebuchet MS", Helvetica, sans-serif;
}

h2.home { font-size: 1.189em;
}

h2.episode-title { font-size: 1.618em;
	color: #777; 
	text-align: left; 
	line-height: 1.618em;
}

.ideal-bullet {
	margin: 0 13px 54px 0;
}

p.episode-summary {
	margin-top: 9px;
	line-height: 1.408em;
}


a.video-comments {
	float: right; 
}

  /* Page Layout */

#global-nav {
  height: 72px;

}

.visible-phone {
  display: inherit !important;
}

.hidden-phone {
  display: none !important;
}

  [class*="span"] {
    min-height: 1px;
    margin-left: 26px;
  }

.row [class*="span"]:first-child {
    margin-left: 0;
  }

.row [class*="episode"]:nth-child(3) {
    margin-left: 0;
  }

.row [class*="episode"]:nth-child(5) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(7) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(9) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(11) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(13) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(15) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(17) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(19) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(21) {
    margin-left: 0px;
}

.row [class*="episode"]:nth-child(23) {
    margin-left: 0px;
}

.row [class*="episode"]:nth-child(25) {
    margin-left: 0px;
}

.row [class*="episode"]:nth-child(27) {
    margin-left: 0px;
  }

  [class*="tablet-col"] {
    min-height: 1px;
    margin-left: 0px;
  }

  .body {
    width: 464px;
    padding: 0px;
  }

  .nav {
    width: 450;
  }


  .episode {width: 170px; min-height: 222px !important }


#logo { margin: 20px 20px; 
        float: left;
}

#menu {
	float: left;
	margin: 20px auto 0px;
}

#menu li {
        float: left;
	list-style-type: none;
	margin: 0px .75em 21px .75em;
	font-size: .816em;
        color: #333;

	}

input.text {width: 366px !important;}

#cntctfrm_contact_form textarea {width: 366px !important;}

  .span9 {
    width: 816px;
  }
  .span8 {
    width: 430px;
  }

  .span8b {
    width: 366px;
  }

  .mast-head {
    width: 366px;
    padding: 103px auto 0px;
  }

  .page-head {
    width: 430px;
    padding: 103px 0px 0px;
  }


  .span7 {
    width: 430px;
  }
  .span6 {
    width: 430px;
  }

  .span5 {
    width: 430px;
  }

  .span4 {
    width: 366px;
  }

  .spanthirds {
    width: 366px;
  }

  .spanhalf {
    width: 48.284960%;
  }

  .ideals {
    width: 430px;
  }

  .ideals-col {
    width: 430px;
  }

  .ideals-row {
    width: 430px; 
    padding: .43em 0; 
  }

  .services {
    width: 366px;
  }

  .span3 {
    width: 268px;
  }

  .spanthirds {
    width: 244px;
  }

  .span2 {
    width: 170px;
  }

  .span1 {
    width: 72px;
  }


  .featured {
    width: 366px;
  }

  .featured-col {
    width: 366px;
  }

 .project {
    width: 366px;
  }


.box-4 {
	padding: 13px 26px; 
	width: 314px;
  }

.head-4 { 
	padding: 13px 26px; 
	width: 314px;
}

.subscribe {
	width: 425px; 
	margin: 0px auto;
}

img.inline {float: left; }


}


@media only screen and (min-width: 768px) {
  /* 768 

http://modularscale.com/scale/?px1=15&px2=768&ra1=1.618&ra2=0
=================================================== */


.credits {moz-column-count: 3;
-webkit-column-count: 3;
-ms-column-count: 3;
-ms-column-gap: 26px;
column-count: 3;
}


/*.aticon-facebook, .aticon-twitter, .aticon-youtube, .aticon-vimeo, .aticon-tumblr {display: none !important;
  visibility: hidden !important;}*/

.visible-mobile {
  display: none !important;
}

.hidden-desktop {
    display: inherit !important;
  }

  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }

/* NOT SURE IF ALL THIS SHOULD GO HERE */

  .row:before,
  .row:after {
    display: table;
    line-height: 0;
    content: "";
  }
  .row:after {
    clear: both;
  }
  [class*="span"] {
    min-height: 1px;
    margin-left: 26px;
  }

 .row [class*="four"]:nth-child(3) {
    display: inherit !important;
  }

 .row [class*="four"]:nth-child(4) {
    display: none;
  }

.row [class*="episode"]:nth-child(3) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(4) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(5) {
    margin-left: 26px;
  }
.row [class*="episode"]:nth-child(9) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(10) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(11) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(15) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(16) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(17) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(21) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(22) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(23) {
    margin-left: 26px;
  }


  [class*="ideals-col"] {
    float: left;
    min-height: 1px;
    margin-left: 16px;
  }

  [class*="tablet-col"] {
    min-height: 1px;
    margin-left: 26px;
  }

  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: 724px;
  }


/* Text settings */

h1 {font-size: 3.686em;
line-height: 1em;
}

h2.home {font-size: 1.408em;
line-height: 1.408em;
font-family: "Trebuchet MS", Helvetica, sans-serif;
display: block;
}

.ideal-bullet {
	margin: 0 13px 54px 0;
}

/* Page Layout */


.mast {	width: 100%;
	height: 613px;
}

.mast-subhead {
	font-size: 1.408em; 
	line-height: 1.408em;
  }

  .body {
    width: 744px;
  }

  .nav {
    width: 100%;
    padding: 0px;
  }

  .span9 {
    width: 816px;
  }
  .span8 {
    width: 562px;
  }

  .span8b {
    width: 562px;
  }

  .mast-head {
    padding-top: 269px;
    width: 740px;
  }

  .page-head {
    padding-top: 166.335px;
    width: 562px;
  }

  .span7 {
    width: 562px;
  }

  .span6 {
    width: 562px;
  }

  .span5 {
    width: 464px;
  }

  .spanthirds {
    width: 284px;
  }

  .testblock {
    width: 562px;
  }

  .clients {
    width: 734px;
  }

 .project {
    width: 562px;
  }

  .ideals {
    width: 734px;
  }

  .ideals-col {
    width: 359px;
  }

  .ideals-row {
    width: 359px;
  }

  .span3 {
    width: 268px;
  }

  .span2 {
    width: 170px;
  }

  .span1 {
    width: 72px;
  }

  .featured {
    width: 562px;
  }

  .featured-col {
    width: 562px;
  }

  [class*="desktop-col"] {
    min-height: 1px;
    margin: 0px auto;
  }

  .offset12 {
    margin-left: 764px;
  }
  .offset11 {
    margin-left: 702px;
  }
  .offset10 {
    margin-left: 640px;
  }
  .offset9 {
    margin-left: 578px;
  }
  .offset8 {
    margin-left: 516px;
  }
  .offset7 {
    margin-left: 454px;
  }
  .offset6 {
    margin-left: 392px;
  }
  .offset5 {
    margin-left: 330px;
  }
  .offset4 {
    margin-left: 268px;
  }
  .offset3 {
    margin-left: 206px;
  }
  .offset2 {
    margin-left: 144px;
  }
  .offset1 {
    margin-left: 82px;
  }
  .row-fluid {
    width: 100%;
    *zoom: 1;
  }
  .row-fluid:before,
  .row-fluid:after {
    display: table;
    line-height: 0;
    content: "";
  }
  .row-fluid:after {
    clear: both;
  }
  .row-fluid [class*="span"] {
    display: block;
    float: left;
    deletedwidth: 100%;
    min-height: 30px;
    margin-left: 2.7624309392265194%;
    *margin-left: 2.709239449864817%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
  .row-fluid .controls-row [class*="span"] + [class*="span"] {
    margin-left: 2.7624309392265194%;
  }
  .row-fluid .span12 {
    deletedwidth: 100%;
    *width: 99.94680851063829%;
  }
  .row-fluid .span11 {
    width: 91.43646408839778%;
    *width: 91.38327259903608%;
  }
  .row-fluid .span10 {
    width: 82.87292817679558%;
    *width: 82.81973668743387%;
  }
  .row-fluid .span9 {
    width: 74.30939226519337%;
    *width: 74.25620077583166%;
  }
  .row-fluid .span8 {
    width: 65.74585635359117%;
    *width: 65.69266486422946%;
  }
  .row-fluid .span7 {
    width: 57.18232044198895%;
    *width: 57.12912895262725%;
  }
  .row-fluid .span6 {
    width: 48.61878453038674%;
    *width: 48.56559304102504%;
  }
  .row-fluid .span5 {
    width: 40.05524861878453%;
    *width: 40.00205712942283%;
  }
  .row-fluid .span4 {
    width: 31.491712707182323%;
    *width: 31.43852121782062%;
  }
  .row-fluid .span3 {
    width: 22.92817679558011%;
    *width: 22.87498530621841%;
  }
  .row-fluid .span2 {
    width: 14.3646408839779%;
    *width: 14.311449394616199%;
  }
  .row-fluid .span1 {
    width: 5.801104972375691%;
    *width: 5.747913483013988%;
  }
  .row-fluid .offset12 {
    margin-left: 105.52486187845304%;
    *margin-left: 105.41847889972962%;
  }
  .row-fluid .offset12:first-child {
    margin-left: 102.76243093922652%;
    *margin-left: 102.6560479605031%;
  }
  .row-fluid .offset11 {
    margin-left: 96.96132596685082%;
    *margin-left: 96.8549429881274%;
  }
  .row-fluid .offset11:first-child {
    margin-left: 94.1988950276243%;
    *margin-left: 94.09251204890089%;
  }
  .row-fluid .offset10 {
    margin-left: 88.39779005524862%;
    *margin-left: 88.2914070765252%;
  }
  .row-fluid .offset10:first-child {
    margin-left: 85.6353591160221%;
    *margin-left: 85.52897613729868%;
  }
  .row-fluid .offset9 {
    margin-left: 79.8342541436464%;
    *margin-left: 79.72787116492299%;
  }
  .row-fluid .offset9:first-child {
    margin-left: 77.07182320441989%;
    *margin-left: 76.96544022569647%;
  }
  .row-fluid .offset8 {
    margin-left: 71.2707182320442%;
    *margin-left: 71.16433525332079%;
  }
  .row-fluid .offset8:first-child {
    margin-left: 68.50828729281768%;
    *margin-left: 68.40190431409427%;
  }
  .row-fluid .offset7 {
    margin-left: 62.70718232044199%;
    *margin-left: 62.600799341718584%;
  }
  .row-fluid .offset7:first-child {
    margin-left: 59.94475138121547%;
    *margin-left: 59.838368402492065%;
  }
  .row-fluid .offset6 {
    margin-left: 54.14364640883978%;
    *margin-left: 54.037263430116376%;
  }
  .row-fluid .offset6:first-child {
    margin-left: 51.38121546961326%;
    *margin-left: 51.27483249088986%;
  }
  .row-fluid .offset5 {
    margin-left: 45.58011049723757%;
    *margin-left: 45.47372751851417%;
  }
  .row-fluid .offset5:first-child {
    margin-left: 42.81767955801105%;
    *margin-left: 42.71129657928765%;
  }
  .row-fluid .offset4 {
    margin-left: 37.01657458563536%;
    *margin-left: 36.91019160691196%;
  }
  .row-fluid .offset4:first-child {
    margin-left: 34.25414364640884%;
    *margin-left: 34.14776066768544%;
  }
  .row-fluid .offset3 {
    margin-left: 28.45303867403315%;
    *margin-left: 28.346655695309746%;
  }
  .row-fluid .offset3:first-child {
    margin-left: 25.69060773480663%;
    *margin-left: 25.584224756083227%;
  }
  .row-fluid .offset2 {
    margin-left: 19.88950276243094%;
    *margin-left: 19.783119783707537%;
  }
  .row-fluid .offset2:first-child {
    margin-left: 17.12707182320442%;
    *margin-left: 17.02068884448102%;
  }
  .row-fluid .offset1 {
    margin-left: 11.32596685082873%;
    *margin-left: 11.219583872105325%;
  }
  .row-fluid .offset1:first-child {
    margin-left: 8.56353591160221%;
    *margin-left: 8.457152932878806%;
  }
  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 20px;
  }
  input.span12,
  textarea.span12,
  .uneditable-input.span12 {
    width: 710px;
  }
  input.span11,
  textarea.span11,
  .uneditable-input.span11 {
    width: 648px;
  }
  input.span10,
  textarea.span10,
  .uneditable-input.span10 {
    width: 586px;
  }
  input.span9,
  textarea.span9,
  .uneditable-input.span9 {
    width: 524px;
  }
  input.span8,
  textarea.span8,
  .uneditable-input.span8 {
    width: 462px;
  }
  input.span7,
  textarea.span7,
  .uneditable-input.span7 {
    width: 400px;
  }
  input.span6,
  textarea.span6,
  .uneditable-input.span6 {
    width: 338px;
  }
  input.span5,
  textarea.span5,
  .uneditable-input.span5 {
    width: 276px;
  }
  input.span4,
  textarea.span4,
  .uneditable-input.span4 {
    width: 214px;
  }
  input.span3,
  textarea.span3,
  .uneditable-input.span3 {
    width: 152px;
  }
  input.span2,
  textarea.span2,
  .uneditable-input.span2 {
    width: 90px;
  }
  input.span1,
  textarea.span1,
  .uneditable-input.span1 {
    width: 28px;
  }

}

@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }

  .hidden-tablet {
    display: none !important;
  }
}



@media only screen and (min-width: 992px) {
  
/* http://modularscale.com/scale/?px1=15&px2=992&ra1=1.618&ra2=0

10 columns at 72px, 26px gutters
  992 =================================================== */


.credits {moz-column-count: 4;
-webkit-column-count: 4;
-ms-column-count: 4;
-ms-column-gap: 26px;
column-count: 4;
}





  .hidden-tablet {
    display: inherit !important;
  }

  .visible-desktop {
  display: inherit !important;
}

.visible-mobile {
  display: none !important;
}

  .container,
  .navbar-static-top .container,
  .navbar-fixed-top .container,
  .navbar-fixed-bottom .container {
    width: 1170px;
  }
  .span12 {
    width: 914px;
  }

  .body {
    width: 954px;
  }

  .nav {
    width: 954px;
  }

  .span9 {
    width: 816px;
  }

  .span8 {
    width: 758px;
  }

  .span8b {
    width: 758px;
  }

  .span7 {
    width: 660px;
  }

  .span6 {
    width: 562px;
  }

  .span5 {
    width: 464px;
  }

  .clients {
    width: 758px;
  }

  .ideals {
    width: 758px;
  }

  .ideals-col {
    width: 366px;
  }

  [class*="ideals-col"] {
    float: none;
    min-height: 1px;
    margin-left: 26px;
  }

  .ideals-row {
    width: 366px;
  }

 .row [class*="four"]:nth-child(4) {
    display: inherit !important;
  }

.row [class*="episode"]:nth-child(4) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(5) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(7) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(9) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(10) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(16) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(17) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(19) {
    margin-left: 26px;
  }

.row [class*="episode"]:nth-child(21) {
    margin-left: 0px;
  }

.row [class*="episode"]:nth-child(22) {
    margin-left: 26px;
  }

  .span3 {
    width: 268px;
  }

  .span2 {
    width: 170px;
  }

  .span1 {
    width: 72px;
  }


  .featured {
    width: 758px;
  }

  .featured-col {
    width: 366px;
    float: left;
    margin: 0px auto;
  }

  [class*="desktop-col"] {
    min-height: 1px;
    margin-left: 26px;
    float: left;
  }

 .project {
    width: 758px;
  }

  .page-head {
    padding-top: 234.194px;
    width: 758px;
  }

  .spanfeature-right {
      width: 505px;
      float: left;
      margin-left: 3px;
}
  .spanfeature-left {
    width: 270px;
    margin: 0px;
    float: left;
  }

.feature-copy {text-align:left;}

  .span5a {
    width: 376px;
  }

  .span4a {
    width: 278px;
  }

  .span3 {
    width: 268px;
  }

  .offset12 {
    margin-left: 1230px;
  }
  .offset11 {
    margin-left: 1130px;
  }
  .offset10 {
    margin-left: 1030px;
  }
  .offset9 {
    margin-left: 930px;
  }
  .offset8 {
    margin-left: 830px;
  }
  .offset7 {
    margin-left: 730px;
  }
  .offset6 {
    margin-left: 630px;
  }
  .offset5 {
    margin-left: 530px;
  }
  .offset4 {
    margin-left: 430px;
  }
  .offset3 {
    margin-left: 330px;
  }
  .offset2 {
    margin-left: 230px;
  }
  .offset1 {
    margin-left: 130px;
  }

  input,
  textarea,
  .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 32px;
  }
  input.span12,
  textarea.span12,
  .uneditable-input.span12 {
    width: 1156px;
  }
  input.span11,
  textarea.span11,
  .uneditable-input.span11 {
    width: 1056px;
  }
  input.span10,
  textarea.span10,
  .uneditable-input.span10 {
    width: 956px;
  }
  input.span9,
  textarea.span9,
  .uneditable-input.span9 {
    width: 856px;
  }
  input.span8,
  textarea.span8,
  .uneditable-input.span8 {
    width: 756px;
  }
  input.span7,
  textarea.span7,
  .uneditable-input.span7 {
    width: 656px;
  }
  input.span6,
  textarea.span6,
  .uneditable-input.span6 {
    width: 556px;
  }
  input.span5,
  textarea.span5,
  .uneditable-input.span5 {
    width: 456px;
  }
  input.span4,
  textarea.span4,
  .uneditable-input.span4 {
    width: 356px;
  }
  input.span3,
  textarea.span3,
  .uneditable-input.span3 {
    width: 256px;
  }
  input.span2,
  textarea.span2,
  .uneditable-input.span2 {
    width: 156px;
  }
  input.span1,
  textarea.span1,
  .uneditable-input.span1 {
    width: 56px;
  }
  .thumbnails {
    margin-left: -30px;
  }
  .thumbnails > li {
    margin-left: 30px;
  }
  .row-fluid .thumbnails {
    margin-left: 0;
  }

}



@media only screen and (min-width: 1247px) {
  
/* 1247 =================================================== */


#kick {
  position: fixed;
  z-index: 1000;
  top: 110px;
  right: 10px;
  height: 420px;
  width: 220px;
  color: #000;
  display: inline !important;
}
}

@deletedmedia (max-width: 767px) {
  #deletedpage-wrap {
    padding-right: 20px;
    padding-left: 20px;
  }
  .navbar-fixed-top,
  .navbar-fixed-bottom,
  .navbar-static-top {
    margin-right: -20px;
    margin-left: -20px;
  }
  .container-fluid {
    padding: 0;
  }
  .dl-horizontal dt {
    float: none;
    width: auto;
    clear: none;
    text-align: left;
  }
  .dl-horizontal dd {
    margin-left: 0;
  }
  .container {
    width: auto;
  }
  .row-fluid {
    deletedwidth: 100%;
  }
  .thumbnails {
    margin-left: 0;
  }
  .thumbnails > li {
    float: none;
    margin-left: 0;
  }
  [class*="span"],
  .uneditable-input[class*="span"],
  .row-fluid [class*="span"] {
    display: block;
    float: none;
    deletedwidth: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .span12,
  .row-fluid .span12 {
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .row-fluid [class*="offset"]:first-child {
    margin-left: 0;
  }
  .input-large,
  .input-xlarge,
  .input-xxlarge,
  input[class*="span"],
  select[class*="span"],
  textarea[class*="span"],
  .uneditable-input {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .input-prepend input,
  .input-append input,
  .input-prepend input[class*="span"],
  .input-append input[class*="span"] {
    display: inline-block;
    width: auto;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 0;
  }
  .modal {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    width: auto;
    margin: 0;
  }
  .modal.fade {
    top: -100px;
  }
  .modal.fade.in {
    top: 20px;
  }
}

@media (min-width: 480px) {
  .nav-collapse {
    -webkit-transform: translate3d(0, 0, 0);
  }


  .page-header  small {
    display: block;
    line-height: 20px;
  }
  input[type="checkbox"],
  input[type="radio"] {
    border: 1px solid #ccc;
  }
  .form-horizontal .control-label {
    float: none;
    width: auto;
    padding-top: 0;
    text-align: left;
  }
  .form-horizontal .controls {
    margin-left: 0;
  }
  .form-horizontal .control-list {
    padding-top: 0;
  }
  .form-horizontal .form-actions {
    padding-right: 10px;
    padding-left: 10px;
  }
  .media .pull-left,
  .media .pull-right {
    display: block;
    float: none;
    margin-bottom: 10px;
  }
  .media-object {
    margin-right: 0;
    margin-left: 0;
  }
  .modal {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  .modal-header .close {
    padding: 10px;
    margin: -10px;
  }
  .carousel-caption {
    position: static;
  }
}

@media (max-width: 979px) {
  body {
    padding-top: 0;
  }
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    position: static;
  }
  .navbar-fixed-top {
    margin-bottom: 20px;
  }
  .navbar-fixed-bottom {
    margin-top: 20px;
  }
  .navbar-fixed-top .navbar-inner,
  .navbar-fixed-bottom .navbar-inner {
    padding: 5px;
  }
  .navbar .container {
    width: auto;
    padding: 0;
  }
  .navbar .brand {
    padding-right: 10px;
    padding-left: 10px;
    margin: 0 0 0 -5px;
  }
  .nav-collapse {
    clear: both;
  }
  .nav-collapse .nav {
    float: none;
    margin: 0 0 10px;
  }
  .nav-collapse .nav > li {
    float: none;
  }
  .nav-collapse .nav > li > a {
    margin-bottom: 2px;
  }
  .nav-collapse .nav > .divider-vertical {
    display: none;
  }
  .nav-collapse .nav .nav-header {
    color: #777777;
    text-shadow: none;
  }
  .nav-collapse .nav > li > a,
  .nav-collapse .dropdown-menu a {
    padding: 9px 15px;
    font-weight: bold;
    color: #777777;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
  }
  .nav-collapse .btn {
    padding: 4px 10px 4px;
    font-weight: normal;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
  }
  .nav-collapse .dropdown-menu li + li a {
    margin-bottom: 2px;
  }
  .nav-collapse .nav > li > a:hover,
  .nav-collapse .dropdown-menu a:hover {
    background-color: #f2f2f2;
  }
  .navbar-inverse .nav-collapse .nav > li > a,
  .navbar-inverse .nav-collapse .dropdown-menu a {
    color: #999999;
  }
  .navbar-inverse .nav-collapse .nav > li > a:hover,
  .navbar-inverse .nav-collapse .dropdown-menu a:hover {
    background-color: #111111;
  }
  .nav-collapse.in .btn-group {
    padding: 0;
    margin-top: 5px;
  }
  .nav-collapse .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    display: none;
    float: none;
    max-width: none;
    padding: 0;
    margin: 0 15px;
    background-color: transparent;
    border: none;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
  }
  .nav-collapse .open > .dropdown-menu {
    display: block;
  }
  .nav-collapse .dropdown-menu:before,
  .nav-collapse .dropdown-menu:after {
    display: none;
  }
  .nav-collapse .dropdown-menu .divider {
    display: none;
  }
  .nav-collapse .nav > li > .dropdown-menu:before,
  .nav-collapse .nav > li > .dropdown-menu:after {
    display: none;
  }
  .nav-collapse .navbar-form,
  .nav-collapse .navbar-search {
    float: none;
    padding: 10px 15px;
    margin: 10px 0;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
       -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-inverse .nav-collapse .navbar-form,
  .navbar-inverse .nav-collapse .navbar-search {
    border-top-color: #111111;
    border-bottom-color: #111111;
  }
  .navbar .nav-collapse .nav.pull-right {
    float: none;
    margin-left: 0;
  }
  .nav-collapse,
  .nav-collapse.collapse {
    height: 0;
    overflow: hidden;
  }
  .navbar .btn-navbar {
    display: block;
  }
  .navbar-static .navbar-inner {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (min-width: 980px) {
  .nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
  }
}