/*
Theme Name: bestard_bootstrap
Theme URI:    http://example.com/twenty-fifteen-child/
Description:  herz_bootstrap
Author:       Rojele
Author URI:   http://enricsocias.net
Template:     wp-bootstrap-starter
Version: 3.3.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/

html,:root {
  scroll-behavior: smooth;
}

body{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
	min-height: 110vh;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
p{
	text-align: justify;
}
footer{
	background-color: #000;
	margin-top: 100px;
	z-index: 10;
}
.page-template-work footer,.page-template-aboutPage footer, .single footer{
	margin-top: 0;
}
.page-template-aboutPage #content{
    background-color: rgba(0, 0, 0, 0.75);
}

#sectio{
	padding: 50px 0;
}

#sectio .titolSectio{
	margin-bottom: 20px;
}
.page-template-aboutPage.expanded #content{
	min-height: 90vh;
    padding-top: 20px;
}    


.page-template-aboutPage #content .container,.page-template-aboutPage .container>.row>#primary{
	display: flex;
}
.page-template-aboutPage .container>.row>#primary{
	flex-direction: column;
	flex-grow: 1;
}

.page-template-aboutPage #main{
	flex-grow: 1;
	flex-direction: column;
}
.page-template-aboutPage .container>.row{
	width: 100%;
}
.page-template-aboutPage .section{
	width:80%;
	margin:auto;
	min-height: 70vh;
	padding-top: 30px;
}
.page-template-aboutPage .section>.tit{
	margin-bottom: 20px;
}
.page-template-aboutPage .section>.tit>h4{
	font-size: 2.2em;
}
.page-template-work #content.collapsed{
	display: none;
}
.page-template-work #menuAnys .container{
	display: flex;
	margin-top: 50px;
	margin-bottom:50px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	flex-wrap: wrap;
    align-content: flex-start;
}
#page{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    -webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	flex-grow:1;
}
#content{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
	flex-grow:1;
}
.row{
	margin:0;
}
.single .row{
	flex-direction: column;
}
.bootstrap_masonry img,.gridQuads img{
	width:100%;
	height: auto;
}
.bootstrap_masonry .row>div{
	padding:5px;
	margin-bottom: 5px!important;
}
.bootstrap_masonry .tit,
.gridQuads .quad .tit,
.quads .gridElement .tit{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
	position: relative;
    left: 50%;
    width: 100%;
    left:0px;
    align-items: center;
    justify-content: center;
    color:#000;
    height: auto;
    bottom: 0;
    -webkit- transform:unset;
    -moz- transform:unset;
    -ms- transform:unset;
    transform: unset;
    padding: 10px;
    box-sizing: border-box;
    -webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
    flex-direction: column;

}
.bootstrap_masonry .tit h4,
.gridQuads .quad .tit h4,
.quads .gridElement .tit h4{
	font-size: 1em;
	font-weight: 400;
	line-height: normal;
	margin:0;
	font-weight: 500;
}
#grid{
	
}
.bootstrap_masonry .tit>div,
.gridQuads .quad .tit>div,
.quads .gridElement .tit>div{
	line-height: normal;
}
.bootstrap_masonry .tit,
.gridQuads .quad .tit,
.quads .gridElement .tit{
	opacity:1;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
	justify-content: start;
	align-items: start;
	font-size: 0.9em;
	padding-left: 0;
	opacity: 0.7;
}

.bootstrap_masonry .tit:hover,
.gridQuads .quad .tit:hover,
.quads .gridElement .tit:hover{
	opacity: 1;
}
.gridQuads .row>div,
.quads .rowQ>div{
	padding:5px;
	padding:0px;
	margin-bottom: 5px!important;
	margin-bottom: 0px!important;
	width:100%;
	background-size: cover;
    background-position: 50%;
    /*height: 0;*/
}
/*.gridQuads .row>div:hover,
.quads .rowQ>div:hover{
	-webkit-filter: grayscale(1);
	-moz- filter: grayscale(1);
    filter: grayscale(1);
}*/
.gridQuads .quad{
	overflow: hidden;
	position: relative;
}
.gridQuads .quad img{
	position: absolute;
	top:50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
#grid.quads .rowQ{
	display: flex;
  	flex-wrap: wrap;
  	/*max-height: 100vh;
  	overflow-y:scroll;
  	scrollbar-width: none;
  	-ms-overflow-style: none;*/
}

#grid.quads .rowQ::-webkit-scrollbar {
  display: none;
}

#grid.quads .rowQ>.content{
}
#grid.quads .rowQ .gridElement{
	width: 100%;
	width:50%;
	height: auto;
	overflow: hidden;
	box-sizing: border-box;
	padding: 5px;
	display: flex;
    justify-content: center;
}
#grid.quads .rowQ .gridElement img{
	width: 100%;
	height: auto;
	opacity: 0;
}
#grid.quads .rowQ .gridElement.inView img.rArr,
#grid.quads img.rArr{
	width: 10px;
	height: auto;
	opacity: 1;
	align-self:center;
    margin-left: 5px;
}

