/*
Theme Name: Flat-Nats
Theme URI: http://www.flatnats.nz/
Author: Shale
Author URI: http://www.shale.net.nz/
Description: CMS layout for Flat-Nats official website
Version: 1.0
Tags: black, magenta, fluid, responsive
Text Domain: flatnats

*/

/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 12px;
    line-height: 1.4;
}

::-moz-selection {
    background: #e6007e;
    text-shadow: none;
}

::selection {
    background: #e6007e;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body, html {
    overflow-x:hidden;
    min-height: 100%;
    height: auto !important;
    background: #000 url("images/carbon.jpg") fixed repeat;
}

/* ==============
    MOBILE: Menu
   ============== */

/*nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}
*/

@font-face {
    font-family: 'Hanzel';
    src: url('fonts/hanzel-extended-bold-italic.eot');
    src: url('fonts/hanzel-extended-bold-italic.eot?#iefix') format('embedded-opentype'),
         url('fonts/hanzel-extended-bold-italic.woff2') format('woff2'),
         url('fonts/hanzel-extended-bold-italic.woff') format('woff'),
         url('fonts/hanzel-extended-bold-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

a,
a:link,
a:visited,
a:hover,
a:active{
    -webkit-transition: all 0.25s linear;
   -moz-transition: all 0.25s linear;
   -ms-transition: all 0.25s linear;
   -o-transition: all 0.25s linear;
   transition: all 0.25s linear;
}

a,
a:link,
a:visited{
    color: #FFF;
}

a:hover,
a:active{
    color: #e6007e;
}

input,
textarea{
    background: #FFF;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5em;
    border: none;
    padding: 8px 5px;
    margin: 5px 0;
    color: #000;
    font-size: 1.2em;
    -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   transition: all 0.5s linear;
}

textarea{
    height: 250px;
    max-height: 600px;
}

input:hover,
textarea:hover,
input:active,
textarea:active{
    background: #FFF;
    background: rgba(255, 255, 255, 1);
}


.container,
footer{
    font-family: "Ubuntu", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
}

.content{
    height: 100%;
}

/*h1{
    font-weight: 200;
    font-style: italic;
    color: #FFF;
    font-size: 13em;
    line-height: 0.8em;
    width: 5.5em;
}

h1 span{
    font-weight: 100;
    float: right;
    font-size: 2.4em;
    line-height: 0.6em;
    margin-left: -0.5em;
}*/

h1, h2, h3, h4, h5, h6{
    font-weight: 200;
}

h1{
    font-weight: normal;
    color: #FFF;
    position: relative;
    margin: 20px 0;
    font-family: "Hanzel", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
    text-transform: uppercase;
}


/* Mobile Nav */

.main-nav ul {
    display: none;
}


.main-nav ul.open {
    display: block;
    background-color: #000;
    width: 100%;
    margin: 10px 0 0;
    padding: 20px 0;
}

#menu{
    display: block;
    padding-left: 170px;
    font-size: 3em;
    line-height: 0.7em;
    background: url("images/flat-nats_logo2016.svg") 20px 20px no-repeat;
    background-size: auto 30px;
    padding-top: 20px;
    margin-right: 20px;
    height: 40px;
    color: #FFF;
    text-align: right;
}


header{
    position: fixed;
    width: 100%;
    /*height: 70px;*/
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
}

header nav ul{
    display: block;
    padding: 0;
    margin: 0;
    text-align: center;
}

    header nav ul li{
        display: block;
        z-index: 1;
        list-style-type: none;
        position: relative;
        border-bottom: 1px dotted #e6007e;
        border-bottom: 1px dotted rgba(230, 0, 126, 1);
        margin: 0 3% 10px 3%;
    }

    header nav ul li a,
    header nav ul li a:link,
    header nav ul li a:visited{
        color: #fff;
        display: inline-block;
        font-family: "Hanzel","Helvetica Neue","HelveticaNeue",Helvetica,arial,sans-serif;
        font-style: normal;
        font-weight: normal;
        letter-spacing: 0px;
        margin: 0 10px 5px;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }
header nav ul li:first-child{
    margin-top: 20px;
}

header nav ul li ul{
    display: none;
    -webkit-transition: all 0.25s linear;
   -moz-transition: all 0.25s linear;
   -ms-transition: all 0.25s linear;
   -o-transition: all 0.25s linear;
   transition: all 0.25s linear;
}


h2{
    color: #FFF;
    font-size: 4em;
}

h4{
    color: #FFF;
    font-size: 1.4em;
    font-weight: 700px;
}

.content{
    color: #FFF;
}

.intropanel{
    width: 100%;
    height: 75vh;
    /*background: #e6007e;*/
    position: relative;
    border-bottom: 8px solid #e6007e;
}

.oldvideo{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: url("images/filter.png") repeat;
    top: 0;
}

#introslider{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#introslider div{
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.minortitle{
    height: 250px;
    width: 100%;
    position: relative;
    border-bottom: 8px solid #e6007e;
    background-image: url("images/intro2.jpg");
    background-size: 100% auto;
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
}

.minortitle article{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: url("images/filter.png") repeat;
    top: 0;
    text-align: center;
}

.minortitle h2{
    margin: 0 auto;
    padding-top: 250px;
    height: 0px;
    width: 100%;
    overflow: hidden;
    /* background-image: url("images/flat-nats16-extended.svg"); */
    background-image: url("images/flat-nats16-extended.png");
    background-size: 50% auto;
    background-position: center 60%;
    background-repeat: no-repeat;
}

.minortitle article img{
    margin-top: 80px;
}

.minortitle h2{
    display: inline-block;
    font-size: 3em;
    line-height: 3em;
}

.home .main{
    position: relative;
    padding: 0 2%;
    padding-top: 18vh;
    margin: -15vh auto 0;
}

.main{
    padding-top: 40px;
    margin: 0 auto;
    min-height: 400px;
}
.home h1{
    font-weight: normal;
    text-align: center;
    font-size: 2.5em;
    /*font-size: 3em;*/
    color: #FFF;
    line-height: 1em;
    position: relative;
    /*padding: 90px 0 20px 52%;*/
    /*margin: 0;*/
    font-family: "Hanzel", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
    text-transform: uppercase;
}

.oldvideo h2{
    color: #FFF;
    font-family: "Ubuntu", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
    text-transform: uppercase;
    text-align: right;
    font-size: 1.5em;
    font-weight: 700;
    font-style: italic;
    margin: 10px 0;
}

.mainlogo{
    margin: 40vh 20% 0;
    position: absolute;
    width: 60%;
}

.mainlogo img{
    width: 100%;
}

.main section{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    /*padding: 0;*/
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 1em 1em 0 0;
    overflow: hidden;
}

.main section section{
    border-radius: 0;
}

.main section .copy,
.main section .event-panel,
.main section .newsfeed{
    max-width: 100%;
    min-width: 280px;
}

.main section .copy,
.main section .event-panel{
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-flex: 2 1 60%;
    -ms-flex: 2 1 60%;
    flex: 2 1 60%;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    padding: 2.5%;
}

.main section .copy p{
    font-size: 1.4em;
}

.main section .newsfeed{
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    -webkit-flex: 1 1 40%;
    -ms-flex: 1 1 40%;
    flex: 1 1 40%;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
}

.cff-wrapper{
    background: #e6007e;
    overflow-y: scroll;
    max-height: 75vh;
}

.main h2{
    text-align: left;
    font-size: 2em;
    margin: 2.5% 0;
    line-height: 1em;
    /*margin: 2em 0 1em;*/
}

.main h3{
    font-size: 1.5em;
}

.main p{
    margin: 0 0 1em 0;
}

.main section.blogroll{
    border-top: #e6007e solid 8px;
    margin-top: 20px;
    display: block;
    background: transparent;
}

.newsfeed h3{
    font-size: 2em;
    line-height: 1em;
    margin: 0;
    padding: 5% 2.5%;
    background: #e6007e;
}

aside.event{
    padding: 20px;
    border: #e6007e dotted 1px;
    margin: 10px 0;
    -webkit-transition: all 0.25s linear;
   -moz-transition: all 0.25s linear;
   -ms-transition: all 0.25s linear;
   -o-transition: all 0.25s linear;
   transition: all 0.25s linear;
}

aside.event:hover{
    border: #FFF dotted 1px;
}

.event p,
.event h3{
    margin: 0;
}


#cff .cff-item:first-child,
#cff .cff-item{
    padding: 2.5% !important;
    /*width: auto !important;*/
}

