/*
 Created on 07-nov-2016
 Author: Plissken <llamameserpiente@insyde.es>
 Copyright 2016 INSYDE S.L. All rights reserved.
 INSYDE S.L. PROPRIETARY/CONFIDENTIAL. Use is subject to license terms
*/
/* 
    Created on : 07-nov-2016, 11:15:20
    Author     : Plissken <llamameserpiente@insyde.es>
*/

body{
    overflow-x: hidden;
}
body.hideOverflow{
    overflow-y:hidden;
}
header{
    /*background-color: red;*/
    position:relative;
    
}
#portadaTopWrap{
    position:absolute;
    /*display:none;*/
    transition: all .5s;
    opacity: 0;
}
#bb1{
    position:absolute;
    top:0;
}
#bb2{
    top:0;
}
#bloque1{
    min-height:50px;
}
#rrss{
    text-align: center;
    position:absolute;
    right:50px;
    bottom:25px;
    max-width:50px;
}
#rrss img{
    margin:5px;
}
.maxAmple{
    max-width:1280px;
}
.noticia,.comercialWrap{
    max-width:1280px;
    display:block;
    margin-left:auto;
    margin-right:auto;
    /*margin-top:70px;*/
    margin-top:35px;
    margin-bottom: 20px;
}
section div.maxAmple{
    padding-top:20px;
    padding-bottom:20px;
}
#bigButtons{text-align: center;}
#bigButtons img.botonImg{
    cursor:pointer;
}
#menuNavegacion{
    position:absolute;
    width:100%;
    height:50px;
    margin-bottom: 20px;
    z-index:10;
}
.langButton{
    margin-left: 15px; 
}
.mainLogo{
    position:absolute;
    z-index:5;
    display:none;
}
.menuSupCont{
    line-height: 45px;
    height:45px;
    text-align: center;
    padding-left:5% !important;
}
.topLink{
    margin: 15px;
}
#mainMenu{
    /*height:100px;*/
    /*line-height: 100px;*/
    text-align: center;
    margin-top:-50px;
}
#mainMenu li.mmenuActive:after{
    font-family: FontAwesome;
    content:"\f0d8";
    position:absolute;
    bottom:-40px;
    left:calc(50% - 25px);
    font-size:80px;    
}

#mainMenu ul,.submenu ul,.subMenuContainer ul{padding:0;margin-bottom:0 !important}
.subMenuContainer ul{
    /*width: 1280px;*/
margin-left: auto;
margin-right: auto;

}

.submenu ul{padding-top:0px;padding-bottom: 25px}
#mainMenu ul li{
    list-style: none;
    display: inline-block;
    position:relative;
    cursor:pointer;
    margin-right:20px;
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.1s;
    
}
.submenu ul li,.subMenuContainer ul li,.subMenuComercial ul li{
    list-style: none;
    display: inline-block;
    position:relative;
    cursor:pointer;
    margin-right:20px;
}
.submenu ul li{margin-top:25px;width:100%}
.nogutter{
    margin-left:-15px;
    width:calc(100% + 30px) !important;
}
.submenu{
    display:none;
}
#bloque1 h1{
    /*font-size: 4vw !important;*/
    font-size: 4vmax !important;
    text-align: center;
}
.subMenuContainer,.subMenuComercial{
    margin-top: 0px;
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom:20px;
    text-align: center;
    /*max-width:1280px;*/
    margin-left: auto;
    margin-right:auto;
}
.subMenuContainer ul li,.subMenuComercial ul li{
    margin-right:30px;
    margin-top:20px;
}

