﻿/* Rudra Global School header styles */
:root {
    --rudra-header-blue: #0076be;
    --rudra-header-ink: #1f2432;
    --rudra-header-white: #fff;
}

.it-header-height {
    position: relative;
    z-index: 900;
    height: 0;
    min-height: 0;
}

.it-header-area {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
}

.it-header-transparent {
    right: 0;
}

.it-header-style-2 {
    position: relative;
    margin-top: 22px;
    padding: 0 30px;
    border-radius: 10px;
    background: var(--rudra-header-white);
    box-shadow: 0 1px 4px rgba(12, 12, 13, .08);
}

@media (min-width: 1200px) {
    .it-header-area .container {
        max-width: 1200px;
    }

    .it-header-area .it-header-style-2 {
        margin-top: 22px;
    }

    .it-header-area .it-header-style-2 .it-header-menu > nav > ul {
        gap: 0;
    }

    .it-header-area .it-header-style-2 .it-header-menu > nav > ul > li {
        margin: 0 12px;
    }
}

.it-header-logo img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
}

.it-header-menu > nav > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.5vw, 25px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.it-header-menu > nav > ul > li {
    position: relative;
}

.it-header-menu a {
    color: var(--rudra-header-ink);
    font-size: 15px;
    text-decoration: none;
}

.it-header-menu > nav > ul > li > a {
    display: block;
    padding: 28px 0;
    white-space: nowrap;
}

.it-header-menu > nav > ul > li.has-dropdown > a {
    padding-right: 17px;
}

.it-header-menu > nav > ul > li.has-dropdown > a::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-70%) rotate(45deg);
}

.it-header-menu > nav > ul > li:hover > a,
.it-header-menu > nav > ul > li:focus-within > a {
    color: var(--rudra-header-blue);
}

.it-header-menu .it-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 230px;
    margin: 0;
    padding: 10px 0;
    border-radius: 6px;
    background: var(--rudra-header-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.it-header-menu li:hover > .it-submenu,
.it-header-menu li:focus-within > .it-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.it-header-menu .it-submenu a {
    display: block;
    padding: 9px 18px;
    white-space: nowrap;
}

.it-header-menu .it-submenu a:hover,
.it-header-menu .it-submenu a:focus-visible {
    color: var(--rudra-header-blue);
    background: #f3f8fc;
}

.it-header-right-action {
    display: flex;
    justify-content: flex-end;
}

.it-header-bar {
    text-align: right;
}

.it-menu-bar {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    color: var(--rudra-header-white);
    background: var(--rudra-header-blue);
    cursor: pointer;
}

.it-menu-bar > span {
    display: grid;
    width: 24px;
    height: 20px;
    margin: 0;
    line-height: 0;
    place-items: center;
    background: transparent;
}

.it-menu-bar > span svg {
    display: block;
}

.it-menu-bar:hover,
.it-menu-bar:focus-visible {
    background: #005f99;
}

.it-menu-bar:focus-visible,
.itoffcanvas button:focus-visible,
.scroll-top:focus-visible {
    outline: 3px solid #ffc107;
    outline-offset: 3px;
}

.header-sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    animation: rudra-header-slide-in .25s ease both;
}

.header-sticky .it-header-style-2 {
    margin-top: 0;
    border-radius: 0 0 10px 10px;
}

@keyframes rudra-header-slide-in {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.body-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(24, 24, 24, .65);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.body-overlay.apply {
    opacity: 1;
    visibility: visible;
}

.itoffcanvas {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: min(420px, 90vw);
    padding: 40px;
    overflow-y: auto;
    background: var(--rudra-header-white);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .35s ease, visibility .35s ease;
}

.itoffcanvas.opened {
    visibility: visible;
    transform: translateX(0);
}

.itoffcanvas__logo {
    margin: 0 45px 32px 0;
}

.itoffcanvas__logo img {
    display: block;
    width: 157px;
    max-width: 100%;
    height: auto;
}

.itoffcanvas__close-btn .close-btn {
    position: absolute;
    top: 24px;
    right: 28px;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--rudra-header-ink);
    background: transparent;
    cursor: pointer;
    font-size: 24px;
}

.it-menu-mobile ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.it-menu-mobile ul li {
    position: relative;
}

.it-menu-mobile ul li > a {
    display: block;
    padding: 13px 42px 13px 0;
    border-bottom: 1px solid rgba(31, 36, 50, .12);
    color: var(--rudra-header-ink);
    text-decoration: none;
}

.it-menu-mobile ul li > a:hover,
.it-menu-mobile ul li > a:focus-visible,
.it-menu-mobile ul li.expanded > a {
    color: var(--rudra-header-blue);
}

