/*
 * Estilos genericos para TODAS las webs de EMO CMS
 */

/* Basicos para el PDF */
h2 { color:#82706C !important; padding:0 0 2px 0; }

/* Estados de pago */
.estadoPago_-1 { color:#ff0000; }
.estadoPago_0 { color:#F29400; }
.estadoPago_1 { color:#009430; }
.estadoPago_2 { color:#0000ff; }
.estadoPago_3 { color:#0000ff; }

td, th { padding: 0 !important; }
table td { vertical-align: top; }

/* Detalles del pedido */
.table { display:table !important; }
.table > div { display:table-row  !important; }
.table > div > div { display:table-cell !important; vertical-align:top; }

.rightText { text-align: right; }

/* Tablas genericas */
.basic_format { width: 100% !important; margin-bottom:40px;}
.doubleColumn table td:first-child, .doubleColumn > div > .table > div > div:first-child { width:30%; }
.precios td:first-child { width:auto !important; }
.basic_format.precios > div > div:nth-child(1) { width: auto !important; }
.precios td, .basic_format.precios > div > div:nth-child(2) { text-align: right; }
.border tr td, .border tr th, .basic_format.border > div > div { border-bottom: 1px solid #D0D0D0; padding:3px 0; }
.border tr td { padding:3px 0 !important; }
.basic_format .header > div, .border th { font-weight: bold; padding-bottom: 10px !important; }
.fillRows > div:nth-child(3n+2) > div, .fillRows tr:nth-child(3n+2) td { background:#e3e3e3; border:0 !important; }

.comentario_pedido { margin-bottom: 50px; }


.comentario_pedido { margin-bottom: 50px; }

.doubleColumn { margin-bottom:40px; width:100%; }
.doubleColumn > div > .table  { width:98%; }

.datos #descripcion > div { overflow: hidden; }
.datos .showMoreDescription { display:block; text-align:center; clear: both; cursor: pointer; font-weight: bold; }


/*.mini_apartado, .apartado { overflow:hidden; }*/

/* Mensajes de aviso */
.msg { margin:0 0 10px; padding:10px 25px;  color:#424242; text-align:center; background: #EEEEEE; }
.msg .btn { max-width: 300px; margin:10px auto 5px; }
.msg.info { text-align: left; }
.msg.error { background:#f80000; color:#fff; }
.msg.warn { background:#ff723a; color:#fff; }


/* Detalles de pedidos */
.pedidos.table, .proceso_compra .table { width:100%; }
.pedidos.table .cabecera { font-weight:bold; text-align:center; font-size:1.3rem; }
.pedidos.table > div > div { text-align:center; padding:7px 0; vertical-align: middle; }
.pedidos.table .btn { margin: 0; padding: 0; display: inline-block; }


/* 
 * Templates de apartados
*/
p.template { height: 0; margin:0 0 5px; line-height:10px; }
.template { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: strech; }
.template img { max-width:100%; margin: 0 auto; display:block; height:auto; }
.template > div { margin-bottom: 15px; }

/* Plantilla de 3 columnas con una imagen cuadrada, titulos y descripciones */
.template.square3img > div { max-width:400px; width: 98%; margin:20px 0; }
.template.square3img > div > img { height: 324px; }
.template.square3img > div, .template.square3img > div > img { width:100%; margin:0 auto; }

/* Plantilla de 2 columnas con imagenes redondeadas y textos */
.template.round2img > div { width: 98%; margin:20px 0; text-align: center; }
.template.round2img > div > img { height: 270px; width:270px; /*border-radius: 50%;*/ margin-bottom:20px; }
.template.round2img strong { font-size:16pt; }

/* Cuadrado con texto de color gris */
.template.square_grey { padding:10px; text-align: center; font-style: italic; background: #e0e0e0; color: #5a5a5a; font-size: 17pt; }

/* Imagen flotando a la izquierda con un texto a la derecha */
.imgfloatwithtext { overflow:hidden; }
.imgfloatwithtext .img_floater { float:left; margin-right: 20px; }

/* Plantilla de 2 columnas, una con una imagen y la otra con texto (ambas pueden contener dos imagenes o dos textos)*/
.template.cols2imgtxt > div { width: 98%; margin-top: 20px; margin-bottom:20px; }


/*
	GENERICOS - PROYECTOS
*/

/*.proyectos .listaImagenes h2, .proyectos .especialista h2 { text-align:left !important; border:none !important; font-size:17pt; line-height:17pt; text-transform:uppercase; }
.proyectos .listaImagenes h2:after, .proyectos .especialista h2:after { display:none; }*/

.proyectos .listaImagenes { text-align:center; }
.proyectos .listaImagenes > div > a { display:block; width:100%; max-width:228px; margin:0 auto 30px; text-align:center; color:#82706C; font-size:14pt; position:relative; }

.proyectos .listaImagenes > div > a > .img_wrapper {  display:block; margin-bottom:10px; position:relative; overflow:hidden; }
.proyectos .listaImagenes > div > a > .img_wrapper > img { width:100%; height:100%; z-index:5; 
	transform: scale(1); -webkit-transition: transform 0.5s; transition: transform 0.5s; 
}
.proyectos .listaImagenes > div > a > .img_wrapper:hover > img { transform:scale(1.1); -ms-transform:scale(1.1); -moz-transform:scale(1.1);  -webkit-transform:scale(1.1); -o-transform:scale(1.1); }
/*.proyectos .listaImagenes > div > a > .img_wrapper:before { content:""; position:absolute; top:0; left:0; z-index:999999; opacity:0; background:url(images/proyectos_mas_info.png) 50% 50% no-repeat rgba(130, 112, 108, 0.5);
	-webkit-transition: all 0.5s; transition: all 0.5s;  }
.proyectos .listaImagenes > div > a > .img_wrapper:hover:before { opacity:1; }

.proyectos .listaImagenes > div > a > .img_wrapper:hover:before, */
.proyectos .listaImagenes > div > a > .img_wrapper { width:100%; height:201px; border-radius: 20px !important; }

/* Muestra los "a" como botones (con un fondo asignado de forma manual)Usado principalmente en proyectos */
/*.listaSencillaBotones, */.proyectos .listaSencillaBotones > div { flex-direction: column; display:flex; flex-wrap: wrap; justify-content: space-around; } 
.listaSencillaBotones a { box-sizing: border-box; border-radius: 5px; padding: 20px; text-align: center; font-size:28pt; line-height: 28pt; margin-bottom:30px; color: #fff; background-color:#000; }
.listaSencillaBotones a:hover { color: #fff; }


@media print {
    /* Impresiones (PDF, etc...)) */
    * { font-family: Arial, "Times new Roman", Georgia, Serif; }
    .msg { padding:1px 0 0; margin-bottom:0px; }
    
    .doubleColumn { margin-bottom: 5px; }
    .doubleColumn_break { clear:both; padding-right:2%; }
    .basic_format { margin-bottom:0px; }
    
    h2 { font-weight: normal; margin:13px 0 0; }
    th { text-align: left; }
    .fillRows tr th, .fillRows tr:nth-child(3n+1) td { border-bottom:0; }

    hr { margin:3px 0; }

}

@media screen and (min-width: 400px) {
    
    .template.cols2imgtxt > div { width: 47%; min-width: 400px; }
}

@media screen and (min-width:500px) and (max-width: 755px){
	.proyectos .listaImagenes > div > a { display:inline-block; width:44%; margin:0 6% 20px 0; }
	.proyectos .listaImagenes > div > a:nth-child(2n) { margin-right:0; }
}

@media screen and (min-width: 550px) {
    .template.square3img { justify-content: flex-start; }
    .template.square3img > div { margin-left: 3%; margin-right: 3%; width: 43%; }

    .template.round2img > div { width: 44%; margin-left: 2%; margin-right: 2%; }
}

@media screen and (min-width: 775px) {
	.proyectos .listaImagenes > div > a { display:inline-block; width:29%; margin:0 6% 20px 0; }
	.proyectos .listaImagenes > div > a:nth-child(3n) { margin-right:0; } 
    .proyectos .listaSencillaBotones > div { flex-direction: row; }
    .listaSencillaBotones a { flex-direction: row; flex-basis:46%; }
}

@media screen and (min-width: 900px) {
    .template.square3img > div { width: 27%; }
}

@media screen and (max-width: 859px) {
    /*table.doubleColumn > tbody > tr, table.doubleColumn > tbody > tr >  td { display:block; }*/
}

@media screen and (min-width: 860px), print {
    .doubleColumn { overflow:hidden; }
	.doubleColumn > div, .doubleCloumn_Column { float:left; width:48%; }
    .doubleColumn > div:nth-child(2n+1), .doubleColumn_break { clear:both; margin-right:2%; }
}

    
/* RESPONSIVE */
@media screen and (max-width: 993px) {
    /* Listado de pedidos con cursor al pasar el raton */
    .pedidos.table > div { cursor: pointer; }
    .pedidos.table > div.cabecera { cursor: auto; }
}

@media screen and (min-width:992px) {	
	.proyectos .listaImagenes { width:90%; }   
}