h1 {
	color: #1e626b !important;
}

/* Galería */
#Temps_ColumnasEstructura_Gal{
    width: 73.5%;
    height: auto; 
    margin: auto; 
}
#Temps_ColumnasEstructura_Gal img{
    cursor: pointer;
}
.Temps_cuerpo_Gal{
    width: 100%;
    margin: 0;
    height: auto;
}

/* Keep all floated gallery elements inside the gallery */
#TempsGaleriaContent {
    display: flow-root;
}

.Temps_clear {
    display: block;
    clear: both;
    width: 100%;
    height: 0;
}

.TempsGal_Fil{
    width: 100%;
}
.TempsGal_Fil img{
    min-width: -moz-available;
    min-width: -webkit-fill-available;
    height: 100%;
}
.TempsGal_Col{
    height: 100%;
}
.TempsGal_Fil0{
    width: 100%;
}
.TempsGal_Fil0 .TempsGalFil_Col0{
    float: left;
}
.TempsGal_Fil0 .TempsGalFil_Col1{
    float: left;
}
.TempsGal_Fil_0_0{
    margin-right: 8px;
}
.TempsGal_Fil_1_0{
    margin-right: 8px;
}
.TempsGal_Fil_0_1, .TempsGal_Fil_1_1{
    height: 100%;
}
.TempsGal_Fil0 .TempsGal_Fil_0_0{
    float: left;
    height: 100%;
}
.TempsGal_Fil0 .TempsGal_Fil_0_1{
    float: right;
    height: 100%;
}
.TempsGal_Fil2 .TempsGal_Fil_0_0{
    float: right;
    height: 100%;
    margin-right: 0px;
}
.TempsGal_Fil0 .TempsGal_Fil_1 .TempsGal_Fil_0_0{
    float: right;
    height: 100%;
    margin-right: 0px;
}
.TempsGal_Fil2 .TempsGal_Fil_1 .TempsGal_Fil_0_0{
    float: left;
    height: 100%;
    margin-right: 8px;
}
.TempsGal_Fil0 .TempsGal_Fil_1 .TempsGal_Fil_0_1{
    float: left;
    height: 100%;
    margin-right: 8px;
}
.TempsGal_Fil2 .TempsGal_Fil_1 .TempsGal_Fil_0_1{
    float: right;
    height: 100%;
}
.TempsGal_Fil0 .TempsGal_Fil_1_0{
    float: left;
    height: 100%;
}
.TempsGal_Fil2 .TempsGal_Fil_1_0{
    float: right;
    height: 100%;
}
.TempsGal_Fil0 .TempsGal_Fil_1_1{
    float: left;
    height: 100%;
}
.TempsGal_Fil2 .TempsGal_Fil_1_1{
    float: right;
    height: 100%;
}
.TempsGal_Fil0 .TempsGalFil_Col2{
    float: right;
}
.TempsGal_Fil1{
    width: 100%;
}
.TempsGal_Fil1 .TempsGalFil_Col0{
    float: left;
}
.TempsGal_Fil_0{
    margin-bottom: 8px;
}
.TempsGal_Fil_1{
    margin-bottom: 8px;
}
.TempsGal_Fil1 .TempsGalFil_Col1{
    float: left;
}
.TempsGal_Fil1 .TempsGalFil_Col2{
    float: left;
}
.TempsGal_Fil2{
    width: 100%;
}
/* elementos */
.TempsGal_element_margin_right{
    margin-right: 8px;
}
.TempsGal_element_left{
    float: left;
}
.TempsGal_element_height{
    height: 100%;
}
.TempsGal_element_font_italic{
    font-style: italic;
}
.TempsGal_element_text_align_left{
    text-align: left;
}
.TempsGal_element_color_disabled{
    color: #ededed;
}
/* Estilos por componentes*/
.TempsGal_section4_group{
    height: 100%;
    margin-bottom: 8px;
    margin-left: 8px;
    width: 39.6%;
}
.TempsGal_section4_item{
    height: 100%;
    width: 29.6%;
    float: left;
}
.TempsGal_section5_group{
    width: 69.8%;
    height: 100%;
}
.TempsGal_section5_group_top{
    width: -moz-available;
    width: -webkit-fill-available;
    height: 303px;
}
.TempsGal_section5_group_bottom{
    width: -moz-available;
    width: -webkit-fill-available;
    height: 260px;
}
.TempsGal_section4_item_top{
    height: 258px;
    margin-bottom: 8px;
}
.TempsGal_section4_item_bottom{
    height: 305px;
}
.TempsGal_section2_item_left{
    width: 54.8%;
}
.TempsGal_section5_item_top{
    width: 43.6% !important;
}
.TempsGal_section5_item_bottom{
    width: 52.5% !important;
}
.TempsGal_section5_width_unique{
    width: 29.6%;
}
.TempsGal_filtro_container{
    position: relative;
    height: 50px;
    padding-top: 10px;
    float: right;
}
/*
.TempsGal_cerca{
    position: absolute;
    right: 0px;
    width: 125px;
    border: 1px solid rgb(0, 137, 143);
    padding-left: 5px;
    border-right: 0px;
    height: 27px;
    text-align: left;
    background: url('/wp-content/themes/ENS/eltemps/img/fletxa.png')no-repeat right center;
    line-height: 26px;
}*/
.TempsGal_cerca {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: rgba(0, 0, 0, 0) url("/wp-content/themes/IB3/eltemps/img/fletxa.png") no-repeat scroll right center;
    border-color: rgb(0, 137, 143) currentcolor rgb(0, 137, 143) rgb(0, 137, 143);
    border-image: none;
    border-style: solid none solid solid;
    border-width: 1px 0 1px 1px;
    height: 27px;
    line-height: 26px;
    padding-left: 5px;
    position: absolute;
    right: 12px;
    text-align: left;
    width: 125px;
}
.TempsGal_selNom{
    width: -moz-available;
    width: -webkit-fill-available;
    border-radius: inherit !important;
    border: none;
}
.TempsGal_filtro_date{
    position: relative;
    width: -moz-available;
    width: -webkit-fill-available;
    height: 30px;
}
.TempsGal_filtrto_content{
    width: 320px;
    background-color: #ededed;
    position: absolute;
    right: 0px;
    top: 45px;
    display: none;
    z-index: 1;
    padding: 5px 20px;
}
.TempsGal_selYear{
    background: url('/wp-content/themes/IB3/eltemps/img/fletxa02.png')no-repeat right center;
    width: 27%;
    cursor: pointer;
    float: left;
}
.TempsGal_selYearT{
    margin-bottom: 0px;
    background-color: white;
    width: 66%;
    height: 24px;
    vertical-align: middle;
}
.TempsGal_selMonth{
    background: url('/wp-content/themes/IB3/eltemps/img/fletxa02.png')no-repeat right center;
    width: 44%;
    cursor: pointer;
    float: left;
    margin: 0% 3%;
}
.TempsGal_selMonthT{
    margin-bottom: 0px;
    background-color: white;
    width: 79%;
    height: 24px;
    vertical-align: middle;
}
.TempsGal_selDay{
    background: url('/wp-content/themes/IB3/eltemps/img/calendario.png')no-repeat right center;
    width: 23%;
    cursor: pointer;
    float: left;
}
.TempsGal_selDayT{
    margin-bottom: 0px;
    background-color: white;
    width: 61%;
    height: 24px;
    vertical-align: middle;
}
.TempsGal_selYearC{
    background-color: white;
    width: -moz-available;
    width: -webkit-fill-available;
    max-height: 135px;
    display: none;
	margin-bottom: 10px;
}
.TempsGal_selMonthC{
    background-color: white;
    width: -moz-available;
    width: -webkit-fill-available;
    height: 135px;
    display: none;
	margin-bottom: 10px;
}
.TempsGal_selDayC{
    background-color: white;
    width: -moz-available;
    width: -webkit-fill-available;
    height: -moz-fit-content;
    display: none;
    margin-bottom: 10px;
}
#TempsGal_selMonthC li{
    float: left;
    height: 23px;
    padding-top: 8px;
    width: 33%;
	cursor: pointer;
}
#TempsGal_selDayC > table{
    width: -moz-available;
    width: -webkit-fill-available;
}
.btnCercaGal{
    background-color: rgb(0, 137, 143);
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 18px;
    padding: 2px 7px;
    float: left;
}
.TempsGal_Fil2 .TempsGalFil_Col0{
    float: right;
}
.TempsGal_Fil2 .TempsGalFil_Col1{
    float: right;
}
.TempsGal_Fil2 .TempsGalFil_Col2{
    float: right;
}
.TempsGal_Overflow{
    overflow: hidden;
}
.TempsGal_Overflow > img{
    opacity: 1;
    transition: opacity 1s;
}
.img-vertical{
    width: 100%;
    height: auto;
}
.TempsGal_Modal{
	display:none;
	background: url('/wp-content/themes/IB3/eltemps/img/carregant.png')no-repeat center;
	background-color: rgba(0,0,0,0.95);
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 1031;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
	-webkit-transform: translate3d(-50%, -50%, 0);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}