.it-menu-mobile ul li > .it-submenu {
    padding: 0 0 0 16px;
}

.it-menu-mobile ul li > .it-submenu[hidden] {
    display: none;
}

.it-menu-mobile ul li > .it-submenu:not([hidden]) {
    display: block;
}

.it-menu-mobile .dropdown-toggle-btn {
    position: absolute;
    top: 7px;
    right: 0;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(31, 36, 50, .15);
    border-radius: 4px;
    color: var(--rudra-header-ink);
    background: var(--rudra-header-white);
    cursor: pointer;
}

.it-menu-mobile .dropdown-toggle-btn::after {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.it-menu-mobile .dropdown-toggle-btn[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--rudra-header-white);
    background: var(--rudra-header-blue);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.scroll-top.open {
    opacity: 1;
    visibility: visible;
}

#it-loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: #e4e3e3;
    transition: opacity .4s ease, visibility .4s ease;
}

#it-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
}

#it-loading-absolute {
    width: min(280px, 70vw);
    text-align: center;
}

.it-loading-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.it-loading-content .it-loading-logo {
    max-height: 120px;
}

.it-loading-content .it-loading-icon {
    width: 32px;
    margin-top: 12px;
}

.it-loading-content span {
    display: inline-block;
    margin-top: 12px;
    color: var(--rudra-header-ink);
}

.search-popup {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(31, 36, 50, .96);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.search-popup.search-active {
    opacity: 1;
    visibility: visible;
}

.search-popup form {
    width: min(600px, 100%);
}

.search-popup .close-search {
    position: absolute;
    top: 28px;
    right: 32px;
    border: 0;
    color: var(--rudra-header-white);
    background: transparent;
    cursor: pointer;
    font-size: 28px;
}

.search-popup .form-group {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.search-popup input {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    border: 0;
    color: var(--rudra-header-white);
    background: transparent;
    font-size: 20px;
}

.search-popup input::placeholder {
    color: rgba(255, 255, 255, .75);
}

.search-popup .form-group button {
    border: 0;
    color: var(--rudra-header-white);
    background: transparent;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1199.98px) {
    .it-header-style-2 {
        padding: 15px 24px;
    }
}

@media (max-width: 767.98px) {
    .it-header-style-2 {
        margin-top: 12px;
        padding: 10px 12px;
    }

    .it-header-logo img {
        max-width: 180px;
    }

    .itoffcanvas {
        padding: 36px 28px;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .it-header-area *,
    .itoffcanvas,
    .body-overlay,
    .scroll-top,
    #it-loading {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.rudra-footer {
    padding: 0 !important;
    background: #fff;
    color: #373737;
    font-size: 15px;
    line-height: 1.7;
}

.rudra-footer .rudra-footer-tagline {
    padding: 10px 16px;
    background: #0076be;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.rudra-footer-tagline span {
    color: #ffeb3b;
    font-size: 21px;
}

.rudra-footer .it-footer-area {
    padding: 28px 0 42px;
    background: linear-gradient(180deg, #fff 10%, #e8f4fc 100%);
}

.rudra-footer-column {
    padding-top: 24px;
    padding-bottom: 24px;
}

.rudra-footer-column:not(:last-child) {
    border-right: 1px solid #d8d6d6;
}

.rudra-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.rudra-footer-logo img {
    width: 90%;
    max-width: 280px;
    height: auto;
}

.rudra-footer-description {
    margin: 0 0 20px;
    text-align: justify;
}

.rudra-footer .rudra-footer-title {
    margin: 0 0 14px;
    color: #202020;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.rudra-footer-title-spacer {
    visibility: hidden;
}

.rudra-footer-social {
    display: flex;
    gap: 10px;
}

.rudra-footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0076be;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
}

.rudra-footer-social a:hover,
.rudra-footer-social a:focus {
    background: #005b91;
    color: #fff;
}

.rudra-footer-links,
.rudra-footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rudra-footer-links li {
    margin-bottom: 8px;
}

.rudra-footer-links a,
.rudra-footer-contact a {
    color: #4f4f4f;
    text-decoration: none;
}

.rudra-footer-links a:hover,
.rudra-footer-contact a:hover {
    color: #0076be;
    text-decoration: underline;
}

.rudra-footer-contact li {
    margin-bottom: 10px;
}

.rudra-footer-contact span {
    font-weight: 600;
}

.rudra-footer-affiliation {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 8px;
    background: #fff;
}

.rudra-footer-affiliation img {
    width: 42%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.rudra-footer-affiliation p {
    margin: 0;
    padding-left: 10px;
    border-left: 1px solid #888;
    color: #222;
    font-size: 13px;
    line-height: 1.55;
}

.rudra-footer-affiliation p span {
    color: #0076be;
    text-transform: uppercase;
}

.rudra-footer .rudra-footer-copyright {
    padding: 18px 0;
    background: #000;
    color: #fff;
}

.rudra-footer-copyright p {
    margin: 0;
    color: #fff;
}

.rudra-footer-copyright a {
    color: #fff;
    text-decoration: none;
}

.rudra-footer-copyright a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .rudra-footer .it-footer-area {
        padding: 18px 0 28px;
    }

    .rudra-footer-column:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #d8d6d6;
    }

    .rudra-footer-title-spacer {
        display: none;
    }

    .rudra-footer-copyright .col-lg-6 + .col-lg-6 {
        margin-top: 8px;
    }
}

.rg-contact-page {
    color: #282d3b;
    background: #fff;
}

.rg-contact-page .rg-contact-hero {
    position: relative;
    display: flex;
    min-height: 600px;
    align-items: center;
    padding: 160px 0 80px;
    overflow: hidden;
    /* background-color: #193744;
    background-image:
        linear-gradient(rgba(8, 19, 25, 0.071), rgba(8, 19, 25, 0)),
        url("img/rudrabg1.png"); */
    background-position: center 42%;
    background-repeat: no-repeat;
    background-size: cover;
}

.rg-contact-page .rg-contact-hero::before {
    position: absolute;
    inset: 0;
    background: rgba(8, 19, 25, .6);
    content: "";
}

.rg-contact-page .rg-contact-hero .container {
    position: relative;
    z-index: 1;
}

.rg-contact-page .rg-contact-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
}

.rg-contact-breadcrumb {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 16px;
    background: #087fbd;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    list-style: none;
}

.rg-contact-breadcrumb li + li::before {
    content: "\2192";
    margin-right: 10px;
}

.rg-contact-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.rg-contact-breadcrumb a:hover {
    text-decoration: underline;
}

.rg-contact-section {
    padding: 64px 0 70px;
    background: #fff;
}

.rg-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: stretch;
}

