/*
* PHLY - Versatile Coming Soon Template
* Build Date: October 2015
* Last Update: October 2018
* Author: Madeon08
* Copyright (C) 20XX Madeon08
* This is a premium product available exclusively here : https://themeforest.net/user/Madeon08/portfolio
*/

/*  TABLE OF CONTENTS
    ---------------------------
    *. @Import & Reset
    1. Generic styles
    2. Home
    3. More Informations
    4. Newsletter
    5. Contact
    6. Social Icons
    7. Footer/Copyright
    8. Media Queries
*/

/* ------------------------------------- */
/* *. @Import & Reset .................. */
/* ------------------------------------- */

/* http://bourbon.io/ Sass Mixin Library */
@import "bourbon";

// colors, fonts, sizes etc...
@import "vars";

// custom mixins
@import "mixins";

/* custom CSS files */
@import "font-awesome.min.css";
@import "ionicons.min.css";
@import "bootstrap.min.css";
@import "animate.css";
@import "photoswipe.css";
@import "default-skin/default-skin.css";
@import "jquery.mCustomScrollbar.css";
@import "vegas.css";

/* Google Fonts */
@import url("http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Montserrat:400,700");

/*
* http://meyerweb.com/eric/tools/css/reset/ 
* v2.0 | 20110126
* License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ------------------------------------- */
/* Preloader styles .................... */
/* ------------------------------------- */

#loading {
    width: 100vw;
    height: 100vh;
    background: $black;
    position: fixed;
    z-index: 999;

    #preloader {
        position: relative;
        width: 100%;
        height: 80px;
        top: calc(50% - 50px);
        text-align: center;
        margin: 0 auto;

        &:after {
            content: "Phly is loading";
            /* Text under the circles */
            position: absolute;
            text-transform: uppercase;
            font-size: 12px;
            font-weight: 700;
            color: $peace;
            letter-spacing: 2px;
            font-family: $second-font;
            top: 90px;
            width: 100%;
            left: 0;
            right: 0;
            height: 1px;
            text-align: center;
        }

        span {
            position: absolute;
            border: 8px solid $magical_pink;
            border-top: 8px solid transparent;
            border-radius: 999px;

            &:nth-child(1) {
                width: 80px;
                height: 80px;
                left: calc(50% - 40px);
                animation: spin-1 1s infinite ease;
            }

            &:nth-child(2) {
                top: 20px;
                left: calc(50% - 20px);
                width: 40px;
                height: 40px;
                animation: spin-2 1s infinite ease;
            }
        }
    }
}

@keyframes spin-1 {
    0% {
        transform: rotate(360deg);
        opacity: 1;
    }

    50% {
        transform: rotate(180deg);
        opacity: 0.5;
    }

    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}


@keyframes spin-2 {
    0% {
        transform: rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.5;
    }
}


/* ------------------------------------- */
/* 1. Generic styles ................... */
/* ------------------------------------- */

body {
    background: $black;
    font-family: $font-family;
    color: $white;
    @include font-smoothing(on);
    font-weight: 400;
    font-size: 100%;
    line-height: 1.5em;
    position: absolute;
    height: 100%;
}

