body {
    font-family: 'Roboto',sans-serif;
    font-size: 14px;
}
@media all and (max-width: 768px) {
    body {
        font-size: 1em;
    }
}
.union-container {
    width: 100%;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
}
a {
    text-decoration: none;
}

.logo {
    text-align: center;
}

#header-buttons-row {
    padding-top: 5px;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

#footer-buttons-row {
    padding-bottom: 5px;
    padding-top: 15px;
    margin-top: 20px;
}


#masthead {
    padding-top: 15px;
}
.buttons-left-col, .header-left {
    width: 20%;
    float: left;
    min-height: 1px;
}

#footer-buttons-row .buttons-left-col {
    display: none;
}

.union-buttons-inner, .header-right {
    width: 80%;
    float: left;
}

#footer-buttons-row .union-buttons-inner {
    width: 100%;
}

.union-buttons-inner a {
    display: block;
    width: 25%;
    float: left;
    text-align: center;
    color: #005983;
    font-size: 15px;
}

#footer-buttons-row .union-buttons-inner a {
    width: 20%;
}

@media all and (max-width: 768px) {
    #footer-buttons-row .union-buttons-inner a {
        width: 50%;
    }
    #footer-buttons-row .union-buttons-inner {
        margin-top: 15px;
    }
}

.union-buttons-inner img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-transform: scale(0.9, 0.9);
    -moz-transform: scale(0.9, 0.9);
    -o-transform: scale(0.9, 0.9);
    transform: scale(0.9, 0.9);
}
.union-buttons-inner a:hover {
    color: #000;
    margin-bottom: 9px;
}
.union-buttons-inner a:hover img {
    -webkit-transform: scale(1.2,1.2);
    -moz-transform: scale(1.2,1.2);
    -o-transform: scale(1.2,1.2);
    transform: scale(1.2,1.2);
    margin-top: -4px;
}
@media all and (max-width: 768px) {
    .union-buttons-inner a:hover img {
         -webkit-transform: scale(1.0, 1.0);
        -moz-transform: scale(1.0, 1.0);
        -o-transform: scale(1.0, 1.0);
        transform: scale(1.0, 1.0);
        margin-top: 0px;
    }
    .union-buttons-inner a:hover {
        margin-bottom: 25px;
}
}

span.header-phone-num {
    display: block;
    padding-top: 30px;
    font-size: 42px;
    line-height: 42px;
    font-weight: 300;
    color: #005983;
    text-align: center;
}
span.header-phone-msg {
    color: #005983;
    font-size: 20px;
    line-height: 20px;
    display: block;
    text-align: center;
    font-weight: normal;
}
/* Menu */
nav#site-navigation {
    margin-top: 10px;
}
nav#site-navigation > div > ul > li {
    display: block;
    width: 20%;
    float: left;
}
nav#site-navigation > div > ul > li, nav#site-navigation > div > ul > li ul {
    /*background: #008ace;*/
    background: #007dba;
    transition: background 0.2s;
}
nav#site-navigation > div > ul > li ul li a {
    transition: background 0.2s;
    display: block;
    width: 100%;
}
nav#site-navigation > div > ul > li ul li a:hover {
    background-color: rgba(0,0,0,0.2);
}
nav#site-navigation > div > ul > li:hover, nav#site-navigation > div > ul > li:hover ul {
    background: #017cb9;
}
nav#site-navigation > div > ul > li > a {
    display: block;
    width: 100%;
    text-align: right;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    padding: 5px 10px;
}
nav#site-navigation > div > ul > li:nth-child(2), nav#site-navigation > div > ul > li:nth-child(2) ul {
    background: #2d7497;
}
nav#site-navigation > div > ul > li:nth-child(2):hover, nav#site-navigation > div > ul > li:nth-child(2):hover ul {
    background: #296988;
}
nav#site-navigation > div > ul > li:nth-child(3), nav#site-navigation > div > ul > li:nth-child(3) ul {
    background: #017cb9;
}
nav#site-navigation > div > ul > li:nth-child(3):hover, nav#site-navigation > div > ul > li:nth-child(3):hover ul {
    background: #3a94bf;
}
nav#site-navigation > div > ul > li:nth-child(4), nav#site-navigation > div > ul > li:nth-child(4) ul {
    background: #2d7497;
}
nav#site-navigation > div > ul > li:nth-child(4):hover, nav#site-navigation > div > ul > li:nth-child(4):hover ul {
    background: #296988;
}
nav#site-navigation > div > ul > li:nth-child(5), nav#site-navigation > div > ul > li:nth-child(5) ul {
    background: #3a94bf;
}
nav#site-navigation > div > ul > li:nth-child(5):hover, nav#site-navigation > div > ul > li:nth-child(5):hover ul {
    background: #012d43;
}
.main-navigation ul ul {
    top: 40px;
}
.main-navigation ul.sub-menu {
    width: 100%;
}
.main-navigation ul ul a {
    color: #fff;
    font-size: 15px;
    line-height: 24px;
    padding: 5px;
    display: block;
}
/* Layout */
aside#secondary-left {
    /*width: 22%;*/
    width: 20%;
    float: left;
    position: relative;
    z-index: 9;
}
aside#secondary-right {
    /*width: 22%;*/
    width: 20%;
    float: right;
}
#primary.has-both-sidebars {
    /*width: 56%;*/
    width: 60%;
    float: left;
    /*overflow: hidden;*/
}
#primary.has-left-sidebar {
    /*width: 78%;*/
    width: 80%;
    float: left;
    border-top: 20px solid #96bcd5;
    padding-left: 15px;
}
.page:not(.home) #primary.has-left-sidebar {
    border-color: #a6a698;
}
.search main#main,
.page:not(.home) main#main {
    padding-left: 10px;
    padding-right: 10px;
}
/* Single Page */
.single-meta-wrap {
    margin-top: 10px;
}
.single-meta-wrap h3 {
    margin: 0;
    font-weight: 500;
    display: inline-block;
    color: #005a84;
    text-transform: uppercase;
}
.single-meta-wrap > div {
    display: inline-block;
    float: right;
    color: #b7b7ac;
}