.newsfeed .cff-item:nth-child(1),
.newsfeed .cff-item:nth-child(5),
.newsfeed .cff-item:nth-child(9){
    background: #000;
}

.newsfeed .cff-item:nth-child(2),
.newsfeed .cff-item:nth-child(6),
.newsfeed .cff-item:nth-child(10){
    background: #FFF;
    color: #000;
}

.newsfeed .cff-item:nth-child(2) a,
.newsfeed .cff-item:nth-child(6) a,
.newsfeed .cff-item:nth-child(10) a{
    color: #e6007e;
}

.newsfeed .cff-item:nth-child(3),
.newsfeed .cff-item:nth-child(7),
.newsfeed .cff-item:nth-child(11){
    background: #e6007e;
}

.newsfeed .cff-item:nth-child(3) a,
.newsfeed .cff-item:nth-child(7) a,
.newsfeed .cff-item:nth-child(11) a{
    color: #FFF;
}

.newsfeed .cff-item:nth-child(4),
.newsfeed .cff-item:nth-child(8),
.newsfeed .cff-item:nth-child(12){
    background: #055ec2;
}

div.wpcf7-display-none{
    display: block;
    opacity: 0;
}
div.wpcf7-response-output {
    opacity: 1;
    padding: 8px 5px !important;
    margin: 10px 0 !important;
    border-radius: 10px !important;
    font-size: 1.2em !important;
    max-width: 600px !important;
    color: #000 !important;
}
div.wpcf7-mail-sent-ok {
    border: 1px solid #398f14 !important;
    background: #e5fedb !important;
}
div.wpcf7-mail-sent-ng {
    border: 1px solid #ff0000 !important;
    background: #ffcccc !important;
}
div.wpcf7-spam-blocked {
    border: 1px solid #ffa500 !important;
    background: #ffedcc !important;
}
div.wpcf7-validation-errors {
    border: 1px solid #f7e700 !important;
    background: #fdfacc !important;
}

