/*
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
*/
html,
body {
    overflow-x: hidden;
    position: relative;
}

:root {
    --color-tender: #40a4a8;
    --font-tender: 'Rethink Sans', sans-serif;
    --color-bg-grey: #f4f4f4;
    color-scheme: light only;
}

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

.testo-gradiente h2::selection,
.testo-gradiente h2 strong::selection,
.testo-gradiente h5::selection {
    background: rgba(64, 164, 168, 0.4);
}

* {
    outline: none !important;
}

.fondo-grigio {
    background-color: #F4F4F4;
}

.colore-bianco,
.colore-bianco h1,
.colore-bianco h2,
.colore-bianco h3,
.colore-bianco h4,
.colore-bianco h5,
.colore-bianco h6,
.colore-bianco a,
.colore-bianco a.button {
    color: #fff !important;
}

.fondo-colorato {
    background-color: var(--color-tender);
}

/* Underline styles - details of technique here: https://nickymeuleman.netlify.app/blog/css-animated-wrapping-underline */
.mm-menu .mm-listitem,
a.animated-hover {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 1)),
        linear-gradient(to right,
            rgb(60, 154, 157),
            rgb(50, 113, 132),
            rgb(60, 154, 157));


    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
    background-size: 0 0.1em;
    /*background-size: 100% 0.1em, 0 0.1em;*/

}

.mm-menu .mm-listitem:hover,
.mm-menu .mm-listitem:focus,
.single-hover:hover a.animated-hover,
.single-hover:focus a.animated-hover,
a.animated-hover:hover,
a.animated-hover:focus {
    background-size: 0 0.1em, 100% 0.1em;
    text-decoration: none !important;
}



.fondo-gradiente {
    background: linear-gradient(90deg, rgb(60, 154, 157) 0%, rgb(50, 113, 132) 100%);
}

.testo-gradiente {
    background: linear-gradient(to right, rgb(60, 154, 157), rgb(50, 113, 132), rgb(60, 154, 157));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testo-gradiente.animato {
    background: linear-gradient(to right, rgb(60, 154, 157), rgb(50, 113, 132), rgb(60, 154, 157));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 150% 150%;
    animation: gradient 4s ease infinite;
    display: inline-block;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


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

body {
    font-family: var(--font-tender);
    font-size: 18px;
    background-color: #fff;
    color: #000;
}

a {
    color: #000;
}

a:hover {
    color: #000;
}

h1,
h2 {
    font-size: 75px;
    color: #000;
    font-weight: bold;
}

h3 {
    font-size: 33px;
    text-transform: uppercase;
    color: #000;
}

h4 {
    font-size: 21px;
    text-transform: uppercase;
}

h5 {
    font-size: 30px;
    font-weight: bold;
}

h6 {
    font-size: 33px;
    line-height: 40px;
}

.single-portfolio .entry img.vc_single_image-img {
    border: 1px solid #eee;
}

.single-portfolio .categoria-portfolio a {
    color: var(--color-tender);
}

img.custom-logo {
    border: 0;
}


.color-white,
.color-white h1,
.color-white h2,
.color-white h3,
.color-white h4,
.color-white h5,
.color-white h6,
.color-white p {
    color: #fff;
}

.cta {
    padding: 75px 0;
    background-color: var(--color-bg-grey);
}

.cta h4 {
    font-size: 27px;
    text-transform: none;
    font-weight: 700;
    color: #000;
    margin-bottom: 35px;
}

.custom-logo {
    width: auto;
    height: 71px;
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    .custom-logo {

        height: 35px;
    }
}


.hero hr {
    border-color: var(--color-tender);
    border-top-width: 2px;
}

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

.wpcf7-list-item {
    margin: 0;
}

.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-not-valid-tip {
    color: #dc3232;
}

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

/**/

/* Menu / Header */
body.home header.primary {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
}

@media screen and (max-width: 768px) {
    body.home header.primary {
        position: static;
    }

    /* body.home header.primary img.custom-logo {
        width: 120px;
    } */
}

header.primary {
    padding: 20px 0;
}

header.primary nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.primary #menu-menu-right {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 12px 0 0;
}

header.primary #menu-menu-right li {
    padding-left: 25px;
}

/**/

/* Footer */
footer ::selection {
    background: #fff;
    color: var(--color-tender);
}

footer {
    padding: 80px 0 40px 0;

    color: #fff;
}

footer img {
    border: 0 !important;
}

footer h2 {
    font-size: 55px;
    margin-top: 50px;
    color: #fff;
}

