﻿
footer .footer-menu ul li a {
    color: #d9d9d9 !important;
    font-size: 13px;
}

footer .two-column-menu li {
    float: right;
}

footer .two-column-menu li {
    float: left;
    width: 33%;
}

.social_links img {
    width: 21px;
    height: 21px;
    object-fit: cover;
}

/*------------- fixed social ----------------*/
#fixed-ico {
    position: fixed;
    top: 260px;
    left: 10px;
    float: left;
    z-index: 2 !important;
}

#fixed-ico a {
    color: #fff;
    display: block;
    float: left;
    height: 38px;
    left: 3px;
    position: relative;
    text-align: center;
    line-height: 40px;
    width: 40px;
    z-index: 1 !important;
    font-size: 13px;
    background-color: #01359c !important;
}

#fixed-ico a:hover > span {
    visibility: visible;
    left: 41px;
    opacity: 1;
}

#fixed-ico a span {
    line-height: 35px;
    left: 60px;
    position: absolute;
    text-align: center;
    width: 150px;
    visibility: hidden;
    transition-duration: 0.5s;
    z-index: 1 !important;
    opacity: 0;
}

#fixed-ico i {
    font-size: 0.92rem;
}

.fixed-01 {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    padding-top: 4px;
}

.fixed-01 span {
    background-color: #00aae5;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.fixed-02 span {
    background-color: #7d3895;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.fixed-03 span {
    background-color: #00af54;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.fixed-04 span {
    background-color: #ffb300;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.fixed-05 span {
    background-color: #ed2b29;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.fixed-06 {
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

.fixed-06 span {
    background-color: #eb1471;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.v-divider {
    border-color: rgba(0, 0, 0, 0.12);
    display: block;
    flex: 1 1 0px;
    max-width: 70%;
    height: 0px;
    max-height: 0px;
    border: dotted;
    border-width: thin 0 0 0;
    transition: inherit;
}

.links a.btn-light {
    color: #212529 !important;
    background-color: #e2e6ea !important;
    border-color: #dae0e5 !important;
}

.textcontrols i {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
}

.newsinfo,
.catinews a {
    font-size: 0.75rem;
    color: #0f0e0e;
}

.safirandv .bg-primary {
    background-color: #01359c !important;
}

.bg-darkb {
    background-color: #0b3571;
}

.DM2 .of-main-menu > ul > li > a {
    color: #fff !important;
}

.owl-link a img {
    border-radius: 20px;
    height: 100px;
    width: 100%;
    object-fit: cover;
    padding: 8px;
}

.mainmnu {
    /*box-shadow: 0px 0px 5px 1px rgb(60, 61, 62) !important;*/
    /*padding-bottom: 7px;*/
}

.MAtel .fa11 {
    line-height: 0.7;
}

.eventdv .owl-event1 .item:hover .overlay {
    border-radius: 15px;
}

.etla img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.singlleftcol img.inews {
    height: 210px;
}

@media only screen and (max-width: 576px) {
    .is-show.mobile-nav-button {
        padding-top: 15px !important;
    }

    .pxrl .is-show.mobile-nav-button {
        padding-top: 0px !important;
    }
}

@media only screen and (max-width: 340px) {
    .is-show.mobile-nav-button {
        padding-top: 7px !important;
    }
    .pxrl .is-show.mobile-nav-button {
        padding-top: 0px !important;
    }
}

/* news main page section */
.slider-row {
    display: flex;
    align-items: stretch; /* Make both columns same height */
    min-height: 500px; /* Set minimum height */
}

.slider-column {
    display: flex;
    flex-direction: column;
}

.news-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%; /* Take full height of parent */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    max-height: 500px; /* Fixed maximum height */
}

.sidebar-title {
    color: #333;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
    margin-bottom: 15px;
    flex-shrink: 0; /* Prevent title from shrinking */
}

.news-container {
    flex: 1; /* Take remaining space */
    overflow: hidden;
    position: relative;
    height: calc(100% - 60px); /* Subtract title height */
}

.news-list {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px; /* Space for scrollbar */
    margin-right: -10px; /* Hide scrollbar visual */
}

/* Custom scrollbar styling */
.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

/* Gradient shadows at top and bottom */
.news-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(
        to bottom,
        rgba(248, 249, 250, 1) 0%,
        rgba(248, 249, 250, 0) 100%
    );
    z-index: 10;
    pointer-events: none;
}

.news-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(
        to top,
        rgba(248, 249, 250, 1) 0%,
        rgba(248, 249, 250, 0) 100%
    );
    z-index: 10;
    pointer-events: none;
}

.news-item {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.news-item:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: #e9ecef;
}

.news-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.news-item img {
    object-fit: cover;
    height: 70px;
    border-radius: 6px;
}

.news-date {
    font-size: 12px;
    color: #6c757d;
}

/* New Logo Design */
.mainlogo a {
    background: #fff;
    display: block;
    position: absolute;
    margin: auto;
    height: 150px;
    top: -64px;
    width: 160px;
    left: 0;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 1px 1px 12px 0px #b3b3b34f;
}