.blogtiems{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

.sidebar{
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    -webkit-flex-basis: 26%;
    -ms-flex-basis: 26%;
    flex-basis: 26%;
    padding: 40px 2% 60px;
    min-width: 280px;
}

.content-area{
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-flex: 3 1 auto;
    -ms-flex: 3 1 auto;
    flex: 3 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    -webkit-flex-basis: 66%;
    -ms-flex-basis: 66%;
    flex-basis: 66%;
    min-height: 400px;
    min-width: 280px;
    /*background: rgba(0, 0, 0, 0.8);*/
}

.blogtiems h1{
    margin: 0px;
}

.sidebar ul{
    margin: 0 0 20px 0;
    padding: 0;
}

.sidebar ul ul.children{
    margin: 0 0 0 20px;
}

.sidebar ul ul li a,
.sidebar ul ul li a:link,
.sidebar ul ul li a:visited{
    color: #FFF;
}

.sidebar ul ul li a:hover,
.sidebar ul ul li a:active{
    color: #FFF;
}

.sidebar li{
    list-style-type: none;
    color: #FFF;
}

.sidebar li h4{
    font-size: 2em;
    text-align: left;
    font-style: normal;
    color: #FFF;
    letter-spacing: 0px;
}

.sidebar h2{
    color: #FFF;
    font-size: 3em;
    padding-bottom: 20px;
    border-bottom: 1px dotted #e6007e;
}

.blogitem{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dotted #e6007e;
}

.blogitem:last-child{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: none;
}

.blogitem h4{
    margin: 0;
}

.blogitem h4 a{
    text-decoration: none;
}

footer{
    border-top: #e6007e solid 8px;
    background: #000;
    min-height: 320px;
    max-width: 100%;
}

.footer-container{
    padding: 0;
    color: #FFF;
}

.footer-container aside{
    max-width: 100%;
    min-width: 280px;
    font-size: 1.2em;
    margin: 0 20px;
}

.footer-container h4{
    color: #FFF;
    font-style: normal;
}

.footer-container input,
.footer-container textarea{
    width: 90%;
    width: -webkit-calc(100% - 10px);
    width: -ms-calc(100% - 10px);
    width: -o-calc(100% - 10px);
    width: calc(100% - 10px);
}

.footer-container textarea{
    height: 150px;
    max-height: 400px;
}

.footer-container input[type="submit"]{
    width: 100%;
    background: #e6007e;
    color: #FFF;
}

/* Image Gallery */

.fpf-gallery:before,
.fpf-gallery:after {
    content: " ";
    display: table;
}

.fpf-gallery:after {
    clear: both;
}

.fpf-gallery {
    *zoom: 1;
}

.fpf-gallery .gallery-item {
    float: left;
    margin: 6px 0 !important;
    text-align: center;
    width: auto !important;
}
.fpf-gallery .gallery-icon img {
    background-color: transparent !important;
    border: none !important;
    padding: 0px !important;
    height: 86px;
    width: auto;
}
.fpf-gallery .gallery-caption {
    font-size: 75%;
    line-height: 100%;
    margin-left: 0;
}
.fpfcredit {
    color: #bbbbbb;
    font-size: 80%;
    margin-top: 0;
    clear: both;
}
#branding {
    z-index: 999;
}
#main .content-area .site-content .fpf-gallery .gallery-item {
    margin: 0;
}
#main #main-content #primary #content .entry-content .fpf-gallery {
    margin-left: -50px;
    margin-right: -50px;
}