.scroll-touch {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body, html {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    width: 100%;
}

body, input, select, textarea {
    transition:all  $fast-transition cubic-bezier(0.42, 0, 0.58, 1);
}

a {
    transition:all  $fast-transition cubic-bezier(0.42, 0, 0.58, 1);
    cursor: pointer;
    text-decoration: none;
    color: $white;

    &:hover {
        color: darken($caribbean-green, 5%);
        text-decoration: none !important;
        outline: none !important;
    }

    &:active, &:focus {
        outline: none !important;
        text-decoration: none !important;
        color: $white;
    }
}

button {
    transition:all  $fast-transition cubic-bezier(0.42, 0, 0.58, 1);
    cursor: pointer;

    &:hover, &:active, &:focus {
        outline: none !important;
        text-decoration: none !important;
        color: $shark;
    }
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6em;
    color: $white;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    color: $white;
    font-weight: 400;
    line-height: 1.3em;

    a {
        color: inherit;
        text-decoration: none;
    }

    small {
        color: inherit;
    }
}

h1 {
    font-size: 60px;
    font-family: $second-font;
    font-weight: 700;
}

h2 {
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 30px;
    line-height: 1.4em;
}

h3 {
    font-size: 30px;
    margin-bottom: 25px;
}

h4 {
    font-size: 25px;
    margin-bottom: 25px;
}

h5 {
    font-size: 20px;
    margin-bottom: 25px;
}

h6 {
    font-size: 15px;
    margin-bottom: 25px;
}

sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

.clear {
    clear: both;
}

.display-none {
    display: none !important;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.opacity-0 {
    opacity: 0 !important;
    visibility: hidden !important;
}

.opacity-03 {
    opacity: 0.3 !important;
}

.opacity-1 {
    opacity: 1 !important;
    visibility: visible !important;
}

.index-999 {
    z-index: -999 !important;
}

/* ------------------------------------- */
/* 2. Home ............................. */
/* ------------------------------------- */

.light-btn {
    background: transparent;
    font-weight: 600;
    padding: 1.2em 2.4em;
    color: $white;
    margin-right: 10px;
    border: 2px solid $white;
    display: block;
    float: left;
        border-radius: 7px;
        cursor: pointer !important;

    &:hover {
        background: $white;
        color: $shark;
        border-color: $white;
    }
}

.action-btn {
    background: $magical_pink;
    font-weight: bold;
    padding: 1.2em 2.4em;
    color: $white;
    border: 2px solid $magical_pink;
    display: block;
    float: left;
    border-radius: 7px;

        cursor: pointer !important;
    &:hover {
        background: $white;
        color: $shark !important;
        border-color: $white;
    }
}

.global-overlay {
    position: fixed;
    top: 0;
    left: -100vw;
    height: 100%;
    overflow: visible;
    width: 100%;
    opacity: 0;
}

.overlay {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: -50%;
    background: rgba($black, 0.6);
    width: 100%;
    height: 100%;
    transition:all  0.5s cubic-bezier(0.7, 0, 0.3, 1);

    &.skew-part {
        @include skew(-25, 0);
    }
}

#stars {
    width: 1px;
    height: 1px;
    margin-left: 25%;
    background: transparent;
    box-shadow: $shadows-small;
    animation: animStar 50s infinite linear;

    &:after {
        content: " ";
        position: absolute;
        top: 2000px;
        width: 1px;
        height: 1px;
        background: transparent;
        box-shadow: $shadows-small;
    }
}

#stars2 {
    width: 2px;
    height: 2px;
    margin-left: 25%;
    background: transparent;
    box-shadow: $shadows-medium;
    animation: animStar 100s infinite linear;

    &:after {
        content: " ";
        position: absolute;
        top: 2000px;
        width: 2px;
        height: 2px;
        background: transparent;
        box-shadow: $shadows-medium;
    }
}

#stars3 {
    width: 3px;
    height: 3px;
    margin-left: 25%;
    background: transparent;
    box-shadow: $shadows-big;
    animation: animStar 150s infinite linear;

    &:after {
        content: " ";
        position: absolute;
        top: 2000px;
        width: 3px;
        height: 3px;
        background: transparent;
        box-shadow: $shadows-big;
    }
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-2000px);
    }
}


.brand-logo {
    position: absolute;
    left: 10%;
    top: 5%;
    max-width: 200px;
}

#left-side {
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0;
    transition:all  $medium-transition cubic-bezier(0, 0, 0.58, 1);

    .content {
        position: absolute;
        z-index: 0;
        left: 0;
        padding: 0;
        top: 50vh;
        width: 100%;
        padding: 0 10%;
        transition:all  $medium-transition cubic-bezier(0, 0, 0.58, 1);
        transform: translateY(-50%);
        text-align: left;
        @include font-smoothing;
        opacity: 1;
        visibility: visible;
    }
}

/* ------------------------------------- */
/* 3. More informations ................ */
/* ------------------------------------- */

