/*   
Theme Name: Responsive Child Theme
Theme URI: http://themeid.com/responsive-theme
Description: Responsive Child Theme / Knight Lab
Author: Emil Uzelac
Author URI: http://themeid.com
Template: responsive
Version: 1.0
*/

/* Import Responsive Styles */
@import url('../responsive/style.css');
@import url('font-awesome.css');

/* =Start Here
-------------------------------------------------------------- */

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* BEGIN FONTS */

.apresre {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
}
.apresrebold {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: bold;
}
.apresrebolditalic {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: bold;
}
.apresreitalic {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: normal;
}
.salvoserifcondregular {
  font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-style: normal;
  font-weight: normal;
}   
.salvoserifconditalic {
  font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: normal;
}
.turnipre {
  font-family: "Turnip RE", Georgia, "Times New Roman", Times, serif;
  font-style: normal;
  font-weight: normal;
}
.turniprebold {
  font-family: "Turnip RE", Georgia, "Times New Roman", Times, serif;
  font-style: normal;
  font-weight: bold;
}
.turniprebolditalic {
  font-family: "Turnip RE", Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold;
}
.turnipreitalic {
  font-family: "Turnip RE", Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: normal;
}

/* END FONTS */

body {
  background: #fff;
  color: #242424;
  font-family: "Turnip RE", Georgia, "Times New Roman", Times, serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.8em;
}
#info {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f2f2f2;
  font-size: 12px;
  padding: 19px 20px 18px;
  line-height: 1.4em;
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#530063', EndColorStr='#530063')"; /* IE8 */
  background-image: url("images/square_bg.png"),linear-gradient(bottom, rgb(50,33,63) 10%, rgb(83,0,99) 32%, rgb(83,0,99) 44%);
  background-image: url("images/square_bg.png"),-o-linear-gradient(bottom, rgb(50,33,63) 10%, rgb(83,0,99) 32%, rgb(83,0,99) 44%);
  background-image: url("images/square_bg.png"),-moz-linear-gradient(bottom, rgb(50,33,63) 10%, rgb(83,0,99) 32%, rgb(83,0,99) 44%);
  background-image: url("images/square_bg.png"),-webkit-linear-gradient(bottom, rgb(50,33,63) 10%, rgb(83,0,99) 32%, rgb(83,0,99) 44%);
  background-image: url("images/square_bg.png"),-ms-linear-gradient(bottom, rgb(50,33,63) 10%, rgb(83,0,99) 32%, rgb(83,0,99) 44%);
  background-image: url("images/square_bg.png"),-webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, rgb(50,33,63)),
    color-stop(0.32, rgb(83,0,99)),
    color-stop(0.44, rgb(83,0,99))
    );
  box-shadow: 0 -7px 0 -6px #666 inset;
}

#info span {
    display: block;
    margin: 0 auto;
    max-width: 1140px;
}
#info span.short {
  display: none;
}
#info span a,
#info span a:active {
  color: #eee;
  text-decoration: none;
}
#info span a:hover{
  text-decoration: underline;
}
.ie9 #info {
  background-image: none;
  background-color: #530063;
}

p {
  margin: 5px 0px 1.6em 0;
}
a {
    webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
a,
a:link,
a:visited {
    color: #1DACD6;
}
a:hover,
a:active,
ul.storytelling-tools li li:last-child a:active,
ul.storytelling-tools li li:last-child a:hover {
    color: #056B89;
    /*text-shadow: 1px 1px 8px #bbe0eb;*/
}

.post-entry>p:not(.post-meta)>a,
.post-entry>p:not(.post-meta)>a:link,
.post-entry>p:not(.post-meta)>a:visited,
.post-entry #teaser p a,
.post-entry #teaser p a:link,
.post-entry #teaser p a:visited,
footer a,
footer a:link,
footer a:visited{
  color: #686868;
  border-bottom: solid 1px #1DACD6;
}
.post-entry>p:not(.post-meta)>a:hover,
.post-entry>p:not(.post-meta)>a:active,
.post-entry #teaser p a:hover,
.post-entry #teaser p a:active,
footer a:hover,
footer a:active {
  text-decoration: none;
  color: #1DACD6;
}
footer #knightlab-logo-column a { border-bottom: none; }

.wp-caption a { border: none; }

ul {
  list-style: square outside;
  list-style-image: url("images/square.png");

}
ul.bios {
  list-style: none;
}

h1, h2, h3 {
  color: #414141;
  font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-size: 2.7em;
  font-style: italic;
  font-weight: normal;
  line-height: 1.1em;
}

h2 {
  font-style: normal;
  font-weight: normal;
  /*font-size: 1.9em;*/
  margin-top: 2.5em;
}
h3 {
  font-size: 1.9em;
  font-style: normal;
  font-weight: normal
}

h1 a,
h1 a:link,
h1 a:visited,
h1 a:hover,
h1 a:active {
	color: #414141;
	font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: normal;
  border: none;
}

h2 a,
h2 a:link,
h2 a:visited,
h2 a:hover,
h2 a:active,
h3 a,
h3 a:link,
h3 a:visited,
h3 a:hover,
h3 a:active {
  font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
  border: none;
}
h5 {
  color: #414141;
  font-size: 1.1em;
  line-height: 1.4em;
}

h3.subhead {
    color: #ca4d1d;
    font-size: 1.4em;
    font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin: 40px 0;
    text-align:center;
}

.page h1 {
  margin-top: 0;
}
.post h1 {
  margin-top: 1em;
}

.page h2.intro,
.single h2.intro,
.archive h2.intro{
  text-indent: -9999px;
  height: 30px;
  margin: 0;
}

.col-300 .widget_normanarchivewidget ul {
  list-style: none;
  margin-left: 5px;
}
.col-300 .widget_normanarchivewidget ul ul{
  list-style: square;
  margin-left: 27px;
}

.home h2.intro,
.error404 h2.intro {
    text-indent: 0;
    font-size: 50px;
    color: #ca5529;
    background: -webkit-linear-gradient(left top, rgb(215,103,56) 17%, rgb(187,62,37) 37%, rgb(187,62,37) 54%, rgb(255,134,84) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 54px;
    font-style: normal;
    font-weight: lighter;
    line-height: 1.2em;
    margin: 40px auto;
    max-width: 1140px;
    padding: 0 40px;
    clear: both;
    height: auto;
}
.wp-caption p.wp-caption-text {
  color: #8F8F8F;
  padding: 0 4px 5px 16px;
  font-size: 12px;
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


blockquote {
  background-color: #FAFAFA;
  font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-size: 1.4em;
  font-style: italic;
  line-height: 1.5em;
  margin: 2em 0;
  padding: 1em 1em 0;
}

.textwidget aside {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  padding: 25px 30px;
  margin:7px 0px 0px 0px;
  color: #222;
  background-color: #F3F3F3;
}
aside a,
aside a:link,
aside a:visited,
aside a:hover,
aside a:active {
  color: #0697c2 !important;
}



.callout {
  border-top: 5px solid #c84e26;
  background:#fff;
}


.drop-shadow {
  border-top: 11px solid #c84e26;
  position:relative;
  float:left;
  background:#fff;
  -webkit-box-shadow:0 0px 2px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:0 0px 2px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  box-shadow:0 0px 2px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
}

.drop-shadow:before,
.drop-shadow:after {
  content:"";
  position:absolute;
  z-index:-2;
}

.lifted {
  -moz-border-radius:11px 11px 4px 4px;
  border-radius:11px 11px 7px 7px;
}

.lifted:before,
.lifted:after {
  bottom: 19px;
  left:10px;
  width:50%;
  height:20%;
  max-width:300px;
  -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.4);
  box-shadow:0 15px 10px rgba(0, 0, 0, 0.4);
  -webkit-transform:rotate(-3deg);
  -moz-transform:rotate(-3deg);
  -ms-transform:rotate(-3deg);
  -o-transform:rotate(-3deg);
  transform:rotate(-3deg);
}

.lifted:after {
  right:10px;
  left:auto;
  -webkit-transform:rotate(3deg);
  -moz-transform:rotate(3deg);
  -ms-transform:rotate(3deg);
  -o-transform:rotate(3deg);
  transform:rotate(3deg);
}

.bios {
  margin-top: 20px;
  margin-bottom: 40px;
}
.bios h4 {
  color: #414141;
  margin-top: 50px;
}
.bios h5 {
  font-size: 1em;
  line-height: 1.6em;
  margin-top: 8px;
}
.bios li:first-child h4{
  margin-top: 30px;
}
.bios li p{
  margin: 10px 0px;
}

.single .single-offset,
#content-full.single-offset {
  padding-left: 110px;
}
.single .single-offset .post-entry,
#content-full.single-offset .post-entry{
  padding-top: 15px;
}

