/*
Theme Name: invibed
Author: Joe Bliss
Description: Theme for invibed redesign.
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}.clear{clear:both;}

/* Page Defaults */
::-moz-selection {
    background: #06D49E;
    text-shadow: none;
}

::selection {
    background: #06D49E;
    text-shadow: none;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

#searchform label {
    display: none;
}

#searchform #searchsubmit {
    display: none;
}


@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-Regular.ttf);
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-Italic.ttf);
    font-style: italic;
    font-weight: 300;
}

@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-SemiBold.ttf);
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Raleway';
    src: url(fonts/Raleway-SemiBoldItalic.ttf);
    font-style: italic;
    font-weight: 500;
}

* {
    box-sizing:border-box;
}

html {
    font-family: 'Raleway', sans-serif;
    color: #323132;
    font-size: 1em;
    line-height: 1.4;
    letter-spacing: .04em; 
    overflow-x:hidden;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body{
    font-weight: 300;
}

nav { 
    float: left;
    margin:0 0 0 1.5em;
    position: relative;
}

h1 {

}

h1.logo a {
    background-image: url("img/invibed_logo.png");
    background-repeat: no-repeat;
    background-size: 128px;
    text-indent: -9999px;
    overflow: hidden;
    height: 35px;    
    width:128px;
    display: block;
}

h2 {
    margin:.5em 0;  
}

h2, h3{
    font-size: 1.1em;
    line-height: 1.4em;
}

h3{
    margin: .75em 0 0;
}

h4{
    text-transform: uppercase;
    font-size: .75em;
    font-weight:500;
    color:#06d49e; 
}

h5{
    font-size: .75em;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    margin:0 auto 1.5em;
    padding:1em 0em 0.25em;
}

h5 span{
    border-bottom:1px solid #06d49e;
}

h6{
    font-size:.8em;
    margin:0 0 .4em .4em;
}

p{
    font-size: 1em;
    line-height: 1.618em;
    font-weight:300;
    margin:1em 0 0;
}

p + figure{
    margin:1em 0 0;
}

a{  
    color:inherit;
    text-decoration: none;  
    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;
}

a:hover{
    color:#06d49e; 
}

li a{
    color:inherit;
}

img{
    width: 100%;
}

figcaption{
    font-style: italic;
    font-size: .8em;
    line-height: 1.4em;
    font-weight: 300;
}

span{
    margin:0 .5em 0 0;
}

main{
    margin:1em 0;
}

aside{
    width:25%;
    float:left;
    margin:-2.9em 0 0;
}

footer{

}

footer section{
    padding:.5em 1em 1em;
    height:8.5em;
}

form{
    width:100%;
}

input[type="text"], input[type="email"]{
    height:3.5em;
    padding:.5em;
}

input#s {
    background: url(img/search1.png) no-repeat 10px center;
    border:none;
    padding: 9px 10px 9px 32px;
    width: 20px;
    background-color: #fff;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    position: absolute;
    right: 0;
}

input#s:focus {
    width: 200px;
    border: 1px solid #e3e3e3;
    background-color: #fff;
    right:10px;
}

/* ------------------------------------------------------------- all-pages classes */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

.clearfix:after{
    content: '.';
    display: block;
    font-size: 0;
    height:0;
    visibility: hidden;
    clear: both;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #e3e3e3;
    color: #000;
    padding: 0.2em 0;
}  

.wrap{
    width:90%;
    max-width:1300px;
    margin:auto;
    height:100%;
}

.tagline{
    text-align: center;
    font-weight:500;
    color:#06d49e; 
    font-style: italic;
    padding:2em;
}

/* ------------------------------------------------ all pages header */

.site-header{
    padding:1.75em 0 .5em;
    position: relative;
}

.logo{  
    float:left;
    z-index: 1;
}

.topnav{
    margin: .75em 0;
    padding:0;
    position: relative;
}

.subnav{
    position: relative;
    top:.75em;
    left:-10.5em;
    padding:0;
    opacity:0;
    height: 0;
    white-space:nowrap;
    overflow: hidden;
    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;
}

.nav-links{
    list-style: none;
    display: inline;
    padding: 0 1em;
    font-weight: 300;
    line-height: 1em;
    color:#323132;
}

.nav-links:hover{
    color:#06d49e; 
}

.nav-links:hover > .subnav {
    opacity:1;
    height:60px;
}

.nav-abs{
    position: absolute;
    width:250px;
    top:0;
    left:6em;
}

/*  temporarily disabled nav  */
.nav-abs .nav-links{
    color:#e3e3e3;
}

.category-title{
    font-size:1.6em;
    text-align: center;
    margin:.5em 0 1em;
}

