/* thumbnails */
h3.titThumbnails {
    color: #888;
    font-family: "open_sanssemibold",Arial,sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 20px;
}
.call-to-action-text {
    width: auto;
    float: left;
}
.image-viewer-thumbnail{
    overflow: hidden;
    -webkit-transition: border-radius .12s linear 0s .35s linear 0s;
    transition: border-radius .12s linear 0s .35s linear 0s;
    float: left;
    width: 97px !important;
    height: 67px;
    margin-right: 1.3px;
    margin-top: 3px;
    opacity: 0.4;
    filter: alpha(opacity=40);
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.image-viewer-thumbnail img {
    display: block;
    height: 67px !important;
    width: 97px !important;
    filter: alpha(opacity=100);
}

.image-viewer-thumbnail:hover,
.image-viewer-thumbnail.active {
    opacity: 1.0;
    filter: alpha(opacity=100);
}
.image-viewer-thumbnail.active {
    border: 3px solid #fff;
    width: 103px !important;
    height: 73px;
    margin-top: 0;
    margin-left: -3px;
    margin-right: -3px;
    position: relative;
    z-index: 10;
}

#cboxLoadedContent li{
    padding-top: 0px !important;
}
.js-slider {
    height: 55%;
}

.js-carousel {
    min-width: 90%;
    max-width: 90%;
    text-align: center;
}

#imageViewer{
    max-height: 80%;
    max-width: 55%;
    min-height: 80%;
}

.image-viewer {
    overflow: hidden;
    text-align: center;
}

.image-viewer img {
    min-width: 100%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50px);
    -moz-transform: translateX(-50px);
    -o-transform: translateX(-50px);
}

/*.flex-viewport {
    height: 15%;
} Elimino pq en hoteles rompemos el alto de el carrusel de imagenes*/

.lg-prev, .lg-next {
    font-family: fontawesome;
}

.image-viewer  {
    width: 12%;
    float: left;
    margin-right: .5%;
    margin-bottom: 2px;
}

.layer-add-photo .grey-box {
    float: left;
}

.layer-add-photo .grey-box.no-gallery {
    float: right;
}

.min-height-97.no-gallery-height {
    min-height: 110px!important;
}

.layer-add-photo .loader-gallery {
    width: 32px;
    margin: 0 auto;
}

.layer-add-photo a {
    background-color: #777777;
    display: block;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 8vh;
}

.layer-add-photo a span {
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    position: absolute;
    top: 50%;
}

.layer-add-photo a i.fa-plus {
    left: 12px;
    top: 6px;
    text-shadow: -2px -1px #777777;
}

.layer-add-photo a:hover i.fa-plus {
    text-shadow: -2px -1px #ba0000;
}
.btn-add-photo {
    font-size: 18px;
}

.lg-icon{
    font-family: fontawesome !important;
}

.lg-actions .lg-prev:after{
    content: "\f104" !important;
}

.lg-actions .lg-next:before{
    content: "\f105" !important;
}

.lg-toolbar .lg-close:after{
    content: "\f00d" !important;
}

.lg-backdrop.in {
    opacity: 0.85 !important;
}

.lg-outer.lg-thumb-open .lg-thumb-outer{
    background-color: transparent !important;
}

.lg-actions {
    position: absolute;
    bottom: 150px;
    width: 110px;
    left: 50%;
    margin-left: -55px;
}

.lg-actions .lg-next,
.lg-actions .lg-prev {
    position: absolute!important;
    width: 50px!important;
    height: 50px!important;
    border-radius: 25px!important;
    top: inherit!important;
    background: none!important;
    background-color: rgba(133, 133, 133, 0.8)!important;
    color: #fff!important;
    opacity: 1!important;
    font-size: 38px!important;
    text-indent: initial!important;
    text-align: center!important;
    padding-top: 5px!important
}

.lg-actions .lg-next {
   right: 0!important;
}

.lg-actions .lg-prev {
    left: 0!important;
}

