﻿body {
    font-family: Arial, sans-serif;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -395px;
    width: 330px;
    height: 100%;
    background-color: #fff;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    overflow: hidden;
    z-index: 999;
}

    .side-menu.open {
        left: 0;
    }

.toggle-btn {
    position: fixed;
    top: 25%;
    left: 0px;
    width: 30px;
    height: 50px;
    background-color: #0099ff;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: left 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

    .toggle-btn:after {
        content: '\f7d9';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 15px;
        color: white;
        display: block;
        text-align: center;
        line-height: 50px;
    }

.side-menu.open + .toggle-btn {
    left: 350px;
}

    .side-menu.open + .toggle-btn:after {
        content: '\f00d';
        font-size: 15px;
    }

.main-content {
    width: 75%;
    margin-left: 250px;
    padding: 20px;
}

.list {
    width: 100%;
    padding-top: 20px;
}

    .list td {
        border-bottom: 1px solid #ddd;
        font-size: 14px;
        height: 25px;
    }

.listSections {
    border: none;
}

h3 {
    margin: 0px;
}

.page-break {
    page-break-before: always;
    page-break-after: avoid;
    margin: 50px 0;
    border-bottom: 1px solid #e8e8e8;
}

.ExportPDF {
    width: 800px;
    height: calc(100vh - 20px);
    padding: 10px;
    box-sizing: border-box;
    border-radius: 11px;
    border: 1px solid #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: flyIn 0.5s ease-out forwards;
}

#mapUrbanisme {
    width: 100%;
    height: 400px; /* or any fixed height */
}

.Overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

@media print {
    @page {
        size: A4;
        margin: 20mm;
    }

    body {
        -webkit-print-color-adjust: exact;
        font-family: Arial, Helvetica, sans-serif;
    }

    .page-break {
        page-break-before: always;
    }

    header, footer {
        display: none;
    }

    img {
        display: block;
    }

    text {
        display: block;
    }
}

@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8) translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

.dropdown-item {
    padding: 10px
}
/*@media (max-width: 600px) {
    #divFullContent table, #divFullContent tbody, #divFullContent tr, #divFullContent td {
        display: block;
        width: 100%;
    }
    #divFullContent td {
        box-sizing: border-box;
    }
    #divFullContent tr {
        margin-bottom: 10px;
    }
} */

.dropdown-menu {
    display: block;
    position: absolute;
    background-color: white;
    width: 230px;
    z-index: 1000;    
    font-size: 14px;
}

.btn-setting {    
    min-width: 32px;
    font-size: 14px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .btn-text {
        display: none;
    }
}