.categories {
    list-style: none;
    float:left;
    padding: 1em;
    position: relative;
    line-height: 2em;
    cursor: pointer;
    background-color: #fff;
/*    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;*/
}

.categories:hover{
    background-color: #06d49e; 
}

.categories:hover h4{
    color:#fff;
}

.access{
    width: 94px;
    position: absolute;
    right:0;
    top:1.75em;
    background-color: #fff;
/*    z-index: 0;*/
}

.search-container {
    margin: 0 5% 0 0;
    float: right;
}

.login{
    margin:0 3% 0 0;
    width:30px;
    height:30px;
    float:right;
}

.not-logged-in{
    color:#e3e3e3;
    font-size: 30px;
    position: relative;
    cursor: pointer;
}

.not-logged-in p{
    margin: 0;
    text-align: center;
    position: absolute;
    bottom:.25em;
    font-size: .4em;
    line-height: 1em;
    color:#06d49e;
}

/* ------------------------------------------------ all pages footer */
.site-footer {
    margin: 4em auto;
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
}

.footer-wrapper.sticky {
    position: fixed;
    width: 100%;
    bottom: 0;
}

.footer-wrapper.sticky .site-footer {
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    background-color: #fff;
    margin: 0 auto;
}

.button{
    padding:1em;
    background-color: #06d49e;
    color:#fff;
    text-align: center;
    text-transform: uppercase;
    font-style:italic;
    font-weight: 300;
    letter-spacing: inherit;
    font-size:.75em;
    cursor: pointer;
    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;
}

.button:hover{
    color: #323132;
}

.footer-sec-lg{
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    float:left;
    width:50%;
}

.footer-sec-sm{
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    float:left;
    width:25%;
    text-align: center;
}

.social-links{
    font-size: 1.4em;
    padding:.5em;
    margin:0;
    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;
}

.social-links:hover{
    color:#06d49e;
}

.email-signup{
    width:431px;
    margin:auto;
}

.email-input{
    float:left;
    width:300px;
}

.email-submit{
    display: block;
    float:left;
    margin:0 0 0 1em;
}

.social-invibed{
    margin:.6em auto;
    text-align: center;
}

footer .mc4wp-form {
    position: relative;
    overflow: hidden;
    padding-bottom: 1.5em;
}

body.page-template-default .mc4wp-form {
    float: left;
    padding: 1.5em 0px;
}

.mc4wp-notice, .mc4wp-alert {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    text-align: center;
}

/* ------------------------------------------------------------- index classes */

/* ------------------------------------------------ featured */

.slide.current {
    display: block;
}

.slide{
    display: none;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    background-position: center center;
}

.featured-article{
    background-color: #fff;
    padding:1.58em 1.6em 1em;
    height:23%;
    position: relative;
    width: 100%;
    -webkit-transition: width .15s, margin-left .15s, ease .15s;
    -moz-transition: width .15s, margin-left .15s, ease .15s;
    -o-transition: width .15s, margin-left .15s, ease .15s;
    transition: width .15s, margin-left .15s, ease .15s;
    cursor: pointer;
}

.current .featured-article{
    width:115%;
    margin-left:-15%;
    padding-left:20%;
    cursor: pointer;
}

.current .featured-article:before {
    content: "<";
    position: absolute;
    left: .75em;
    top: 35%;
    font-size: 2em;
    font-weight: 300;
    cursor: pointer;
}

.featured-title{
    font-size:1em;
}


/* ------------------------------------------------ cards */

.cards{
    width: 25%;
    position: relative;
    padding:0 0 2em;
    float:left;
    border-right: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}

