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

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

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

::selection {
    background: #b3d4fc;
    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;
}
*:focus {
    outline: none;
}
/* Flexbox sollution */

.Site {
  display: flex;
  flex-direction: column;
  height: 100%; /* 1, 3 */
}

.Site-header,
.Site-footer {
  flex: none; /* 2 */
}

.Site-content {
  flex: 1 0 auto; /* 2 */
  padding: var(--space) var(--space) 0;
  width: 100%;
}
.Site-content::after {
  content: '\00a0'; /* &nbsp; */
  display: block;
  margin-top: var(--space);
  height: 0px;
  visibility: hidden;
}
@media (--break-lg) {
  .Site-content {
    padding-top: var(--space-lg);
  }
  .Site-content::after {
    margin-top: var(--space-lg);
  }
}

.Site-content--full {
  padding: 0;
}
.Site-content--full::after {
  content: none;
}
/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.dark {
    background: #eee;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}


/* ===================
    ALL: Custom Theme
   =================== */

.header-container {background:#000;}

.footer-container,
 {
    background:#000;
 }

.header-container,
.footer-container,
.main aside {}

.title {
    color: #fff;
}


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

nav ul {
    display: none;
}

button.c-hamburger {
    position: absolute;
    top: -13px;
    right: 0;
    background: none;
    z-index: 9998;
}

.c-hamburger {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 76px;
    height: 76px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.c-hamburger:focus {
    outline: none;
}

.c-hamburger span {
    display: block;
    position: absolute;
    top: 44px;
    left: 18px;
    right: 18px;
    height: 5px;
    background: #fff;
}

.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #fff;
    content: "";
}

.c-hamburger span::before {
    top: -10px;
}

.c-hamburger span::after {
    bottom: -10px;
}

.c-hamburger--htx {}

.c-hamburger--htx span {
    transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
    transition-property: top, transform;
}

.c-hamburger--htx span::after {
    transition-property: bottom, transform;
}


/* active state, i.e. menu open */

.c-hamburger--htx.is-active {}

.c-hamburger--htx.is-active span {
    background: none;
}

.c-hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0.3s;
    background-color: #fff;
}

nav {
    background-color: #444;
    z-index: 999 !important;
    position: absolute;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.5em;
    height: 0px;
    width: 100%;
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0.3s;
}

#mobile {
    width: 100%;
    top: 0;
    padding-top: 0px;
}

#mobile.active {
    padding-top: 20px;
    display: block;
    margin-left: -5%;
}

nav li.sub {
    font-style: italic;
    font-size: 21px;
}

nav.active {
    display: block;
    opacity: 1;
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0.3s;
    height: 100%;
}

nav.active ul,
nav.active a {
    display: block;
    clear: both;
}

.nav-btns li {
    z-index: 10;
}

/* Lightbox styles */

.mfp-title {
    position: absolute;
    font-size: 12px;
    width: 96%;
    bottom: auto;
    background: rgba(0,0,0,0.7);
}
.fancybox-caption a.visitSite {
    color: #e6e;
    float: right;
    width: 100%;
    }
#contact-popup {
    position: fixed;
    top: 83px;
    right: 30px;
    width: 200px;
    background: #666;
    padding: 10px;
}
#contact-popup label {
    color:#e004d5;
}
input#submit_btn {
    cursor: pointer;
    padding: 4px 20px;
    background: #35b128;
    border: 1px solid #33842a;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    color: #f3f3f3;
    font-size: 1.1em;
}
input#submit_btn:hover, input#submit_btn:focus{
background-color :#399630;
-webkit-box-shadow: 0 0 1px rgba(0,0,0, .75);
-moz-box-shadow: 0 0 1px rgba(0,0,0, .75);
box-shadow: 0 0 1px rgba(0,0,0, .75);
}
/* ==============
    MOBILE: Main
   ============== */

#mobile {
    display: block;
}

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: grey;
    background: #eee;
    padding: 0px 5% 10px;
}
section {margin-bottom:50px;}
#instafeed a img{margin: 2px 0;}
#instafeed {width: 100%;}
.footer-container footer {
    color: white;
    padding: 5px 0;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.work-gallery {
    width:94%;
    margin:10px 3%;
}
.work-gallery a {margin: 10px 0;
display:block;}
.work-gallery a img {
    width:100%;

}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
    /* ====================
    INTERMEDIATE: Menu
   ==================== */
    #mobile {
        display: none;
    }
    nav a {
        float: left;
        width: 100%;
        color: #fff;
    }
    nav li:first-child a {
        margin-left: 0;
    }
    nav li:last-child a {
        margin-right: 0;
    }
    /* ========================
    INTERMEDIATE: IE Fixes
   ======================== */
    nav ul li {
        display: inline;
    }
    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {
    /* ====================
    WIDE: CSS3 Effects
   ==================== */
    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
        -moz-box-shadow: 0 5px 10px #aaa;
        box-shadow: 0 5px 10px #aaa;
    }
    .footer-container {
        position:fixed;
        bottom:0;
        width:100%;
        margin:0 auto;
        background:#000;}
    /* ============
    WIDE: Menu
   ============ */
    .title {
        float: left;
    }
    nav {
        position: absolute;
        right: 10px;
        width: 38%;
    }
    nav a {
        width: 27%;
    }
    nav ul {
        display: block;
    }
    nav.active ul,
    nav.active a {
        clear: none;
    }
    .c-hamburger {
        display: none;
    }
    /* ============
    WIDE: Main
   ============ */
    .main article {
        float: left;
        width: 60%;
    }
    .main aside {
        float: right;
        width: 20%;
    }
    body.about .main aside {
        width:150px;
    }
    .mfp-title {
    position: absolute;
    font-size: 14px;
    width: auto;
    bottom: 0px;
    padding:10px;
    background: rgba(0,0,0,0.7);
    }
    .work-gallery a {
    width: 48%;
    float:left;
    margin: 5px 1%;
    }
    .box {
  position: relative;
  display: inline-block;
  width: 31%;
  height: auto;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.box::after {
  content: "";
  border-radius: 5px;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.box:hover {
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

.box:hover::after {
    opacity: 1;
}
}

@media only screen and (min-width: 1140px) {
    /* ===============
    Maximal Width
   =============== */
    .wrapper {
        width: 1026px;
        /* 1140px - 10% for margins */
        margin: 0 auto;
    }
     .work-gallery a {
    width: 31%;
    float:left;
    margin: 5px 1%;
    }
}


/* ==========================================================================
   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;
    }
}
