/*
*
* Main css Style for whole web
*
*/
/*-----------------------------------------------------------------------------
 *
 * GENERAL
 *
 */
* {
    margin: 0;
    padding: 0;
}

html {
    /*font-family: 'Open Sans',Arial,Helvetica,sans-serif;*/
    font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
    font-size: 10pt;
    width: 100%;
    height: 100%;
    background-color: #fff;/*#EBE9E2;*/
    background-color: #EBE9E2;
    max-width: 1024px;
    min-width: 858px !important;
    margin: 0 auto;
    width: auto;
}

a {
    color: blue;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #ff0000;
}

p {
    margin: 0.5em auto;
    width: 90%;
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1em;
    margin-bottom: 1em;
}

h1 {
    margin-top: 2em;
    text-align: center;
}

h2 {
    text-align: center;
    font-size: 2em;
    font-weight: normal;
}

ul {
    list-style: none;
}

input[type='submit'],
.submit {
    background: url("img/ui-bg.e6.png") repeat-x scroll 50% 50% #e6e6e6;
    padding: 0.4em 0.5em;
    border: 1px solid #D3D3D3;
    font-weight: normal;
    color: #555;
    font-family: Verdana,Arial,sans-serif;
    font-size: 1.1em;
    display: inline-block;
    border-radius: 4px;
    margin-right: 0.1em;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    overflow: visible;
}

input[type='submit']:hover,
.submit:hover
{
    background: url("img/ui-bg.da.png") repeat-x scroll 50% 50% #dadada;
}

input[type='submit']:active,
.submit:active
{
    background: url("img/ui-bg.ff.png") repeat-x scroll 50% 50% white;
}

#captcha {
    width: 300px;
    margin: 1em auto;
    text-align: center;
}

#warning-top, .msg-error {
    background-color: red;
    width: 100%;
    padding: 1em;
    color: white;
    font-weight: bold;
}

.msg-error {
    width: auto !important;
}

.msg-bad {
    width: 40%;
    margin: -2em auto 1em auto;
    background-color: red;
    color: white;
    border-radius: 7px 7px;
    padding: 0.5em 0.2em;
}
.msg-bad p {
    text-align: center !important;
}

#warning-top p, .msg-error p, .msg-nice {
    text-align: center;
}
.aviso {
    text-align: center;
    color: red;
    font-size: 1.2em;
    margin-bottom: 2em;
}
.text-icon {
    width: 35px;
}
input[type=text], textarea, input[type=password],.geolocation,.input {
    border: 1px solid #b9b9b9;
    border-top: 1px solid #c0c0c0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}

input[type=text]:hover, textarea:hover, input[type=password]:hover,.hoverInput {
    border: 1px solid #999;
    border-top: 1px solid #a0a0a0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

input[type=text]:focus, #container textarea:focus, input[type=password]:focus,.geolocation:focus,.activeInput {
    outline: none;
    border: 1px solid #4d90fe;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.no-italic {
    font-style: normal !important;
}

.clear {
    clear: both;  
}

.no-style {
    border: none !important;
}

.red {
    color: red !important;
}

/*
 *
 * END GENERAL 
 *
 *-----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
 *
 * CONTAINER
 *
 */
#container {
    background-color: #fff;
    margin: 0 auto;
    height: 100%;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.3);
    border-radius: 20px 20px 0px 0px;
}

/*-----------------------------------------------------------------------------
 *
 * CONTENT
 *
 */
#content {
    border-spacing: 0;
    width: 1000px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    margin-bottom: 1em;
}
#logo-guardiero{
    position: absolute;
    margin-left: 1.2em;
    margin-top: -1.7em;
}
#top {
    margin-top: 1em;
    font-size: 38px;
    font-weight: bold;
    text-align: left;
    line-height: 80px;
    color: #666;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 20px 20px 0px 0px;
    background-color: #9CAE24;
    text-align: left;
}

#top > img {
    margin-top: 10px;
    float: left;
}