.lg-actions .lg-prev i {
    margin-top: -2px;
    margin-left: -5px;
    display: block;
}

.lg-actions .lg-next i {
    margin-top: -2px;
    margin-left: 8px;
    display: block;
}

.lg-actions .lg-prev:hover,
.lg-actions .lg-next:hover { background-color: rgba(86, 86, 86, 0.9)!important; }

.lg-actions .lg-prev { left: 0; }

.lg-actions .lg-next { right: 0; left: auto!important; }
.lg-actions .lg-next, .lg-actions .lg-prev {text-indent:0px;}

.lg-sub-html, .lg-toolbar{
    background-color: transparent !important;
}

.lg-outer .lg-sub-html {
    top: 35px!important;
    text-align: left!important;
    height: 45px!important;
    width: 80%!important;
    margin: 0 auto;
    padding: 10px 0!important;
}

/* Reescalar imagenes */
.lg-outer .lg-img-wrap {
    height: 70%!important;
    margin-top: 10%!important;
}

/* Info usuario, comentario de imagen y avatar */
.user-avatar-gallery .avatar {
    font-style: normal;
    border-radius: 50%;
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    vertical-align: -1px;
    padding-top: 5px;
    margin-right: 5px;
    float: left;
}

.user-avatar-gallery p {
    float: left;
    margin: 0 0 0 10px!important;
    font-size: 12px;
    color: #fff;
    width: 95%;
    line-height: 14px;
}

.user-avatar-gallery .comments {
    margin: 5px 0;
    padding: 5px 0;
    border-top: 1px solid #fff;
}

/* Nuevo formulario para aņadir imagenes */

#photo-uploader-dialog input[type=text] {
    width: 100%;
    line-height: 21px;
    border: 1px solid #afafaf;
    border-radius: 3px;
    padding: 0 0 0 10px;
    background-color: white;
    font-family: "open_sansregular", sans-serif;
    font-size: 14px !important;
    height: 38px;

    transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s; /* Opera */
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s; /* Mozilla */
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; /* Chrome */
}

#photo-uploader-dialog .btn-close {
    font-size: 12px;
}
#photo-uploader-dialog .btn-close:hover {
    text-decoration: underline;
    cursor: pointer;
}

#photo-uploader-dialog-message {
    text-align: center;
    font-size: 14px;
}

.centred-loading {
    position: absolute;
    top: 46px;
    right: 50%;
    width: 32px;
}
/* -------- Nuevo formulario para aņadir imagenes --------- */

#photo-uploader-dialog input[type=text] {
    width: 100%;
    line-height: 21px;
    border: 1px solid #afafaf;
    border-radius: 3px;
    padding: 0 0 0 10px;
    background-color: white;
    font-family: "open_sansregular", sans-serif;
    font-size: 14px !important;
    height: 38px;

    transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s; /* Opera */
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s; /* Mozilla */
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; /* Chrome */
}

#photo-uploader-dialog .btn-close {
    font-size: 12px;
}
#photo-uploader-dialog .btn-close:hover {
    text-decoration: underline;
    cursor: pointer;
}

#photo-uploader-dialog-message {
    text-align: center;
    font-size: 14px;
}

.photo-uploader-loading {
    margin-top: 125px!important;
}
.btn.hidden {display: none}

/*  Media
===========================================================================================================*/

/* XL */
@media (min-width: 1280px) {
    .layer-add-photo .loader-gallery {
        margin-top: 10%;
    }
}

/* L */
@media (min-width: 1024px) and (max-width : 1279px) {
    .layer-add-photo .loader-gallery {
        margin-top: 8%;
    }

    .user-avatar-gallery p {
        width: 92%;
    }
}

/* M */
@media only screen and (min-width: 641px) and (max-width: 1023px) {
    .image-viewer {
        width: 15%;
        margin-right: 1.6%;
        margin-bottom: 10px!important;
    }

    .gallery-wrap {
        margin-bottom: 0!important;
    }

    .user-avatar-gallery p {
        width: 90%;
    }

    .lg-outer .lg-img-wrap {
        margin-top: 12%!important;
    }

}

