/*Modal start*/
.mobile-modal {
    display: none;
}

.desktop-modal {
    position: fixed;
    background: #fff;
    z-index: 31;
    width: 70%;
    border-radius: 0;
    background: #f5f5f5;
    max-width: 100%;
    left: 12.5%;
    right: 12.5%;
    line-height: 0;
    text-align: center;
    bottom: 1%;
    padding: 15px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 3px 6px 8px #444
}

    .desktop-modal h1 {
        text-transform: uppercase;
        border-bottom: 1px solid;
        padding-bottom: .5em
    }

    .desktop-modal h4 {
        color: #444;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: normal;
        line-height: 1.5;
        padding-top: 5px;
        margin: 0 0 14px;
        text-transform: uppercase;
        margin-bottom: 15px;
    }


    .desktop-modal .close-btn {
        cursor: pointer;
        right: 15px;
        top: 15px;
        z-index: 10;
    }

    .desktop-modal .btn-modal {
        padding: 20px 42px;
        height: auto;
        text-transform: uppercase;
        margin: 10px 0px;
        line-height: 1;
        width: 80%;
        border-color: #afced0;
        display: block;
        font-size: 16px;
        text-align: center;
        font-weight: 400;
    }


@media (max-width:438px) {
    .desktop-modal {
        display: none;
    }

    .mobile-modal {
        display: inline-block;
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        font-size: 18px;
        right: 0;
        background-color: rgba(42,39,39,.85);
        text-align: center;
        z-index: 10
    }

        .mobile-modal h4 {
            font-size: 16px;
            margin-bottom: 10px;
        }
}


/*Leave a message*/
.message-modal { 
    color: #fff;
    padding: 5px 5px;
    margin: 0;
    border: none;
    cursor: pointer;
    width: auto;
    z-index: 6001;
    position: fixed;
    right: 15px;
    bottom: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .message-modal:hover {
        background-color: #999;
    }


.minimize {
    position: relative;
    top: 5px;
    right: 1.5%;
    float: right;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.message-modal {
    font-size: 16px;
}



.message-block {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#contactModal h4 {
    color: white;
    font-size: 20px;
}

/*

#modalForm input[type=text], #modalForm input[type=email], #modalForm textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0px;
}
*/
.grecaptcha-badge {
    visibility: hidden;
}

form#modalForm {
    position: absolute;
    top: 10%;
    left: 25%;
    width: 50%;
}

@media (max-width: 767px) {
    .message-modal {
        background-color: black;
        color: #fff;
        padding: 5px 0px 0px 5px;
        margin: 0;
        border: none;
        text-align: center;
        cursor: pointer;
        width: 90%;
        z-index: 6001;
        position: fixed;
        right: 5%;
        bottom: 0px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
}

@media (max-width: 768px) {
    .message-modal {
        font-size: 18px;
    }

    .form-mobile {
        overflow: scroll;
        z-index: 999999999999;
        position: absolute;
        width: 100%;
        height: 80vh;
    }

    form#modalForm {
        left: 2.5% !important;
        right: 2.5% !important;
        width: 95%;
        height: 85vh;
        position: fixed !important;
        top: 35px !important;
    }

    .message-block {
        display: none;
        position: fixed;
        z-index: 1; 
        z-index: 9999;
    }
}

/* ----------------------------------------------------------------
	Canvas: Photographer
-----------------------------------------------------------------*/

:root {
    --darkcolor: #050505;
}

#header {
    z-index: 399;
}

    body.dark,
    .dark .slider-element,
    .dark #content,
    #footer.dark,
    .dark .css3-spinner,
    #header.dark.sticky-header.transparent-header #header-wrap:not(.not-dark) {
        background-color: var(--darkcolor);
    }

.slider-element h2 {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
}

.button.button-change.button-color {
    background-color: #FFF !important;
    text-shadow: none;
}

.button.button-change {
    box-shadow: 0px 28px 32px -22px rgba(0,0,0,0.75);
}

.dark.button.button-change,
.dark.section {
    background-color: var(--darkcolor) !important;
}

.gradient-border {
    --borderWidth: 3px;
    background: #1D1F20;
    position: relative;
    border-radius: 0;
}

    .gradient-border::after {
        content: '';
        position: absolute;
        top: calc(-1 * var(--borderWidth));
        left: calc(-1 * var(--borderWidth));
        height: calc(100% + var(--borderWidth) * 2);
        width: calc(100% + var(--borderWidth) * 2);
        background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
        border-radius: var(--borderWidth);
        z-index: -1;
        animation: animatedgradient 3s ease alternate infinite;
        background-size: 300% 300%;
    }

@keyframes animatedgradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (min-width: 992px) {

    .dark #header.transparent-header,
    .dark #header.dark.sticky-header.transparent-header #header-wrap:not(.not-dark),
    .dark .border-bottom,
    .dark.border-bottom {
        border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
    }

        .dark #header.transparent-header .primary-menu ul:last-child {
            border-left: 1px solid rgba(255, 255, 255, .15);
        }

    .slider-element h2 {
        font-size: 4.8rem;
        line-height: 1.2;
        letter-spacing: -4px;
    }
}

