.home-background {
    background-image: url("../../assets/images/back2.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    position: relative;
    height: 60vh;
}

.home-first-back {
    /* background-image: url("../../assets/images/filigrane2.jpg"); */
    position: relative;
}

.homeTextContent {
    font-size: 2.7rem;
    color: #016146;
}

.home-content p {
    font-size: 1.5rem;
}

.visitors-count {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.visitors-count h6 {
    text-align: center;
    color: #fff;
    font-size: 1.37rem;
    background-color: #0a6b2e;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    box-shadow: 0 7px 20px #ccc;
}

@media screen and (max-width: 780px) {
    .visitors-count {
        bottom: 2rem;
        right: 1rem;
        justify-content: right;
    }

    .visitors-count h6 {
        text-align: center;
        color: #fff;
        font-size: 0.8rem;
        background-color: #0a6b2e;
        padding: 0.5rem 0.8rem;
        border-radius: 5px;
        box-shadow: 0 7px 20px #ccc;
    }
}

.custom-hr {
    background-color: #555;
    height: 0.15vh;
    width: 70%
}

.custom-flash-info {
    background-color: #ddd;
    width: 100%;
}

.custom-bar {
    display: flex;
    margin-bottom: 1.3rem;
    padding: 0.8rem;
    font-size: 1.2rem;
    white-space: nowrap;
    width: 100%;
    align-items: center;
}

.custom-bar h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.2rem;
    background-color: #f20;
    color: #fff;
    padding: 0.5rem 0.4rem;
    border-radius: 4px;
    width: 110px;
    z-index: 3;
}

.flash-info {
    width: 100%;
    overflow-x: hidden;
    padding-left: 0.9rem;
    z-index: 1;
}

.flash-info-box {
    animation-name: marquee;
    animation-duration: 30s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@media screen and (max-width: 780px) {
    .flash-info-box {
        animation-name: marqueeSm;
        animation-duration: 80s;
        animation-delay: 1.5s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        animation-fill-mode: forwards;
    }
}

.flash-info span span {
    font-weight: 700;
    display: inline;
}

.flash-info .first-span {
    margin-right: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-140%);
    }
}

@keyframes marqueeSm {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1250%);
    }
}

.home-filter-logo {
    position: absolute;
    top: 2rem;
    left: 10rem;
}

.home-filter-logo img {
    width: 16%;
    border-radius: 50%;
    /* animation-name: rotateLogo;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite; */
}

.home-filter-welcome {
    position: absolute;
    top: 13.8rem;
    left: 2.5rem;
    width: 45%;
}

.home-filter-welcome h4{
    font-size: 2.45rem;
    text-align: center;
    color: white;
}

.home-filter-welcome h4 .letter {
    display: inline-block;
    line-height: 1em;
}

@media screen and (min-width: 1680px) {
    .home-background {
        height: 54vh;
    }

    .home-filter-welcome h4{
        font-size: 2.55rem;
        text-align: center;
        color: white;
    }
}

.home-filter {
    right: 0;
    left: 0;
    bottom: 0.95rem;
    position: absolute;
    display: flex;
    justify-content: center;
}

.home-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.home-filter img {
    padding-top: 2.7rem;
    width: 60%;
    margin-bottom: 1rem;
}

.montserrat-font {
    font-family: "montserrat";
}

@font-face {
    font-family: "montserrat";
    src: url("../../styles/guests/fonts/Montserrat-Regular.ttf");
}

.home-filter h3 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.home-filter h5 {
    font-size: 1.5rem;
    font-weight: 500;
}

.home-townhall-link {
    margin-top: 1rem;
}

