/*
Theme Name: Frame
Theme URI: https://niteothemes.com/cmp-coming-soon-maintenance/?theme=frame
Author: NiteoThemes
Author URI: https://niteothemes.com
Version: 3.2

Frame CMP Theme, Copyright 2018 NiteoThemes
Frame 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/
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}

article {
    margin: 0;
}

article:last-of-type {
    margin-bottom: 0;
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden], template {
    display: none;
}

a {
    background-color: transparent;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

a:active, a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
    width: auto!important;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

code {
    background-color: #BEFFE9;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    box-shadow: inset 0 0 0 0 !important;
    -webkit-box-shadow: inset 0 0 0 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
}

textarea {
    text-indent: 5px;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    text-indent: 0;
}

button[disabled], html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
    text-indent: 5px;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    padding: 5px;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0;
}

body {
    margin: 0;
    position: relative;
}

h1 {
    font-size: 2em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-size: 2em;
    margin-bottom: .3em;
}

h3, h4, h5, h6 {
    font-size: 1.3em;
}

#background-wrapper {
    position: relative;
    margin: 30px;
    padding-bottom: calc(15vh + 60px);
    min-height: calc(85vh - 120px);
}

.lang-switch-wrapper {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 100;
}

.logo-wrapper, .text-logo {
    text-align: center;
    height: calc(15vh + 60px);
}

.logo-wrapper img {
    max-width: calc(100% - 60px);
    margin: 30px;
    max-height: 15vh;
}

.text-logo {
    margin: 0;
    line-height: calc(15vh + 60px);
    font-size: 3em;
}

.inner-content {
    display: -moz-flex;
    display: -o-flex;
    display: flex;
    -moz-flex-direction: column;
    flex-direction: column;
    min-height: calc(70vh - 200px);
    width: 60%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.content.body {
    display: -moz-flex;
    display: -o-flex;
    display: flex;
    -moz-flex-direction: column;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    -webkit-flex-grow: 1;
    -webkit-flex-shrink: 0;
    -moz-flex-grow: 1;
    -moz-flex-shrink: 0;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
}

.content.social {
    webkit-flex-grow: 0;
    -moz-flex-grow: 0;
    flex-grow: 0;
    justify-content: flex-end;
    flex-direction: column;
}

.title {
    padding-top: 1em;
    margin-top: 0;
}

.inner-content p {
    width: 75%;
    margin: 0 auto;
    margin-top: 2em;
    margin-bottom: .5em;
    font-size: 1.2em;
}

#background-image, .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-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#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;
}

.social-list {
    display: inline-block;
    padding: 0;
    margin: 0;
    padding-bottom: 1em;
}

.social-list li {
    list-style: none;
    display: inline-block;
    padding: 0 2px;
}

.social-list a {
    display: block;
    height: 2em;
    width: 2em;
    line-height: 2em;
    background: transparent;
    transition: background 300ms linear;
}

.social-list i {
    font-size: 1em;
    transition: all 300ms linear;
}

.social-list a:hover i {
    -webkit-animation: spin 300ms linear;
    animation: spin 300ms linear;
    color: #fff;
}

.cmp-subscribe {
    width: 75%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 3em;
    margin-bottom: 1em;
    text-align: left;
}

.cmp-subscribe br {
    display: none;
}

.input-icon {
    position: relative;
}

.input-icon:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f003';
    position: absolute;
    line-height: 3em;
    padding-left: 10px;
}

.cmp-subscribe label {
    display: block;
    text-align: center;
    padding-bottom: 5px;
    font-size: .8em;
    opacity: .6;
}

.cmp-subscribe input:focus {
    border: 1px solid #ffffff;
}

.cmp-subscribe input {
    display: inline-block;
    line-height: 3em;
    height: 3em;
    box-sizing: border-box;
    vertical-align: middle;
    margin-bottom: 10px;
}

.cmp-subscribe input[type="email"], .cmp-subscribe input[type="text"] {
    width: calc(100% - 152px);
    background-color: #f8f8f8;
    text-indent: 15px;
    font-style: italic;
    border: 1px solid #dcdcdc;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.cmp-subscribe input[type="text"] {
    width: calc(100% - 2px);
}

.cmp-subscribe input[type="submit"] {
    width: 150px;
    padding: 0;
    margin-left: -6px;
    color: white;
    font-weight: 700;
    border: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    letter-spacing: 1px;
    cursor: pointer;
}

.cmp-subscribe input[type="email"].subscribe-input {
    text-indent: 35px;
}

.cmp-form-notes p {
    width: 100%;
    margin: 0.5em 0;
    font-size: 0.9em;
}

#counter {
    padding-top: 1.3em;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.counter-left, .counter-right {
    display: inline-block;
}

.counter-box {
    position: relative;
    display: inline-block;
    padding: 0 1em;
    width: 8em;
}

.counter-box p {
    margin-top: 0;
    position: relative;
    width: 100%;
    font-size: 1em;
}

.counter-box p:after {
    content: '';
    display: block;
    position: absolute;
    top: -5px;
    height: 2px;
    left: 20px;
    right: 20px;
}

.counter-box span {
    font-weight: 700;
    font-size: 85px;
}

.counter-divider {
    position: absolute;
    top: 0;
    right: -11px;
}

/* contact form 7 */