.category-agenda .single-meta-wrap > div, .category-agenda-val .single-meta-wrap > div, .category-agenda-cat .single-meta-wrap > div {
    display: none;
}

#fecha-evento strong p {
    margin-bottom: 0.3em;
}

h1.entry-title,
.search main h1 {
    color: #005a84;
    margin: 15px 0;
    font-size: 30px;
    font-weight: 300;
    font-family: 'Roboto Slab',sans-serif;
}
.search main h2 {
    font-family: 'Roboto Slab',sans-serif;
    color: #005a84;
}
.search main h2 a {
    color: #005a84;
}

h2 {
    color: #005a84;
    font-weight: 300 !important;
    font-size: 200%;
}

h3, h4 {
    font-family: 'Roboto Slab',sans-serif;
    font-weight: 300 !important;
}

h3 {font-size: 20px;}

h4 {font-size: 17px;}

h3 strong, h4 strong {
    font-weight: 300 !important;
}



.single .entry-content {
    margin-top: 0;
}
.single .entry-content p {
    margin-top: 0;
}
.single-agenda-meta-col {
    width: 50%;
    float: left;
}
.single-agenda-meta-inner b {
    color: #b7b7ac;
    font-weight: normal;
    font-family: 'Roboto Slab',sans-serif;
}
.agenda-thumbnail-left {
    width: 25%;
    float: left;
}
.agenda-content-wrap {
    width: 50%;
    float: left;
    margin-left: 2%;
}
.agenda-thumbnail-left a {
    color: #57585a;
    text-decoration: underline;
    display: block;
    text-align: center;
}
.single-news-featured-image,
.page-featured-image {
    width: 30%;
    float: left;
    margin-right: 2%;
}

.single-news-featured-image {
    /*margin-bottom: 2%;*/
}

body.page .page-featured-image, body.single .single-news-featured-image, .agenda-thumbnail-left {
    text-align: center;
}

.agenda-thumbnail-left {
    margin-top: 20px;
}

.single-news-content {
    /*width: 68%;
    float: left;*/
}

.page-content-wrap {
    width: 68%;
    float: left;
}

.page-content-wrap p:first-child {
    margin-top: 0;
}
/* Sidebar Banners */
.banners-wrap {
    border: 2px solid #005a84 !important;
}
.banners-wrap:after {
    content: '';
    display: block;
    clear: both;
}
.banners-wrap a {
    display: block;
    width: 33.33%;
    float: left;
    /*border-top: 4px solid #00354f;
    border-left: 4px solid #00354f;*/
    border: 2px solid #005a84 !important;
}
.banners-wrap img {
    display: block;
    transition: all 0.3s;
}
.banner-item:hover img {
    transform: scale(1.1, 1.1);
}
.banners-wrap a:nth-child(3n+1) {
    clear: both;
}
.single-page-sidebar .banners-wrap {
    border-color: transparent;;
}
.single-page-sidebar .banners-wrap a {
    /*border-color: transparent;*/
}
/* Sidebar Menu */
aside#secondary-left {
    /*background: #005a84;*/
    background-color: #FFF;
    /*border-right: 1px solid #005a84;*/
}
aside#secondary-left .widget {
    padding-left: 10px;
    padding-right: 10px;
}
.widget {
    margin-bottom: 10px;
}
aside#secondary-left .widget_nav_menu:last-child {
    margin-bottom: 9px;
}
aside#secondary-left .widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
aside#secondary-left .widget_nav_menu ul li {
    position: relative;
}
aside#secondary-left .widget_nav_menu a {
    /*color: #fff;*/
    color: #005a84;
    font-size: 14px;
    display: block;
}
aside#secondary-left .widget_nav_menu > div > ul > li a {
    /*border-bottom: 1px solid #fff;*/
    border-bottom: 1px solid #005a84;
    padding-left: 5px;
    padding-right: 5px;
    transition: background 0.2s;
}
aside#secondary-left .widget_nav_menu > div > ul > li:hover > a,
aside#secondary-left .widget_nav_menu > div > ul > li a:hover {
    background-color: rgba(0,0,0,0.2);
}

/* SUBMENU IZQUIERDA */

aside#secondary-left .widget_nav_menu > div > ul ul {
    display: none;
    padding: 5px;
}

@media all and (min-width: /* 1021px */992px) {
aside#secondary-left .widget_nav_menu > div > ul ul {
    display: none;
    position: absolute;
    left: 100%;
    top: -10px;
    width: 300px;
    padding: 10px;
}
}


aside#secondary-left .widget_nav_menu ul li:hover > ul {
    display: block;
}
aside#secondary-left .widget_nav_menu li ul li {
    background: #014c6f;
}
aside#secondary-left .widget_nav_menu li ul li a {
    color: #FFF;
}