@media screen and (max-width: 769px) {
    .home-background {
        background-image: url("../../assets/images/back_tel3.jpg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top;
        position: relative;
        height: 38vh;
    }

    .homeTextContent {
        font-size: 2.3rem;
    }

    .home-filter {
        bottom: 2rem;
    }

    .home-filter-logo {
        position: absolute;
        top: 1.4rem;
        left: 1rem;
    }

    .home-filter-logo img {
        width: 28%;
        border-radius: 50%;
        /* animation-name: rotateLogo;
        animation-duration: 5s;
        animation-timing-function: linear;
        animation-iteration-count: infinite; */
    }

    .home-filter-welcome {
        position: absolute;
        top: 8rem;
        left: 1rem;
        width: 66%;
    }

    .home-filter-welcome h4{
        font-size: 1.1rem;
        text-align: center;
        color: white;
    }

    .home-filter-welcome h4 .letter {
        display: inline-block;
        line-height: 1em;
    }

    .home-filter {
        background-color: rgba(255, 255, 255, 0.7);
        padding: 1rem 0;
    }

    .home-filter img {
        width: 100%;
    }

    .home-filter h3 {
        font-size: 1.8rem;
    }

    .home-filter h5 {
        font-size: 1.2rem;
        text-align: center;
        font-weight: 500;
    }

    .info-panel h4 {
        font-size: 1.8rem;
    }
}

.info-panel {
    background-image: linear-gradient(
        to bottom right,
        #016146 0%,
        #0a6b2e 30%,
        #118a39 50%,
        #8fb603 70%,
        #ced108 85%,
        #d7e128 100%
    );
    border-radius: 15px;
    padding: 15px 10px;
    box-shadow: 4px 5px 6px rgba(158, 214, 173, 0.3);
    color: white;
}

.info-panel p {
    font-size: 1.2rem;
    margin-top: 1.5px;
}

.info-panel .homeTextContent {
    font-size: 2.7rem;
}

.info-panel h5 {
    font-size: 1rem;
}

.pub-place {
    background-image: linear-gradient(
        to bottom right,
        #016146 0%,
        #0a6b2e 30%,
        #118a39 50%,
        #8fb603 70%,
        #ced108 85%,
        #d7e128 100%
    );
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    height: auto;
}

.spot-panel {
    text-align: center;
    height: 50vh;
    margin-top: 1.5rem;
    position: relative;
}

.spot-panel iframe {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(
        to bottom right,
        #016146 0%,
        #0a6b2e 30%,
        #118a39 50%,
        #8fb603 70%,
        #ced108 85%,
        #d7e128 100%
    );
}

.spot-panel video {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(
        to bottom right,
        #016146 0%,
        #0a6b2e 30%,
        #118a39 50%,
        #8fb603 70%,
        #ced108 85%,
        #d7e128 100%
    );
}

@media screen and (min-width: 770px) {
    .spot-panel, .spot-panel iframe, .spot-panel video {
        height: 40vh;
    }
}

.spot-info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 25%;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 10px;
}

/* .spot-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
} */

