@font-face {
    font-family: 'Urbanist';
    src: url("/site/customwebfonts/Urbanist-SemiBold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: 'Urbanist';
    src: url("/site/customwebfonts/Urbanist-ExtraBold.ttf") format("truetype");
    font-weight: 900;
}

.img-thumbnail:hover {
    cursor: pointer;
}

body.modal-open {
    padding-right: 0 !important; /* Prevent shifting by overriding default padding */
}

/* Optional: Restore scrolling if you prefer the body to be scrollable when the modal is open */
body.modal-open {
    overflow-y: auto !important;
}


.modal-content .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1050;
    background-color: black;  /* Solid black background */
    color: white;             /* White 'x' symbol */
    border: none;             /* Remove any default border */
    border-radius: 0.25rem;   /* Rounded corners */
    padding: 0.5rem 0.8rem;   /* Padding around the 'x' for better clickability */
    cursor: pointer;          /* Pointer cursor on hover */
    opacity: 0.7;             /* Slightly transparent for better aesthetics */
}

.modal-content .btn-close:hover {
    opacity: 1;               /* Full opacity on hover for better interaction feedback */
}

.icon-row {
    margin-top: 30px !important;
    display: grid;
    justify-content: space-evenly;
    /* Yatayda eşit aralıklı hizalama */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    /* auto-fit kullanılarak öğeler genişletilir */
    gap: 10px;
}

.icon-box {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    /* Kutu genişliğini sabitler */
    height: 160px;
    /* Kutu yüksekliğini sabitler */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Geçiş animasyonu */
    box-sizing: border-box;
    /* Padding ve border'ı genişlik ve yüksekliğe dahil eder */
}

.icon-box:hover {
    transform: scale(1.2);
    /* Kutuyu orijinal boyutunun %10 daha büyük yapar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Gölge efektini artırır */
    margin: 0px;
    /* Büyüdüğünde özgün konumunda kalmak için margin sıfırlanır */
    z-index: 1;
    /* Öğeyi üst katmana taşır */
}

.icon-box h5 {
    font-size: 12px;
    white-space: nowrap;
    /* Metni tek satırda tutar */
    overflow-wrap: break-word;
    /* Uzun kelimeyi yeni satıra geçirir */
    line-height: 1.2;
    /* Satır yüksekliği */
    margin: 0;
    padding: 0 5px;
    /* Sağdan ve soldan padding */
    transition: color 0.3s;
    /* Renk değişimi animasyonu */
}

.icon-box img {
    width: 100px;
    /* İkon genişliği */
    height: 100px;
    /* İkon yüksekliği */
    margin-bottom: 0.5em;
    /* İkon ile başlık arası boşluk */
    transition: filter 0.3s;
    /* Renk değişimi için animasyon */
}

.icon-box {
    /* Diğer stil tanımlamaları */
}

.icon-box:hover {
    transform: scale(1.1);
    /* Kutuyu orijinal boyutunun %10 daha büyük yapar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Gölge efektini artırır */
}


/* Ekran boyutuna göre stil değişiklikleri */
@media (max-width: 1200px) {
    .icon-row {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        /* auto-fit ile uyumlu hale getirildi */
    }
}

@media (max-width: 768px) {
    .icon-row {
        grid-template-columns: repeat(2, 1fr);
        /* İki sütunlu grid */
        gap: 5px;
        /* Kutular arası daha az boşluk */
        margin-top: 0px;
        margin-bottom: 15px;
    }

    .icon-box {
        margin: 0;
        /* Kutular arası boşluğu azaltır */
        width: auto;
        /* Kutunun içeriğine göre genişlemesine izin ver */
        height: auto;
        /* Yüksekliği de içeriğe göre ayarla */
        padding: 0.5em;
        /* Daha az padding */
    }

    .icon-box img {
        width: 80px;
        /* Mobil görünüm için ikon genişliği */
        height: 100px;
        /* Mobil görünüm için ikon yüksekliği */
    }

    .icon-box h5 {
        font-size: 11px;
        /* Mobil görünüm için metin boyutu */
    }
}