@media only screen and (min-width: 320px) {
    .container,
    .content{
        overflow: hidden;
    }

    #introslider div.intro1{
        background-image: url("images/intro1-s.jpg");
    }

    #introslider div.intro1::after{
        content: "";
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        width: 100px;
        height: 16px;
        background: url("images/autoclique.png") center center no-repeat;
        background-size: 100% auto;
    }

    #introslider div.intro2{
        background-image: url("images/intro2-s.jpg");
    }

    #introslider div.intro3{
        background-image: url("images/intro3-s.jpg");
        background-position: center center;
    }

    #introslider div.intro4{
        background-image: url("images/intro4-s.jpg");
        background-position: center center;
    }

    input,
    textarea{
        width: 90%;
        width: -webkit-calc(100% - 10px);
        width: -ms-calc(100% - 10px);
        width: -o-calc(100% - 10px);
        width: calc(100% - 10px);
    }

    input[type="submit"]{
        width: 100%;
    }

    .content-area{
        max-width: 96%;
        margin: 0 2%;
    }

    .event img{
        display: none;
    }

    .blogtiems{
        padding: 10px 2%;
        width: 96%;
    }

    .blogtiems .content-area{
        max-width: 96%;
    }

    .minortitle h2{
        background-size: 90% auto;
    }

    input,
    textarea{
        width: 90%;
        width: -webkit-calc(100% - 10px);
        width: -ms-calc(100% - 10px);
        width: -o-calc(100% - 10px);
        width: calc(100% - 10px);
    }

    input[type="submit"]{
        width: 100%;
    }

    .sponsorcloud img{
        max-width: 100%;
        height: auto;
    }

}


