@font-face {
    font-family: "GothamBook";
    src: url("fonts/GothamBook.eot");
    font-weight: normal;
}

@font-face {
    font-family: "GothamBook";
    src: url("fonts/GothamBold.otf");
    font-weight: bold;
}

.cursor-pointer {
    cursor: pointer;
}

#navbar .nav-link:not(.active):hover {
    color: rgba(255,255,255,.55);
    cursor: not-allowed;
}

button i {
    padding-right: 10px;
}

a, a:hover, a:active {
    text-decoration: none;
}
html, body {
    height: 100%;
    font-family: "GothamBook", sans-serif;
    overflow: hidden;
    background-color: #212529;
    min-width: 340px;
    overflow-x: auto;
}
.body {
    padding: 0;
    margin: 0;
}
.navbar .navbar-brand {
    padding-right: 50px;
}
@media (max-width: 990px){
    .navbar .navbar-brand {
        padding-right: 0;
    }
}
@media (max-width: 400px){
    .navbar .navbar-brand {
        font-size: 15px;
    }
}
.navbar .nav-link span {
    margin: 0 5px 0 0;
}
.navbar .icon::before {
  content: "";
  background-image: url(../images/icon_ambiente.png);
  background-size: 20px;
  background-repeat: no-repeat;
  display: inline-block;
  margin-right: 15px;
  height: 20px;
  width: 20px;
}
.navbar .icon_ambiente::before {
  background-image: url(../images/icon_ambiente.png);
  height: 22px;
}
.navbar .icon_tamano_pared::before {
  background-image: url(../images/icon_tamano.png);
  height: 25px;
}
.navbar .icon_texturas::before {
  background-image: url(../images/icon_texturas.png);
}
.navbar .icon_colores::before {
  background-image: url(../images/icon_colores.png);
}
.navbar .icon_borrar::before {
  background-image: url(../images/icon_borrar.png);
}
.navbar .icon_descargar_lista::before {
  background-image: url(../images/icon_materiales.png);
  background-size: 18px;
}
.navbar .icon_descargar_imagen::before {
  background-image: url(../images/icon_imagenes.png);
}
.navbar .icon_compartir::before {
  background-image: url(../images/icon_compartir.png);
  background-size: 15px;
  height: 26px;
}
.navbar .icon_donde_comprar::before {
  background-image: url(../images/icon_donde_comprar.png);
  background-size: 18px;
  height: 26px;
}

.footer {
    position: fixed;
    bottom: 0;
    display: block;
}
.footer .tab {
    background: #3c3f43;
    padding: 5px 25px;
    border-radius: 25px 25px 0 0;
    border: 1px solid white;
    border-bottom: none;
    color: white;
    display: inline-block;
    position: relative;
    left: 60px;
    font-size: 24px;
}
.footer .content {
    background: #3c3f43;
    padding: 15px 30px;
}
.footer.closed .bi-chevron-double-down,
.footer:not(.closed) .bi-chevron-double-up {
    display: none;
}
.footer .inline {
    position: relative;
    display: block;    
    margin-bottom: 10px;
}
.footer .inline label {
    color: #fff;
    width: 150px;
}
.footer .inline .input-inline {
    color: #fff;
    font-size: 14px;
    background: #676a6f;
    border: none;
    padding: 5px;
    width: 80px;
}