.header-logo-right {
    position: absolute;
    /* Pozisyonunu sabitle */
    top: 20px;
    /* Header'ın üst kısmına */
    left: 150px;
    /* Sol tarafta */
    height: 50px;
    /* Logo yüksekliğini ayarlayın */
    padding-right: 20px;
    /* Eğer kenardan biraz içeride olmasını istiyorsanız */
    display: flex;
    /* Flexbox kullanarak içerikleri hizalayın */
    align-items: center;
    /* Dikey hizalamayı ortala */
    z-index: 1000;
    /* Logo diğer içeriklerin üstünde olsun diye */
}

.header-logo-right img {
    height: 100%;
    /* Logo div'inin yüksekliğine göre ayarlanır */
}

/* Mobil cihazlar için media query */
@media (max-width: 768px) {
    #logo {
        display: flex;
        margin-left: 20px;
    }

    .header-logo-right {
        position: absolute;
        /* Pozisyonunu sabitle */
        top: 15px;
        /* Header'ın üst kısmına */
        left: 60px;
        /* Sol tarafta */
        display: flex;
        /* Flexbox kullanarak içerikleri hizalayın */
        align-items: center;
        /* Dikey hizalamayı ortala */
        z-index: 1000;
        /* Logo diğer içeriklerin üstünde olsun diye */
    }

}

.portfolio-item-wrap {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .portfolio-item-wrap:hover {
        pointer-events: none;
    }
}

.background-gradient {
    background: linear-gradient(to right, #002E71, #0D408B, #002E71);
    /* Updated gradient with new blue shades */
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #f6f6f6 !important; */
    background-color: rgba(214, 214, 214, 0.2);
    /* Hover durumunda görünür hale gelir, karanlık bir arka plan rengi */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    /* İlk başta gizli olacak */
    transition: opacity 0.3s ease;
    /* Geçiş efekti */
}


#footerbar .row>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#footerbar img {
    max-width: 100%;
    /* Ensures images do not overflow their container */
}

.social-icons ul {
    display: flex;
    padding: 0;
    list-style: none;
}

.social-icons ul li {
    margin: 0 5px;
}

@media (max-width: 768px) {
    #announcement_div {
        padding: 2px !important;
    }

    #footerbar .col-md-8 {
        flex-direction: column;
        align-items: center;
    }

    #footerbar .social-icons {
        margin-top: 10px;
        /* Adds some space between items on smaller screens */
    }

    #footerbar .col-md-2,
    #footerbar .col-md-8 {
        flex: 0 0 100%;
        /* Forces columns to stack on smaller screens */
        max-width: 100%;
    }

    #footerbar .col-md-2 img {
        width: 50%;
        /* Mobil cihazlarda resmin genişliğini %50 yap */
    }

    .footerlogo {
        width: 50% !important;
        /* Mobil cihazlarda resmin genişliğini %50 yap */
    }

    #footer {
        text-align: center !important;
    }

    .page-title h1 {
        text-align: center;
        font-size: 24px;
        /* Mobilde h1 başlığının boyutunu küçült */
        margin-top: 1rem;
        /* Üstten boşluk azalt */
    }

    .page-title h3 {
        text-align: center;
        font-size: 18px;
        /* Mobilde h3 başlığının boyutunu küçült */
    }

    .breadcrumb ul {
        text-align: center;
        font-size: 14px;
        /* Mobilde breadcrumb font boyutunu küçült */
    }

    .breadcrumb li {
        text-align: center;
        padding: 0 5px;
        /* Mobilde breadcrumb padding'i azalt */
    }

    .container {
        text-align: center;
        padding-left: 15px;
        /* Mobilde container sol padding'i azalt */
        padding-right: 15px;
        /* Mobilde container sağ padding'i azalt */
    }

    .col-md-2 img {
        height: 300px !important;
        /* Mobilde logonun yüksekliğini azalt */
    }


}

/*

1. Add your custom Css styles below
2. Place the this code in your template:

 <link href="css/custom.css" rel="stylesheet">

*/

