@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background: linear-gradient(to right, #0056b3, #007bff, #0056b3);
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #666, #333, #666);
    padding: 10px 0;
    position: relative;
}

nav a {
    position: relative;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
}

nav a:hover {
    color: #007bff;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

nav .facebook-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

nav .facebook-icon img {
    width: 24px;
    height: 24px;
}

.text-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    background-color: #2c2c2c;
    border: 1px solid #666;
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
}

.text-box.show {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-left: auto;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.details-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.details-button:hover {
    background-color: #0056b3;
}

.bg-light.box-container {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    width: 100%; /* Nagyobb méretű kép */
}

.map-container {
    margin-top: 30px;
}

.full-width-bg {
    background-color: #007bff; /* Ugyanaz a kék szín, mint a felső sávban */
    color: white;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 20px 0;
}

.grey-bg {
    background: linear-gradient(to right, #666, #333, #666); /* Ugyanolyan szürke átmenet, mint a navbarban */
    color: white;
    width: 100%;
    padding: 10px 0; /* Csökkentett padding */
}

.left-align {
    text-align: left; /* Balra igazított szöveg */
}

.map-container iframe {
    border: 2px solid #007bff; /* Kék körvonal a Google Maps körül */
    border-radius: 10px; /* Lekerekített sarkok */
}

.custom-header {
    display: inline-block;
    vertical-align: middle;
}

.custom-header + img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    nav a {
        padding: 14px 20px;
    }
    footer {
        padding: 15px 0;
    }
    .card-container {
        justify-content: center;
    }
    .card {
        width: 30%;
        max-width: 200px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav a {
        padding: 10px 15px;
    }
    footer {
        padding: 20px 0;
    }
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 80%;
        max-width: 200px;
    }
}
.custom-grey-box {
    background-color: #d9d9d9; /* Halványabb szürke */
    color: #333;
    border-radius: 5px;
    margin-top: 40px;
}

.custom-blue-header {
    color: #007bff; /* Kék színű h4 */
    font-family: 'Playfair Display', serif;
}
.equal-size {
    width: 100%;
    height: 500px; /* Állítsa be a kívánt magasságot azonos méretű képekhez */
    object-fit: cover; /* Biztosítja, hogy a kép aránya megmaradjon */
    margin-bottom: 20px; /* Margó a szürke vonal és a kép között */
}
.carousel-control-prev.outside-control,
.carousel-control-next.outside-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; /* Biztosítja, hogy a nyilak a képen kívül jelenjenek meg */
}

.carousel-control-prev.outside-control {
    left: -50px; /* Nyíl balra kívül */
}

.carousel-control-next.outside-control {
    right: -50px; /* Nyíl jobbra kívül */
}
#popup {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 300px;
    padding: 10px;
    background-color: #ffffff; /* Világos háttér */
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none; /* Kezdetben rejtett */
    border-radius: 15px;
}

#popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
}
/* Navbar beállítások */
.navbar {
    background-color: #f8f9fa; /* Világosszürke háttér */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Halvány árnyék */
}

/* Dropdown menü beállítások */
.dropdown-menu {
    background-color: #ffffff; /* Fehér háttér a menüben */
    border: 1px solid #ddd; /* Finom szegély */
    border-radius: 8px; /* Lekerekített sarkok */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Árnyék a kiemelésért */
}

/* Dropdown menü elemek */
.dropdown-item {
    color: #343a40; /* Sötétszürke szöveg */
    padding: 10px 20px; /* Kényelmesebb kattintható terület */
    font-size: 15px; /* Elegáns betűméret */
    transition: background-color 0.3s ease, color 0.3s ease; /* Lágy színváltozás animáció */
}

/* Dropdown elem hover-effektus */
.dropdown-item:hover {
    background-color: #007bff; /* Kiemelés kék színnel */
    color: #ffffff; /* Fehér szöveg */
}

/* Linkek a navbarban */
.nav-link {
    color: #343a40; /* Sötétszürke szöveg */
    font-weight: 500; /* Félkövér szöveg */
}

.nav-link:hover {
    color: #007bff; /* Kiemelés kék színnel */
}

