/*##############################################################
#####    BASIC POPUP
##############################################################*/
.modalcenter {
    position: fixed;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
}
.modal {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    background: #fff;
    z-index: 10000;
    text-align: left;
    border-radius: inherit;
    min-width: 300px;
    max-width: 800px;
    width: 100%;
    -webkit-box-shadow: 0px 0px 18px -2px rgba(0,0,0,0.55);
    -moz-box-shadow: 0px 0px 18px -2px rgba(0,0,0,0.55);
    box-shadow: 0px 0px 18px -2px rgba(0,0,0,0.55);
}
.modal .modal-content {
    width: 100%;
    padding: 20px;
    position: relative;
}
/*
#popup:after {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  z-index: -2;
}
#popup:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #FFF;
  z-index: -1;
}
*/



/*##############################################################
#####   Hacks desactivar webkit // formularios y botones en safari 
##############################################################*/
input[type='date'], input[type='time'] { -webkit-appearance: none; }
/*select { -webkit-appearance: none;   -moz-appearance: none;  line-height:26px; }*/

/*##############################################################
#####    DEBUG
##############################################################*/
#debugger { position: fixed;  left: 10px;  bottom: 0px;  background:#000\9; background-color:rgba(0, 0, 0, 0.8);  font-size: 13px;  color: #fff;  padding: 5px 10px;  z-index:30000; }

.contenido_debug {min-width: 800px; max-width: 1024px; min-height: 400px; max-height: 600px; padding: 3px; overflow: auto; border-bottom: 1px solid lightgray; color: goldenrod; }
.contenido_debug > a, .contenido_debug > a:hover, .contenido_debug > a:visited {font-weight: bold;text-decoration: underline;color:orange; }

.boton_debug {top:6px; right:6px;  text-transform: uppercase; font-size:0.7857em;  font-weight: bold; line-height:0.7857em; padding:4px 5px;border:1px solid #ccc; background-color: black; color:#ccc; width:auto; display:inline-block; margin-right:5px; font-family:Arial, Helvetica, sans-serif; }
.boton_debug :a { color: grey; }
.boton_debug :hover { color: grey; }


/*##############################################################
#####    404
##############################################################*/
.caja_404 {
    width: 100%;
    display: block;
    margin: 0 auto;
    border: 1px solid #dbdbdb;
    background: #fff;
    padding: 40px 15px;
    position: relative;
}
.txt404 {
    font-size: 7em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1em;
    color: #ad0000;
}
.txt404_msg {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5em;
    color: #333;
    line-height: 1.2em;
}

/*##############################################################
#####    COOKIES
##############################################################*/
.cookieNotice{
	width: 100%;
	position: fixed;
	bottom:0px;
	border-top:1px solid #666;
	background: #000;
	opacity: 0.8; filter: alpha(opacity=80);
	z-index: 999999;

	line-height: 1.3em;
	font-family: arial;
	left: 0px;
	text-align:center;
}

.cookieNotice p {font-size: 12px; margin:0px; padding:0px; color:#fff;}
.cookieNotice p a {color:#fff; text-decoration:underline}
.cookieNotice p a:hover {color:#fff;}

.cookieNoticeContent{position:relative; margin:auto; padding:15px 10px; max-width:100%; display:block;}


/*##############################################################
#####    NO select (evita que los textos se puedan seleccionar.)
##############################################################*/
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}


/*##############################################################
#####    SIMPLE LIST
##############################################################*/
ul.simplelist{margin:0px 0px;}
ul.simplelist.nomargin{ margin-bottom:0px;}
ul.simplelist li {margin:0 20px 0 25px; padding:7px 0 7px 0px;}
ul.simplelist li.enlinea{display:inline-block; text-align:center; background:#ededed; padding:10px; margin:5px 0;}
ul.simplelist li a{text-decoration:underline;}

ul.simplelist.verde{color:#385d2d; margin:10px 0; line-height:1.1875em;}
ul.simplelist.verde span{font-size: 0.875em; color:#999999;}

ul.simplelist li.num {list-style-type: decimal}/*números*/
ul.simplelist li.nu0 {list-style-type: decimal-leading-zero}/*números con 0 antes*/
ul.simplelist li.min {list-style-type: lower-latin}/*minúsculas*/
ul.simplelist li.may {list-style-type: upper-latin}/*mayúsculas*/
ul.simplelist li.cua {list-style-type: square;}/*cuadrado*/
ul.simplelist li.pun {list-style-type: disc;}/*círculo relleno*/
ul.simplelist li.cir {list-style-type: circle;}/*círculo vacio*/

.notapie { font-size:0.8em; color: grey }


/*##############################################################
#####    SIMPLE TABLA
##############################################################*/
table.simpletabla { width: 100%; border-collapse: collapse; padding: 8px;  }
/*table.simpletabla {border: 1px solid #C0C0C0}*/
table.simpletabla th { border: 1px solid #000;background-color:#ababab ; padding: 5px; font-size: 0.9em }
table.simpletabla tr { border: 1px solid #000; padding: 5px; font-size: 0.9em }
table.simpletabla td {border: 1px solid #000; padding: 3px;}