/*******Estils Formulari**********/
input[type="text"]{
    width:calc(100% - 25px);
    height:40px;
    border:none;
    margin-bottom:15px;
    padding-left: 20px;
    color:black;
}
textarea{
    width:calc(100% - 25px);
    height:110px;
    border:none;
    margin-bottom:15px !important;
    padding-left: 20px;
    padding-top:10px;
    padding-right:20px;
    color:black !important;
}
input[type="checkbox"]{
    /*border:2px solid #989898;*/
    visibility: hidden;
}
.squared{
	width: 28px;
	height: 28px;
	background: transparent;	
	position: relative;
        float:left;
        margin-left: -4px;
        margin-right: 20px;
        
}
.squared label{
    cursor:pointer;
    position:absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    top: 4px;
    border: 2px solid #989898;
}
.squared label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	content: '';
	position: absolute;
	width: 9px;
	height: 5px;
	background: transparent;
	top: 4px;
	left: 4px;
	border: 3px solid #0a0;
	border-top: none;
	border-right: none;

	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.squared label:hover::after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	opacity: 0.3;
}

.squared input[type=checkbox]:checked + label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}
button[type="submit"]{
    background-color: transparent;
    border-radius: 5px 5px 5px 5px;
    font-weight: bold;
    height: 40px;
    width: 150px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}
button[type="submit"]:hover{
    cursor:pointer
}
select{
    width:calc(100% - 25px);
    height:40px;
    border:none;
    margin-bottom:15px !important;
    padding-left: 20px;
    color:#757575;
}
select option:first-child{color:#757575}
select option{color:black}

/**********************************/
/********* Resposivenesss *******/
/*** ME CARGO LOS MARGENES DE ROW **/
.row{
    margin-left:0 !important;
    margin-right:0 !important;
}
.comLinkList {
    padding-bottom: 10px;
    margin-top: 15px;
    border-bottom: 1px solid #ccc;
}
#navResponsive > .col-xs-8 {
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fa-link {
    transform: rotate(90deg);
}
.mainLogoResp{
    max-height: 50px;
    margin-left: auto;
    margin-right: auto;
    display:inline-block !important;
    max-width: 100px !important;
}
#navResponsive{
    text-align: center;
    line-height:50px;
}
#bigBannerResponsive{
        height:50vmax;
        background-size:cover;
        margin-top:50px;
        background-position: center center;
        width:100vw;
}
#menuResponsive{
    position:fixed;
    /*top:50px;*/
    top:-100%;
    width:100%;
    /*right:-100%;*/
    transition: all .4s;
    z-index:1002;
    max-height: calc(100% - 50px);
    overflow: auto;
}
.menuResponsive-open{
    /*right:0 !important;*/
    top:50px !important;
}
#veil{
    position:fixed;
    top:50px;
    width:100%;
    height:100%;
    z-index:-5;
    transition: all .2s;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    
}
.veil-open{
    opacity: 1 !important;
    z-index:1001 !important;
}
#menuResponsive .list-group-item{
    line-height: 55px;
    text-align: center;
    padding-bottom:0px;
    padding-top:0px;
    padding-left: 0;
    padding-right: 0;
}
#menuResponsive .list-group{
    margin-bottom:0px;
}
.submenuIndicator{
    float: right;
    margin-right: 15px;
    margin-top:15px;
    font-size:20px;
    transition:all 0.5s
}
.submenuIndicator.responsiu{margin-top: 0 !important}
.submenuIndicator.rotar{
    transform: rotate(180deg);
}
.subMenuContainerResponsive{
    height:50px;
    line-height: 50px;
}
#subMenuResponsive{
    
    display:none;
}
.submenuResponsive-open{
    display:block !important;
    
}
/******** Boton menu responsive **********/
.menu-button,.close-menu-button {
    position: absolute;
    z-index: 1000;
    top: 15px;
    right: 30px;
    width: 25px;
    height: 15px;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}