.wpcf7 .screen-reader-response, .wpcf7 .wpcf7-validation-errors {
    display: none;
}

.wpcf7 .wpcf7-form-control-wrap {
    position: relative;
}

.wpcf7-form .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -3em;
    left: 15px;
    right: -100px;
    text-align: left;
}

@-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: 1280px) {
    .counter-wrap span {
        font-size: 60px;
    }
    .counter-wrap {
        width: 6em;
    }
}

@media only screen and (max-width: 1024px) {
    body {
        font-size: 16px!important;
    }
    h1:not(.text-logo), h2, h3, h4, h5, h6, .text-logo-wrapper {
        font-size: 1.8em!important;
    }
    .text-logo {
        font-size: 1.6em;
        margin-top: 10%;
    }
    .logo-wrapper, .text-logo {
        height: initial;
        line-height: initial;
    }
    h2 {
        margin-top: 0;
    }
    .inner-content {
        width: 100%;
        background-color: transparent!important;
        border: none!important;
        margin: 0;
        min-height: auto;
    }
    #background-wrapper {
        display: flex;
        display: -moz-flex;
        display: -ms-flex;
        flex-direction: column;
        -moz-flex-direction: column;
        padding-bottom: 0;
        min-height: calc(100vh - 65px);
    }
    .inner-content {
        flex-grow: 1;
        -webkit-flex-grow: 1;
    }
    .inner-content p {
        margin-bottom: 1.5em;
    }
    .logo-wrapper img {
        margin-top: 60px;
    }
    .logo-wrapper {
        max-height: auto;
        max-height: initial;
    }
    .inner-content form {
        margin: 0 auto;
    }
    .content.social {
        flex-grow: 0;
        -webkit-flex-grow: 0;
    }
    .content.body {
        flex-grow: 2;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    #counter {
        padding-top: 0;
    }
    .content.subscribe {
        padding-bottom: 4em;
    }
}

@media only screen and (max-width: 620px) {
    #background-wrapper {
        margin: 0;
        min-height: 100vh;
        border: none!important;
    }
    .inner-content {
        padding-top: 0;
    }
    .content.social {
        padding-top: 5vh;
    }
    .text-logo {
        font-size: 1.4em;
    }
}

@media only screen and (max-width: 520px) {
    body {
        font-size: 15px!important;
    }
    h1:not(.text-logo), h2, h3, h4, h5, h6, .text-logo-wrapper {
        font-size: 1.5em!important;
    }
    .text-logo {
        margin-top: 10%;
    }
    .content.subscribe {
        padding-bottom: 0;
    }
    .counter-left, .counter-right {
        display: block;
    }
    .counter-divider.hidden {
        display: none;
    }
    .counter-wrap p {
        margin: 0!important;
    }
    #counter {
        padding: 2em 0;
    }
    .inner-content form {
        width: 85%;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .content.social {
        padding-top: 0;
    }
    .inner-content p {
        width: 100%;
        margin-top: .5em;
        font-size: 1em;
    }
    .social-list {
        padding: 0.5em 0;
    }
    .body-content {
        width: 85%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 460px) {
    .cmp-subscribe input[type="submit"], .cmp-subscribe input[type="email"] {
        display: block;
        width: 100%;
        margin: 0;
    }
    .cmp-subscribe input[type="submit"] {
        margin-top: 10px;
    }
}