/* ========================================
Layout
========================================= */

section.section {
    margin: 0;
    padding: 85px 0 80px 0;
}
/* --- float --- */

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.float-center {
    float: center;
}
/* --- align --- */

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.align-items {
    display: flex;
    align-items: center;
}
/* Margin top */

.mar-top0 {
    margin-top: 0;
}

.mar-top5 {
    margin-top: 5px;
}

.mar-top10 {
    margin-top: 10px;
}

.mar-top15 {
    margin-top: 15px;
}

.mar-top20 {
    margin-top: 20px;
}

.mar-top40 {
    margin-top: 40px;
}

.mar-top80 {
    margin-top: 80px;
}
/* Margin bottom */

.mar-bot0 {
    margin-bottom: 0;
}

.mar-bot5 {
    margin-bottom: 5px;
}

.mar-bot10 {
    margin-bottom: 10px;
}

.mar-bot15 {
    margin-bottom: 15px;
}

.mar-bot20 {
    margin-bottom: 20px;
}

.mar-bot40 {
    margin-bottom: 40px;
}

.mar-bot80 {
    margin-bottom: 80px;
}
/* Margin left */

.mar-le5 {
    margin-left: 5px;
}

.mar-le30 {
    margin-left: 30px;
}
/* Margin right */

.mar-ri5 {
    margin-right: 5px;
}

.mar-ri30 {
    margin-right: 30px;
}
/* Hidden */

.hidden {
    display: none;
}
/* Inline */

.inline {
    display: inline;
}
/* Block */

.block {
    display: block;
}
/* Clear */

.clear {
    clear: both;
}

img {
    max-width: 100%;
}
/* Item aligment */

.flex-container {
    margin: 0;
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    float: left;
}

.center {
    -webkit-align-items: center;
    align-items: center;
}
/* ========================================
General styles
========================================= */
/* #EDD812 */

body {
    font-size: 1.5em;
    font-family: 'Oswald', sans-serif;
}

p {
    font-family: 'Slabo 27px', serif;
    font-size: 1.3em;
}

p.grey {
    color: #939394;
}

a,
a:hover {
    color: #5a5a5a;
    text-decoration: none;
    cursor: pointer;
    font-weight: 400;
}

ul {
    list-style-type: none;
    padding-left: 0px;
}

li {
    list-style: none;
}

.uppercase {
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 1.4em;
    color: #939394;
}

h3,
.h3 {
    margin-top: 0px;
    font-size: 18px;
}

.btn {
    background-color: #EDD813;
    color: #000;
    padding: 15px 30px;
    font-size: 1.2em;
}
/* ========================================
Navbar
========================================= */
/* Nav */

.navbar {
    min-height: 70px;
    height: auto;
}

.navbar-nav {
    float: right;
}

.navbar-nav li {
    height: 70px;
}

.navbar-nav a {
    font-size: 1.2em;
    margin-top: 20px;
}

.navbar-inverse {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.navbar-inverse .navbar-nav > li > a {
    color: #000;
    text-transform: uppercase;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.navbar-inverse {
    background-color: #fff;
    border-color: #fff;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border-color: #ddd;
}
/*Active section*/

li.active {
    background-color: #EDD812;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #000;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    color: #000;
    margin-top: 20px;
}
/*Toggle*/

.navbar-toggle {
    margin-top: 12px;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #2C2C2C;
    height: 3px;
}
/*Brand*/

.navbar-brand {
    padding: 0px 15px;
}

.navbar-brand img {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 165px;
    background-color: #fff;
    background-size: 100%;
    width: 220px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navbar-brand img.logoscroll {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    height: 57px;
    background-color: transparent;
    background-size: 145%;
    width: 133px;
    margin-top: 0px;
    margin-left: -25px;
}
/* ========================================
Home
========================================= */
/* ---- BG ---- */

#home {
    background: url(../img/bg.jpg) no-repeat center center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    opacity: 0.9;
}

#home h1 {
    text-align: right;
    margin: 22% 10% 20% 40%;
    background-color: rgba(255, 255, 255, 0.63);
    padding: 2%;
    font-size: 1.7em;
    text-transform: uppercase;
    line-height: 1.8em;
}

.go {
    position: relative;
    bottom: 40px;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
}

.go a {
    padding: 0;
    border: 2px solid #fff;
    font-size: 30px;
    color: #fff;
}
/* ========================================
Services
========================================= */

section#services {
    border-top: 1px solid #ddd;
}

section#services i {
    color: #EDD812;
    font-size: 5em;
}

.services {
    display: inline-block;
}
/* ========================================
Work
========================================= */

section#work {
    background-color: rgb(244, 244, 244);
}