#right-side {
    background: $white;
    position: relative;
    overflow: auto;
    transform: translate3d(100%, 0, 0);
    top: 0;
    width: 50%;
    transition:all  0.5s cubic-bezier(0.7, 0, 0.3, 1);

    &.hide-right {
        transform: translate3d(200%, 0, 0);
    }

    .content {
        width: 100%;
        padding: 100px 0 0;
        text-align: left;
        @include font-smoothing;
        opacity: 1;
        visibility: visible;

        .inner-content {
            padding-left: 10%;
            padding-right: 10%;
            margin-bottom: 100px;

            &.with_max {
                max-width: 1200px;
            }
        }

        .full-width-block {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
        }

        h1, h2, h3, h4, h5, h6 {
            color: $black;
        }

        h3 {
            font-family: $second-font;
            text-transform: uppercase;
            font-weight: 700;
        }

        span.separator {
            display: block;
            height: 2px;
            background: $white;
            width: 100%;
            margin: 50px 0 60px;
        }

        p {
            color: $peace;
        }

        .photo-line {
            figure {
                padding: 0;
                margin: 0;
                background: $black;
                position: relative;

                a.box-picture {
                        overflow: hidden;
                        width: 100%;
                        display: grid;
                        position: relative;

                        p {
                            bottom: 50%;
                            line-height: 1;
                            height: auto;
                            width: 100%;
                            text-align: center;
                            color: $white;
                            font-family: $second-font;
                            text-transform: uppercase;
                            font-size: 1em;
                            letter-spacing: 2px;
                            left: 0;
                            opacity: 0;
                            position: absolute;
                            transform: translateY(50%);
                            transition:all  0.3s cubic-bezier(0.42, 0, 0.58, 1);
                        }
                    }

                    a.box-picture:hover {
                        background: $black;

                        img {
                            opacity: 0.5;
                        }

                        p {
                            opacity: 1;
                        }
                    }

                    img {
                        overflow: hidden;
                        transition:all  0.3s cubic-bezier(0.42, 0, 0.58, 1);
                        backface-visibility: hidden;
                        transform: scale(1);
                        transition:all  $long-transition cubic-bezier(0.215, 0.61, 0.355, 1);
                    }

                figcaption {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;

                    

                    .photo-details {
                        background: rgba($black,0.8);
                        padding: 2em 4em;
                        text-align: left;
                        color: $peace;

                        h4 {
                            font-weight: 800;
                            margin-bottom: 0.5em;
                            text-transform: uppercase;
                            font-size: 2em;
                            opacity: 1;
                            color: $white;
                        }

                        span.border {
                            display: block;
                            height: 1px;
                            background: $white;
                            opacity: 0.2;
                            width: 100%;
                            margin: 0.8em 0 1em;
                            border: none !important;
                        }

                        p {
                            font-size: 0.9em;
                            color: $dusty-gray;
                            font-weight: 500;
                            line-height: 1.2;
                        }
                    }
                }
            }
        }

        .get_now {
            background: $magical_pink;
            padding: 150px 0;
            margin-bottom: 100px;

            h3 {
                color: $white;
                font-size: 105px;
                line-height: 1;
                small {
                    font-size: 25%;
                    opacity: 0.7;
                    letter-spacing: 2px;
                }
            }

            button#valid-form {
                padding: 1.5em 3em;
                font-size: 1em;
                display: block;
                margin: 0;
                background: $magical_pink;
                color: $white;
                border-radius: 7px;
                font-weight: 700;
                width: auto;
                line-height: 10px;
                text-transform: uppercase;
                letter-spacing: 0.1em;

                &:hover {
                    background: darken($magical_pink, 5%);
                    color: $white;
                }
            }

            .get_now_btn {
                background: transparent;
                font-weight: 700;
                padding: 1.5em 3em;
                font-size: 1em;
                color: $white;
                border: 2px solid $white;
                display: inline-block;
                margin: 0 auto ;
                width: auto;
                border-radius: 7px;
                line-height: 10px;
                text-transform: uppercase;
                letter-spacing: 0.1em;
                cursor: pointer !important;

                &:hover {
                    background: $white;
                    color: $shark;
                    border-color: $white;
                }
            }
        }
    }
}

.widget-angle {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba($white,0.1);
    border: none;
    padding: 0;
    color: $white;
    font-size: 1em;
    padding: 0.8em 1.6em;
    border-radius: 7px;
    text-align: center;

    span.icon-text {
        font-family: $second-font;
    }
}

#close-more-info {
    position: fixed;
    top: 15px;
    right: 15px;
    background: rgba($white,0.1);
    border: none;
    padding: 0;
    color: $peace;
    font-size: 1em;
    width: 2.5em;
    height: 2.5em;
    border-radius: 7px;
    text-align: center;
    line-height: 2.5em;

    &:hover {
        background: rgba($white,1);
        color: $black;
    }

    &.hide-close {
        right: -40px;
    }
}