/* Homepage */
.home #content {
    padding-top: 27px;
}
.home-slider-tab {
    border-top: 1px solid #babcbd;
    /*border-bottom: 1px solid #babcbd;*/
    overflow: hidden;
}
.home-tabs-hds {
    text-align: right;
    margin-top: -27px;
}
.home-tabs-hds a {
    display: inline-block;
    background: #eae4d8;
    color: #006991;
    text-transform: uppercase;
    font-weight: 500;
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 6px;
    margin-right: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.home-tabs-hds a.home-tab-two {
    background: #f5f1ec;
}
div.home-tab-one {
    background: #eae4d8;
}
div.home-tab-two {
    background: #f5f1ec;
}
.home-tab-content {
    padding: 15px;
    display: none;
    /*min-height: 273px;*/
}
.home-tab-featured-post {
    width: 75%;
    float: left;
}
.home-tab-right-col {
    width: 25%;
    float: right;
}
.ht-fp-left,.ht-fp-right {
    width: 50%;
    float: left;
}
.ht-fp-right {
    padding: 0 20px 10px 10px;
    font-size: 13px;
}
a.ht-fp-title h2 {
    margin: 0;
    color: #0e5f87;
    font-weight: 500;
    font-family: 'Roboto Slab',sans-serif;
}
.ht-rc-item-meta, .ht-event-info {
    color: #3ea1cf;
    font-family: 'Roboto Slab',sans-serif;
}
a.ht-rc-item-title h3 {
    margin: 0;
    color: #0e5f87;
    font-weight: 500;
    font-family: 'Roboto Slab',sans-serif;
}
.ht-rc-item {
    margin-bottom: 10px;
}
.ht-event-info p {
    margin: 3px 0 0 0;
    line-height: 1.2;
}
.ht-event-info b {
    color: #0e5f87;
    font-family: 'Roboto Slab',sans-serif;
    font-weight: normal;
}

/* Imagenes noticias Home */
.home-tabs-contents img {
    max-height: 190px;
    width: auto;
}



/* Taxonomy Page */
.category .page-header h1 {
    margin: 10px 0;
    font-weight: 500;
    display: inline-block;
    color: #005a84;
    text-transform: uppercase;
}
.cat-single-item {
    width: 33.33%;
    float: left;
    margin-bottom: 20px; 
    padding-right: 15px;
}
.cat-single-item strong {
    color: #a6a699;
    font-weight: normal;
    font-family: 'Roboto Slab',sans-serif;
}
.cat-single-item a h3 {
    color: #005a84;
    font-weight: normal;
    margin: 0;
    font-family: 'Roboto Slab',sans-serif;
}
.category #primary.has-left-sidebar,
#primary.has-left-sidebar.agenda {
    border-top-color: #a6a699;
}
/* Top Right Strip */
.union-top-right-widget {
    display: inline-block;
}
.top-right-container {
    text-align: right;
    color: #58585a;
}
.top-right-container a {
    color: #58585a;
    text-decoration: underline;
}
.union-top-right-widget.widget_nav_menu ul {
    list-style: none;
    margin: 0 15px 0 0;
    padding: 0;
}
.union-top-right-widget.widget_nav_menu ul li {
    display: inline-block;
    padding-left: 15px;
    position: relative;
}
.union-top-right-widget.widget_nav_menu ul li:before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: #005a84;
    position: absolute;
    left: 4px;
    top: 50%;
    margin-top: -2px;
}
.union-top-right-widget.widget_search form input[type="search"] {
    border: 2px solid #bcbdc0;
    border-radius: 0;
    outline: none;
}
.union-top-right-widget.widget_search  input[type="submit"] {
    display: inline-block;
    width: 37px;
    height: 33px;
    background: url('../images/search-icon.png') no-repeat;
    text-indent: -999px;
    overflow: hidden;
    padding: 0;
    background-size: cover;
    border: none;
    vertical-align: top;
}
.union-top-right-widget.widget_search form {
    display: inline-block;
}
.union-top-right-heading {
    display: inline-block;
    padding-right: 8px;
}
.union-top-right-widget.widget_polylang {
    padding-left: 20px;
    position: relative;
}
.union-top-right-widget.widget_polylang:before {
    content: '';
    display: block;
    border: 5px solid transparent;
    border-top-color: #005a84;
    position: absolute;
    left: 0;
    top: 8px;
}
.union-top-right-widget.widget_polylang .union-top-right-heading {
    text-decoration: underline;
    cursor: pointer;
}
.union-top-right-widget.widget_polylang ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 20px;
    left: 0;
    background: #fff;
    z-index: 9;
    width: 150px;
    text-align: left;
    display: none;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.union-top-right-widget.widget_polylang:hover ul {
    display: block;
}
.union-top-right-widget.widget_polylang ul a {
    padding: 5px;
    line-height: 25px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}
.union-top-right-widget.widget_polylang ul a:hover {
    background-color: #f0f0f0;
}
/* Footer */
#footer .union-container {
    background: #00354f;
    color: #fff;
    font-size: 11px;
    display: flex;
}
.footer-column {
    width: 20%;
    /* float: left; */
    padding: 10px;
    font-family: 'Roboto Slab',sans-serif;
}
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-column li a {
    color: #fff;
    font-size: 12px;
    display: block;
    transition: all 0.4s;
}
.footer-column li a:hover {
    padding-left: 5px;
}
.footer-column li a:before {
    content: '> ';
    position: relative;
    top: -1px;
}
.footer-1 {
    background: #005a84;
    padding-top: 30px;
}
.footer-2 {
    background: #008ace;
}
.footer-3 {
    background: #2d7497;
}
.footer-4 {
    background: #3e9fce;
}
.mobile-menu {
    display: none;
}
.view-cat-archive a {
    display: inline-block;
    border: 1px solid #005a84;
    color: #005a84;
    padding: 5px 15px;
    font-weight: 600;
    font-family: 'Roboto Slab',sans-serif;
    text-transform: uppercase;
    transition: all 0.3s;
}
.view-cat-archive a:hover {
    background: #005a84;
    color: #fff;
}
div#primary.mobile {
    display: none;
}