.post-entry .icon-twitter:before,
.post-entry .icon-envelope:before,
.post-entry .icon-envelope-alt:before,
.post-entry .icon-github-alt:before,
.post-entry .icon-external-link:before,
.bio-content .icon-twitter:before,
.bio-content .icon-envelope:before,
.bio-content .icon-envelope-alt:before,
.bio-content .icon-github-alt:before,
.bio-content .icon-external-link:before  {
  color: #ca4d1d;
  padding-right: 3px;
}
.bio-content .icon-envelope:before  {
  vertical-align: text-top;
}

.post-entry .icon-large:before {
  vertical-align: sub;
}


.post-entry h3 {
  margin-bottom: 0;
}
/*.post-entry p a,*/
/*.post-entry p a:link {*/
	/*color: #686868;*/
  /*border-bottom: solid 2px #1DACD6;*/
/*}*/
/*.post-entry p a:hover,*/
/*.post-entry p a:visited,*/
/*.post-entry p a:active {*/
  /*text-decoration: none;*/
  /*color: #1DACD6;*/
/*}*/

.post-entry img {
  border: 1px solid #DDDDDD !important;
  height: auto;
  margin: 6px 17px 14px 0;
  max-width: 100%;
  padding: 10px;
  vertical-align: middle;
}

.post-entry img.left ,
.post-entry img.floatLeft{
  float: left;
}
.post-entry a img.attachment-post-thumbnail {
  border: none;
  float: left;
  margin: 4px 25px 10px 0;
  max-height: 167px;
  max-width: 186px;
  padding: 5px;
}

.page-template-blog-excerpt-php .post-entry a img.attachment-post-thumbnail {
  margin: 14px 25px 10px 0;
}

.post-entry ul,
.post-entry ol  {
  padding-bottom: 15px;
}

.post-entry ul li,
.post-entry ol li {
  padding: 4px 0px 10px;
  line-height: 1.7em;
}
.wp-caption {
  border: none;
  padding: 1px 3px 10px;
}
.wp-caption.alignleft {
  margin: 0 20px 20px 0;
}
.single h1 {
  font-style: normal;
}
#content-wrapper {
}
#container {
  margin: 0 auto;
  padding: 0;
  max-width: none;
}

#wrapper {
  padding: 0 40px;
}
.home.page #wrapper {
    padding: 0;
    margin-top: 0;
}

/*TODO: Move this somewhere else so other pages can have regular headers*/
#header {
    border-top: 4px solid #474748;
    position: relative;
    clear: both;
    text-align: center;
  /* image set in landing-page.php*/
}

#header a {
    border: none;
    float: right;
}
#lead-image {
    object-fit: cover;
    max-height: 640px;
    width: 100%;
    border-bottom: solid 4px #EAE34A;
    opacity: 0.8;
}
#header-content-wrapper {
  width: 100%;
  height: 100%;
  background-image: linear-gradient( white, transparent 65% );
  position:absolute;
  top: 0;
}
.header-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 50px;
}

#header.secondary-page {
    width: 100%;
    min-height: 160px;
    /*background: white;*/
    /*border-bottom: solid 1px #eee;*/
    content: "";
    display: table;
    clear: both;
}
#header.secondary-page #homepage-logo img {
    /*width: 250px;*/
}
#header.secondary-page .grid {
    margin-bottom: 5px;
}

#header.secondary-page .contact-icons {
    margin: 10px 0 2px;
}
#nav-wrapper {
    text-align: center;
    min-height: 160px;
}

nav {
    max-width: 1140px;
    margin: auto;
}

#nav-wrapper.shrunk {
    width: 100%;
    min-height: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: solid 1px #eee;
    z-index: 99999;

}
#nav-wrapper.shrunk nav {
    content: "";
    display: table;
    clear: both;
}

#nav-wrapper.shrunk #homepage-logo {
    margin-top: 14px;
    margin-right: 25px;
}
#nav-wrapper.shrunk #homepage-logo #large-logo {
    width: 200px;
}
#nav-wrapper.shrunk .contact-icons {
    margin: 16px 0 16px 8px;
}
#nav-wrapper.shrunk .menu {
    margin: 23px 0;
    clear: none;
}
#nav-wrapper.shrunk .grid.sidenav {
    width: auto;
    margin-bottom: 0;
}
#nav-wrapper.shrunk #tagline {
    display: none;
}


#tagline {
    /*position:absolute;*/
    /*bottom: 50px;*/
    /*font-size: 1.5em;*/
    /*color: #fff;*/
    color: #414141;
    font-size: 0.75em;
    text-transform: uppercase;
    width: 260px;
    text-align: left;
    margin-top: 10px;
    margin-left: 110px;
    line-height: 1.5;
	font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.email-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 16px;
    text-align: center;
    background: #eee;
    margin-bottom: 4px;
    padding: 20px;
    opacity: 0.9;
}



