/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* ==========================================================
   KLIKIO — START ET PROSJEKT
   ========================================================== */

.klikio-project-form .klikio-form-step {
    max-width: 900px;
    width: 100%;
}

/* STEG */

.klikio-project-form .klikio-form-count {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.klikio-project-form .klikio-form-step h2 {
    margin: 0 0 16px;
}

.klikio-project-form .klikio-form-step > p {
    max-width: 650px;
    margin: 0 0 36px;
}


/* FELTER */

.klikio-project-form input[type="text"],
.klikio-project-form input[type="email"],
.klikio-project-form input[type="tel"],
.klikio-project-form input[type="url"],
.klikio-project-form textarea {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 2px solid #153233 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    -webkit-box-shadow: none !important;

    color: #153233 !important;
    width: 100% !important;

    padding: 10px 0 14px !important;

    font-size: 22px !important;
    line-height: 1.4 !important;
}

.klikio-project-form textarea {
    height: 110px !important;
    min-height: 110px !important;
    resize: none;
}


/* LABELS */

.klikio-project-form .klikio-form-step label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin: 30px 0 6px;
}

.klikio-project-form .optional {
    font-weight: 400;
    opacity: .5;
}


/* PLACEHOLDER */

.klikio-project-form input::placeholder,
.klikio-project-form textarea::placeholder {
    color: #153233 !important;
    opacity: .35 !important;
}


/* FOCUS */

.klikio-project-form input[type="text"]:focus,
.klikio-project-form input[type="email"]:focus,
.klikio-project-form input[type="tel"]:focus,
.klikio-project-form input[type="url"]:focus,
.klikio-project-form textarea:focus {
    border-bottom-color: #D47A2C !important;
    outline: none !important;
    box-shadow: none !important;
}


/* MOBILE */

@media (max-width: 690px) {

    .klikio-project-form .klikio-form-count {
        margin-bottom: 12px;
    }

    .klikio-project-form .klikio-form-step > p {
        margin-bottom: 26px;
    }

    .klikio-project-form input[type="text"],
    .klikio-project-form input[type="email"],
    .klikio-project-form input[type="tel"],
    .klikio-project-form input[type="url"],
    .klikio-project-form textarea {
        font-size: 19px !important;
    }

}

/* NAVIGATION */

.klikio-project-form input[type="button"],
.klikio-project-form input[type="submit"],
.klikio-project-form button {
    border-radius: 8px !important;
    box-shadow: none !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

/* Multi-step next */
.klikio-project-form .cf7mls_next {
    background: #D47A2C !important;
    color: #fff !important;
    border: 0 !important;
    padding: 16px 28px !important;
}

/* Multi-step back */
.klikio-project-form .cf7mls_back {
    background: transparent !important;
    color: #153233 !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 16px 0 !important;
}

.klikio-project-form .klikio-form-step {
    max-width: 900px;
    width: 100%;
}

/* =========================================
   PROJECT TYPE — CHOICE CARDS
   ========================================= */

/* CF7 radio wrapper */
.klikio-project-form .wpcf7-radio {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* Each option */
.klikio-project-form .wpcf7-list-item {
    margin: 0 !important;
    flex: 1;
}

/* Hide the actual 90s radio */
.klikio-project-form .wpcf7-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Make the label the card */
.klikio-project-form .wpcf7-radio .wpcf7-list-item-label {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;

    padding: 20px 24px;

    border: 1px solid rgba(255,255,255,.28);
    border-radius: 8px;

    color: #F7F3EA;
    font-size: 18px;
    font-weight: 600;

    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

/* Arrow */
.klikio-project-form .wpcf7-radio .wpcf7-list-item-label::after {
    content: "→";
    margin-left: auto;
    font-size: 22px;
    font-weight: 400;
}

/* Hover */
.klikio-project-form .wpcf7-radio label:hover .wpcf7-list-item-label {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.55);
}

/* Selected */
.klikio-project-form .wpcf7-radio input[type="radio"]:checked
+ .wpcf7-list-item-label {
    border-color: #D47A2C;
    background: rgba(212,122,44,.12);
}

/* Keyboard focus */
.klikio-project-form .wpcf7-radio input[type="radio"]:focus-visible
+ .wpcf7-list-item-label {
    outline: 2px solid #D47A2C;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 690px) {
    .klikio-project-form .wpcf7-radio {
        flex-direction: column;
        gap: 12px;
    }

    .klikio-project-form .wpcf7-radio .wpcf7-list-item-label {
        padding: 18px 20px;
    }
}

/* =========================================
   PROJECT TYPE — CARDS
   ========================================= */

.klikio-project-form .wpcf7-radio {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
}

/* Each choice */
.klikio-project-form .wpcf7-radio .wpcf7-list-item {
    display: block !important;
    margin: 0 !important;
    width: 100%;
}

/* Label containing radio + text */
.klikio-project-form .wpcf7-radio label {
    position: relative;
    display: block !important;
    margin: 0 !important;
    width: 100%;
    cursor: pointer;
}

/* Hide actual radio */
.klikio-project-form .wpcf7-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none;
}

/* Visible card */
.klikio-project-form .wpcf7-radio .wpcf7-list-item-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 18px 20px;

    color: #F7F3EA !important;
    border: 1px solid rgba(247, 243, 234, .3);
    border-radius: 8px;

    font-size: 18px;
    font-weight: 600;

    transition: .2s ease;
}

/* Arrow */
.klikio-project-form .wpcf7-radio .wpcf7-list-item-label::after {
    content: "→";
    font-size: 21px;
    font-weight: 400;
}

/* Hover */
.klikio-project-form .wpcf7-radio label:hover .wpcf7-list-item-label {
    border-color: rgba(247, 243, 234, .7);
    background: rgba(247, 243, 234, .05);
}

/* Selected */
.klikio-project-form .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
    border-color: #D47A2C;
    background: rgba(212, 122, 44, .12);
}
