/* ******************************* MOBIL ***************************** */
/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

@media (max-width: 640px) {

    /* __________________Meniu Mobil_____________________________ */
    .sidenav {
        height: 100%;
        width: 35%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: cornflowerblue;
        overflow-x: hidden;
        padding-top: 20px;
        z-index: 999;
    }

    /* Style the sidenav links and the dropdown button */
    .sidenav a,
    .dropdown-btn {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        font-size: 20px;
        color: floralwhite;
        display: block;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        outline: none;
        display: flex;
        font-size: 1rem;
    }


    /* On mouse-over */
    .sidenav a:hover,
    .dropdown-btn:hover {
        color: #0b0b0b;
    }

    /* Main content */
    .main {
        margin-left: 200px;
        /* Same as the width of the sidenav */
        font-size: 20px;
        /* Increased text to enable scrolling */
        padding: 0px 10px;
    }

    /* Add an active class to the active dropdown button */
    .active {
        background-color: green;
        color: white;
    }


    /* Optional: Style the caret down icon */
    .fa-caret-down {
        float: right;
        padding-right: 8px;
    }

    /* ______________________________________________________________ */
    .middle-row {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;

    }

    .declaratii .page-title {
        font-size: 20px;
    }

    .waterpage-link {

        font-size: 0.9rem;
    }

    .waterpage-section-title {
        font-size: 1.5rem;
    }

    .waterpage-group-title {

        margin-bottom: 1rem;
    }

    .lawpage-link {
        font-size: 0.9rem;
    }

    .lawpage-wrap h2 {
        font-size: 1.2rem;
    }

    .declaratii .year>summary {

        font-size: 15px;
    }

    .declaratii .report a.title {
        font-size: 0.8rem;
    }

    .audienta-name {
        font-size: 1rem;
    }

    .info544-wrap {
        width: 100%;
        margin: 0 auto;
    }

    .info544-lead {
        font-size: 1rem;
    }

    .info544-subtitle {
        font-size: 1.2rem;
    }

    .info544-time-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .grid-2-anunturi {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        margin: auto;
    }

    .carte-vizita2 {
        width: 100%;
        height: auto;
        padding: 1% 1%;
        margin: auto;
    }

    .carte-vizita2 img {
        width: 80%;
        height: auto;
    }

    .doc-actions-wrap-light {
        width: 80%;
        margin: 0 auto;
        padding: 24px;
    }

    .doc-actions-card-light {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }

    .doc-actions-title-light {
        margin-left: 3%;
        font-size: 1rem;
    }

    .doc-btn-light {
        font-size: 0.8rem;
        margin: auto;
    }

    .centre-card {
        width: 85%;
        margin: 0 auto;
        border-radius: 22px;
        padding: 1rem;
    }

    .header_top_inner {
        width: 100%;
    }

    #mobile-nav-toggle {
        display: block;
    }

    .sidelinks {
        width: 90%;
        margin: 0.5em;
        display: flex;
    }

    .sidelinks-stanga {
        padding: 1em;
        text-align: left;
        background-color: #3eb8d7;
        width: 50%;
        height: auto;
    }

    .fader {
        width: 100%;
        height: auto;
        animation-name: fader;
        animation-duration: 1.5s;
    }

    .text {
        color: #f2f2f2;
        font-size: 1em;
        position: absolute;
        bottom: 50px;
        left: 0;
        width: 100%;
        text-align: center;
        font-weight: 600;
    }

    .prev,
    .next {

        top: 2.8em;
    }

    .next {
        right: 6.7rem;
        border-radius: 0 3px 3px 0;
    }

    .fader img {
        height: auto;
        margin: 1em auto;
    }

    .header_bottom_right {
        display: none;
    }

    .header_bottom_inner {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 6.5rem;
        width: fit-content;
    }

    .header_bottom_left a {
        color: white;
        display: flex;
        align-items: center;
        font-size: 0.8rem;
        font-weight: 600;
        width: 50%;
        position: fixed;
    }

    .header_bottom_left img {
        width: 30%;
        display: flex;

    }

    .meta_wrap {
        display: block;
        font-size: 80%;
        width: 45%;
        margin: 1rem 0 1.2rem 0;
    }

    .side-icons {
        display: inline-block;
        position: fixed;
        left: 80%;
    }

    .permanenta-table th,
    .permanenta-table td {
        padding: 1rem 0.1rem;
    }

    .permanenta-table {

        font-size: 80%;
    }

    .integritate-wrap {
        width: 95%;
        margin: 0 auto;
    }

    .waterpage-main {
        width: 100%;
        padding: 1rem;
    }

    .anunturi-page-wrap {
        width: 100%;
        margin: 0 auto;
        padding: 1rem;
    }

    .buget-page {
        width: 100%;
        padding: 1rem;
    }

    .buget-page .wrap {
        width: 100%;
        margin: 0 auto;
    }

    .doc-actions-right-light {
        flex-wrap: wrap;
    }

    .lawpage-main {
        width: 100%;
        padding: 1rem;
    }

    .page-avize-autorizari .doc-link {
        font-size: 70%;
    }

    .avize .info-box__title {
        font-size: 15px;
    }

    .avize .info-box__body p {

        font-size: 13px;

    }

    .buget-page .buget-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .buget-page .year {
        width: 100%;
    }

    .middle-row-inner {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem auto;
        align-items: center;
    }

    .middle-cards {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin: auto;
        padding: 0 1rem;
    }

    .colored-card {
        height: auto;
        width: 33.3%;
        padding: 2rem;
    }

    .comunicat-presa {
        width: 100%;
        display: flex;
        margin: 1rem auto;
        flex-wrap: wrap;
        padding: 1em;
    }

    .comunicat-presa .comunicat-container {
        width: 80%;
        height: auto;
        background-color: #ffffff;
        padding: 10px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        margin: 1rem auto;
    }

    .despre-noi {
        width: 100%;
        padding: 0.5rem;
        margin: 1rem auto;
    }

    .despre-noi h2 {
        font-size: 28px;
        line-height: 40px;
        font-weight: 400;
        color: #3065b5;
        margin: 1rem auto;
        text-align: center;
    }

    .sidelinks-dreapta h3 {
        font-size: 1rem;
        width: 70%;
        font-weight: normal;
        font-style: normal;
        color: #3eb8d7;

    }

    footer .info {
        font-size: 1.5vw;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 1% 3%;
        width: 100%;
    }

    .fb-embed {
        display: none;
    }

    .grid-2 {
        display: grid;
        grid-template-columns: 1fr;
        width: 80%;
        margin: 1% auto;
    }

    .site-vechi-header p {
        margin-top: 21%;
        font-weight: 700;
        font-size: 80%;
    }

    .asista-iconita {
        width: 100%;
        background-color: green;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        border-radius: 10px;
        margin: 0.35rem 0;
    }

    .asista-iconita p {
        color: whitesmoke;
        font-size: 80%;
        text-align: center;
        font-weight: 600;
    }

    #id_asistap {
        width: 10rem;
        margin: 1.1rem auto 0;
        display: inline-flex;
        height: 100%;
    }

    #asistaclass p {
        font-size: 70%;

    }

    .asistadiv {
        height: 3em;
        width: 0;
    }

    .asistadiv p {
        display: none;
    }

    .icon-box-heading {
        color: rgba(58, 58, 58, 0.6);
        font-size: 15px;
        line-height: 20px;
        font-weight: normal;
        font-style: normal;
    }

    .icon-box-text span {
        color: #2a2d32;
        font-size: 15px;
        font-weight: normal;
        font-style: normal;
    }

    #icon-box {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 10px auto;
    }

    .middle-cards {
        display: grid;
        grid-template-columns: 1fr;
        margin: 1em auto;
    }

    .colored-card {
        height: auto;
        width: 75%;
        padding: 1rem;
        margin: auto;
    }

    .colored-card a img {
        position: initial;
        width: 100%;
        padding: 0;
        object-fit: cover;
        margin: 0;
        height: -webkit-fill-available;
    }

    .despre-noi h2 {
        font-size: 20px;
        line-height: 40px;
        font-weight: 400;
        color: #3065b5;
        margin: 0.5em auto;
        text-align: center;
        padding: 0;
    }

    .despre-noi p {
        text-indent: 30px;
        font-size: 85%;
        color: #747474;
    }

    .header_bottom_left {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
        left: 4rem;
    }

    .header_bottom_left img {
        width: 3.5rem;
        display: flex;
    }

    .openbtn {
        position: fixed;
        left: 1.5rem;
        z-index: 997;
        font-size: 2rem;
        background: none;
        border: none;
        background: rgba(255, 250, 240, 0.78);
        padding: 1px 10px;
        border-radius: 10px;
        color: cornflowerblue;
    }

    .dropdown-btn>a {
        color: #262626;
    }

    .dropdown-content {
        min-width: 0;
        width: 100%;
    }

    .dropbtn {
        width: 100%;
    }

    .header_bottom_left p {
        color: floralwhite;
        margin: 0 0 0 0.5em;
    }

    .sidelinks {
        flex-wrap: wrap;
        width: 100%;
        margin: auto;
        display: flex;
    }

    .sidelinks-stanga {
        padding: 0.5em;
        text-align: left;
        background-color: #3eb8d7;
        width: 100%;
        height: auto;
    }

    .sidelinks-dreapta {
        width: 100%;
        height: 110%;
        text-align: left;
        margin: 0.5em auto;
    }

    footer .info {
        font-size: 80%;
        display: grid;
        grid-template-columns: 1fr;
        padding: 1% 3%;
        width: 100%;
    }

    .design {

        font-size: 2vw;
    }

    /* ------------------------------------- */
    .dsp-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dsp-card {
        width: 80%;
        align-items: center;
        margin: auto;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .pdf-title {
        font-size: 0.8rem;
    }

    .pdf-card__actions {
        font-size: 0.8rem;
        width: min-content;

    }

    .grid {
        grid-template-columns: 1fr;
    }

    .docs {
        grid-template-columns: 1fr;
    }

    .page-program .program-grid {
        grid-template-columns: 1fr;
    }

    .page-tarife .top-grid {
        grid-template-columns: 1fr;
    }

    .page-rapoarte-activitate .acc__content {
        font-size: 0.8rem;
    }

    .page-laborator-tarife .doc-card {
        font-size: 0.9rem;
    }

    .page-bugete .doc-list--grid {
        grid-template-columns: 1fr;
    }

    .rapoarte .wrap {
        display: grid;
        grid-template-columns: 1fr;
    }

    .resurse-umane .cards {
        display: block;
        /* grid-template-columns: 1fr; */
    }

    .card {
        width: 75%;
        margin: auto;
        align-items: center;
    }

    .proiecte details.card {
        width: 100%;
    }

    .proiecte .list {
        margin: auto;
    }

    .evaluare-sanatate .line {
        width: 100%;
    }

    .content-section {
        margin: 1rem auto;
    }

    .one-line-links {
        width: 100%;
    }

    .info-card__left {
        display: block;
        align-items: flex-start;
        gap: 14px;
        min-width: 0;
    }

    .badge {
        margin: 1em auto;
    }

    .registru-unic li {
        word-break: break-word;
        white-space: pre-line;
    }

    .page-audiente .audienta-row {
        display: block;
    }

    .page-audiente .audienta-time {
        text-align: left;

    }

    .div-contact {
        min-width: 90%;
    }

    .form-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        column-gap: 7rem;
        padding: 2%;

    }

    .petitie-upload__label {
        font-size: 1rem;
        margin: 0 0 12px;
    }

    .puncte-lucru-v2 .puncte-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .puncte-lucru-v2 .punct-k,
    .punct-v {
        font-size: 0.7rem !important;
    }

    /* Fixed sidenav, full height */
    .sidenav {
        height: 100%;
        width: 15rem;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: rgba(100, 148, 237, 0.94);
        overflow-x: hidden;
        padding-top: 20px;
        z-index: 999;
    }

    .container-side {
        padding: 1rem;
        margin: 2rem auto;
    }

    /* Style the sidenav links and the dropdown button */
    .sidenav a,
    .dropdown-btn {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        font-size: 20px;
        color: floralwhite;
        display: block;
        border: none !important;
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        outline: none;
        display: flex;
        font-size: 1rem;
        font-weight: 300;
        word-break: break-word;

    }

    /* On mouse-over */
    .sidenav a:hover,
    .dropdown-btn:hover {
        color: #f1f1f1;
    }

    /* Main content */
    .main {
        margin-left: 200px;
        font-size: 20px;
        padding: 0px 10px;
    }

    .culoare-despre-noi.active,
    .culoare-despre-noi>.dropdown-btn.active {
        color: floralwhite;
        box-shadow: inset 2px 2px 3px 2px orange;
    }

    .culoare-informatii-publice.active,
    .culoare-informatii-publice>.dropdown-btn.active {
        color: floralwhite;
        box-shadow: inset 2px 2px 3px 2px lightskyblue;

    }

    .culoare-documente-utile .active,
    .culoare-documente-utile>.dropdown-btn.active {
        color: floralwhite;
        box-shadow: inset 2px 2px 3px 2px darkseagreen;
    }




    .culoare-sanatate-publica.active,
    .culoare-sanatate-publica>.dropdown-btn.active {
        color: floralwhite;
        box-shadow: inset 2px 2px 3px 2px aliceblue;

    }

    .culoare-contact.active,
    .culoare-contact>.dropdown-btn.active {
        box-shadow: inset 2px 2px 3px 2px orange;
        color: floralwhite;
    }

    .dropdown-content {
        min-width: 13rem;
    }

    .fa-caret-down {
        float: right;
        padding-right: 8px;
    }

    .inchide-meniu {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 2rem;
        height: 2rem;
        border-radius: 5px;
        border: 1px solid slategrey;
        font-size: 1.5rem;
        color: slategrey;
    }


    .closebtn {
        position: absolute;
        top: 10px;
        right: 25px;
        font-size: 36px;
        color: white;
        text-decoration: none;
    }

    .blurred {
        filter: blur(8px);
        -webkit-filter: blur(8px);
        pointer-events: none;
        transition: filter 0.3s ease;
        width: 100%;
        height: 100%;
        background-color: rgba(1, 1, 1, 0.61);
    }

    .contact-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin: 1rem auto;
        justify-content: center;
    }

    .contact-card {
        flex: 1;
        min-width: 300px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        border-top: 4px solid #3498db;
    }

    .contact-item {
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e9ecef;
    }

    .contact-item i {
        color: #3498db;
        width: 30px;
        font-size: 1.2em;
    }

    .contact-item strong {
        color: #2c3e50;
    }

    .contact-item a {
        color: #2980b9;
        text-decoration: none;
        font-weight: 500;
    }

    .contact-item a:hover {
        text-decoration: underline;
    }

    .map-responsive {
        margin-top: 40px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .map-responsive iframe {
        width: 100%;
        height: 400px;
        display: block;
    }



}


