
a:link {
    color: #3d494e;
    text-decoration: none;
}

a:visited {
    color: #3d494e;
    text-decoration: none;
}

a:hover {
    color: #0693bc;
    text-decoration: underline;
}

a:active {
    color: #0693bc;
    text-decoration: underline;
}

/*Gestione dimensioni immagini*/
.object-fit_fill {
    -o-object-fit: fill;
    object-fit: fill;
}

.object-fit_contain {
    -o-object-fit: contain;
    object-fit: contain;
}

.object-fit_cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.object-fit_none {
    -o-object-fit: none;
    object-fit: none;
}

.object-fit_scale-down {
    -o-object-fit: scale-down;
    object-fit: scale-down;
}


/*.navbar-dropdown .mbr-table-cell {
    height: auto !important;
}*/

.imgresponsive {
    width: 100%;
}

.imgico {
    margin-bottom: 20px;
}

.verde {
    color: #72cbf1;
}


input {
    /*background:#FFFFFF !important;*/
}

textarea {
    background: #FFFFFF !important;
}



a.lkprivacy:link {
    color: #CECECE;
    text-decoration: underline;
}

a.lkprivacy:visited {
    color: #CECECE;
    text-decoration: underline;
}

a.lkprivacy:hover {
    color: #CECECE;
    text-decoration: none;
}

a.lkprivacy:active {
    color: #CECECE;
    text-decoration: underline;
}

a.lknews:link {
    color: #ffffff !important;
    background-color: #2498ba;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
}

a.lknews:visited {
    color: #ffffff !important;
    text-decoration: none;
}

a.lknews:hover {
    color: #ffffff !important;
    background-color: #66C8F5;
    text-decoration: none;
}

a.lknews:active {
    color: #ffffff !important;
    text-decoration: none;
}


a.lkcat {
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 20px;
    display: inline-block;
    padding: 5px 20px;
    color: #3d494e;
    text-decoration: none;
    min-width: 140px;
}

    a.lkcat:link,
    a.lkcat:visited {
        color: #3d494e;
        text-decoration: none;
    }

    a.lkcat:hover,
    a.lkcat:active,
    a.lkcat.active {
        color: #0693bc !important;
        background-color: #d2edfa !important;
        border-radius: 20px;
    }



.aligncenter {
    text-align: center;
}

.titblog {
    font-size: 16px;
    color: #586a71;
}

.txtblog {
    font-size: 16px;
    color: #586a71 !important;
}

.btn-white {
    text-decoration: none !important;
    font-style: normal !important;
}


a#logo1 {
    display: block;
}

a#logo2 {
    display: none;
}

/*
	Pagination
*/

.paginazione {
    margin-bottom:40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Ensures that buttons can wrap when needed, but will stay in a row on larger screens */
}

    .paginazione .btn-custom {
        font-size: 14px; /* Adjust font size */
        padding: 15px 30px;
        margin: 0 5px; /* Space between buttons */
    }

    .paginazione .btn-default {
        font-size: 14px; /* Ensure the numeric buttons are smaller */
        padding: 15px 30px;
    }

@media (max-width: 768px) {
    .paginazione .btn-custom,
    .paginazione .btn-default {
        font-size: 12px; /* Make buttons smaller on mobile */
        padding: 10px 15px /* Adjust padding for mobile */
    }

    .paginazione .btn-lg {
        font-size: 12px; /* Adjust large button size */
        padding: 10px 15px /* Adjust padding for mobile */
    }
}


    div.paginazione a:link {
        margin: 0px;
    }

.numsel {
    font-size: 20px;
}



@media screen and (max-width: 480px) {

    .dettReal {
        padding: 10px;
    }
}

.form-control {
    padding: 20px;
    margin: 15px;
    height: 50px;
    border-radius: 40px;
    border-color: #0693bc;
    background-color: white;
    border-width: 2px;
}

    .form-control, .form-control:focus {
        border-color: #0693bc;
        border-width: 2px;
    }

@media (min-width: 992px) {
    .form-control {
        padding: 35px;
        height: 50px;
    }
}

