/* @import url('//fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('//fonts.googleapis.com/css2?family=Comfortaa&display=swap'); */
@import url('//fonts.googleapis.com/css2?family=Montserrat&display=swap');

/* :root {
    --soft-white: #eee;
    --soft-black: #111;
    --background-color: #222;
    --header-color: #111;
    --footer-color: #333;
    --main-color: #ffb623;
    --main-color-darker: #d09217;
    --danger-color: #ef9e3d;
    --error-color: #c54d4d;
    --input-background-color: #444;
    --button-color: #111;
} */

/* :root {
    --soft-white: #111;
    --soft-black: #eee;
    --background-color: #ddd;
    --header-color: #eee;
    --footer-color: #ccc;
    --main-color: #ffb623;
    --main-color-darker: #d09217;
    --danger-color: #ef9e3d;
    --error-color: #c54d4d;

    --input-background-color: #bbb;
    --button-color: #111;
} */

* {
    /* font-family: 'Open Sans', sans-serif; */
    /* font-family: 'Comfortaa', cursive; */
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    margin: 0;
    background-color: var(--background-color);
    width: 100%;
    min-height: 100vh;
    color: var(--soft-white);
}


html{
    overflow-y: overlay;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--main-color-darker);
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--main-color);
}

/*********************************************************************************************************************************/
/*********************************************************SELECT2 RESET***********************************************************/
/*********************************************************************************************************************************/
.select2-container--default .select2-selection--single{
    border: 0 !important;
}
.select2-selection__rendered{
    background: var(--background-color);
    border: 1px solid var(--main-color);
    outline: none;
    border-radius: 5px;
    color: var(--main-color) !important;
}

.select2-container--open .select2-dropdown--below{
    border-color: var(--main-color) !important;
}

.select2-search, .select2-search input, .select2-results { 
    background-color: var(--background-color); 
    color: var(--main-color);
}

/*********************************************************************************************************************************/
/*****************************************************COMPONENTI VARI*************************************************************/
/*********************************************************************************************************************************/

a{
    color: var(--soft-white);
}

img {
    max-width: 100%;
    max-height: 100%;
}

/*Per gestire il footer sempre in fondo*/
/* body{
    box-sizing: border-box;
    padding-bottom: 280px; 
    position: relative;
} */

header {
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    height: 60px;
    width: 100%;
    /* z-index: 9999; */
    transition: all .5s ease-out;
    z-index: 9999999;
}

header.active {
    background-color: var(--header-color);
    /* border-bottom: 2px solid var(--soft-black); */
}

header img {
    max-height: 100%;
    padding: 4px;
    margin-left: 5px;
    float: left;
}

main {
    /* padding-bottom: 3em; */
    top: -60px;
    /*Per andare sotto all'header*/
    position: relative;
}

footer {
    border-top: 2px solid var(--main-color);
    background-color: var( --footer-color);
    text-align: center;
    padding: 1em 2em 2em 2em;
    overflow: hidden;
    clear: both;
}

footer a {
    color: var(--soft-white);
    text-decoration: none;
}

footer .socialNetworkLink {
    font-size: 36px;
    padding: 0 10px;
}

@media only screen and (min-width: 900px) {
    footer{
        bottom: -60px;
        position: relative;
    }
    
    .footerSection{
        width: 33.3%;
        float: left;
    }
}


/* ul,ol {
    list-style-position: inside;
} */

input, textarea, select {
    background-color: var(--input-background-color);
    color: var(--input-color);
    border: 2px solid var(--main-color);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 1em;
}

select{
    -webkit-appearance: none;
}

input:focus-visible{
    outline: 0;
    border-color: var(--soft-white);
}

button,
.button {
    -webkit-appearance: none;
    -webkit-border-radius: none;
    -moz-appearance: button;
    appearance: button;

    background-color: var(--main-color);
    /* border: 2px solid var(--main-color); */
    border: 0;
    color: var(--button-color);

    padding: 6px 12px;
    border-radius: 30px;
    margin-top: 15px;
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
    /* transition: .5s; */
}

button:hover,
.button:hover {
    background-color: var(--main-color-darker);
}

button:disabled,
.button:disabled {
    opacity: .5;
}

.buttonSecondary{
    -webkit-appearance: none;
    -webkit-border-radius: none;
    -moz-appearance: button;
    appearance: button;

    background-color: transparent;
    border: 2px solid var(--main-color);
    color: var(--button-secondary-color);

    padding: 4px 10px;
    border-radius: 30px;
    margin-top: 15px;
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
    /* transition: .5s; */
}

