/*
Theme Name: USD
Theme URI: http://underscores.me/
Author: sarkie
Author URI: http://sarkie.co
Description: USD: A custom WordPress theme for Uber Super Duper by Sebastian Matcham [ seb at sarkie dot co ]
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usd
Tags:


SWATCHES
-------------------------------------------------------
Colour        Hex        RGBA values

Black         #000000    rgba(0,0,0,0.9)
White         #FFFFFF    rgba(255,255,255,0.9)
Grey 1        #393939    rgba(57,57,57,0.9)
Grey 2        #78786E    rgba(110,110,110,0.9)
Grey 3        #969B91    rgba(140,140,140,0.9)
Grey 4        #BBBBBB    rgba(187,187,187,0.9)


FONTS
-------------------------------------------------------
Montserrat Family:
Normal 400              (Regular)
Bold 700                (Bold)

Exo 2 Family:
Extra Light 200         (Extra-Light)
Normal 400              (Normal)
Normal 400 Italic       (Italic)
SemiBold 600            (SemiBold)



Normalize - Reset - Print Styles
-----------------------------------------------------*/

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:0.666em}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}a{text-decoration: none}


/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
fieldset,hr{border:0;padding:0}html{color:#222;font-size:1em;line-height:1.5}::-moz-selection{background:#000;color:#fff;text-shadow:none}::selection{background:#000;color:#fff;text-shadow:none}hr{display:block;height:1px;border-top:1px solid #ccc;margin:1em 0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{margin:0}textarea{resize:vertical}
@media print {blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{background:0 0!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:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}



/* Basic Styles
-----------------------------------------------------*/

html{box-sizing: border-box}

*,
*:before,
*:after {
    box-sizing: inherit
}

body{
    font-family: 'Exo 2', sans-serif;
    letter-spacing: -0.02em;
    color: #333;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}


/* Structural & Utility Classes
-----------------------------------------------------*/

#page{padding:0}

.cf:before,
.cf:after,
.wrapper:before,
.wrapper:after,
.row:before,
.row:after,
[class^="block-"]:before,
[class*=" block-"]:before,
[class^="block-"]:after,
[class*=" block-"]:after{
  content: " ";
  display: table;
}
.cf:after,
.wrapper:after,
.row:after{
  clear: both;
}

.wrapper{
    position: relative;
    width:auto;
    margin:0 auto;
}

.wrapper,
.row,
[class^="block-"],
[class*=" block-"]{
    position: relative;
}

[class^="block-"],
[class*=" block-"],
.float-left{float:left}
.float-right{float:right}

.row{
    margin: 0 -0.5em 0.5em 0
}

[class^="block-"],
[class*=" block-"]{
    padding-right:0.5em
}

.block-2{width:50%}
.block-4{width:25%}
.block-34{width:75%}
.block-3{width:33.333333333%}
.block-23{width:66.666666666%}
.block-5{width:20%}
.block-25{width:40%}
.block-35{width:60%}
.block-45{width:80%}
.block-6{width:16.666666666%}


.black{color:#000000; color:rgba(0,0,0,0.9)}
.white{color:#FFFFFF; color:rgba(255,255,255,0.9)}
.grey1{color:#393939; color:rgba(57,57,57,0.9)}
.grey2{color:#78786E; color:rgba(110,110,110,0.9)}
.grey3{color:#8C8C8C; color:rgba(140,140,140,0.9)}
.grey4{color:#BBBBBB; color:rgba(187,187,187,0.9)}

.bg-black{background-color:#000000; background-color:rgba(0,0,0,0.9)}
.bg-white{background-color:#FFFFFF; background-color:rgba(255,255,255,0.9)}
.bg-grey1{background-color:#393939; background-color:rgba(57,57,57,0.9)}
.bg-grey2{background-color:#78786E; background-color:rgba(110,110,110,0.9)}
.bg-grey3{background-color:#8C8C8C; background-color:rgba(140,140,140,0.9)}
.bg-grey4{background-color:#BBBBBB; background-color:rgba(187,187,187,0.9)}


.trans02{
    transition:all 0.2s ease-out;
    -webkit-transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -o-transition:all 0.2s ease-out;
}





/* Typography
-----------------------------------------------------*/

.text-left{text-align: left}
.text-center{text-align: center}
.text-right{text-align: right}

h1,h2,h3,p{margin:0;line-height: 1}

h1,h2,h3{
    font-family: 'Montserrat', sans-serif;
    color:inherit;
    text-transform: uppercase;
    letter-spacing: -0.04em
}

h1{
    font-weight: 700;
    font-size:1.8em;
    margin:0 0 1.5em 0;
}

h2{
    font-weight:400;
    font-size:1.5em;
}

h3{
    font-weight:400;
    font-size:1em;
}

p{
    font-size:0.9em;
    font-weight: 400;
    line-height: 1.5
}

p + p{margin-top:1em}

p.large{
    font-size:1.25em;
    color:#78786E;color:rgba(110,110,110,0.9);
    letter-spacing: -0.03em;
}

h1 + p.large{
    margin-top:-0.5em    
}

strong,b{font-weight: 700}

a{color:#393939}

#slider + h1,
#slider + h2,
#slider + h3,
#slider + p
{
    margin-top:1.5em;
}

#content a{text-decoration: underline}

#page p:empty{display:none}


/* Navigation
-----------------------------------------------------*/


.site-branding{float:left}
.site-branding a img{
    width:10em; height:auto;
}

.site-nav{float:right}
.site-nav ul{
    list-style: none;
    padding:0; margin:0;
}
.site-nav ul li{
    float:left;
    padding:0; margin:0 0 0 2.5em;
}
.site-nav ul li:first-child{margin-left:0}
.site-nav ul li a{
    font-size:1.25em;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color:#393939; color:rgba(57,57,57,0.9);
    text-transform: uppercase;
}

html.no-touch .site-nav ul li a:hover,
.site-nav ul li.current_page_item a{
    color:#8C8C8C; color:rgba(140,140,140,0.9)
}

.site-nav .social-links{
    float:right;
    clear:both;
    margin-top:0.75em
}


/* Layout
-----------------------------------------------------*/

section{
    padding:4em 0;
}

header,
section,
footer{
    display:block;
}

header .wrapper{padding: 4em 0}
footer .wrapper{padding:2em 0}

header .wrapper,
section.border-bottom .wrapper{border-bottom:1px solid #BBBBBB}
footer .wrapper,
section.border-top .wrapper{border-top:1px solid #BBBBBB}

section.border-top{padding-top:0}
section.border-top .wrapper{padding-top:4em}

body.page-template-contact section{padding-bottom:0}
body.page-template-contact footer .wrapper{border-top:none}

#content img{max-width:100%; height: auto}



section.intro-slider{
    position: relative;
    padding:0;
}

#intro *{
    text-align: center;
    margin:0;
}

#intro{
    position:relative;
    width:100%;
    text-align: center;
    z-index: 3000;
    height: 16em;
    overflow: hidden;
}

.hp-slide{
    position: absolute;
    top:10em; left:0; right:0; bottom:0;
    width:100%;
    height:100%;
    opacity: 0;
    transition:all 1s ease-out;
    -webkit-transition:all 1s ease-out;
    -moz-transition:all 1s ease-out;
    -o-transition:all 1s ease-out;
    z-index: 6000
}

.hp-slide.active{
    opacity: 1;
    top:0;
}

.hp-slide.up{
    opacity: 0;
    top:-10em;
}

.hp-background{
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    width:100%;
    height:100%;
    opacity: 0;
    transition:all 1s ease;
    -webkit-transition:all 1s ease;
    -moz-transition:all 1s ease;
    -o-transition:all 1s ease;
    background:url('') no-repeat center center;
    background-size: cover;
    z-index: 4000
}

.hp-background.active{
    opacity:1;
}

.hp-overlay{
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    width:100%;
    height:100%;
    background-color: rgba(255,255,255,0.4);
    z-index: 5000
}

#intro .hp-slide h1{
    color:#000;
    font-size: 4em;
    line-height: 1;
    margin:1.5em 0;
    padding:0 0.125em;
    display: inline-block;
}


#intro .hp-slide h1{
    opacity: 1;
    transition:all 0.5s cubic-bezier(.18,.6,.01,1);
    -webkit-transition:all 0.5s cubic-bezier(.18,.6,.01,1);
    -moz-transition:all 0.5s cubic-bezier(.18,.6,.01,1);
    -o-transition:all 0.5s cubic-bezier(.18,.6,.01,1);
}


#intro .hp-slide.up h1{
    opacity: 0;
}



.social-links{
    float:right;
    font-size: 1.25em
}

.social-links a{
    display: block;
    width:1em; height:1em;
    float:right;
    margin-left: 0.75em;
}

.social-links a img{
    display: block;
    width:1em;
    height:1em;
    opacity:0.5;
    transition:all 0.2s ease-out;
    -webkit-transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -o-transition:all 0.2s ease-out;
}

.social-links a:hover img{
    opacity: 1;
    transform: scale(1.125,1.125);
    -webkit-transform: scale(1.125,1.125);
    -moz-transform: scale(1.125,1.125);
    -o-transform: scale(1.125,1.125);
    -ms-transform: scale(1.125,1.125);
}


#siteinfo{display:none}

.box1{
    background-color: #eee;
    padding:3em;
    margin-top:3em;
}

.box1 ul{
    margin-bottom: 0
}

.post-image.client-image{
    margin:0 0 3em 0;
}



/* Work
-----------------------------------------------------*/

.work-section .wrapper{
    padding-top:4em;
    border-top:1px solid #BBBBBB
}

.work-inner{
    width:100%;
    height:auto;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index:100;
}

.work-inner img{
    width:100%; height:auto;
}

.work-inner a{
    display:block;
    position: absolute;
    top:0; right:0; bottom:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.75);
    opacity:0;
    z-index:120;
    transition:opacity 0.2s ease-in;
    -webkit-transition:opacity 0.2s ease-in;
    -moz-transition:opacity 0.2s ease-in;
    -o-transition:opacity 0.2s ease-in;
}

.work-inner a:hover{
    opacity:1;
}

.work-inner h3{
    position: absolute;
    display:block;
    width:90%;
    left:5%; bottom:20%;
    color:#fff;
    text-align: center;
    transition:all 0.3s ease;
    -webkit-transition:all 0.3s ease;
    -moz-transition:all 0.3s ease;
    -o-transition:all 0.3s ease;
    opacity:0;
}
.work-inner a:hover h3{bottom:45%;opacity:0.8}


.work-inner .work-bolt{
    width:3em; height:auto;
    position: absolute;
    top:50%; left:50%;
    margin-left:-1.5em;
    margin-top:-3.5em;
    z-index:140;
    opacity:0.2;
}

.work-row:last-child{margin-bottom: 0}

#page h2 + .client-row{margin-top:2.5em}

.client-row img{
    width:100%; height:auto;
}

#content .post-image .attachment-full{
    display:block;
    /*max-height:40em;*/
    width:100%; height:auto;
    margin:0 auto;
}

#post-nav{
    padding:0 0 2em 0;
}

    #post-nav .wrapper{
        padding-top: 2em
    }

.post-nav-prev{
    width:50%;
    float:left;
}
.post-nav-next{
    width:50%;
    float:right;
}
    .post-nav-prev a{
        float:left;
    }
    .post-nav-next a{
        float:right;
    }


.post-nav-thumb{
    display:block;
    width:33%; height:auto;
    position: relative;
}

#post-nav .post-nav-arrow{
    position: absolute;
    height:1em; width: auto;
    top:50%;
    margin-top:-0.5em;
    opacity:0.33;
    transition:all 0.3s ease;
    -webkit-transition:all 0.3s ease;
    -moz-transition:all 0.3s ease;
    -o-transition:all 0.3s ease;
}

#post-nav .post-nav-thumb:hover .post-nav-arrow{opacity:0.9}

.post-nav-prev .post-nav-arrow{left:-15%}
.post-nav-next .post-nav-arrow{right:-15%}

.post-nav-prev .post-nav-thumb:hover .post-nav-arrow{left:-20%}
.post-nav-next .post-nav-thumb:hover .post-nav-arrow{right:-20%}

.post-content + #slider,
.post-content + .post-image{
    margin-top:4em;
}

#page .flex-control-nav{bottom:-3em}

.video-container{
    margin-top:4em;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%
}

    .video-container iframe,
    .video-container object,
    .video-container embed{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%
    }


#talent{
    width:100%;
    overflow: hidden;
    margin-top:4em;
    padding-top:4em;
    border-top:1px solid #BBBBBB
}

.talent-row{
    margin: 2em -1.5em 0 0
}

.talent-row + .talent-row{
    margin: 2em -1.5em 0 0;
}

.talent-row .talent{
    padding-right:1.5em;
    padding-top:2em;
}

.talent-photo{
    width:4em; height:4em;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background:url('') no-repeat center center;
    background-size: cover;
}

.talent-info{
    font-size:0.75em
}

.talent h3{
    font-size:1.25em;
    margin:1em 0 0 0;
}

.talent h4{
    font-family: 'Montserrat', sans-serif;
    font-size:1em;
    margin:1em 0 0 0;
    text-transform: uppercase;
}

.talent h4 span{
    font-weight: 400;
    font-size:0.8em;
    color:#777;
}



/* Contact styles
-----------------------------------------------------*/

#page .gform_wrapper{max-width:100%}

#page .gfield label{display:none}

#page form input[type="text"],
#page form input[type="email"],
#page form textarea{
    padding:0.75em;
    font-size:0.8em;
    border:0;
}
#page form input[type="text"],
#page form input[type="email"],
#page form textarea{
    border:1px solid #BBBBBB;
    border:1px solid rgba(187,187,187,0.9);
}

#page .gform_wrapper{margin-bottom: 0}
#page .gform_wrapper .gform_footer{padding-bottom: 0}

.gform_confirmation_message{
    padding:2em;
    background:#FFFFFF;
}

input[type="button"],
input[type="submit"],
button,
.btn{
    font-family: 'Montserrat', sans-serif;
    display:inline-block;
    font-weight: 700;
    line-height: 1;
    padding:0.5em 0.75em;
    margin:0;
    font-size:0.75em;
    color:#FFFFFF;
    text-transform: uppercase;
    text-align: center;
    outline:none;
    border:none;
    background: #BBBBBB;
    box-shadow:none;
    cursor: pointer;
}

#gmap{
    width:100%;
    height:20em;
    margin-bottom: 0
}
#gmap img{max-width: none}

#map,
#pano{
    height:20em;
}

#mapcontent{
    padding:1em 0 1em 1em;
    text-align: center;
}

#mapcontent img{
    display:block;
    width:8em; height:auto;
    margin:1em auto
}

#page .gform_wrapper .top_label input.large,
#page .gform_wrapper textarea.large{width:100%}

#page .gform_wrapper .gform_fileupload_multifile .gform_drop_area{padding:4em 2em; background-color: #FFFFFF}

#page .gf_left_third,
#page .gf_middle_third,
#page .gf_right_third{
    width:32%;
}