#top #nombre {
    margin-left: 1em;
    font-style: italic;
}

#social {
    float: right;
    width: 300px;
    right: 200px;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
}

#social .title {
    line-height: 40px;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
}

#social a, #social a img {
    float: none;
}

#social a img {
    vertical-align: middle;
}

#top #aceptar-cookies {
    line-height: 25px;
}

#top-menu {

    text-align: center;
    margin:  2em auto 0 auto;
    width: auto;
}
#nav {
    font-size: 125%;
    margin-bottom: -2em;
}
#nav li {
    display: inline;
    padding: 0.5em 0;
    background-color: #000;
    margin-right: -0.3em;
}
#nav  a{
    color: white;
    padding: 0.5em;
    border: solid 1px #bbb;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
#nav a:hover,#nav a:active {
    background-color: #9CAE24;
    padding: 0.7em 0.5em;
}
/*-----------------------------------------------------------------------------
 *
 * CONTENT
 *
 */
.e1{
    width: 300px !important;
}
#content p {
    line-height: 1.5em !important;
}
#content h1 {
    text-align: left;
    font-weight: normal;
    border-bottom: solid 1px grey;
    line-height: 70px;
}
#map_canvas {
    margin: 0 auto 2em auto;
    width: 80%; 
    height: 550px;
    border: solid 1px #9CAE24;
}
#data-top {
    margin: 5em auto 0 auto;
    width: 80% !important;
    text-align: center;
}

#data-top {
    width: 100%;
}

#data-top h2 {
    text-align: left;
}

#tabs-data-top {
    margin-left: 50px;
    width: 500px;
    margin-top: 25px;
    padding-bottom: 8px;
}
#tab1, #tab2, #tab3 {
    padding: 2em;
    border-top: solid 1px #9CAE24;
    z-index: 1;
}
#tab3 {
    margin-bottom: 0;
}
#tabs-data-top ul {
    text-align: center;
    width: auto;
}

#tabs-data-top ul li {
    display: inline;
    padding: 8px;
    border-top: solid 1px grey;
    border-left: solid 1px grey;
    border-right: solid 1px grey;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    z-index: 2;
}
#text-top h2 {
    text-align: left;
}

#text-top p, #data-top p {
    line-height: 1.2em;
    margin-bottom: 0.8em;
}

#text-top ul {
    margin: 0 auto;
    width: 90%;
    text-align: justify;
}

#text-top ul li {
    margin-bottom: 1em;
}

/* TABLA DE RESULTADOS AL BUSCAR EN LA PAG VER FARMACIAS */
.data {
    border-spacing: 0;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.data td, .data th {
    padding: 1em;
}

.data th, .data td {
    vertical-align: center;
}

.data td {
    border-bottom: solid 1px #999;
}

.data th {
    border-bottom: solid 1px #000;
}
.data tr {
    background-color: inherit;
    transition: background 0.8s;
}
.data .bg-uno {
    background-color: #f0f0f0;
}

.data tr:last-child:hover {
    background-color: inherit;
}

.data thead tr:hover {
    background-color: inherit !important;
}
.no-style {
    background-color: white !important;
}
/* -- */
#data-bot {
    border-top: solid 1px #000;
    border-bottom: none;
    text-align: left;
}


#login, #login h1, .register p {
    margin: 0 auto;
    width: auto;
    text-align: center;
}

.imp {
    float: right;
    margin-top: 1.5em;
    margin-right: 5em;
}

.register {
    margin-top: 2em;
    line-height: 1.5;
    margin-bottom: 3em !important;
}

#ver-otros {
    border-top: 2px solid black;
    text-align: left;
    border-bottom: none;
}

#guardiashoy-table, #data-services table {
    text-align: center;
}

#guardiashoy-table td, #data-services table td {
    padding: 0.2em;
}