.TempsGal_Modal-Content{
	z-index: 3;
	width: 100%;
	height: 100%;
	position: relative;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
	-webkit-transform: translate3d(-50%, -50%, 0);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);

}
.TempsGal_Modal-Content-img{
	max-width: 100%;
	position: absolute;
	max-height: 100%;
	margin: 0 auto;
	text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate3d(-50%, -50%, 0);
	-o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.TempsGal_Modal-Content-div{
	color: white;
	text-align: left;
	bottom: 0px;
	height: 40px;
	padding-left: 1.5%;
	background: rgba(46, 47, 48, 0.88);
	position: absolute;
	width: 100%;
	left: 0;
}
.Temps_galzona {
    padding-left: 10px;
}
.element-float-left{
    float: left;
    margin-top: 7px;
}
#Temps_galfecha {
    float: right;
    padding-right: 10px;
    margin-top: 7px;
}
#Temps_galX {
    position: absolute;
    top: 55px;
    margin: 1%;
    cursor: pointer;
    right: 0px;
}
#Temps_galright{
    position: absolute;
    top: 50%;
    margin: 1%;
    cursor: pointer;
    right: 0px;
    background-repeat: no-repeat;
    background-image: url("/wp-content/themes/IB3/eltemps/img/flechas.png");
    width: 12px;
    height: 20px;
    background-size: 100% 100%;
}
#Temps_galleft{
    position: absolute;
    top: 50%;
    margin: 1%;
    cursor: pointer;
    left: 0px;
    background-repeat: no-repeat;
    background-image: url("/wp-content/themes/IB3/eltemps/img/flechas1.png");
    width: 12px;
    height: 20px;
    background-size: 100% 100%;
}
.TempsGal_Reestructura {
    float: none !important;
    width: auto !important;
    margin: unset !important;
}
.TempsGal_FilReescal {
    height: unset !important;
    margin: unset !important;
}
.TempsGal_Overflow:hover > img{
    opacity: 0.6;
    filter: alpha(opacity=60);
}
.TempsGal_OverflowReestr {
    overflow: hidden;
    width: 32% !important;
    height: 300px !important;
    float: left !important;
    margin: 0% 0.3% 0.3% 0.3% !important;
}
@media all and (max-device-width: 480px) and (orientation: landscape){
    #Temps_ColumnasEstructura_Gal{
        padding-left: 0%; 
        padding-right: 0%;
        margin-top: 70px;
        margin-bottom: 50px;
        width: 100%;
    }
    .TempsGal_Col{
        float: none !important;
        height: auto;
        width: auto;
    }
    .TempsGal_element_left{
        float: none;
    }
    .TempsGal_Overflow {
        overflow: hidden;
        width: 32% !important;
        height: 80px !important;
        float: left !important;
        margin: 0% 0.3% 0.3% 0.3% !important;
    }
    .TempsGal_Modal-Content {
        margin: 0 auto;
        overflow: hidden;
        width: 85%;
        position: relative;
        height: auto;
    }
    .TempsGal_Modal-Content:before {
        content: ' ';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }
    .TempsGal_Modal-Content-img {
        height: 100%;
        width: -moz-available;
    }
    a[data-filter="14/12/2017"]:focus ~ img:not([data-filter="14/12/2017"]){
        display: none;
    }
}
@media screen and (max-width: 599px){
    /* Galería */
    #Temps_estructura_Gal{
        width: 320px;
    }
    #Temps_ColumnasEstructura_Gal{
        padding-left: 2.2%; 
        padding-right: 0%;
        margin-bottom: 50px;
        width: 100%;
    }
    .TempsGal_Col {
        float: none !important;
        height: auto;
        width: auto;
    }
    .TempsGal_element_left{
        float: none;
    }
    .TempsGal_Overflow {
        overflow: hidden;
        width: 32% !important;
        height: 80px !important;
        float: left !important;
        margin: 0% 0.3% 0.3% 0.3% !important;
    }
    a[data-filter="14/12/2017"]:focus ~ img:not([data-filter="14/12/2017"]){
        display: none;
    }
}
@media screen and (min-width: 1400px){
    /* Galería */
    #Temps_estructura_Gal{
        width: 1400px;
    }
    #Temps_ColumnasEstructura_Gal{
        width: 100%;
        min-width: 1400px;
        padding-left: 0%; 
        padding-right: 0%; 
        margin-top: 5px;
        margin-bottom: 50px;
    }
    .TempsGal_Fil0{
        height: 571px;
        margin-bottom: 8px;
    }
    .TempsGal_Fil1{
        height: 376px;
        margin-bottom: 8px;
    }
    .TempsGal_Fil2{
        height: 571px;
        margin-bottom: 8px;
    }
    
    .TempsGal_Fil0 .TempsGalFil_Col0, .TempsGal_Fil2 .TempsGalFil_Col0{
        width: 21.7%;
    }
    .TempsGal_Fil0 .TempsGalFil_Col0 .TempsGal_Fil_0, .TempsGal_Fil2 .TempsGalFil_Col0 .TempsGal_Fil_0{
        height: 203px;
    }
    .TempsGal_Fil0 .TempsGalFil_Col0 .TempsGal_Fil_1, .TempsGal_Fil2 .TempsGalFil_Col0 .TempsGal_Fil_1{
        height: 360px;
    }

    .TempsGal_Fil0 .TempsGalFil_Col1 .TempsGal_Fil_0, .TempsGal_Fil2 .TempsGalFil_Col1 .TempsGal_Fil_0{
        height: 303px;
    }
    .TempsGal_Fil_0_0{
        width: 38.7%;
    }
    .TempsGal_Fil_0_1{
        width: 60.1%;
    }
    .TempsGal_Fil0 .TempsGalFil_Col1 .TempsGal_Fil_1, .TempsGal_Fil2 .TempsGalFil_Col1 .TempsGal_Fil_1{
        height: 260px;
    }
    .TempsGal_Fil0 .TempsGalFil_Col1, .TempsGal_Fil2 .TempsGalFil_Col1{
        width: 47.7%;
        margin-right: 8px;
        margin-left: 8px;
    }
    .TempsGal_Fil0 .TempsGalFil_Col2, .TempsGal_Fil2 .TempsGalFil_Col2{
        width: 29.45%;
    }
    .TempsGal_Fil1 .TempsGalFil_Col0{
        width: 37.2%;
    }
    .TempsGal_Fil1 .TempsGalFil_Col1{
        width: 26.9%;
        margin-left: 8px;
        margin-right: 8px;
    }
    .TempsGal_Fil1 .TempsGalFil_Col2{
        width: 34.7%;
    }
}	
.margAuto {
    margin: auto;
}	

#TempsGaleriaContent {
    display: flow-root;
    position: relative;
}

/* Centre the loading GIF inside the gallery area */
#galeriaT-loader {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    clear: both;
    float: none;
}

#galeriaT-loader img {
    display: block;
    width: auto;
    height: auto;
    min-width: 0;
    cursor: default;
}