/*
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=Roboto:wght@100;300;700&display=swap');

/* General */
:root {
    --color-tender: #000;
    --font-tender: 'Roboto', sans-serif;
    --color-bg-grey: #F7F5E8;
}

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

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

* {
    outline: none !important;
}

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

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

body,
p,
a {
    font-size: 18px;
    font-weight: 100;
    color: #000;
}

a {
    color: var(--color-tender);
    text-decoration: underline;
}

a:hover {
    color: var(--color-tender);
    text-decoration: underline;
}

/* img {
    width: 100%;
    max-width: 100%;
} */

h1,
h2 {
    font-size: 45px;
    font-weight: 300;
}

h3 {
    font-size: 30px;
    font-weight: 300;
}

.no-underline {
    text-decoration: unset;
}

.no-underline:hover {
    text-decoration: unset;
}

/**/

/* Menu / Header */
.logo img {
    width: 250px;
    height: auto;
    max-width: 100%;
}

header.menu-principale {
    margin: 25px 0;
}

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

nav ul li {
    display: inline-block;
    margin-right: 25px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: var(--color-tender);
    font-weight: 300;
}

nav ul li a:hover {
    text-decoration: none;
}

header.menu-principale nav ul li a:hover {
    border-bottom: 1px solid var(--color-tender);
}

header.menu-principale nav ul.sub-menu li a:hover {
    border-bottom: 0;
}

.sub-menu {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: #fff;
}

.sub-menu li {
    display: block;
}

.sub-menu li a {
    padding: 10px;
}

.menu-item-has-children:hover .sub-menu,
.sub-menu:hover {
    display: block;
}

.sub-menu .sub-menu {
    display: none !important;
    position: absolute;
    left: 85%;
    bottom: 0;
}

.sub-menu .menu-item-has-children:hover .sub-menu,
.sub-menu .sub-menu:hover {
    display: block !important;
}

header.top-menu {
    margin: 5px 0;
}

.top-menu nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.top-menu .top-menu-left ul li {
    margin-right: 10px;
}


.top-menu .top-menu-left ul li a,
.top-menu .top-menu-right ul li a {
    font-size: 14px;
    text-transform: uppercase;
}

ul.sub-menu.mm-listview {
    width: 100%;
}

.menu-in-evidenza a {
    background: linear-gradient(90deg, rgba(137,87,38,1) 0%, rgba(210,172,121,1) 50%, rgba(137,87,38,1) 100%);
    padding: 2px 10px;
    color: #fff;
}

/**/

/* Button Go To Top */
#goToTop {
    display: none;
    background: transparent;
    border: none;
    position: fixed;
    padding: 0;
    right: 25px;
    bottom: 75px;
    z-index: 999;
}

#goToTop i {
    font-size: 50px;
    color: #888;
    opacity: .5;
}

/**/

/* Blog */
.blog-main {
    margin: 100px 0;
}

.hero-blog {
    background-color: var(--color-bg-grey);
    padding: 100px 0;
    margin-top: 10px;
    text-align: center;
}

.hero-blog h1 {
    text-transform: uppercase;
    font-size: 80px;
    font-weight: lighter;
}

.blog hr {
    margin: 50px 0;
    border: 1px solid #ccc;
}

.blog h2 {
    font-size: 35px;
    text-transform: uppercase;
    text-decoration: none;
}