.cards-img{
    width:100%;
    height:280px; 
    overflow:hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.cards-portrait{
    width:100%;
    height: auto;
}

.cards-landscape{
    width: auto;
    height:100%;
}

.cards-header{
    padding: 1em 1em 2em;
    height: 7.5em;
}

/* ------------------------------------------------------------- post classes */

/* ------------------------------------------------ article */

.article{
    width:72%;
    margin:0 3% 0 0;
    float: left;
}

.article-title{
    width:63.33%;
    font-size: 2em;
    margin:0.25em 0;
    font-weight: 300;
    line-height: 1.2em;
}

.article-tags li{
    display: inline-block;
    padding:0 0.5em;
    margin:0 0 1em;
}

.author{
    font-size: 1em;
}

.date{
    font-size: 1em;
    text-transform: uppercase;
}

.article-main{
    padding:0 .25em 0 0;
}

.article-img-sm{
    float: left;
    width:50%;
    padding:.5em 1.5em .25em 0;
}

.article-img-lg{
    width:100%;
    padding:.5em 0 .25em;
}

.article-social{
    width:182px;
    margin:2em auto 3em;
}

.about-author{
    margin:2em 0 1em;
}

.author-img{
    width: 200px;
    float: left;
    margin:0 2% 1% 0;
}

.about-author p{
    font-size:1em;
    font-style: italic;
    line-height: 1.9em;
}

.comments{
    margin:2em 0 1em;
    padding:1.5em;
    border:1px solid #e3e3e3;
}

/* ------------------------------------------------ aside */

.aside-wrap{
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
}

.aside-title{
        margin:0 auto 1.2em;
}

.aside-cards{
    border-right: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    position: relative;
}

.aside-cards-img{
    width:100%;
    height:130px;
    overflow:hidden;
    background-size: cover;
}


.aside-cards-header{
    padding: 0 0.5em 0 0;
    position: absolute;
    top:0;
    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;
    width: 100%;
}

.aside-cards-header h4{
    padding: 1em ;
    display: inline-block;
    background-color: #fff;
}

.aside-cards-header h3{
    font-size: 1em;
    line-height: 1.2em;
    margin: 0;
    padding:0 .5em;
    opacity:0;
    height: 0;
    color: #06d49e;
    -webkit-transition: all .15s ease .15s;
    -moz-transition: all .15s ease .15s;
    -o-transition: all .15s ease .15s;
    transition: all .15s ease .15s;
}

.aside-cards:hover > .aside-cards-header{
    background-color: #fff;
}

.aside-cards:hover > .aside-cards-header h3{
    opacity: 1;
    height: 94px;  
}


/* ------------------------------------------------------------- all pages ids */

#searchform{
    padding:0 0 .75em .75em;
    background-color: #fff;
    position: relative;
}

#iphone-app, #android-app {
    width: 7em;
    margin: 1em .25em;
    display: inline-block;
}

/* ------------------------------------------------------------- index ids */

/* ------------------------------------------------ featured */

#featured{
    width:100%;
    height:500px;
    overflow: hidden;
    border-top: 1px solid #e3e3e3;
    border-bottom: none;
    position: relative;
}

#hero{
    height:100%;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
    overflow: hidden;
}

#hero img {
    width: 100%;
    height: auto;
}

#featured #hero img {
    display: none;
}

#featured #hero img.current {
    display: block;
}

#latest{
    background-color: #fff;
    width:25%;
    height:100%;
    float:right;
    position: relative;
}

#latest a {
    cursor: pointer;
}

/* ------------------------------------------------ cards */

#cards-main{ 
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    overflow: hidden;
    margin-bottom: 7em;
}

button.alm-load-more-btn.invibed-button{   
    background-color: #06d49e;
    font-family: "Raleway";
    font-weight: 100;
    border-radius: 0;
}

button.alm-load-more-btn.invibed-button:hover{
    background-color: #fff;
    color: #06d49e;
    font-weight: 100;
}

button.alm-load-more-btn.done.invibed-button {
    cursor: default;
    opacity: 0.2;
    filter: alpha(opacity=20);
    background-color: #06d49e;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    display: none;
}

/* ------------------------------------------------------------- page ids */


/* ------------------------------------------------------------- font awesome custom classes */
.fa.news:before {
  content: "\f1ea";
}
.fa.motivation:before {
  content: "\f091";
}
.fa.career:before {
  content: "\f0b1";
}
.fa.fun:before {
  content: "\f118";
}
.fa.style:before {
  content: "\f219";
}
.fa.health:before {
  content: "\f21e";
}
.fa.finance-101:before {
  content: "\f155";
}
.fa.outvibed:before {
  content: "\f071";
}
.fa.videos:before {
  content: "\f03d";
}

/*.site-footer {
    position: fixed;
    bottom: 0px;
    left: 5%;
    height: auto;
    background-color: rgb(255, 255, 255);
    margin: 0px auto;
}*/

.travel:before {
  content: "\f072";
}

.life:before {
content: "\f118";
}

.diy:before {
content: "\f1fc";
}

.style:before {
content: "\f219";
}

/* ------------------------------------------------ same category cards */

#same-category{
    height:auto;
    overflow: hidden;
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
}

.login {
    display: none;
}

.article-main img {
    height: auto;
    width: 50%;
    padding: 0.5em 0 0.25em 0;
}

.article-main img.aligncenter {
    margin: 0 auto;
    display: block;
}

.article-main strong {
    font-weight: 400;
}

.article-main img.align-left, .article-main img.alignleft{
    float: left;
    padding: 0.5em 1.5em 0.25em 0px;
}

