/*
Theme Name:     Tender
Theme URI:      https://www.tendersrl.it/
Description:    Tema Tender
Author:         Giorgio Gabatel
Author URI:     https://www.tendersrl.it/
Version:        1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --color-tender: #000;
    --color-bg-1: #758282;
}

::selection {
    background: var(--color-tender);
    color: #fff;
}

* {
    outline: none !important;
}

html,
body {
    padding: 0;
    margin: 0;
}

body {
    background-color: #fff;
}

body,
p,
a {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 19px;
    line-height: 32px;
    color: #000;
}

a {
    color: #000;
}

a:hover {
    color: #000;
}

h1,
h2,
.h1,
.h2 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 45px;
    color: var(--color-tender);
}

h3,
.h3 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 65px;
    color: var(--color-tender);
}

.custom-number p {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-size: 70px;
    font-family: serif;
    font-weight: 600;
    color: #758282;
}

.bg-grey {
    background-color: #f3f4f3;
}

/**/

/* BUtton Back to top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #758282;
    color: white;
    border: 1px solid #aaa;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
}

#back-to-top:hover {
    background-color: #5e6e6e;
}

#back-to-top i {
    font-size: 16px;
}

/**/

/* Same Height */
.custom-same-height .wpb_single_image,
.custom-same-height figure,
.custom-same-height .vc_single_image-wrapper {
    height: 100% !important;
}

.custom-same-height img {
    height: 100% !important;
    object-fit: cover !important;
}

.custom-same-height .vc_column-inner {
    flex-direction: unset !important;
}

/**/

/* Header */
.logo img {
    width: 300px;
    height: auto;
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header.menu-principale ul li {
    display: inline-block;
    padding: 0 10px;
    margin: 0 10px;
}

header.menu-principale ul li:last-child {
    padding-right: 0;
    margin-right: 0;
}

header.menu-principale {
    padding: 25px 5%;
}

body.home header.menu-principale {
    position: absolute;
    z-index: 99;
    width: 100%;
}

header.top-menu ul li {
    display: inline-block;
    margin: 0 5px;
    padding: 0 5px;
}

header.top-menu ul li:first-child {
    margin-left: 0;
    padding-left: 0;
}

header.top-menu {
    background: var(--color-bg-1);
    padding: 0 5%;
}

header.top-menu .wpml-ls-current-language .wpml-ls-display {
    color: #fff;
}

header.top-menu a:hover {
    text-decoration: none !important;
}

header.menu-principale .current-menu-item a {
    text-decoration: underline;
}

header.menu-principale a,
header.top-menu a {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    color: #000;
}

/**/

/* Footer */
footer {
    padding: 50px 5%;
    background-color: var(--color-bg-1);
    color: #fff;
}

footer p,
footer a {
    color: #fff;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

footer .social {
    display: flex;
    justify-content: end;
    gap: 10px;
    margin-bottom: 25px;
}

footer .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #fff;
}

footer .social i {
    font-size: 23px;
    color: var(--color-bg-1);
}

/**/

/* CF7 */
input,
textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 5px 15px;
    font-size: 17px;
}

input::placeholder,
textarea::placeholder {
    font-size: 14px;
    font-style: italic;
}

input.checkbox {
    width: 20px;
    height: 20px;
    top: 4px;
    position: relative;
    margin-right: 3px;
}

input[type="checkbox"] {
    display: inline;
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
}

.wpcf7-list-item {
    margin: 0;
    margin-right: 30px;
}

input.wpcf7-submit {
    width: 400px;
    max-width: 100%;
    color: var(--color-bg-1);
    border: 1px solid #ccc;
    text-transform: uppercase;
    background-color: #fff;
    font-size: 18px;
    font-weight: 300;
    padding: 8px 20px;
    display: inline-block;
    margin-top: 20px;
    cursor: pointer;
}

input.wpcf7-submit:hover {
    text-decoration: none;
    background-color: var(--color-bg-1);
    border: 1px solid var(--color-bg-1);
    color: #fff;
}

.wpcf7 small {
    font-size: 14px;
    font-style: italic;
    color: #777;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
    border-color: transparent;
    padding: 0;
    margin: 0;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    color: #dc3232;
    border-color: transparent;
    padding: 0;
    margin: 0;
}

.wpcf7 form.spam .wpcf7-response-output {
    color: #f56e28;
    border-color: transparent;
    padding: 0;
    margin: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    color: #dc3232;
    border-color: transparent;
    padding: 0;
    margin: 0;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
    margin-top: 3px;
}

.wpcf7-form br {
    display: none;
}

.wpcf7-form small,
.wpcf7-form small a {
    font-size: 16px;
    font-weight: 400;
}

input[type="radio"] {
    width: auto;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    position: relative;
    top: 3px;
}

.form-info,
.form-info a {
    font-size: 14px;
    line-height: 22px;
}

.form-info a {
    text-decoration: underline;
}

/**/

/* Newsletter */
.newsletter {
    margin-bottom: 50px;
}

.newsletter input {
    background-color: transparent;
    color: #fff;
    width: unset;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #fff;
    padding: 0;
    font-size: 17px;
    max-width: 100%;
}

.newsletter input::placeholder {
    color: #aaa;
    font-style: italic;
}

.newsletter input.wpcf7-submit {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    text-transform: capitalize;
    color: #fff;
    margin-left: 35px;
    font-size: 15px;
}

.newsletter input.wpcf7-submit:hover {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    text-transform: capitalize;
    color: #fff;
}

.newsletter .wpcf7-not-valid-tip {
    color: #fff;
    position: absolute;
}

.newsletter~.wpcf7-response-output {
    color: #fff !important;
    border-color: transparent !important;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
}

/**/

/* Video */
.video-js,
.video-js .vjs-tech {
    width: 100% !important;
    height: auto !important;
    object-fit: fill !important;
    position: relative !important;
}

/**/

/*++++++++++ Media query ++++++++++*/
@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
    h1,
    h2,
    .h1,
    .h2 {
        font-size: 27px;
    }

    h3,
    h3 {
        font-size: 45px;
    }

    .newsletter input[type="email"] {
        width: 200px;
    }

    .newsletter input.wpcf7-submit {
        margin-left: 5px;
    }

    footer .social {
        margin-top: 25px;
    }
}

@media (max-width: 767.98px) {
    .custom-same-height .wpb_single_image,
    .custom-same-height figure,
    .custom-same-height .vc_single_image-wrapper {
        height: auto !important;
    }
}

@media (max-width: 575.98px) {}