.close-menu-button{
    position:relative;
    width: 70px;
    height: 60px;
    top: 0;
}
.menu-button span,.close-menu-button span{
    position: absolute;
    left: 3px;
    overflow: hidden;
    width: 81%;
    height: 2px;
    text-indent: 200%;
    -webkit-transition: opacity 0.25s;
    transition: opacity 0.25s;
}
.menu-button::before, .menu-button::after, .menu-button span,.close-menu-button::before, .close-menu-button::after, .close-menu-button span {
    background: #fff;
}
.menu-button::before,.close-menu-button::before {
    -webkit-transform: translate3d(0, -10px, 0) scale3d(0.8, 1, 1);
    transform: translate3d(0, -10px, 0) scale3d(0.8, 1, 1);
}
.menu-button::before, .menu-button::after,.close-menu-button::before, .close-menu-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    height: 2px;
    pointer-events: none;
    -webkit-transition: -webkit-transform 0.25s;
    transition: transform 0.25s;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
.menu-button::after,.close-menu-button::after {
    -webkit-transform: translate3d(0, 10px, 0) scale3d(0.8, 1, 1);
    transform: translate3d(0, 10px, 0) scale3d(0.8, 1, 1);
}
.menu-button-open span,.close-menu-button-open span {
    opacity: 0;
}
.menu-button-open::before,.close-menu-button-open::before {
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
}
.menu-button-open::after,.close-menu-button-open::after {
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
}

.form-control{
	border: 1px solid #ccc !important;
	width: 100% !important;
	margin-bottom: 0px !important;
}
/**** estils news ***/
#news>h3,#events>h3,#news>div>h3{
    margin-top: 40px;
    margin-bottom: 40px;
    text-align:center;
}
#news>div>h2>span{
    margin-top:10px;
    font-size:18px;
    display:block;
    text-transform: capitalize;
}
.corfaEvents{
    height:345px;
    background-size:cover;
    background-position:center center;
    position: relative;
    margin-bottom:30px;
}
.corfaNews, .corfaNewsHistoric{
    height:290px;
    background-size:cover;
    background-position:center center;
    position: relative;
    margin-bottom:30px;
}
.columnes:nth-of-type(2) .corfaNews,.columnes:nth-of-type(3) .corfaNews{
    height:290px
}
.columnes:nth-of-type(n+4) .corfaNews, .corfaNewsHistoric{
    height:290px
}

.corfaNews .seccion,.corfaNewsHistoric .seccion{
    position:absolute;
    top:0;
    left:0;
    width:200px;
    height:50px;
    text-align:center;
    line-height:50px;    
}   
.corfaNews .titulo, .corfaNewsHistoric .titulo{
    position: absolute;
    width: 100%;
    /*padding-left:50px;
    bottom:35px;*/
    padding-left: 6%;
    padding-right: 6%;
    padding-bottom: 3%;
    bottom: 0;
}

.corfaNews .titulo>h4, .corfaNewsHistoric .titulo>h4{
   font-size:16px;
   text-transform:capitalize;
}
.corfaNews .titulo>h2,.corfaNewsHistoric .titulo>h2{
    font-size:18px;
}

.blackened{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    background: rgba(0,0,0,0);
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.45) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(50%, rgba(0,0,0,0.45)), color-stop(100%, rgba(0,0,0,0.45)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.45) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.45) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.45) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.45) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}
#events{
    margin-top:30px;
    transition: all .2s;
}
.corfaEvents .titulo>h4>b{
    font-size:35px;
}
#menuNavegacion{
    transition: all 0.4s;
}
#search_box{
    margin-top: 72.5px;
transform: translateY(-50%);
height: 50px;
width: 50% !important;
display: inline-block;
font-size: 35px;
text-align: center;
}
/** Resultados y paginacion **/
#resultList{
    list-style: none;
    width: 900px;
}
#resultList li{margin-bottom: 15px;}
#pagBar{display:inline; list-style: none; padding-bottom: 150px; text-align: center}
#pagBar li{float:left; margin-right:5px; min-width: 25px; height:25px; line-height:25px; cursor: pointer;margin-bottom: 5px}
#pagBar li.current.first{margin-left:22px}


@media (min-width: 1920px) { 
    .bigBanner img{width:100%; }
}
.titolPoi, #titolPag, .titolRoyal, .titolBambu,  .titolPerDefecte{
    display:none;
}