/* ==========================================================================
   Fonts
   ========================================================================== */

@import url("https://fonts.googleapis.com/css?family=Roboto");
@font-face { font-family: Trampolina-regual; src: url('../fonts/FbTrampolina-Regular.otf'); }
@font-face { font-family: Trampolina-black; src: url('../fonts/FbTrampolina-Black.otf'); }
@font-face { font-family: Trampolina-light; src: url('../fonts/FbTrampolina-Light.otf'); }
@font-face { font-family: Trampolina-bold; src: url('../fonts/FbTrampolina-Bold.otf'); }
@font-face { font-family: Typograph-bold; src: url('../fonts/FbTypographEng-Bold.otf'); }
@font-face { font-family: Typograph-reglar; src: url('../fonts/FbTypographEng-Regular.otf'); }

/* ==========================================================================
   General
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    font-family: Trampolina-regual, sans-serif;
    color: #2d3339;
}

body a {
    color: inherit;
    text-decoration: inherit;
}

.assets-header {
    background-color: #f4f4f4;
    position: fixed;
    top: 0;
    height: 40px;
    width: 100%;
    z-index: 30;
}

.assets-header-cont {
    margin: auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100rem;
}

.header-akerman {
    font-family: Trampolina-bold, Roboto, sans-serif;
    font-size: 1em;
}

#back-home {
    text-align: center;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#home-icon {
    background: url("../images/menu_grey_icon.svg") no-repeat center;
    background-size: cover;
    height: 1.5rem;
    width: 1.5rem;
    margin-left: 0.6rem;
}

#back-assets-list-icon {
    background: url("../images/AssetsListIcon.svg") no-repeat center;
    background-size: cover;
    height: 1.2rem;
    width: 1.2rem;
    margin-left: 0.6rem;
}

.asset-list-body {
    margin-top: 40px;
    direction: rtl;
    text-align: right;
    background-color: white;
}

.map-cont {
    width: 100%;
    height: 15rem;
}

.asset-list-main {
    margin: 0 5%;
}

.asset-list-header {
    font-family: Trampolina-black, sans-serif;
    font-size: 1.8em;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.asset-list-cont {
    display: flex;
    flex-wrap: wrap;
    border-radius: 1rem;
    background-color: #8eb7d8;
    box-shadow: 0 3px 0 rgba(200, 200, 200, 0.4);
    justify-content: center;
}

#soled-assets {
    background-color: #577384;
}

.asset-list-asset-cont {
    border-radius: 0.5rem;
    width: 15rem;
    background-color: #efefef;
    font-size: 1.3em;
    margin: 1rem;
    transition: background-color 0.2s ease-in-out;
    min-height: 16rem;
    position: relative;
}

.asset-list-asset-cont:hover {
    background-color: white;
}

.asset-list-asset-name {
    padding: 0.5rem;
    min-height: 3rem;
    font-size: 0.9em;
}

.asset-list-asset-img {
    width: 100%;
    height: 10rem;
    position: absolute;
    bottom: 0.7rem;
}

.asset-map-text {
    font-family: Trampolina-bold, Roboto, sans-serif;
    font-size: 1.2em;
    text-align: center;
    width: 10rem;
}

.asset-map-text p {
    padding: 0.2rem;
}

.asset-map-text img {
    width: 8rem;
}

.gm-style-iw + div {display: none;}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: #2d3339;
    direction: rtl;
    margin-top: 4rem;
}

.footer-icon {
    flex-grow: 1;
    height: 2rem;
    width: 5rem;
    flex-basis: 50%;
}

#footer-social {
    height: 9rem;
    display: flex;
    align-items: center;
}

.credit {
    font-family: Trampolina-light, Roboto, sans-serif;
    font-size: 0.9em;
    color: #464f56;
    text-align: center;
    padding-bottom: 1.5rem;
}

.credit a {
    color: #464f56;
    font-size: 0.8em;
}

.credit a:hover {
    color: #fff;
}

#facebook-icon {
    background: url("../images/FacebookIcon.svg") no-repeat 100%;
    background-size: contain;
    width: 100%;
    height: 2.4rem;
}

#youtube-icon {
    background: url("../images/YouTubeIcon.svg") no-repeat 0;
    background-size: contain;
    width: 100%;
    height: 2.4rem;
}


/* ==========================================================================
   Asset Detail
   ========================================================================== */
