/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2'),
        url('fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Bold.woff2') format('woff2'),
        url('fonts/OpenSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.woff2') format('woff2'),
        url('fonts/Roboto-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans.woff2') format('woff2'),
        url('fonts/OpenSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body{
	margin: 0;
	background-color: #fff;
}

html,
body,
body.page {
    font:  normal  15px / 28px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    word-spacing: normal;
    color: #787d85;
}

*{
	box-sizing: border-box;
}

*:focus,
*:active{
	outline: none;
}

ul,
li{
	list-style: none;
	padding: 0;
	margin: 0;
}

/* HEADER */
header{
    position: absolute;
    width: 100%;
    z-index: 2;
    min-height: 930px;
    padding-left: 0!important;
    padding-right: 0!important;
}

header .navbar-header {
    width: 100%;
}

.pre-header{
	padding-top: 10px;
}

.social-links{
    float: right;
}

.social-links a{
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-links a img{
    position: relative;
    z-index: 1;
    width: 18px;
    margin: 0 auto;
    display: block;
    padding-top: 4px;
}

.social-links a:hover:after,
.social-links a:focus:after,
.social-links a:active:after{
	opacity: 1;
}

.social-links a:before{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #0c0c0c;
	z-index: 0;
}

.social-links a:after{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
    background: #1ebbf0;
    background: -webkit-linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    z-index: 0;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.user-actions{
	float: right;
	margin-top: 3px;
	margin-left: 20px;
}

.user-actions a{
	font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
	font-size: 13px;
	text-transform: none;
	color: #0c0c0c;
	margin-left: 10px;
	font-weight: 500;
	cursor: pointer;
}

.user-actions a:hover,
.user-actions a:focus,
.user-actions a:active{
	opacity: 0.8;
}

.user-actions a.user-btn:before{
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    background-image: url(../images/user-icon.png);
    background-size: 100%;
    background-repeat: no-repeat;
    margin-right: 6px;
    margin-bottom: 2px;
}

.name.navbar-brand{
	display: none;
}

.logo{
    display: inline-block;
    margin-right: 45px;
    width: 60px;
    height: 60px;
    background-image: url(../images/2016-10-LOGO-petit-e1501616395956.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
}

.logo img{
	display: none;
}

.search-form{
    float: right;
    margin-top: 12px;
}

.search-form form{
    height: 48px;
    width: 340px;
    /*border: 1px solid #000000;*/
    /*border: 1px solid #fff;*/
    /*border-radius: 30px;*/
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.search-form .input-search::placeholder {
    color: grey;
}

.search-form input[type="text"]{
    background: transparent;
    border: 1px solid black;
    color: black;
    text-align: right;
    border-radius: 50px 50px 50px 50px;
    -moz-border-radius: 50px 50px 50px 50px;
    -webkit-border-radius: 50px 50px 50px 50px;
    width: 250px;
    height: 30px;
    padding: 0 15px;
}

.search-form input[type="text"]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #000000;
}

.search-form input[type="text"]::-moz-placeholder { /* Firefox 19+ */
    color: #000000;
}

.search-form input[type="text"]:-ms-input-placeholder { /* IE 10+ */
    color: #000000;
}

.search-form input[type="text"]:-moz-placeholder { /* Firefox 18- */
    color: #000000;
}

.search-form input[type="submit"]{
    width: 25px;
    margin-left: 10px;
    background-image: url(../images/lupaNegra.png);
    background-color: transparent;
    border: 0;
    text-indent: -9999px;
    background-size: 100%;
    background-repeat: no-repeat;
}

.tagline{
	float: right;
}

.tagline h1{
    font-size: 13px;
    font-weight: bold;
    color: gray;
    margin-top: 5px;
    margin-right: 20px;
}

.nav-header{
	padding-top: 20px;
}

.navbar-default {
    background-color: #ffffff;
    border-color: #ffffff;
}

nav#block-hospitecnia-main-menu {
    max-width: 1380px;
    margin: 0 auto;
}

.nav{
	width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.nav > li:last-child{
	margin-right: 0;
}

.nav > li > a, .nav > li > span{
    color: #000!important;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
    cursor: pointer;
    padding-bottom: 7px;
    display: block;
}

.nav > li > span {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 12px;
}

.nav > li.has-child > a:after, .nav > li.has-child > span:after{
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 9px;
    background-image: url(../images/angle-arrow-down.png);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 7px;
    right: -16px;

}

.nav > li > a:before, .nav > li > span:before{
    content: '';
    display: block;
    width: 0;
    bottom: 0;
    background-color: #1ebbf0;
    background: #1ebbf0;
    background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    background: linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    height: 2px;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.nav > li ul{
    display: none;
    position: absolute;
    background-color: rgba(255,255,255,0.98);
    z-index: 2;
    margin-left: -10px;
    margin-top: 0;
    box-shadow: 0 0 12px rgba(0,0,0,.2);
}

.nav > li ul li a{
	font-weight: 700;
	font-size: 13px;
	font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
	color: #0c0c0c;
	padding: 10px 10px;
	display: block;
	line-height: 1.1;
	cursor: pointer;
}

@media only screen and (min-width: 768px) {
    .nav li:hover > ul{
        display: block;
    }

    .nav li.dropdown-submenu {
        position: relative;
    }

    .nav li.dropdown-submenu > ul {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0;
    }
}


.nav > li:hover > a{
	color: #1ebbf0;
    background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.nav > li:hover a:before{
	width: 100%;
}

.nav > li ul li > a:hover{
	color: #1ebbf0;
    background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

#main-menu-burger-button {
    border: none;
    padding: 0;
}

#main-menu-burger-button span {
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../images/user-icon.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

/* MAIN */
.wrapper{
	max-width: 1380px;
	width: 100%;
	padding: 0 40px;
	margin: 0 auto;
}
.clear{
	clear: both;
}

.views-exposed-form {
    display: none;
}

#block-hospitecnia-formularioexpuestobusquedapage-1.views-exposed-form {
    display: block;
}

#block-hospitecnia-formularioexpuestobusquedapage-1.views-exposed-form h2,
#block-hospitecnia-formularioexpuestobusquedapage-1.views-exposed-form label,
#block-hospitecnia-formularioexpuestobusquedapage-1.views-exposed-form input,
#block-hospitecnia-formularioexpuestobusquedapage-1.views-exposed-form button {
    display: none;
}


#block-hospitecnia-formularioexpuestobusquedapage-1.views-exposed-form label {
  font-size: 36px;
  margin-top: 20px;
  margin-bottom: 30px;    
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: #3b3f4a;
}


/* MAIN SLIDER */
.main-slider,
.main-slider .owl-stage-outer,
.main-slider .owl-stage,
.main-slider .owl-item,
.main-slider .item{
	height: 600px;
	overflow: hidden;
}

.main-slider .item img{
    display: block;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.slider-wrapper{
    max-width: 1380px;
    width: 100%;
    padding: 0 40px;
    /* margin: 0 auto; */
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 100%;
}

.main-slider .item h2{
    position: absolute;
    font-weight: 500;
    font-size: 22px;
    color: black;
    text-decoration: none;
    display: inline-block;
    background-color: rgba(255,255,255,0.7);
    bottom: 40px;
    right: 40px;
    padding: 13px 30px;
    border-radius: 5px;
}

.main-slider .owl-dots{
	text-align: center;
	position: absolute;
	z-index: 3;
	bottom: 15px;
	width: 100%;
	left: 0;
}

.main-slider .owl-dots .owl-dot{
	display: inline-block;
}

.main-slider .owl-dots .owl-dot span{
	display: inline-block;
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    border-radius: 50px;
    margin: 0 4px;
    cursor: pointer;
}

.main-slider .owl-dots .owl-dot.active span,
.main-slider .owl-dots .owl-dot:hover span,
.main-slider .owl-dots .owl-dot:focus span,
.main-slider .owl-dots .owl-dot:active span{
	background-color: #fff;
	-webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/* HOME SLIDERS */
.hospitecnia-home-slider {
    position: relative;
    height: 0;
    overflow-y: visible;
    top: 0;
    left: 0;
    z-index: 0;
}

.hospitecnia-home-slider .home-slider-slide {
    width: 100%;
    height: 937px;
    background-repeat: no-repeat!important;
    -webkit-background-size: cover!important;
    background-size: cover!important;
    position: relative;
}

.hospitecnia-home-slider .home-slider-figcaption {
    position: absolute;
    bottom: 15vh;
    right: 5%;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    background-color: #ffffffb5;
    z-index: 2;
}

.hospitecnia-home-slider .home-slider-figcaption a{
    font-weight: 500;
    font-size: 22px;
    color: black;
    text-decoration: none;
}

h2{
    color: #3b3f4a;
    font-weight: 700;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.content-slider{
    width: calc(100% + 30px);
    margin-left: -15px;
}

.content-slider .item{
    width: 100%;
    padding: 0 15px;
}

.content-slider .item a{
	display: block;
	cursor: pointer;
}

.content-slider .item .image-wrapper{
	height: 135px;
	overflow: hidden;
}

.content-slider .item .image-wrapper img{

}

.content-slider .item .item-info{
	background-color: #f8f8f9;
	padding: 15px 20px 20px 20px;
	min-height: 110px;
}

.content-slider .item .item-info h3{
    color: #3b3f4a;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 10px 0;

}

.content-slider .item .item-info span{
	position: relative;
	font-size: 13px;
	line-height: 17px;
	color: #3b3f4a;
	font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
}

.content-slider .item .item-info span:after{
	content: '';
    display: block;
    width: 0;
    bottom: 0;
    background-color: #1ebbf0;
    background: #1ebbf0;
    background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    background: linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    height: 2px;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.content-slider .item a:hover span:after{
	width: 100%;
}


.content-slider .owl-nav{
	position: absolute;
	top: -70px;
	right: 15px;

}

.content-slider .owl-nav span{
	font-size: 40px;
    margin-left: 15px;

}

.logo-list a {
    float: left;
    /* display: table-cell; */
    vertical-align: middle;
    text-align: center;
    width: 10%;
    height: 85px;
    margin-right: 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: block; */
    padding: 0 7px;
}

.logo-list a img{
	width: 100%;
}

/** ASIDE **/

.main-container aside {
    padding-right: 0;
}

#block-articlerelatedblock img {
    margin-left: -10px;
}

.resumen-related {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.resumen-related a {
    color: #787d85;
    text-decoration: none;
}

.resumen-related a:hover {
    color: #787d85;
}

.relacionados a {
  color: #787d85;
  text-decoration: none;
}

.relacionados a:hover {
  color: #787d85;
}

/* FOOTER */
.footer{
	background-color: #5ca989;
	padding: 40px 0;
	margin-top: 40px;
}

.footer h3{
	color: #000;
	margin: 0 0 10px 0;
	font-size: 25px;
	font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
}

.footer p{
	color: #000;
	font-size: 14px;
	text-align: justify;
}

.footer ul{

}

.footer ul li{
	border-bottom: 1px solid #4d8f75;
}

.footer ul li:last-child{
	border: 0;
}

.footer ul li a{
	color: #000;
	text-transform: uppercase;
	display: block;
	padding: 9px 0;
	font-size: 14px;
	cursor: pointer;
}

.footer ul li a:hover,
.footer ul li a:focus,
.footer ul li a:active{
	background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.footer h4{
	color: #000;
	font-size:20px;
	font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
	margin-top: 0;
	margin-bottom: 20px;

}

.footer form label{
	color: #000;
	font-size: 14px;
	margin-bottom: 10px;
	display: block;
}

.footer form input[type="email"]{
	border: 0;
	background-color: #fff;
	width: 100%;
	color: #000;
	height: 38px;
	margin-bottom: 20px;
	padding: 0 20px;
	font-size: 14px;
}

.footer form input[type="submit"]{
    font: normal bold 14px / 16px "Roboto", Helvetica, Arial, Verdana, sans-serif;
    text-transform: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 11px 18px 10px 16px;
    min-height: 38px;
    line-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
        color: #ffffff;
    background-color: #1ebbf0;
    background: #1ebbf0;
    background: -webkit-linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    border: 0;
    cursor: pointer;
}

/* formato listado */
.front-main-container {
    margin-top: 752px;
}

.main-container > .row{
    /*margin-top: 172px;*/
}

.main-container > .row > .col-sm-9 {
    padding-right: 25px;
}

.main-container > .row > .col-sm-3 {
    padding-left: 50px;
    border-left: 1px solid rgba(173,176,182,0.3);
}

@media only screen and (max-width: 767px) {
  .main-container > .row > .col-sm-3 {
    padding-left: 15px;
  }
}

/* card node */
.views-view-grid article {
    margin-right: 30px;
    padding-bottom: 20px;
}

.views-view-grid .views-row .views-col:nth-child(2n) article {
    /*margin-left: 30px;*/
    /*margin-right: 30px;*/
}

.a_card .post-entry-content {
    width: 100%;
    padding: 15px 20px 20px 20px;
    text-align: center;
    justify-content: center;
    background-color: #f8f8f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 125px;
}

.post-entry-content .post-details {
    float: none;
}

.post-details.details-type-link {
    font-size: 13px;
    line-height: 17px;
    color: #3b3f4a;
}

.post-details.details-type-link {
    float: left;
    padding-bottom: 8px;
    margin-bottom: -8px;
    font-weight: 700;
}

.post-details {
    position: relative;
    text-decoration: none;
}

.post-entry-content {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.post-entry-content .entry-title {
    font-size: 15px;
    margin-bottom: 0px;
    line-height: 1.4rem;
}

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, .h1-size, .entry-title.h1-size, .h2-size, .entry-title.h2-size, h1.entry-title, .h3-size, .entry-title.h3-size, h2.entry-title, .h4-size, .entry-title.h4-size, h3.entry-title, .h5-size, .entry-title.h5-size, .h6-size, .entry-title.h6-size, .header-color, .entry-meta .header-color, .color-title {
    color: #3b3f4a;
}

h4, .h4-size, .entry-title.h4-size, h3.entry-title, .dt-accordion-h4-size .wpb_accordion_header > a, .vc_separator h4 {
    color: #3b3f4a;
    font: normal bold 20px / 30px "Roboto", Helvetica, Arial, Verdana, sans-serif;
    text-transform: none;
}

.thumbnail_post img {
    max-height: 210px !important;
    width: 100%;
    max-width: 420px;
    object-fit: unset;
}

.post .rollover, .post .rollover-video:not(.ts-slide), .post img, img[class*=align], img[class*=wp-image-], img[class*=attachment-] {
    max-width: 100%;
    height: auto;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.post-entry-content .post-details {
    float: none;
}

.post-details.details-type-link {
    font-size: 13px;
    line-height: 17px;
    color: #3b3f4a;
}

.post-details.details-type-link {
    padding-bottom: 8px;
    margin-bottom: -8px;
    font-weight: 700;
}

.post-details {
    position: relative;
    text-decoration: none;
}

.accent-gradient .post-details.details-type-link:after {
    background: #1ebbf0;
    background: -webkit-linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
}

.post-details.details-type-link:after {
    background-color: #1ebbf0;
}

.post-details.details-type-link:after {
    position: absolute;
    display: block;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    content: "";
    -webkit-transition: width .4s ease;
    transition: width .4s ease;
}

.post-details:after {
    clear: both;
}

.post-details:after, .post-details:before {
    display: table;
    content: "";
}

a, a:hover {
    color: #1ebbf0;
}

a:hover, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}

a:active, a:focus, a:hover {
    outline: 0;
}

.post-details.details-type-link:after {
    left: -35px;
    width: 0px;
}

.post-details.details-type-link:hover:after {
    width: 70px;
}

.details-type-link i {
    margin-left: 5px;
}

.cabecera-categoria {
    display: flex;
}

.cabecera-categoria .cabecera-categoria--nombre {
    font-size: 3em;
    word-break: break-all;
    background-color: #79aef0;
    color: white;
    text-align: center;
    text-transform: uppercase;
    align-content: stretch;
}

/* HOME PAGE */
#logo-box {
    margin-top: 67px;
}

#banner{
    /*margin-top: 10px;*/
    /*height: 80px;*/
    /*max-width: 560px;*/
    /*text-align: right;*/
}

#banner img{
    /*height: 80px;*/
}

section.block-hospitecnia-refinador > ul li {
    display: inline;
}

section.block-hospitecnia-refinador > ul > li a.active {
    font-weight: bold;
}

div.view-bloque-agenda .views-row {
    border-top: 1px solid grey;
}

div.view-bloque-agenda .views-row .views-col article {
    border-left: 1px solid grey;
    height: 150px;
    font-size: 0.8em;
    padding: 9px;
    overflow-y: hidden;
}

div.view-bloque-agenda .views-row .views-col:last-child article {
    border-right: 1px solid grey;
}

div.view-bloque-agenda .views-row:last-child {
    border-bottom: 1px solid grey;
}

.fecha-articulo-agenda {
    font-size: 1.3em;
}

.ubicacion-articulo-agenda {
    color: #9C9995;
}

.home-destacado {
    padding-right: 10px;
}

.proveedores-list  li {
    display: inline-block;
}

/** FOOTER **/

footer section.footer-description .footer-description-header{
    margin-bottom: 20px;
    display: flex;
}

footer section.footer-description .footer-description-header > *{
    align-self: flex-end;
}

footer section.footer-description .footer-description-header  h1{
    font-size: 1.6em;
    padding-left: 20px;
    margin-bottom: 0;
    color: black;
}

footer section.footer-description .footer-description-header img {
    width: 45px;
}

footer section.newsletter h4 a {
    color: black;
}

footer section.newsletter button {
    background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    font: normal bold 14px / 16px "Roboto", Helvetica, Arial, Verdana, sans-serif;
    text-transform: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    min-height: 38px;
    line-height: 38px;
    padding: 0 18px 0 16px;
}

/** POSTS **/
.main-container article.articulo h1 {
    font-weight: bold;
}

.main-container article ul, .main-container article li {
    list-style: disc outside none;
}

.main-container article ol, .main-container article ul {
    margin: 0 0 10px 20px;
}

.main-container article li {
    display: list-item;
    text-align: -webkit-match-parent;
}

.main-image {
    width: 100%;
    margin-bottom: 15px;
}

.entry-social {
    text-align: right;
    margin-bottom: 10px;
}

.entry-social img {
    border-radius: 12px;
    padding: 2px;
    background-color: black;
}

.article-image-wrapper {
    position: relative;
}

.article-image-wrapper .fancy-categories {
    position: absolute;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    z-index: 30;
    top: 10px;
    left: 10px;
}

.article-image-wrapper .fancy-categories * {
    font: 700 12px/22px Arial,Verdana,sans-serif;
}

.article-image-wrapper .fancy-categories a {
    padding: 2px 9px 1px;
    margin: 0 0 2px;
    text-decoration: none;
    background-color: rgba(0,0,0,.75);
    color: #fff;
}

#article-caption {
    color: #1ebbf0;
}

div[data-drupal-messages] {
    /*display: none;*/
}

/** LOGIN MODAL **/

div#login-modal .modal-body button{
    background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
    font-size: 15px;
    border: none !important;
    display: block;
    line-height: 1em !important;
    padding: 16px 20px !important;
    text-decoration: none !important;
    text-align: center;
    text-transform: none !important;
    font-weight: normal !important;
    overflow: hidden;
    position: relative;
    transition: 0.25s;
    box-sizing: border-box;
    border-radius: 4px !important;
    width: 48%;
}

div#login-modal .modal-body button > span {
    display: none;
}

div.header-interactions {
    z-index: 9999;
}

@media only screen and (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .dialog-off-canvas-main-canvas {
        overflow: hidden;
    }

    div.header-interactions {
        display: none;
    }

    .pre-header {
        padding-right: 10%;
    }

    nav#block-hospitecnia-main-menu {
        position: absolute;
        top: 0;
    }

    nav#block-hospitecnia-main-menu div#navbar-collapse {
        background-color: white;
        padding: 30px 15px 15px;
    }

    nav#block-hospitecnia-main-menu div#navbar-collapse ul.nav {
        display: block;
        padding-left: 20px;
        padding-right: 20px;
    }

    nav#block-hospitecnia-main-menu div#navbar-collapse ul.nav a,
    nav#block-hospitecnia-main-menu div#navbar-collapse ul.nav li > span.navbar-text {
        padding-left: 0;
        display: flex;
        justify-content: space-between;
        min-width: 100px;
        padding-right: 0;
    }

    nav#block-hospitecnia-main-menu div#navbar-collapse ul.nav li ul {
        margin-left: 10px;
    }

    nav#block-hospitecnia-main-menu span.glyphicon.glyphicon-plus.visible-xs {
        color: rgba(59,63,74,0.27);
    }

    button#main-menu-burger-button {
        display: block;
        position: absolute;
        top: 2%;
        left: 5%;
        z-index: 9000;
        cursor: pointer;
    }

    .hospitecnia-home-slider .home-slider-slide {
        height: 100vh;
    }

    .hospitecnia-home-slider .home-slider-figcaption {
        bottom: 0;
        right: 0;
        border-radius: 0;
        width: 100%;
    }

    .front-main-container {
        margin-top: calc(100vh - 145px);
    }

    .main-container aside {
        padding-right: 15px;
    }

    .main-container div.row:not(:first-child) {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/** posts gallery **/
ul.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style: none!important;
}

