/*
Theme Name: Atlas
Theme URI: https://niteothemes.com/cmp-coming-soon-maintenance/?theme=atlas
Author: NiteoThemes
Author URI: https://niteothemes.com/
Version: 1.0

Atlas CMP Theme, Copyright 2018 NiteoThemes
Atlas CMP Theme is distributed under the terms of the GNU GPL

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl.html

All used scripts are distributed under the terms of the GNU GPL v2 or later or under MIT license. 
Bundled images are distributed under the terms of the GNU GPL v2 or later or under MIT license or Unsplash license.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normaalize.css/
*/

body {
    margin: 0;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loaded {
    height: auto;
}

.delay-small {
    -webkit-animation-delay: 500ms;
    animation-delay: 500ms;
}

.delay-big {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 2.5em;
    margin-bottom: .5em;
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

#background-wrapper, #background-image, .background-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.video-banner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

#background-wrapper {
    overflow: hidden;
}

#background-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#background-image {
    opacity: 0;
    transition: opacity 400ms;
}

#background-image.loaded {
    opacity: 1;
}

.video-banner iframe, .video-banner video {
    transition: opacity 1500ms;
}

#background-image.pattern {
    background-repeat: repeat;
    background-size: initial;
}

.content-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex;
    margin-bottom: 3em;
    max-width: 1680px;
    margin: 0 auto;
    padding: 50px;
    width: 100%;
    box-sizing: border-box;
}

.header-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-column:first-of-type {
    justify-content: flex-start;
}

.header-column:last-of-type {
    justify-content: flex-end;
}

.logo-wrapper {
    margin: 0 auto;
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 68px;
}

.text-logo {
    font-size: 2em;
    margin-bottom: 0;
}

.social-list {
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-right: 20px;
}

.social-list li {
    list-style: none;
    display: inline-block;
    padding: 0 10px;
    text-align: center;
}

.social-list a {
    display: block;
    background: transparent;
}

.social-list i {
    font-size: 1.5em;
    position: relative;
    vertical-align: middle;
    transform: translateY(0);
    transition: transform 300ms ease-in-out;
}

.social-list i:hover {
    transform: translateY(-3px);
}

.social-list i::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    position: absolute;
    bottom: -8px;
    background-color: #fff;
    transition: width 300ms ease-in-out;
}

.social-list i:hover::after {
    width: 100%;
}

.content {
    display: flex;
    width: 100%;
    flex-direction: column;
    flex: 1;
    margin-bottom: auto;
    align-items: center;
    justify-content: center;
}

.content>* {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content>.gallery.slick-slider {
    max-width: 100%;
}

.cmp-title {
    text-align: center;
    line-height: 1;
}

#counter {
    font-size: 1.5em;
    text-align: center;
}

.counter-number {
    font-size: 1.5em;
}

.counter-box, .counter-inner, .counter-label {
    display: inline-block;
}

.counter-box {
    margin-right: 5px;
}

footer {
    max-width: 1680px;
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
    text-align: center;
}

.youtube {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 20px;
}

.youtube img {
    width: 100%;
    top: 0;
    left: 0;
}

.play-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 98px;
    transform: translateY(-50%);
}

.youtube img {
    cursor: pointer;
}

.youtube img, .youtube iframe {
    position: absolute;
}

.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.form-container {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    overflow: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #696969;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2;
    transition: all 300ms ease-in-out;
}

.form-container.in-focus {
    visibility: visible;
    opacity: 1;
}

.form-wrapper {
    position: absolute;
    display: flex;
    width: auto;
    max-width: 900px;
    min-height: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -75%);
    -ms-transform: translate(0, -75%);
    -o-transform: translate(0, -75%);
    transform: translate(0, -75%);
    color: white;
    background: rgba(0, 0, 0, 0.92)
}

.form-wrapper.no-img {
    max-width: 600px;
}

