/*
	Theme Name: SugarDigital.com (Built with HTML5 Blank Boilerplate)
	Theme URI: http://SugarDigital.com
	Description: Site Redesign for sugardigital.com
	Version: 1
	Author: HeroesKitchen.io/MadeWithMath
	Author URI: http://madewithmath.com
	Tags: Sugar Digital

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
    font-size:62.5%;
}
body {
    /*font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Roboto', sans-serif;
    color:#444;
    font-weight: 300;
    line-height: 134%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
    max-width:100%;
    vertical-align:bottom;
}
a {
    color:#444;
    text-decoration:none;
}
a:hover {
    color:#444;
}
a:focus {
    outline:0;
}
a:hover,
a:active {
    outline:0;
}
input:focus {
    outline:0;
    border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    max-width:900px;
    width:95%;
    margin:0 auto;
    position:relative;
}
/* header */
.header {
    position:absolute;
    top: 0;
    left:0;
    right:0;
}
/* logo */
.logo {
    position:absolute;
    padding-left: 30px;
    height:28px;
    width:12px;
    background-image:url('img/logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
.header-inner {
    position: relative;
    top: 0;
    padding-top: 30px;
    z-index: 99;
}
.logo-outer {
    right:0;
    left:0;
    position: absolute;
    top: 0;
    z-index: 99;
}

.logo-img {

}
/* nav */
.navicon {
    position: absolute;
    right: 40px;
}
.nav {
    height: 100px;

    background: rgba(255,255,255,.95);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

.nav-inner {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
    position: relative;
}
.nav ul {
    list-style: none;
    float:right;
    /* display: inline-block; */
}
.nav a{
    color:#000;
    font-weight: 400;
}
.nav a:hover{
    color:#000;
    text-decoration: none;
}

.menu-item {
    display: inline;
    margin: 0 0px;
    text-transform: uppercase;
    padding:3px 7px
}
.menu-item:hover,
.filters li:hover,
.current-menu-item,
.current-filter {
    background:#ABE6FF;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}
.gallery-grid table,
.gallery-grid tbody,
.gallery-grid tr,
.gallery-grid td{
    width: 100%;
    height: 100%;
    vertical-align: top;
}
.row-1{
    height:50%;
}
.row-2{
    height: 100%;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
.hero {
    width:100%;
    max-height: 600px;
    overflow: hidden;
    margin:0;
}
.current-menu-item a{
    text-decoration: none;
}
.hero img {
    width: 100%;
    height: auto;
    margin:0;
}

.quotes {
    display: table-cell;
    vertical-align: middle;
    /* padding: 70px; */
    /* text-align: center; */
    font-size: 16px;
    font-weight: 300;
    padding: 20px;
}

.quote {
    font-size: 16px;
}
.quote b{
    font-weight:400;
}

p.credits span {
    display: block;
}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/
.img_outer {
    /* height: 370px; */
    width: 100%;
    position: relative;
}

.img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
    font-family:'Font-Name';
    src:url('fonts/font-name.eot');
    src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
    url('fonts/font-name.woff') format('woff'),
    url('fonts/font-name.ttf') format('truetype'),
    url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

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

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

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

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

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

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/
.team-member .background{
    margin-bottom:20px;
}
.team-member {
    max-width: 280px;
    width: 100%;
    /* text-align: left !important; */
    display: inline-block;
    margin: 30px 10px;
    position: relative;
    height: 520px;
}
.si{
    margin:0px 6px;
}
.team-member-name{
    padding-top:40px;
    font-weight: 300;
    margin: 0;
}
.team-member-inner {
    position: absolute;
    top: 0;
}

span.job-title {
    text-transform: uppercase;
    padding-bottom: 20px;
}

.job-title {
    text-transform: uppercase;
    padding-bottom: 20px;
}
.team-member img {
    width: 100%;
    height: auto;
}

.team-member {}
.social{
    margin-left: 20px;
    display: inline-block;
}
.email {
    background: url("img/icon_email.png") no-repeat center center;
}

.email:before {
    content: ' ';
    padding: 0px 13px;
}
.fb {
    background: url("img/icon_facebook.png") no-repeat center center;
}

.fb:before {
    content: ' ';
    padding: 0px 13px;
}
.twitter {
    background: url("img/icon_twitter.png") no-repeat center center;
}

.twitter:before {
    content: ' ';
    padding: 0px 13px;
}
.linkedin {
    background: url("img/icon_linkedin.png") no-repeat center center;
}

.linkedin:before {
    content: ' ';
    padding: 0px 13px;
}
.before-after-wrapper{
    position: relative;
}
.project_wrapper {
    position: relative;
}
.project_item{
    position: relative;
    height: 290px;
    width: 290px;
}
.project_item a{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.project_media{
    position: absolute;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.project {
    position: absolute;
    bottom: 4%;
    left: 4%;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
}

.project.image {
    background-image: url('img/icon_image.png');
}
.project.video {
    background-image: url('img/icon_video.png');
}
.project.ba {
    background-image: url('img/icon_beforeafter.png');
}
.item-title {
    color: #000;
    font: 400 18pt "Roboto" !important;
}
.project_item_overlay{
    background-color: rgba(95, 192, 234, 0.85);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    display: none;
}
.filters ul{
    padding: 0;
}
.project_item_overlay td{
    vertical-align: middle;
}
.project_item_overlay .overlay-title{
    color:#fff;
    font-size:18px;
    font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
}
.project_item a:hover .project_item_overlay{
    display: block;
}
.project_item_overlay table {
    height: 100%;
    width: 100%;
    text-align: center;
}
.img-container a:hover + .project_item_overlay{
    display: block;
}
::selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}
::-webkit-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}
::-moz-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display:block;
    margin:5px auto 5px auto;
}
.alignright {
    float:right;
    margin:5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin:5px 20px 20px 0;
}
a img.alignright {
    float:right;
    margin:5px 0 20px 20px;
}
a img.alignnone {
    margin:5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin:5px 20px 20px 0;
}
a img.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
}
.wp-caption {
    background:#FFF;
    border:1px solid #F0F0F0;
    max-width:96%;
    padding:5px 3px 10px;
    text-align:center;
}
.wp-caption.alignnone {
    margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin:5px 20px 20px 0;
}
.wp-caption.alignright {
    margin:5px 0 20px 20px;
}
.wp-caption img {
    border:0 none;
    height:auto;
    margin:0;
    max-width:98.5%;
    padding:0;
    width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.home-100{
    width:100%;
    /* margin: 20px 0; */
    padding: 20px;
}
.home-75{
    width:75%;
    float:left;
    /* margin-bottom: 25px; */
    padding: 20px;
}
.home-50{
    width: 50%;
    float: left;
    /* margin: 20px 0; */
}
.home-25{
    width:25%;
    float: left;
    margin-bottom: 25px;
}
.img-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0;
    height:100%;
    width:100%;
    position:relative;
}
.home-33{
    width: 33.33%;
    /* margin: 0 1%; */
    float: left;
    /* margin: 20px  0; */
    padding: 20px;
}
.home-66{
    width:66%;
    float: left;
    /* margin: 20px 0; */
}
.outer {
    padding: 0;
    margin: 0;
}
.center-block{
    float:none;
    margin: 0 auto;
}
.nav-close{
    display: none;
}
.filters ul {
    list-style: none;
}

.filters li {
    display: inline;
    margin: 0;
    padding: 3px 6px;
}

.filters li a {
    text-transform: uppercase;
    text-decoration: none;
}
.logo a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
h1, .h1{
    font-weight:100;
    font-size:24px;
}
form.wpcf7-form {
    font-size: 13px;
    line-height: 139%;
    font-weight: 300;
}

.img-container a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
}
.swiper-button-prev,
.swiper-button-next{
    display:inline-block;
    height: 40px;
    width:40px;
    margin:0 5px;
    position: absolute;
    top: inherit;
    /* left: 0; */
    bottom: 0;
    z-index: 99999;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
}
.swiper-button-prev{
    left:0;
    background: url('img/icons/scroller_left_idle.png');
}

.swiper-button-next{
    left:50px;
    background: url('img/icons/scroller_right_idle.png');
}

.swiper-button-prev:hover{
    background: url('img/icons/scroller_left_over.png');
}

.swiper-button-next:hover{
    background: url('img/icons/scroller_right_over.png');
}
.pagination {
    position: absolute;
    bottom: 0;
    margin: 0 5px;
    left:0;
    z-index: 999;
}
.swiper-wrapper{
    max-height:395px;
}
.item-share {
    /* position: absolute; */
    bottom: 62px;
    right: 33px;
    z-index: 999;
}

.share-sub {
    height: 78px;
    width: 113px;
    position: absolute;
    left: 5px;
    bottom: -86px;
    z-index: 999999;
    -webkit-box-shadow: 1px 1px 2px 1px rgba(219,219,219,1);
    -moz-box-shadow: 1px 1px 2px 1px rgba(219,219,219,1);
    box-shadow: 1px 1px 2px 1px rgba(219,219,219,1);
    border-radius: 10px 10px 10px 10px;  -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 5px;  border: 0px solid #000000;
    padding: 10px 15px;
    background: #fff;
    display: none;
}
.inner{
    position: relative;
}
.share-icn {
    margin: 0 6px;
}
.share-icn a:focus + .share-sub,
.share-sub:hover{
    display: block;
}

.item-share a {
    border: none;
    margin: 0;
    display: inline;
    padding: 0 5px;
}

.item-share a:before {
    content: "";
    margin: 0;
}
.project_lightbox{
    display:none;
}
.before-after img{
    display:block;
}

div.wpcf7-mail-sent-ok {
	position: absolute;
	bottom: -50px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        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) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]: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;
    }
    @page {
        margin:0.5cm;
    }
    p,
    h2,
    h3 {
        orphans:3;
        widows:3;
    }
    h2,
    h3 {
        page-break-after:avoid;
    }
}