.rg-contact-info,
.rg-contact-form-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.rg-contact-info {
    padding: 0 22px 26px;
    background: #f0f3f4;
}

.rg-contact-info-image {
    display: block;
    width: calc(100% + 44px);
    height: 250px;
    margin: 0 -22px 22px;
    object-fit: fill;
    object-position: center 52%;
}

.rg-contact-info h2,
.rg-contact-form-card h2 {
    margin: 0 0 18px;
    color: #282d3b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.rg-contact-info-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rg-contact-info-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #343a44;
    font-size: 14px;
    line-height: 1.6;
}

.rg-contact-info-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #008bd0;
    border-radius: 5px;
    color: #008bd0;
}

.rg-contact-info-list a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.rg-contact-info-list a:hover {
    color: #007fbd;
    text-decoration: underline;
}

.rg-contact-social-title {
    margin: 22px 0 10px;
    color: #282d3b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 400;
}

.rg-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rg-contact-social a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #008bd0;
    border-radius: 50%;
    color: #008bd0;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.rg-contact-social i::before {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.rg-contact-social .fa-youtube-play::before {
    content: "\f167";
}

.rg-contact-social a:hover {
    background: #008bd0;
    color: #fff;
}

.rg-contact-form-card {
    padding: 28px;
    border-right: 6px solid #087fbd;
    border-bottom: 6px solid #087fbd;
    background: #fff;
    box-shadow: 0 10px 24px rgba(28, 38, 51, .12);
}

.rg-contact-form-card h2 {
    margin-bottom: 24px;
    font-size: 25px;
    font-weight: 700;
}

.rg-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.rg-contact-field {
    min-width: 0;
}

.rg-contact-field-full {
    grid-column: 1 / -1;
}

.rg-contact-label {
    display: block;
    margin-bottom: 7px;
    color: #282d3b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.rg-contact-label span {
    color: #b54708;
}

.rg-contact-field input,
.rg-contact-field textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #dce2e7;
    border-radius: 3px;
    outline: none;
    background: #f0f3f4;
    color: #282d3b;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.rg-contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.rg-contact-field input::placeholder,
.rg-contact-field textarea::placeholder {
    color: #78818a;
    opacity: 1;
}

.rg-contact-field input:focus,
.rg-contact-field textarea:focus {
    border-color: #087fbd;
    box-shadow: 0 0 0 3px rgba(8, 127, 189, .14);
}