.spot-image {
    background-size: cover;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.section-title h5 {
    text-transform: uppercase;
    padding: 0.5rem 0.7rem;
    /* border-radius: 20px; */
    background-color: white;
    color: #016146;
    font-size: 1.5rem;
}

.section-title2 h5 {
    text-transform: uppercase;
    padding: 0.5rem 0.7rem;
    /* border-radius: 20px; */
    background-color: #016146;
    color: white;
    font-size: 1.5rem;
}

.actu-commune {
    background-color: #f7f2f5;
    position: relative;
}

.actu-panel {
    transition: all 0.3s;
    cursor: pointer;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
    padding-top: 0.7rem;
}

/* .actu-panel:hover {
    transform: scale3d(1.05, 1.05, 1.05);
    transition: 0.3s;
} */

.actu-image {
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    height: 28vh;
    position: relative;
}

.actu-text {
    padding: 0.5rem 0.7rem;
    height: 28vh;
    /* border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px; */
    background-color: #fff;
}

@media screen and (max-width: 769px) {
    .actu-text {
        height: auto;
        background-color: #fff;
    }
}

@media screen and (min-width: 1680px) {
    .actu-text {
        height: 21vh;
        background-color: #fff;
    }
}

.actu-name {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 0.7rem;
    background-color: #f20;
    color: #fff;
}

.actu-name h6 {
    font-size: 0.8rem;
}

.actu-title {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 1rem;
    text-transform: uppercase;
}

.actu-button {
    display: flex;
    justify-content: center;
}

.actu-plus {
    font-weight: 700;
}

.actu-plus a, .actu-plus a:hover {
    text-decoration: none;
    color: #000;
}

.actu-plus::after {
    content: "\2192";
    padding-left: 0.4rem;
    font-size: 1.2rem;
}

.seeAllActu::after {
    content: "\2192";
    padding-left: 0.4rem;
}

@media (min-width: 993px) and (max-width: 1150px) {
    .actu-title {
        font-size: 0.8rem;
    }
}

.all-actu {
    background-image: linear-gradient(
        to bottom right,
        #016146 0%,
        #0a6b2e 30%,
        #118a39 50%,
        #8fb603 70%,
        #ced108 85%,
        #d7e128 100%
    );
}

.partner-place {
    background-image: url("../../assets/images/filigrane2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    position: relative;
    /* background-attachment: fixed; */
}

.partner-place-filter {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    height: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.partner-content .partner-box {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.partner-content .partner-box .partner-imgBx {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    padding: 3px;
    border: 2px solid #016146;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
}

.partner-content .partner-box .partner-imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media screen and (min-width: 1470px) {
    .partner-content .partner-box .partner-imgBx {
        width: 170px;
        height: 170px;
    }

    .actu-image {
        height: 25vh;
    }

}

.footer-place {
    background-color: #016146;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    height: auto;
    color: white;
}

.bySearchLink {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-size: 1.2rem;
    color: #016146;
    transition: all 0.5s;
    text-transform: uppercase;
}

.bySearchLink:hover {
    background-color: #016146;
    color: #ffce15;
    transition: 0.5s;
}

.bySearchLink span {
    color: #000;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.5s;
    text-transform: none;
}

.bySearchLink:hover span {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.5s;
}

#communes .modal-body {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    padding-top: 0;
    padding-bottom: 0;
}

#communes .modal-body hr {
    margin: 0;
}

#communes .modal-body hr:last-child {
    margin: 0 0 0.5rem 0;
}

@keyframes rotateLogo {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}



.button-customized {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    flex-direction: column;
}

/* .button-customized::before {
    background-size: 4.5rem 4.5rem;
    position: absolute;
    left: 50px;
    opacity: 0.09;
    width: 4.5rem;
    height: 4.5rem;
    content: "";
    transform: rotate(10deg);
    transition: all 0.3s;
} */

.button-description {
    font-size: 0.7rem;
    font-style: italic;
    color: black;
    font-weight: 800;
    text-transform: lowercase;
}

.button-section-title {

    display: block;
    width: 100%;
    margin-top: 0;
}

.button-title {
    font-size: 1.1rem;
    background-color: #016146;
    color: white;
    padding-left: 0.34rem;
    padding-right: 0.34rem;
}

/* .button-customized:hover span {
    color: white;
} */

/* .buttons .btn-1::before {
    background-image: url("../../assets/images/town.png");
} */

/* .buttons .btn-2::before {
    background-image: url("../../assets/images/town-hall.png");
}

.buttons .btn-3::before {
    background-image: url("../../assets/images/contact.png");
}

.buttons .btn-4::before {
    background-image: url("../../assets/images/localisation.png");
}

.buttons .btn-5::before {
    background-image: url("../../assets/images/website.png");
}

.buttons .btn-6::before {
    background-image: url("../../assets/images/affaires.png");
}

.buttons .btn-7::before {
    background-image: url("../../assets/images/marche.png");
}

.buttons .btn-8::before {
    background-image: url("../../assets/images/jumelage.png");
}

.buttons .btn-9::before {
    background-image: url("../../assets/images/administration.png");
} */

.btn-custom-outline {
    color: #016146 !important;
    background-color: transparent !important;
    border: 2px solid #016146 !important;
}

.btn-custom-outline:hover,
.btn-custom-outline:focus,
.btn-custom-outline:active,
.btn-custom-outline:active:focus,
.btn-custom-outline.active {
    color: white !important;
    background-color: #016146 !important;
    border-color: transparent !important;
    transition: all 0.33s;
}

.btn-custom-outline:not([disabled]):not(.disabled):active,
.btn-custom-outline:not([disabled]):not(.disabled).active,
.show>.btn-custom-outline.dropdown-toggle {
    background-color: transparent !important;
    border-color: #016146 !important;
    -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
}

.btn-custom-outline:not([disabled]):not(.disabled):active:focus,
.btn-custom-outline:not([disabled]):not(.disabled).active:focus,
.show>.btn-custom-outline.dropdown-toggle:focus {
    -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
}

.button-customized:hover.button-customized::before {
    transform: scale3d(1.2, 1.2, 1.2);
    opacity: 0.17;
    transition: all 0.3s;
}

/* @keyframes button-animated {
    0% {
        background-image: linear-gradient();
    }
} */

.carte-togo {
    width: 100%;
    transition: all 0.3s;
}

@media screen and (max-width: 769px) {
    .carte-togo {
        width: 90%;
    }
}