/******************************
FRONT PAGE SECTIONS
******************************/
.front-page-section {
    margin: 50px auto 150px;
    border-top: solid 4px #EAE34A;
}
.front-page-section:first-child { margin-top: 0; border-top: none; }
.front-page-section.has-image {
    padding-top: 400px;
    /*opacity: 0;*/
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    -webkit-background-size: contain;
    -moz-background-size: contain;
}


.front-page-section.has-image .front-page-text div{
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 3em;
     -moz-column-gap: 3em;
          column-gap: 3em;
}
.front-page-text {
    padding: 10px;
    margin: auto;
    max-width: 940px;
}

.front-page-text h2 {
    margin-top: 5px;
    font-style: italic;
    text-align: center;
}
ul.storytelling-tools,
ul.storytelling-tools ul,
ul.logos {
    list-style: none;
    margin: 0;
    text-align: center;
}
ul.logos li {
    display: inline-block;
    padding: 20px;
}
ul.logos img {
    max-width: 80px;
}

ul.storytelling-tools > li {
    width: 21%;
    min-height: 160px;
    min-width: 200px;
    margin: 5px;
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    font-size: 0.8em;
    line-height: 1.5;
    float: left;
    position: relative;
}
ul.storytelling-tools h4 {
    margin-top: 0;
    font-family: 'Salvo Serif Cond', Georgia, 'Times New Roman', Times, serif;
    font-size: 32px;
    font-style: italic;
    font-weight: normal;
    white-space: nowrap;
}
ul.storytelling-tools h4 span {
    background: none repeat scroll 0 0 #0f9bd1;
    border-radius: 3px 0 3px 3px;
    color: #fff;
    font-size: .5em;
    line-height: .5em;
    margin: 5px 6px 0;
    overflow: hidden;
    padding: .35em .45em .2em;
    position: relative;
    vertical-align: text-top;
    display: inline-block;
}
ul.storytelling-tools h4 span:before {
border-color: #0f9bd1 #f3f3f3;
border-style: solid;
border-width: 0 8px 8px 0;
content: "";
position: absolute;
right: 0;
top: -1px;
}
ul.storytelling-tools a {
    font-weight: normal;
    border-bottom: none;
    color: #242424;
}
ul.storytelling-tools li li:last-child {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
ul.storytelling-tools li li:last-child a {
    color: #0f9bd1;
    float: right;
}

ul.related-section-links {
    list-style: none;
    margin-left: 0;
    content: "";
    display: table;
    clear: both;
}

.related-section-links li {
    margin-top: 25px;
    float: left;
    clear: left;
}
.related-section-links li a {
    float:right;
}

.page #wrapper,
.archive #wrapper,
.single #wrapper,
.error404 #wrapper {
  max-width: 1140px;
  background-color: transparent;
  border: medium none;
  margin: 20px auto;
}
#widgets {
  margin-top: 4px;
}
.col-620 .post {
  padding-right: 30px;
}
.rstw_link_user {
  text-align: right;
  margin-top: 10px;
}
#widgets .rstw_link_user a:hover{
  text-decoration: underline;
}
.widget-wrapper {
  background-color: transparent;
  border: medium none;
  border-radius: 0 0 0 0;
  font-size: 16px;
  margin: 0 0 40px;
  padding: 0;
}
#content-archive h6 {
  color: #414141;
  font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  font-size: 2.2em;
  font-style: italic;
  font-weight: normal;
  line-height: 1.2em;
  margin: 0em 0 1em;
}
#content-archive h6 span{
  color: #AAAAAA;
  padding-left: 4px;
}
.textwidget p:first-child {
  margin: 0 0 1.6em;
}
.textwidget p:last-child {
  margin: 1.6em 0 0;
}

#top-bar {
	font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #414141;
	text-align: right;
	padding: 1px 40px 1px;
}
#top-bar a {
	color: #ebe438;
}
.contact-icons  {
  float: right;
  height: 40px;
  overflow: hidden;
  margin: 16px 0;
  position: inherit;
}
.contact-icons li {
  display: inline-block;
  float: left;
  padding-top: 7px;
  min-height: 33px;
  padding: 8px 10px 0 0px;
  margin: 0 -1px;
}
.contact-icons li a{
  /*color: #eae34a;*/
    /*color: #fff;*/
    color: #555;
    /*color: #ca4d1d;*/
    /*text-shadow: 0 0 1px #000;*/
}
.contact-icons li a:hover{
  text-decoration: none;
  /*opacity: .8;*/
  color: #1DACD6;
}
.contact-icons .icon-large {
  font-size: 1.2em;
  width: 32px !important;
}
.contact-icons .iconemail:after {
  background-image: url("images/icon-email-sm-white.gif");
  margin-left: 8px;
  margin-top: -31px;
  width: 16px;
}
.contact-icons li:first-child {
  background-position: top left;
  padding-left: 12px;
}
.contact-icons li:last-child {
  background-position: top right;
  padding-right: 12px;
}
#top-bar a:hover {
	color: #ebe438;
	text-decoration: none;
}

#top-bar a .icon-large {
 padding-right: 7px;
}

#top-bar a:hover span {
  text-decoration: underline;
}

#logo {
    margin-top: 24px;
    float: left;
    width: 200px;
}

#homepage-logo {
  margin: 25px 0 8px;
  /*height: 114px;*/
  min-width: 336px;
  text-align: left;
  float:left;
}
#homepage-logo a{
  display: block;
  /*height: 100px;*/
  width: 100%;
}
#homepage-logo img {
    /*max-height: 180px;*/
    width: auto;
}
#mobile-logo,
#diamond-only {
    display: none;
}
.logo-mark {
  white-space: normal;
}

.unstyled .logo-mark {
  font-size: 39px;
  line-height: 1em;
  margin-top: 10px;
  margin-bottom: 5px;
}
.unstyled .logo-mark span {
    margin: 5px 6px 0;
    padding: 0.4em 0.4em 0.3em;
}

.unstyled .logo-mark span:before {
    border-width: 0 8px 8px 0;
}
.logo-mark span:before {
    border-color: #0F9BD1 #F3F3F3;
    border-style: solid;
    border-width: 0 16px 16px 0;
    content: "";
    position: absolute;
    right: 0;
    top: -1px;
}
.unstyled .logo-mark span {
    margin: 5px 6px 0;
    padding: 0.4em 0.4em 0.3em;
}
.logo-mark span {
    background: none repeat scroll 0 0 #0F9BD1;
    border-radius: 3px 0 3px 3px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 0.5em;
    line-height: 0.5em;
    margin: 5px 6px 0;
    overflow: hidden;
    padding: 0.35em 0.45em 0.2em;
    position: relative;
    vertical-align: text-top;
}

.unstyled li.well {
    padding: 10px 19px;
}
.well {
    background-color: #F3F3F3;
    border: none;
    border-radius: 7px;
    box-shadow: 0;
    margin-bottom: 20px;
    min-height: 20px;
    padding: 19px;
}
ul.unstyled, ol.unstyled {
    list-style: none outside none;
    margin-left: 0;
}