#page .gf_left_third{
    margin-right:2% !important;
}

#page .gf_middle_third{
    margin-right:0 !important;
    margin-left:0 !important;
}

#page .gf_right_third{
    margin-left:2% !important;
}

#page .validation_message{display:none}

#page .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    margin-top: 0;
}

#page .gfield#field_1_4.gfield_error{width:100%}

#page .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container{
    max-width:100%;
    margin:1em;
}

#page .gform_wrapper li.gfield.gfield_error{border:none}

#page .gform_confirmation_message{padding:0}


/* Smallest screens
-----------------------------------------------------*/
@media (max-width: 320px){
    body{font-size: 10px}
    .wrapper{
        width:auto;
        margin:0 1em;
    }
    #masthead .site-branding{float:none}
    #masthead .site-branding a{width:100%; height:auto}
    #masthead .site-branding a img{display:block;width:66%; margin:0 auto}
    #masthead nav{font-size:1.2em;float:none; margin-top:2em}
    #masthead nav ul{text-align: center}
    #masthead nav ul li{margin-left:1em; float:none; display:inline}
    #masthead nav ul li:first-child,
    #masthead .social-links a:first-child{margin-left:0}
    #masthead .social-links{font-size:2em; float:none; text-align: center;}
    #masthead .social-links a{float:none; display: inline-block;}
    #intro{font-size: 0.75em}
    .work-inner{font-size:1.25em}
    #page .client-row{
        margin: 0 -0.5em 1em 0
    }
    #page .client-row .block-4{
        width:50%;
        padding-right:0.5em;
        margin-bottom: 0
    }
    #page .talent-row:first-child .talent:first-child{border-top:none}
}

