/*
Theme Name: Keysolution Child Theme
Description: This is a child theme for Flatsome Theme
Author: Keysolutions
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* general customization */

.html .social-icons {
    font-size: 1.4em;
}

#footer .ux-menu-link__link {
    font-size: .9em;
    color: #e0ceaa;
}

.container {
    padding-left: 24px;
    padding-right: 24px;
}

.button {
    margin-bottom: 0;
}

.lightbox-content {
    border-radius: .4em;
}

.to-front {
    position: relative;
    z-index: 10;
}

/* END - - - general customization */


/* basic customization */

.header-main li.html.custom {
    display: block;
}

.off-canvas-center .mfp-content {
    padding-top: 0;
}

.margin-0, .margin-0 > * {
    margin: 0;
    padding-bottom: 0;
}

.light, .light > * {
    font-weight: 300 !important;
}

.uppercase, .uppercase * {
    line-height: .9;
    letter-spacing: .125em;
}

.has-dropdown .icon-angle-down {
    font-size: .8em;
}

.wp-video {
    margin-bottom: 2em;
}

/* END - - - basic customization */


/* CF7 customization */

form {
    margin: 0;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 0;
}

.wpcf7 #responsive-form {
    margin: 0 auto;
    width: 100%;
}

.wpcf7 .form-row {
    width: 100%;
    display: flex;
}

.wpcf7 .column-half, .wpcf7 .column-full {
    position: relative;
    padding: 0.25rem;
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 .clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent;
    color: #e46060;
    font-size: .8em;
}

.wpcf7 .wpcf7-not-valid-tip:after {
    content: none;
}

.wpcf7 input[type=email], .wpcf7 input[type=date], .wpcf7 input[type=search], .wpcf7 input[type=number], .wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 input[type=password], .wpcf7 textarea, .wpcf7 select, .wpcf7 .select-resize-ghost, .wpcf7 .select2-container .select2-choice, .wpcf7 .select2-container .select2-selection {
    position: relative;
    font-size: 1.2em;
    border: 0;
    border-bottom: 1px solid #e0ceaa;
    background-color: transparent;
    font-weight: normal;
    box-shadow: none;
}

.section.dark .wpcf7 input, .section.dark .wpcf7 textarea {
    color: #fff;
}

.wpcf7 input[type=email]:focus, .wpcf7 input[type=search]:focus, .wpcf7 input[type=number]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=text]:focus, .wpcf7 input[type=password]:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
    box-shadow: none;
    border-bottom: 1px solid #e0ceaa;
}

.wpcf7 textarea {
    min-height: 90px;
}

.wpcf7 .wpcf7-not-valid {
    border-color: #e46060;
}

.wpcf7 label {
    position: relative;
    font-weight: normal;
}

.wpcf7 label span.input-label {
    font-size: .8em;
}

.wpcf7-acceptance .wpcf7-list-item > label {
    display: flex;
}

.wpcf7-acceptance .wpcf7-list-item > label a {
    text-decoration: underline;
}

.wpcf7-submit {
    color: #fff !important;
}

.wpcf7 .custom-newsletter input.wpcf7-email {
    color: #fff;
    font-size: .8rem;
    padding: .8rem;
    height: 2.4rem;
    margin-bottom: 0;
}

.wpcf7 .custom-newsletter {
    display: flex;
    width: 100%;
    margin-bottom: .2em !important;
}

.wpcf7 .custom-newsletter ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #e0ceaa;
}

.wpcf7 label {
    font-size: .8em;
}

.wpcf7 .custom-newsletter .wpcf7-form-control-wrap {
    width: 100%;
}

.custom-newsletter .wpcf7-submit {
    margin-right: 0;
    margin-bottom: 0;
}

.wpcf7 .wpcf7-spinner {
    display: none;
}

.custom-newsletter input.wpcf7-submit {
    height: 2.4rem;
    background-color: #ff0a00;
}

/* END - - - CF7 customization */


/* Credits */

.credits {
    font-size: .8em;
    margin-top: .8em;
}

.credits a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.credits a img {
    max-height: 2em;
    margin: 0 0.2em;
}

.credits a:before, .credits a:after {
    content: "";
    position: absolute;
    display: block;
    background-image: url("../keysolutions/img/ks-logo.svg");
    height: 2em;
    width: 2em;
    background-size: 2em 2em;
    background-repeat: no-repeat;
}

.credits a:hover:before, .credits a:hover:after {
    -webkit-animation: glitchy 0.3s ease 1;
    animation: glitchy 0.3s ease 1;
    animation-iteration-count: infinite;
}

@-webkit-keyframes glitchy {
    0% {
        transform: translate(-2px, 2px);
    }
    25% {
        transform: translate(-2px, -2px);
    }
    50% {
        transform: translate(2px, 2px);
    }
    75% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(-2px, 2px);
    }
}
@keyframes glitchy {
    0% {
        transform: translate(-2px, 2px);
    }
    25% {
        transform: translate(-2px, -2px);
    }
    50% {
        transform: translate(2px, 2px);
    }
    75% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(-2px, 2px);
    }
}
/* END - - - Credits */


@media only screen and (min-width: 48em) {
    /*************** ADD DESKTOP ONLY CSS HERE  ***************/

    /* CF7 customization */

    .wpcf7 .column-half {
        width: 50%;
    }

    /* END - - - CF7 customization */

}