#grid.quads .rowQ .gridElement>img.w{
	/*height: 100%;
	width: auto;*/
}
.gridElement {
    /*height:400px;
    margin-top:40px;
    background:grey;*/
    -webkit-transform: translateY(50px) rotate(-5deg) translateZ(0);
    -moz-transform: translateY(50px) rotate(-5deg) translateZ(0);
    -ms-transform: translateY(50px) rotate(-5deg) translateZ(0);

    transform: translateY(50px) rotate(-5deg) translateZ(0);
    -webkit-transition-delay: .3s;
    -o-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    opacity: 0;
    overflow: hidden;
}

.bottom-right.inView {
    opacity: 1;
    -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
    -moz-transform: translateY(0px) rotate(0deg) translateZ(0);
    -ms-transform: translateY(0px) rotate(0deg) translateZ(0);   
    transform: translateY(0px) rotate(0deg) translateZ(0);
}
.inView {
    opacity: 1;
    -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
    -moz-transform: translateY(0px) rotate(0deg) translateZ(0);
    -ms-transform: translateY(0px) rotate(0deg) translateZ(0);
    transform: translateY(0px) rotate(0deg) translateZ(0);
}



.home #portada{
	background-color: #000;
	overflow: hidden;
	z-index: -1;
}
.home #portada{
	width:100vw;
	height: 100vh;
	position: fixed;
	top:0px;
	left:0px;
}
.home #portada #fons1,.home #portada #fons2{
	width:100%;
	height: 100%;
	background-size: cover;
	background-position: 50%;
}

.home #portada #fons2.inanim,.home #portada #fons1.inanim{
	opacity: 0;
}

a.site-title ,a.site-title:link,a.site-title:hover,a.site-title:visited,a.site-title:active,
header .tagline{
	color:#fff!important;
	text-decoration: none!important;
}

.home main#main.site-main.homeMain{
	padding-top:25vh;
}
main#main.site-main.homeMain{
	padding-top: 5vh;
}
.home header{
	background-color: unset;
}
header{
	background-color: #000;
}
header .tagline{
	font-size:0.8em;
}
header .site-title{
	font-size: 1.2em;
}
.home header .site-title{
	font-size: 1.8em;
	line-height: normal;
}
header{
	/*margin-top: 10px;*/
	max-width: 100vw;
}

#menu-menu_rafel li,
#menu-menu_rafel_cast li{
	text-transform: uppercase;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
	justify-content: center;
}

.home #menu-menu_rafel li,
.home #menu-menu_rafel_cast li{
	justify-content: end;
}
#menu-menu_rafel_cast li a{
	display: block;
    padding: .5rem 1rem;
    color: #fff;
}
#menu-menu_rafel,
.navbar-light #menu-menu_rafel.navbar-nav .nav-link,
#menu-menu_rafel_cast,
.navbar-light #menu-menu_rafel_cast.navbar-nav .nav-link{
	color:#fff;
}

.nav-link.active span,.menu-item>a.active span,
.nav-link:hover span,.menu-item>a:hover span{
	text-decoration: underline;
	text-underline-offset: 5px;
}
.nav-link:hover,.menu-item>a:hover{
	text-decoration: unset;
}

.nav-link span:hover,.menu-item>a span:hover{
	text-decoration: unset!important;
	text-underline-offset: 5px;
}
.menu-item>a:hover>span{
}
.navbar-light .navbar-toggler-icon{
	background-image: url('../../uploads/boto_blanc.png')!important;
	opacity:0.85;
	box-sizing: border-box;
	width: 20px;
    height: 20px;
}
footer #media img{
	width: 45px;
	height: auto;
	padding: 5px;
}
footer #media{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
	justify-content: center;
}

#contactMenuItems{
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    justify-content: end;
    overflow: hidden;
    width: 100%;

	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    -webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
    flex-direction: column;
    align-items: end;
    -webkit-transition: height .7s ease;
	-moz-transition: height .7s ease;
	-ms-transition: height .7s ease;
	-o-transition: height .7s ease;
	transition: height .7s ease;
}

#contactMenuItems.collapsed{
	height: 0;
	/*display: none;*/
	-webkit-transition: height .7s ease;
	-moz-transition: height .7s ease;
	-ms-transition: height .7s ease;
	-o-transition: wheightidth .7s ease;
	transition: height .7s ease;
}


#contactMenuItems>div:first-child{
	-webkit-transition: height .7s ease;
	-moz-transition: height .7s ease;
	-ms-transition: height .7s ease;
	-o-transition: wheightidth .7s ease;
	transition: height .7s ease;
	height: 80px;
	overflow: hidden;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    -webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    height: 160px;
    width: 100%;
    margin-bottom: 10px;
}