@media only screen and (min-width: 768px) {

    .oldvideo h2{
        color: #FFF;
        font-family: "Ubuntu", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
        text-transform: uppercase;
        text-align: right;
        font-size: 3em;
        font-weight: 700;
        font-style: italic;
        margin: 10px 0;
    }
    #introslider div.intro1{
        background-image: url("images/intro1.jpg");
    }

    #introslider div.intro1::after{
        width: 200px;
        height: 32px;
    }

    #introslider div.intro2{
        background-image: url("images/intro2.jpg");
    }

    #introslider div.intro3{
        background-image: url("images/intro3.jpg");
        background-position: center center;
    }

    #introslider div.intro4{
        background-image: url("images/intro4.jpg");
    }

    #menu{
        display: none;
    }

    .content-area{
        min-width: 480px;
        font-size: 1.4em;
        padding: 40px 2% 60px;
    }
    .cff-wrapper{
        max-height: 768px;
    }
    .minortitle h2{
        background-size: 70% auto;
    }

    .event img{
        vertical-align: top;
        display: inline-block;
    }

    .event div:first-child{
        display: inline;
        margin-right: 170px;
    }

    .event div:last-child{
        display: inline-block;
        margin-left: -150px;
        max-width: -webkit-calc(100% - 190px);
        max-width: -ms-calc(100% - 190px);
        max-width: -o-calc(100% - 190px);
        max-width: calc(100% - 190px);
    }
    header nav ul{
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    header nav ul li{
        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
        display: block;
        margin: 30px 0 0 0;
        z-index: 1;
        list-style-type: none;
        position: relative;
        border-bottom: none;
    }

    header nav ul li a,
    header nav ul li a:link,
    header nav ul li a:visited{
        border-bottom: 1px solid rgba(230, 0, 126, 0);
        color: #fff;
        display: inline-block;
        font-family: "Ubuntu","Helvetica Neue","HelveticaNeue",Helvetica,arial,sans-serif;
        font-style: italic;
        font-weight: 700;
        letter-spacing: 0px;
        margin: 0 10px 18px;
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }

    header nav ul li a:hover,
    header nav ul li a:active{
        /*border-bottom: 1px solid #e6007e;
        border-bottom: 1px solid rgba(230, 0, 126, 1);*/
        text-shadow: 0px 0px 5px #FFF;
    }


    .main-nav ul,
    header nav ul{
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    header nav ul li:first-child a{
        border: none;
        background: url("images/flat-nats_logo2016.svg") left top no-repeat;
        background-size: auto 100%;
        line-height: 1.5em;
        padding-top: 24px;
        width: 130px;
        height: 0px;
    }

    header nav ul li li:first-child a{
        background: none;
        line-height:inherit;
        padding-top:0;
        width:auto;
        height:inherit;
    }

    .home .main{
        position: relative;
        padding: 0 80px;
        padding-top: 18vh;
        margin: -15vh auto 0;
        background: url("images/22bs.png") no-repeat;
        background-size: 50% auto;
        background-position: left top;
    }


    .main-nav ul li ul,
    header nav ul li ul{
        display: none;
        -webkit-transition: all 0.25s linear;
       -moz-transition: all 0.25s linear;
       -ms-transition: all 0.25s linear;
       -o-transition: all 0.25s linear;
       transition: all 0.25s linear;
    }

    /*header nav ul li:hover ul{
        display: block;
        position: absolute;
        width: 100%;
        -webkit-transition: all 0.25s linear;
       -moz-transition: all 0.25s linear;
       -ms-transition: all 0.25s linear;
       -o-transition: all 0.25s linear;
       transition: all 0.25s linear;
       padding: 0 20px;
       background: rgba(0, 0, 0, 0.8);
    }*/

    header nav ul li ul li{
        padding: 10px 0;
        border-bottom: 1px solid #e6007e;
    }

    header nav ul li ul li:last-child{
        border-bottom:none;
    }

    header nav ul li ul li:first-child,
    header nav ul li ul li {
        margin-top: 0;
    }

    header nav ul li ul li a,
    header nav ul li ul li a:link,
    header nav ul li ul li a:visited{
        display: block;
        margin: 0 15px;
        font-family: "Ubuntu", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
    }

    header nav ul li{
        /*text-align: */
    }

    header nav ul li:first-child a{
        /*border: none;
        background: url("images/flat-nats_logo2016.svg") left top no-repeat;
        background-size: auto 100%;
        line-height: 1.5em;
        padding-top: 24px;
        width: 130px;
        height: 0px;*/
        /*margin-top: 20px;*/
    }

    .main section{
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .footer-container{
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 0;
        color: #FFF;
    }

    .footer-container aside{
        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
        -webkit-flex-basis: 0;
        -ms-flex-basis: 0;
        flex-basis: 0;
        max-width: 100%;
        min-width: 280px;
        font-size: 1.2em;
        margin: 0 20px;
    }

    .sponsorcloud img{
        max-width: 46%;
        margin: 0 2%;
    }

}


@media only screen and (min-width: 1040px) {

    header nav ul li a,
    header nav ul li a:link,
    header nav ul li a:visited{
        font-weight: normal;
        letter-spacing: 1px;
        font-family: "Hanzel", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
        font-style: normal;
        display: inline-block;
        margin: 0 15px 18px;
        text-decoration: none;
        overflow: hidden;
        border-bottom: none;
        border-bottom: 1px solid rgba(230, 0, 126, 0);
    }

    header nav ul li.current-menu-item:not(:first-child) > a{
        border-bottom: 1px dotted #e6007e;
    }

    header{
        position: fixed;
        width: 100%;
        /*height: 70px;*/
        z-index: 1000;
        background: rgba(0, 0, 0, 0);
        -webkit-transition: all 0.5s linear;
       -moz-transition: all 0.5s linear;
       -ms-transition: all 0.5s linear;
       -o-transition: all 0.5s linear;
       transition: all 0.5s linear;
    }

    header.sticky{
        background: rgba(0, 0, 0, 0.8);
        -webkit-transition: all 0.5s linear;
       -moz-transition: all 0.5s linear;
       -ms-transition: all 0.5s linear;
       -o-transition: all 0.5s linear;
       transition: all 0.5s linear;
    }

    header nav ul li:hover ul{
        display: block;
        position: absolute;
        width: 100%;
        -webkit-transition: all 0.25s linear;
       -moz-transition: all 0.25s linear;
       -ms-transition: all 0.25s linear;
       -o-transition: all 0.25s linear;
       transition: all 0.25s linear;
       padding: 0 20px;
       background: rgba(0, 0, 0, 0.8);
    }

    header nav ul li ul li{
        padding: 10px 0;
        border-bottom: 1px solid #e6007e;
    }

    header nav ul li ul li:last-child{
        border-bottom:none;
    }

    header nav ul li ul li:first-child,
    header nav ul li ul li {
        margin-top: 0;
    }

    header nav ul li ul li a,
    header nav ul li ul li a:link,
    header nav ul li ul li a:visited{
        display: block;
        margin: 0 15px;
        font-family: "Ubuntu", "Helvetica Neue", "HelveticaNeue", Helvetica, arial, sans-serif;
    }

    .home .main{
        padding-top: 25vh;
    }

    .blogtiems{
        min-width: 960px;
        max-width: 1260px;
        padding: 0;
        width: auto;
    }

    .blogtiems .content-area{
        min-width: 480px;
        font-size: 1.2em;
    }
    .minortitle h2{
        background-size: 50% auto;
    }
    header nav,
    .main,
    footer section{
        width: 100%;
        min-width: 960px;
        max-width: 1260px;
    }

    header nav,
    footer section{
        margin: 0 auto;

    }


    .decoration{
        width: 100%;
        background-image: url("images/base-lite.png");
        background-size: 130% auto;
        background-position: center bottom;
        background-repeat: no-repeat;
        height: 400px;
    }

    .intro p{
        margin: 20px 30%;
    }

    input,
    textarea{
        max-width: 600px;
    }

    input[type="submit"]{
        max-width: 610px;
    }

    .footer-container aside{
        -webkit-flex-basis: 28%;
        -ms-flex-basis: 28%;
        flex-basis: 28%;
    }

    .sponsorcloud img{
        max-width: 29%;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}