.mobile-image {
    display: block;
    width: 100%;
}

.asset-mobile-img {
    display: block;
    height: auto;
    margin-bottom: 1rem;
}

.asset-detail-body {
    margin-top: 40px;
}

.asset-detail-main-cont {
    display: flex;
    margin: 0;
    border-radius: 1rem;
    flex-direction: column-reverse;
}

.asset-detail-main-cont-break {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.asset-images-horizontal-wrap {
    width: 100%;
    position: relative;
    display: block;
    padding-bottom: 30px;
    background-color: #eae9e9;
}

.images-scroll-indicator {
    position: absolute;
    padding: 0 0.15rem;
    bottom: 7px;
    transform: translate(-50%, 0);
    left: 50%;
    display: flex;
    z-index: 15;
    border-radius: 1.5rem;
    align-items: center;
}

.scroll-bullet {
    height: 5px;
    width: 5px;
    background-color: dimgrey;
    border-radius: 50%;
    margin: 4px 3px;
    opacity: 0.6;
    transition: 0.2s ease-in-out;
}

.chosen-bullet {
    opacity: 1;
    transform: scale(1.7);
}

.asset-images-vertical-scroll {
    display: none;
}

.asset-images-horizontal-scroll {
    display: flex;
    width: 100%;
    max-height: 74vh;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}

.asset-images-horizontal-scroll::-webkit-scrollbar,
#desktop-images-gallery::-webkit-scrollbar{
    display: none;
    width: 0;
    background: transparent;
}

#swipe-icon {
    position: absolute;
    width: 30px;
    opacity: 0.8;
    top: 1rem;
    right: 1rem;
}

.horizontal-image-scroll {
    min-width: 100vw;
    height: 17rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    scroll-snap-align: start;
    position: relative;
}

.portrait-image {
    background-size: contain;
}

.asset-image-text {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-family: Trampolina-regual, Roboto, sans-serif, Roboto, sans-serif;
    color: white;
    text-shadow: 2px 2px black;
    font-size: 1em;
}

#desktop-images-gallery {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    background-color: #dee9f3;
}

#desktop-gallery-main-image {
    width: 100%;
    height: 50%;
    max-height: 32rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

#single-image-filler {
    height: 50%;
    width: 100%;
    background-color: #dee9f3;
}

#desktop-images-gallery-grid {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    min-height: 50%;
}

.desktop-gallery-grid-image-cont {
    flex-basis: 50%;
    min-width: 15rem;
    min-height: 16rem;
    max-height: 22rem;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
}

.image-action-icon {
    opacity: 0;
    position: absolute;
    z-index: 2;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #f2f2f26b;
    border-radius: 3px;
    transition: opacity 0.1s ease-in-out;
    user-select: none;
}

.desktop-gallery-grid-image-cont:hover .image-action-icon,
#desktop-gallery-main-image:hover .image-action-icon{
    opacity: 1;
}

.image-action-icon img {
    width: 25px;
    margin: 4px 4px 0;
}

.desktop-gallery-grid-image-portrait {
    flex-basis: 25%;
    min-height: 22rem;
}

.single-image {
    min-width: 100%;
    min-height: 100%;
    max-height: none;
}

.desktop-gallery-grid-image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: auto;
    height: 100%;
}

.asset-detail-map-cont {
    width: 100%;
    height: 10rem;
    min-height: 15rem;
}

.asset-detail-header {
    width: 100%;
    direction: rtl;
    background-color: #8eb7d8;
}

.asset-detail-name {
    font-size: 2em;
    font-family: Trampolina-black, Roboto, sans-serif;
    margin: 1rem 1rem 0 1rem;
}

.asset-detail-address {
    font-size: 1.2em;
    font-family: Trampolina-regual, Roboto, sans-serif;
    margin: 0.5rem 1rem 1rem
}

.asset-detail-text {
    font-size: 1.1em;
    font-family: Trampolina-light, Roboto, sans-serif;
    margin: 2rem 0 3rem 1rem;
    border-right: solid 4px #404040;
    padding: 1rem 1rem 1rem 0;
    max-width: 40rem;
}

.asset-detail-text p {
    margin-bottom: 10px;
}