footer h4 {
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 10px;
}

footer h3 {
    font-size: 45px;
    text-transform: none;
    margin-top: 0;
    color: #fff;
}

footer h3 a:hover {
    text-decoration: none;
}

footer .newsletter h4 {}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer .footer-bottom {
    margin-top: 60px;
}

footer .newsletter .wpcf7-email {
    background-color: transparent;
    border-bottom: 1px solid #fff;
    color: #fff;
    width: 75%;
    position: relative;
    z-index: 9;
}

footer .newsletter .newsletter-row {
    position: relative;
    width: 90%;
    max-width: 100%;
}

footer .newsletter .wpcf7-submit {
    background-color: transparent;
    color: #fff;
    position: absolute;
    top: 0;
    text-align: right;
    border-bottom: 1px solid #fff;
}

footer .newsletter .wpcf7-spinner {
    position: absolute;
    top: 5px;
    right: 0;
}

footer .newsletter small {
    font-size: 14px;
}

footer .newsletter small a {
    text-decoration: underline;
}

footer .newsletter ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

footer .newsletter :-moz-placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

footer .newsletter ::-moz-placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

footer .newsletter :-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}


footer .wpcf7 form .wpcf7-response-output {
    border: 2px solid #fff;
}

footer .wpcf7 form.sent .wpcf7-response-output {
    color: #fff;
}

footer .wpcf7 form.failed .wpcf7-response-output,
footer .wpcf7 form.aborted .wpcf7-response-output {
    color: #fff;
}

footer .wpcf7 form.spam .wpcf7-response-output {
    color: #fff;
}

footer .wpcf7 form.invalid .wpcf7-response-output,
footer .wpcf7 form.unaccepted .wpcf7-response-output {
    color: #fff;
}

footer .wpcf7-not-valid-tip {
    color: #fff;
}

footer .legal-line {
    margin-top: 20px;
}

footer .footer-col-2,
footer .footer-bottom-2 {
    text-align: right;
}

footer .footer-bottom .footer-bottom-2 .gallery {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

footer .widget_text .textwidget {
    font-size: 14px;
}

footer .footer-bottom .footer-bottom-2 .gallery .gallery-icon img {
    width: 80px;
    height: auto;
}

footer .footer-bottom .footer-bottom-2 .gallery {
    margin: 0 -15px !important;
}

footer .footer-bottom .footer-bottom-2 .gallery .gallery-item {
    width: auto !important;
    padding: 0 15px;
}


/**/

/* Social */
.social i {
    font-size: 30px;
    color: #fff;
}

.social i:hover {
    color: #fff;
}

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

/**/

article .single-portfolio {
    margin-top: 50px;
}

.categoria-portfolio {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    margin: 0 -20px;

}

.categoria-portfolio a {
    font-weight: 300;
    padding: 0 20px;
    color: #000;

    text-transform: lowercase;
}

.categoria-portfolio a:hover {
    text-decoration: underline;

}

.categoria-portfolio a:nth-last-child(1) {
    padding-right: 0;
}

.taxonomy-header {
    margin: 0 0 50px;
}

.taxonomy-header h1 {
    font-size: 34px;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.archivio-categoria-portfoli {
    margin-top: 50px;
}

.archivio-categoria-portfolio .contenitore-post {

    margin-bottom: 50px;
}

.tax-categoria article {
    margin: 25px 0px;
}

.vc_video-bg.vc_hidden-xs {
    display: block !important;
}

.custom-height .wpb_wrapper,
.custom-height .wpb_text_column {
    height: 100% !important;
}

.custom-height .wpb_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* related-post */
.related-post {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 0 50px 0;
}

.related-post a {
    color: #000;
}

.related-post .icon {
    color: var(--color-tender);
}

/* bottoni / pulsanti */
.cta a,
.custom-btn a,
input.custom-btn,
.cta-assistenza a {
    background-color: var(--color-tender);
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    padding: 10px 25px;
    border: 1px solid var(--color-tender);
    border-radius: 25px;
    max-width: 200px;
    text-align: center;
    cursor: pointer;
}

.cta a:hover,
.custom-btn a:hover,
input.custom-btn:hover,
.cta-assistenza a  {
    background-color: #fff;
    color: var(--color-tender);
    border: 1px solid var(--color-tender);
    text-decoration: none;
}

.section-1 .custom-btn a {
    border: 1px solid #fff;
}

/**/

/* linea titoli */
.custom-line::before {
    display: inline-block;
    content: "";
    border-bottom: 3px solid var(--color-tender);
    width: 100%;
    margin: 0 5px 0 0;
    position: relative;
    top: 48px;
}

.custom-line h1 {
    background-color: #fff;
    padding-left: 5px;
    z-index: 999;
    position: relative;
    display: inline;
}

/**/

/* form */
input,
textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-tender);
    padding-bottom: 12px;
}