#widgets ul.unstyled li {
    margin-left: 0px;
}
.unstyled li p a {
    float: right;
    white-space: nowrap;
}

.unstyled li p {
    line-height: 26px;
    margin: 0 0 11px;
}
.textwidget .well p:last-child {
  margin-top: 14px;
}
.email {
    text-align: center;
}

.email form {
    display: inline-block;
    margin: 0 auto;
    padding: 8px 10px 10px;
}
.email div.content {
    /*background-color: #FFFFFF;*/
    /*border: 1px solid #EEEEEE;*/
    display: inline-block;
    margin: 0 auto;
    padding: 0px;
  }
  .email input {
    border: none;
  }

.email p{
  margin-bottom: 0;
  float: left;
  padding: 1px 11px 0 0;
  color: #757575;
}
form div#mce-responses {
  margin: 0;
}
#mc-embedded-subscribe-form .input-large {
    width: auto;
    margin-left: 10px;
}
.mc-field-group {
  white-space: nowrap;
}
#mc-embedded-subscribe-form input.required,
#mc-embedded-subscribe-form input[type="text"] {
    margin-bottom: 0;
    vertical-align: middle;
    background-color: #FFFFFF;
    text-align: left;
    border: none;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    border-radius: 2px 0px 0px 2px;
    color: #555555;
    font-size: 16px;
    height: auto;
    line-height: 22px;
    padding: 7px 10px 6px;
    box-shadow: none;
    font-family: "Turnip RE", Georgia, "Times New Roman", Times, serif;
    /*width: 80%;*/
    /*opacity: 0.9;*/
}
.mc-field-group button {
    margin-left: -5px;
    /*border-left: 1px solid #ccc;*/
}
.btn {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  background-image: none;
    background-color: #EAE34A;
    border-radius: 0px 2px 2px 0px;
    border: none;
    color: #414141;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 0;
    margin-right: -4px;
    padding: 8px 18px 6px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}
button.btn:hover {
    background-color: #cac44a;
    background-image: none;
    border: inherit;
    color: #242424;
}
.post-data, .post-meta, .read-more, address, .copyright {
  font-size: 16px;
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #8f8f8f;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 0px;
}
.address {
    background-color: transparent;
    border: none;
}

.meta-below {
  margin-bottom: 60px;
  margin-top: -65px;
}
.address,
.tel,
.copyright {
  font-size: 14px;
  clear: both;
  color: #a8a4a3;
  padding-bottom: 20px;
}

.read-more {
  clear: none;
  display: inline;
  padding-left: 2px;
}
.read-more a {
    color: #1DACD6;
  border: none;
}

/* main menu override */

.menu {
	font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: transparent;
  background-image: none;
  clear: none;
  list-style: none;
  margin-top: 24px;
  font-size: 13px;
  float: right;
  margin-right: 10px;
}
.menu li {
    list-style: none;
    margin-left: 25px;
    display: block;
    float: left;
}
ul.menu {
    margin-left: 0;
}
.menu li ul.sub-menu {
  display: none;
}

.menu li a,
.menu li a:visited,
.widget-title {
	text-transform: uppercase;
	font-family: "Salvo Serif Cond", Georgia, "Times New Roman", Times, serif;
  color: #414141;
  font-size: 1.3em;
  font-weight: normal;
  text-decoration: none;
}


.menu li a:hover {
color: #1DACD6;
}

.menu li.current-menu-item a,
.menu li.current-menu-item a:link,
.menu li.current-menu-item a:visited,
.menu li.current-menu-item a:active,
.menu li.current-menu-item a:hover {
  color: #ca4d1d !important;
}

.sidenav {
    margin-right: 0;
    float: right;
}
.widget-title {
  /*background: url("images/bg-headerlight.png") no-repeat right 0px transparent;*/
    background:#eee;
    line-height: 23px;
    padding-bottom: 0;
    margin-bottom: 20px;
    border-right: solid 22px #EAE34A
}
.widget-title  span,
#widgets a.twitter_title_link{
  /*background-color: white;*/
    display: block;
    padding-right: 6px !important;
    padding-left: 2px;
    border-right: solid 5px white;
}
#widgets a {
  border: none;
}

.widget-wrapper ul.really_simple_twitter_widget li {
  padding-bottom: 10px;
}

/* Parent theme hides nav on landing page by default, which is dumb */
.page-template-landing-page-php .menu,
.page-template-landing-page-php .top-menu,
.page-template-landing-page-php .footer-menu,
.page-template-landing-page-php .sub-header-menu {
    display: block;
}

/*-- Temp override for only 4 nav items. --*/

.menu li:before {
  font-size: 1.5em;
  line-height: 1.4em;
}

/*-- END Temp override for only 4 nav items. --*/


a.twitter_title_link,
a.twitter_title_link:link,
a.twitter_title_link:visited,
a.twitter_title_link:hover,
a.twitter_title_link:active{
  color: #414141;
  text-decoration: none;
}

a.twitter-link:hover{
  text-decoration: underline !important;
}
#widgets ul li {
 line-height: 1.5em;
}
#widgets ul li a:hover {
  text-decoration: underline;
}
.post-entry {
	padding-bottom: 60px;
  padding-top: 5px;
}
.meta-top,
a.meta-top,
a.meta-top:link,
a.meta-top:visited,
a.meta-top:hover,
a.meta-top:active {
  text-transform: uppercase;
  font-size: 18px;
  color: #ca4d1d;
  margin-bottom: -35px;
}
.meta-top a{
	font-size: 18px;
	color: #ca4d1d;
}
.meta-top em{
  display:none;
}
.meta-top a.posted{
  display: inline;
}
.widget_reallysimpletwitterwidget .meta-top,
.widget_reallysimpletwitterwidget a.meta-top,
.widget_reallysimpletwitterwidget a.meta-top:link,
.widget_reallysimpletwitterwidget a.meta-top:visited,
.widget_reallysimpletwitterwidget a.meta-top:hover,
.widget_reallysimpletwitterwidget a.meta-top:active {
  font-size: 15px;
}

.meta-top a:hover{
	text-decoration: none;
}
.post-meta.meta-top a {
  padding-right: 0px;
  border: none;
}
.post-meta.meta-top span.divider {
  color: #8F8F8F;
}
.meta-top span.timestamp {
	display: inline;
}
.meta-top span.timestamp:before {
	padding-right: 4px;
}

.meta-bottom .meta-prep,
.meta-bottom .timestamp {
	display: none;
}
.single .post-meta.meta-top a[rel='author'],
.page-template-blog-excerpt-php .post-meta.meta-top a[rel='author'] {
  display: none;
}