ul.wp-block-gallery li.blocks-gallery-item {
    list-style: none!important;
    width: calc((100% - 32px)/3);
    margin: 0 16px 16px 0;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

ul.wp-block-gallery li.block-gallery-item > figure {
    width: 100%;
}

.wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: 1;
    -o-object-fit: cover;
    object-fit: cover;
}

.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 0;
    height: 100%;
}

.wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
    width: 100%;
}

.wp-block-gallery .blocks-gallery-image img, .wp-block-gallery .blocks-gallery-item img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%;
}

@media (min-width: 600px) {
    .wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n), .wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n), .wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n), .wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n), .wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n), .wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n), .wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n), .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n), .wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n), .wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n), .wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n), .wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n), .wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n), .wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n), .wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n), .wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n) {
        margin-right: 0;
    }
}

.indented{
    margin-left:50px;
}

.js-comment{
    padding-left:10px;
    border-left: 3px lightgrey solid;
    border-bottom: 3px lightgrey solid;
}

.enviado-por span:first-child{
    font-weight: 900;
}

.tags-list li{
    list-style: none !important;
    display: inline !important;
    padding: 5px;
}

.tags-list li a{
    color: white !important;
}

.visitante{
    cursor: pointer;
    color: #1ebbf0;
}

/** PROFILE **/