/* link Footer Asociarse */
#menu-footer-menu-1 li a, #menu-footer-menu-1-val li a, #menu-footer-menu-1-cat li a {
    font-size: 16px;
    letter-spacing: 0.5px;
}


/* calendario laboral */

#tablaCal {
    max-width: 600px;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.botoCal1, .botoCal2, .botoCal3 {
    margin: 5px;
    padding: 10px;
    align-content: center;
    text-align: center;
    vertical-align: middle;
    float: left;
    width: 30%;
    color: #FFF;
    border-radius: 5px;
}

.botoCal1 a, .botoCal2 a, .botoCal3 a {
    color: #FFF;
}

.botoCal1 {
    background-color: #008ace;
}
.botoCal2 {
    background-color: #2d7497;
}
.botoCal3 {
    background-color: #3e9fce;
}


/*BIP*/

.col1, .col2 {
    float: left;
    width: 50%;
}

.bip1 {
    padding-left: 40px;
}

@media all and (min-width: 768px) {
.bip2 {
    background-image: url(https://www.uniondemutuas.es/wp-content/uploads/2016/09/bip.png);
    background-repeat: no-repeat;
    background-position: top right;
}
}



/* FORMULARIOS */

.form3 {
    width: 30%;
    float: left;
    margin-right: 3%;
    margin-bottom: 20px !important;
}

.form2 {
    width: 45%;
    float: left;
    margin-right: 5%;
    margin-bottom: 20px !important;
}

.form1, .form5 {
    width: 100%;
    float: left;
    margin-bottom: 20px !important;
}

.form4 {
    width: 22%;
    float: left;
    margin-right: 2%;
    margin-bottom: 20px !important;
}

.form5 .wpcf7-list-item {
    width: 32%;
    float: left;
    margin-bottom: 10px;
}


/* COLUMNAS */

.cols2 {
    width: 50%;
    padding: 15px;
    float: left;
}

@media all and (max-width: 768px) {
    .cols2 {
        width: 100%;
    }
}



/* BOTONES */

.boto1, .boto2 {
    padding: 10px;
    align-content: center;
    text-align: center;
    vertical-align: middle;
    width: 50%;
    min-width: 200px;
    color: #FFF;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: #008ace;
}

.boto1 a, .boto2 a {
    color: #FFF;
}

.boto2 {
    width: 30%;
    min-width: 200px;
}

.vc_btn3-style-flat {
    color: #FFF !important;
    background-color: #008ace !important;
}

.vc_btn3-style-flat:hover {
    background-color: #20aaee !important;
}


/* TABLAS */

.tablepress {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tablepress th, .tablepress td {
    color: #999;
}




@media all and (min-width: 768px) {
    .cat-single-item:nth-child(3n+1) {
        clear: both;
    }
}

/* @media all and (max-width: 1350px) {
    nav#site-navigation > div > ul > li > a {
        font-size: 16px;
    }
} */

@media all and (/* max-width: 1299px */min-width: 1200px) {
    .union-container {
        max-width: 96%;
    }
    nav#site-navigation > div > ul > li > a {
        font-size: 16px;
    }
    .main-navigation ul ul {
        top: 33px;
    }
    .header-right {
        padding-left: 10px;
    }
    span.header-phone-num {
        font-size: 32px;
        line-height: 35px;
    }
}

@media all and (max-width: /* 1100px */1200px) {
    nav#site-navigation > div > ul > li > a {
        font-size: 14px;
    }
}

@media all and (max-width: /*1000px*/992px) {
    a.ht-fp-title h2 {
        font-size: 16px;
    }

    a.ht-rc-item-title h3 {
        font-size: 14px;
    }
    /*nav#site-navigation {
        display: none;
    }*/
    /*.mobile-menu {
        display: block;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
        height: 30px;
    }*/
    /*aside#secondary-right {
        width: 100%;
        float: none;
        clear: both;
        margin: 10px auto;
        max-width: 320px;
    }
    #primary.has-both-sidebars {
        width: 78%;
    }*/
    /*.agenda-thumbnail-left {
        width: 35%;
    }
    .agenda-content-wrap {
        width: 63%;
    }*/
}