#guardiashoy-table, #data-services, #busq-cod-pos, #ver-farm-index {
    width: auto;
    margin: 0 auto 3em auto;
    text-align: center;
}
#visualizador{
    text-align: center;
}
#visualizador input {
    color: #fff;
    background-color: black;
    padding: 0.3em;
    cursor: pointer;
    font-size: 19pt;
    border-radius: 20px;
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
}

#visualizador input:hover {
    background-color: #9CAE24;

}
.noprint {
    text-align: center;
}

#protitle {
    text-decoration: none;
    font-size: 0.8em;
    background-color: white;
    margin-top: -1.2em;
    float: left;
    padding: 0.5em;
    margin-left: 8em;
    border-radius: 0.5em;
    border: solid 1px blue;
    transition: all 0.2s ease-in-out;
}

#provincias {
    border-radius: 2em;
    /*border: solid 1px #000000;*/
    padding: 2em 0;
    background-color: white;
    width: 100%;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

#provincias li {
    float: left;
    display: inline;
    width: 15%;
    margin-left: 5em;
}
#mapa-esp {
    text-align: center;
    width: 800px;
    margin: 0 auto;
}
/* Busqueda cercana */
#form-bus-cercana, #resultados-busqueda-cercana {
    margin: 1em auto 1em auto;
    width: auto;
    border-spacing: 0;
    border-collapse: collapse;
}

#resultados-busqueda-cercana td, #resultados-busqueda-cercana th {
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

#resultados-busqueda-cercana tbody tr:hover {
    background-color: #cccccc;
}

/* Frame */
#content-frame p {
    text-align: left;
}

#content-frame input[type=submit] {
    margin-top: 1.2em;
}

/* Turnos */
#enlaces-turnos {
    margin: 0 0 0 4em;
    padding: 0;
    float: left;
}

#enlaces-turnos li {
    margin-bottom: 1em;
}

#table-cell {
    float: left;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

#table-cell th {
    height: 25%;
    font-size: 110%;
}

#table-cell td {
    text-align: center;
    font-size: 8pt !important;
}

/* Mas farmacias */
#content-farmacias-mas {
    float: left;
    margin-left: 20%;
}

#content-farmacias-mas table {
    margin-bottom: 3em;
    border-spacing: 0;
    text-align: left;
}

#content-farmacias-mas table th {
    color: red;
    padding: 0.8em;
    text-align: center;
}

#content-farmacias-mas table td {
    padding: 0.4em;
}

#content-farmacias-mas table tbody tr:hover {
    background-color: #bbb;
}

.ver-farmacias-mas-aright {
    text-align: right !important;
}

/* Admin */
#title-adm {
    font-size: 18pt;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    font-style: italic;
    text-align: center;
}

#inicio-a {
    position: absolute;
    padding-top: 2.5em;
    padding-left: 5em;
}

#inicio-a a {
    font-size: 12pt;
    padding: 0.8em;
    border: solid 1px #dedcd0;
    border-bottom: solid 3px #dedcd0;
    border-right: solid 3px #dedcd0;
    border-radius: 52px 17px;
    background: -webkit-gradient(linear, left top, left bottom, from(white), to(#d0d0d0));
    background: -moz-linear-gradient(top, white, #d0d0d0);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#d0d0d0');
    color: #777;
    text-shadow: 2px 2px 1px #bbbbff;
}

#inicio-a a:hover {
    text-decoration: none;
    background: -webkit-gradient(linear, left top, left bottom, from(white), to(#b0b0b0));
    background: -moz-linear-gradient(top, white, #b0b0b0);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#b0b0b0');
}

#login-table {
    padding: 2em;
    margin: 0 auto;
    width: auto;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 2px 2px 8px 2px #000 !important;
    border-radius: 50px 8px !important; 
    -webkit-border-radius: 50px 8px;
}

/* Contacto */
#contacto {
    margin: 0;
    padding: 0;
    width: 100%;
}

#contacto h1 {
    margin-top: 1em;
    padding-bottom: 1.5em;
    text-align: center;
    /*font-weight: bold;*/
}

#contacto table {
    margin: 0 auto;
    width: auto;
}