.icon-row {
    margin-top: 0px;
    padding-top: 50px;
    display: grid;
    justify-content: space-evenly;
    /* Yatayda eşit aralıklı hizalama */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    /* auto-fit kullanılarak öğeler genişletilir */
    gap: 10px;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    /* Kutu genişliğini sabitler */
    height: 160px;
    /* Kutu yüksekliğini sabitler */
    padding: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Geçiş animasyonu */
    box-sizing: border-box;
    /* Padding ve border'ı genişlik ve yüksekliğe dahil eder */
}

.icon-box:hover {
    transform: scale(1.2);
    /* Kutuyu orijinal boyutunun %10 daha büyük yapar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Gölge efektini artırır */
    margin: 0px;
    /* Büyüdüğünde özgün konumunda kalmak için margin sıfırlanır */
    z-index: 1;
    /* Öğeyi üst katmana taşır */
}

.icon-box h5 {
    font-size: 12px;
    white-space: nowrap;
    /* Metni tek satırda tutar */
    overflow-wrap: break-word;
    /* Uzun kelimeyi yeni satıra geçirir */
    line-height: 1.2;
    /* Satır yüksekliği */
    margin: 0;
    padding: 0 5px;
    /* Sağdan ve soldan padding */
    transition: color 0.3s;
    /* Renk değişimi animasyonu */
}

.icon-box img {
    width: 100px;
    /* İkon genişliği */
    height: 100px;
    /* İkon yüksekliği */
    margin-bottom: 0.5em;
    /* İkon ile başlık arası boşluk */
    transition: filter 0.3s;
    /* Renk değişimi için animasyon */
}

.icon-box {
    /* Diğer stil tanımlamaları */
}

.icon-box:hover {
    transform: scale(1.1);
    /* Kutuyu orijinal boyutunun %10 daha büyük yapar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Gölge efektini artırır */
}


/* Ekran boyutuna göre stil değişiklikleri */
@media (max-width: 1200px) {
    .icon-row {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        /* auto-fit ile uyumlu hale getirildi */
    }
}

@media (max-width: 768px) {
    .icon-row {
        grid-template-columns: repeat(2, 1fr);
        /* İki sütunlu grid */
        gap: 5px;
        /* Kutular arası daha az boşluk */
        margin-top: 0px;
        margin-bottom: 15px;
    }

    .icon-box {
        margin: 0;
        /* Kutular arası boşluğu azaltır */
        width: auto;
        /* Kutunun içeriğine göre genişlemesine izin ver */
        height: auto;
        /* Yüksekliği de içeriğe göre ayarla */
        padding: 0.5em;
        /* Daha az padding */
    }

    .icon-box img {
        width: 80px;
        /* Mobil görünüm için ikon genişliği */
        height: 100px;
        /* Mobil görünüm için ikon yüksekliği */
    }

    .icon-box h5 {
        font-size: 11px;
        /* Mobil görünüm için metin boyutu */
    }
}

.header-logo-right {
    position: absolute;
    /* Pozisyonunu sabitle */
    top: 20px;
    /* Header'ın üst kısmına */
    left: 150px;
    /* Sol tarafta */
    height: 50px;
    /* Logo yüksekliğini ayarlayın */
    padding-right: 20px;
    /* Eğer kenardan biraz içeride olmasını istiyorsanız */
    display: flex;
    /* Flexbox kullanarak içerikleri hizalayın */
    align-items: center;
    /* Dikey hizalamayı ortala */
    z-index: 1000;
    /* Logo diğer içeriklerin üstünde olsun diye */
}

.header-logo-right img {
    height: 100%;
    /* Logo div'inin yüksekliğine göre ayarlanır */
}

/* Mobil cihazlar için media query */
@media (max-width: 768px) {
    #logo {
        display: flex;
        margin-left: 20px;
    }

    .header-logo-right {
        position: absolute;
        /* Pozisyonunu sabitle */
        top: 15px;
        /* Header'ın üst kısmına */
        left: 60px;
        /* Sol tarafta */
        display: flex;
        /* Flexbox kullanarak içerikleri hizalayın */
        align-items: center;
        /* Dikey hizalamayı ortala */
        z-index: 1000;
        /* Logo diğer içeriklerin üstünde olsun diye */
    }

}