.mainlogo img {
    height: 100% !important;
    right: 0;
    left: 0;
    margin: 0 auto;
    object-fit: contain;
}

/* new style for home */
.byadtitle {
    margin-right: 270px;
}

.slidebox .owl-item.cloned,
.slidebox .owl-item.active {
    opacity: 0.7;
    filter: grayscale(0.7);
}
.slidebox .owl-item.center {
    opacity: 1;
    filter: none;
}
.slidebox {
    width: 100%;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

.mainlogo a {
    z-index: 1999;
}

.sm-slider img {
    border-radius: 0;
}

.slider-row {
    min-height: auto;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.social-icons a {
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #28a745 !important;
}

.list-inline-item:not(:last-child) {
    margin-left: 15px;
}

.list-inline-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-inline-item a:hover {
    color: #28a745 !important;
}

.mainmnu .container-fluid {
    padding: 0 !important;
}

.mainmnu {
    background-color: #fff;
}

.mainmnu .menu-row {
    background-color: #01359c;
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: row;
}

.top-header-left {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.mainmnu .second-row {
    background-color: #ececec;
    padding-left: 20px;
    padding-right: 20px;
}

.mainmnu .first-row {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fff !important;
}

.search-mobile {
    display: none;
}

button.search-l {
    background: #2777af;
}

.main-logo a {
    width: 100px;
    text-align: center;
}

.bk-event .owl-item.cloned,
.bk-event .owl-item.active {
    opacity: 1;
}

.menu-row .search-mobile {
    background-color: transparent;
}

.newsinfo div {
    align-items: center;
}

@media (max-width: 500px) {
    .slider-column .owl-item.center .caption {
        display: block !important;
    }

    .owl-item.active .caption {
        display: block !important;
    }

    .top-header-left {
        display: none;
    }

    .search-row {
        display: none;
    }
    .slider-row {
        min-height: 270px;
    }
    .first-row .brand-text {
        width: 100%;
        padding: 0;
        max-width: 100%;
        flex: 1;
    }

    .second-row .brand-text {
        width: 100%;
        padding: 0;
        max-width: 100%;
        flex: 1;
    }

    .menu-row .search-mobile {
        font-size: 16px !important;
        padding-bottom: 5px;
    }

    .second-row .search-row {
        display: none;
    }
}

@media (min-width: 500px) and (max-width: 992px) {
    .search-row {
        display: none;
    }
}
@media (min-width: 992px) {
    .all-row {
        display: flex !important;
    }
    .slider-row {
        min-height: 270px;
    }
    .slider-column .owl-item.center .caption,
    .slider-column .owl-item.active .caption {
        display: block !important;
    }
    .all-row .col-2 {
        flex: 0 0 130px !important;
        max-width: 130px !important;
    }

    .all-row .col-10 {
        flex: 1 1 auto !important;
        max-width: calc(100% - 130px) !important;
    }
}

@media (max-width: 991px) {
    search-l {
        display: none;
    }

    .search-mobile {
        display: block;
    }

    .all-row {
        flex-direction: row;
    }

    .main-logo {
        display: ;
    }

    .social-icons {
        display: none;
    }

    .brand-text {
        font-size: 12px;
    }

    .header-date-fa,
    .header-date-en {
        display: none;
    }

    .mobile-bar {
        display: flex;
        flex-direction: row-reverse;
    }

    .menu-row {
        flex-direction: row-reverse;
    }

    .slidebox.container {
        max-width: 100% !important;
    }
}

.tabs-section {
    background-color: #f8f9fa;
    margin-bottom: 40px;
}

.tabs-container {
    padding: 30px;
}

.nav-tabs {
    border-bottom: none !important;
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 15px 30px;
    margin: 0 10px;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #007bff;
    background-color: #f8f9fa;
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: white;
    background-color: #007bff;
    border-color: #007bff;
    border-bottom: 3px solid #007bff;
}

.grid-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.item-image {
    position: relative;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-item:hover .item-image img {
    transform: scale(1.05);
}

.item-content {
    padding: 20px;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.item-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 10px 20px;
        margin: 0 5px;
        font-size: 0.9rem;
    }

    .tabs-container {
        padding: 20px;
    }

    .item-content {
        padding: 15px;
    }
}
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-wrapper.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-wrapper.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-menu-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-body {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item.active > .mobile-menu-link,
.mobile-menu-item.active > .mobile-menu-link-wrapper > .mobile-menu-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-menu-link-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    background: #f8f9fa;
    color: #667eea;
    text-decoration: none;
    padding-right: 25px;
}

.mobile-menu-link i {
    margin-left: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #667eea;
}

.menu-text {
    flex: 1;
}

.submenu-toggle {
    background: none;
    border: none;
    padding: 18px 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.submenu-toggle:hover {
    color: #667eea;
    background: #f8f9fa;
}

.submenu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-item.has-submenu.open .submenu-toggle i {
    transform: rotate(180deg);
}

.mobile-submenu {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid #e9ecef;
}

.mobile-menu-item.has-submenu.open .mobile-submenu {
    max-height: 500px;
    padding: 8px 0;
}

.mobile-submenu-item {
    position: relative;
}

.mobile-submenu-item::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.mobile-submenu-link {
    display: block;
    padding: 12px 20px 12px 50px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-submenu-link:hover,
.mobile-submenu-link:focus {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    padding-right: 25px;
}

.mobile-submenu-link::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
}

.submenu-text {
    position: relative;
    padding-right: 30px;
}

.mobile-menu-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

/* Animation for menu items */
.mobile-menu-item {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.3s ease forwards;
}

.mobile-menu-item:nth-child(1) {
    animation-delay: 0.1s;
}
.mobile-menu-item:nth-child(2) {
    animation-delay: 0.15s;
}
.mobile-menu-item:nth-child(3) {
    animation-delay: 0.2s;
}
.mobile-menu-item:nth-child(4) {
    animation-delay: 0.25s;
}
.mobile-menu-item:nth-child(5) {
    animation-delay: 0.3s;
}
.mobile-menu-item:nth-child(6) {
    animation-delay: 0.35s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RTL Support */
[dir="rtl"] .mobile-menu-content {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

[dir="rtl"] .mobile-menu-wrapper.active .mobile-menu-content {
    transform: translateX(0);
}

[dir="rtl"] .mobile-menu-link i {
    margin-left: 0;
    margin-right: 12px;
}

[dir="rtl"] .mobile-submenu-link {
    padding: 10px;
    line-height: 10px;
}

[dir="rtl"] .mobile-submenu-link::before {
    left: auto;
    right: 15px;
}

[dir="rtl"] .mobile-submenu-item::before {
    left: auto;
    right: 40px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-menu-content {
        width: 100%;
        max-width: 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .mobile-menu-content {
        background: #1a1a1a;
        color: #fff;
    }

    .mobile-menu-link {
        color: #fff;
    }

    .mobile-menu-link:hover {
        background: #333;
    }

    .mobile-submenu {
        background: #2a2a2a;
    }

    .mobile-submenu-link {
        color: #ccc;
    }

    .mobile-submenu-link:hover {
        background: #333;
        color: #fff;
    }
}

.tabs-section {
    background-image: url(../Img/sec-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.tabs-section .section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    justify-content: space-between;
}
.tabs-section .section-title {
    position: relative;
    color: #fff;
    padding-inline-start: 60px;
}
.tabs-section .section-title::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: rgb(255 255 255);
    position: absolute;
    inset-inline-start: 39px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border-radius: 200px;
    color: #fff;
}
.tabs-section .section-title::after {
    content: "";
    width: 33px;
    height: 6px;
    background-color: rgb(255 255 255);
    position: absolute;
    inset-inline-start: 0px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border-radius: 200px;
    color: #fff;
}

.tabs-section .nav-tabs {
    padding: 0;
    margin: 0;
}

.tabs-section .nav-tabs .nav-link {
    background-color: transparent;
    border: 2px solid #ac7517;
    color: #fff;
    border-radius: 10px;
    border-bottom: 3px solid #ac7517;
}

.tabs-section .nav-tabs .nav-link.active {
    background-color: #fbad26;
    border-radius: 10px;
    color: #000;
    border-bottom: 3px solid #ac7517;
}

.tabs-section .section-arch {
    justify-self: end;
    color: #fff;
    font-size: 20px;
}
.newstitle {
    margin-left: 20px;
}
.userbutton {
    background: #f0dd0e;
    color: #514351;
    padding: 5px 33px;
}

/* Fix Tab For Gallery */
/* Desktop - Default layout */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    flex: 0 0 auto;
}

.nav.nav-tabs {
    flex: 0 0 auto;
    order: 0;
}

.section-arch {
    flex: 0 0 auto;
    order: 1;
}

/* Mobile styles */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* First row: Title and Archive link */
    .section-title {
        order: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .section-arch {
        order: 2;
        align-self: flex-end;
        margin-bottom: 15px;
    }
    
    /* Second row: Navigation tabs */
    .nav.nav-tabs {
        order: 3;
        width: 100%;
        justify-content: flex-start !important;
        flex-direction: row;
        border-bottom: none;
    }
    
    /* Make nav items horizontal */
    .nav.nav-tabs .nav-item {
        flex: 0 0 auto;
        margin-right: 10px;
    }
    
    .nav.nav-tabs .nav-link {
        padding: 8px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .section-header {
        gap: 10px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .nav.nav-tabs .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .nav.nav-tabs .nav-item {
        margin-right: 8px;
    }
	
	
}




footer .license {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
	margin:20px 0;
}

footer .license .enamd{
	background: #ffffff;
    border-radius: 10px;
    box-shadow: -2px 4px 8px 0px #061428;
	text-align: center;
}

.p_relative .owl-item img{	
    height: 153px;
}