#contactMenuItems>div:last-child{
	color:#fff;
	font-size: 1.2em;
	-webkit-transition: opacity 1s ease;
	-moz-transition: opacity 1s ease;
	-ms-transition: opacity 1s ease;
	-o-transition: opacity 1s ease;
	transition: opacity 1s ease;
	opacity: 1;
}
#contactMenuItems.collapsed>div:first-child{
	height: 0;
	/*width:0;*/
}
#contactMenuItems.collapsed>div:last-child{
	opacity: 0;
}
#contactMenuItems>div{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
}
#contactMenuItems>div>div{
	width: auto;
	margin:0 2px;
	margin-bottom: 5px;
	justify-content: center;
    display: flex;
}
.home #contactMenuItems>div>div{
	justify-content: end;
}
#contactMenuItems>div>div:last-child{
	margin-right: 0;
}
#contactMenuItems>div>div img{
	width: 70px;
    height: auto;
    margin-bottom: 10px;
}

#fletxaScroll.hide{
	opacity: 0;
}
#fletxaScroll{
	opacity: 1;
	position: fixed;
	bottom: 0;
	width: 100%;
	height: auto;
	left: 0px;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    justify-content: end;
    -webkit-transition: opacity 1s ease;
    -moz-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    transition: opacity 1s ease;
    padding: 10px;
}
#fletxaScroll .triangle{
   width: 0px;
   height: 0px;
   border-style: solid;
   border-width: 0 20px 30px 20px;
   border-width: 0 10px 15px 10px;
   border-color: transparent transparent #FFFFFF transparent;
   -webkit-transform: rotate(180deg);
   -moz-transform: rotate(180deg);
   -ms-transform: rotate(180deg);
   transform: rotate(180deg);
   opacity: 0.8;
}




.any{
	margin-bottom:20px;
	/*max-height: 100vh;
    overflow-y: scroll;*/
  	scrollbar-width: none;
  	-ms-overflow-style: none;
}
.any{
	margin-bottom:30px;
	max-height: unset;
    overflow-y: unset;
}
.row .any:first-child{
	margin-top:20px;
}

.titAny{
	opacity: 0;
	-webkit-transition: opacity .6s ease;
	-moz-transition: opacity .6s ease;
	-ms-transition: opacity .6s ease;
	-o-transition: opacity .6s ease;
	transition: opacity .6s ease;
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.titAny>span{
	padding-right: 20px;
}
.titAny .linia{
	display: flex;
	flex-grow: 1;
	border-bottom: 1px solid #ccc;
	height: 1px;
}
.titAny.inView{
	opacity: 1;
}

#grid .titAny h4{
 	font-weight: 400;
 	font-size: 2.4em;
}
#pageTitHeader{
	color: #fff;
	font-size: 1.4em;
	font-weight: 200;
}
#pageTitHeader>a{
	color:#C0DF85;
}
#pageTitHeader.post{
	font-size: 1.2em;
}
#pageTitHeader.post.long{
	font-size: 1em;
}

.titLlarg #pageTitHeader.long, .titLlarg .site-title {
    font-size: .8em;
    font-size: .9em;
}
header .sep{
	color:#fff;
	padding:0 5px;
}
.plus,.plus.years{
	display: flex;
	width: fit-content;
	align-items: center;
	box-sizing: border-box;
	padding: 20px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    justify-content: center;
    opacity: 0;
	-webkit-transition: opacity .6s ease;
	-moz-transition: opacity .6s ease;
	-ms-transition: opacity .6s ease;
	-o-transition: opacity .6s ease;
	transition: opacity .6s ease;
}
.plus.years{
	opacity: 0;
	-webkit-transition: opacity .6s ease;
	-moz-transition: opacity .6s ease;
	-ms-transition: opacity .6s ease;
	-o-transition: opacity .6s ease;
	transition: opacity .6s ease;
	max-width: unset;
}
.plus.inView{
	opacity: 1;
    position: relative !important;
}
.plus.inView{
	padding: 0;
	justify-content: left;
    background-color: rgba(0,0,0,1);
    -webkit-transition: background-color .4s ease;
	-moz-transition: background-color .4s ease;
	-ms-transition: background-color .4s ease;
	-o-transition: background-color .4s ease;
	transition: background-color .4s ease;
}
#grid.quads .rowQ .plus.inView{
	min-width: 50%;
	background-color: unset;
}
.plus.inView>a{
	 color: #fff;
	 -webkit-transition: color .4s ease;
	-moz-transition: color .4s ease;
	-ms-transition: color .4s ease;
	-o-transition: color .4s ease;
	transition: color .4s ease;
	padding: 10px 15px;
	text-decoration: none;
}
.plus.inView:hover{
	background-color: rgba(0,0,0,0);
}
.plus.inView>a:hover{
	color:#000;
}


.rowQ>.plus.inView>a {
	color:#fff;
}

.rowQ>.plus a:link,.rowQ>.plus a:hover,
.rowQ>.plus a:active,.rowQ>.plus a:visited{
	color: #000;
	text-decoration: unset;
	justify-content: center;
    display: flex;
}
.rowQ>.plus.inView>a:hover{
	opacity: .3;
}



.plus a:link,.plus a:hover,
.plus a:active,.plus a:visited{
	color: #fff;
	text-decoration: underline;  
	text-underline-offset: 5px;
}
.plus.years a:link,.plus.years a:hover,
.plus.years a:active,.plus.years a:visited{
	text-decoration: unset;  
}