.portfolio-item-wrap {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .portfolio-item-wrap:hover {
        pointer-events: none;
    }
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    /* Hover durumunda görünür hale gelir, karanlık bir arka plan rengi */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    /* İlk başta gizli olacak */
    transition: opacity 0.3s ease;
    /* Geçiş efekti */
}


#footerbar .row>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#footerbar img {
    max-width: 100%;
    /* Ensures images do not overflow their container */
}

.social-icons ul {
    display: flex;
    padding: 0;
    list-style: none;
}

.social-icons ul li {
    margin: 0 5px;
}

@media (max-width: 768px) {
    #footerbar .col-md-8 {
        flex-direction: column;
        align-items: center;
    }

    #footerbar .social-icons {
        margin-top: 10px;
        /* Adds some space between items on smaller screens */
    }

    #footerbar .col-md-2,
    #footerbar .col-md-8 {
        flex: 0 0 100%;
        /* Forces columns to stack on smaller screens */
        max-width: 100%;
    }

    #footerbar .col-md-2.col-sm-3 img {
        width: 50%;
        /* Mobil cihazlarda resmin genişliğini %50 yap */
    }

    .footerlogo {
        width: 50% !important;
        /* Mobil cihazlarda resmin genişliğini %50 yap */
    }

    #footer {
        text-align: center !important;
    }

    .page-title h1 {
        text-align: center;
        font-size: 24px;
        /* Mobilde h1 başlığının boyutunu küçült */
        margin-top: 1rem;
        /* Üstten boşluk azalt */
    }

    .page-title h3 {
        text-align: center;
        font-size: 18px;
        /* Mobilde h3 başlığının boyutunu küçült */
    }

    .breadcrumb ul {
        text-align: center;
        font-size: 14px;
        /* Mobilde breadcrumb font boyutunu küçült */
    }

    .breadcrumb li {
        text-align: center;
        padding: 0 5px;
        /* Mobilde breadcrumb padding'i azalt */
    }

    .container {
        text-align: center;
        padding-left: 15px;
        /* Mobilde container sol padding'i azalt */
        padding-right: 15px;
        /* Mobilde container sağ padding'i azalt */
    }

    .background-gradient .col-md-4 img {
        height: 100px !important;
        /* Mobilde logonun yüksekliğini azalt */
    }
}


/* Masaüstü ve büyük cihazlar için stil */
#logo-web {
    display: block !important;
    ;
}

#logo-mobile2 {
    display: none !important;
    ;
    /* Mobil logo varsayılan olarak gizli */
}

/* Mobil cihazlar için medya sorgusu */
@media (max-width: 768px) {

    #logo-web,
    #logo-webdark {
        display: none !important;
        ;
        /* Mobil cihazlarda masaüstü logo gizli */
    }

    #logo-mobile2 {
        display: block !important;
        /* Mobil cihazlarda mobil logo görünür */
        height: 100px;
        /* Mobil cihazlarda logonun boyutunu ayarlayın */
    }

    /* Header Extras kısmını gizlemek ya da boyutunu küçültmek için */
    .header-extras {
        margin-left: 180px !important;
    }
}


.highcharts-figure,
.highcharts-data-table table {
    min-width: 360px;
    max-width: 100% !important;
    width: 100% !important;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

#container h4 {
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
}

#container p {
    font-size: 13px;
    line-height: 16px;
}

@media screen and (max-width: 768px) {
    #chart {
        display: none;
    }
    #container h4 {
        font-size: 11px;
    }

    #container p {
        font-size: 11px;
    }
}

/* Mevcut CSS'nizdeki media sorgusunu güncelleyin veya ekleyin */
@media screen and (max-width: 768px) {

    .highcharts-figure,
    .highcharts-data-table table {
        min-width: 310px;
        /* Minimum genişliği düşürün */
    }

    .highcharts-container {
        width: 100% !important;
        height: auto !important;
    }

    .highcharts-root {
        width: 100% !important;
        height: auto !important;
    }
}

.header-banner {
    background-color: #fff;
    /* Arka plan rengi */
    padding: 10px 0;
    /* Üst ve alt boşluk */
}

.social-media-icons {
    font-size: 24px;
    /* Sosyal medya ikon boyutu */
}