.post-top {
  margin-left: -4px;
}
.meta-bottom span.byline:before {
	content: "POSTED";
	padding-right: 2px;

}
.meta-bottom a[rel='bookmark'] {
  display: none;
}
.meta-bottom a[rel='author'] {
  padding-right: 0;
}
.meta-bottom .comments-link {
padding-left: 10px;
}
.meta-bottom em {font-style: normal}
.post-meta a {
  padding-right: 10px;
  color: #1DACD6;
  white-space: nowrap;
}
p.meta-bottom {
  font-size: 12px;
  color: #414141;
}
.meta-bottom a {
  border-bottom: none;
}
.meta-below a {
  color: #444;
}
.single .single-offset .meta-bottom p  {
  margin-bottom: 0;
}
.single .single-offset .meta-bottom p a {
  color: #444;
}
.post-meta.meta-top a {
  color: #ca4d1d;
}
/* this is shown while logged in. might want to show this again after dev. */
.post-edit {
  display:none;
}

#widgets ul li.norman-adv-archive-year a.icon {
  display: block;
  float: left;
  height: 17px;
  margin: 4px 4px 0 0;
  padding: 0;
  text-indent: -9999px;
  width: 18px;
}

#widgets ul li.norman-adv-archive-year li {
  color: #EBE438;
}

footer,
#footer{
  padding: 10px 80px 0;
  font-size: 14px;
  background-color: #F3F3F3;
  border-bottom: 12px solid #520063;
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
footer .room-num::before { content: ", "; }
#knightlab-logo-column {
  width: 25%;
  float: left;
  margin-right: 30px;
  text-align: center;
}
#knightlab-description {
  width: 65%;
  float: left;
  border-left: solid 1px #d0d0d0;
  padding-left: 20px;
}


#footer-outer {
  border-top: 4px solid #474748;
  background-image: linear-gradient(top, rgb(50,33,63) 14%, rgb(83,0,99) 66%, rgb(83,0,99) 44%);
  background-image: -o-linear-gradient(top, rgb(50,33,63) 14%, rgb(83,0,99) 66%, rgb(83,0,99) 44%);
  background-image: -moz-linear-gradient(top, rgb(50,33,63) 14%, rgb(83,0,99) 66%, rgb(83,0,99) 44%);
  background-image: -webkit-linear-gradient(top, rgb(50,33,63) 14%, rgb(83,0,99) 66%, rgb(83,0,99) 44%);
  background-image: -ms-linear-gradient(top, rgb(50,33,63) 14%, rgb(83,0,99) 66%, rgb(83,0,99) 44%);

  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.14, rgb(50,33,63)),
    color-stop(0.66, rgb(83,0,99)),
    color-stop(0.44, rgb(83,0,99))
    );
  height: 14px;
}
.ie9 #footer-outer {
  background-image: none;
  background-color: #530063;
}

.about-knightlab {
  max-width: 840px;
  margin: auto;
  padding-top: 60px;
}

footer .col-940 {
  display: none;
}

footer ul {
  list-style: none outside none;
  margin: 0
}
footer ul.social {
  text-align: center;
  padding: 10px 0;
  /* override blueline styles */
  /*margin: 5px 5px 5px  25px;*/
  width: 100%;
  float: none;
}

footer ul.social a {
  border: none;
  text-decoration: none;
}

footer ul.social li{
  display: inline;
  font-size: 24px;
  line-height: 1.4em;
  padding-bottom: 3px;
}

footer ul.social li a:hover{
  text-decoration: none;
  opacity: .9;
}
footer ul.logos {
  margin-top: 25px;
  border-left: 1px solid #CCCCCC;
}
footer ul.logos li{
  display: block;
  float: right;
}
footer ul.logos li:nth-child(1n+4) {
  float: none;
  clear: left;
}

footer ul.logos li:nth-child(1),
footer ul.logos li:nth-child(3) {
  border-left: 1px solid #CCCCCC;
}

footer ul.logos li:nth-child(n+5) {
  float: left;
  clear: none;
}

footer ul.logos li:nth-child(1n+6) {
  clear: none;
  float: left;
}

footer ul.logos li:nth-child(10n+2) {
  clear: right;
}

footer ul.logos li:hover{
  opacity: .85;
}
footer ul.logos li a{
  background: url("images/footer-logosheet.png") no-repeat scroll center top transparent;
  display: block;
  text-indent: -9999px;
}
footer ul.logos li a.northwestern{
  background-position: -42px -106px;
  height: 174px;
  margin-bottom: 17px;
  margin-left: 30px;
  width: 290px;
}

footer ul.logos li a.knightfoundation{
  background-position: 22px -283px;
  height: 83px;
  margin-bottom: 23px;
  margin-top: 14px;
  width: 383px;
}
footer ul.logos li a.medill{
  background-position: -221px -385px;
  height: 52px;
  margin-bottom: 20px;
  margin-left: 11px;
  width: 111px;
}
footer ul.logos li a.mccormick{
  background-position: -19px -385px;
  float: right;
  height: 52px;
  margin-bottom: 20px;
  width: 185px;
}
footer ul.logos li a.mccormickfound{
  background-position: -6px -462px;
  height: 68px;
  margin-bottom: 51px;
  margin-right: 34px;
  margin-top: 23px;
  width: 218px;
}
footer ul.logos li a.nsf{
  background-position: right -448px;
  float: right;
  height: 84px;
  margin: 0;
  width: 131px;
}

.notes {
  text-align: left;
  font-size: 14px;
  line-height: 1.4em;
  margin: 28px;
}

.icontumblr:after,
.iconemail:after,
.iconrss:after {
  background: url("images/icon-tumblr.png") no-repeat scroll center center transparent;
  content: " ";
  display: block;
  float: left;
  height: 27px;
  margin-left: 0.5em;
  margin-top: -1.3em;
  position: absolute;
  width: 26px;
}
.iconemail:after {
  background-image: url("images/icon-email.png");
  width: 25px;
}
.iconrss:after {
  background-image: url("images/icon-rss.png");
}
.copyright {
  text-align: center;
  padding-top: 30px;
}

.navigation a {
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding: 4px 0px;
  text-transform: uppercase;
  border: none;
}

.navigation .previous {
  float: left;
  line-height: 1.7em;
  margin-bottom: 60px;
  max-width: 44%;
}


.navigation .next {
  line-height: 1.7em;
  margin-bottom: 60px;
  max-width: 44%;
}

.widget-wrapper ul li {
  padding: 5px 0px;
}
.widget-wrapper ul li.cat-post-item {
  padding: 5px 0px 10px;
}


.widget-wrapper .meta-top {
  margin: 2px 0 0;
  display: block;
  font-family: "Apres RE", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.comments-link .mdash {
  display: none;
}

.icon-align-justify {
  display: none;
}

#author-meta {
  /*padding: 0px 30px 10px;*/
  padding: 0;
  margin-top: 20px;
  /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 0, 0, 0.1);*/
  border-radius: 3px;
  overflow: visible;
  /*background-color: #f3f3f3;*/
  background-color: #fff;
  border: none;
}

