/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --narada-color: #214a61;
    --narada-color-darker: #0b354b;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333333;
    background-color: #fff;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

h2, h3, h4, h5, h6 {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    color: var(--narada-color);
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
}

a {
    color: var(--narada-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: goldenrod;
}

label.required:after {
    content: " *";
}

/* Tables */
.orarend-table {
    width: 100%;
    margin: 0 auto;
    background-color: #f8f8f8;
}

.esemeny-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--narada-color);
    margin: 0 auto;
    background-color: #f8f8f8;
}

.esemeny-table td {
    border: 1px solid var(--narada-color);
    text-align: left;
    padding: 10px;
}

.esemeny-table td:nth-child(1),
.esemeny-table td:nth-child(2),
.esemeny-table td:nth-child(3),
.esemeny-table td:nth-child(4) {
    width: 20%;
}

/* Buttons */
.btn {
    padding: 10px 10px;
    font-size: 16px;
}
.btn-narada {
    background-color: var(--narada-color);
    border: var(--narada-color) 1px solid;
    color: white;
}

.btn-narada:hover,
.btn-narada:active,
.btn-narada:focus {
    background-color: var(--narada-color-darker);
    color: white;
}

.btn-outline-narada {
    color: var(--narada-color);
    background-color: #ffffff;
    border-color: var(--narada-color);
    font-weight: bold;
}

.btn-outline-narada:hover,
.btn-outline-narada:active,
.btn-outline-narada:focus {
    background: var(--narada-color);
    color: #ffffff;
    border-color: var(--narada-color);
}

/* Pagination */
ul.pagination .page-item .page-link {
    color: var(--narada-color);
}

ul.pagination .active .page-link {
    color: white;
    background-color: var(--narada-color);
    border-color: var(--narada-color-darker);
}

.pagination_column_header a {
    color: var(--narada-color) !important;
}

.pagination_column_header span {
    float: none !important;
}

/* App Frame */
.narada-app-frame {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: white;
    color: black;
    padding: 5px;
    margin-bottom: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    min-width: 150px;
}

/* Navbar */
.top-content {
    padding-top: 110px;
}

.navbar {
    background-color: white;
}

.navbar-brand img {
    height: 80px;
}

.nav-link {
    color: #333333;
    background-color: white;
    font-family: 'Encode Sans Condensed', sans-serif !important;
    font-weight: 400;
    font-size: 13px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    line-height: 20px;
    border: 3px solid white;
    padding: 15px;
    border-radius: 0;
}

.nav-link:hover {
    border: 3px solid white;
}

.nav-link:hover:not(.dropdown-toggle) {
    border: 3px solid var(--narada-color);
    border-radius: 0;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content;
}

.dropdown-menu .dropdown-item:hover {
    background: var(--narada-color);
    color: white;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid var(--narada-color);
}

.nav-item.hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border: 3px solid var(--narada-color);
    border-radius: 0;
}

/* Page Title */
.page_title {
    text-align: left;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* CKEditor */
.img-float-left {
    float: left;
    padding-right: 20px;
}

/* Custom Plugin */
.hibutton-plugin {
    margin-bottom: 5px;
}

/* Gallery */
.gallery-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidemenu / Courses */
.sidemenu ul, .courses ul {
    text-transform: uppercase;
}

.sidemenu .nav-link:hover,
.courses .nav-link:hover {
    color: white;
    background-color: var(--narada-color);
}

/* google calendar */
.calendar-container-desktop {
    display: none;
}
/* Responsive iFrame */
.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.responsive-iframe-container iframe,
.vresponsive-iframe-container object,
.vresponsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === Mobile Styles === */
@media (max-width: 991px) {
    html {
        scroll-padding-top: 110px;
    }

    .calendar-container-mobile {
        display: none;
    }

    .navbar {
        background-color: white;
    }

    .navbar-toggler {
        border-color: transparent;
    }

    .navbar-toggler-icon {
        background-color: transparent;
        border: none;
    }

    .navbar-collapse {
        background-color: white;
        padding-left: 0;
        padding-right: 0;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .dropdown-menu {
        display: none;
        background-color: white;
        border: none;
        box-shadow: none;
        max-height: 60vh;
        overflow-y: auto;
        left: 0 !important;
        transform: translateX(0%) !important;
        margin-top: 0 !important;
        margin-right: 10px;
    }

    .dropdown-menu::before {
        display: none;
    }



    #mobileSlider {
        display: block !important;
    }

    #hero {
        display: none !important;
    }

    .hero {
        display: none !important;
    }

    .hero h1,
    .hero p {
        font-size: 1.25rem;
    }

    .keptar [class*="col-"] {
        padding: 5px 15px;
        text-align: center;
    }

    .keptar [class*="col-"] img {
        width: 100%;
    }

    .keptar-3 .col-sm-4:first-child,
    .keptar-3 .col-sm-4,
    .keptar-3 .col-sm-4:last-child {
        text-align: center;
    }

    .keptar-3 .col-sm-4 img {
        width: 280px;
        margin-bottom: 15px;
    }

    .keptar-3 .col-sm-4:first-child {
        padding-right: 15px;
    }

    .keptar-3 .col-sm-4:last-child {
        padding-left: 15px;
    }

    .gallery-item {
        margin-bottom: 30px;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover {
        transform: scale(1.03);
    }

    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    footer.d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    footer .nav {
        justify-content: center !important;
        margin-bottom: 1rem;
    }

    footer .nav li {
        margin: 0 0.75rem;
    }

    footer .d-flex.align-items-center {
        flex-direction: column;
        line-height: 1.7;
        margin-top: 1rem;
    }
}