/* ******************************* TABLETA ***************************** */
@media (min-width: 641px) and (max-width: 980px) {
    .meta_wrap {
        display: block;
        font-size: 80%;
        width: 45%;
        margin: 1rem 0 1.2rem 0;
    }

    .header_bottom_left p {
        color: floralwhite;
        margin: 0 0 0 0.5em;
    }

    .rapoarte .wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .middle-row-inner {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .sidelinks {
        width: 90%;
        margin: 0.5em;
        display: flex;
    }

    .sidelinks-stanga {
        padding: 1em;
        text-align: left;
        background-color: #3eb8d7;
        width: 50%;
        height: auto;
    }

    .fader {
        width: 100%;
        height: auto;
        animation-name: fader;
        animation-duration: 1.5s;
    }

    .text {
        color: #f2f2f2;
        font-size: 1em;
        position: absolute;
        bottom: 50px;
        left: 10px;
        width: 100%;
        text-align: center;
        font-weight: 600;
    }

    .prev {
        right: 4rem;
    }

    .next {
        right: 2rem;
    }

    .fader img {
        height: auto;
        margin: 1em auto;
    }

    .header_bottom_left {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
        left: 5rem;
    }

    .header_bottom_left img {
        width: 3rem;
        display: flex;
    }

    .header_bottom_right {
        display: none;
    }

    .header_top_inner {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    #asistaclass p {
        font-size: 0.7em;
    }

    .openbtn {
        position: fixed;
        left: 1.5rem;
        z-index: 997;
        font-size: 2rem;
        background: none;
        border: none;
        background: rgba(255, 250, 240, 0.78);
        padding: 1px 10px;
        border-radius: 10px;
        color: cornflowerblue;
    }


    .middle-row-inner {
        width: 90%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem;
        align-items: flex-start;
        justify-items: flex-start;
    }

    .middle-row {
        width: 100%;
        padding: 1rem 2rem;
    }

    .middle-cards {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin: auto;
        padding: 0 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .doc-actions-wrap-light {
        width: 70%;
    }

    .doc-actions-wrap-light {
        width: 80%;
        margin: 0 auto;
        padding: 24px;
    }

    .doc-actions-card-light {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }

    .doc-actions-title-light {
        margin-left: 3%;
        font-size: 1rem;
    }

    .doc-actions-right-light {
        display: flex;
        gap: 1em;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        column-wrap: wrap;
    }

    .centre-card {
        width: 70%;
        padding: 1rem;
    }

    .colored-card {
        width: 70%;
        padding: 0;
        margin: 0;
        height: 28rem;
    }

    .info544-time-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }


    .colored-card a img {

        object-fit: cover;
    }

    .comunicat-presa {
        width: 100%;
        display: flex;
        margin: 1rem auto;
        flex-wrap: wrap;
        padding: 1em;
    }

    .comunicat-presa .comunicat-container {
        width: 80%;
        height: 15rem;
        background-color: #ffffff;
        padding: 10px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        margin: 1rem auto;
    }

    .despre-noi {
        width: 100%;
        padding: 1rem;
        margin: 1rem auto;
    }

    .despre-noi h2 {
        font-size: 28px;
        line-height: 40px;
        font-weight: 400;
        color: #3065b5;
        margin: 1rem auto;
        text-align: center;
    }

    .sidelinks-dreapta h3 {
        font-size: 1rem;
        width: 70%;
        font-weight: normal;
        font-style: normal;
        color: #3eb8d7;

    }

    footer .info {
        font-size: 1.5vw;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 1% 3%;
        width: 100%;
    }

    .comunicat-presa .comunicat-container {
        position: relative;
    }

    .btn-citeste-mai-mult {
        position: absolute;
        bottom: 1px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }

    .form-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        column-gap: 7rem;
        padding: 2%;

    }

    .prev,
    .next {
        top: 2.2rem;
    }

    .grid-2-anunturi {
        display: grid;
        grid-template-columns: auto;
        gap: 1rem;
        justify-items: center;
        margin: auto;
    }

    .carte-vizita2 {
        width: 80%;
        height: 100%;
        padding: 1em;
        margin: auto;
        outline: 2px solid #B9C2C9;
        box-shadow: 0 5px 10px 0 rgb(0 0 0 / 40%), 0 7px 20px 0 rgb(0 0 0 / 20%);
    }

    .carte-vizita2 img {
        width: 100%;
        height: auto;
    }

    .buget-page .buget-grid {
        display: grid;
        grid-template-columns: auto;
        gap: 2rem;
        align-items: start;
    }

    .contact-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin: 1rem auto;
        justify-content: center;
    }

    .contact-card {
        flex: 1;
        min-width: 300px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        border-top: 4px solid #3498db;
    }

    .contact-item {
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e9ecef;
    }

    .contact-item i {
        color: #3498db;
        width: 30px;
        font-size: 1.2em;
    }

    .contact-item strong {
        color: #2c3e50;
    }

    .contact-item a {
        color: #2980b9;
        text-decoration: none;
        font-weight: 500;
    }

    .contact-item a:hover {
        text-decoration: underline;
    }

    .map-responsive {
        margin-top: 40px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .map-responsive iframe {
        width: 100%;
        height: 400px;
        display: block;
    }

    .asista-iconita {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        border-radius: 10px;
        top: 0.35rem;
        left: -7rem;
        margin: 0;
    }

    .asistadiv {
        position: absolute;
        top: 10px;
        left: -10rem;
    }

    .side-icons {
        top: 0;
    }

}

