/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 23-05-2016, 10:33:08
    Author     : marie-cathrinesorensen
*/

/* BASIC CSS */

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Questrial', sans-serif;
    font-size: 1em;
    text-align: justify;
    line-height: 150%;
    color: #333;
}

a:link, a:visited, a:active {
    color: #90ced7;
    text-decoration: none;
}

a:hover {
    color: #333;
    text-decoration: underline;
}

/* header */

header {
    height: 100vh;
    background: url('img/front_blue.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    display: inline-block;
}

.logo {
    color: white;
    font-size: 2.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;;
}

.logo:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.logo img {
    vertical-align: middle;
    display: inline-block;
}

.logom {
    background: url('img/front_blue.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.logom img {
    margin: 0 auto;
    padding: 50px 0;
    display: none;
    width: 60%;
}

.arrow-wrap {
    font-size: .5em;
    position: absolute;
    z-index: 1;
    bottom: 5em;
    left: 50%;
    display: block;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 50%;
}

.arrow {
    position: relative;
    float: left;
    width: 30px;
    height: 30px;
    padding: 15px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: 3px 3px white;
    box-shadow: 3px 3px white;
}

/* footer */

footer {
    background-color: #90ced7;
    color: white;
    overflow: auto;
    padding: 50px 0;
}

footer p {
    text-align: center;
}

footer img {
    margin: 0 auto;
    display: block;
}

footer a:link, footer a:active, footer a:hover, footer a:hover {
    color: white;
}

/* headings */

h1 {
    color: white;
    font-size: 1.5em;
    line-height: 180%;
    font-weight: 400;
}

h2 {
    color: #333;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 50px;
}

h3 {
    color: #90ced7;
    font-size: 1.5em;
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
}

h4 {
    color: #aaa;
    font-size: 1.2em;
    font-weight: 400;
    letter-spacing: 1px;
}

/* section style */

.section {
    background: white;
    overflow: auto;
    padding: 20px 0;
}

.section article {
    width: 75%;
    margin: 0 auto;
    clear: both;
    padding: 50px 0;
}

.parallax-window {
    min-height: 500px;
    background: transparent;
}

.duende {
    background-color: #90ced7;
    background-image: url('img/laptop.jpg');
    color: #333;
    text-align: center;
    padding: 60px 50px;
    width:100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.duende article {
    width:75%;
    margin: 0 auto;
}

#1_canvas img {
    max-width:none!important;
    background:none!important
}

/* content - service */

.service {
    float: left;
    width: 33.33%;
    text-align: center;
    padding: 0 30px 40px 30px;
}

.fa {
    color: #90ced7;
    margin-bottom: 10px;
}

/* content - contact */

.contact1 {
    float: left;
    width: 25%;
}

.contact1 p {
    margin: 0;
    padding-bottom: 15px;
}

.contact2 {
    float: left; 
    width: 40%;
    margin: 0 5%;
}

.contact3 {
    float: left;
    width: 25%;
}

.contact3 .fa:hover, .liquid-slider .fa:hover {
    color: #aaa;
    margin-bottom: 10px;
}

.contact3 a:link, .contact3 a:visited, .contact3 a:active {
    color: #333;
}

input[type=text], textarea {
    padding: 10px 20px;
    border: 0px;
    color: #999;
    background: #f2f2f2;
    width: 100%;
    margin-bottom: 5px;
    font-family: 'Questrial', sans-serif;
    font-size: 1em;
    resize: none;
}

input[type=button] {
    padding: 10px;
    background-color: #90ced7;
    border: 0px;
    color: white;
    font-family: 'Questrial', sans-serif;
    font-size: 1em;
    width: 100%;
    margin: -7px 0 50px;
    cursor:pointer;
}

.map a:link {
    color:white;
}

.map {
    margin-bottom: -30px;
}

/* navigation */

#menu {
    position: fixed;
    top: 0px;
    width: 100%; 
    height: 60px; 
    background-color: white;
    z-index: 9999;
    display: none;
    font-size: 1.3em;
    opacity: 0.95;
    -webkit-box-shadow: 0px 0px 5px 0px #333;
    -moz-box-shadow: 0px 0px 5px 0px #333;
    box-shadow: 0px 0px 5px 0px #333;
}

#menu .menuwrapper {
    width: 70%;
    margin: 0 auto;
}

#menu ul {
    list-style: none;
    display: block;
    margin-top: 20px;
    padding: 0;
}

#menu ul li {
    display: inline;
    padding-left: 40px;
}

#menu a:link, #menu a:visited, #menu a:active {
    color: #90ced7;
    text-decoration: none;
}