.btn-custom {
    background-color: #2498ba;
    color: white;
    border-radius: 20px;
}

    .btn-custom:hover {
        background-color: #66C8F5;
        color: white;
    }

.title {
    font-size: 40px;
    color: #0693bc;
    font-weight: 700;
}





@media (max-width: 992px) {
    #carousel-track {
        display: block;
        width: 100%;
    }

    .carousel-item {
        width: 100%;
        flex: 0 0 100%;
    }

    .banner {
        width: 100%;
        height: 150px;
        margin-right: 20px;
        border-radius: 20px;
        background-size: cover;
        background-position: center;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    }

    .banner-div {
        width: 90%;
        max-width: 500px;
        overflow: hidden;
        margin: auto;
    }
}

@media (min-width: 992px) {
    #carousel-track {
        display: block;
        width: 100%;
    }

    .carousel-item {
        width: 100%;
        flex: 0 0 49%;
    }

    .banner {
        width: 100%;
        height: 200px;
        margin-right: 20px;
        border-radius: 20px;
        background-size: cover;
        background-position: center;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    }

    .banner-div {
        width: 1000px;
        overflow: hidden;
        margin: auto;
    }
}

.bgtophome {
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    background-size: cover;
    text-align: center;
    align-content: center;
}

@media (max-width: 992px) {
    .hometitle {
        color: white;
        font-weight: 400;
        font-size: 50px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .hometext {
        color: white;
        font-size: 15px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (min-width: 992px) {
    .hometitle {
        color: white;
        font-weight: 500;
        font-size: 60px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .hometext {
        color: white;
        font-size: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
}



.blogtitle {
    color: #0693bc;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-condizioni {
        padding: 0;
        margin-top:10px;
    }
}
@media (min-width: 768px) {
    .footer-condizioni {
        text-align-last: end;
        padding-right:8%;
    }
}

/*NAVBAR*/
.selezionato {
    color: #0693bc !important;
}

.navbar-nav .nav-link {
    color: #3d494e;
    background-color: white !important;
    font-weight: bold;
    font-size: 16px;
}

.navbar {
    background-color: white !important;
    z-index: 2;
}

    .navbar.fixed-top {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }


    .navbar .navbar-nav .nav-link {
        color: #3d494e;
        margin: 0px;
    }

        .navbar .navbar-nav .nav-link:hover {
            color: #0693bc;
        }

.navbar-toggler-icon {
    /*filter: invert(36%) sepia(86%) saturate(903%) hue-rotate(178deg) brightness(92%) contrast(91%);*/ /*colore svg bottone*/
}

#navbarLogo {
    height: 70px;
    margin-top: 5px;
    display: block;
}

/*NAVBAR LARGE SCREEN*/
@media (min-width: 767px) {
    .navbar-nav .nav-link {
        font-weight: bold;
        text-align: center;
        padding-top: 10px;
        color: #3d494e;
        border: none;
        background-color: transparent;
    }

    div#navbarNavAltMarkup {
        margin-right: 10%;
    }
}

/* NAVBAR SMALL SCREEN */
@media (max-width: 767px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }

    .navbar-nav {
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        width: 100%;
    }

        .navbar-nav .nav-link {
            font-weight: bold;
            padding: 20px;
            color: #3d494e;
            border: none;
            background-color: white;
            width: 100%;
            box-sizing: border-box;
        }

            .navbar-nav .nav-link:hover {
                color: #0693bc;
                background-color: #F7F7F7 !important;
            }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        transition: none !important;
    }

        .navbar-collapse ul {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-around;
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }

        .navbar-collapse.show {
            display: block;
        }

    #navbarLogo {
        display: block;
    }

    button.navbar-toggler {
        border: none;
        z-index: 999;
        display: unset !important;
    }

        button.navbar-toggler:focus {
            box-shadow: none;
            outline: none;
        }

    .nav-dropdown-sm.collapsing, .nav-dropdown-sm.collapse.in {
        margin-top: 120px;
        -webkit-transition: none;
    }

    .navbar-dropdown .hamburger-icon {
        width: 23px;
    }
}