section#work img {
    width: 100%;
}

.box {
    background-color: #fff;
    padding: 5% 7%;
}

section#work i {
    font-size: 4em;
    color: #EDD812;
}

section#work .box i {
    color: #EDD812;
}

.box h2 {
    margin-top: 0px;
}

.line {
    text-align: right;
    color: #5a5a5a;
    border-top: 1px solid #ddd;
    padding-top: 5px;
}

a .box {
    color: #555;
}

.boxhover:hover .box .line {
    color: #EDD812;
    border-top: 1px solid #EDD812;
}

.boxhover:hover .project-link .cover {
    opacity: 1;
}

.flex-container i {
    padding-right: 10px;
}

.otherServices p {
    color: #5a5a5a;
    font-size: 1.1em;
}
/* Modal */

.modal-dialog {
    width: 100%;
    margin: 0px;
}

.modal-header {
    min-height: 16.428571429px;
    padding: 30px;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

.modal-body {
    padding: 20px;
    height: 100%;
}

.modal-content {
    overflow: auto;
    border-radius: 0px;
}

.modal-content a {
    color: #EDD812;
}

.modal .flex-container {
    margin-bottom: 20px;
}

span.fa.fa-check {
    padding-right: 5px;
    color: #EDD812;
}

.whitebox {
    background-color: rgba(255, 255, 255, 0.91);
    min-height: 100vh;
    padding: 5% 3%;
}

.modal-dialog li {
    font-family: sans-serif;
    color: #555;
    line-height: 2em;
    font-size: 1.1em;
    padding-bottom: 10px;
}

.modal-content span.fa.fa-check {
    color: #B2B2B2;
}
/* Reformas integrales */

section#reformas {
    padding: 172px 0 60px 0;
}

section#reformas p {
    font-size: 1.1em;
}

section#reformas i {
    font-size: 4em;
    color: #EDD812;
}

section#reformas .fa-check-circle-o {
    font-size: 2em;
    color: #D6D6D6;
    margin-right: 10px;
    min-width: 32px;
}

section#reformas .flex-container {
    margin-bottom: 20px;
}
/* Cocinas */

section#cocinas {
    padding: 172px 0 60px 0;
}

section#cocinas p {
    font-size: 1.1em;
}

section#cocinas i {
    font-size: 4em;
    color: #EDD812;
}

section#cocinas .fa-check-circle-o {
    font-size: 2em;
    color: #D6D6D6;
    margin-right: 10px;
    min-width: 32px;
}

section#cocinas .flex-container {
    margin-bottom: 20px;
}
/* Baños */

section#bathroom {
    padding: 172px 0 60px 0;
}

section#bathroom p {
    font-size: 1.1em;
}

section#bathroom i {
    font-size: 4em;
    color: #EDD812;
}

section#bathroom .fa-check-circle-o {
    font-size: 2em;
    color: #D6D6D6;
    margin-right: 10px;
    min-width: 32px;
}

section#bathroom .flex-container {
    margin-bottom: 20px;
}
/* Gallery */

.my-simple-gallery {
    width: 103%;
    float: left;
    margin-left: -2px;
}

.kitchen-bg h3 {
    margin-top: 0px;
}

.restroom-bg h3 {
    margin-top: 0px;
}
/* Photoswipe */

.my-simple-gallery {
    width: 100%;
    float: left;
}

.my-simple-gallery img {
    width: 100%;
    height: auto;
}

.my-simple-gallery figure {
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    width: 150px;
}

.my-simple-gallery figcaption {
    display: none;
}

#projects img.icon {
    width: 40px;
    margin-right: 10px;
}

section#projects {
    border-top: 1px solid #DDD;
}

img.project {
    width: 100%;
}

#projects p {
    color: #8A8A8A;
    /*    border-bottom: 1px solid #ddd;*/
    
    padding-bottom: 12px;
}

#projects h3 {
    margin-top: 10px;
    font-size: 1.2em;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
}
/* Project Mouseover effects */

.project-link {
    display: block;
    position: relative;
    margin: 0 auto;
}

.project-link .cover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(237, 216, 18, 0.72);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

.project-link .cover:hover {
    opacity: 1;
}

.project-link .cover .cover-content {
    position: absolute;
    top: 20%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

.project-link .cover .cover-content i {
    margin-top: -17px;
    font-size: 3em;
    color: #fff;
}

#projects div.cover p {
    color: #fff;
    font-weight: 100;
    font-size: 0.9em;
}
/* ========================================
Claim
========================================= */

#claim {
    height: 300px;
    opacity: 0.7;
    opacity: 1;
    background: url(../img/bg.png) no-repeat fixed top;
}