#menu a:hover {
    color: #333;
}

#menu .right {
    float: right;
    text-align: right;
}

#menu .left {
    float: left;
    text-align: left;
    margin-top: 15px;
}

.menuon {
    padding: 5px;
    position: fixed;
    top:0;
    right:0;
}

.menuoff {
    position: fixed;
    display:none;
}

#toggle-menu:checked ~ .mobilem ul {
    display: block;
}

#toggle-menu:checked ~ .menuoff {
    display: block;
}

#toggle-menu:checked~ .mobile-arrow {
    display: block;
}

#toggle-menu:checked~ .section {
    margin-top: 0;
}

#toggle-menu {
    display: none;
}

.mobile-arrow {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #90ced7;
    position: fixed;
    right: 45px;
    top: 16px;
    display: none; 
}

.mobilem {
    z-index: 2500;
    position: fixed; 
}

.mobilem ul {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    top: 0px;
    right: 55px;
    display: none;
    width: 70%;
    position: fixed;
}

.mobilem li {
    display: block;
    text-align: center;
}

.mobilem li a {
    display:block;
    color: white;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
    font-size: 1.3em;
    font-family: 'Questrial', sans-serif;
    background: #90ced7;
}

/* down arrow */

.arrow-wrap {
    font-size: .5em;
    position: absolute;
    z-index: 1;
    bottom: 5em;
    left: 50%;
    display: block;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 50%;
}

a.arrow-wrap {
    border-bottom-color: transparent;
}


/* WORK ALBUM */

/* grid */

#work {
    padding-bottom: 75px;
}

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

.noscroll {
    overflow: hidden;
}

.grid-wrap {
    margin: 10px auto;
    width: 100%;
    padding:0px;
}

