/* villarlomba.com */
/* Single Gallery css */
body.single-galleries.app-loaded {
    background-color: #0f0f0f;
}
body.single-galleries .big-wrapper {
    max-width: 100vw;
}
.big-name.mobile{
    display: none;
}
.container.full {
    padding-bottom: 0;
    padding-top: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
}
.single-galleries.side-form-on .form-curtain {
    opacity: .98;
}
.single-galleries .form-curtain {
    background-color: #0F0F0F;
}
.photos-item.photos-hg {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    margin: 0;
    background-color: var(--bg-color-secondary);
    height: 60px;
    border-bottom: var(--default-border);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}
.photos-item.photos-hg.scroll-up{
    position: fixed;
    width: calc(100% - 150px);
}
.grid-opts.photo {
    -ms-flex-pack: center;
    justify-content: center;
    transition: opacity .3s;
    gap: 40px;
    border: 0;
}
/*.sticky-opts .grid-opts.photo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    -ms-transform: none;
    transform: none;
    gap: 20px;
}
.sticky-opts.side-form-on .grid-opts.photo {
    opacity: 0;
    pointer-events: none;
}*/
.grid-opts .list span {
    height: 6px;
}
.grid-opts .list .b2 {
    top: 10px;
}
.photos-item.photos-hg .social {
    letter-spacing: 1px;
    display: -ms-flexbox;
    display: flex;
    opacity: .85;
    height: 100%;
    border-left: var(--default-border);
    padding: 0 20px;
}
.photos-item.photos-hg .social:hover {
    opacity: 1;
}
.photos-item.photos-hg .social a {
    font-size: 1.2em;
    margin: 0;
    text-align: right;
    width: 100%;
    display: inline-block;
    line-height: 36px;
    color: var(--color-grey-1);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    letter-spacing: .01em;
}
.photos-item.photos-hg .social a .icon {
    margin-right: 8px;
}
.photos-item.photos-hg .social a .icon path {
    transition: all 0.2s;
}
.photos-item.photos-hg .social a:hover .icon path {
    fill: var(--secondary-color);
}
.photos-hg .desc {
    font-size: .83em;
    width: 100%;
    margin: 0;
    transition: all .2s;
}
.photos-hg .desc p {
    width: 100%;
    max-width: 260px;
    margin: 0;
}
.motive-lines.info{
    display: flex;
    top: auto;
    bottom: 0;
    height: 60px;
}
body.home .motive-lines.info{
    display: none;
}
.photo-grid {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
.photo-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-flow: column;
    flex-flow: column;
    width: 100%;
    padding-bottom: 10vh;
    padding-top: 120px;
}
.photo-container .grid {
    width: 90%;
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    margin-bottom: 0;
}
.opt-mossaic-min .photo-container .grid {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: flex-start;
    -align-items: flex-start;
    max-width: 1200px;
    padding-bottom: 140px;
}
.opt-mossaic-big .photo-container .grid {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    -align-items: center;
    justify-content: center;
    width: calc(100% - 40px);
}
.photos-item {
    border: 0;
    width: auto;
    margin: 0 30px 30vh;
    width: calc(100% - 60px);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
}
/* --- DISTRIBUCIÓN MOSAICO GRANDE */

.opt-mossaic-big .grid .photos-item {
    margin: 0 20px 20px;
    width: auto;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    -ms-align-items: center;
    overflow: hidden;
}
/*.opt-mossaic-big .grid .photos-item.pano{
    width: calc(50% - 70px);
    max-height: 380px;
}*/
.opt-mossaic-big .photo-container .photos-item img{
    transition: opacity .2s;
    max-height: 300px;
    max-width: 100%;
}
/*
.opt-mossaic-big .photo-container .photos-item.vertical img{
    max-height: 260px;
}*/
.opt-mossaic-big .photo-container .photos-item:hover img{
    opacity: .75;
}
/*
.opt-mossaic-big .grid .photos-item:nth-child(even) {
    transform: translateY(100px);
}*/