.bck{
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	top:0px;
	left:0px;
	background-size: cover;
    background-position: 50%;
}
#menuAnys{
	display: flex;
	width: 100%;
	height: auto;
	background-color: rgba(0,0,0,0.75);
	flex-grow: 1;
}
#menuAnys .any{
	/*width: 25%;*/
	box-sizing: border-box;
	padding: 5px;
	max-height: unset;
    overflow-y: unset;
    margin-bottom: 0;
    position: relative;
    width: 33%;
    flex: 0 0 25%;
}
#menuAnys .any.active{
	border:2px solid #fff;
}
#menuAnys .any .tit{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.6em;
	color: #fff;
	z-index: 2;
	box-sizing: border-box;
	padding: 10px;	
}
.page-template-work #menuAnys .any .tit{
	font-size: 1.2em;
}
#menuAnys .any .tit:hover{
	border:2px solid #fff;
}
#menuAnys .any .tit>a:link,#menuAnys .any .tit>a:hover,
#menuAnys .any .tit>a:active,#menuAnys .any .tit>a:visited{
	color: #fff;
	text-decoration: unset;
}
#worksGallery{
	position: absolute;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100vh;
	-webkit-transition: height 1s ease;
	-moz-transition: height 1s ease;
	-ms-transition: height 1s ease;
	-o-transition: height 1s ease;
	transition: height 1s ease;
    width: 90%;
    margin: auto;
    padding: 5%;
    padding-top: 50px;
    padding-top:5%;
    margin-top: 20px;
    box-sizing: border-box;
    flex-direction: column;
    height: auto;
    background-color: #000;
    margin-top: 0;
    width: 100%;
    padding-right: 10%;
    padding-left: 10%;
    padding-bottom: 20vh;

    /*position: fixed;*/
    z-index: 3;
    overflow: hidden;

    height: auto;
    padding: 0;
    padding-bottom: 50px;
    flex-grow: 1;
    opacity:1;
    -webkit-transition: opacity 0.6s ease;
	-moz-transition: opacity 0.6s ease;
	-ms-transition: opacity 0.6s ease;
	-o-transition: opacity 0.6s ease;
	transition: opacity 0.6s ease;
	width: 100%;
	height: 100%;
	max-height: 100vh;
	max-height:  calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}
#worksGallery.forceH{
	height: 100vh;
	min-height: 100vh;
}
#worksGallery.collapsed{
	height: 0;
	overflow: hidden;
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	opacity:0;
}
#worksGallery .closeBut{
	position: absolute;
	right: 0%;
	top:0px;
	z-index: 2;
	width: 20px;
    margin-top: 20px;
    margin-right: 20px;
}
#worksGallery.collapsed #rightArr,#worksGallery.collapsed #leftArr{
	display: none;
}
#worksGallery .bloc{
	display: flex;
	flex-direction: column;
	position: relative;    
	flex-grow: 1;
}
#worksGallery #imaga{
	margin:auto;
	height: auto;
	width: 100%;
    display: flex;
    align-items: center;
}
#worksGallery #imaga img{
	width: 100%;
	height: auto;
}
#worksGallery.forceH{
}
#worksGallery.forceH #imaga{
	height: 100%!important;
	width: auto!important;
}

#worksGallery.collapsed .closeBut{
	display: none;
}
#worksGallery .closeBut img{
	width: 100%;
	height: auto;
}

#worksGallery #leftArr,#worksGallery #rightArr{
	position: absolute;
	height: 100%;
	justify-content: center;
	left: 0%;
	display: flex;
	align-items: center;
	font-size: 2em;
	z-index: 1;
	width: 25px;
}
#worksGallery .closeBut{
	left:0%;
}
#worksGallery #rightArr,#worksGallery .closeBut{
	right: 0%;
	left:unset;
}

#worksGallery #leftArr img,#worksGallery #rightArr img{
	width: 100%;
	height: auto;
}
#worksGallery #vid{
	display: flex;
	flex:1;
	padding-left: 0%;
	margin-top: 30px;
	margin:40px;
	position: absolute;
	display: none;
}
#worksGallery #vid.mostra{
	display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    padding:10%;
    margin: 0;
    box-sizing: border-box;
}
#worksGallery #vid.empty{
	display: none;
}
#worksGallery #vid iframe{
	width: 100%;
}
#worksGallery .data{
	color: #fff;
	display: flex;
    position: absolute;
    z-index: 2;
    bottom:0px;
    background-color: rgba(0,0,0,0.3);
    padding: 20px;
    margin: 20px;
    width: 100%;
    margin: 0;
    font-size: 0.8em;
    /*height: 100vh;*/
}
#worksGallery .data.fixed{
	position: fixed;
}
#worksGallery .data>div:first-child{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
#worksGallery .data>div.vidPicto{
	display: flex;
    justify-content: end;
    align-items: end;
    display: none;
}
#worksGallery .data>div.vidPicto.mostra{
	display: flex;
}
#worksGallery .data .vidPicto{
	width: 50px;
	height: auto;
}
#worksGallery .data .vidPicto img{
	width:100%;
	height: auto;
}