#contacto th {
    text-align: right;
    padding: 0.3em;
    vertical-align: top;
}

#contacto input[type=text] {
    height: 1.8em;
}

#contacto p {
    text-align: center;
}

#contacto p {
    padding: 0.5em;
}

#respuesta {
    display: none;
    width: 300px !important;
    margin: 0 auto;
}

/* REG */
#content-content-reg {
    padding: 2em;
    margin-top: 8em;
}

#content-content-reg input[type=checkbox] {
    vertical-align: center;
}

.left {
    text-align: left !important;
}

#content-content-reg2 {
    padding: 2em;
    margin-top: 2em;
}

#content-content-reg2 table {
    margin: 2em auto;
    width: auto;
}

/* 404 */
#content-404 {
    margin-top: 9em;
}

#content-404 h1 {
    text-align: center;
}

#content-404 p {
    margin-top: 4em;
    margin-bottom: 4em;
}

#legal p {
    margin-bottom: 1em;
}

#legal h2 {
    text-decoration: none !important;
    margin-left: 0;
}

#legal ul {
    margin-left: 75px;
    list-style-image: url("/common/img/arrow.png");
}

#legal ul li {
    padding: 3px 0px 3px 0px;
}

#target-ver {
    margin: 2em auto 2em auto;
    width: 95%;
}

#target-ver>table {
    font-size: 1.8em;
    margin: 0 auto;
    width: auto;
}

#target-ver>table td {
    padding-bottom: 0.5em;
    text-align: center;
}
#table-ver-data {
    margin: 0 auto;
    width: auto;
}
#table-ver-data td {
    text-align: left !important;
}
#gmaps-iframe-ver {
    width: 850px;
    height: 550px;
    border: solid 1px #9CAE24;
}
#mas-opciones p{
    text-align: center !important;

}
/* Visualizador */
#visualizador-sample {
    width: auto;
    margin: 0 auto;
    text-align: center;
}
#visualizador-sample img {
    width: 600px;
}
.mapa-provincia {
    width: 150px;

}
.geolocation {
    display: inline-block;
    padding-left: 1em;
    width: auto;
    margin: 0 auto;
    
}
.geolocation:hover {

}
.geolocation input[type=text]{
    width: 350px;
    border: none;
    margin: 0;
}
.geolocation input[type=submit],
.geolocation input[type=button]
{
    margin: 0;
    border-radius: 0 !important;
    border-right: none;
    border-top: none;
    border-bottom: none;
}
.geolocation input[type=text]:hover,
.geolocation input[type=text]:focus{
    border: none;
    box-shadow: none;
}
/*
 *
 * END CONTENT 
 *
 *-----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
 *
 * FOOTER
 *
 */
#footer {
    border-top: 1px solid #bab9b4;
    padding-top: 6px;
    padding-bottom: 12px;
    color: #666;
    text-align: center;
    margin-bottom: 3em;
    width: 100%;


}

#footer p {
    margin-bottom: 5px;
}

#footer ul li {
    display: inline;
    margin-right: 2em;
}

#footer ul li a {
    color: #666;
    font-size: 9pt;
}

#footer ul li a:hover {
    font-style: italic;
}

#footer #acpt-cookies {
    margin-top: 2em;
}

#footer img {
    vertical-align: middle;
    margin-top: 1em;
    margin-right: 2em;
    margin-left: 2em;
}
#footer-img {
    text-align: center;
}
#footer-img-g{
    width: 50px;
}
#acpt-cookies {
    font-style: italic;
}

#version-web {
    font-style: italic;
    padding: 0;
}

/*
 *
 * END FOOTER 
 *
 *-----------------------------------------------------------------------------*/
/*
 *
 * END CONTENT 
 *
 *-----------------------------------------------------------------------------*/
/*
 *
 * END CONTAINER 
 *
 *-----------------------------------------------------------------------------*/
.center {
    text-align: center;
}

.output_geolocation {
    
    text-align: center;
    color: red;
    padding: 0.5em;
}