/* --- DISTRIBUCIÓN MOSAICO PEQUEÑO */
.opt-mossaic-min .grid .photos-item {
    margin: 0 30px 60px;
    width: calc(50% - 60px);
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    align-items: flex-end;
    -ms-align-items: flex-end;
}
.opt-mossaic-min .grid .photos-item:nth-child(even) {
    align-items: flex-start;
    -ms-align-items: flex-start;
    transform: translateY(140px);
}
.opt-mossaic-min .photo-container .photos-item img {
    max-height: 600px;
    transition: opacity .2s;
}
.opt-mossaic-min .photo-container .photos-item:hover img{
    opacity: .75;
}
.photos-item.set-header {
    margin: 0;
    width: 100%;
    padding: 0 0 90px;
}
body.home .photos-item.set-header{
    padding: 20px 0 40px;
    width: auto;
}
.photos-item.set-header .profile-pic{
    width: 180px;
    height: 180px;
    position: relative;
}
.photos-item.set-header .profile-pic .fx{
    background-size: cover;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}
.photos-item.set-header .profile-pic .img{
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    display: block;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .8;
    position: absolute;
    top: 0;left: 0;
}
.photos-item.set-header .profile-pic:before,
.photos-item.set-header .profile-pic:after{
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 25%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
    transition: all .2s;
    z-index: 10;
}
.photos-item.set-header .profile-pic:after{
    background-color: var(--primary-color);
    top: auto; left: auto;
    bottom: 20px; right: 0;
    transform: translateX(50%);
}
.photos-item.set-header .profile-pic:hover .img{
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}
.photos-item.set-header .profile-pic:hover:before,
.photos-item.set-header .profile-pic:hover:after{
    width: 10%;
}
.photos-item.set-header .ante{
    opacity: .5;
    position: absolute;
    top: 80px;
    left: 30px;
    pointer-events: none;
}
.photos-item.set-header .title {
    /*font-family:"Karma";
    text-transform: lowercase;*/
    color: var(--color-grey-1);
    font-size: 4.6em;
    line-height: .8em;
    margin: 0 0 10px;
    text-align: center;
    position: relative;
}
.photos-item.set-header .title:before,
.photos-item.set-header .title:after{
    content: "";
    position: absolute;
    bottom: 2px;
    right: -40px;
    width: 10px;
    height: 10px;
    pointer-events: none;
    background-color: var(--primary-color);
}
.photos-item.set-header .title:before{
    right: -20px;
    background-color: var(--secondary-color);
}
@media only screen and (min-width: 1025px){
    .photos-item.set-header .title {
        margin-bottom: 30px;
    }
}
.photos-item.set-header .desc {
    font-size: 1.1em;
    color: var(--color-grey-1);
    margin-top: 10px;
    max-width: 520px;
    padding: 0 40px;
    text-align: center;
}
body.home .photos-item.set-header .desc {
    margin-top: -35px;
    position: relative;
    z-index: 10;
}
.photos-item.set-header .desc .text{
    font-size: 1em;
    text-align: center;
}
.photos-item.set-header .desc p{
    margin: 0;
}
.photos-item.set-header .desc.dos-columnas {
    max-width: 620px;
}
.photos-item.set-header .desc.dos-columnas p {
    columns: 2;
    column-gap: 40px;
}
.photos-item .caption {
    width: 100%;
    height: 18px;
    margin-top: 0;
    font-size: 14px;
    color: var(--color-grey-1);
    text-align: center;
    opacity: 0;
    position: absolute;
    bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.photos-item .caption span{
    width: 100%;
    max-width: 200px;
    display: block;
}
.photos-item .img-loaded .caption{
    opacity: .8;
}
.photos-item .caption.mob,
body.opt-mossaic-min .photos-item .caption,
body.opt-mossaic-big .photos-item .caption{
    display: none
}

.photos-item .caption svg {
    position: absolute;
    top: 5px;
    left: 0;
}
.photos-item figure {
    opacity: 0;
    transition: all .45s;
}
.opt-mossaic-big .photos-item.pano figure {
    padding: 0;
    border: 8px solid #0f0f0f;
    border-bottom: 25px solid #0f0f0f;
    max-height: 380px;
    overflow: hidden;
}
.grid .photos-item a{
    position: relative;
}
.grid .photos-item > a.img-loaded figure {
    opacity: 1;
}
.grid .photos-item a:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    animation: spin 1s linear infinite;
    height: 10px;
    width: 10px;
    transform: translate(-50%,-50%) scale(.4);
    -ms-transform: translate(-50%,-50%) scale(.4);
}
.grid .photos-item a.img-loaded:after{
    display: none;
}
.photos-item figure img{
    max-height: 75vh;
    width: 100%;
}
.opt-mossaic-big .photos-item figure img{
    max-height: none;
}
.opt-mossaic-min .photos-item figure.full-image,
.opt-mossaic-big .photos-item figure.full-image,
.photos-item figure.grid-image {
    display: none;
}
.opt-mossaic-min .photos-item figure.grid-image,
.opt-mossaic-big .photos-item figure.grid-image {
    display: block;
}

