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

/*
font-family: 'Open Sans', sans-serif;
font-family: 'Oswald', sans-serif;
*/

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}
html, body, .backstretch {
    height: 100%;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
.ie9 img[src$=".svg"] {
  width: 100%; 
}
/* 2 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%; 
  }
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
a {
    color: #789920;
}
a, a:hover {
    transition: all 0.5s ease;
    text-decoration: none;
}
a, a:active, a:focus, input, button {
    outline: none;
}
a.btn, button {
    display: inline-block;
    background-color: #789920;
    color: #fff;
    text-transform: uppercase;
    font-size: .7em;
    padding: 10px 30px;
    border: none;
}
a.btn:hover, button:hover {
    background-color: #333;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
img {
    max-width: 100%;
    height: auto;
}

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

textarea {
    resize: vertical;
}

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

body {
    font: 16px/24px 'Open Sans', Helvetica, Helvetica Neue, Arial, sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}
.main-container {
    background-color: #fff;
    position: relative;
    z-index: 1;
}
.header-container {
    background-color: #fff;
    text-align: center;
}
.header-container .logo {
    padding: 20px;
    max-width: 200px;
    height: 30px;
}
.header-container .logo img {
    width: 100%;
}
.header-container nav {
    display: none;
}
.mobile-menu {
    float: right;
}
.mobile-menu a {
    color: #333;
    display: block;
    padding-top: 20px;
    font-size: 2em;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    padding: 20px 0;
    color: #2d2d2d;
    text-decoration: none;
    font-size: .7em;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}
nav a.active:before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #789920;
    height: 3px;
    width: 100%;
    box-sizing: border-box;
}
nav a.active {
    background-color: #efefef;
}
nav a:hover {
    color: #789920;
    background-color: #eee;
}

.main {
    padding: 30px 0;
}

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

.main aside {
    background-color: #f4f4f4;
    padding: 20px 30px;
    font-size: .7em;
    line-height: 1.6em;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}
.footer-container .experience a {
    display: block;
    padding: 30px 0;
    background-color: #84a230;
    color: #333;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-top: 80px;
    font-size: 1.2em;
}
.footer-container .experience a:hover {
    background-color: #333;
    color: #fff;
}
.footer-container .copyright {
    color: #bcbcbc;
    font-size: .5em;
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
    padding-top: 15px;
}

.backstretch {
    text-align: center;
    padding: 10% 30px;
}
.backstretch h1 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    text-transform: uppercase;
    line-height: .5em;
    font-size: 3.5em;
    margin-bottom: 100px;
    margin-top: 80px;
}
.backstretch h1 span {
    font-family: 'Open Sans', sans-serif;
    text-transform: lowercase;
    display: block;
    font-weight: 300;
    font-size: .7em;
    font-style: oblique;
    line-height: 2em;
    position: relative;
    top: -2px;
}
.backstretch .more-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -160px;
}
.backstretch .more-info a {
    background-color: rgba(255,255,255,.9);
    width: 320px;
    text-align: center;
    display: inline-block;
}
.backstretch .more-info a:hover {
    padding-bottom: 5px;
}
a.more {
    font-weight: 600;
    font-size: 1.2em;
}
a.more:after {
    content: ' +';
}
a.more:hover {
    color: #333;
}
.partners {
    margin-bottom: 30px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;

    /*border-left: 20px solid #fff;*/
    /*border-right: 20px solid #fff;*/
}
.partners ul {
    margin: 0;
    padding: 0;
}
.partners ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    position: relative;
}
.partners img {
    width: 100%;
    height: auto;
}
.partners ul li div {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
    background-color: rgba(255,255,255,.8);
    padding: 10px 20px;
    box-sizing: border-box;
}
.partners ul li a:hover {
    color: #333;
}
.partners ul li a span {
    float: right;
}
.partners .wrapper {
    text-align: center;
}
.partners .wrapper h3 {
    color: #789920;
    font-weight: 300;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #e5e5e5; 
    line-height: 0.1em;
    font-size: 1.4em;
    /*margin: 10px 0 20px; */
}
.partners .wrapper h3 span {
    background-color: #fff;
    padding: 0 20px;
}
.page-header {
    background-color: #f4f4f4;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    color: #333;
    padding: 6% 0;
    text-transform: uppercase;
    box-sizing: border-box;
}

blockquote {
    background-color: #f4f4f4;
    padding: 30px;
    font-size: .7em;
    line-height: 1.5em;
}

/* Forms */
form {
    margin-top: 30px;
}
form input, form textarea {
    margin-bottom: 10px;
    font-size: .7em;
    width: 100%;
    padding: 5px;
    display: block;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}

/* Typography */
h2 {
    font-size: 2em;
    font-weight: 300;
    color: #789920;
    position: relative;
    margin-bottom: 70px;
    line-height: 1.4em;
}
h2:after {
    content: '';
    width: 50px;
    height: 1px;
    display: block;
    background-color: #e5e5e5;
    position: relative;
    top: 30px;
}