@media all and (max-width: /* 1020px */ 992px) {
    section#nav_menu-2,.home-tab-content {
        background: #FFF;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}


@media all and (max-width: /* 950px */992px) {
    aside#secondary-left .widget_nav_menu a{
        font-size: 12px;
    }
    nav#site-navigation > div > ul > li > a,.main-navigation ul ul a {
        font-size: 12px;
    }
}
@media all and (max-width: /* 900px */992px) {
    /*aside#secondary-left {
        display: none;
    }
    #primary.has-both-sidebars,
    #primary.has-left-sidebar {
        width: 100%;
        float: none;
    }*/
    .home-tabs-hds a {
    display: inline-block;
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .main-navigation ul ul {
        top: 25px;
    }
    span.header-phone-num {
        font-size: 25px;
        line-height: 25px;
    }
    span.header-phone-msg {
        font-size: 15px;
    }
    .footer-column {
        width: 25%;
    }
    .footer-column:last-child {
        /*display: none;*/
    }
}
@media all and (max-width: /* 767px */768px) {
     nav#site-navigation {
        display: none;
    }
    aside#secondary-left {
        display: none;
    }
    .mobile-menu {
        display: block;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
        height: 30px;
    }
    .header-left {
        width: 100%;
        float: none;
        text-align: center;
        padding-bottom: 14px;
    }
    select.mobile-menu {
        width: 100%;
        max-width: 96%;
    }
    .buttons-left-col {
        width: 100%;
        padding-bottom: 15px;
    }
    span.header-phone-num {
        padding-top: 0;
    }
    .union-buttons-inner {
        width: 100%;
    }
    .header-right {
        padding-left: 0;
        width: 100%;
    }
    .top-right-container {
        text-align: center;
    }
    .cat-single-item {
        width: 50%;
        padding-left: 5px;
    }
    .cat-single-item:nth-child(2n+1) {
        clear: both;
    }

    /* Nuevos estilos para la mejora de la versión responsive (14/03/2023) */
    .union-button-wrap.widget_media_image {
        text-align: center;
    }
}

@media all and (max-width: /* 600px */768px) {
    div#primary {
        /*display: none;*/
    }
    div#primary.mobile {
        display: block!important;
        width: 100%;
        margin-top: 50px;
        height: auto!important;
    }
    .home-tab-right-col,
    .home-tab-featured-post,
    .ht-fp-left, .ht-fp-right {
        width: 100%;
        float: none;
    }
    .ht-fp-right {
        padding-left: 0;
    }
    #footer .union-container {
    display: block;
    }
    .footer-column {
        width: 100%;
    }
    .home-tabs-hds a {
        padding-left: 10px;
        padding-right: 10px;
    }
    .single-news-featured-image,
    .page-featured-image {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    .single-news-content,
    .page-content-wrap {
        width: 100%;
        float: none;
    }
    body.page aside#secondary-left, body.page aside#secondary-right {
        width: 100%;
    }
    .header-right {
        padding-bottom: 20px;
    }
    .home-tab-content{
        height: auto!important;
    }
    /* Nuevos estilos para la mejora de la versión responsive (14/03/2023) */
    .union-button-wrap.widget_media_image {
        text-align: center;
    }
    body.home section#text-6 {
        display: none;
    }

    body.page section#text-6 {
        display: block;
    }
}
@media all and (max-width: /* 440px */600px) {
    .agenda-thumbnail-left {
        width: 100%;
    }
    .agenda-content-wrap {
        width: 100%;
        margin-left: 0;
    }
    .single-agenda-meta-col {
        width: 100%;
    }
    .union-buttons-inner a {
        width: 50%;
        margin-bottom: 25px;
        font-size: 1.2em;
    }
    .widget_search .union-top-right-heading {
        display: none;
    }
    .union-top-right-widget.widget_search form input[type="search"] {
        max-width: 150px;
    }
    .cat-single-item {
        float: none;
        width: 100%;
    }
}

body.page section#text-6 {
    margin-bottom: 0;
}



@media all and (min-width: /* 1350px */1200px){
    body.page div#content > .union-container > div, .union-container > aside,aside#secondary-left section {
        /*height: 316px;
        min-height: 316px;*/
    }
    div#content {
        /*overflow: hidden;*/
    }
    aside#secondary-left, aside#secondary-left section {
        /*height: auto!important;*/
    }
    .tp-bgimg.defaultimg {
        background-size: 100% 100%!important;
    }
}


/* Altura menu izquierda Home */

@media all and (min-width: /* 1020px */992px){

body.page #secondary-left #nav_menu-2 .menu-menu-lateral-container {
    height: 100%;
}

body.page #secondary-left #nav_menu-2 .menu-menu-lateral-container #menu-menu-lateral {
    height: 100%;
}
   
body.page #secondary-left #nav_menu-2 .menu-menu-lateral-container #menu-menu-lateral li {
    height: 8.33%;
}
    
/* Valencià */
    
body.page #secondary-left #nav_menu-7, body.page #secondary-left #nav_menu-7 .menu-menu-lateral-valencia-container {
    height: 100%;
}

body.page #secondary-left #nav_menu-7 .menu-menu-lateral-valencia-container #menu-menu-lateral-valencia {
    height: 100%;
}
   
body.page #secondary-left #nav_menu-7 .menu-menu-lateral-valencia-container #menu-menu-lateral-valencia li {
    height: 8.33%;
}
    

/* Català */

body.page #secondary-left #nav_menu-11, body.page #secondary-left #nav_menu-11 .menu-menu-lateral-catala-container {
    height: 100%;
}

body.page #secondary-left #nav_menu-11 .menu-menu-lateral-catala-container #menu-menu-lateral-catala {
    height: 100%;
}
   
body.page #secondary-left #nav_menu-11 .menu-menu-lateral-catala-container #menu-menu-lateral-catala li {
    height: 8.33%;
}
    
    
}


/* Ajustar tamaño letra menu izquierda */

@media all and (max-width: 1400px){
    aside#secondary-left .widget_nav_menu a {
        font-size: 13px;
        letter-spacing: -0.2px;
    }
}