.logo {
    font-size: 36px;
    /* Logo yazı boyutu */
    color: #000;
    /* Logo yazı rengi */
}

.heart-icon {
    color: red;
    /* Kalp ikon rengi */
    font-size: 24px;
    /* Kalp ikon boyutu */
}


@media (max-width: 768px) {
    #footerbar img {
        max-height: 90px;
    }
}

@media (max-width: 576px) {
    #footerbar .col-4, #footerbar .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #footerbar img {
        max-height: 80px;
    }
}

@media (max-width: 768px) {

    .logo,
    .heart-icon {
        font-size: 20px;
        /* Mobil görünümde logo ve kalp ikon boyutu */
    }
}



.directorate-widget {
    background-color: #2C3E50;  /* Deep Blue for the widget background */
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    color: #FFFFFF; /* Changed text color to white for better contrast */
}

.directorate-title {
    color: #FFEB3B; /* Retaining the bright yellow color for titles */
    font-size: 1.25rem; /* Slightly larger font size for prominence */
    text-align: center; /* Center align the title text */
    padding: 8px;
    background-color: #455A64; /* Changed to a darker shade of gray-blue for an institutional feel */
    border-bottom: 2px solid #263137; /* Bright yellow border for a pop of color */
    border-top: 2px solid #263137; /* Bright yellow border for a pop of color */
}


.directorate-title-container {
    height: 100px; /* Fixed height for title container */
    display: flex;
    align-items: center; /* Vertically center title text */
    justify-content: center; /* Horizontally center title text */
}

.directorate-list {
    margin-bottom: 5px;
    color: #D1E8FF; /* Lighter blue for list text, enhancing readability */
}

.directorate-list strong {
    color: #FFFFFF; /* White color for labels within descriptions, enhanced contrast */
}


.hover-link {
    color: white!important;
    font-size: 14px;
    display: inline-block;
    max-width: 280px;
    line-height: 1.4;
}
.hover-link:hover {
    color: lightpink!important; /* Change hover color here */
}

/* Custom styles for the unique footer layout */
.custom-footer-row {
    display: flex;
    justify-content: space-around; /* Adjusts to evenly distribute space around items */
    flex-wrap: wrap; /* Allows items to wrap in smaller screens */
}

.custom-footer-column {
    flex: 1 1 20%; /* Allows flexing with the screen size */
    margin: 0 10px; /* Provides uniform margin around columns */
    padding: 15px;
    box-sizing: border-box; /* Ensures padding and border are included in width */
    min-width: 250px; /* Minimum width for columns to maintain layout before wrapping */
}

@media (max-width: 992px) {
    .custom-footer-column {
        flex-basis: 40%; /* Adjusts two columns per row on medium devices */
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .custom-footer-column {
        flex-basis: 100%; /* One column per row on small devices */
        margin: 10px 0; /* Reduces horizontal margin on smaller screens */
    }
}




#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column; /* İçerikleri dikey olarak sırala */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    border: 5px solid #f3f3f3; /* Açık gri rengi */
    border-top: 5px solid #000051; /* Mavi renk */
    border-radius: 50%;
    width: 140px;
    height: 140px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loader p {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 400;
}
#custom-footer {
    background-color: transparent; /* Set to transparent to prevent unwanted color */
    color: aliceblue;
    padding: 0; /* Remove padding from footer itself */
}

.custom-footer-content {
    background-color: #002E71; /* Apply the footer background color here */
    padding: 20px 0;
}

.custom-widget-title {
    color: aliceblue;
}

.custom-social-icons ul {
    padding: 0;
    list-style: none;
}

.custom-social-icons ul li {
    display: inline-block;
    margin-right: 15px;
}

.custom-social-icons ul li a img {
    filter: brightness(0) invert(1);
}

.custom-logo-container img,
.custom-widget img {
    width: 100%;
}

.custom-logo-container {
    max-width: 80%; /* Adjust this value to make it smaller */
    margin: 0 auto;
}

.custom-widget img {
    max-width: 160px;
}

.custom-copyright-content {
    background-color: #0D408B !important;
    padding: 20px 0; /* Add padding for spacing */
    margin: 0; /* Ensure no extra margin is added */
}