.mCSB_scrollTools {
    /* Scrollbar */
    position: absolute;
    width: 5px;
    height: auto;
    left: auto;
    top: 0;
    right: -5px;
    bottom: 0;
    z-index: 1;
    transition:all  0.5s cubic-bezier(0.7, 0, 0.3, 1);

    .mCSB_draggerRail {
        width: 5px;
        height: 100%;
        margin: 0;
        @include border-radius(0);
        background-color: rgba($black, 0.8);
        filter: "alpha(opacity=40)";
        -ms-filter: "alpha(opacity=40)";
    }

    .mCSB_dragger .mCSB_dragger_bar {
        /* the dragger element */
        position: relative;
        width: 5px;
        height: 100%;
        margin: 0 auto;
        @include border-radius(0);
        text-align: center;
    }

    .mCSB_dragger .mCSB_dragger_bar {
        background-color: rgba($peace, 1);
    }
}

.mCSB_scrollTools-left {
    right: 50% !important;
}

/* ------------------------------------- */
/* 4. Newsletter ....................... */
/* ------------------------------------- */

.dialog,
.dialog__overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dialog {
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.dialog__overlay {
    position: absolute;
    z-index: 1;
    background: rgba($black, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
}

.dialog--open .dialog__overlay {
    opacity: 1;
    pointer-events: auto;
}

.dialog__content {
    width: 50%;
    max-width: 500px;
    min-width: 290px;
    background: transparent;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 5;
    opacity: 0;
    overflow: hidden;
    background: url(../img/background-newsletter.jpg) center;
    background-size: cover;
    // background: $ebony-clay;
    border: 10px solid $black;
    border-radius: 7px;

    &::before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        border: 1px solid $magical_pink;
        background: rgba($black, 0.8);
    }
}

.dialog--open .dialog__content {
    pointer-events: auto;
}

.dialog {
    .close-newsletter {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba($white,0.1);
        border: none;
        padding: 0;
        color: $peace;
        font-size: 1em;
        width: 2.5em;
        height: 2.5em;
        border-radius: 7px;
        text-align: center;
        line-height: 2.5em;

        &:hover {
            background: rgba($white,1);
            color: $black;
        }
    }

    .dialog-inner {
        padding: 90px 70px;
        overflow: hidden;

        &::before {
            content: " ";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        h4 {
            color: $white;
            font-size: 40px;
            font-family: $second-font;
            font-weight: 700;
        }

        p {
            color: $athens-gray;
            font-size: 16px;
        }
    }
}

#subscribe {
    p {
        font-weight: 400;
    }

    #notifyMe {
        max-width: 450px;
        margin: auto;
        margin-top: 2em;

        ::placeholder {
            color: $peace !important;
            font-weight: normal !important;
        }

        .form-group {
            margin-bottom: 1em;

            .fa {
                color: $peace;
                position: absolute;
                text-align: center;
                top: 15px;
                left: 15px;
            }

            .form-control {
                background: lighten($peace, 28.5%);
                border: none;
                border-radius: 7px;
                box-shadow: none;
                font-weight: bold;
                outline: medium none;
                padding: 1.8em 3em 1.8em 0.8em;
                width: 100%;
                color: $black;
                transition:all  0.3s cubic-bezier(0, 0, 0.58, 1);
                text-align: center;

                &:hover, &:focus {
                    box-shadow: none;
                }
            }

            button.submit {
                padding: 1.5em 3em;
                font-size: 1em;
                display: block;
                margin: 20px auto 0;
                background: $magical_pink;
                color: $white;
                border-radius: 7px;
                font-weight: 700;
                width: auto;
                line-height: 10px;
                text-transform: uppercase;
                letter-spacing: 0.1em;

                &:hover {
                    background: darken($magical_pink, 5%);
                    color: $white;
                }
            }
        }
    }

    .block-message {
        min-height: 50px;
        position: absolute;
        bottom: -100px;
        width: 100%;
        left: 0;
        padding: 15px;
        background: transparent;
        transition:all  0.3s cubic-bezier(0, 0, 0.58, 1);

        &.show-block-error {
            bottom: 0;
            background: $torch-red;
        }

        &.show-block-valid {
            bottom: 0;
            background: $caribbean-green;
        }
    }

    p.notify-valid {
        color: $white;
        text-transform: none;
        font-size: 16px;
        letter-spacing: 0;
        font-weight: 600;
    }
}

.dialog__overlay {
    transition:all  0.3s cubic-bezier(0, 0, 0.58, 1);
}