#author-meta h4{
  margin: 8px 0;
}
#author-meta h4:nth-of-type(2),
#author-meta h4:nth-of-type(3),
#author-meta h4:nth-of-type(4) {
  margin-top: 40px;
}

#author-meta h5 {
  margin: 13px 0;
}

#author-meta .label {
  font-family: 'Apres RE', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #8f8f8f;
  text-transform: uppercase;
  padding: 0;
}

#teaser {
  margin-top: 60px;
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
}

.single .type-post {
    padding: 40px;
    background-color: #fff;
    border: 1px solid #eee;
}
.bio-content h4 {
  display: none;
}

.bio-content h5 {
  margin-top: 0;
}
h2.author {
  margin-top: 0;
  margin-bottom: 10px;
}

#author-meta .about-author,
#author-meta .avatar {
  display: none;
}

blockquote {
  padding:1em 1em 0;
  margin:0 0 22px;
  overflow:auto;
  font-family:"Turnip RE",Georgia,"Times New Roman",Times,serif;
  font-size:1.1em;
  font-style:italic;
  line-height:1.5em;
  background-color:#fafafa;
  border-left:4px solid #eee
}

blockquote p {
  margin:3px 0 22px;
  font-family:inherit;
  font-size:inherit;
  line-height:inherit
}

blockquote small {
  display:block;
  line-height:22px;
  color:#999
}

blockquote small:before {
  content:'\2014 \00A0'
}

blockquote.pull-right {
  float:right;
  padding-right:15px;
  padding-left:0;
  border-right:5px solid #eee;
  border-left:0
}

blockquote.pull-right p,blockquote.pull-right small {
  text-align:right
}

blockquote.pull-right small:before {
  content:''
}

blockquote.pull-right small:after {
  content:'\00A0 \2014'
}

*[data-pullquote] {
  float:right;
  width:34%;
  padding:22px 1px 20px;
  margin:7px 0 .5em 35px;
  font-family:"Salvo Serif Cond",Georgia,"Times New Roman",Times,serif;
  font-size:25px;
  font-style:italic;
  line-height:1.3em;
  color:#ca4d1d;
    border-top:medium double #ddd;
  border-bottom:medium double #ddd;
}

*[data-pullquote]:before {
  float:none;
  width:100%;
  padding:5px 0px;
  font-family:"Salvo Serif Cond",Georgia,"Times New Roman",Times,serif;
  font-size:25px;
  font-style:italic;
  line-height:1.3em;
  color:#ca4d1d;
  content:attr(data-pullquote);
}
*[data-pullquote].pull-left {
  margin: 7px 35px 0.5em 0;
  float: left;
}
q:before,q:after,blockquote:before,blockquote:after {
  content:""
}

.editor-note,.editors-note {
  padding:18px 24px;
  margin:1.4em 0 1.6em;
  font-family:"Apres RE","Helvetica Neue",Helvetica,Arial,sans-serif;
  line-height:1.5em;
  color:#555;
  clear: both;
  background-color:#eee;
  border-top:4px solid #ca4d1d
}