@media only screen and (max-device-width: 414px) and (orientation : portrait) {
    .home-100,
    .home-25,
    .home-33,
    .home-50,
    .home-66,
    .home-75{
        width: 100% !important;


    }
    .team-member{
        max-width: none !important;
        width: 100%;
        margin:40px 0;
    }
    .contact img{
        margin:0 auto;
    }
    .nav {
        background: rgba(0,0,0,.8);
        height: 100%;
    }

    .nav a {
        color: #fff;
    }

    .menu-item {
        display: block;
        font-size: 25px;
        margin: 8px 20px;
    }

    .nav ul {
        float: left;
    }

    .menu {
        width: 100%;
        margin-top:35px;
    }
    .nav .logo{
        background-image:url('img/logo_wht.png');
    }
    .nav-close{
        display:block;
        float:right;
    }

}


@media only screen and (max-device-width: 640px) and (orientation : landscape) {
    .home-100,
    .home-25,
    .home-33,
    .home-50,
    .home-66,
    .home-75{
        width: 100% !important;
    }
    .team-member{
        max-width: none !important;
        width: 100%;
        margin:40px 0;
    }
    .contact img{
        margin:0 auto;
    }
    .nav {
        background: rgba(0,0,0,.8);
        height: 100%;
    }

    .nav a {
        color: #fff;
    }

    .menu-item {
        display: block;
        font-size: 25px;
        margin: 8px 20px;
    }

    .nav ul {
        float: left;
    }

    .menu {
        width: 100%;
        margin-top:35px;
    }
    .nav .logo{
        background-image:url('img/logo_wht.png');
    }
    .nav-close{
        display:block;
        float:right;
    }
}