/* S */
@media only screen and (max-width: 640px) {
    .image-viewer {
        width: 24%;
        margin-right: 1%;
        margin-bottom: 0!important;
    }
    .image-viewer{margin-bottom: 10px!important}
    /* botones grises en S no necesitan tanto padding */
    .layer-add-photo a {
        padding: 0;
    }

    .app-photo-collection-container .image-viewer {margin-bottom: 0px!important;}
    .app-photo-collection-container .image-viewer > img {
        min-width: 100%;
        left: auto;
        position: relative;
        transform: inherit;
        -webkit-transform: inherit;
        -moz-transform: inherit;
        -o-transform: inherit;
    }
    .user-avatar-gallery p {
        width: 78%;
    }

    .gallery-wrap {
        margin-bottom: 0!important;
    }

    /* Reescalar imagenes */

    .lg-outer .lg-img-wrap {
        height: 50%!important;
        margin-top: 40%!important;
    }
}

/* Ocultamos thumbnails en mohile */

@media only screen and (max-width: 740px) {
    .lg-thumb-outer {display: none;}
    .lg-actions {bottom: 50px;}
    .lg-sub-html {
        top: 30px !important;
        text-align: left !important;
        height: 45px !important;
        width: 80% !important;
        margin: 0 auto;
        padding: 10px 0 !important;
    }
    .lg-outer .lg-img-wrap { margin-top: 100px!important;}
}

.js-photo-container > img.js-image-instagram {max-width: 100%;}
/* Searches
=========================================================================================================== */
#searches {
    font-family: 'open_sansregular', sans-serif;
    background-color: #e3e1e1;
}

.searchestop {
    margin-top: -15px;
    padding-top: 15px;
}

#searches * { box-sizing: border-box; }

#searches > .row { padding: 30px 0; }

#searches > .row_tab { padding: 15px 0 !important; }

.VMH #searches .row { padding: 10px 0 30px !important; }

#searches img { box-sizing: content-box; }

#searches .prefooter__title {
    margin: 0 0 28px;
    font-size: 18px;
    font-weight: normal;
    font-family: 'open_sanssemibold', sans-serif;
}

.COC #searches .prefooter__title { line-height: 18px; }

#searches h3,
.footSubhead {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: normal;
    font-family: 'open_sanssemibold', sans-serif;
    color: #444;
    line-height: 18px;
}

#searches li { margin-bottom: 12px; }

#searches .column > ul {
    margin-bottom: 30px;
}

.COC #searches li {
    margin-bottom: 12px;
    padding: 0 !important;
    list-style-image: none !important;
}

#searches li.bold { font-weight: normal !important; }

#searches a {
    font-size: 13px;
    color: #444;
}

#searches a:hover { color: #000; }

#searches .tripadvisor {
    float: right;
    padding-right: 20px;
    font-size: 11px;
    margin-top: -15px;
}

#searches .tripadvisor img {
    vertical-align: -5px;
    margin-left: 5px;
}

#searches .nivelEnlaces {
    margin-top: 28px !important;
}

.ia_tab {
    height: 48px;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
    margin: 0;
    list-style: none;
}

.ia_tab_btn:hover {
    color: #1e97e6;
}

.ia_tab_btn.active {
    cursor: default;
    color: #1e97e6;
    border-bottom: solid 4px #1e97e6;
    font-family: open_sanssemibold, sans-serif;
}

.ia_tab_btn {
    display: inline-block;
    cursor: pointer;
    height: 48px;
    line-height: 36px;
    color: #444;
    font-size: 14px;
    padding: 0 15px !important;
    list-style: none;
    margin: 0;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    #searches > .row { padding: 20px 0; }
}

@media (max-width: 1023px) {
    #searches > .row { padding: 20px 0; }

    #searches .prefooter__title {
        line-height: 20px;
        font-size: 17px;
        letter-spacing: -0.5px;
    }

    #searches a { line-height: 18px; }
}