#worksGallery .tit{
	font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    width: fit-content;
    line-height: normal;
}
#worksGallery .tit .any{
	font-weight: 200;
	font-size: 0.9em;
}
#worksGallery .info{
	font-size: 1em;
    width: fit-content;
}

#menuSup,.menuGrid{
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: start;
	margin: 10px 0;
	padding-bottom: 10px;
    justify-content: space-around;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-evenly;
}
.menuGrid.small{
	flex-direction: row;
	justify-content: center;
}
.menuGrid.small .gridElement{
	width: 42%;
	width: 40%;
	padding: 5px;
	box-sizing: border-box;
}

.menuGrid.small .gridElement.active{
	width: 50%;
}
.menuGrid.small .gridElement{
	margin:0 20px;
}
.bw .menuGrid.small .gridElement{
	background-color: #000!important;
}
.bw .menuGrid.small .gridElement .titolSectio{
	color: #fff;
}

.page-template-aboutPage .menuGrid .gridElement a .titolSectio,
.page-template-aboutPage .menuGrid .gridElement a:hover .titolSectio,
.page-template-aboutPage .menuGrid .gridElement a,
.page-template-aboutPage .menuGrid.bl .gridElement a .titolSectio,
.page-template-aboutPage .menuGrid.bl .gridElement a:hover .titolSectio,
.page-template-aboutPage .menuGrid.bl .gridElement a {
	color:#fff!important;
}

.page-template-aboutPage .menuGrid.wh .gridElement a .titolSectio,
.page-template-aboutPage .menuGrid.wh .gridElement a:hover .titolSectio,
.page-template-aboutPage .menuGrid.wh .gridElement a {
	color:#000!important;
}


.menuGrid .gridElement.col-lg-4{
	width:45%;
}
.menuGrid .gridElement.col-lg-4.active{
	width:55%;
	border: 2px solid #fff;
}


.bw .menuGrid .gridElement.col-lg-4{
	background-color: #fff!important;
	color: #000!important;
}
.bw .menuGrid .gridElement.col-lg-4 .titolSectio{
	color: #000!important;
}
.menuGrid .gridElement .titolSectio{
	display: flex;
	height: 100%;
	width: 100%;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size:1.5em;
	line-height: normal;
}

.menuGrid.small .gridElement .titolSectio,
.menuGrid.small .gridElement .titolSectio>span h4{
	font-size:1.2em;
}
.menuGrid.small .gridElement .titolSectio>span h4{
	font-weight: 400;
}
.menuGrid.small .gridElement.active .titolSectio>span h4{
	font-weight: 500;
}
.menuGrid .gridElement .titolSectio>span{
	line-height: normal;
	text-align: center;
}
.section .titolSectio{
	margin-bottom: 40px;
}
.flex{
	display: flex;
}

.single #content{
	padding-top: 30px;
}
.llistat ul{
	padding-inline-start: 20px;
}
.llistat ul li{
	font-size: 1.2em;
	margin-top:10px;
}
.llistat ul li a:link .tit,.llistat ul li a:hover .tit,.llistat ul li a:active .tit,.llistat ul li a:visited .tit{
	color:#000;
	text-decoration: underline;
	text-underline-offset:5px;
}
.llistat ul li a:hover .tit{
	text-decoration: unset;
}
.llistat ul li a:link .autor,.llistat ul li a:hover .autor,.llistat ul li a:active .autor,
.llistat ul li a:visited span.autor{
	color:#000;
	text-decoration: unset;
	font-weight: 300;
}
.llistat ul li:hover,.llistat ul:hover li a,.llistat ul li:hover a{
	text-decoration: unset;
}
footer .container{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
#idiomsFixed{
	-webkit-transition: opacity 1s ease;
	-moz-transition: opacity 1s ease;
	-ms-transition: opacity 1s ease;
	-o-transition: opacity 1s ease;
	transition: opacity 1s ease;
	opacity: 0;
	display: flex;
	justify-content: end;
    right: 5%;
    position: fixed;
    /*background-color:rgba(255,255,255,0.6);*/
    padding: 5px;
   	bottom: 5%;

}

#idiomsFixed .idioms{
	display: flex;
}
.page-template-aboutPage #idiomsFixed.show.fosc{
	background-color: rgba(0, 0, 0, 0.35);
}
#idiomsFixed.show{
	position: fixed;
	z-index: 2;
	z-index: 11;
	opacity: 1;
}

.idioms .sep{
	padding: 0 5px;
}
footer .idioms,footer .idioms,
#idiomsFixed .idioms{
	display: flex;
	color: #fff;
	align-items: center;
}
#idiomsFixed .idioms a{
	color: #fff;
	color: #ccc;
}

#idiomsFixed.blanc .idioms a{
	color: #000;
}
footer .idioms .idiom,footer .idioms .idiom a{
	color:#fff;
}

footer .idioms .idiom.active,footer .idioms .idiom.active a,
#idiomsFixed .idioms .idiom.active,#idiomsFixed .idioms .idiom.active a{
	text-decoration: underline;
	text-underline-offset:5px;
	color: #FE9178;/*salmon*/
	color: #C0DF85;/* mindaro*/
}