.article-main img.align-right, .article-main img.alignright {
    float: right;
    padding: 0.5em 0 0.25em 1.5em;
}

.article-main a {
    text-decoration: underline;
}

.article-main ul {
    padding-left: 1em;
    list-style-type: disc;
}

.article-main li {
    line-height: 1.618em;
    margin:1em 0 0;
}

/* ------------------------------------------------------------- homepage optin */

.optin-area {
	background: #06d39e;
	text-align: center;
	padding: 13px 0;
	color: #fff;
}

.optin-area h3 {
	margin-top: 0;
    margin-bottom: 5px;
	font-weight: 400;
}

.optin-area span {
	font-weight: 100;
	font-size: 12px;
}

.optin-area form {
	margin-top: 13px;
}

.optin-area form input {
	width: 100%;
	max-width: 200px;
	padding: 2px;
	border: none;
	text-align: center;
	font-size: 16px;
	font-weight: 100;
	margin: 0 6px;
	height: auto !important;
}

.optin-area form button {
	background: #000;
	color: #fff;
	border: none;
	font-size: 16px;
	cursor: pointer;
	text-transform: uppercase;
	opacity: 1;
	position: relative;
	top: 0;
	transition-duration: 0.5s;
}

.optin-area form button:hover {
	opacity: 0.8;
	top: -5px;
	transition-duration: 0.5s;
}


/* ------------------------------------------------------------- media queries */

@media screen and (max-width: 1250px){

    aside{
        width:33.33%;
    }

    .article{
        width:63.33%;
    }

    .cards{
        width:33.33%;
        padding:0 0 1.5em;
    }

    .cards-header{
        padding:1.5em 1.5em 0;
    }

    #latest{
        width: 33.33%;
    }

    #same-category{
        height:427px;
    }

    #same-category .cards{
        height: 100%;
    }
}

@media screen and (max-width: 1208px){
    nav{
        width:320px;
    }
    .subnav{
        width:1035px;
        height:0;
    }
}

@media screen and (max-width: 1046px){
    .wrap{
        width:90%;
    }

    .subnav{
        width:500px;
        height:0;
    }

    .nav-links:hover > .subnav {
        height:130px;
    }

    .categories:nth-of-type(6){
        margin-left:1.25em;
    }

    .featured-article{
        position: static;
        float:left;
        width:25%;
        height: auto;
        padding:1.6em;
        text-align: center;
    }

    .current .featured-article{
        width:25%;
        margin-left:0;
        padding:1.6em;
        background-color: #06d49e;
    }

    .current .featured-article:before {
        content: " ";
        position: static;
        left: 0;
        top: 0;
        display: none;
    }

    .current .featured-article h4{
        color: #fff; 
    }

    .featured-title{
        display:none;
    }

    .current .featured-article > .featured-title{
        display: block;
        position: absolute;
        width: 100%;
        background-color: #06d49e;
        color:#fff;
        text-align: left;
        padding:1em;
        top:-3.9em;
        left:0;
    }

    .cards-header{
        padding:1.5em;
    }

    .footer-sec-lg{
        width:100%;
        float: none;
    }

    .footer-sec-sm{
        width: 50%;
    }

    #hero{
        position: relative;
    }

    #featured{
        position: relative;
        overflow: hidden;
        border: none;
    }

    #latest-wrap{
/*        width: 90%;
        position: relative;
        top:0;
        margin:auto;*/
        width: 100%;
        bottom: 0px;
        top: auto;
        height: auto;
        position: absolute;
    }

    #the-latest{
        display: none;
    }

    #latest{
        width:100%;
        float: none;
        height: auto;
        position: relative;
        bottom: 0;
        background-color: rgba(255,255,255,0);
    }

    #cards-main{
        width:90%;
        padding:0;
    }
}

@media screen and (max-width: 1000px){
    aside{
        width:100%;
        float: none;
        margin:0;
        display: none;
    }

    .aside-cards{
        position: static;
        width:33.33%;
        float: left;
        height: 427px;
        padding:0 0 1.5em;
    }

    .aside-cards-img{
        width: 100%;
        height: 280px;
        overflow: hidden;
    }

    .aside-landscape{
        width: auto;
        height: 100%; 
    }

    .aside-cards-header{
        position: static;
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
        padding: 1.5em;
    }

    .aside-cards-header h4{
        padding: 0;
    }

    .aside-cards-header h3{
        color: #323132;;
        opacity: 1;
        height:auto;
        margin: .75em 0 0;
        padding:0;
        font-size: 1.1em;
        line-height: 1.4em;
    }

    .aside-cards:hover > .aside-cards-header h3{
        color: #06d49e;
        height: auto;
    }

    .article{
        width:100%;
        float: none;
    }

    .article-title{
        width: 100%;
    }

/*    #latest-wrap{
        width: 100%;
    }*/
}