/*Textures box*/
.textures-wrapper {
    padding: 10px;
    width: 250px;
    background-color: white;
    z-index: 999;
    position: absolute;
    top: 50px;
    box-shadow: 1px 1px 5px #3c3f43;
    right: 25px;
}
.textures-wrapper .close,
.textures-wrapper .open,
.textures-wrapper .close-mobile {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 24px;
}
.textures-wrapper .textures-container {
    height: 400px;
    overflow-y: auto;
}
.textures-wrapper.hide .open, .textures-wrapper .close { display: block; }
.textures-wrapper.hide .close, .textures-wrapper .open { display: none; }
.textures-wrapper.hide .textures-container {
    display: none;
}
.textures-wrapper p.title {
    color: #aaa;
}
.textures-container .textures-combinations {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px 0;
}
.textures-container .box-texture {
    width: 47px;
    height: 47px;
    margin: 2px;
    cursor: pointer;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.textures-container .box-texture.selected {
    border: 2px solid black;
}
.textures-container .texture-name {
    font-weight: 600;
}
.textures-container .texture-name.subtitle {
    font-weight: normal;
}
.preview-container .tab {
    display: none;
}

@media (max-width: 991px) {
    .textures-wrapper {
        width: 100%;
        height: 80%;
        top: 0;
        right: 0;
        margin-bottom: 20%;
    }
    .textures-wrapper .textures-container {
        height: 100%;
    }
    .textures-wrapper .close,
    .textures-wrapper .open {
        display: none !important;
    }
    .textures-wrapper .close-mobile {
        display: block;
    }

    .preview-container .tab {
        background: #3c3f43;
        padding: 15px 5px 15px 15px;
        border-radius: 25px 0 0 25px;
        border: 1px solid white;
        border-right: none;
        color: white;
        display: block;
        position: absolute;
        top: 60px;
        right: 0;
        font-size: 24px;
    }
}

.section.ambiente {
    background: #656565;
    height: 100%;
    padding: 25px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    /*justify-content: flex-start;*/
    overflow-y: auto;
}
.section.ambiente .element-ambiente {
    height: 200px;
    background-color: black;
    margin: 10px 0;
    cursor: pointer;
    position: relative;
}
.section.ambiente .element-ambiente.selected {
    box-shadow: 1px 1px 20px #a9a9a9;
}
.section.ambiente .element-ambiente .image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.section.ambiente .element-ambiente .image.living {
    background-image: url("../images/ambientes/living.jpg");
}
.section.ambiente .element-ambiente .image.habitacion {
    background-image: url("../images/ambientes/habitacion.webp");
}
.section.ambiente .element-ambiente .image.baño {
    background-image: url("../images/ambientes/baño.jpg");
}
.section.ambiente .element-ambiente .image.cocina {
    background-image: url("../images/ambientes/cocina.jpg");
}
.section.ambiente .element-ambiente .image.fachada {
    background-image: url("../images/ambientes/fachada.jpg");
}
.section.ambiente .element-ambiente .image.patio {
    background-image: url("../images/ambientes/patio.jpg");
}
.section.ambiente .element-ambiente:hover .image,
.section.ambiente .element-ambiente.selected .image {
    opacity: 0.4;
}
.section.ambiente .element-ambiente:hover span,
.section.ambiente .element-ambiente.selected span {
    display: block;
}
.section.ambiente .element-ambiente span {
    display: none;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.section.preview:not(.loading) .texture-loader {
    display: none !important;
}
.section.preview:not(.error) .texture-error {
    display: none !important;
}
.section.preview.error .icon-360,
.section.preview.loading .icon-360 {
    display: none !important;
}
.section.preview .texture-loader,
.section.preview .texture-error,
.section.preview .icon-360 {
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#container {
    width: 100%;
    height: 100vh;
    background-color: #212529;
}

.modal-presupuesto {
    background-color: rgba(0, 0, 0, 0.85);
    position: relative;
    color: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid white;
    min-width: 70%;
    z-index: 999;
    margin: 0;
    top: 10px;
    left: 10px;
}
.modal-presupuesto .close {
    position: absolute;
    right: 20px;
    top: 15px;
    transform: rotate(135deg);
    font-size: 30px;
    cursor: pointer;
}
.modal-presupuesto .title {
    margin-bottom: 15px;
}
.modal-presupuesto p {
    margin: 0;
    padding: 0;
    font-size: 14px;
}
.modal-presupuesto .detail .row {
    border-bottom: 2px solid white;
    padding-bottom: 25px;
    padding-top: 25px;
}

.modal-presupuesto .detail .row:last-child {
    border-bottom: 0 solid white;
    padding-bottom: 0;
    padding-top: 25px;
}