/* ******************************* PC ***************************** */

/* ------------------------------index si meniu------------------------------------- */
@media (min-width: 981px) {
    .rapoarte .wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidenav {
        display: none;
    }

    .header_bottom_left a {
        color: white;
        display: flex;
        align-items: center;
        font-size: 80%;
        font-weight: 600;
    }

    .dropbtn {
        font-size: 80%;
        width: max-content;
    }

    .header_bottom_inner {
        display: flex;
        align-items: center;
        height: 6.5rem;
        width: 100%;
        margin: auto;
    }

    .header_bottom_right {
        width: 61%;
        display: flex;
        justify-content: space-around;
        list-style-type: none;
        align-items: center;
        font-size: 1.1rem;
        margin: auto;
    }

    .dropdown:hover .dropbtn a {
        color: rgba(0, 0, 0, 0.811);
        font-weight: 600;
        font-size: 100%;
    }

    .dropdown:hover .dropdown-content a,
    .dropdown:hover .drop-info a {
        font-size: 80%;
    }

    .dropdown:hover .menu-column-2 {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }

    .header_top_left {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .header_top_inner {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    #asistaclass p {
        font-size: 1rem;
    }

    .middle-row {
        width: 100%;
        padding: 1rem;
        margin: 1rem auto;
    }

    .middle-cards {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 1rem;
        margin: 0;
    }

    .middle-row-inner {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1em;
    }

    .comunicat-presa {
        width: 100%;
        background-color: #f6f6f6;
        padding: 2.5rem 1rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        height: auto;
        flex-wrap: wrap;
    }

    .comunicat-presa .comunicat-container {
        width: 100%;
        height: 25rem;
        background-color: #ffffff;
        padding: 1em;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .comunicat-presa .comunicat-titlu {
        font-size: 1rem;
    }

    .comunicat-presa .comunicat-container h3 {
        font-size: 0.8rem;
    }

    .comunicat-presa .comunicat-container p {
        font-size: 0.8rem;
        margin: 1em 0.5em;
        text-align: justify;
    }

    .colored-card p {
        font-size: 1.1vw;
        margin: 0;
        padding: 0;
    }

    p.apel {
        margin: 0;
        padding: 0;
        font-size: 1.2rem;
        width: 100%;
    }

    .despre-noi h2 {
        margin: 1em auto;
        text-align: center;
    }

    .despre-noi {
        width: 100%;
        padding: 1rem 2rem;
        margin: 1rem auto;
    }

    .sidelinks {
        width: 100%;
        margin: 1em auto;
        display: flex;
    }

    .sidelinks-stanga {
        padding: 1em;
        text-align: left;
        background-color: #3eb8d7;
        height: auto;
        margin: 0 0 0 1em;
    }

    .comunicat-presa .comunicat-container {
        position: relative;
    }

    .btn-citeste-mai-mult {
        position: absolute;
        bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }

    .openbtn {
        display: none;
    }

    .prev,
    .next {

        top: 2.8rem;
    }

    .declaratii .wrap {
        margin: 1rem auto;
        padding: 1rem;
    }

    .wrap {
        display: grid;
        grid-template-columns: auto;
    }

    .buget-page .wrap {
        width: 100%;
        max-width: 100%;
    }

    .lawpage-wrap {
        max-width: 90%;
    }

    .contact-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin: 1rem auto;
        justify-content: center;
        width: 80%;
    }

    .contact-card {
        flex: 1;
        min-width: 300px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        border-top: 4px solid #3498db;
    }

    .contact-item {
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e9ecef;
    }

    .contact-item i {
        color: #3498db;
        width: 30px;
        font-size: 1.2em;
    }

    .contact-item strong {
        color: #2c3e50;
    }

    .contact-item a {
        color: #2980b9;
        text-decoration: none;
        font-weight: 500;
    }

    .contact-item a:hover {
        text-decoration: underline;
    }

    .map-responsive {
        justify-items: center;
        margin-top: 40px;
        overflow: hidden;
        width: 80%;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        align-items: center;
        margin: auto;
    }

    .map-responsive iframe {
        justify-items: center;
        margin: auto;
        width: 100%;
        border-radius: 8px;
        height: 400px;
        display: block;
    }

    .asista-iconita {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        border-radius: 10px;
        top: 0;
        left: 10rem;
        margin: 0;
    }

    .asistadiv {
        position: absolute;
        top: 5px;
        left: 7rem;
    }

    .side-icons {
        top: 0;
    }
}

/* ******************************* PC MARE ***************************** */
@media (min-width: 1125px) {
    .wrap {
        display: grid;
        grid-template-columns: auto;
    }

    #header {
        width: 100%;
        position: fixed;
        /* position: absolute; */
        z-index: 100;
    }

    .openbtn {
        display: none;
    }

    .dropdown-content {
        min-width: 32rem;
    }


    .header_top_left {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        /* padding: 0 3% 0 17%; */
    }

    .header_bottom_inner {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 6.5rem;
        width: 100%;
        /* margin-left: 0.5rem; */
    }

    .header_bottom_left {
        display: flex;
        align-items: center;
        width: 21%;
    }

    .header_bottom_left a {
        color: white;
        display: flex;
        align-items: center;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .header_bottom_right {
        width: 68%;
        display: flex;
        justify-content: space-around;
        list-style-type: none;
        align-items: center;
    }

    .dropbtn {
        transition: background-color .2s ease, transform .2s ease;
        width: 9rem;
        height: 3.5rem;
        padding: 10px;
    }

    .middle-row-outer {
        padding-top: 1.3%;
        padding-bottom: 9%;
    }

    .middle-row {
        width: 100%;
        margin: 0 auto;
    }

    .middle-row-inner {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .middle-cards {
        display: flex;
        flex-direction: row;
        width: 80%;
        justify-content: center;
        margin: auto;
    }

    .colored-card {
        height: 25rem;
        width: 50%;
        padding: 2rem;
    }

    .colored-card a {
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .comunicat-presa {
        width: 100%;
        background-color: #f6f6f6;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        margin: auto;
        flex-wrap: wrap;
    }

    .comunicat-presa .comunicat-container {
        max-width: 23rem;
        height: 15rem;
        background-color: #ffffff;
        padding: 10px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .btn-citeste-mai-mult {
        position: absolute;
        bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }

    .despre-noi {
        width: 70%;
    }

    .sidelinks {
        width: 80%;
    }

    .next {
        right: -4rem;
        border-radius: 0 3px 3px 0;
    }

    .prev {
        right: -2rem;
    }

    .dropdown:hover .menu-column-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 0.5rem;
    }

    .asista-iconita {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        border-radius: 10px;
        top: 0;
        left: 10rem;
        margin: 0;
    }

    .asistadiv {
        position: absolute;
        top: 5px;
        left: 7rem;
    }

    .side-icons {
        top: 0;
    }
}

/* ******************************* PC MARE ***************************** */
@media (min-width: 1400px) {
    .header_bottom_inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 6.5rem;
        width: 100%;
        margin-left: 0.5em;
    }

    .openbtn {
        display: none;
    }

    .dropbtn {
        font-size: 1rem;
        transition: background-color .2s ease, transform .2s ease;
        width: 9rem;
        height: 3.5rem;
        padding: 10px;
    }

    .middle-cards {
        display: flex;
        flex-direction: row;
        width: 80%;
        margin-top: -5rem;
        margin: -5rem auto 1rem;
    }

    .wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .next {
        right: 8rem;
        border-radius: 0 3px 3px 0;
    }

    .prev {
        right: 10rem;
    }

    .asista-iconita {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        border-radius: 10px;
        top: 0;
        left: 10rem;
        margin: 0;
    }

    .asistadiv {
        position: absolute;
        top: 5px;
        left: 7rem;
    }

    .side-icons {
        top: 0;
    }
}