@import url(https://fonts.googleapis.com/css?family=Oxygen:400,300,700);
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.site-layout {
    width: 100%;
    margin: 0 auto;
}
.bg-color1 {
    background: rgba(243,147,31,.55);
}
.responsiveimg {
    max-width: 100%;
    height: auto;
    width: auto;
}

/*** HEADER ***/
header {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-top: 25px;
    padding-left: 20px;
    transition: all 0.4s ease;
    z-index: 10;
}
header.sticky {
   display: none;
}
header .logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s ease;
}
header.sticky .logo img {
    height: 25px;
    transition: all 0.4s ease;
}
.site-navigation {
    display: none;
}
.site-navigation ul {
    list-style: none;
    margin: 10px 0 0 43px;
    padding: 0;
    transition: all 0.4s ease;
}
.sticky .site-navigation ul {
    margin-top: 2px;
    margin-left: 20px;
    transition: all 0.4s ease;
}
.site-navigation li {
    margin: 0;
    padding: 0 20px 0 0;
    display: block;
    list-style: none;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
}
.site-navigation li a {
    color: #FFF;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.4s ease;
}
.sticky .site-navigation li a {
    font-size: 17px;
    transition: all 0.4s ease;
}
.navbar-toggle {
    display: block;
    width: 25px;
    text-indent: -1000em;
    position: absolute;
    right: 15px;
    top: 20px;
}
.icon-navbar {
    display: block;
    background: white;
    height: 3px;
    margin: 0 0 3px;
    border-radius: 3px;
}

/*** SLIDE 1 - INTRO ***/
#slide1 {
    background: url(../img/web-designer.jpg) no-repeat fixed 50% 0;
    background-size: cover;
    color: #fff;
    height: 750px;
    margin: 0;
    padding: 275px 0 0;
}
.hero {
    text-align: center;
    padding: 0 20px;
}
.hero h1 {
    font-size: 50px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
    /* 16 * 0.0625 = 1px */
    letter-spacing: -0.07em;

}
.hero span {
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
}
.hero h2 {
    font-size: 20px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;

}

/*** SLIDE 2 - About ***/
#slide2 {
    background-color: #FFF;
    color: #000;
    margin: 0;
    padding: 1px 0 0;
    position: relative;
    z-index: 2;
}
.about-text {
    padding: 20px;
    box-sizing: border-box;
}


/*** SLIDE 3 - Portfolio ***/
#slide3 {
    background-color: #FFF;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    top: -40px;
}
.heading-special {
    margin: 0 0 20px 1%;
    padding: 60px 20px 40px;
    background: #f3931f;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    color: #FFF;
    line-height: 28px;
    font-size: 30px;
    letter-spacing: -0.06em;
}


/*** PORTFOLIO ***/
.gridder {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.gridder-list { 
    display: inline-block;
    vertical-align: top;
    margin: 0 0 20px 1%;
    width: 32%;
    min-width: 175px;
    max-width: 402px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    border: 3px solid #d5d5d5;
    overflow: hidden;
}
.gridder-content{
    display: none;
}
.gridder .overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 50px;
    width: 100%;
    background: #d5d5d5;
    box-sizing: border-box;
    padding: 15px 10px 0;
    color: #8b8b8c;
    text-shadow: 0 1px 0 rgba(255,255,255,.3);
    transition: all 0.4s ease;
    font-style: italic;
    font-size: 11px;
    line-height: 13px;
    display: none;
}
.gridder .overlay strong {
    font-size: 13px;
    font-style: normal;
    color: #666;
}
.gridder-list:hover {
    cursor: pointer;
}
.gridder-list:hover .overlay {
    bottom: -75px;
    transition: all 0.4s ease;
}
.gridder-list.selectedItem .overlay {
    display: none;
}