.asset-detail-data {
    direction: rtl;
    background-color: #efefef;
    width: 100%;
    font-size: 1.1em;
    flex-grow: 0;
    -webkit-flex-grow: 0;
}

.asset-detail-agent-cont {
    margin-top: 2rem;
}

.asset-detail-wrap {
    margin: 1rem;
}

.asset-video-cont {
    flex-grow: 1;
    width: 100%;
}

iframe {
    width: 100%;
}

.aspect-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 51%;
}

.aspect-ratio iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
}

.assets-icon {
    width: 1.5rem;
    margin-left: 0.5rem;
}

.asset-detail-price {
    font-family: Trampolina-black, Roboto, sans-serif;
    font-size: 1.5em;
    margin: 1rem 1rem 4rem;
}

.asset-detail-size {

}

.asset-detail-bool-cont {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
}

.eng {
    font-family: Roboto, Sans-Serif, serif;
    font-size: 0.9em;
    font-weight: 300;
}

.asset-detail-footer {
    margin-top: 0;
}

.asset-detail-map-cont {
    order: 2;
    -webkit-order: 2;
}

.asset-detail-data {
    order: 1;
    -webkit-order: 1;
}

.asset-detail-header {
    order: 0;
    -webkit-order: 0;
}

.vr-icon {
    height: 2.5rem;
    margin-left: 0.5rem;
}

.vr-tour-cont {
    height: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: center;
    background-color: #EA8C8C;
    transition: background-color 0.3s ease-in-out;
    font-size: 1.2em;
}

.vr-tour-cont:hover {
    background-color: #DD7373;
}


/* ==========================================================================
   Asset Overlay Gallery
   ========================================================================== */

#asset-gallery-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 15;
}

#main-galley-image {
    position: absolute;
    z-index: 1;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    width: fit-content;
    max-width: 100vw;
}

#main-galley-image img {
    display: block;
    margin: auto;
    max-height: 55vh;
    max-width: 100%;
}

#overlay-galley-controls {
    background-color: #f4f4f4;
    height: 50px;
    width: 150px;
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 15;
    border-radius: 5px;
    user-select: none;
}

#galley-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.gallery-control-icon {
    width: 50px;
    height: 100%;
}

.gallery-control-icon img {
    height: 30px;
    display: block;
    margin: 10px auto;
}

#exit-overlay-galley {
    background-color: #E0E0E0;
    width: 70px;
}

#exit-overlay-galley img {
    height: 26px;
    margin-top: 13px;
}

#overlay-gallery-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0e2231eb;
}

.images-scroll-indicator-gallery {
    bottom: -20px;
    background-color: #f4f4f4;
}

.scroll-bullet-gallery {
    height: 6px;
    width: 6px;
    background-color: #2D3339;
    border-radius: 50%;
    margin: 4px 2px;
    opacity: 0.5;
    transition: 0.2s ease-in-out;
}

.chosen-bullet-gallery {
    transform: scale(1.4);
    opacity: 1;
}

/* ==========================================================================
   Projects
   ========================================================================== */

.projects-header-title {
    display: none;
}

#project-body {
    position: relative;
    background: url("../images/ProjectsBack.jpg");
    background-size: cover;
}

#projects-back {
    position: absolute;
    width: 100%;
    z-index: -1;
    top: -9rem;
}

.project-list-header {
    font-family: Trampolina-black, sans-serif;
    font-size: 1.6em;
    margin-bottom: 0.5rem;
    margin-top: 4rem;
    margin-right: auto;
    text-align: center;
}

.project-label {
    background-color: #00a8e4;
    position: absolute;
    height: 1.7rem;
    font-size: 1.3em;
    padding: 25px 8px 5px;
    border-radius: 0 0 5px 5px;
    left: 2rem;
    top: 0;
    text-align: center;
    font-weight: bold;
    font-family: Trampolina-black, Typograph-bold, Roboto, sans-serif;
}

.sold-out-label {
    background-color: #ff413c;
}

.label-outline {
    width: 110%;
    height: 110%;
    border: 3px solid #00a8e4;
    position: absolute;
    top: calc(-5% - 3px);
    left: calc(-5% - 3px);
    border-radius: 50%;
}

.sold-out-label-outline {
    border: 3px solid #ff413c;
}

.project-list-body {
    margin-top: 40px;
    direction: rtl;
    text-align: right;
}