.dialog.dialog--open .dialog__content,
.dialog.dialog--close .dialog__content {
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

.dialog.dialog--open .dialog__content {
    animation-name: anim-open;
}

.dialog.dialog--close .dialog__content {
    animation-name: anim-close;
}

@keyframes anim-open {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


@keyframes anim-close {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    100% {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }
}


/* ------------------------------------- */
/* 5. Contact .......................... */
/* ------------------------------------- */

.info-contact {
    margin: 0;
    margin-bottom: 30px;

    .item-map {
        padding: 0;

        &:first-child {
            padding-left: 15px;
        }

        &:last-child {
            padding-right: 15px;
        }

        .contact-item {
            padding: 15px 0;
            font-size: 14px;
            text-align: left;

            i {
                color: $peace;
                font-size: 3em;
                margin-bottom: 10px;
            }

            a {
                font-weight: 600;
                color: $peace;

                &:hover {
                    color: $magical_pink;
                }
            }
        }
    }
}

#contact-form {
    margin-top: 40px;
    max-width: 90%;

    ::placeholder {
        color: $peace !important;
        font-weight: normal !important;
    }

    .form-control {
        background: lighten($peace, 28.5%);
        border: none;
        border-radius: 7px;
        box-shadow: none;
        font-weight: bold;
        outline: medium none;
        padding: 1.8em 3em 1.8em 0.8em;
        width: 100%;
        color: $black;
        transition:all  0.3s cubic-bezier(0, 0, 0.58, 1);
        text-align: left;

        &:hover, &:focus {
            box-shadow: none;
        }
    }

    textarea.form-control {
        min-height: 150px;
        padding-top: 1em;
    }

    button#valid-form {
        font-weight: 400;
        padding: 1.5em 3em;
        font-size: 1em;
        display: block;
        margin: 0;
        background: $magical_pink;
        color: $white;
        border-radius: 7px;
        font-weight: 700;
        width: auto;
        line-height: 10px;
        text-transform: uppercase;
        letter-spacing: 0.1em;

        &:hover {
            background: darken($magical_pink, 5%);
            color: $white;
        }
    }
}

#block-answer {
    min-height: 60px;
    margin-top: 1.5em;
    text-align: left;
    color: $peace;
}

.success-message, .error-message {
    color: $peace;

    p {
        color: $peace !important;
    }

    .fa-check {
        color: $green-alert;
    }
}

.error-message {
    .fa-times {
        color: $torch-red;
    }
}

/* ------------------------------------- */
/* 6. Social Icons ..................... */
/* ------------------------------------- */

.social-icons {
    position: absolute;
    left: 10%;
    bottom: 5%;
    margin-left: -22px;
    margin-bottom: -22px;
    display: block;
    z-index: 9;
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    transition:all  0.7s cubic-bezier(0.42, 0, 0.58, 1);

    i {
        color: $white;
        transition:all  0.3s cubic-bezier(0, 0, 0.58, 1);
    }

    a {
        color: rgba($white, 1);
        width: 50px;
        line-height: 50px;
        letter-spacing: 0;
        background: transparent;
        font-size: 1em;
        font-weight: 300;
        height: 50px;
        display: inline-block;
        text-align: center;
        float: left;
        margin-right: 2px;
        border: none;
        transition:all  0.3s cubic-bezier(0, 0, 0.58, 1);

        &:hover {
            color: rgba($magical_pink, 1);
            background: transparent;

            i {
                color: rgba($magical_pink, 1);
                transform: scale(1.2);
            }
        }
    }
}

/* ------------------------------------- */
/* 7. Footer/Copyright ................. */
/* ------------------------------------- */

footer {
    padding: 10px 0;
    background: transparent;
    text-align: center;

    p {
        font-size: 11px;
        font-weight: 100;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: $raven;
    }
}

/* ------------------------------------- */
/* GALLERY PHOTOS ...................... */
/* ------------------------------------- */

.pswp__bg {
    background: $black;
}

.pswp__caption__center .border {
    display: none;
}

.pswp__caption h4 {
    font-family: $second-font;
    margin-bottom: 10px !important;
}

/* ------------------------------------- */
/* 8. Media Queries .................... */
/* ------------------------------------- */

/* Large Devices, Wide Screens */
@include desktop {}


/* Notebook devices */
@include notebook {}