input[type="checkbox"] {
    width: unset;
    border: unset;
}

.wpcf7-list-item {
    margin: 0;
}

article h2.entry-title {
    position: absolute;
}

/**/

/* overlay */
.portfolio-box {
    position: relative;
    margin: 15px 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.overlay h4 {
    font-size: 25px;
    margin: 30px 30px 0 30px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    padding-bottom: 7px;
}

.overlay p {
    font-size: 20px;
    margin: 15px 30px 0 30px;
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

/**/

/* Recaptcha */
.grecaptcha-badge {
    z-index: 99999;
}

/**/

/* Hero Home */
.hero-home {
    background: linear-gradient(90deg, rgba(234, 234, 226, 1) 0%, rgba(63, 133, 145, 1) 100%);
}

.hero-home h2 {
    font-size: 50px;
}

@media (max-width: 991.98px) {
    .hero-home h2 {
        font-size: 30px;
    }
}

/**/

/* Nascondi Recaptcha */
.grecaptcha-badge {
    display: none !important;
}

/**/

.custom-same-height {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}


/*++++++++++ Media query ++++++++++*/
@media (max-width: 1199.98px) {
    .our-solution .wpb_column {
        display: block !important; 
    }
}

@media (max-width: 991.98px) {
    body {
        font-size: 16px;
    }

    h1,
    h2 {
        font-size: 39px;
    }

    h3 {
        font-size: 20px;
        line-height: 30px;
    }

    h4 {
        font-size: 19px;
    }

    h5 {
        font-size: 22px;
    }

    h6 {
        font-size: 21px;
        line-height: 30px;
    }

    .cta a,
    .custom-btn a,
    input.custom-btn {
        font-size: 16px;
    }

    div[class*="vc_custom_"] {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .video-background[class*="vc_custom_"] {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }

    figure,
    .vc_single_image-wrapper {
        width: 100%;
    }

    footer h2 {
        font-size: 35px;
        margin-top: 25px;
    }

    footer h3 {
        font-size: 30px;
        margin-top: 50px;
    }

    footer {
        padding: 50px 0 50px 0;
    }

    footer .footer-bottom {
        margin-top: 80px;
    }

    .custom-same-height {
        margin-top: -30px !important;
        margin-bottom: -15px !important;
    }
}

@media (max-width: 767.98px) {

    .flex-reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .overlay-page figure,
    .overlay-page .vc_single_image-wrapper,
    .overlay-page img {
        width: 100%;
    }

    .categoria-portfolio {
        display: flex;
        margin-top: 25px;
    }

    .categoria-portfolio a {
        padding: 0 10px;
    }

    h3 .categoria-portfolio a {
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }

    .cta h4 {
        font-size: 22px;
        text-transform: none;
        font-weight: 700;
        color: #000;
        margin-bottom: 35px;
    }

    .related-post {
        justify-content: space-between;
        padding: 15px 0 50px 0;
        text-align: center;
    }

    footer {
        text-align: left;
        padding: 100px 0 50px 0;
    }

    footer .footer-bottom .footer-bottom-2 .gallery {
        justify-content: center;
    }

    footer h2 {
        font-size: 40px;
        margin-top: 0;
    }

    footer h3 {
        font-size: 30px;
    }

    footer .footer-col-2,
    footer .footer-bottom-2 {
        text-align: left;
    }

    footer .footer-bottom {
        margin-top: 100px;
    }

    footer .newsletter .wpcf7-email {
        width: 100%;
    }

    footer .newsletter .wpcf7-submit {
        background-color: #fff;
        color: var(--color-tender);
        border: 0;
        position: relative;
        padding: 5px 0;
        text-align: center;
    }

    footer .newsletter .newsletter-row {
        width: 100%;
    }

    .hide-mobile {
        display: none;
    }

    article .single-portfolio {
        margin-top: 50px;
    }
}

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

@media screen and (max-width: 991.98px) and (min-width: 767.98px) {
    .portfolio-box img {
        height: 250px;
    }
}

@media (min-width: 767.98px) {
    .hide-desktop {
        display: none;
    }
}