.gridder-show { 
    display: block;
    float: left;
    width: 98%;
    position: relative;
    padding: 20px;
    position: relative;
    top: -17px;
    margin: 0 0 0 1%;
    box-sizing: border-box;
    padding: 30px 60px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d5d5d5+0,f7f7f7+50,d5d5d5+100 */
    background: #d5d5d5; /* Old browsers */
    background: -moz-linear-gradient(-45deg,  #d5d5d5 0%, #f7f7f7 50%, #d5d5d5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#d5d5d5), color-stop(50%,#f7f7f7), color-stop(100%,#d5d5d5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  #d5d5d5 0%,#f7f7f7 50%,#d5d5d5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  #d5d5d5 0%,#f7f7f7 50%,#d5d5d5 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  #d5d5d5 0%,#f7f7f7 50%,#d5d5d5 100%); /* IE10+ */
    background: linear-gradient(135deg,  #d5d5d5 0%,#f7f7f7 50%,#d5d5d5 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5d5d5', endColorstr='#d5d5d5',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.portfolio-img img {
    position: relative;
    z-index: 2;
    border: 2px solid #FFF;
    margin: 0 0 20px;
}
.portfolio-text h3 {
    margin: 0;
    padding: 0;
    font-size: 26px;
    font-family: 'Oxygen', sans-serif;
}
.portfolio-text h4 {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: normal;
    color: #666;
    font-style: italic;
}
.gridder-close {
    position: absolute;
    top: 0px;
    right: 10px;
    display: inline-block;
    text-decoration: none;
    font-size: 25px;
    color: #999;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
}
.gridder-close:hover {
    color: #333;
}
.gridder-nav {
    position: absolute;
    z-index: 1;
    top: 300px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -1000em;
}
.gridder-nav.prev {
    left: 0;
}

.gridder-nav.next {
    right: 0;
}
.gridder-nav:after {
    position: absolute;
    z-index: 1;
    top: 0;
    content: '';
    display: block;
}
.gridder-nav.prev:after {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #999;
    left: 10px;
}
.gridder-nav.next:after {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #999;
    right: 10px;
}
.gridder-nav.prev:hover:after {
    border-right-color: #666;
}
.gridder-nav.next:hover:after {
    border-left-color: #666;
}
.gridder-nav.prev.disabled:after {
    border-right-color: #ccc !important;
}
.gridder-nav.next.disabled:after {
    border-left-color: #ccc !important;
}
.highlights {
    margin: 0;
    padding: 0;
    list-style: none;
}
.highlights li {
    margin: 0 1px 1px 0;
    padding: 3px 5px;
    display: inline-block;
    float: left;
    background: #F3931F;
    background: rgba(243,147,31,.5);
}
.visit {
    margin-top: 55px;
    display: inline-block;
    border: 1px solid #ccc;
    padding: 5px 10px;
    color: #999;
    text-decoration: none;
    font-size: 80%;
    transition: all 0.4s ease;
}
.visit:hover {
    background: #ccc;
    color: #333;
    transition: all 0.4s ease;
}





/*** SLIDE 4 - Contact ***/
#slide4 {
    background-color: #d5d5d5;
    overflow: hidden;
    padding: 0 0 60px;
    clear: both;
}
#slide4 h2 {
    box-shadow: 0 10px 5px rgba(0,0,0,.1);
}
/* Contact Form */
.contact-text {
    float: left;
    min-width: 400px;
    width: 49%;
    box-sizing: border-box;
    padding: 0 10% 0 10%;
}
.contact-form {
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding: 0 0 0 10%;
}
label {
    display: block;
    padding: 5px;
}
label span {
    display: block;
    color: #919191;
    text-shadow: 1px 1px 0 rgba(255,255,255,.5);
}
label input,
label textarea  {
    min-width: 250px;
    width: 75%;
    max-width: 370px;
    background: #eaeaea;
    border: 1px solid #eaeaea;
    padding: 5px;
}
button {
    background: #8AC83F;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px 30px;
    font-size: 22px;
    color: #fff;
}
footer {
    display: block;
    background: #303030;
    color: #C7C7C7;
    text-align: center;
    padding: 30px 10px 200px;
}
footer strong {
    font-weight: normal;
    font-size: 80%;
}
.error {
    border: 1px solid #ebccd1;
    border-radius: 4px;
    padding: 15px;
    color: #a94442;
    background-color: #f2dede;
    margin-bottom: 20px;
}
.success {
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #dff0d8;
    color: #3c763d;
}

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}


@media only screen and (min-width: 790px) {
    header {
        position: fixed;
    }
    header.sticky {
        height: 40px;
        padding-top: 10px;
        background: rgba(0,0,0,.6);
        transition: all 0.4s ease;
    }
    .site-navigation {
        display: block;
    }
    .navbar-toggle {
        display: none;
    }
    header.sticky {
       display: block;
    }
    header .logo img {
        height: 96px;
        float: left;
    }
    header.sticky .logo img {
        height: 25px;
    }
    .site-navigation ul {
        list-style: none;
        margin: 50px 0 0 40px;
        padding: 0;
        float: left;
    }
    .sticky .site-navigation ul {
        margin-top: 2px;
        margin-left: 20px;
    }
    .site-navigation li {
        margin: 0;
        padding: 0 20px 0 0;
        display: inline-block;
        list-style: none;
        font-family: 'Oxygen', sans-serif;
        font-weight: 700;
    }
    .site-navigation li a {
        font-size: 27px;
    }


    .about-img {
        float: left;
        width: 50%;
        max-width: 630px;
    }
    .about-text {
        float: right;
        width: 50%;
    }
    .portfolio-img {
        float: left;
        width: 38%;
        max-width: 400px;
        min-width: 200px;
        margin-right: 60px;
    }
    .portfolio-img img {
        position: relative;
        z-index: 2;
    }
    .portfolio-text {
        float: left;
        width: 40%;
    }
    .effect-shadow {
      position: relative;
    }
    .effect-shadow:before, .effect-shadow:after {
      z-index: 0;
      position: absolute;
      content: "";
      bottom: 15px;
      left: 10px;
      width: 50%;
      top: 80%;
      max-width:300px;
      background: #777;
      -webkit-box-shadow: 0 15px 10px #777;
      -moz-box-shadow: 0 15px 10px #777;
      box-shadow: 0 15px 10px #777;
      -webkit-transform: rotate(-3deg);
      -moz-transform: rotate(-3deg);
      -o-transform: rotate(-3deg);
      -ms-transform: rotate(-3deg);
      transform: rotate(-3deg);
    }
    .effect-shadow:after {
      -webkit-transform: rotate(3deg);
      -moz-transform: rotate(3deg);
      -o-transform: rotate(3deg);
      -ms-transform: rotate(3deg);
      transform: rotate(3deg);
      right: 10px;
      left: auto;
    }
    .gridder-show { 
        height: 605px;
    }
    .portfolio-img img {
        border: none;
        margin: 0;
    }
    .gridder-nav {
        top: 50%;
    }
    .gridder .overlay {
        display: block;
    }



    .hero h1 {
        font-size: 70px;

    }
    .hero h2 {
        font-size: 27px;

    }
    .heading-special {
        padding-top: 40px;
        line-height: 66px;
        font-size: 44px;
    }


}





@media print,
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