.blog h3 {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog .data-blog {
    margin-bottom: 20px;
}

.blog .riassunto strong {
    font-weight: unset;
}

.pagination {
    justify-content: center;
    gap: 15px;
}

.pagination a {
    text-decoration: none;
}

nav.navigation.posts-navigation {
    display: none;
}

/**/

/* Single Article */

.single-post .titoletto {
    padding: 75px 0;
    text-align: center;
}

.single-post .titoletto p {
    text-transform: uppercase;
}

.single-post h1 {
    text-transform: uppercase;
    font-weight: lighter;
}


.single-post .riassunto {
    margin: 50px 0;
}

.gallery-articolo img {
    height: 300px !important;
    width: 100%;
    object-fit: cover;
}

.meta-articolo {
    margin-top: 35px;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
}

.meta-articolo .condividi p {
    text-transform: uppercase;
    text-align: end;
}

.meta-articolo .condividi i {
    text-transform: uppercase;
}

.meta-articolo .condividi i {
    font-size: 35px;
    margin-left: 25px;
}

.ultime-news h4 {
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
}

.ultime-news ul {
    padding: 0;
}

.ultime-news ul li {
    padding: 25px 0;
    border-bottom: 2px solid var(--color-bg-grey);
}

.ultime-news ul li {
    display: flex;
    flex-direction: column-reverse;
}

.ultime-news ul li a {
    text-transform: uppercase;
    text-decoration: none;
}

.ultime-news ul li a:hover {
    text-decoration: underline;
}

/**/

/* Breadcrumb */
.custom-breadcrumb {
    margin-top: 20px;
}

.custom-breadcrumb a {
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    text-decoration: none;
}

/**/

/* Prefooter */
.prefooter {
    background-color: var(--color-bg-grey);
    padding: 50px 0;
    margin: 100px 0;
    text-align: center;
}

.prefooter h4 {
    text-transform: uppercase;
    color: #777;
}

/**/

/* Fotter */
footer {
    background-color: #000;
    padding: 50px 0;
}

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

footer .footer-col-1 h4 {
    font-weight: bold;
}

.legal-line {
    margin-top: 50px;
}

.legal-line p,
.legal-line a {
    font-size: 14px;
}

.legal-line a {
    text-decoration: underline;
}

.custom-size-img img {
    width: 80%;
}

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

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

footer .footer-btn {
    display: inline-block;
    width: 200px;
    max-width: 100%;
    padding: 10px 15px;
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

footer .footer-btn:hover {
    background-color: #404140;
    border-color: #404140;
    text-decoration: none;
}
/**/

/* Breadcrumbs */
#breadcrumbs a {
    text-decoration: none;
}

/**/

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    text-align: center;
}

.lightbox img {
    margin-top: 150px;
    height: 80%;
    width: auto;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    color: #fff;
    font-size: 50px;
    margin: 0 25px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 70px;
}

.custom-lightbox {
    text-align: center !important;
}

.custom-lightbox img {
    object-fit: cover;
    height: 217px !important;
}

.custom-border {
    border: 1px solid #000;
}

.custom-border img {
    object-fit: contain;
}

/**/

/* Button / Pulsante */
.custom-btn a {
    display: inline-block;
    width: 350px;
    max-width: 100%;
    padding: 10px 15px;
    background-color: #404140;
    color: #fff;
    border: 1px solid #404140;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}

.custom-btn a:hover {
    text-decoration: none;
    background-color: var(--color-tender) !important;
    border: 1px solid #000 !important;
    color: #fff !important;
}

/**/

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

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

.legal-line .social-row {
    display: flex;
    flex-direction: row;
}

.legal-line .social-row .ll-col-2 {
    flex-grow: unset;
}

/**/

/*  Wpbackery Container Rotto */
.bg-grey {
    background-color: var(--color-bg-grey);
}

.custom-left {
    right: 5px;
}

.custom-right {
    left: 5px;
}

.container-rotto .container-only-left,
.container-rotto .container-only-right {
    padding: 0 15px;
}

.container-rotto .container-only-left,
.container-rotto .container-only-right {
    padding: 0 15px;
}

.container-only-right {
    padding-left: 75px !important;
}

.container-only-left {
    padding-right: 75px !important;
}

.clearfix .vc_empty_space {
    clear: both;
}

@media screen and (max-width: 992px) {
    .boxhome-bottom-cont .wpb_column {
        width: 100% !important;
        transform: unset !important;
    }

    .boxhome-bottom-cont .wpb_column .wpb_wrapper .wpb_text_column {
        padding: 15px 15px !important;
    }
}

/**/

/* CF7 */
input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    border: 2px solid #ccc;
    padding: 10px 10px;
    font-size: 17px;
    background-color: #fff;
    color: #000;
}