.claimtext {
    background-color: rgba(237, 216, 18, 0.36);
    background-color: rgba(255, 255, 255, 0.54);
    height: 100%;
    text-align: center;
    padding: 10%;
    padding-top: 120px;
}

.claimtext h3.uppercase {
    color: #000;
}
/* ========================================
Contact
========================================= */

#map {
    height: 550px;
}

#contact {
    background-color: #E4E4E4;
}

#contact li span {
    font-size: 1.09em;
}

#contact i.fa {
    font-size: 1.4em;
}

.bottom span {
    color: #797979;
}

#contact .row {
    background-color: #fff;
    margin-right: 0px;
}

.form p {
    color: #939394;
}

p.legal {
    font-size: 1em;
    color: #555;
}

#legal a,
p.legal a {
    color: #EDD812;
}
/* Form */

.form label {
    display: none;
}

.validation {
    display: none;
    font-weight: 400;
    font-size: 1em;
    color: rgba(221, 68, 68, 0.62);
}

#sendmessage {
    border: 1px solid #AEFF9E;
    display: none;
    text-align: center;
    padding: 15px 12px 15px;
    margin: 10px 0;
    margin-bottom: 30px;
    background-color: #DCFFD5;
    clear: both;
}

#sendmessage i.fa {
    color: #77CF90;
}

#sendmessage.show,
.show {
    display: block;
}

.form {
    display: inline-block;
    padding: 0% 10% 0% 5%;
}

form button {
    margin-bottom: 10px;
}

#contact-form {
    position: relative;
    z-index: 999;
}

.form-group {
    overflow: hidden;
}

#contact-form input[type=text],
#contact-form input[type=email],
.contactForm textarea {
    width: 100%;
    font-family: 'Open Sans', sans serif;
    border: 0;
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
    padding: 0 10px;
    background-color: #eee;
    border-radius: 0px;
}

#contact-form input[type=text]:focus,
#contact-form input[type=email]:focus,
.contactForm textarea:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    transition: background 0.25 ease-in;
    -moz-transition: background 0.25 ease-in;
    -webkit-transition: background 0.25 ease-in;
}

#contact-form input[type=text],
#contact-form input[type=email] {
    height: 40px;
    margin-bottom: 3px;
}

#contact-form input[type=submit] {
    color: #fff;
    width: 185px;
    height: 60px;
    text-shadow: none;
    font-size: 14px;
    padding: 0.5em;
    letter-spacing: 0.05em;
    margin: 0 0 20px 0;
    display: block;
    border: 0;
    text-transform: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#contact-form input[type=submit]:hover,
#contact-form input[type=submit]:active {
    background: #43413e !important;
}

#contact-form textarea {
    padding-top: 1em;
}

textarea.form-control {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

div.cform-response-output {
    max-width: 60%;
    text-align: center;
    margin-left: 40% !important;
    margin-top: 0.5em !important;
    padding: 0.5em !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.cform-not-valid-tip {
    color: #888;
    border: 1px dotted #ad3729 !important;
    width: 100% !important;
    left: 0 !important;
    padding: 0.5em !important;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
/* ========================================
Footer
========================================= */

section#contact {
    padding-bottom: 0px;
}

footer {
    background-color: #E4E4E4;
}

a.scrollToTop {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 40px;
    z-index: 1049;
}

a.scrollToTop.fa.fa-angle-up {
    background-color: rgba(237, 216, 18, 0.49);
    padding: 15px 20px;
    font-size: 2em;
    color: #fff;
}

.endFooter {
    background-color: #F4F4F4;
    padding-bottom: 20px;
    padding-top: 15px;
}

.address p,
.address a {
    color: #939394;
    font-size: 1.1em;
    font-family: 'Oswald', sans-serif;
}
/* CookieBar */

#cookie-bar {
    background: rgba(17, 17, 17, 0.67);
    height: 30px;
    line-height: 24px;
    color: #eeeeee;
    text-align: center;
    padding: 3px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#cookie-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#cookie-bar.fixed.bottom {
    bottom: 0;
    top: auto;
}

#cookie-bar p {
    margin: 0;
    padding: 0;
}

#cookie-bar a {
    color: #333333;
    display: inline-block;
    border-radius: 3px;
    text-decoration: none;
    padding: 0 6px;
    margin-left: 8px;
}

#cookie-bar .cb-enable {
    background: #EDD812;
}

#cookie-bar .cb-enable:hover {
    background: #EDD812;
}

#cookie-bar .cb-disable {
    background: #990000;
}

#cookie-bar .cb-disable:hover {
    background: #bb0000;
}

#cookie-bar .cb-policy {
    background: #0033bb;
}