.editor-note:before,.editors-note:before {
  padding-right:3px;
  color:#ca4d1d;
  content:"Editor's Note: "
}

  #author-meta {
    margin-right: 20px;
  }
  #author-meta ul,
  .bio-content ul{
    margin: 0px;
  }
  #author-meta ul li,
  .bio-content ul li{
    list-style: none outside none;
    overflow: hidden;
    padding: 2px 0px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.hupso_counters {
  display: none;
}

.hupso_twitter {
  margin-left: 0 !important;
}

.wp-caption {
  padding-bottom: 0px;
}

.wp-caption.alignleft {
    margin: 0 45px 0 0;
}

.wp-caption.alignright {
    margin: 0 0 0 30px;
}
.wp-caption.aligncenter {
    margin-bottom: 20px;
}

/*  Font Awesome
    the iconic font designed for use with Twitter Bootstrap
    -------------------------------------------------------
    The full suite of pictographic icons, examples, and documentation
    can be found at: http://fortawesome.github.com/Font-Awesome/

    License
    -------------------------------------------------------
    The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
    http://creativecommons.org/licenses/by/3.0/ A mention of
    'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
    source code is considered acceptable attribution (most common on the web).
    If human readable source code is not available to the end user, a mention in
    an 'About' or 'Credits' screen is considered acceptable (most common in desktop
    or mobile software).

    Contact
    -------------------------------------------------------
    Email: dave@davegandy.com
    Twitter: http://twitter.com/fortaweso_me
    Work: http://lemonwi.se co-founder

*/

@font-face {
  font-family: "FontAwesome";
  src: url('font/fontawesome-webfont.eot');
  src: url('font/fontawesome-webfont.eot?#iefix') format('eot'), url('font/fontawesome-webfont.woff') format('woff'), url('font/fontawesome-webfont.ttf') format('truetype'), url('font/fontawesome-webfont.svg#FontAwesome') format('svg');
  font-weight: normal;
  font-style: normal;
}
.notes {
  display: none;
}
/*  End Font Awesome */

/***********************
 * Responsive Magicks
 **********************/


@media all
    and (min-width: 463px)
    and (min-device-aspect-ratio: 1/1){
    .menu li:hover:before,
    .related-section-links li:hover:before,
    .carat li:hover:before {
        transition: padding 0.3s;
        width: 29px;
    }
   body { background: url("images/page-background.png"), #fff; }
  .front-page-section.has-image .front-page-text {
    background-color: #fff;
    border: 1px solid #eee;
  }
  .front-page-text{
      padding: 25px;
      width: 80%;
  }
  .address-group { display: inline; }
  footer .address::before { content: " | "; }
  footer .room-num::after { content: ", "; }

}


@media screen and (max-width: 1200px){
    .grid.col-540.sidenav {
        margin-left: -20px;
        width: 60%;
    }
}

@media screen and (max-width: 1160px) {
  footer ul.logos,
  footer ul.logos li  {
    border-left: none !important;
  }
  /*.menu { margin-top: 0; }*/
  nav { padding: 0 50px; }
  #homepage-logo { min-width: 200px; }
  #homepage-logo img { width: 330px; }
  #header.secondary-page #homepage-logo img { width: 250px; }
  #tagline { margin-left: 100px; }
  #contact-icons { margin: 16px 0; }
}
@media screen and (max-width: 1080px) {
    .front-page-section.has-image {
        padding-top: 280px;
    }
    .menu {
        float: right;
        clear:right;
        margin-top: 0;
    }
    .contact-icons {
        margin-top: 30px;
        margin-bottom: 5px;
    }
  footer ul.logos li a.northwestern {
    margin-left: 0px;
  }
}
@media screen and (max-width: 1090px) {
  footer ul.social li {
    display: inline;
    float: none;
  }
  footer ul {
    clear: both;
    margin-bottom: 40px;
  }
  footer ul.logos {
    display: none;
  }
  .notes {
    display: block;
  }
  footer ul.logos li{
    display: block;
    float: none;
  }
  footer ul.logos li:first-child,
  footer ul.logos li a.northwestern,
  footer ul.logos li a.knightfoundation,
  footer ul.logos li a.nsf,
  footer ul.logos li a.mccormick,
  footer ul.logos li a.mccormickfound,
  footer ul.logos li a.medill  {
    margin: 20px auto;
    clear: both;
    float: none;
  }
  footer ul.logos li a:first-child.northwestern{
    margin: -30px auto -20px;
  }
  footer ul.logos li a.knightfoundation {
    margin: 0px auto 20px;
  }
  footer ul.logos li a.nsf  {
    margin: 0 auto 20px;
  }
  footer ul.social {
    padding-right: 0;
    float: none;
  }

  .copyright {
    padding-left: 16px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1115px) {
  footer ul.logos li a.northwestern {
    margin-left: 0px;
  }
  footer ul.logos li a.mccormick {
    background-position: -34px -385px;
    float: right;
    height: 52px;
    margin-bottom: 20px;
    width: 167px;
  }
}

@media all and (max-width: 979px) {
    #homepage-logo { float: left; }
    #homepage-logo img { width: 250px; }
    #tagline { margin-left: 10px; width: 300px;}
    .contact-icons { margin: 12px 0; }

    .menu li a,
    .menu li a:link,
    .menu li a:visited,
    .menu li a:active {
        font-size: 1.2em;
    }
    .col-300 .widget_normanarchivewidget ul {
        margin-left: 0px;
        padding-left: 7px;
    }
    .col-300 .widget_normanarchivewidget ul ul{
        list-style: square;
        margin-left: 20px;
    }
    .notes {
        text-align: center;
    }
    .copyright {
        text-align: center;
    }
    .post-entry a img.attachment-post-thumbnail {
        max-height: 169px;
        max-width: 234px;
    }
}


@media screen and (max-width: 949px) {
    .home #homepage-logo { margin-top: 35px; }
    .front-page-text { width: 90%; }
    ul.storytelling-tools li li { margin: 0; }
    #nav-wrapper.shrunk .contact-icons { display:none; }
}


@media all and (max-width: 900px) {
    .email div.content { display: block; }
    .email p { float: none; }
    #mc-embedded-subscribe-form .input-large { margin-left: 0; }
    ul.storytelling-tools > li {
        width: 43%;
    }

}
@media all and (max-width: 875px) {
    #homepage-logo { margin-bottom: 10px; display: inline-block; min-width: 60px; }
    #homepage-logo img { max-width: 250px; }
    #nav-wrapper.shrunk #homepage-logo { width: 160px; }
    #nav-wrapper.shrunk #homepage-logo #large-logo { width: 100%; }
    #nav-wrapper.shrunk .menu { margin: 18px 0 10px; }
    /*.home .contact-icons { display:none; }*/
    /*.menu { float: left; }*/
    nav { padding: 0 20px; }
    .grid.col-540.sidenav { margin-left: -20px; width: 65%; }
}

@media all and (max-width: 767px) {
    .front-page-section { margin-bottom: 80px; }
    .front-page-section.has-image {
        padding-top: 200px;
    }
    .front-page-section.has-image .front-page-text div {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media all and (min-width: 463px) and (max-width: 610px) {
    #nav-wrapper { padding-top: 10px; }
    #nav-wrapper.shrunk, #header  { background-color: #fff; }
    #nav-wrapper.shrunk #homepage-logo{ display: none; width: 0; }
    #nav-wrapper.shrunk .grid.sidenav { margin: 0px auto 15px; }
    #header { padding-top:20px; min-height: 140px;}
    .home #header { padding-top: 90px; }
    #header a { float: none; }
    #mobile-logo { display: block; width: 240px; margin: 10px auto 0;}
    .home #mobile-logo { margin: 30px auto 0; }
    .email-wrapper { display: none; }
}

@media screen and (min-width: 651px) and (max-width: 949px) {
  .home h2.intro,
  .error404 h2.intro {
    font-size: 36px;
  }
  h1, h2, h3 {
    font-size: 2.4em;
    line-height: 1.1em;
  }
}

@media all and (max-width: 670px) {

    footer { padding: 10px 20px; }
    #knightlab-logo-column,
    #knightlab-description {
        width: auto;
        float: none;
    }

    #knightlab-logo-column { text-align: center; }
    #knightlab-description { border-left: none; }
}

@media all and (max-width: 650px) {
   /* ours */
    body { font-size: 14px; }
    .header-content { padding: 0 30px; }

    nav { padding: 0 20px; }
    .lead-image {
        margin-bottom: 110px;
        object-fit: cover;
        width: 100%;
    }
    .email-wrapper,
    #mc-embedded-subscribe-form input.required,
    #mc-embedded-subscribe-form input[type="text"],
    .email-wrapper .btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .sidenav.grid.col-540 { text-align: center; width: 100%; margin: 0; }
    .menu { float: none; }
    .contact-icons { margin-top: -90px; }
    #tagline { display: none; }

    /* needed to override parent theme styles */
    .js .menu,
	.js .sub-header-menu {
		display: block;
	}

  /* theirs */
  *[data-pullquote] {
    clear: both;
    display: block;
    float: none;
    font-size: 20px;
    margin: 12px 0 10px;
    padding: 14px 1px 12px;
    width: 100%;
  }
  #info {
    min-width: 264px;
  }
  h2.intro {
    font-size: 36px;
    padding: 0 20px;
  }
  .contact-icons li{
    background-image: none;
    padding-left: 4px;
  }
  #footer {
    padding: 0;
  }
  .tinynav {
    background: none;
    border: none;
    font-size: 12px;
    height: 10px;
    left: 0;
    outline: medium none;
    overflow: hidden;
    padding: 14px;
    width: 40px;
    position: absolute;
    box-shadow: none;
    top: 110px;
  }
  .copyright {
    padding-left: 0px;
  }
  .col-620 .post,
  .col-700 .post,
  .col-620 .page,
  .archive h6, 
  .author h2,
  .author .bio-content,
  .author .col-620 ul {
    padding-left: 15px;
    padding-right: 10px;
  }
  .author .col-620 ul,
  .col-300  ul{
    padding-left: 20px;
  }
  .widget-title {
    margin-right: 10px;
  }
  .widget-title span {
    padding-left: 10px;
  }
  a.twitter_title_link {
    text-indent: 10px;
  }
  .textwidget aside {
    margin: 0px 10px;
  }

  ul.really_simple_twitter_widget {
    padding-right: 15px;
  }
  .rstw_link_user {
    padding-right: 15px;
}
  .home h2.intro,
  .error404 h2.intro {
    padding: 0 16px;
    font-size: 27px;
    margin: 20px 0 10px;
  }
  .post h1 {
    font-size: 2.2em;
    line-height: 1.1em;
    margin-top: 1em;
  }
  ul {
    margin-left: 0.5em;
  }
  footer ul.logos li a.knightfoundation {
    background-position: 0 -744px;
    width:300px;
  }
  .tinynav select {
    box-shadow: none;
    outline: none;
    -moz-user-focus: none;
  }
  #wrapper, .home #wrapper, #header {
    /*padding: 0 0px;*/
  }
  .sidenav {
    margin: 0;
  }

 .navigation a {
    word-wrap: break-word;
  }
  #homepage-logo {
    /*height: 87px;*/
    display: block;
    /*margin: 26px 0 20px 6px;*/
    /*min-width: 294px;*/
    text-align: left;
  }
  #homepage-logo img {
    margin: 0 0 0 12px;
    /*max-width: 85%;*/
  }
  #top-bar {
    min-width: 130px;
    padding: 4px 10px 5px;
  }
  .wp-caption.alignleft,
  .wp-caption.alignright {
    float: none; 
    margin: 0px auto;
  }
  .post-entry img,
  a img.alignleft {
    max-width: 92%;
    float: none;
  }

}