#projects-main-list {
    display: flex;
    flex-direction: column;
    margin: 0 5% 5rem;
    align-items: center;
}

.project-in-list {
    flex-grow: 1;
    flex-basis: auto;
    display: flex;
    flex-direction: column;
    margin: 1rem 0 1rem 0;
    position: relative;
    max-width: 30rem;
}

.project-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(102, 146, 165, 0.2), rgba(102, 146, 165, 0.8), rgba(102, 146, 165, 1));
    border-radius: 1rem;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.project-overlay-t {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(102, 146, 165, 0.0), rgba(102, 146, 165, 0.4), rgba(102, 146, 165, 1));
    border-radius: 1rem;
    opacity: 1;
}

.project-overlay:hover {
    opacity: 0;

}

.project-list-img {
    display: block;
    width: 100%;
    min-height: 20rem;
    background-color: #0f74a8;
}

.project-list-cont {
    background-color: #2d3339;
    color: white;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem 1rem 1.4rem;
    display: block;
    max-height: 10rem;
    min-height: 5rem;
}

.project-list-cont-half {
    width: 100%;
}

.project-list-title {
    font-family: Trampolina-black, Roboto, sans-serif;
    font-size: 1.4em;
}

.project-list-location-title {
    font-size: 1.15em;
    margin-top: 3px;
}

.project-list-description {
    font-family: Trampolina-light, Roboto, sans-serif;
    font-size: 1em;
    padding: 1.5rem 0 0;
}

#project-list-footer {
    margin: 0;
}


@media screen and (min-width: 900px){
    #projects-main-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .project-in-list {
        max-width: 25rem;
        padding: 0 1rem;
    }

    .project-list-title {
        font-size: 1.6em;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (min-width: 1100px){
    .desktop-gallery-grid-image-cont {
        max-width: 60%;
    }
}

@media screen and (min-width: 600px){

    .projects-header-title {
        display: block;
        font-family: Trampolina-black, sans-serif;
        font-size: 1.6em;
        position: fixed;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .project-list-header {
        display: none;
    }

    #projects-main-list {
        margin: 80px 5% 5rem;
    }

    .project-list-cont-half {
        width: 50%;
    }

    .project-list-cont {
        display: flex;
    }

    .project-list-description {
        padding: 0 1em;
    }

    .mobile-image {
        display: none;
    }

    #overlay-galley-controls {
        bottom: 14%;
    }

    #main-galley-image img {
        max-height: 70vh;
    }

    #main-galley-image {
        top: 120px;
        left: 50%;
    }

    #desktop-images-gallery-grid {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        min-height: 50%;
    }

    .asset-images-horizontal-wrap {
        display: none;
    }

    .asset-detail-main-cont {
        flex-direction: row;
        margin: 6rem 5% 0 5%;
    }

    .asset-images-vertical-scroll {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-height: 74vh;
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
    }

    .asset-images-horizontal-scroll {
        display: none;
    }

    .asset-detail-map-cont {
        order: 1;
        -webkit-order: 1;
    }

    .asset-detail-data {
        flex-grow: 1;
        -webkit-flex-grow: 1;
        order: 2;
        -webkit-order: 2;
    }

    .asset-detail-header {
        order: 0;
        -webkit-order: 0;
    }

    .asset-detail-footer {
        margin-top: 4rem;
    }

    .asset-detail-main-cont-break {
        width: 50%;
        min-height: 74vh;
    }

    .assets-header {
        height: 60px;
    }

    .header-akerman {
    font-family: Trampolina-bold, Roboto, sans-serif;
    font-size: 1.3em;
    }

    #back-home {
        font-size: 1.1rem;
    }

    #home-icon {
        height: 2.4rem;
        width: 2.4rem;
    }

    .asset-detail-body {
        margin: 60px auto 0;
        max-width: 100rem;
    }
}

@media screen and (min-width: 450px){

    #back-assets-list-icon {
        height: 1.5rem;
        width: 1.5rem;
    }


    #back-assets-list-icon {
        height: 1.5rem;
        width: 1.5rem;
    }

    .asset-list-body {
        margin-top: 60px;
    }

    .project-list-body {
        margin-top: 60px;
    }

    .map-cont {
        width: 100%;
        height: 25rem;
    }
}