#cookie-bar .cb-policy:hover {
    background: #0055dd;
}
/* ========================================
Media Queries
========================================= */

@media (min-width: 1460px) {
    .modal {
        right: 10%;
        left: 10%;
    }
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    /* Modal */
    
    .modal-dialog {
        margin: 0px auto;
    }
    .carousel-caption {
        right: 20%;
        left: 20%;
        top: 30%;
    }
}

@media (max-width: 1196px) {
    section#work i {
        color: #fff;
        font-size: 3.2em;
    }
    .box h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 991px) {
    .navbar-inverse .navbar-nav > li > a {
        font-size: 0.9em;
        line-height: 1.5em;
    }
    p {
        font-size: 1.1em;
    }
}

@media (max-width: 767px) {
    section.section {
        padding: 61px 0 60px 0;
    }
    /* Navbar stuff*/
    
    .navbar {
        min-height: 60px;
    }
    .navbar-nav {
        margin: 0px -15px;
        float: none;
        text-align: center;
    }
    .navbar-header {
        height: 60px;
    }
    ul.navbar-nav {
        margin-top: 0px;
    }
    .navbar-inverse .navbar-nav > .active > a,
    .navbar-inverse .navbar-nav > .active > a:hover,
    .navbar-inverse .navbar-nav > .active > a:focus {
        margin-top: 0px;
    }
    .navbar-inverse .navbar-nav > li {
        border-bottom: 1px solid #ddd;
        height: 45px;
    }
    .navbar-inverse .navbar-nav > li > a {
        color: #000;
        font-weight: 600;
        margin-top: 0px;
    }
    .navbar-brand img.logoscroll {
        background-size: 143%;
        margin-left: -36px;
    }
    .bottom {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .details {
        text-align: center
    }
    /*  Navbar  */
    
    .navbar-brand img {
        height: 115px;
        width: 150px;
    }
    /* Home */
    
    #home {
        background: url(../img/bg.jpg) no-repeat center center;
    }
    /* Services */
    
    #services .serviceitems {
        text-align: center;
    }
    .project-link .cover {
        opacity: 1;
    }
    /* Contact */
    
    #claim {
        background: url(../img/bg.png) no-repeat center center;
    }
    .mapbox {
        padding-right: 0px;
    }
    .form {
        display: inline-block;
        padding: 0% 10% 10% 10%;
    }
    #contact h2.header {
        text-align: center;
    }
    /* Modal */
    
    .whitebox {
        padding: 10% 10%;
    }
    .reformas-bg {
        height: 820px;
        background-position: 70%;
    }
    .kitchen-bg {
        height: 550px;
        background-position: 75%;
    }
    .restroom-bg {
        height: 820px;
        background-position: 79%;
    }
    .whitebox {
        background-color: rgba(255, 255, 255, 0.85);
    }
    /* Footer */
    
    .address p,
    .address a {
        font-size: 1em;
    }
    a.scrollToTop {
        margin: 20px;
        bottom: 50px;
    }
    a.scrollToTop.fa.fa-angle-up {
        padding: 10px 15px;
    }
    #cookie-bar {
        height: auto;
        padding: 2%;
    }
    #cookie-bar p {
        font-size: 0.8em;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .btn {
        font-size: 1em;
    }
    .uppercase {
        font-size: 1em;
        line-height: 1.5em;
    }
    #home h1 {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1.9em;
    }
    p {
        font-size: 1em;
    }
    /*  Home  */
    
    #home {
        background-position: 30%;
        height: 100vh;
    }
    #home h1 {
        margin: 21% 5% 25% 30%;
        padding: 5%;
    }
    /*  Work  */
    
    .box h2 {
        font-size: 1.4em;
    }
    /*  Contact  */
    
    #map {
        height: 250px;
    }
    #contact-form {
        padding: 20px 5px;
    }
    /*  modal */
    
    .modal-dialog li {
        font-size: 0.8em;
    }
    section#work .modal-content i.ion-android-close {
        font-size: 2em;
    }
    .modal-dialog {
        width: initial;
    }
    .modal-content p {
        font-size: 1em;
    }
    .whitebox {
        min-height: initial;
    }
    .my-simple-gallery figure {
        width: 48%;
    }
    .modal-body {
        padding: 0px;
    }
    .modal-header {
        padding-bottom: 35px;
    }
    .claimtext {
        padding-top: 80px;
    }
    /* Footer */
    
    a.scrollToTop.fa.fa-angle-up {
        padding: 5px 12px;
    }
}

@media (max-width: 320px) {
    .my-simple-gallery figure {
        width: 47%;
    }
    .my-simple-gallery {
        width: 104%;
    }
    .claimtext {
        padding-top: 70px;
    }
}