@media all and (max-width: 1200px){
    aside#secondary-left .widget_nav_menu a {
        font-size: 12px;
        letter-spacing: -0.2px;
    }
}

@media all and (max-width: 1100px){
    aside#secondary-left .widget_nav_menu a {
        font-size: 12px;
        letter-spacing: -0.2px;
    }
}

@media all and (max-width: /* 600px */768px){
    aside#secondary-left .widget_nav_menu a {
        font-size: 1.4em;
        letter-spacing: -0.2px;
        text-align: center;
    }
}


/* AGENDA HOME */

.home-tab-two h2 {
    font-size: 24px;
    margin-bottom: 10px !important;
    line-height: 1.2;
}

.home-tab-two .ht-rc-item-meta {
    font-size: 11px;
    line-height: 1.2;
}

.home-tab-two h3 {
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.home-tab-two .ht-fp-right {
    padding-left: 20px;
}

@media all and (max-width: 1615px) {
    #agenda-todas {
        margin-top: -20px;
    }
}

@media all and (max-width: 1560px) {
    #agenda-todas {
        margin-top: -20px;
    }
    .home-tab-two h3 {
        font-size: 14px;
    }
}

@media all and (max-width: 1430px) {
    .home-tab-two h3 {
        font-size: 13px;
    }
}

@media all and (max-width: 1390px) {
    .home-tab-two h3 {
        font-size: 12px;
    }
    .home-tab-two h2 {
        font-size: 20px;
    }
}

@media all and (max-width: 1150px) {
    .home-tab-two h3 {
        font-size: 11px;
    }
}

@media all and (max-width: 1244px) {
    #agenda-todas {
        font-size: 12px;
    }
}



/* NOTICIAS HOME */

.home-tab-one .ht-fp-right {
    text-align: justify;
    font-size: 15px;
    padding: 10px 30px 10px 10px;
}

@media all and (max-width: 1580px){
  .home-tab-one .ht-fp-right {
        font-size: 14px;
    }
}

@media all and (max-width: 1480px){
  .home-tab-one .ht-fp-right {
        font-size: 13px;
    }
}

@media all and (max-width: 1260px){
  .home-tab-one .ht-fp-right {
        font-size: 11px;
    }
}

@media all and (max-width: 1100px){
  .home-tab-one .ht-fp-right {
        font-size: 10px;
        text-align: left;
    }
}



.home-tab-one h2 {
    font-size: 18px;
    line-height: 1.2;
}

.home-tab-one h3 {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 300 !important;
}

.home-tab-one .ht-rc-item-meta {
    font-size: 14px;
    font-weight: 300 !important;
}


@media all and (max-width: 1615px) {
    #todas {
        margin-top: -20px;
    }
}

@media all and (max-width: 1244px) {
    #todas {
        font-size: 12px;
    }
}


@media all and (max-width: 1560px) {
    .home-tab-one h2 {
        font-size: 15px;
        line-height: 1.1;
    }

    .home-tab-one h3 {
        font-size: 14px;
    }

    .home-tab-one .ht-rc-item-meta {
        font-size: 12px;
    }
}

@media all and (max-width: 1390px) {
    .home-tab-one h2 {
        font-size: 13px;
        line-height: 1.1;
    }

    .home-tab-one h3, .home-tab-two h3 {
        font-size: 13px;
        line-height: 1.1;
    }

    .home-tab-one .ht-rc-item-meta, .home-tab-two .ht-rc-item-meta {
        font-size: 11px;
    }
}

@media all and (max-width: 1190px) {
    .home-tab-one h2 {
        font-size: 12px;
        line-height: 1;
    }

    .home-tab-one h3, .home-tab-two h3 {
        font-size: 12px;
    }

    .home-tab-one .ht-rc-item-meta, .home-tab-two .ht-rc-item-meta {
        font-size: 10px;
    }
    
    .home-tab-two .ht-rc-item-meta {
        line-height: 1.1;
    }
}


@media all and (max-width: /* 1060px */992px) {
    .home-tab-two h3 {
        font-size: 11px;
    }
}

/* NOTICIAS LISTADO */

@media all and (max-width: /* 960px */992px) {
    .cat-single-item a h3 {
        font-size: 17px;
        line-height: 1.2;
    }
}

.paginas {
    float: right;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 10px;
    border-top: 1px dotted #308ab4;
}

.paginas a {
    color: #308ab4;
}



/* TABLAS */

.h-tabla h4 {
    font-size: 22px !important;
}

/* iFrame Formularios */

#iframe1 {
    width: 650px;
}


/* Panel activo acordeón - Sistema de Gestión */

.vc_tta-panel-heading {
    background-color: #BBB !important;
}

.vc_tta-panel-heading .vc_tta-panel-title > a {
    color: #FFF !important;
}


/* Formato fecha Noticias */

.single-meta-posted-on {
    font-size: 150%;
    font-weight: 300;
}

/* CENTROS UNIÓN DE MUTUAS */

#imagen-centro, #datos-centro {
    margin-top: 30px;
}

#datos-centro {
    border-bottom: 1px dotted #CCC;
}

#datos-centro .columna1 {
    width: 50%;
    float: left;
    border-left: 1px dotted #DDD;
    padding-left: 10px;
    padding-right: 10px;
}

.listadoCentros .vc_col-sm-6 {
    width: 50% !important;
    float: left;
}






/* MENUS GRUPOS DE INTERÉS */

