body {
    background-image: url("../../assets/images/background3.jpg");
    background-size: cover;
    height: 100%;
    position: static;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media screen and (max-width: 769px) {
    body {
        background-image: url("../../assets/images/background_telephone.jpg");
        background-size: cover;
        height: 100%;
        position: static;
        background-repeat: no-repeat;
    }
}

.montserrat-font {
    font-family: "montserrat";
}

@font-face {
    font-family: "montserrat";
    src: url("../../styles/guests/fonts/Montserrat-Regular.ttf");
}

.custom-container {
    background-color: rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    color: #fff;
}

.content-vide {
    display: flex;
    height: 8vh;
}

h1:first-child {
    background-color: #016146;
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.commune-panel {
    background-color: #fff;
    height: 46vh;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.5s;
}

.commune-notation {
    color: #fff;
    position: absolute;
    top: 0.3rem;
    left: 1.7rem;
    background-color: #016146;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 50%;
}

.commune-panel:hover {
    transform: scale3d(1.05, 1.05, 1.05);
    transition: 0.5s;
}

.commune-panel .commune-box {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.commune-panel .commune-info {
    background-color: #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-bottom: 1rem;
}

.commune-panel .commune-name {
    color: #fff;
    background-color: #016146;
    width: 100%;
    height: 5vh;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.commune-panel .commune-box .commune-imgBx {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 4px;
    padding: 3px;
    border: 2px solid #016146;
    border-radius: 50%;
    overflow: hidden;
}

.commune-panel .commune-box .commune-imgBx .commune-logo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #016146;
    font-size: 1.75rem;
    font-weight: 400;
    animation-name: animateLogoText;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.commune-panel .commune-box .commune-imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.commune-townhall {
    color: #000;
    text-align: center;
}

.commune_tel {
    color: #000;
}

.commune_maire {
    color: #000;
    text-align: center;
}

.btn-custom,
.btn-custom:hover {
    background-color: #016146;
    color: white;
    text-decoration: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(80, 77, 77, 0.8);
    color: white;
}

.table-striped tbody tr:nth-of-type(odd) a {
    color: rgb(15, 112, 202);
}

.table-striped tbody tr:nth-of-type(even) a {
    color: rgb(15, 112, 202);
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: rgb(255, 255, 255);
}

table {
    table-layout: fixed;
}

.commune-thead2 {
    width: 75%;
}

.commune-thead1 {
    width: 5%;
}

.commune-thead3 {
    width: 20%;
    text-align: center;
}

.commune-table-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.commune-table-column h6 {
    font-size: 1rem;
}

tbody tr td:nth-child(3) {
    text-align: center;
}

@media screen and (max-width: 769px) {
    .commune-thead1 {
        width: 12%;
    }

    .commune-thead2 {
        width: 50%;
    }

    .commune-thead3 {
        width: 38%;
    }

    .btn-custom {
        font-size: 0.75rem;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

.commune-box .commune-imgBx {
    position: relative;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    padding: 3px;
    border: 2px solid #016146;
    border-radius: 50%;
    overflow: hidden;
}

.commune-box .commune-imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.table td {
    vertical-align: middle;
}

.commune_tel_link {
    text-decoration: underline;
}

@media (min-width: 769px) and (max-width: 899px) {
    .commune-panel {
        height: 50vh;
    }

    .commune-panel .commune-box .commune-imgBx {
        width: 120px;
        height: 120px;
    }

    .commune-townhall, .commune_maire {
        font-size: 1rem;
    }

    .commune-info div a {
        margin-right: 0.3px;
        margin-left: 0.3px;
        font-size: 0.7rem;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .commune-panel {
        height: 50vh;
    }

    .commune-panel .commune-box .commune-imgBx {
        width: 120px;
        height: 120px;
    }

    .commune-townhall,
    .commune_tel,
    .commune_maire {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }
}

@media screen and (min-width: 1200px) {
    .commune-panel {
        height: 60vh;
    }
}

@media screen and (min-width: 1680px) {
    .commune-panel {
        height: 33vh;
    }
}

#infoModal .modal-body {
    color: black;
}

.exclamation-box {
    display: flex;
    width: 90px;
    height: 90px;
    border: 3px solid #d37109;
    border-radius: 50%;
    /* overflow: hidden; */
    align-items: center;
    justify-content: center;
    animation-name: animateExclamationBox;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    transition: all 2s linear;
    animation-timing-function: linear;
    animation-direction: alternate-reverse;
}

.exclamation-box i {
    font-size: 2.2rem;
    color: #d37109;
}

.preloader {
    display: -ms-flexbox;
    display: flex;
    background-color: #dce1e6;
    height: 100vh;
    width: 100%;
    transition: height 200ms linear;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
}

@keyframes animateLogoText {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes animateExclamationBox {
    0% {
        transform: rotate(0);
    }
    20% {
        transform: rotate(50deg);
    }
    40% {
        transform: rotate(120deg);
    }
    60% {
        transform: rotate(200deg);
    }
    70% {
        transform: rotate(150deg);
    }
    80% {
        transform: rotate(250deg);
    }
    90% {
        transform: rotate(210deg);
        transform: skewY(5deg);
    }
    100% {
        transform: rotate(360deg);
        transform: scale3d(1.05, 1.05, 1.05);
        transform: skewY(0);
    }
}