.grid {
    position: relative;
    -webkit-transition: all 0.5s cubic-bezier(0,0,0.25,1);
    transition: all 0.5s cubic-bezier(0,0,0.25,1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.view-full .grid {
    -webkit-transform: translateZ(-1500px);
    transform: translateZ(-1500px);
}

.grid figure, .grid .placeholder {
    width: 33%;
    height: auto;
    margin: auto; 
}

.grid figure {
    display: inline-block;
    float: left;
}

.grid figure img {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.9;
    cursor:pointer;
}

.grid img {
    padding: 2%;
}

.grid figure img:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}

.grid .placeholder {
    position: absolute;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.placeholder > div {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.info {
    font-size: 1em;
}

.view-full .placeholder {
    -webkit-transition: all 0.5s 0.1s cubic-bezier(0,0,0.25,1);
    transition: all 0.5s 0.1s cubic-bezier(0,0,0.25,1);
}

.vertical .view-full .placeholder {
    -webkit-transform: translateZ(0) rotateX(0);
    transform: translateZ(0) rotateX(0); 
}

.content, .loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.content {
    overflow-y: scroll;
    height: 0;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    z-index: 400;
    background: #fff;
}

.loading {
    opacity: 0;
    z-index: 1;
    background: transparent url(img/loader.gif) no-repeat center center;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
}

.loading.show {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.content.show {
    height: auto;
    pointer-events: auto;
    visibility: visible;
}

.content > div {
    position: absolute;
    top: 0;
    width: 100%;
    overflow: hidden;
    height: 0;
    opacity: 0;
    z-index: 10;
}

.content > div.show {
    height: auto;
    opacity: 1;	
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.icon:before {
    font-family: 'fontawesome';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.close-content {
    position: fixed;
    z-index: 1000;
    top: 2.25em;
    right: 5px;
    font-size: 1.6em;
    color: #333;
    cursor: pointer;
    pointer-events: none;
    padding: 0.3em;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.close-content:hover {
    color: #999;
}

.content > div.show ~ .close-content {
    opacity: 1;
    pointer-events: auto;
}

.close-content:before {
    content: "\e602";
}

/* work content */

.dummy-img, .dummy-text {
    opacity: 0;
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
}

.vertical .dummy-img, .vertical .dummy-text {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
}

.content > div.show .dummy-img, .content > div.show .dummy-text {
    opacity: 1;
}

.vertical .content > div.show .dummy-img, .vertical .content > div.show .dummy-text {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

p.dummy-text:nth-child(2) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

p.dummy-text:nth-child(3) {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.dummy-img {
    margin: 0 auto;
    padding: 5em 0 0;
}

.dummy-img img {
    display: block;
    margin: 0 auto;
    padding: 0 0 5px;
    width: 800px;
}

.dummy-img1 {
    margin: 0 auto;
    padding: 5em 0 0;
}

.dummy-img1 img {
    display: block;
    margin: 0 auto;
    padding: 0 0 5px;
    width: 90%;
}

.dummy-text {
    text-align: justify;
    margin: 20px auto 0;
    padding: 10px 0 0;
    color: #333;
    font-size: 1em;
    width: 600px;
}

.dummy-text:last-child {
    padding-bottom: 100px;
}

/* TEAM GALLERY */

#about {
    margin-top: -70px;
}

#about h2 {
    margin-bottom: 60px;
}

.no-js .liquid-slider {
    height:300px;
    overflow:scroll;
}

.ls-wrapper {
    clear: both;
    overflow: auto;
    position: relative;
}

.liquid-slider {
    width: 100%;
    margin: 0 auto;
    float: left;
    overflow: hidden;
    position: relative;
}

.liquid-slider a:link, .liquid-slider a:visited, .liquid-slider a:active {
    color: #333;
}

.liquid-slider .ls-panel {  
    width: 100%;
    display: block;
    float: left;
}

.liquid-slider .name {
    text-align:left;
    margin-top:75px;
}

.liquid-slider h3 img {
    display:none;
}

.liquid-slider .profile {
    float:left;
    margin: 20px 20px 0 0;
}

.panel-wrapper {  
    padding: 1px 0px;
    position:relative;
    margin: 0 10px;
}

.ls-nav {
    overflow:hidden;
    clear:both;
    margin: 0 auto;
}

.ls-nav img {
    margin: 0 20px;
    width: 150px;
    border-radius: 0px;
}

.ls-nav ul {  
    padding:0;
    clear: both;
    display: block;
    margin: auto;
    overflow: hidden;
}

.ls-nav ul li {
    display: inline;
}

.ls-nav ul li a {
    display: block;
    float: left;
    text-decoration: none;
} 


/* RESPONSIVE */

@media screen and (min-width: 105em) {

    #menu .menuwrapper {
        width: 70em;
    }
    
    .section article {
        width: 70em;
    }
    
    .duende article {
        width: 70em;
    }

    .grid figure, .grid .placeholder {
        width: 32%;
        height: auto;
        margin:auto;
    }
    
    .grid img {
        padding: 2%;
    }
}

@media screen and (max-width:77.5em){
    
    .service {
        width: 50%;
    }
    
    .ls-nav img {
        width: 120px;
    }

}

@media screen and (max-width:65em){
    
    .ls-nav img {
        width: 75px;
    }
    
    .liquid-slider .profile {
        height: 350px;
    }
    
    .liquid-slider .name {
        margin-top:55px;
    }

}

@media screen and (max-width:60em){

    .liquid-slider .profile {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .liquid-slider .name {
        padding-top: 20px;
        text-align:center;
        clear: both;
    }
    
    .liquid-slider h4 {
        text-align:center;
    }
    
    #menu {
        font-size: 1em;
    }
    
    #menu ul li {
        padding-left: 20px;
    }
 
}

@media screen and (max-width:54em){
    
    .service {
        width: 100%;
    }
    
    h1 {
        font-size: 1.2em;
    }
    
    .contact1 {
        float: none; 
        width: 100%;
        display:block;
        text-align: center;
        margin: 0 0 10px;
    }

    .contact2 {
        float: none; 
        width: 100%;
        display:block;
        margin: 0 auto;
    }

    .contact3 {
        float: none; 
        width: 100%;
        display:block;
        text-align: center;
    }

}

@media screen and (max-width: 50em) {

    .grid figure, .grid .placeholder {
        width: 100%;
        height: auto;
        margin: auto;
    }
    
    .grid img {
        padding-top: 10px;
    }
    
    .dummy-img img {
        width: 90%;
        margin: 0 auto;
    }
    
    .dummy-text {
        width: 90%;
    }
    
    .menuwrapper {
        display:none;
    }

    header {
        display:none;
    }
    
    .ls-nav img {
        width: 50px;
    }
    
    .logom img {
        margin:0 auto;
        padding: 50px 0;
        display: block;
    }
    
    .close-content {
        top: 10px;
        right: 5%;
    }

}

@media screen and (min-width:50.1em) {
    .mobilem {
        display:none;
    }
    
    .menuon {
        display: none;
    }
    
    #toggle-menu:checked~ .mobile-arrow{
        display: none;
    }
}

@media screen and (max-width: 37em) {
    
    .ls-nav img {
        width: 25px;
    }
}

@media screen and (max-width: 27em) {
    
    .ls-nav img {
        margin: 0 5px;
    }
}