.workImg{
	object-fit: contain; /* Ensures the image fits within the container */
 	transition: transform 0.3s ease; /* Smooth transition for zooming */
 	transform-origin: center center;
    will-change: transform; /* Improves performance */
}

#zoomFrame{
	position: absolute;
}


.single .bloc{
	margin-bottom:50px;
}

.viewmore{
	margin: 20px 0;
}

.contentDiv.noni,.excerpt.noni,.textBody.noni{
	display: none;
}
.back{
	margin-bottom: 30px;
	align-items: center;
	display: flex;
}
.back>span{
	margin-left: 10px;
}
.back a:link,.back a:active,
#otherPosts a:link,#otherPosts a:active{
	color:#000;
}
.back a:hover,#otherPosts a:hover{
	color:#C0DF85;;
}
.back a:visited,#otherPosts a:visited{
	color:#000;
}
#otherPosts{
	margin-bottom: 50px;
	background-color: rgba(0, 0, 0, 0.05);
    padding: 20px;
    font-size: .9em;
}

.bloc .sep{
	width: 20%;
	border-bottom: 1px solid #000;
	max-width: 150px;
	margin:20px 0px;
}
.bloc.tit{
	margin-bottom: 25px;
}

.label{
	margin-bottom: 20px;
}
.llistat a.autor{
	text-decoration: unset!important;
}

.margL10{
	margin-left:10px ;
}
.margL5{
	margin-left:5px ;
}
.margB50{
	margin-bottom:50px;
}


#me section>.title h2{
	font-weight: 400;
	margin-bottom: 0;
	margin-right: 20px;
}
#me section>.title{
	margin-bottom: 40px;
	flex-direction: row;
	display: flex;
}
#me section:last-child>.title{
	/*margin-top: 40px;*/
}
#me section:last-child{
}

.content p{
	margin-bottom: 0.5rem;
}
#me section>.content{
	margin-bottom: 50px;
}

#me section>.title>.line{
	display: flex;
	flex-grow: 1;
	border-bottom: 1px solid #ccc;
}
section#cv .tit{
	margin:30px 0px 20px 0px;
}
section .content p{
	text-align: left;
}
.sep._10{
	height: 10px;
	width: 100%;
}
.sep._20{
	height: 20px;
	width: 100%;
}
.sep._30{
	height: 30px;
	width: 100%;
}
.sep._50{
	height: 50px;
	width: 100%;
}
.sep._100{
	height: 100px;
	width: 100%;
}
#me.section{
	margin-bottom: 50px;
}

span.view{
	margin-right: 10px;
	font-weight: 500;
}
span.view a:link{
	color:#000;
}
span.view a:hover{
	color:#ccc;
}

span.view a:active{
	color:#000;
}
span.view a:visited{
	color:#000;
}






/*media queries*/


@media(min-width: 400px){
	.titLlarg #pageTitHeader.long,
	.titLlarg .site-title{
		font-size:.95em;
	}
}

@media(max-height:400px){

}
@media (max-width:720px){ /* mob */
}
@media (max-width: 768px )and (orientation: portrait){/*mob portrait*/
	#contactMenuItems{
		width: 90%;
	    margin-right: auto;
	    margin-left: auto;
	    margin-top: 10px;
	    height: 100%;
	}
	#contactMenuItems>div>div{
		margin: 0;
	}
	#menuAnys .any{
		flex: 0 0 50%;
		gap:5%;
	}
	.menuGrid .gridElement .titolSectio{
		font-size: 1.3em;
	}

}
@media (max-width: 768px )and (orientation: landscape){/*mob landscape*/
	body{
	}
	header .container{
		max-width: unset;
	}
	#contactMenuItems>div:first-child{
		flex-direction: row;
	}
	.menuGrid{
		flex-direction: row;
	}
	.menuGrid .gridElement{
		margin:2%;
	}
	.menuGrid .gridElement .titolSectio{
		font-size: 1.2em;
	}
	.menuGrid.small .gridElement.active {
	    width: 40%;
	}
	.menuGrid.small .gridElement {
	    width: 30%;
	}

}
@media(min-width: 721px){
}
@media(min-width: 768px){
}