.rg-contact-submit {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    padding: 9px 16px;
    border: 0;
    border-radius: 5px;
    background: #087fbd;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: background-color .2s ease, transform .2s ease;
}

.rg-contact-submit:hover {
    transform: translateY(-1px);
    background: #006da6;
}

.rg-contact-submit:focus-visible,
.rg-contact-social a:focus-visible {
    outline: 3px solid #064b6c;
    outline-offset: 3px;
}

.rg-contact-map {
    height: 420px;
    margin-top: 38px;
    overflow: hidden;
    border-radius: 8px;
    background: #e8edf0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.it-section-title,
.it-section-title-2,
.it-section-title-3,
.it-section-title-4,
.it-section-subtitle,
.it-breadcrumb-title,
.heading-primary,
.elementor-heading-title,
.rr-section-title {
    font-family: "Philosopher", sans-serif !important;
}

.rg-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .rg-contact-page .rg-contact-hero {
        min-height: 280px;
        padding: 150px 0 42px;
        background-position: center;
    }

    .rg-contact-section {
        padding: 36px 0 44px;
    }

    .rg-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .rg-contact-info,
    .rg-contact-form-card {
        border-radius: 0 0 10px 10px;
    }

    .rg-contact-info {
        padding: 0 18px 22px;
    }

    .rg-contact-info-image {
        width: calc(100% + 36px);
        height: 200px;
        margin: 0 -18px 20px;
    }

    .rg-contact-form-card {
        padding: 24px 20px;
    }

    .rg-contact-fields {
        gap: 16px 12px;
    }

    .rg-contact-map {
        height: 300px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .rg-contact-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .rg-contact-field-full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rg-contact-social a,
    .rg-contact-field input,
    .rg-contact-field textarea,
    .rg-contact-submit {
        transition: none;
    }

    .rg-contact-submit:hover {
        transform: none;
    }
}

.rudra-cms-breadcrumb {
    position: relative;
    background-image: url("img/rudrabg1.png");
    background-size: cover;
    background-position: center;
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
}

.rudra-cms-breadcrumb::after {
    position: absolute;
    content: "";
    inset: 0;
    background: rgb(0 34 58 / 42%);
}

.rudra-cms-breadcrumb .container {
    position: relative;
    z-index: 1;
}

.rudra-cms-breadcrumb .it-breadcrumb-content {
    top: auto !important;
}

body .inner-banner,
body .inner-column1 {
    display: none !important;
}

body.rudra-site {
    overflow-x: hidden;
}

body.rudra-site .fb-page,
body.rudra-site .fb-page > span,
body.rudra-site .fb-page iframe {
    max-width: 100% !important;
}

body.rudra-site .fb-page {
    width: 100% !important;
    overflow: hidden;
}

body img.it-choose-5-shape-1,
body img.shape[src*="/shape/choose-"] {
    display: none !important;
}

body .inner-flex {
    display: block;
    margin: 0;
}

body .inner-column2 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 48px max(24px, calc((100% - 1200px) / 2));
    background: #fff;
}

body .inner-column2 > .page-title1,
body .inner-column2 > nav[aria-label="breadcrumb"] {
    display: none !important;
}

body .inner-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .rudra-cms-breadcrumb {
        min-height: 260px;
        padding: 105px 0 45px;
    }

    body .inner-column2 {
        padding: 32px 20px;
    }
}

body.rudra-site img,
body.rudra-site video,
body.rudra-site iframe,
body.rudra-site embed,
body.rudra-site object {
    max-width: 100%;
}

body.rudra-site table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.rudra-site th,
body.rudra-site td {
    overflow-wrap: anywhere;
}

body.rudra-site input,
body.rudra-site select,
body.rudra-site textarea,
body.rudra-site button {
    max-width: 100%;
}

#calendar-container {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 767px) {
    #calendar .fc-header-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    #calendar .fc-toolbar-chunk {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    #calendar .fc-toolbar-title {
        font-size: clamp(16px, 5vw, 22px);
    }
}

.rudra-cms-page .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rudra-cms-page .table-responsive > table {
    display: table;
    width: 100%;
}

.rudra-curriculum-page .table-responsive > .table,
.rudra-notice-board-page .table-responsive > .table {
    table-layout: fixed;
}

.rudra-curriculum-page .table-responsive th:nth-child(1),
.rudra-curriculum-page .table-responsive td:nth-child(1),
.rudra-notice-board-page .table-responsive th:nth-child(1),
.rudra-notice-board-page .table-responsive td:nth-child(1) {
    width: 12%;
}

