:root {
    --swiper-theme-color: white;
    --swiper-pagination-bullet-inactive-color: white;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    font-size: 100%;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}
body {
    line-height: 1;
}
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    display: block;
}
nav ul {
    list-style: outside none none;
}

.clear {
    clear:both;
}

.center {
    text-align:center;
}
.enlarge {
    max-height:100vh;
    overflow:hidden;
    cursor:pointer;
}


.viewer {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.9);
    bottom: 0;
    height: 0;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.5s ease 0s;
    z-index: 2000;
}
.viewer-inner {
    background-size: cover !important;
    bottom: 0;
    cursor: zoom-out !important;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.gallery-next {
    bottom: 0;
    cursor: e-resize;
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
}
.gallery-prev {
    bottom: 0;
    cursor: w-resize;
    left: 0;
    position: absolute;
    top: 0;
    width: 200px;
}
body.fullscreen {
        position: relative;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
}
.swiper-slide.swiper-slide-zoomed {
    background-color:black;
}

.swiper-slide.swiper-slide-zoomed .img {
    background-color:transparent;
}
.swiper.zoom {
    opacity:0;
    transition: opacity 0.3;
}
.fullscreen .swiper.zoom {
    opacity: 1;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: none;
}
a {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    text-decoration:none;
    outline:0;
    
}

.noSelect,
.noSelect * {
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #fff;
    color: #000;
    margin: 0;
    color: #333;
    margin: 0;
    padding: 30px 0;
}

body, p, a {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    color:#B6B7BA;
}

h2.title {
    text-transform: uppercase;
    font-weight: normal;
     font-size: 26px;
}


#header {
    margin-top:40px;
    margin-bottom: 130px;
}

#header h1 {
   margin:0;
   text-indent:-9999px;
   height:130px;
   background:url('images/logo.svg') no-repeat;
}



#header p.email {
    margin-bottom:30px;
}

#header p.email a {
    color:#000;
}


.container {
    margin: 0 auto;
    width: 990px;
}

ul.blocks {
	text-align:center;
	}

ul.blocks li {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

ul.blocks li.project {
    display: inline-block;
    zoom: 1; *display: inline; /* IE < 8: fake inline-block */
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
}

ul.blocks li.project,
ul.blocks li.project img {
    width:330px;
    height:330px;
}

.swiper-slide .img {
    background: none repeat scroll 0 0 #eee;
    max-width: 100%;
    width: 100%;
    height:auto;
}

/*.fullscreen {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index:200;
}*/




a img, .img a {
    border: 0 none !important;
    display: block;
}

.append-bottom {
    margin-bottom: 10px;
}



.is-fullscreen .carousel-item,
.is-fullscreen .enlarge {
    height:100%;
    position:relative;
    overflow:hidden;
}

.is-fullscreen .carousel-item .img {
    margin-bottom:0;
    width:100%;
    height:100%;
   object-fit: cover;
 }

 .is-fullscreen .img-container {
     width:100%;
     height:100%;
     background-size:cover;
     background-position:center;
 }

 .is-fullscreen .img-source {
     display:none;
 }

.description {
    background-color: #777;
    padding: 20px;
}

.description p {
    color:#333;
}

.description a {
    color:#ddd;
    text-decoration: underline;
}

.description p + p {
    margin-top:10px;
}

.swiper-slide {
    width:100%;
}

.projects-nav {
    display:block;
    font-size:23px;
    margin-bottom:20px;
}


.projects-nav .prev {
     width:30px;
     height:30px;
   float:left;
}

.projects-nav .index {
    text-align: center;
}

.projects-nav .next {
    width:30px;
    height:30px;
    float:right;
    text-align: right;
}

.projects-nav .arrow {
    fill:#B6B7BA;
}

#footer {
    margin-top:40px;
}


@media only screen and (min-width: 1px) and (max-width: 1010px) {
    .container {
        width: 660px;
    }
}

@media only screen and (min-width: 501px) and (max-width: 680px) {
    .container {
        width: 490px;
    }
    #header {
        margin-bottom: 80px;
        margin-top: 20px;
    }

    #header h1 {
        width:490px;
        height:120px;
        background:url('images/logo.svg') no-repeat;
        background-size: 490px 120px;
     }
     
    ul.blocks li.project,
    ul.blocks li.project img {
        width:245px;
        height:245px;
    }
}

@media only screen and (min-width: 1px) and (max-width: 500px) {
     .container {
        width: 100%;
        padding:0 20px;
        box-sizing: border-box;
    }
    #header {
        margin-bottom: 40px;
        margin-top: 20px;
    }

    #header h1 {
        width:100%;
        height:0;
        padding-bottom:25%; 
        background:url('images/logo.svg') no-repeat;
        background-size: contain;
     }
     
    ul.blocks li.project {
        width:50%;
        height:50%;
    }
    ul.blocks li.project img {
        width:100%;
        height:100%;
    }
}


@media screen and (max-height:400px) { 
    #header {
        margin-top: 0;
        margin-bottom: 30px;
    }

    #header p.email {
        margin-bottom: 10px;
    }

    #header h1 {
        height:80px;
        background-size:contain;
     }
}