/*
Theme Name: 	Hoteler Child
Theme URI: 		http://thememascot.net
Description: 	Hotel Booking WordPress Theme. You can get more themes from here: https://themeforest.net/user/thememascot/portfolio
Author: 		ThemeMascot Team
Author URI: 	http://themeforest.net/user/thememascot
Version: 		6.4
Requires PHP:	8.1
Tested up to:	6.7
License: 		GNU General Public License v2 or later
License URI: 	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 	hoteler-child
Template: 		hoteler
*/


/* ========================================
   CAMPO CARICAMENTO CURRICULUM
======================================== */

.cv-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 5px 20px;
    background-color: #f5f5f7;
    border: 1px dashed #c8ae89;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.cv-upload:hover {
    background-color: #f9f6f1;
    border-color: #b99b72;
    box-shadow: 0 8px 24px rgba(52, 42, 30, 0.08);
    transform: translateY(-1px);
}

.cv-upload:focus-within {
    border-color: #b99b72;
    box-shadow:
        0 0 0 3px rgba(200, 174, 137, 0.22),
        0 8px 24px rgba(52, 42, 30, 0.08);
}

.cv-upload__icon {
    position: relative;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: #ffffff;
    background-color: #c8ae89;
    border-radius: 50%;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.cv-upload:hover .cv-upload__icon {
    background-color: #b99b72;
    transform: translateY(-2px);
}

.cv-upload__arrow {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

/* Testi */

.cv-upload__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;

    min-width: 0;
}

.cv-upload__title {
    color: #292929;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.cv-upload__filename {
    display: block;
    max-width: 100%;

    color: #777777;
    font-size: 13px;
    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-upload__button {
    flex: 0 0 auto;

    padding: 11px 16px;

    color: #ffffff;
    background-color: #c8ae89;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.cv-upload:hover .cv-upload__button {
    background-color: #b99b72;
}

.cv-upload .wpcf7-form-control-wrap {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
}

.cv-upload__input {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    opacity: 0;
    cursor: pointer;
}

.cv-upload.has-file {
    background-color: #f7f3ed;
    border-style: solid;
    border-color: #c8ae89;
}

.cv-upload.has-file .cv-upload__filename {
    color: #292929;
    font-weight: 500;
}

.cv-upload.has-file .cv-upload__icon {
    background-color: #292929;
}

.cv-upload + .wpcf7-not-valid-tip,
.cv-upload .wpcf7-not-valid-tip {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;

    color: #b3261e;
    font-size: 13px;
}

@media screen and (max-width: 767px) {

    .cv-upload {
        min-height: 110px;
        gap: 13px;
        padding: 16px;
    }

    .cv-upload__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .cv-upload__button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .cv-upload__title {
        font-size: 15px;
    }

    .cv-upload__filename {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {

    .cv-upload {
        display: grid;
        grid-template-columns: 42px 1fr;
    }

    .cv-upload__button {
        grid-column: 1 / -1;
        width: 100%;
        padding: 12px;
        text-align: center;
    }
}