.buttonSecondary:hover{
    background-color: var(--main-color-darker);
    color: var(--soft-black);
}

.buttonTertiary{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-color: transparent;
    color: var(--main-color);

    padding: 0;
    border-radius: 0;
    margin: 0;
    text-decoration: none;

    transition: .5s;
}

.buttonTertiary:hover{
    color: var(--main-color-darker);
    text-decoration: underline;
    background-color: transparent;
}

.buttonWhatsapp{
    border-color: #23d366;
    color: #23d366;
    background-color: transparent;
    margin-left: -10px;
    border-radius: 0 30px 30px 0;
    font-size: 18px;
    padding-bottom: 6px;
    padding-top: 3px;
}

.buttonWhatsapp:hover{
    background-color: #25b85d;
    color: white;
    transition: .5s;
}

ul.ulCenteredText{
    list-style-position: inside;
    padding-left: 0;
}

#loginButton {
    float: right;
    margin-right: 22px;
}

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

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

/*******************************************/
/***************BLOCCHI DIV*****************/
/*******************************************/

.blockArea{
    margin: 0 auto;
    max-width: 1200px;
}

.block {
    padding: 1em 2em;
    color: var(--soft-white);
    overflow: auto;
}

@media only screen and (max-width: 350px) {
    .block{
        padding: 1em;
    }
}

/* .block img {
    margin-top: 16px;
} */

.blockLargeWidth{
    max-width: 1000px;
    margin: 0 auto;
}

.blockMediumWidth{
    max-width: 700px;
    margin: 0 auto;
}

.blockSmallWidth{
    max-width: 400px;
    margin: 0 auto;
}

.card{
    border-radius: 15px;
    border: 2px solid var(--main-color);
    padding: 1em;
    margin: 1em;
}

/*******************************************/
/***************PAGE INTRO******************/
/*******************************************/

#intro {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    text-align: center;
    color: var(--soft-white);
    height: 90vh;
    border-bottom: 5px solid var(--main-color);
    padding: 5em 2em 1em 2em;
}

@media only screen and (min-width: 600px) {
    #intro {
        background-attachment: fixed; /*SOLO DESKTOP, su mobile causa ingrandimento immagine con brutto effetto*/
    }
}

#introButtonsDiv{
    margin-top: 20%;
}

#intro .button {
    width: 70%;
    max-width: 250px;
    padding: 10px 6px;
    font-size: 20px;
    display: block;
    margin: 20px auto;
}

#intro .button i {
    float: right;
    line-height: 26px;
}

#intro h1{
    font-size: 2.5em;
    margin-top: 0;
}
#intro h2{
    font-size: 1.5em;
}

@media only screen and (min-width: 900px) {
    #intro .button {
        margin: 10px;
        display: initial;
    }
    #intro h1{
        font-size: 4em;
        margin-top: 1em;
    }
    #intro h2{
        font-size: 1.5em;
    }
    #introButtonsDiv{
        margin-top: 10vh;
    }
}

@media only screen and (min-width: 1200px) {
    #intro .button {
        margin: 30px;
    }
}

@media only screen and (max-width: 350px) {
    #intro h1{
        font-size: 2em;
        margin-top: 0;
    }
    #intro h2{
        font-size: 1.1em;
    }
}

/*********************************************************************************************************************************/
/*****************************************************NAVBAR BOTTOM & TOP*********************************************************/
/*********************************************************************************************************************************/

/*******************************************/
/****************BOTTOM*********************/
/*******************************************/

.bottomNavbar {
    background-color: var(--header-color);
    overflow: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 58px;
    z-index: 9999999;
}

.bottomNavbarFiller{
    display: none;
}

/* Style the links inside the navigation bar */
.bottomNavbar a {
    float: left;
    display: block;
    color: var(--soft-white);
    text-align: center;
    padding: 11px 16px;
    text-decoration: none;
    font-size: 12px;
    width: 25%;
}

.bottomNavbar i {
    font-size: 18px;
    margin-bottom: 2px;
}


.bottomNavbar a.active {
    color: var(--main-color);
    transition: all .2s ease-out;
}

.bottomNavbarSubmenu {
    display: none;
    background-color: var(--bottom-navbar-background-color);
    overflow: hidden;
    position: fixed;
    bottom: 58px;
    width: 100%;
    padding: 10px;
    text-align: center;
    line-height: 26px;
    border-top: 2px solid var(--main-color)
}