#menu-grupos-empresas, #menu-grupos-empresas-val, #menu-grupos-empresas-cat, #menu-grupos-trabajadores, #menu-grupos-trabajadores-val, #menu-grupos-trabajadores-cat, #menu-grupos-colaboradores, #menu-grupos-colaboradores-val, #menu-grupos-colaboradores-cat, #menu-grupos-autonomos, #menu-grupos-autonomos-val, #menu-grupos-autonomos-cat {
    margin-left: 0;
    margin-right: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.menu-grupos ul li a {
    font-size: 20px;
    font-weight: 300;
    color: #005a84;
}

.menu-grupos ul li a:hover {
    color: #308ab4;
}



/* GRUPOS DE INTERÉS */


/*body.parent-pageid-2116 .wpb_column h2, body.parent-pageid-5457 .wpb_column h2, body.parent-pageid-5459 .wpb_column h2, body.parent-pageid-2126 .wpb_column h2, body.parent-pageid-5696 .wpb_column h2, body.parent-pageid-5699 .wpb_column h2*/

.wpb_column h2.vc_custom_heading {
    /*border-bottom: 1px solid #a6a698;*/
    border-left: 5px solid #005a84;
    padding-left: 15px;
}

.wpb_column h1.insert-page-title {
    color: #999;
    font-weight: 300 !important;
    font-size: 200%;
}

.wpb_column .grupos-header h1, .wpb_column .grupos-header h2 {
    color: #005a84;
    font-weight: 300 !important;
    font-size: 200%;
    border-left: 5px solid #005a84;
    padding-left: 15px;
}

.wpb_column .grupos-header .ult-content-box h2, .wpb_column .grupos-header form h2, .wpb_column .grupos-header .vc_col-sm-6 h2, .wpb_column .grupos-header .vc_col-sm-8 h2, .wpb_column .grupos-header .vc_col-sm-4 h2 {
    border-left: none;
    padding-left: 0px;
}

.insert-page .post-meta {
    display: none;
}


/* MAPA WEB */

.wsp-pages-title {
    display: none;
}

/* OFERTAS DE TRABAJO */

.oferta {
    border-top: 1px solid #CCC;
}


/* OFICINA VIRTUAL */

body.page-id-6371 #primary.has-left-sidebar, body.page-id-6375 #primary.has-left-sidebar, body.page-id-6377 #primary.has-left-sidebar, body.parent-pageid-6371 #primary.has-left-sidebar, body.parent-pageid-6375 #primary.has-left-sidebar, body.parent-pageid-6377 #primary.has-left-sidebar {
    border-top: 0px;
}

body.page-id-6371 .entry-header, body.page-id-6375 .entry-header, body.page-id-6377 .entry-header, body.parent-pageid-6371 .entry-header, body.parent-pageid-6375 .entry-header, body.parent-pageid-6377 .entry-header {
    display: none;
}

body.page-id-6371 .oficina-header, body.page-id-6375 .oficina-header, body.page-id-6377 .oficina-header, body.parent-pageid-6371 .oficina-header, body.parent-pageid-6375 .oficina-header, body.parent-pageid-6377 .oficina-header {
    margin-top: -20px;
}


.ico {
    float: left;
    margin-right: 15px;
}

.icoh {
    float: left;
    height: 84px;
    vertical-align: middle;
    max-width: 550px;
}

.oficina1 .icoh h3, .oficina1 .icoh2 h3 {
    font-family: 'Roboto',sans-serif;
    color: #5da49a;
}

.oficina2 .icoh h3, .oficina2 .icoh2 h3 {
    font-family: 'Roboto',sans-serif;
    color: #6ca756;
}

.oficina3 .icoh h3, .oficina3 .icoh2 h3 {
    font-family: 'Roboto',sans-serif;
    color: #4c5393;
}

.oficina4 .icoh h3, .oficina4 .icoh2 h3 {
    font-family: 'Roboto',sans-serif;
    /*color: #6f1c53;*/
    color: #8c5da1;
}

.oficina1, .oficina2, .oficina3, .oficina4 {
    margin-bottom: 0px !important;
}

.oficina1 .wpb_wrapper, .oficina2 .wpb_wrapper, .oficina3 .wpb_wrapper, .oficina4 .wpb_wrapper {
    min-height: 105px;
    display: inline-flex;
}

@media all and (max-width: /* 1080px */992px) {
    .icoh h3 {
        font-size: 18px;
    }
}

.icoh2 {
    float: left;
    height: 84px;
    vertical-align: middle;
}

.icoh2 h3 {
    font-size: 24px;
}

.oficina1 .icoh h3 a {
    color: #5da49a !important;
}

.oficina2 .icoh h3 a {
    color: #6ca756 !important;
}

.oficina3 .icoh h3 a {
    color: #4c5393 !important;
}

.oficina4 .icoh h3 a {
    color: #8c5da1 !important;
}


/* OFICINA VIRTUAL - COLUMNA DERECHA */

#ofcol1-1, #ofcol2-1, #ofcol3-1, #ofcol4-1 {
    float: left;
    position: relative;
    z-index: 10;
}
#ofcol1-1 img, #ofcol2-1 img, #ofcol3-1 img, #ofcol4-1 img {
    max-width: 300px;
    max-height: auto;
}

#ofcol1-2, #ofcol2-2, #ofcol3-2, #ofcol4-2 {
    float: left;
    background-color: #e3edeb;
    padding: 15px;
    max-width: 380px;
    margin-top: -55px;
    padding-top: 3px;
}