.subs-img {
    width: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.form-content {
    padding: 50px;
    width: 50%;
    display: flex;
    flex-direction: column;
    color: black;
    background: white;
}

.no-img .form-content {
    width: 100%
}

.in-focus .form-wrapper {
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.close {
    cursor: pointer;
    font-size: 1.5em;
    position: absolute;
    right: 20px;
    top: 20px;
}

.form-title {
    text-align: center;
    margin-top: auto;
}

.cmp-subscribe {
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
}

.cmp-form-inputs {
    order: 1;
}

input {
    padding: 10px 0 10px 10px;
    -webkit-appearance: none;
}

.cmp-subscribe input[type="submit"] {
    padding: 10px 0;
}

.cmp-subscribe input[type="email"] {
    border: 1px solid black;
    min-width: 100%;
    padding-left: 0;
    background: transparent;
    text-indent: 10px;
    font-size: 1em;
}

.cmp-subscribe input[type="submit"] {
    border: 1px solid black;
    min-width: calc(100% + 2px);
    background: black;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

.subscribe-button {
    display: inline-block;
    padding: 20px 40px;
    cursor: pointer;
    font-size: 1.1em;
}

#subscribe-response {
    margin-top: .5em;
}

/* wpcf7-form */

/* contact form 7 */

.wpcf7 .screen-reader-response, .wpcf7 .wpcf7-validation-errors {
    display: none!important;
}

.wpcf7 .wpcf7-form-control-wrap {
    position: relative;
}

.wpcf7-form .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -27px;
    left: 0px;
    text-align: left;
    font-size: 0.7em;
}

div.wpcf7-mail-sent-ng {
    border: none;
}

.wpcf7 .wpcf7-response-output {
    display: block!important;
    border: none;
    margin: 0;
    padding: 0;
}

/*--------------------------------------------------------------
  16.1 Galleries
  --------------------------------------------------------------*/

[id^="gallery-"] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

[id^="gallery-"] img {
    border: none !important;
    max-width: 100%;
    height: auto;
}

[id^="gallery-"] .gallery-item {
    margin: 0;
    padding-right: 10px;
    padding-bottom: 10px;
}

.gallery-columns-1 .gallery-item {
    flex: 1 0 100%;
    -webkit-flex: 1 0 100%;
    -ms-flex: 1 0 100%;
}

.gallery-columns-2 .gallery-item, .column.x50 {
    flex: 1 0 calc(50% - 10px);
    -webkit-flex: 1 0 calc(50% - 10px);
    -ms-flex: 1 0 47%;
}

.gallery-columns-3 .gallery-item, .column.x33 {
    flex: 1 0 calc(33.3333% - 10px);
    -webkit-flex: 1 0 calc(33.3333% - 10px);
    -ms-flex: 1 0 30%;
}

.gallery-columns-4 .gallery-item, .column.x25 {
    flex: 1 0 25%;
    -webkit-flex: 1 0 25%;
    -ms-flex: 1 0 21%;
}

.slick-slider .slick-slide img {
    height: 45vh;
    width: auto
}

.slick-slider .nav {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1120px;
    left: 0;
    right: 0;
    text-align: right;
    bottom: -30px;
}

.slick-slider .nav i {
    margin: 0 10px;
    cursor: pointer;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 1024px) {
    body {
        font-size: 16px!important;
    }
    .logo-wrapper {
        margin-bottom: 2em;
    }
    .logo-wrapper img {
        max-width: 60%;
        max-height: initial;
    }
    .header, .header-column, .social-list {
        display: block;
        text-align: center;
    }
    .social-list {
        margin: 1em 0;
        margin-bottom: 3em;
    }
    .form-wrapper {
        flex-direction: column;
    }
    .subs-img, .form-content {
        width: 100%;
        box-sizing: border-box;
    }
    .subs-img {
        height: 250px;
    }
    .content {
        padding: 0 20px;
        box-sizing: border-box;
    }
    .form-content {
        flex: 1;
    }
    .slick-slider .slick-slide img {
        height: initial;
    }
    .slick-slider .nav {
        position: relative;
        text-align: center;
        bottom: initial;
    }
    #counter {
        text-align: center;
        font-size: 1em;
    }
}

@media only screen and (max-width: 680px) {
    body {
        font-size: 15px!important;
    }
}

@media only screen and (max-width: 560px) {}

@media only screen and (max-width: 460px) {
    .cmp-subscribe input[type="email"] {
        width: 100%;
        margin-bottom: 20px;
    }
    .cmp-subscribe input[type="submit"] {
        margin: 0;
        width: 100%;
    }
}