.bottomNavbarSubmenu a {
    color: var(--soft-white);
    text-decoration: none;
    font-size: 16px;
}

/*******************************************/
/*******************TOP*********************/
/*******************************************/

.topNavbar {
    display: none;
    width: fit-content;
    right: 100px;
    padding: 0;
    position: absolute;
}

.topNavbar a,
.subnav .subnavbtn {
    float: left;
    font-size: 16px;
    color: var(--soft-white);
    text-align: center;
    text-decoration: none;
    margin: 15px 5px 0px 5px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 5px;
}

.subnav {
    float: left;
    overflow: hidden;
}

.subnav .subnavbtn {
    border: none;
    outline: none;
    background-color: transparent;
}

.topNavbar a:hover,
.subnav:hover .subnavbtn {
    background-color: var(--main-color);
    color: var(--button-color);
    transition: 0s;
}

.subnav-content {
    display: none;
    position: absolute;
    top: 43px;
    background-color: var(--main-color);
    z-index: 1;
    border-radius: 0 0 10px 10px;
    margin-left: 5px;
    padding: 12px 0;
}

.subnav-content a {
    float: initial;
    color: var(--button-color);
    text-decoration: none;
    line-height: 24px;
}

.subnav-content a:hover {
    background-color: var(--main-color-darker);
    color: black;
}

.subnav:hover .subnav-content {
    display: block;
}

/*******************************************/
/****************MEDIAQ*********************/
/*******************************************/

@media only screen and (min-width: 900px) {
    .bottomNavbar {
        display: none;
    }

    .topNavbar {
        display: block;
    }
}

/*********************************************************************************************************************************/
/***************************************************DETAIL per FAQ****************************************************************/
/*********************************************************************************************************************************/
.accordionButton {
    cursor: pointer;
    padding: 14px !important;
    width: 100%;
    text-align: left;
    border: none !important;
    outline: none;
    border-radius: 0 !important;
}

.accordionButton:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accordionPanel {
    padding: 8px 18px;
    background-color: var( --footer-color);
    overflow: hidden;
    margin-top: 0;
}

details[open] .accordionButton:after {
    content: "\2212";
}

details[open] summary~* {
    animation: fadeInAnimation .5s ease-in-out;
}

details summary::-webkit-details-marker, details summary::marker {
    display: none;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.inputWithButtonRight_input{
    width: 66%;
    max-width: 250px;
    border-radius: 5px 0 0 5px;
}

.inputWithButtonRight_button{
    border-radius: 0px 30px 30px 0;
    margin-left: -5px;
    padding: 8px 14px 8px 8px;
}

/*********************************************************************************************************************************/
/***************************************************BLOG**************************************************************************/
/*********************************************************************************************************************************/

.blogArticle{
    text-decoration: none;
}
.blogArticle div{
    height: 200px;
    background-position: center;
    background-size: cover;
    margin: 1em 0;
}

.blogArticle>div>h2{
    text-align: center;
    padding-top: 10px;
    color: white;
}

@media only screen and (min-width: 900px) {
    .blogArticle div{
        width: 48%;
        height: 350px;
        float: left;
        margin: 1%;
    }
}

#fbCommentsArea{
    background-color: var(--soft-white);
    padding: 0px 10px;
    border-radius: 20px;
    margin-top: 30px;
}

/*********************************************************************************************************************************/
/******************************************************LOADING********************************************************************/
/*********************************************************************************************************************************/

/* .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
position: absolute;
top: 33px;
width: 13px;
height: 13px;
border-radius: 50%;
background: #fff;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
left: 8px;
animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
left: 8px;
animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
left: 32px;
animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
left: 56px;
animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
0% {
    transform: scale(0);
}
100% {
    transform: scale(1);
}
}
@keyframes lds-ellipsis3 {
0% {
    transform: scale(1);
}
100% {
    transform: scale(0);
}
}
@keyframes lds-ellipsis2 {
0% {
    transform: translate(0, 0);
}
100% {
    transform: translate(24px, 0);
}
} */


/*********************************************************************************************************************************/
/***************************************************VARI**************************************************************************/
/*********************************************************************************************************************************/

.mt-6{
    margin-top: 60px;
}

.mb-6{
    margin-bottom: 60px;;
}

.pt-6{
    padding-top: 60px;
}

.splide__arrow:hover {
    background-color: initial;
}