#ofcol2-2 {
    background-color: #e4ebe2;
}

#ofcol3-2 {
    background-color: #e9eaf4;
}

#ofcol4-2 {
    /*background-color: #f9f0fd;*/
    background-color: #fbf2ff;
}

#ofcol1-2 h5, #ofcol2-2 h5, #ofcol3-2 h5, #ofcol4-2 h5 {
    margin-left: 60px;
    font-size: 14px;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 15px;
}

#ofcol1-2 h5 {
    color: #5da49a;
}

#ofcol2-2 h5 {
    color: #6ca756;
}

#ofcol3-2 h5 {
    color: #4c5393;
}

#ofcol4-2 h5 {
    color: #8c5da1;
}



#ofcol1-2 ul, #ofcol2-2 ul, #ofcol3-2 ul, #ofcol4-2 ul {
    margin-left: 5px;
}

#ofcol1-2 ul li, #ofcol2-2 ul li, #ofcol3-2 ul li, #ofcol4-2 ul li {
    list-style: none;
    text-indent: -10px;
}

#ofcol1-2 ul li::before, #ofcol2-2 ul li::before, #ofcol3-2 ul li::before, #ofcol4-2 ul li::before {
  /*content: "• ";*/
  content: '\2022';
  color: #5da49a;
  font-size: 20px;
  padding-right: 5px;
}

#ofcol2-2 ul li::before {
    color: #6ca756;
}

#ofcol3-2 ul li::before {
    color: #4c5393;
}

#ofcol4-2 ul li::before {
    color: #8c5da1;
}

#ofcol1-2 ul li a, #ofcol2-2 ul li a, #ofcol3-2 ul li a, #ofcol4-2 ul li a {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #5da49a;
}

#ofcol1-2 ul li a:hover, #ofcol2-2 ul li a:hover, #ofcol3-2 ul li a:hover, #ofcol4-2 ul li a:hover {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #5da49a;
}

#ofcol2-2 ul li a, #ofcol2-2 ul li a:hover {
    text-decoration-color: #6ca756;
}

#ofcol3-2 ul li a, #ofcol3-2 ul li a:hover {
    text-decoration-color: #4c5393;
}

#ofcol4-2 ul li a, #ofcol4-2 ul li a:hover {
    text-decoration-color: #8c5da1;
}



/* OFICINA VIRTUAL - TEXTOS */

.estamos {
    font-family: 'Roboto',sans-serif;
    color: #333;
    margin-top: 0px;
}

.ofitext1 h3 {
    font-family: 'Roboto',sans-serif;
    color: #5da49a;
}

.ofitext2 h3 {
    font-family: 'Roboto',sans-serif;
    color: #6ca756;
}

.ofitext3 h3 {
    font-family: 'Roboto',sans-serif;
    color: #4c5393;
}

.ofitext4 h3 {
    font-family: 'Roboto',sans-serif;
    color: #8c5da1;
}

.ofitext1 h6, .ofitext2 h6, .ofitext3 h6, .ofitext4 h6 {
    font-weight: 400;
    font-size: 11px;
    color: #555;
}

.ofitext1 h4, .ofitext2 h4, .ofitext3 h4, .ofitext4 h4 {
    font-family: 'Roboto',sans-serif;
    color: #333;
}


/* OFICINA VIRTUAL - TABLAS */

#tablepress-6, #tablepress-7, #tablepress-8, #tablepress-9 {
    max-width: none;
}


/* BORDE PARA UTILIZAR EN LAS IMÁGENES */

.bordefoto img, .bordefoto a img {
    border: 1px solid #CCC;
}


/* FORMATO 4 COLUMNAS ORGANOS DE GOBIERNO */

.cols4 h2 {
    font-size: 150%;
    font-weight: 400 !important;
}

/* BOTONES DE REDES SOCIALES */

#footer .info-icons {
    height: 36px;
    width: 280px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    margin-bottom: 24px;
}

#footer .info-icons > a {
  padding-right: 5px;
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 50%;
}

#footer .info-icons > a > span {
  display: inline-block;
  width: 36px;
  height: 36px;
  vertical-align: middle;
  background: url('../images/social_icons_footer.png') no-repeat center center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

#footer .info-icons > a .wordpress {
  background-position: 0 0;
}

#footer .info-icons > a:hover .wordpress {
  background-position: 0 -36px;
}

#footer .info-icons > a .linkedin {
  background-position: -45px 0;
}

#footer .info-icons > a:hover .linkedin {
  background-position: -45px -36px;
}

#footer .info-icons > a .twitter {
  background-position: -90px 0;
}

#footer .info-icons > a:hover .twitter {
  background-position: -90px -36px;
}

#footer .info-icons > a .youtube-play {
  background-position: -135px 0;
}

#footer .info-icons > a:hover .youtube-play {
  background-position: -135px -36px;
}

#footer .info-icons > a .facebook {
  background-position: -180px 0;
}
#footer .info-icons > a:hover .facebook {
  background-position: -180px -36px;
}

#footer .info-icons > a .instagram {
  background-position: -225px 0;
}

#footer .info-icons > a:hover .instagram {
  background-position: -225px -36px;
}

#contact-form-radio-block > span {
    display:block !important;
}
#contact-form-radio-block1 > span {
    display:block !important;
}
#contact-form-radio-block2 > span {
    display:block !important;
}
#contact-form-radio-block3 > span {
    display:block !important;
}

.opcion-f3 {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.opcion-f4 {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