@media (min-width: 321px) and (max-width: 467px){
    body{font-size: 12px}
    .wrapper{
        width:auto;
        margin:0 1.75em;
    }
    #masthead .site-branding{float:none}
    #masthead .site-branding a{width:100%; height:auto}
    #masthead .site-branding a img{display:block;width:50%; margin:0 auto}
    #masthead nav{font-size:1em;float:none; margin-top:2em}
    #masthead nav ul{text-align: center}
    #masthead nav ul li{margin-left:1em; float:none; display:inline}
    #masthead nav ul li:first-child,
    #masthead .social-links a:first-child{margin-left:0}
    #masthead .social-links{font-size:2em; float:none; text-align: center;}
    #masthead .social-links a{float:none; display: inline-block;}
    #intro{font-size: 0.8em}
    .work-inner{font-size:1.5em}
    #page .client-row{
        margin: 0 -0.5em 1em 0
    }
    #page .client-row .block-4{
        width:50%;
        padding-right:0.5em;
        margin-bottom: 0
    }
    #page .talent-row:first-child .talent:first-child{border-top:none}
}

@media (min-width: 468px) and (max-width: 782px){
    body{font-size: 14px}
    .wrapper{
        width:auto;
        margin:0 2.25em;
    }
    .anim-branding{width:30%;float:left;transform:translate(-20%, -20%)}
    #masthead nav{font-size:0.8em}
    #masthead .social-links{font-size:1.5em; float:none; text-align: center;}
    #page .work-row{
        margin: 0 -0.5em 0.5em 0
    }
    #page .work-row .block-3{
        width:33.333333333%;
        padding-right:0.5em;
        margin-bottom: 0
    }
    #page .client-row{
        margin: 0 -0.5em 1em 0
    }
    #page .client-row .block-4{
        width:25%;
        padding-right:0.5em;
        margin-bottom: 0
    }
    #page .talent-row{
        margin: 0 -1.5em 1em 0        
    }
    #page .talent-row .block-4{width:50%}
    #intro{font-size: 1em}
    #page .talent-row:first-child .talent:first-child,
    #page .talent-row:first-child .talent:nth-child(2){
        border-top:none;
    }
}