/* Medium Devices, Desktops */
@include medium {
    .overlay {
        left: 0;
        width: 100%;
        height: 100%;

        &.skew-part {
            @include skew(0, 0);
        }
    }

    #container {
        height: 100%;
        position: absolute;
        width: 100%;
        left: 0;
    }

    #stars, #stars2, #stars3 {
        margin-left: 0 !important;
    }

    .brand-logo {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 25px 0;
    }

    .light-btn {
        padding: 0.7em 0;
        margin-right: 0;
        float: none;
        margin: 0 auto;
        margin-bottom: 15px;
        max-width: 50%;
    }

    .action-btn {
        padding: 0.7em 0;
        float: none;
        margin: 0 auto;
        max-width: 50%;
    }

    #left-side {
        position: relative;
        width: 100%;
        height: auto;
        padding: 100px 0 150px;

        .content {
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            top: auto;
            text-align: center;
        }
    }

    .social-icons {
        left: 0;
        bottom: 0;
        margin-left: 0;
        margin-bottom: 0;
    }

    #right-side {
        position: relative;
        transform: translate3d(0, 0, 0);
        top: 0;
        width: 100%;

        &.hide-right {
            transform: translate3d(0, 0, 0);
        }
    }

    #close-more-info {
        display: none;
    }

    .mCSB_scrollTools {
        right: 0;
    }

    .mCSB_scrollTools-left {
        right: 0 !important;
    }         

    #right-side .content .photo-line figure {
        margin-bottom: 1px !important;
    }
}


/* Small Devices, Tablets */
@include tablet {

    h1.text-intro {
        font-size: 55px;
        line-height: 1.1em;
    }

    .light-btn {
        max-width: 70%;
        min-width: 60%;
    }

    .action-btn {
        max-width: 70%;
        min-width: 60%;
    }

    .photo-line {
        figure {
            padding: 0;
            margin: 0 0 20px !important;
            width: 100% !important;
            
        }
    }

    .info-contact {
        .item-map {
            &:first-child {
                padding-left: 0;
            }

            &:last-child {
                padding-right: 0;
            }
        }
    }

    .dialog__content {
        width: 80%;
        max-width: 80%;
        min-width: 75%;
    }

    .dialog {
        .dialog-inner {
            padding: 40px 20px 90px;
            overflow: hidden;
        }
    }

    #contact-form {
        max-width: 100%;
    }
}


/* Extra Small Devices, Phones */
@include phone {
    #left-side {
        padding: 50px 0 100px;

        .content {
            padding: 0 3%;
        }

        &.minimal-phone {
            height: 100vh;
        }
    }

    h1.text-intro {
        font-size: 30px;
    }

    h2.text-intro {
        font-size: 18px;
    }

    .light-btn {
        max-width: 80%;
        min-width: 70%;
    }

    .action-btn {
        max-width: 80%;
        min-width: 70%;
    }

    .dialog__content {
        width: 95%;
        max-width: 95%;
        min-width: 75%;
    }

    .dialog {
        .dialog-inner {
            padding: 70px 20px 50px;

            h4 {
                font-size: 25px;
                margin-bottom: 20px;
            }
        }
    }

    #subscribe {
        .block-message {
            padding: 5px 2px;
        }

        p.notify-valid {
            font-size: 12px;
        }
    }

    #right-side .content .get_now {
        padding-top: 100px;
    }

    #right-side .content .photo-line figure figcaption .photo-details {
        padding: 1em;
    }

    #right-side .content .photo-line figure figcaption .photo-details h4 {
        font-size: 1.5em;
    }
}


/* Only for tablet in landscape mode */
@include landscape-tablet {}


/* Only for phone in landscape mode */
@include landscape-phone {
    #left-side {
        padding: 50px 0 100px;
    }

    h1.text-intro {
        font-size: 30px;
    }

    h2.text-intro {
        font-size: 18px;
    }

    .dialog__content {
        width: 100%;
        max-width: 100%;
        min-width: 75%;
    }

    .dialog {

        .dialog-inner {
            padding: 40px 20px 50px;

            h4 {
                font-size: 25px;
                margin-bottom: 5px;
            }
        }
    }

    #subscribe {
        #notifyMe {
            max-width: 90%;
            margin-top: 10px;

            .form-group {
                .form-control {
                    width: 60%;
                    margin: 0;
                    margin-right: 5%;
                    float: left;
                }

                button.submit {
                    width: 35%;
                    margin: 0;
                    float: left;
                }
            }
        }

        .block-message {
            padding: 5px 2px;
        }

        p.notify-valid {
            font-size: 12px;
        }
    }

    #right-side .content .get_now {
        padding-top: 100px;
    }
}