/* efecto diapositiva */
.photos-item figure{
    background-color: #0f0f0f;
    padding: 8px 8px 25px;
    max-width: 1100px;
}

/* ------- */

.to-flickr.foo {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-pack: center;
    justify-content: center;
    width: 260px;
    position: static;
    transform: none;
    -ms-transform: none;
    bottom: 0;
    left: 0;
    margin-bottom: 40px;
}
.to-flickr a {
    padding: 0 10px;
    float: left;
    margin: 5px 8px 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    border: 0;
}
.to-flickr a .icon {
    margin-right: 10px;
}
.to-flickr a .icon path {
    transition: all 0.2s;
}
.to-flickr a:hover .icon path {
    fill: var(--secondary-color);
}
.game,
.blockrain-start-holder,
.blockrain-game-over-holder {
    background-color: rgba(7, 12, 16, .95);
}
.to-index {
    font-size: 1.2em;
    display: inline-block;
    padding: 0 30px 0 20px;
    line-height: 36px;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: .85;
    height: 100%;
    border-right: var(--default-border);
}
.to-index:hover {
    opacity: 1;
}
.to-index svg {
    margin-right: 12px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
}
.to-index path {
    fill: #fff;
}
.to-index:hover path {
    fill: var(--secondary-color);
}
.to-index>span {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
}
.to-flickr .to-index {
    margin-bottom: 60px;
}
body.single-galleries .scroll-progress{
    width: calc(100% - 150px);
}
@media only screen and (min-width: 1401px) {
    .app-loaded.hide-nav.opt-list .main-header,
    .app-loaded.hide-nav.opt-list .photos-item.photos-hg {
        opacity: .2;
    }
    .app-loaded.hide-nav.opt-list.in-bottom .main-header,
    .app-loaded.hide-nav.opt-list .main-header:hover,
    .app-loaded.hide-nav.opt-list.in-bottom .photos-item.photos-hg,
    .app-loaded.hide-nav.opt-list .photos-item.photos-hg:hover,
    .app-loaded.hide-nav.opt-list.side-form-on .main-header {
        opacity: 1;
    }
}
@media only screen and (max-width: 1440px){
    .opt-mossaic-big .grid .photos-item{
        margin: 0 10px 20px;
    }
}
@media only screen and (max-width: 1400px) {
    .container.full{
        width: 100%;
        margin-left: 0;
    }
    .big-wrapper {
        min-height: auto
    }
    .main-header h2 {
        color: var(--color-grey-1);
    }
    .photos-item.set-header {
        padding-top: 80px;
    }
    .photos-item.photos-hg,
    .photos-item.photos-hg.scroll-up {
        margin-bottom: 0;
        width: 100%;
        position: static;
        padding: 0 10px;
    }
    .grid-opts.photo{
        position: static;
        transform: none;
    }
    body.single-galleries .scroll-progress{
        width: 100%;
    }
}
@media only screen and (min-width: 1025px) {
    .single-galleries .menu a.play-blocks:hover {
        color: var(--secondary-color) !important;
    }
}
@media only screen and (max-width: 1024px) {
    .opt-mossaic-min .grid .photos-item {
        margin: 0 20px 80px;
    }
    .container.full {
        border: 0;
    }
    body.single-galleries .scroll-progress{
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .photos-item.set-header .ante{
        top: 20px;
    }
    .photos-item.set-header .profile-pic{
        width: 160px;
        height: 160px;
    }
    .photos-item.set-header .profile-pic .fx{
        display: none;
    }
    .photos-item.set-header .profile-pic .img{
        -webkit-filter: none;
        filter: none;
    }
    .to-index{
        border-right: 0;
    }
    .photo-container{
        padding: 50px 0;
    }
    .opt-mossaic-min .photo-container .grid {
        display: grid;
        grid-template-columns: repeat(2, 50%);
    }
    .opt-mossaic-big .photo-container .grid{
        width: 100%;
        flex-direction: column;
    }
    .photos-item{
        pointer-events: none;
    }
    .opt-mossaic-big .grid .photos-item{
        margin: 0 0 10vh;
        overflow: visible;
    }
    .opt-mossaic-big .photo-container .photos-item img{
        max-height: 500px;
        max-width: 100%;
    }
    .photos-item.set-header {
        margin-bottom: 60px;
    }
    .photos-item.photos-hg{
        display: none;
    }
    .photos-item figure.grid-image {
        display: block;
    }
    .photos-item figure.full-image {
        display: none !important;
    }
    .photos-item .caption.mob{
        display: flex !important;
    }
    .photos-item .caption{
        font-size: 13px;
        line-height: 15px;
        margin-top: 15px;
    }
    .photos-item .caption span{
        padding-left: 0;
    }
    .photos-item .caption span:before{
        display: none;
    }
}
@media only screen and (max-width: 680px) {
    body.single-galleries .big-wrapper{
        margin-top: 90px;
    }
    .photo-container .grid {
        margin-bottom: 10vh;
    }
    .photos-item.set-header{
        padding-top: 50px;
        background-color: transparent;
    }
    .photos-item.photos-hg{
        display: none;
    }
    .photos-item.photos-hg .social a {
        margin: 2px 0;
    }
    .photos-item {
        margin-bottom: 100px
    }
    .motive-lines.info{
        display: none;
    }
}
@media only screen and (max-width: 540px) {
    .photos-item.set-header .desc.dos-columnas p {
        columns: 1;
    }
    .photo-container .grid{
        width: 95%;
    }
    .photos-item{
        width: 100%;
        margin: 0 0 20vw;
    }
    .photos-item figure {
        padding: 0 0 25px;
    }
}
@media only screen and (max-width: 480px) {
    body.single-galleries .big-wrapper {
        margin-top: 70px;
    }
    .opt-mossaic-min .photo-container .grid {
        grid-template-columns: repeat(1, 100%);
    }
    .to-index{
        font-size: 1.2em;
        padding: 0 10px;
    }
    .to-index svg {
        margin-right: 8px;
        width: 14px;
        height: 14px;
    }
    .code-text{
        bottom: 0;
    }
    .photos-item.photos-hg .social a{
        font-size: 1.1em;
    }
    .photos-item.set-header {
        margin-bottom: 0
    }
    .photos-item.set-header .title {
        margin-bottom: 30px;
        max-width: 90%;
    }
    .photos-item.set-header .title:before,
    .photos-item.set-header .title:after{
        width: 5px;
        height: 5px;
        right: 40px;
        bottom: -10px;
    }
    .photos-item.set-header .title:before{
        right: 50px;
    }
    .to-flickr.foo {
        display: -ms-flexbox;
        display: flex;
    }
    .photo-container .grid{
        margin-bottom: 0;
        width: 100%;
    }
    .photos-item {
        width: 100%;
    }
    .photos-item.set-header .ante,
    .photos-item.set-header .desc{
        font-size: 1.4em;
    }
    .photos-item .caption.mob{
        font-size: 1em;
        line-height: 1.1em;
    }
    .code-text{
        font-size: 1em;
    }
    .photos-item .caption{
        color: var(--color-grey-1);
    }
    .to-flickr .to-index {
        display: -ms-flexbox !important;
        display: flex !important
    }
    .to-flickr .to-index svg {
        margin-right: 12px;
        width: 20px;
        height: 20px;
    }
    .big-name.desktop{
        display: none !important;
    }
    .big-name.mobile{
        display: inline-block !important;
        margin-bottom: -10px;
        position: relative;
        z-index: 1;
    }
}
@media only screen and (max-width: 360px){
    .photos-item.photos-hg{
        display: none;
    }
}