/* 782 and down 
-----------------------------------------------------*/
@media (max-width: 782px){
    body.logged-in #page{padding-top:46px}
    [class^="block-"],
    [class*=" block-"]{
        width:100%;
        padding:0; margin:0 0 0.75em 0
    }
    .row{margin:0}
    .post-content p{font-size: 1.125em}
    #page .talent-row:first-child{margin-top:2em}
    .talent-row .talent{border-top:1px solid #eeeeee}
    #talent{font-size:1em}
    #talent .talent-info{font-size:1em}
    #talent .talent-photo{font-size:1.5em}
    #talent .talent-row {margin-bottom:0; margin-top:0;}
    #talent .talent-row .talent{margin-bottom:2em}
}

/* 783 and up 
-----------------------------------------------------*/
@media (min-width: 783px){
    body.logged-in #page{padding-top:32px}
    .anim-branding{width:30%;float:left;transform:translate(-20%, -20%)}
    .client-row{margin-bottom: 2em}
    .client-row:last-child{margin-bottom: 0}
    .visible-sm{display: none}
    .talent-row{border-top:1px solid #eeeeee}
    .talent-row:first-child{border-top:none}
}

/* Medium screens 
-----------------------------------------------------*/
@media (min-width: 783px) and (max-width: 1023px){
    body{font-size: 16px}
    .wrapper{
        width:auto;
        margin:0 4em;
    }
    #intro{font-size: 1em}
}
@media (min-width: 1024px) and (max-width: 1439px){
    body{font-size: 20px}
    .anim-branding{width:30%;float:left;transform:translate(-20%, -20%)}
    .wrapper{
        width:auto;
        margin:0 4em;
    }
    #intro{font-size: 1.25em}
}

/* Huge screens 
-----------------------------------------------------*/
@media (min-width: 1440px){
    body{font-size: 22px}
    .anim-branding{width:30%;float:left;transform:translate(-20%, -20%)}
    .wrapper{
        width:1280px;
        margin:0 auto
    }
    #intro{font-size: 1.5em}
}



.hp-overlay, .hp-slide{display:none}

#page .flexslider{background-color:transparent !important}
