/*
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 */

a.button {
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.edil-br.img, .edil-br > .col-inner {
    border-top-left-radius: 8rem;
    border-bottom-right-radius: 8rem;
    overflow: hidden;
}

.edil-deco:before {
    content: "";
    position: absolute;
    display: block;
    top: 20%;
    right: -2rem;
    background-image: url(./img/edil-disk.svg);
    width: 100px;
    height: 100px;
    z-index: 100;
} 

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

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

.button {
    margin-bottom: 0;
}

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

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

.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;
}

.gmap-embed p {
    margin-bottom: 0;
    line-height: 1;
}

.single-product .product-section > .row > .large-2 {
    display: none;
}

.single-product .product-section > .row > .large-10 {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
}

.wpbs-main-wrapper .wpbs-form-container {
    max-width: 100%;
}

#wpbs-woocommerce-payment-button a, #wpbs-form-submit-1 {
    background-color: #5a7981;
    color: #fff;
    text-transform: initial;
}

#wpbs-woocommerce-payment-button a:hover {
    background-color: #5a7981;
    color: #fff;
}

/* END - - - general customization */


/* Services */

.page-template-services #category-menu a span.bg-img {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: .4s ease;
}

.page-template-services #category-menu a:hover {
    background-color: #fff;
}

.page-template-services #category-menu a {
    padding: .6em 2em;
}

.page-template-services #category-menu a:hover span.bg-img {
    opacity: 1;
}

.projects-accordion .box-text {
    display: none;
}

.projects-accordion .slider {
    display: flex;
}

.projects-accordion .slider .flickity-button {
    bottom: auto;
    top: auto;
    margin-top: -1em;
    align-self: center
}

/* END - - - Services */


/* Home */

.home #header.transparent {
    mix-blend-mode: luminosity;
}

/* END - - - Home */


/* Projects */

.projects-accordion .lightbox-multi-gallery {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.projects-accordion .accordion-inner, .projects-accordion .accordion-inner > .row > .col {
    padding: 0;
}

.projects-accordion .accordion-inner > .row {
    max-width: 100%;
}

.projects-accordion .accordion-title:not(.active) h3 {
    color: #fff;
}

.projects-accordion .accordion-title {
    border-color: #fff;
}

.projects-accordion .accordion-title.active {
    color: #c7c8c9;
    border-color: #fff;
    background-color: #fff;
}

.projects-accordion .accordion-title.active + .accordion-inner {
    background-color: #fff;
}

.projects-accordion .accordion-title.active h3 {
    color: #0f5a71;
}

.projects-accordion .accordion-title {
    display: flex;
    position: relative;
    width: 100%;
    padding: .8em;
    height: 6em;
    margin: auto;
    overflow: hidden;
    z-index: 1;
}

.projects-accordion .accordion-title h3 {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    font-size: 3em;
    margin-bottom: 0;
}

.projects-accordion .accordion-title h3:after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    position: absolute;
    right: 1rem;
    transition: .4s ease;
}

.projects-accordion .accordion-title.active h3:after {
    transform: rotate(90deg);
}


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

    .projects-accordion .accordion-title h3 {
        font-size: 2em;
    }
}

/* END - - - Projects */


/* CF7 customization */

form {
    margin: 0;
}

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

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

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

.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;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 1em;
    border: 2px solid #00a0d2;
    text-align: center;
}

.cf7-repeater {
    padding: 0 !important;
}

.repeater-field-item {
    background-color: #fff;
    padding: 2em;
    border-radius: .4em;
    margin-bottom: 1em;
}

.wpcf7-field-group {
    background-color: #fff;
    padding: 2em;
    border-radius: .4em;
}

.wpcf7-field-group-add, .wpcf7-field-group-remove {
    border: 1px solid #5a7981;
    color: #5a7981 !important;
    border-radius: 99px;
    padding: .2em 1.6em;
    font-size: .8em;
    font-weight: 600;
    text-transform: initial;
}

/* END - - - CF7 customization */


/* Preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-color: #5a7981;
    background-size: cover;
    background-position: center center;
    z-index: 5000;
    opacity: 1;
    pointer-events: none;
}

#preloader svg {
    position: absolute;
}

#preloader #guide-red {
    max-height: 6em;
    opacity: 0;
}

#preloader #logo-angle-1, #preloader #logo-angle-2 {
    max-height: 6em;
    opacity: 0;
}

/* END - - - Preloader */


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

    .page-template-services #category-menu a {
        font-size: 2em !important;
    }

}