/* Általános navbar szöveg stílus */
.navbar .navbar-nav .nav-item {
    margin: 0 10px; /* Tágabb távolság a menüelemek között */
}
@media (max-width: 768px) {
    #popup {
        top: 50%; /* Felugró ablak középre vertikálisan */
        left: 50%; /* Felugró ablak középre horizontálisan */
        transform: translate(-50%, -50%); /* Pontos középre igazítás */
        width: 90%; /* Szélesség a képernyőmérethez igazítva */
        padding: 15px; /* Tágabb tér a kényelem érdekében */
    }
}
/* General styling for the news section */
.news-section {
    background-color: #d4d3d3;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

/* Styling for each news item */
.news-item-1, .news-item-2, .news-item-3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Styling for images */
.news-image-1, .news-image-2, .news-image-3 {
    width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Text styling */
.news-item-1 p, .news-item-2 p, .news-item-3 p {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Reszponzív beállítások telefonra */
@media (max-width: 768px) {
    .news-item-1, .news-item-2, .news-item-3 {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-image-1, .news-image-2, .news-image-3 {
        width: 100%;
        height: auto;
    }

    .news-item-1 p, .news-item-2 p, .news-item-3 p {
        font-size: 1rem;
    }
}


h3.text-center {
    font-size: 2rem; /* Large and eye-catching title size */
    font-weight: bold;
    color: #0056b3; /* Blue title color */
    margin-bottom: 30px; /* Space below the title */
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, #ffffff, #f5f5f5);
    padding: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.15);
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    text-align: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .cookie-banner-text {
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
    line-height: 1.5;
  }
  
  .cookie-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
  }
  
  .cookie-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
  }
  
  .cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
  }
  
  .cookie-accept-button,
  .cookie-decline-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 18px;
    margin: 5px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
  }
  
  .cookie-accept-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  
  .cookie-decline-button {
    background-color: #dc3545;
  }
  
  .cookie-decline-button:hover {
    background-color: #b52a3b;
    transform: scale(1.05);
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* Az akadálymentesítést tartalmazó konténer */
.accessibility-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
  }
  
  /* Akadálymentes mód gomb stílusa */
  .accessibility-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .accessibility-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
  }
@media (max-width: 600px) {
    .accessibility-button {
        padding: 8px;
        font-size: 24px; /* Nagyobb ikonméret */
        width: 40px;
        height: 40px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        white-space: nowrap; /* Megakadályozza a sortörést */
    }

    .accessibility-button::before {
        content: "♿"; /* Csak az ikon jelenik meg */
        font-size: 24px;
    }

    .accessibility-button {
        font-size: 0; /* Eltünteti a gomb szövegét */
    }
}



.health-window {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 24px; /* Nagyobb belső tér a szélekhez */
    font-family: Arial, sans-serif;
    color: #333;
    max-width: 80%; /* Az egész elem szélességének csökkentése */
    margin: 0 auto; /* Középre igazítás */
}

.image-content {
    flex: 1;
    text-align: left;
}

.image-content img {
    max-width: 90%; /* Kép méretének csökkentése */
    height: auto;
    border-radius: 8px;
    margin-left: 10px; /* Kis margó a bal szélen */
}

.text-content {
    flex: 2;
    text-align: justify;
    padding: 20px;
    margin: 10px;
}

.text-content h2 {
    color: #007bff;
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
}
@media (max-width: 600px) {
    .health-window {
        flex-direction: column; /* Mobilon egymás alá kerülnek az elemek */
        text-align: center;
        padding: 15px;
    }

    .image-content img {
        max-width: 100%; /* Mobilon a kép teljes szélességű lesz */
        height: auto; /* Megőrzi az arányait */
    }

    .text-content h2 {
        font-size: 18px; /* Kisebb címméret */
    }

    .text-content p {
        font-size: 14px; /* Kisebb szövegméret */
    }
}

.hospital-info {
    background-color: #333; /* Sötétszürke háttér */
    color: #fff; /* Fehér szöveg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.hospital-title {
    font-size: 28px;
    font-weight: bold;
}

.hospital-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #007bff; /* Sárga kiemelés */
}

.info-links a {
    color: #007bff; /* Sárga linkek */
    text-decoration: none;
}

.info-links a:hover {
    text-decoration: underline;
}

.eeszt-container {
    margin-top: 20px;
}

.eeszt-text {
    font-size: 16px;
}

.eeszt-image {
    max-width: 150px; /* A kép kisebb lesz */
    height: auto;
    margin-top: 10px;
}
/* Általános beállítások a dobozokhoz */
/* Kártyák alapesztétikája */
.card {
    background-color: #f9f9f9;
    border: 2px solid #007bff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Hover effektus */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 123, 255, 0.3);
}

/* Színezett háttér minden boxhoz */
.diagnostics,
.emergency-care,
.social-work,
.job-listings {
    background-color: #e3f2fd;
}



@media (max-width: 767px) {
    .row > .col-md-6 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .card {
        text-align: center;
        min-height: 200px;
        padding: 20px;
        align-items: center;
        justify-content: flex-start;
        width: 90%;
        margin: 0 auto 20px;
    }

    .card h2 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .card-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .card .btn {
        width: 100%;
        font-size: 1rem;
        margin-top: 15px;
    }

    .card-body {
        padding: 0;
    }
}


.waiting-list-info {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}
.betegjogi-kepviselo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 130px;
}

/* Szöveg formázása */
.betegjogi-szoveg {
    flex: 1;
    max-width: 60%;
}

/* Kép formázása */
.betegjogi-kep img {
    max-width: 300px;
    height: auto;
    margin-left: 20px;
}

/* Mobilnézet: ha a képernyő szélessége 768px vagy kisebb */
@media screen and (max-width: 768px) {
    .betegjogi-kepviselo {
        flex-direction: column; /* Elemek egymás alá kerülnek */
        margin: 0 20px; /* Kisebb margó mobilon */
    }

    .betegjogi-kep img {
        margin-left: 0; /* Kép ne legyen eltolva */
        margin-bottom: 20px; /* Kép és szöveg közé térköz */
    }
}
h3{

text-align: center;
}









  
  
  
  
  


