.div-button-unidad-diseño {
    margin-top: -5rem;
    position: relative;
}
.div-button-unidad-diseño a {
    font-size: 1.3em;
    color: #EB3435;
    cursor: pointer;
}
#modal-unidad-diseño {
    border: 5px solid #c4c4c4;
    transform: translateY(-50%) !important;
    top: 50% !important;
}
#modal-unidad-diseño img {
    width: 17rem;
}
#modal-unidad-diseño h5 {
    margin-top: 0;
    margin-bottom: 2rem;
}
#modal-unidad-diseño:after {
    position: absolute;
}
#modal-unidad-diseño a.btn-close {
    width: 25px;
    text-align: center;
    color: #fff;
}
#modal-unidad-diseño a.btn-close:hover {
    background-color: #cf372b !important;
}
.contenedor-1000{
    max-width: 1000px !important;
    margin:0 auto;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media screen and (max-width: 1050px){
    .contenedor-1000{
        width: 95% !important;
    }
}
.wh100{
	width: 90%;
}
.contenedor-principal{
	display: block;
    visibility: visible;
    position: relative;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    margin: auto;
}
.contenedor-bg{
	width: 94%;
    height: 420px;
    top: 2%;
    left: 0%;
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: move;
}
.background-img{
	left: 0px;
    top: 0px;
    max-width: 100%;
    position: absolute;
    z-index: 10;
    height: 100%;
    width: 100%;
}
.background-img2{
	left: 1px;
    top: 1px;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: 30%;
    background-repeat: repeat;
    background-position: -138.125% -179.75%;
}
.contenedor-slider{
	vertical-align: top;
	display: inline-block;
	width: 4%;
	text-align: center;
	margin: 0 auto;
	margin-top: 10px;
}
.contenedor-preview-mini{
	position: relative;
	height: 69px;
	cursor: pointer;
}
.background-img-model{
	height: 100%;
    text-align: center;
    margin: auto;
    width: 100%;
    z-index: 10;
    position: absolute;
}
.background-img-patron{
	position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    background-size: 54%;
    background-repeat: repeat;
}
.hide{
	display: none;
}
.contenedor-slider-horizontal{
    display: none;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
    border: 1px solid #eb3435;
    background: #eb3435;
    border-radius: 50%;
    outline: none;
}
.contenedor-preview-principal{
    padding: 0;
}
.contenedor-mini{
    padding: 8px;
}
@media screen and (max-width: 1300px){
    .contenedor-slider{
        width: 2%;
    }
}
@media screen and (max-width: 800px){
   .contenedor-mini{
        width: 18%;
        display: inline-block !important;
        vertical-align: top;
    }
    .contenedor-preview-principal{
        width: 80%;
        display: inline-block !important;
    }
    .is-6{
        display: inline-block !important;
        width: 49% !important;
    } 
    .navbar > .list{
        z-index: 12 !important;
    }
}
@media screen and (max-width: 600px){
    .contenedor-slider{
        display: none;
    }
    .contenedor-slider-horizontal{
        display: block;
    }
    .contenedor-bg{
        width: 100%;
        height: 460px;
    }
    .contenedor-principal{
        max-width: 100%;
    }
    .contenedor-preview-principal{
        padding: 0;
    }
    .background-img2{
        height: 99%;
    }
    .contenedor-preview-mini{
        height: 70px;
        width: 57px;
    }
}
@media screen and (max-width: 450px){
    .contenedor-bg{
        height: 370px;
    }
    .contenedor-principal{
        height: 400px;
    }
    .contenedor-preview-mini{
        height: 70px;
        width: 57px;
    }
}
@media screen and (max-width: 360px){
    .contenedor-preview-mini{
        height: 66px;
        width: 45px;
    }
}
.inter-patron-similar{
    border-left: 1px dashed gray;
}
.contenedor-similar{
    display: inline-block;
    width: 50%;
    vertical-align: top;
    text-align: center;
}
.contenedor-similar h5{
        margin-top: 1em;
    margin-bottom: 1em;
}
.patron-similar{
    width: 49%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
}
.patron-similar img{
    height: 247px;
    width: 98%;
}
.bg-patron-similar{
    height: 225px;
    width: 225px;
    background-size: cover;
    background-position: center;
}
.bg-patron-similar-right{
    float: right;
}
.margin-bottom{
    margin-bottom: 2em !important;
}
@media screen and (max-width:992px){
    .patron-similar{
        margin-bottom: 20px;
    }
    .patron-similar img{
        height: 200px;
        width: 98%;
    }
    .bg-patron-similar{
        height: 180px;
        width: 180px;
    }
}  
@media screen and (max-width:830px){
    .contenedor-similar{
        width: 49%;
    }
} 
@media screen and (max-width:769px){
    .contenedor-similar{
        width: 100%;
    }
    .inter-patron-similar{
        display: none;
    }
    .patron-similar img{
        height: 270px;
        width: 98%;
    }
    .bg-patron-similar{
        height: 180px;
        width: 180px;
        margin: auto;
    }
    .bg-patron-similar-right{
        float: none;
    }
}
@media screen and (max-width:550px){
    .patron-similar img{
        height: 195px;
        width: 98%;
    }
    .div-button-unidad-diseño {
        margin-top: 0;
    }
}
@media screen and (max-width:400px){
    .bg-patron-similar{
        height: 150px;
        width: 150px;
        margin: auto;
    }
}
@media screen and (max-width:360px){
    .patron-similar img{
        height: 170px;
        width: 98%;
    }
}
@media screen and (max-width:320px){
    .patron-similar img{
        height: 150px;
        width: 98%;
    }
}
.links{
    color: #EB3435;
}
.links:hover{
    color: black;
}