/* Experience */
#portfolio {  
    margin: 1rem 0;
    -webkit-column-count: 2; 
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    -webkit-column-width: 50%;
    -moz-column-width: 50%;
    column-width: 50%;
}
#portfolio .tile { 
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
    background-color: #eee;
    -webkit-column-break-inside: avoid; /* Chrome, Safari */
    page-break-inside: avoid;           /* Theoretically FF 20+ */
    break-inside: avoid-column;         /* IE 11 */
}
#portfolio .tile .info {
    padding: 0 20px 10px 20px;
    line-height: 1em;
    /*font-size: 1em;*/
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    border-bottom: 1em solid #fff;
}
#portfolio .tile .info span {
    display: block;
    text-transform: none;
    font-size: .8em;
    font-family: 'Open Sans', sans-serif;
}
#portfolio .scale-anm {
  transform: scale(1);
}
button.active {
    background-color: #ccc;
    color: #999;
}
#portfolio .tile img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.tel {
    color: inherit;
    cursor: default;
}
img.bio-pic {
    width: 100%;
}

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

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

}

@media only screen and (min-width: 768px) {
    body {
        font: 18px/36px 'Open Sans', Helvetica, Helvetica Neue, Arial, sans-serif;
    }
    nav a {
        float: left;
        display: inline-block;
        padding: 22px 10px;
    }
    nav a.active {
        background-color: transparent;
    }
    .mobile-menu {
        display: none;
    }
    .header-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }
    .header-container.shrink {
        -webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.15);
        box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.15);
    }
    .header-container nav {
        display: block !important;
    }
    .shrink nav a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .page-header {
        margin-top: 80px;
    }
    .backstretch {
        padding-top: 80px;
        /*margin: 0 20px;*/
        border-left: 10px solid #fff;
        border-right: 10px solid #fff;
        /*border-bottom: 10px solid #fff;*/
        box-sizing: border-box;
        display: table;
        width: 100%;
    }
    .backstretch .content {
        display: table-cell;
        position: relative;
        z-index: 10;
        vertical-align: middle;
        width: 100%;
    }
    .backstretch .overlay {
        background-color: transparent;
        background-image: linear-gradient(0deg, transparent 299px, rgba(255, 255, 255, .15) 300px, transparent 301px, transparent), linear-gradient(90deg, transparent 299px, rgba(255, 255, 255, .15) 300px, transparent 301px, transparent);
        height:100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        background-size: 300px 300px;
    }
    .header-container .logo {
        float: left;
        padding: 20px 0;
    }
    .footer-container .logo {
        float: right;
        padding: 20px 0;
    }
    .logo img {
        max-width: 200px;
        height: auto;
        transition: all 0.5s ease;
    }
    .shrink .logo {
        padding: 10px 0;
    }
    .shrink .logo img {
        max-width: 125px;
        transition: all 0.5s ease;
    }
    .partners ul li {
        width: 33.333%;
        float: left;
        display: inline-block;
    }

    .header-container nav {
        float: right;
        text-align: right;
    }
    nav ul li {
        float: left;
        display: inline-block;
    }
    blockquote {
        float: right;
        max-width: 50%;
    }
    .main aside {
        float: right;
        max-width: 25%;
        margin-left: 5%;
    }
    form {
        margin-top: 0px;
    }
    form input, form textarea {
        width: 60%;
    }
}

@media only screen and (min-width: 1140px) {
    body {
        font: 20px/36px 'Open Sans', Helvetica, Helvetica Neue, Arial, sans-serif;
    }
    #portfolio {  
        margin: 1rem 0;
        -webkit-column-count: 3; 
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1rem;
        -moz-column-gap: 1rem;
        column-gap: 1rem;
        -webkit-column-width: 33.33333333333333%;
        -moz-column-width: 33.33333333333333%;
        column-width: 33.33333333333333%;
    }
    .header-container .wrapper {
        width: 96%;
    }
    .partners ul li {
        width: 20%;
        float: left;
        display: inline-block;
    }
    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    .how .col {
        width: 50%;
        float: left;
    }
    .how .col {
        width: 47%;
        padding-right: 3%;
        float: left;
    }
    .how .col:last-of-type {
        padding-right: 0%;
        padding-left: 3%;
    }
}

@media only screen and (min-width: 1600px) {
    .wrapper {
        width: 1200px;
    }
}

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

.margin-top {
    margin-top: 30px;
}
.margin-bottom {
    margin-bottom: 30px;
}
.padding-top {
    padding-top: 30px;
}
.padding-bottom {
    padding-bottom: 30px;
}

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

@font-face {
  font-family: 'moabmed';
  src: url('/font/moabmed.eot?63198475');
  src: url('/font/moabmed.eot?63198475#iefix') format('embedded-opentype'),
       url('/font/moabmed.woff2?63198475') format('woff2'),
       url('/font/moabmed.woff?63198475') format('woff'),
       url('/font/moabmed.ttf?63198475') format('truetype'),
       url('/font/moabmed.svg?63198475#moabmed') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'moabmed';
    src: url('../font/moabmed.svg?63198475#moabmed') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "moabmed";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-down-open-big:before { content: '\e800'; } /* '' */
.icon-left-open-big:before { content: '\e801'; } /* '' */
.icon-info:before { content: '\e802'; } /* '' */
.icon-right-open-big:before { content: '\e803'; } /* '' */
.icon-menu:before { content: '\e80d'; } /* '' */
.icon-linkedin-squared:before { content: '\f30c'; } /* '' */