/* img-hover-wraps */
.img-hover-wrap {
    -webkit-transition: transform .3s ease;
    -o-transition: transform .3s ease;
    transition: transform .3s ease;
    -moz-transform-style: flat !important;
    -webkit-backface-visibility: hidden;
}

    .img-hover-wrap:hover {
        -webkit-transform: scale(1.06);
        -ms-transform: scale(1.06);
        -o-transform: scale(1.06);
        transform: scale(1.06);
        z-index: 2;
    }

.img-hover-card > a::after {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
    -webkit-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
}

.img-hover-wrap:hover .img-hover-card > a::after {
    background-color: rgba(0, 0, 0, 0.6);
}

.img-hover-card {
    position: relative;
    display: block;
    will-change: transform;
    transition: all .3s ease;
    box-shadow: 0 10px 40px transparent;
}

    .img-hover-card a {
        width: 100%;
        max-width: 100%;
        display: block;
        z-index: 99;
    }

    .img-hover-card.hover-in {
        transition: -webkit-transform .2s ease-out;
        transition: transform .2s ease-out;
        transition: transform .2s ease-out, -webkit-transform .2s ease-out;
    }

    .img-hover-card.hover-3d {
        z-index: 2;
    }

    .img-hover-card.hover-out {
        transition: -webkit-transform .2s ease-in;
        transition: transform .2s ease-in;
        transition: transform .2s ease-in, -webkit-transform .2s ease-in;
    }

.img-hover-wrap:hover .img-hover-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.img-hover-wrap .img-hover-detail {
    position: absolute;
    top: auto;
    left: 40px;
    bottom: 40px;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    -webkit-transform: scale(1) translateY(40px) translateZ(50px);
    -ms-transform: scale(1) translateY(30px) translateZ(50px);
    -o-transform: scale(1) translateY(30px) translateZ(50px);
    transform: scale(1) translateY(30px) translateZ(50px);
    -webkit-transition: transform .2s ease;
    -o-transition: transform .2s ease;
    transition: transform .2s ease;
}

.img-hover-wrap:hover .img-hover-detail {
    opacity: 1;
    -webkit-transform: scale(1.06) translateY(-5px) translateZ(50px);
    -ms-transform: scale(1.06) translateY(-5px) translateZ(50px);
    -o-transform: scale(1.06) translateY(-5px) translateZ(50px);
    transform: scale(1.06) translateY(-5px) translateZ(50px);
}

.img-hover-wrap .img-hover-title {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    z-index: 9;
}

.img-hover-wrap .img-link {
    opacity: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #FFF;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 11px;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.img-hover-wrap:hover .img-link {
    opacity: 1;
}

.img-hover-detail a {
    color: #FFF;
}

.testimonials-carousel {
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.dark .testimonials-carousel {
    border-left-color: rgba(255, 255, 255, 0.1);
}


.testimonials-carousel::before {
    content: '"';
    position: absolute;
    top: -17px;
    left: 2rem;
    font-size: 70px;
    color: #DDD;
    z-index: -1;
    font-family: "Segoe Print", "Times New Roman", Verdana;
}

.dark .testimonials-carousel::before {
    color: #333;
}

.testimonials-carousel .testi-content p {
    font-weight: 300;
    color: #888;
    font-style: normal;
}

.testimonials-carousel .owl-item {
    transform: translateX(-40px);
    opacity: 0;
    transition: transform .4s, opacity .3s;
}

    .testimonials-carousel .owl-item.active {
        transform: translateX(0);
        opacity: 1;
    }

@media (max-width: 991px) {
    #header.dark.transparent-header, #header.dark.semi-transparent {
        background-color: var(--darkcolor);
    }

    .primary-menu ul > li > a, .primary-menu.style-2 > div > ul > li > a {
        padding: 10px !important;
        border-radius: 0 !important;
        margin-right: inherit !important;
    }
}

.css3-spinner > div {
    margin-top: -36px;
    margin-left: -32px;
    width: 62px;
    height: 72px;
    background-color: transparent !important;
    -webkit-animation: none;
    animation: none;
}

#gotoTop {
    border-radius: 50%
}

.dark-mode {
    position: fixed;
    top: auto;
    right: 11px;
    bottom: 80px;
    text-align: center;
    margin: 0 auto;
    z-index: 299;
}

    .dark-mode i {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 16px;
        color: #FFF !important;
        background-color: #111;
        border-radius: 50%;
        margin: 0 auto;
    }

    .dark-mode span {
        display: block;
        opacity: 0;
        color: #000;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        margin: 0;
        -webkit-transform: translateY(10px);
        -ms-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-transition: transform .3s, opacity .3s;
        -o-transition: transform .3s, opacity .3s;
        transition: transform .3s, opacity .3s;
        -webkit-backface-visibility: hidden;
    }

    .dark-mode:hover span {
        opacity: 1;
        margin-bottom: 7px;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

.dark .dark-mode i {
    color: #111 !important;
    background-color: #FFF;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.dark .dark-mode span {
    color: #FFF;
}