* {
    margin: 0px;
    padding: 0px;
}

html, body {
    height: 100%;
    font-family: sans-serif;
    color: #fff;
}

a {
    color: #c4c4c4;
}

a:hover {
    text-decoration: none;
}

.cover {
    width: 100%;
    height: 100%;
}

.selected {
    font-weight: bold;
}

.section-title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.4em;
    /*text-decoration: underline;*/
}

.section-desc {
    font-size: 1.1em;
}

.intro {
    max-height:517px;
    overflow: hidden;
    position: fixed;
    text-align: center;
    top: 0;
}

.intro-bg {
    background: url(../images/BricolabsWide-1200.jpg) no-repeat center center;
    background-size: cover;
    overflow: hidden;
    position: absolute;
}

.intro-placeholder {
    position: relative;
    max-height:517px;
}

header {
    position: fixed;
    height: 70px;
    top: 0px;
    width: 100%;
    z-index: 900;
    font-weight: bold;
}

.menu-bg {
    height: 70px;
    width: 100%;
    position: absolute;
    background-color: #f4f4f4;
    display: none;
    top: 0;
    left: 0;
    z-index: -1;
}

.menu li {
    display: inline;
    padding: 0 10px;
    line-height: 70px;
    font-family: sans-serif;
}

.menu-dark {
    color: #000 !important;
    border-bottom: solid 1px;
}

#main-menu a {
    color: inherit;
    text-decoration: none;
}

#main-menu a:hover {
    text-decoration: underline;
}

.menu {
    float: right;
}

#logo {
    position: relative;
    margin-top: 70px;
    width: auto;
    height: 70%;
    max-height: 396px;
}

.logo-mini {
    display: none;
    margin: 3px 0px;
}

.desc-image {
    display: table-cell;
    margin-right: 90px;
    -webkit-box-shadow: 3px 4px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 4px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 4px 20px 0px rgba(0,0,0,0.75);
}

.desc-text {
    display: table-cell;
    vertical-align: middle;
    font-size: 1.1em;
}

#video-bricolabs{
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

.video {
    position: relative;
}

.table {
    display: table;
}

.content {
    background-color: #645B5B;
    
    width:100%;
    position: relative;
    z-index: 100;
    padding-bottom: 70px;
    padding-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.proto-bg {
    position: relative;
    background-attachment: fixed !important;
}

.proto {
    width: 100%;
    overflow: hidden;
}

.img-container {
    margin: 20px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-color: #000;
    -webkit-box-shadow: 3px 4px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 4px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 4px 20px 0px rgba(0,0,0,0.75);
}

.img-container img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.proyects .wrapper, .media .wrapper {
    text-align: center;
}

.img-desc {
    width: 100%;
    margin: 40px 5px;
    position: absolute;
}

.wrapper {
    max-width: 1270px;
    width: 90%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.show-menu {
    display: none;
    float: right;
    width: 40px;
    height: 40px;
    margin: 15px 0px;
    background: url(../images/menu.png) no-repeat center center;
    cursor: pointer;
}

.close-menu {
    background: url(../images/close.png) no-repeat center center !important;
    cursor: pointer;
}

.image-fullscreen {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1001;
    top: 0;
    text-align: center;  
}

.shadow {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    background-color: #000;
    top: 0;
}

.image-fullscreen img{
    margin-top: 100px;
    max-width: 90%;
    max-height: 90%;
}

.close-image {
    float: right;
    margin:20px;
    background: url(../images/close-white.png) no-repeat center center;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

footer {
    height: 80px;
    width: 100%;
    background-color: #ccf;
    text-align: center;
    padding-top: 30px;
}

footer img {
    width: 35px;
    padding: 5px;
    display: inline;
}

@media screen and (max-width: 900px) {
    .desc-image {
       width: 100%;
       display: block;
       margin-bottom: 40px;
     }
     
     .twitter, .facebook, .desc-text, .menu-bg, .logo-mini {
         display: inline;
     }
     
     .show-menu {
         display: inline;
     }
         
     #video-bricolabs {
        display: none;
     }
     
     .menu {
        display: none;
        position: fixed;
        top: 70px;
        width: 100%;
        background-color: #f4f4f4;
        text-align: center;
        color: #000;
    }

    .menu li{
        margin: 1.5em 0;
        display: block;
        line-height: 1em;
    }
}

@media screen and (max-width: 400px) {
    .img-container {
        width: 90%;
    }
}

@media screen and (max-width: 320px) {
    .intro-bg {
        background: url(../images/BricolabsWide-320.jpg) no-repeat center center;
        background-size: cover;
    }
    
    .intro-placeholder, .intro, .intro-bg {
        max-height: 200px;
    }
    
    .proto {
        height: 240px;
    }
    
    .video {
        background: url(../images/bricolabs-taller-320.jpg) no-repeat center center;
        height: 138px;
    }
    
    .proto-bg {
        background: url(../images/bricolabs-proto-320.jpg) no-repeat center bottom;
        background-attachment: scroll !important;
        height: 240px;
    }
}

@media screen and (max-width: 768px) and (min-width: 321px){
    .intro-bg {
        background: url(../images/BricolabsWide-768.jpg) no-repeat center center;
    }
    
    .intro-placeholder, .intro, .intro-bg {
        max-height: 300px;
    }
    
    .video, .proto {
        height: 250px;
    }
    
    .video {
        background: url(../images/bricolabs-taller-768.jpg) no-repeat center center;
    }
    
    .proto-bg {
        background: url(../images/bricolabs-proto-768.jpg) no-repeat center bottom;
        background-attachment: scroll !important;
        height: 576px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px){
    .intro-bg {
        background: url(../images/BricolabsWide-1024.jpg) no-repeat center center;
    }
    
    .intro-placeholder, .intro, .intro-bg {
        max-height: 400px;
    }
    
    .video, .proto {
        height: 350px;
    }
    
    .video {
        background: url(../images/bricolabs-taller-1024.jpg) no-repeat center center;
    }
    
    .proto-bg {
        background: url(../images/bricolabs-proto-1024.jpg) no-repeat center bottom;
        height: 768px;
    }
}

@media screen and (max-width: 1200px) and (min-width: 1025px){
    .intro-bg {
        background: url(../images/BricolabsWide-1200.jpg) no-repeat center center;
    }
    
    .video, .proto {
        height: 400px;
    }
    
    .video {
        background: url(../images/bricolabs-taller-1200.jpg) no-repeat center center;
    }
    
    .proto-bg {
        background: url(../images/bricolabs-proto-1200.jpg) no-repeat center bottom;
        height: 900px;
    }
}

@media screen and (min-width: 1201px){
    .intro-bg {
        background: url(../images/BricolabsWide-1600.jpg) no-repeat center center;
        background-size: cover;
    }
    
    .video, .proto {
        height: 450px;
    }
    
    .video {
        background: url(../images/bricolabs-taller-1600.jpg) no-repeat center center;
    }
    
    .proto-bg {
        background: url(../images/bricolabs-proto-1600.jpg) no-repeat center bottom;
        background-size: cover;
        height: 1200px;
    }
}