@media (max-width: 767px){
}
@media(min-width: 767px){/* a partir de tablet */
	.viewmore.me{
		display: none;
	}
	.gridQuads .rowQ>div{
		width:33.3%;
		padding-top: 33.3%;
	}
	#worksGallery{
		width: 100%;
        margin: auto;
        height: 100%;
	}
	#worksGallery #leftArr{
		left: -0%;
	}
	#worksGallery #rightArr,#worksGallery .closeBut{
		right: 0%;
	}
	#worksGallery .data{
		/*margin-top: 50px;*/
		width: 80%;
		margin-left: 10%;
		margin-bottom: 50px;
		position: absolute;
		bottom:0px;
	}

	#grid.quads .rowQ .gridElement.plus.inView{
		min-width: unset;
		justify-content: start;
		justify-content: flex-start;
		justify-content: left;
		padding: 50px 0;
		box-sizing: border-box;
	}
	.home header .site-title {
        font-size: 2.8em;
    }

    header .tagline{
		font-size:1.3em;
	}
	#worksGallery .data{
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 0;
	}
	#contactMenuItems{
		width: 90%;
		margin-right: auto;
		margin-left: auto;
	}
	#contactMenuItems>div{
		margin-top:10px;
	}
	.navbar-brand{
		font-size: 1.4em;
	}
	.page-template-aboutPage.expanded #content{
		min-height: 50vh;
		} 
	.titLlarg #pageTitHeader.long, .titLlarg .site-title {
	    font-size: 1.2em;
	}
}
@media(min-width: 768px) and (orientation: landscape){/* ipad portrait, no se cumple */
}
@media(min-width: 768px) and (max-width: 1025) and (orientation: landscape){/* ipad landscape no telefon */
	
}
@media(min-width: 767px) and (orientation: portrait){/*Sn cumple en ipad portrait */
	header .container{
		width: 100%;
		margin:2% 2%;
		max-width: unset;
	}
	.home header .site-title{
		font-size: 2.1em;
	}
	header .tagline{
		font-size: 1.1em;
	}
	header .container{
		width: 95%;
	}
	.navbar-light #menu-menu_rafel.navbar-nav {
	}
	.navbar-light #menu-menu_rafel.navbar-nav li.nav-item:last-child>a.active span,
	.navbar-light #menu-menu_rafel_cast.navbar-nav li.menu-item:last-child>a.active span{
		text-decoration: unset;
	}

	
	.menuGrid.small{
		width: 80%;
    	margin: auto;
	}
	/*
	.menu-item>a.active span
	*/

	.page-template-aboutPage .menuGrid .gridElement.col-lg-4{
		display: flex;
		flex:0 0 25%;
		justify-content: center;
		align-items: center;
	}
	.page-template-aboutPage .menuGrid .gridElement.col-lg-4.active{
		flex:0 0 32%;
	}
	.page-template-aboutPage .menuGrid .gridElement.col-lg-4 .titolSectio{
		width: fit-content;
		height: fit-content;
	}
	.menuGrid {
		flex-direction: row;
		display: flex;
		min-height: unset;
	}
}
@media screen and (max-width: 782px){
}
@media (max-width: 979px){

}
@media(min-width: 992){
	
}
@media(min-width: 1025px){
	
}

