:root {
    --boton-pri-bg-color: #868080;
    --color-azul: #066ccc;
    --color-naranja: #FF6633;
    --color-gris: #9999;
    --color-blanco: #ffffff;
}
 
.path-frontpage div#main-wrapper {
    background: transparent;
}

.featured-top {
    border-bottom: none;
    background: transparent;
}

body, html, footer.site-footer, table{
    font-family: 'Roboto', sans-serif;
    height: 100%;
    }

body a {
    border-bottom: none;
}
a:-webkit-any-link:focus-visible {
    outline-offset: unset !important;
}
:focus-visible {
    outline: none !important;
}
    
#page-wrapper #page {
    background: #1d84c3;
}

h1.title.page-title {
    padding: 40px 70px;
    margin: 0;
    background: var(--color-naranja);
    color: var(--color-blanco);
    font-weight: bold;
}

.main-content .section {
    padding: 0;
}

#block-nuestrasalud-page-title .content {
    margin-top: 0;
}
.highlighted {
    margin-top: -570px;
}

.main-content h2, h2 {
    background: var(--color-gris);
    font-weight: bold;
    padding: 15px 50px;
    margin: 0;
    margin-bottom: 11px;
}

.flexslider,
.flexslider a:focus,
.flexslider a:hover {
    border: none;
}

/********************** TABLAS GENERAL ************************************/


thead tr th {
    background: var(--color-gris);
    color: var(--color-blanco);
    font-weight: bold;
    border: 2px solid #DBDBDB;
}

tbody tr td {
    border: 2px solid #DBDBDB;
    background: var(--color-blanco);
}
thead tr th h3 {
    margin: 8px 0;
    font-size: x-large;
}


table p {
    margin: 0;
    line-height: 2;
}
/********************** MENU ************************************/

    
ul#superfish-main {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

ul.sf-menu.sf-style-default li, 
ul.sf-menu.sf-style-default.sf-navbar {
    background-color: transparent;
}

ul.sf-menu.sf-style-default li li, 
ul.sf-menu.sf-style-default.sf-navbar > li > ul {
    background-color: var(--color-blanco);
}
ul.sf-menu li:hover > ul, 
ul.sf-menu li.sfHover > ul {
    border-top: 2px solid black;
    /*width: auto !important;*/
    max-width: 180px;
}
ul.sf-menu.sf-style-default li li a.sf-depth-2 {
    font-weight: 400;
    color: black;
}
ul.sf-menu .sf-sub-indicator {
    font-size: 10px;
    right: 17px;
    top: 56%;
}

ul.sf-menu.sf-style-default a, 
ul.sf-menu.sf-style-default a:visited, 
ul.sf-menu.sf-style-default span.nolink, 
div.sf-accordion-toggle.sf-style-default a,
.region-header a,
.region-header li a.is-active.sf-depth-1{
    color: var(--color-azul);
}

#superfish-main-accordion {
    overflow-y: auto;
    max-height: 73vh;
}

/*****************CABECERA***************************************************************************************/
header#header {
    background-image: url(/sites/default/files/fondo-header.png);
    height: 700px;
    background-size: cover;
    max-width: 100%;
    
}
header, #header{
    font-family: 'M PLUS Rounded 1c';
    font-weight: 800;
    height: 100%;
    }

#header.header img {
    height: auto;
    width: 170px;
    max-width: 100%;
}

.region-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.bloque-menu:hover{
    cursor: pointer;
}

.bloque-menu a,
.bloque-menu .content a,
.bloque-menu .content,
.bloque-menu .li{
    font-size: 14px;
    color: var(--color-azul);
}


/*****************PIE DE PAGINA***************************************************************************************/
footer.site-footer,
footer.site-footer a {
    background: #404041;
    border-bottom: none;
    font-size: medium;
    padding: 0px;
}

footer.site-footer a {
    border-bottom: none;
}

.bloque-footer .field--name-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
}

p .img {
    margin: 0;
}


/*****************VISTA PLANES (FIELDSET)***************************************************************************************/
.imagen-banner-plan {
    height: auto;
    width: 100%;
}

.wrapper-plan {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}
.wrapper-plan  summary {
    background: none;
    padding: 0;
    color: transparent;
    line-height: 1;
}

.estilo-vista-planes,
#block-nuestrasalud-content {
    padding: 2px 70px;
}
.estilo-vista-planes h2{
    margin-bottom: 0;
}

/****************PAGINA BASICA****************************************************************/



/************* planes **************/

.wrapper-plan tbody tr td {
    background: var(--color-blanco);
    font-weight: bold;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-right: 2px solid;
}
.wrapper-plan thead tr th {
    font-weight: bold;
}
.wrapper-plan caption {
    font-weight: bold;
    color: var(--color-blanco);
    text-align: left;
    padding-left: 9px; 
    font-size: 1rem;
}


/**************************************** BOTONES**************************************************************************/

/* CSS */
a.button--primary, 
a[data-drupal-button-link=button--primary] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-color: var(--color-blanco);
    border: 0 solid #e2e8f0;
    box-sizing: border-box;
    color: #0d172a;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    padding: 1rem 1.6rem;
    text-align: left;
    text-decoration: none #0d172a solid;
    text-decoration-thickness: auto;
    box-shadow: 0px 1px 2px rgb(166 175 195 / 25%);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: ease 0.65s all;
}

a.button--primary:hover,
a.button--primary:focus {
    background-color: #868080;
    color: var(--color-blanco);
    transform: scale(0.97);
}

a.button--link{
    color: var(--color-azul);

}
a.button--link:hover,
a.button--link:focus {
    color: var(--color-naranja);
    border-bottom: none;
}

div#block-accesosrapido .content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0;
    gap: 20px;
}

.accesorapidocontenedor {
    /*background: var(--color-naranja);*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    color: var(--color-blanco);
    text-shadow: none;
    padding: 10px;
    border-radius: 5px;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to top, var(--color-azul) 50%, var(--color-naranja) 50%);
    background-size: 100% 200%;
    background-position: left top;
    transition: ease 0.75s all;
}

button#backtotop {
    margin-left: 10%;
    margin-bottom: 2%;

}

.accesorapidocontenedor:hover,
input.accesorapidocontenedor:hover {
    color: var(--color-blanco);
    border-bottom: none;
    background: linear-gradient(to top, var(--color-azul) 50%, var(--color-naranja) 50%);
    background-size: 100% 200%;
   /* transform: scale(0.95);*/
    /*background: var(--color-azul);*/
    background-position: right bottom;
}


/*input.form-submit.accesorapidocontenedor:hover,
 input.form-submit.accesorapidocontenedor:focus{
background-color: var(--color-azul);
}
*/
.accesorapidocontenedor img {
    margin: 0;
    display: block;
}

div#block-accesosrapido .content .content {
    display: block;
}
.estilo-accesorapido {
    flex: 1;
}

.field--name-field-iconorapido {
    flex: 0.4;
}
.field--name-block-title {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}




/**************************************** ICONOS**************************************************************************/

.fontawesome-icon-inline svg {
    font-size: 18px;
    border-radius: 50%;
    text-align: center;
    padding: 7px;
    background: var(--color-blanco);
    color: #404041;
}

.iconos {
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.iconos p {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
}
