@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&family=Roboto+Condensed:wght@300;400;700&family=Rubik:wght@300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=WindSong:wght@500&display=swap');
:root {
    --mainColor: #4A70B9;
    --mainColorHover: #84BEDE;
    --secondColor: #211E59;
    --ssecondColorHover: #84BEDE;
    --titleTextColor: #333;
    --pTextColor: #555;
    --shadow: 2px 2px 6px 2px rgb(0 0 0 /40%);
}

body {
    background-color: #ffffff;
}


/*h*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    color: var(--titleTextColor);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    color: var(--titleTextColor);
}

h1 {
    font-size: 5.5rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 3.5rem;
}

h4 {
    font-size: 2.25rem;
}

b {
    font-weight: 700;
}

.align-center {
    text-align: center;
}

.flex_row {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.center_h {
    padding: 10vh 0 10vh 10vw;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}


/*Sezioni*/

.sez_padding_50 {
    padding: 80px 0;
    overflow: hidden;
}

.h4_pd_30 h4 {
    padding-bottom: 30px;
}

.pad_y_mobile {
    padding: 20px 0px;
}

.pad_y_bottom_mobile {
    padding-bottom: 10vh;
}

@media only screen and (max-width: 768px) {
    .white_mobile:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
    }
    .pad_y_bottom_mobile {
        padding-bottom: 60px;
    }
    .center_h {
        padding-right: 50px!important;
        padding-left: 30px !important;
    }
    .custom_back {
        top: 0 !important;
        left: 0 !important;
    }
    .form_contatti {
        align-items: center;
    }
}


/*Hero container*/

@media only screen and (max-width: 768px) {
    .margin_mobile {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .text_center_mobile {
        text-align: center;
    }
    h1 {
        font-size: 4rem !important;
    }
    .hero {
        text-align: center;
    }
    .hero h1 {
        font-size: 5rem !important;
        font-weight: 700;
        color: var(--titleTextColor);
    }
    .hero {
        position: relative !important;
        transform: translate(0%, 0%) !important;
        background: rgba(255, 255, 255, 0.8);
        width: calc(100% + 20px);
    }
    .white_back {
        background: transparent !important;
    }
    .hero_back img {
        position: absolute !important;
        height: 100%;
        object-fit: cover;
        object-position: right;
        transform: translate(50px, -12px);
    }
    .img_mobile_full img {
        max-width: 100%;
        width: 80% !important;
        margin-right: auto !important;
        display: block !important;
        padding: 20px;
    }
}

.custom_back {
    top: -1;
    left: 10px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: right center;
}

.white_back {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
}

.hero h1 {
    font-size: 8rem;
    font-weight: 700;
    color: var(--titleTextColor);
}

.hero_back img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.hero {
    position: relative;
    top: 0;
    left: 0;
    margin: auto;
}

.mattonella_1 a {
    display: block;
    padding: 10px;
    background: var(--secondColor);
    color: whitesmoke;
    transition: 0.3s;
    text-decoration: none;
}

.mattonella_1 h4 {
    color: #ffffff;
}

.mattonella_1 a:hover {
    background: var(--ssecondColorHover);
    color: var(--titleTextColor);
}

.mattonella_2 a {
    display: block;
    padding: 10px;
    background: whitesmoke;
    color: var(--mainColor);
    transition: 0.3s;
    text-decoration: none;
    border: 1px solid var(--mainColor);
}

.mattonella_2 a:hover {
    background: var(--mainColorHover);
    color: whitesmoke;
}

.mattonella_1 h4,
.mattonella_2 h4 {
    text-align: center;
}

.mattonella_1 a,
.mattonella_2 a {
    border-radius: 20px;
}


/*Liste*/

@media only screen and (max-width: 768px) {
    .icone_descrizione {
        width: 80%;
        margin: auto;
        display: block;
    }
    .footer_contatti {
        align-items: center;
    }
}

.icone_descrizione .thumbnail img {
    max-width: 80px;
    margin: auto;
}

.icone_descrizione .thumbnail h4 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--titleTextColor);
}

.icone_descrizione .thumbnail {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.icone_titolo .schede_bootstrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.icone_titolo .thumbnail img {
    max-width: 80px;
    margin: auto;
}

.icone_titolo .thumbnail h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--titleTextColor);
}

.icone_titolo .thumbnail {
    text-align: center;
    padding: 15px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.lista_richieste .thumbnail {
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 10px;
    background-size: cover;
}

.carat_minime {
    display: flex;
    white-space: pre;
    align-items: center;
}

.carat_minime:after {
    content: "";
    background-color: var(--mainColorHover);
    height: 5px;
    width: 100%;
    top: 50%;
    margin-left: 6px;
}

.carat_zone_container {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
}

.footer_contatti {
    display: flex;
    flex-direction: column;
}

.footer_contatti a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5em;
    color: var(--titleTextColor);
    transition: 0.3s;
    font-weight: 400;
}

.footer_contatti a:hover i {
    color: var(--mainColorHover);
}

.footer_contatti i {
    padding-right: 6px;
    color: var(--mainColor);
    transition: 0.3s;
}

img.img_n_verde {
    max-width: 200px;
}

#row_footer {
    display: flex !important;
    align-items: center;
}

.form_container {
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.form_container h4 {
    margin-bottom: 27px;
    text-align: center;
    font-size: 35px;
}


/*Chatbot*/

#chat_bot_main_container {
    position: fixed;
    right: 0;
    max-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    bottom: 0;
    max-width: 0px;
    opacity: 0;
    transition: 0.3s;
    transform-origin: right;
    background: rgba(255, 255, 255, 0.8);
    padding-bottom: 20px;
}

#chatbot-container {
    background: white;
    position: absolute;
    bottom: 0;
}

#chatbot-container #chat {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 79vh;
}

.show_chatbot {
    width: 400px !important;
    max-width: 85vw !important;
    z-index: 1001;
    opacity: 1 !important;
}

.chat_bot {
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    color: whitesmoke;
    transition: 0.3s;
    max-width: 400px;
}

#chatbot-container>input,
#chatbot-container>button {
    color: black;
    margin: 5px 0px !important;
}

#chat p.domanda_chatbot {
    background-color: var(--mainColor) !important;
    color: whitesmoke;
}

#chat p {
    color: var(--titleTextColor);
}

.chatbot_button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    background: var(--mainColor);
    color: whitesmoke;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    transition: 0.3s;
    z-index: 1000;
}

.chatbot_button.move_button {
    transform: translateX(-400px);
}

@media only screen and (max-width: 768px) {
    .chatbot_button.move_button {
        transform: translateX(-85vw) !important;
    }
}

.button_chat_container .send_message {
    background: var(--mainColor) !important;
    color: whitesmoke !important;
}

.chatbot_logo {
    max-width: 150px;
    margin-bottom: 5px;
}

#contatti {
    scroll-margin-top: 100px;
}


/*Dividers*/

.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(200% + 1.3px);
    height: 64px;
}

.custom-shape-divider-top .shape-fill {
    fill: white;
}