@media (min-width: 1200px){/*escritorio*/
	body{
		min-height: 100vh;
	}
	header .container{
		max-width: unset;
		width:90%;
		margin:auto;
	}
	header .tagline{
		font-size:1em;
	}
	.titLlarg #pageTitHeader.long{
		font-size: 1.6em
	}
	header .titLlarg .site-title{
		font-size: 1.2em;
	}
	/*header .site-title,
	.titLlarg .site-title{
		font-size: 1.2em;
	}*/
	
	.titLlarg .site-title{
		font-size: 1.2rem;
	}
	.home header .site-title{
		font-size: 2em;
	}
	header .site-title{
		font-size: 1.45em;
	}
	.bootstrap_masonry .tit,
	.gridQuads .quad .tit,
	.quads .gridElement .tit{
		opacity:0;
		justify-content: center;
		display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
		display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
		display: -ms-flexbox;      /* TWEENER - IE 10 */
		display: -webkit-flex;     /* NEW - Chrome */
	    display: flex;
	    -webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
        flex-direction: column;         
        text-align: center;
        font-size: 0.9em;
        padding: 20px;
	}
	.bootstrap_masonry .tit,
	.gridQuads .quad .tit,
	.quads .gridElement .tit{
		height: 100%;
		position: absolute;
	    bottom: -50%;
	    -webkit-transform:translateY(-50%);;
	    -moz-transform:translateY(-50%);;
	    -ms-transform:translateY(-50%);;
	    transform: translateY(-50%);
	    background-color: rgba(245,245,220,0.85);
	    text-align: left;
	    align-items: center;
	}
	.gridQuads.negre .quad .tit,
	.quads.negre .gridElement .tit,
	.bootstrap_masonry.negre .tit{
		background-color: rgba(0,0,0,0.65);
		color:#fff;
	}
	.bootstrap_masonry .tit h4,
	.gridQuads .quad .tit h4,
	.quads .gridElement .tit h4{
		font-size: 1.3em;
	}
	footer #media{
		justify-content: start;
	}
	footer #media img{
		width: 60px;
	}

	.navbar-light #menu-menu_rafel.navbar-nav .nav-item .nav-link:after,
	.navbar-light #menu-menu_rafel_cast.navbar-nav li a:after{
		content: " | ";
		padding-left:15px;
	}
	.navbar-light #menu-menu_rafel.navbar-nav .nav-item:last-child .nav-link:after,
	.navbar-light #menu-menu_rafel_cast.navbar-nav li:last-child a:after{
		content:"";
		padding-left:0px;
	}
	#contactMenuItems{
		width: 90%;
		width: fit-content;
    	margin: auto;
    	width: 15%;
    	width: 180px;
    	-webkit-transition: height .7s ease;
		-moz-transition: height .7s ease;
		-ms-transition: height .7s ease;
		-o-transition: height .7s ease;
		transition: height .7s ease;
		margin-right: 5%;
		top: 0px;
        position: relative;
        height: auto;
	}
	#contactMenuItems.collapsed>div:first-child{
		height: 0;
		-webkit-transition: height .7s ease;
		-moz-transition: height .7s ease;
		-ms-transition: height .7s ease;
		-o-transition: height .7s ease;
		transition: height .7s ease;
	}
	#contactMenuItems>div:first-child{
		-webkit-flex-direction: row;
		-moz-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		height: 70px;
		justify-content: end;
		-webkit-transition: height .7s ease;
		-moz-transition: height .7s ease;
		-ms-transition: height .7s ease;
		-o-transition: height .7s ease;
		transition: height .7s ease;
	}
	#contactMenuItems>div>div{
		display: flex;
		justify-content: end;
	}
	#contactMenuItems>div>div>a{
		display: flex;
	    justify-content: center;
	    align-items: center;
	}
	#contactMenuItems>div>div img {
		width: 60px;
		margin-bottom: 0px;

	}
	.col-lg-4 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .menuGrid .col-lg-4 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
    .menuGrid .col-lg-4.active {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .bootstrap_masonry .gridElement{
    	padding: 3px;
    }
    #grid .titAny{
    	padding-left:3px;
    }
	#grid .titAny h4{
	 	font-size: 2.7em;
	}
	.gridQuads .row>div:hover,
	.quads .rowQ>div:hover{
		-webkit-filter: grayscale(1);
		-moz- filter: grayscale(1);
	    filter: grayscale(1);
	}
    #menuAnys .any .tit{
		font-size: 2.5em;
		justify-content: end;
    	align-items: end;
	}
	.page-template-work #menuAnys .any .tit{
		font-size: 2.5em;
	}
	.page-template-work #menuAnys .container{
		
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	#menuAnys .any {
	    width: 20%;
	}
	.home .any{
		margin-bottom: 50px;
	}
	#pageTitHeader,#pageTitHeader.post,#pageTitHeader.post.long {
		font-size: 2.5em;
		font-size: 2em;
		font-size: 1.8em;
	}
	#worksGallery{
		flex-direction: column;
		padding-top: 0px;
		width: 90%;
	    margin: auto;
	    padding: 50px;
	    margin-top: 20px;
	    margin-top: 0px;
	    padding-top: 10px;
        margin-left: 5%;
        box-sizing: border-box;
        width: 100%;
        margin: auto;
        height: 100%;
	}
	#worksGallery #leftArr{
		left: 0%;
	}
	#worksGallery .closeBut{
		right: 0%;
		margin-right:2%;
		width: 25px;
	}
	#worksGallery #vid{
		padding-left: 5%;
		margin-top: 0px;
	}
	#worksGallery #imaga{
	    height: 80vh;
	    width: auto;
	}
	#worksGallery #imaga img{
		height: 100%;
		width: auto;
	}
	#worksGallery .bloc{
		flex-direction: row;
	}
	#worksGallery.forceH .bloc{
	    height: 100%;
	}
	#worksGallery #leftArr,#worksGallery #rightArr{
		width: 35px;
	}
	#worksGallery #leftArr>div,#worksGallery #rightArr>div{
		width: 100%;
		height: auto;
	}
	#worksGallery #leftArr>div>img,#worksGallery #rightArr>div>img{
		width: 100%;
		height: auto;
	}
	.menuGrid{
		flex-direction: row;
	}
	.page-template-aboutPage .section {
		padding-top: 50px;
	}
	.page-template-aboutPage .section>.tit{
		margin-bottom: 50px;
	}
	.menuGrid.small .gridElement{
		width: 20%;
		max-width: 200px;
	}
	.menuGrid.small .gridElement.active{
		max-width: 270px;
	}
	header .sep{
		padding:0 10px;
	}
	#worksGallery .data{
		width: 100%;
		/*width: 90%;
    	margin-left: 5%;
    	position: absolute;
        bottom: 0;*/
        margin: 0;
        padding: 20px;
	}
	#worksGallery .data .vidPicto{
		width:40px;
	}
	#worksGallery #vid.mostra{
		padding: 5%;
	}
	#worksGallery .tit{
		font-size: 1.1em;
	}

	#menu-menu_rafel li:last-child>a,
	#menu-menu_rafel_cast li:last-child>a{
		margin-right: 0;
		padding-right: 0;
	}
	#menu-menu_rafel li,
	#menu-menu_rafel_cast li{
	}
	#grid.quads .rowQ .gridElement.plus.inView{
		justify-content: center;
		padding: 0;
	}
	.navbar-brand{
	}
	/*.navbar-light #menu-menu_rafel.navbar-nav .nav-item .nav-link:nth-child(2).active span,
	.navbar-light #menu-menu_rafel_cast.navbar-nav .menu-item.active span{
		text-decoration: underline;
	}*/

}
@media(min-width: 1400px){
	#worksGallery #leftArr{
		left: 0%;
	}
	#worksGallery #rightArr,#worksGallery .closeBut{
		right: 0%;
	}
}
@media(min-width: 1920px){
}

@media(min-width: 2560px){/*pantallas grandes escritorio*/
}