ul#profile-nav {
    display: block;
}

ul#profile-nav li.active {
    background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
}

ul#profile-nav li.active a{
    background-color: transparent;
}

div#profile-tab-content h2{
    margin-top: 0;
}

div.profile h1 {
    margin-bottom: 15px;
}

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #1ebbf0; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

.alert-dismissible{
    /*display:none;*/
}

.modal-body{
  text-align: center;
}
.modal-body .form-actions button{
  margin: 0 auto;
}

.cuadrado-azul-home{
  width:100%;
  background-color: #1ebbf0;
  color: white;
  text-align: center;
  font-weight: 900;
  margin-bottom:10px;
}

.cuadrado-azul-home:after {
  content: "";
  display: block;
  padding-bottom: 80%;
}

#block-trescuadradosazules{
  margin-top: 77px;
}

.view-id-taxonomy_term .view-header h1::first-letter{
  text-transform: uppercase;
}

figcaption{
  font-size:13px;
}

.col-sm-12 img{
  max-width: 100%;
}

/*LISTA PATROCINADORES*/
.proveedores-list ul li{
  margin-right: 15px;
}

p:has(>iframe) {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  padding-top: 30px;
  position: relative;
	}
p>iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.node--type-cursos.node--view-mode-teaser .post-entry-content{
    flex-direction: column;
}

.alert.alert-danger.alert-dismissible {
 display:none;
}

.post-entry-content .date-info .date {
  display: inline-block;
}

.post-entry-content .date-info .date > * {
  display: inline;
}