.prefooter input.wpcf7-email {
    width: 500px;
    background-color: var(--color-bg-grey);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.newsletter input {
    background-color: #000;
    color: #fff;
}

.newsletter select {
    background-color: #000;
    color: #fff;
    margin-top: 10px;
}

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

.wpcf7-submit {
    display: inline-block;
    width: 350px;
    max-width: 100%;
    padding: 10px 15px;
    background-color: #404140 !important;
    color: #fff !important;
    border: 1px solid #404140 !important;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.prefooter .wpcf7-submit {
    width: 250px;
    max-width: 100%;
    padding: 5px 15px;
}


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

.newsletter .wpcf7-submit {
    width: 200px;
    max-width: 100%;
    color: var(--color-tender) !important;
    border: 1px solid var(--color-tender) !important;
    border-radius: 0;
    text-transform: uppercase;
    background-color: #fff !important;
    font-size: 14px;
    display: inline-block;
    margin-top: 20px;
}

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

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

.wpcf7-spinner {
    display: block;
}

.newsletter {
    text-align: center;
}

.newsletter label {
    text-transform: uppercase;
    margin-top: 20px;
}

.newsletter p {
    margin: 0;
}

.newsletter input.wpcf7-email {
    text-align: center;
}

/**/

/* Slider / Carousel */
.slick-prev,
.slick-next {
    margin: 0 50px;
}

/**/

/* Ultimate Member Plugin */
.um.um-register{
    max-width: 66% !important;
}



.um-col-1 {
    display: grid;
    grid-template-columns: auto auto;
}

.um-col-1>div {
    margin: 0 15px 0 0;
}

.um a.um-button,
.um a.um-button.um-disabled:active,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:hover,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus {
    background: #000 !important;
}

.um .um-button.um-alt,
.um input[type=submit].um-button.um-alt {
    color: #fff !important;
}

.um-account-tab.um-account-tab-delete p {
    display: none;
}

/**/

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

/**/

/* Nascondi bottone login nella pagina registrazione */
body.um-page-register .um-button {
    display: none;
}

body.um-page-register .um-button#um-submit-btn {
    display: block;
}

/**/

/* Box Candidature */
.box-candidature h3 {
    font-size: 22px;
    text-decoration: underline;
}

.box-candidature p,
.box-candidature a {
    font-size: 15px;
    line-height: 21px;
    font-weight: 500;
}

.box-candidature .custom-btn a {
    width: 200px;
    padding: 4px 8px;
    font-size: 14px;
}

.box-candidature .vc_column_container > .vc_column-inner {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

[class*="box-form-candidatura-"] {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.box-candidature .wpcf7 form.sent .wpcf7-response-output {
    color: #000;
    margin-bottom: 15px;
}

/**/

/* Download */
.box-download h4 {
    font-size: 20px;
    height: 50px;
    max-height: 100%;
}

.box-download .btn-download {
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    background-color: #404140;
    color: #fff;
    border: 1px solid #404140;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}

.box-download .btn-download a {
    color: #fff;
    text-decoration: none;
    width: 100%;
    display: block;
}

.box-download .wpb_single_image {
    width: 100% !important;
}

/**/

/* Fa lampeggiare il background in rosso */
.lampeggiante {
  animation: lampeggiaSfondo 2s infinite ease-in-out;
  padding: 8px 16px;
  border-radius: 4px;
}

@keyframes lampeggiaSfondo {
  0%, 100% {
    background: linear-gradient(90deg, rgba(137, 87, 38, 1) 0%, rgba(210, 172, 121, 1) 50%, rgba(137, 87, 38, 1) 100%);
    color: #fff;
  }
  50% {
    background: transparent;
    color: inherit;
  }
}

.lampeggiante a:hover {
    text-decoration: none !important;
    border-bottom: unset !important;
}

/**/

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

@media (max-width: 991.98px) {
    .top-menu-right {
        display: none;
    }
}

@media (max-width: 767.98px) {
    div[class*="vc_custom_"] {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    body,
    p,
    a {
        font-size: 17px;
    }

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

    h3 {
        font-size: 25px;
    }

    .custom-left {
        right: 0;
    }

    .custom-right {
        left: 0;
    }

    .hero-blog h1 {
        font-size: 45px;
    }

    .hero-blog {
        padding: 75px 0;
    }

    .blog h2 {
        font-size: 25px;
    }

    .blog h3 {
        font-size: 20px;
    }

    .blog .data-blog {
        margin-top: 20px;
    }

    .single-post .titoletto {
        padding: 25px 0;
    }

    .single-post .data-articolo {
        margin-bottom: 20px;
    }

    .ultime-news {
        margin-bottom: 100px;
    }

    .gallery-articolo img {
        height: 100% !important;
        width: 100%;
    }

    .wpml-ls-legacy-list-horizontal a {
        padding: 0;
        margin-top: 20px;
    }

    #flags_language_selector ul li::before {
        content: "";
        position: absolute;
    }

    a.wpml-ls-link::after {
        content: "|";
        margin: 0 10px;
    }

    ul li.wpml-ls-item:last-child a.wpml-ls-link::after {
        content: "";
    }

    .box-candidature img {
        margin-bottom: 35px;
    }

    .box-download .btn-download {
        margin-bottom: 50px;
    }
}

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

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

@media only screen and (min-width: 991.98px) and (max-width: 1199.98px) {
    nav ul li {
        display: inline-block;
        margin-right: 20px;
    }
}

@media only screen and (min-width: 767.98px) and (max-width: 1199.98px) {
    .box-download h4 {
        height: 80px;
    }
}