/*
 *Color rojo: #ec2e38;
 */

body {

	background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

 
.header-bar {
	background: #393939;
	color: white;
	height: 30px;
	padding: 5px 10px;
}

#foot {
	background: #222222;
	color: white;
	height: 30px;
	margin-top: 20px;
}
.header-bar a {color: white;}

#cabecera { padding: 0px 15px; }

#div_input_buscador { padding-bottom: 10px;}

div.noticia { background: transparent; margin: 5px; margin-bottom: 25px; }
div.noticia h1 {background: transparent; color: #ec2e38; text-align: left; padding: 1px 5px; font-size: 10pt; }
div.noticia h1 a { color: #ec2e38; }
div.noticia h1 a:hover { text-decoration: underline; }
div.noticia h1 span.fecha { color: white; float: right; }
div.noticia div.contenido { padding: 2px 10px; }

div.promocion { color: black; margin: 0 auto; padding: 10px; font-size: 1em; }
div.promocion ul { margin-left: 5px; }
div.promocion li { padding-left: 1px; }
div.promocion h1 {background: transparent; color: #ec2e38; text-align: left; padding: 1px 5px; font-size: 16pt; }
div.promocion h1 a { color: #ec2e38; }
div.promocion h1 a:hover { text-decoration: underline; }
div.promocion div.contenido { padding: 2px 10px; }
div.promocion p { margin: 5px 0px; padding: 0px; }
div.promocion table.lineas th a { color:white; }
div.promocion table.lineas th a:hover { color:black; background: white; }
div.promocion table.lineas { border:1px solid black; margin: 2px auto; border-collapse: collapse; font-weight: bold; }
div.promocion table.lineas th { background: black; color: white; font-weight: bold; text-decoration: none; border: 0; padding: 0px 5px; }
div.promocion table.lineas td { border: 1px solid black; padding: 5px 5px; }
div.promocion img{
	max-width:450px;
}

div.campania { color: black; margin: 0 auto; padding: 10px; font-size: 1em; }
div.campania ul { margin-left: 5px; }
div.campania li { padding-left: 1px; }
div.campania h1 {background: transparent; color: #ec2e38; text-align: left; padding: 1px 5px; font-size: 16pt; }
div.campania h1 a { color: #ec2e38; }
div.campania h1 a:hover { text-decoration: underline; }
div.campania div.contenido { padding: 2px 10px; }
div.campania p { margin: 5px 0px; padding: 0px; }
div.campania table.lineas th a { color:white; }
div.campania table.lineas th a:hover { color:black; background: white; }
div.campania table.lineas { border:1px solid black; margin: 2px auto; border-collapse: collapse; font-weight: bold; }
div.campania table.lineas th { background: black; color: white; font-weight: bold; text-decoration: none; border: 0; padding: 0px 5px; }
div.campania table.lineas td { border: 1px solid black; padding: 5px 5px; }
div.campania img{
	max-width:450px;
}


.paginador {
    margin: 10px auto;
    height: 50px;
}

.paginador td {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding-top: 24px;
    padding-left: 50px;
}

.paginador a {
    padding: 3px 5px;
    border: 0px;
    color: silver;
}

.paginador span.paginador_marcado {
    padding: 3px 5px;
}

.paginador a:hover {
    color: yellow;
}

.paginador a.flecha { color: transparent; }
.paginador a.flecha:hover {
}

button { margin: 0px; padding: 0px; cursor: pointer; margin-top: 2px; font-weight: bold; }

table.boton { margin: 0px; padding: 0px; width: auto; }
table.boton th { border: 0px; color: black; }
table.boton td { border: 0px; margin: 0px; padding: 0px; }
table.boton th { border: 0px; color: black; }

span.obligatorio { color: red; }

table.listado {
    color: black;
}



div.vademecum { padding: 5px; font-weight: normal; font-size: 1.1em; }
div.vademecum h3 {
    color: #13A;
    font-size: 1.1em;
    border-bottom: 1px solid silver;
    margin: 10px 0px 2px 0px;
}

div.vademecum table { margin: 5px; }

div.vademecum th {
    color: black;
    padding-right: 10px;
    text-align: right;
    border:0px;
    vertical-align: top;
    padding-bottom: 10px;
}

div.vademecum td {
    padding-bottom: 10px;
}

td.numero, th.numero { white-space: nowrap; text-align: right; }
input.numero { text-align: center; }

input.textocorto {
    background:url(images/editor_corto.png) top left no-repeat;
    height:28px; width:100px;
    padding: 0px; padding-top: 5px; padding-right: 5px; border: 0px;
    margin: 0px;
}

input.textosemicorto {
    background:url(images/editor_semicorto.png) top left no-repeat;
    height:28px; width:100px;
    padding: 5px; border: 0px;
    margin: 0px;
}

input.textomedio {
    background:url(images/editor_medio.png) top left no-repeat;
    height:28px; width:172px;
    padding: 5px; border: 0px;
    margin: 0px;
}

input.textolargo {
    background:url(images/editor_largo.png) top left no-repeat;
    height:15px; width:270px;
    padding: 6px; border: 0px;
    margin: 0px;
}

textarea.textarealargo {
    background:url(images/textarea_largo.png) top left no-repeat;
    height:150px; width:280px;
    padding: 6px; border: 0px;
    margin: 0px;
    overflow: hidden;
}

textarea.textarealargo2 {
    background:url(images/textarea_largo2.png) top left no-repeat;
    height:250px; width:280px;
    padding: 6px; border: 0px;
    margin: 0px;
    overflow: hidden;
}

#cargando { position: fixed; width: 100%; left: 0px; top: 0px; display: none; z-index: 100; }
div.minitexto { position:absolute; z-index:2000; border:1px solid black; width: 200px; height: 50px; background: #FFC; padding: 5px; display: none; }
sup.minihelp { color: yellow; font-weight: bold; width: 16px; height: 16px; margin-left: 5px; font-size: 0.8em; cursor: pointer; }

div.aviso { width: 500px; margin: 0 auto; border: 1px solid #28F; background: #7CF; color: black; padding: 5px 20px; }
div.aviso ul { margin: 4px 0px; }
div.aviso ul { list-style-type: square; }

.semaforo {background: url('images/semaforo.png') no-repeat; width: 23px; height: 23px;}
.snaranja {background-position: -23px 0px;}
.srojo {background-position: -46px 0px;}
/*Campañas*/
div.campana{
	margin:auto;
	clear:both;
	margin-bottom:20px;
}
div.campana div.campanatitulo h1{
	color:#e60404;
	font-size:18px;
	margin-bottom: 5px;
}

div.campana div.campanatitulo h1 a{
	color:#e60404;	
}

div.campana div.campanatitulo h1 a:hover {
	color:#bbbbbb;	
}

div.campana div.campanaleft{
	width:120px;
	float:left;
	min-height:1px;
	margin-top: 20px;
	min-height:366px;
}
div.campana div.campanaright{
	width:370px;
	float:left;
	min-height:1px;
	text-align: right;
	margin-top: 20px;
	min-height:366px;
}
div.campana div.imagencampana{
	height:150px;
	margin-bottom:11px;
	display: inline-block;
}
div.campana div.campanaver{
	background-image:url('images/campanas/vercampana.png');
	background-repeat:no-repeat;
	width:110px;
	height:23px;
	margin-right:0px;
	text-align: right;
	background-position: -110px;
}
div.campana div.campanaver:hover{
	background-position: -220px;
	cursor:pointer;
}

div.campanavermas{
	background-image:url('images/campanas/ver_todas_promociones.png');
	background-repeat:no-repeat;
	width:190px;
	height:23px;
	margin-right:0px;
	display:inline-block;
	float: right;
	margin-top: 20px;
	margin-bottom: 20px;
}

div.campana div.campanafecha{
	font-size:11px;
	font-weight:bold;
	margin-bottom:10px;
}
div.campana div.campanadesc{

}
div.campana div.imagencampana{
	padding-left: 3px;
	padding-top: 3px;
	height:150px;
	cursor:pointer;
	margin: 0px 10px;
}
div.campana div.campanalogo{
	min-height:100px;
}
div.campanahr{
	background-image:url('images/lineacampana.jpg');
	width:100%;
	height:1px;
	display:inline-block;
	margin:auto;
	margin-bottom:20px;
}
span.miniRojo sup.minihelp{
	color:#F00;
}
.rojo{
	color:#f00;
}
.gris { color: #9c9c9c;}
.blanco { color: #ffffff;}
.bold{
	font-weight:bold;
}
div.comprarCampana{
	text-align:right; margin-right:10px; margin-top:10px;
	background-image:url('images/campanas/comprar2.png');
	display:inline-block;
	margin-top:10px;
	margin-right:10px;
	width:73px;
	height:23px;
	cursor:pointer;
}
div.comprarCampana:hover{
	background-position:-73px 0px;
}
div.campanaInactiva{
	text-align:right; margin-right:10px; margin-top:10px;
	background-image:url('images/campanas/comprar2.png');
	display:inline-block;
	margin-right:10px;
	width:73px;
	height:23px;
	background-position:-146px 0px;
}
div.actualizarCampana{
	text-align:right; margin-right:10px; margin-top:10px;
	background-image:url('images/campanas/actualizar.png');
	display:inline-block;
	margin-top:10px;
	margin-right:10px;
	width:73px;
	height:23px;
	cursor:pointer;
}
div.actualizarCampana:hover{
	background-position:-73px 0px;
}

.ui-dialog-content {
	-webkit-overflow-scrolling: touch !important;
    overflow-y: scroll !important;
}


/* Nuevo buscador */

#buscador_articulos { width: 100% }
.ui-menu-item { text-align: left; }

.ui-accordion h1 span {float: right;}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
 }
 
 .ui-button.rojo {
    background-color: red;
}

a.rojo { color: red; font-weight: bold; }



.ui-autocomplete-loading {
    background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
  }

  
#page.container {
    
}
#page.container {
    -webkit-box-shadow: 0 0 12px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 0 12px rgba(0,0,0,0.15);
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}
#page.container {
    margin: 0 auto;
}
#page {
    background: #ffffff none repeat center top;
    background-size: auto;
    background-attachment: ;
}
#page {
    position: relative;
    overflow: hidden;
}
html, body, body.page, .wf-container > * {
    font: normal normal normal 14px / 24px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    word-spacing: normal;
    color: #3d3d3d;
    font-family: Bahnschrift!important;
}

input[type=password], input[type=text], input[type=tel], input[type=url], input[type=email], input[type=number], input[type=date], input[type=range], select, textarea {
    margin-bottom: 0px;
    padding: 6px 12px;
    border: 1px solid #e0e1e1;
    background-color: #fbfcfc;
    color: #000000;
}

.bs-callout {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-right-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-right-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-right-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-right-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-right-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-right-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-right-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

@media (min-width:992px){
	.fixed { position: fixed; max-width: 1170px; z-index: 10; background-color: white; 
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.15);
		-moz-box-shadow: 0 0 10px rgba(0,0,0,0.15);
		box-shadow: 0 0 10px rgba(0,0,0,0.15);
	}

	.bajo-fixed { margin-top: 193px; }
}

.modal-backdrop {
  z-index: 20;
}


input[type=submit] {font-weight: normal!important;}

.ui-datepicker{ z-index: 9999 !important;}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

@media (min-width: 992px) { 

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vertical-align {
    display: flex;
    align-items: center;
}

}

.ui-datepicker-month, .ui-datepicker-year {color: black!important;}

#selectedOption {
    border: 2px solid #337ab7;
    border-radius: 10px;
    box-shadow: 3px 3px 10px #8c8c8c;
}

.art-div:hover {
    cursor: pointer;
}

a.mainMenu {
    color: #53954c!important;
}
a.patronesMenu {
    color: #53954c!important;
}