@media screen and (max-width: 937px){
    .cards{
        width:50%;
    }

    .aside-cards{
        width:50%;
    }

    #same-category{
        height:auto;
        overflow: auto;
    }
}

@media screen and (max-width: 625px){
    nav{
        float:none;
        margin:auto;
    }

    .site-header{
        padding:1em 1em 0;
    }

    .logo{
        float: none;
        width: 128px;
        margin:0 auto .5em;
    }

    .subnav{
        height: 0;
        left: -27.5%;
    }
    .access{
        top:1em;
    }

    #featured + .tagline{
        padding:0em 0 2em;
    }

    .cards{
        width:100%;
    }

    .cards-header{
        padding:1em;
    }

    .aside-cards{
        float:none;
        width:100%;
        height: auto;
    }

    .cards-landscape, .aside-landscape{
        height:auto;
        width: 100%;
    }

    .article-img-sm{
        float: none;
        width:100%;
        padding:.5em 0 .25em;
    }

    #featured{
        display: none;
        visibility: hidden;
        height:0;
    }

    .footer-wrapper.sticky {
        position: static;
    }

    .footer-wrapper.sticky .footer-sec-lg {
        width: 95%;
        float: none;
        position: fixed;
        bottom: 0px;
        background-color: #FFF;
        padding: 0.5em .5em 0 .5em;
    }

    .footer-wrapper.sticky .footer-sec-lg h5 {
        display: none;
    }

    .footer-wrapper.sticky footer .mc4wp-form {
        padding-bottom: 0;
    }
	.optin-area form input {
		max-width: 95%;
		margin-bottom: 5px;
	}

	.optin-area form button {
		width: 200px;
	}
}

@media screen and (max-width:525px){
    footer section{
        height:auto;
        padding: .5em .0 1em;
    }

    .cards-landscape{
        height:100%;
        width: auto;
    }

    .footer-sec-sm{
        height:9em;
    }

    .email-signup{
        width:90%;
    }

    .email-input{
        float:none;
        width:100%;
    } 

    .email-submit{
        float:none;
        margin:1em auto;
    }

    .site-footer {
        left: 2.5%;
    }

    .wrap{
        width:95%;
    }

    .cards-img, .aside-cards-img{
        height: 320px;
    }

    #cards-main{
        width:95%;
    }

    .article-main img, .article-main img.alignleft, .article-main img.alignright {
        height: auto;
        width: 100%;
        padding: 0.5em 0 0.25em 0px;
    }
}

@media screen and (max-width:505px){
    .categories{
        text-align: center;
    }

    .categories:nth-of-type(5){
        margin-left:2.1em;
    }

    .categories:nth-of-type(6){
        margin-left:0;
    }

    .categories:nth-of-type(8){
        margin-left:5.6em;
    }

    .subnav{
        width:400px;
        left:-13%;
    }

    .nav-links:hover > .subnav {
        height:200px;
    }

    .author-img{
        float: none;
        display: block;
        margin:0 auto 1%;
    }

}

@media screen and (max-width:420px){
    .categories:nth-of-type(1){
        margin-left:.5em;
    }

    .categories:nth-of-type(4){
        margin-left:2.1em;
    }

    .categories:nth-of-type(5){
        margin-left:0;
    }

    .categories:nth-of-type(6){
        margin-left:0;
    }

    .categories:nth-of-type(8){
        margin-left:0;
    }

    .subnav{
        width:341px;
        left:-3.5%;
    }
    #iphone-app, #android-app {
        margin: 0 auto .5em;
        display: block;
    }

}

@media screen and (max-width:376px){
    nav{
        margin:0;
    }
    .site-header{
        padding:.5em .25em;
    }

    .logo{
        margin:0 0 .5em;
    }

    .topnav{
        margin:1em 0 0.5em;
    }

    .nav-links{
        padding:0 1em 0 0;
    }

    .nav-abs{
        left:5em;
        width:200px;
    }

    .nav-links:hover > .subnav {
        height:140px;
    }

    .categories{
        padding:0.5em;
    }

    .categories:nth-of-type(1) {
        margin-left: 0;
    }

    .categories:nth-of-type(4) {
        margin-left: 0;
    }

    .tagline{
        width:95%;
        margin:auto;
        text-align: left;
        padding:0 0 1em;
    }

    .social-links{
        padding:.5em .25em;
    }
}

@media screen and (max-width:341px){
    nav{
        width:300px;
    }
    .subnav{
        width:300px;
    }
}