@media all and (max-device-width: 640px) {
  body {
    line-height: 1.6em;
  }
  .widget-wrapper {
    font-size: 15px;
  }
  #homepage-logo {
    margin-top: 18px;
  }
  #header {
    /*height: 120px;*/
  }
  .post h1 {
    font-size: 1.9em;
  }
  p {
    font-size: 15px;
    line-height: 1.8em;
  }
  .meta-top, a.meta-top, a.meta-top:link, a.meta-top:visited, a.meta-top:hover, a.meta-top:active {
    margin-bottom: -30px;
  }
}
@media all and (min-width: 410px) and (max-width: 566px) {
    .menu li:before { content: ""; padding: 0; }
    .menu li:hover:before,
    .related-section-links li:hover:before,
    .carat li:hover:before {
        padding: 0;
    }
    .header-content { padding: 0 15px; }
}
@media all and (max-width: 530px) {
    body { overflow-x: hidden; }
    ul.storytelling-tools > li {
        float: none;
        width: 90%;
        margin: 10px auto;
        min-height: 130px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
  #header {
    /*height: 130px;*/
  }
  .home h2.intro,
  .error404 h2.intro {
    font-size: 18px;
  }
  .page h2.intro,
  .single h2.intro,
  .archive h2.intro{
    height: 0px;
  }
  .home h2.intro,
  .error404 h2.intro  {
    height: auto;
  }
  .post-entry a img.attachment-post-thumbnail {
    max-width: none;
    max-width: none;
  }
  #wrapper { padding: 0 20px; }
}


/* iPhone6+ */
@media screen
    and (min-width: 414px)
    and (max-width: 736px)
    and (-webkit-min-device-pixel-ratio : 3){
        #header { min-height: 140px;}
        .email-wrapper { display: none; }
        .front-page-section.has-image .front-page-text { background-color: #fff; }
        li [class^="icon-"], li [class*=" icon-"] { font-size: 20px; }
        #knightlab-logo-column { margin-right: 0; }
        h1.post-title { font-size: 2em; line-height: 1.2em; margin-top: 1.5em; }

        @media (orientation: landscape) {
         .front-page-section.has-image .front-page-text { border: 1px solid #eee; }
        }
}
/* iPhone 6 */
@media screen
    and (min-width: 375px)
    and (max-width: 667px)
    and (-webkit-min-device-pixel-ratio : 2){
        #header {min-height: 140px;}
        .email-wrapper { display: none; }
        .front-page-section.has-image .front-page-text { background-color: #fff; }
        li [class^="icon-"], li [class*=" icon-"] { font-size: 20px; }
        #knightlab-logo-column { margin-right: 0; }
        h1.post-title { font-size: 2em; line-height: 1.2em; margin-top: 1.5em; }

        @media (orientation: landscape) {
         .front-page-section.has-image .front-page-text { border: 1px solid #eee; }
        }

}

/* general mobile styles */
@media screen and (max-width: 462px) {
    .home #homepage-logo,
    #nav-wrapper.shrunk #homepage-logo {
        text-align: center;
        margin: 20px auto 5px;
        float: none;
        width: auto;
    }
    #homepage-logo img { max-width: 319px; width: 100%; }
    .grid.sidenav { float: none; }
    #homepage-logo #large-logo { margin-left: -20px; }
    #header.secondary-page .contact-icons {
        margin: 0px auto 2px;
    }
    #header a { float: none; }
    #header-content-wrapper {
        background-image: none;
        position:static;
        border-bottom: none;
    }
    .header-content { padding: 0; }
    .email-wrapper { position: static; }
    .email { display: none; }
    nav { padding: 0; }
    ul.menu,
    #nav-wrapper.shrunk ul.menu {
        margin: 0 20px;
        content: "";
        display: table !important;
        clear: both;
    }
    .menu li {
      display: block;
      float: left;
      background: #eee;
      border: 1px solid #d0d0d0;
      margin: 1%;
      text-align: center;
      padding: 10px;
      font-size: 1.2em;
      width: 48%;
    }
    .menu:first-child { margin-left: 0; }
    .menu li a,
    .menu li a:visited {
        color: #555;
    }
    #nav-wrapper.shrunk .contact-icons,
    .contact-icons { display: block; margin: 0 auto; float: none; width: 160px; }
    li [class^="icon-"], li [class*=" icon-"] { font-size: 20px; }
    .lead-image { margin-top: 140px; }
    .sidenav { text-align: left; }
    .email-wrapper { margin-top: 10px; }
    .front-page-text h2,
    h3.subhead { text-align: left; }
    h3.subhead { margin: 20px 0; }
   .front-page-section { margin-bottom: 20px; }
    #knightlab-logo-column { margin-right: 0; }
    .tel { display: block; padding-bottom: 0; }
}

@media screen and (max-width: 410px) {
    body {
        overflow-x: hidden;
    }
    #info span.extended {
    display: none;
  }
  #info span.short {
    display: block;
  }
    .icon-align-justify {
    top: 79px;
  }
  .tinynav {
    top: 79px;
  }
  .lead-image { margin-top: 260px; }

  .post-entry a img.attachment-post-thumbnail,
  .page-template-blog-excerpt-php .post-entry a img.attachment-post-thumbnail {
    float: none;
    max-height: 300px;
    max-width: 92%;
    width: auto;
  }
  h1.post-title { font-size: 2em; line-height: 1.2em; margin-top: 1.5em; }
}
@media only screen and (max-width: 380px) {
    #homepage-logo #large-logo,
    #nav-wrapper.shrunk #homepage-logo #large-logo{ width: 90%; margin: 10px; }
}
@media only screen and (min-device-width : 320px) and (max-device-width : 1024px) {
   html {
      -webkit-text-size-adjust: none;
   }
}