.rudra-curriculum-page .table-responsive th:nth-child(2),
.rudra-curriculum-page .table-responsive td:nth-child(2),
.rudra-notice-board-page .table-responsive th:nth-child(2),
.rudra-notice-board-page .table-responsive td:nth-child(2) {
    width: 58%;
}

.rudra-curriculum-page .table-responsive th:nth-child(3),
.rudra-curriculum-page .table-responsive td:nth-child(3),
.rudra-notice-board-page .table-responsive th:nth-child(3),
.rudra-notice-board-page .table-responsive td:nth-child(3) {
    width: 30%;
}

.rudra-curriculum-page .table-responsive td:nth-child(3) a {
    display: inline-flex;
    min-width: 64px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}


.rudra-public-disclosure-page .table-responsive > .table {
    width: 100%;
}

.rudra-public-disclosure-page .table-responsive td:nth-child(3) a {
    display: inline-flex;
    min-width: 80px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.rudra-notice-board-page .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rudra-notice-board-page .table-responsive > .table {
    display: table;
    width: 100%;
}

.rudra-notice-board-page .table-responsive td:nth-child(3) a {
    min-width: 80px;
    min-height: 50px;
}


@media (max-width: 575.98px) {
     .rudra-responsive-document-table .table-responsive > .table,
    .rudra-notice-board-page .table-responsive > .table {
        table-layout: fixed;
    }

     .rudra-responsive-document-table .table-responsive th:nth-child(1),
    .rudra-responsive-document-table .table-responsive td:nth-child(1),
    .rudra-notice-board-page .table-responsive th:nth-child(1),
    .rudra-notice-board-page .table-responsive td:nth-child(1) {
        width: 15%;
    }
      
    .rudra-responsive-document-table .table-responsive th:nth-child(2),
    .rudra-responsive-document-table .table-responsive td:nth-child(2),
    .rudra-notice-board-page .table-responsive th:nth-child(2),
    .rudra-notice-board-page .table-responsive td:nth-child(2) {
        width: 50%;
    }

    .rudra-responsive-document-table .table-responsive th:nth-child(3),
    .rudra-responsive-document-table .table-responsive td:nth-child(3),
    .rudra-notice-board-page .table-responsive th:nth-child(3),
    .rudra-notice-board-page .table-responsive td:nth-child(3) {
        width: 35% !important;
    }

     .rudra-responsive-document-table .table-responsive td:nth-child(3) a,
    .rudra-notice-board-page .table-responsive td:nth-child(3) a {
        display: inline-flex;
        width: auto;
        min-width: 52px;
        min-height: 40px;
        padding-right: 2px;
        padding-left: 2px;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 359.98px) {
     .rudra-responsive-document-table .table-responsive td:nth-child(3) a,
    .rudra-notice-board-page .table-responsive td:nth-child(3) a {
        font-size: 11px;
    }
}

#notice-list {
    max-height: 490px;
    overflow-x: hidden;
    overflow-y: auto;
}

#notice-list > img {
    display: block;
    width: 100%;
    max-height: 490px;
    margin: 12px auto 0;
    object-fit: contain;
}

.rudra-home-notice {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 8px;
    border-bottom: 1px solid #e6edf2;
    color: #173b53;
    text-decoration: none;
}

.rudra-home-notice:hover,
.rudra-home-notice:focus-visible {
    background: #f6f9fc;
    color: #173b53;
    text-decoration: none;
}

.rudra-home-notice:focus-visible {
    outline: 2px solid var(--rudra-header-blue);
    outline-offset: -2px;
}

.rudra-home-notice__date {
    display: flex;
    flex: 0 0 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 7px 4px;
    border-radius: 6px;
    background: #edf7fc;
    color: var(--it-theme-1);
    text-align: center;
}

.rudra-home-notice__date span:first-child {
    color: #64788a;
    font-size: 9px;
    line-height: 1.2;
}

.rudra-home-notice__date strong {
    font-size: 25px;
    line-height: 1.1;
}

.rudra-home-notice__date span:last-child {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.rudra-home-notice__content {
    display: block;
    min-width: 0;
    padding: 3px 22px 3px 0;
}

.rudra-home-notice__title,
.rudra-home-notice__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.rudra-home-notice__title {
    color: #173b53;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 2;
}

.rudra-home-notice__summary {
    margin-top: 5px;
    color: #64788a;
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.rudra-home-notice__badge {
    position: absolute;
    top: 12px;
    right: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e64b52;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 767px) {
    #notice-list {
        max-height: 480px;
    }

    .rudra-home-notice {
        gap: 10px;
        padding: 12px 4px;
    }

    .rudra-home-notice__date {
        flex-basis: 58px;
    }
}
