﻿a {
    color: #d80010
}

    a:hover {
        color: black
    }

.dropdown_a {
    color: black !important
}

    .dropdown_a:hover {
        color: white !important;
        background-color: #d80010 !important;
    }

.dropdownButton {
    background-color: #d80010;
    color: white;
}

.dt-add-btn {
    color: white !important;
    background-color: #d80010;
}

.page-item.active .page-link {
    background-color: #d80010 !important;
    border: 1px solid white;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn:focus, .btn:active {
    outline: none !important; /* Varsayılan odak çerçevesini kaldır */
    box-shadow: none !important;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #d80010 !important;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.page-link {
    color: black !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    top: 50%;
    left: 5px;
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: block;
    position: absolute;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New",Courier,monospace;
    line-height: 1em;
    content: "\2b";
    background-color: black;
}

/*input[readonly] {
    background-color: white !important;*/ /* Arka planı beyaz yap */
    /*border: 1px solid #d80010;*/ /* Sınır rengini ayarlayın */
/*}

input[disabled] {
    background-color: white !important;*/ /* Arka planı beyaz yap */
    /*border: 1px solid #d80010;*/ /* Sınır rengini ayarlayın */
/*}

select[disabled] {
    background-color: white !important;*/ /* Arka planı beyaz yap */
    /*border: 1px solid #d80010;*/ /* Sınır rengini ayarlayın */
/*}*/

/* Opsiyonel: Farklı stiller ekleyebilirsiniz */
/*input[readonly]:focus {
    outline: none;*/ /* Focus olduğunda outline'ı kaldır */
    /*border-color: #007bff;*/ /* Border rengini mavi yap */
/*}*/


/* Disabled select box */
/*select[disabled] {
    background-color: white !important;*/ /* Arka planı beyaz yap */
    /*border: 1px solid #d80010 !important;*/ /* Sınır rengini kırmızı yap */
    /*color: #d80010 !important;*/ /* Yazı rengini kırmızı yap */
/*}*/

    /* Disabled option (list items) */
    /*select[disabled] option {
        background-color: white !important;*/ /* Arka planı beyaz yap */
        /*color: #d80010 !important;*/ /* Yazı rengini kırmızı yap */
    /*}


.disabled {
    pointer-events: none;
    cursor: not-allowed;
    background-color: white !important;*/ /* Arka planı beyaz yap */
    /*color: #d80010 !important;*/ /* Yazı rengini kırmızı yap */
/*}*/



.select2-readonly + .select2-container .select2-selection--single {
    background-color: #e9ecef !important;
    border-color: #d4d4d4 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none; /* Select2'nin tıklanmasını tamamen engeller */
}


input:read-only:not([type="file"]) {
    background-color: #e9ecef !important;
    border-color: #d4d4d4 !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

textarea:read-only {
    background-color: #e9ecef !important;
    border-color: #d4d4d4 !important;
    color: #666 !important;
    cursor: not-allowed !important;
}


div.read-only {
    pointer-events: none; /* Fare tıklama, seçme ve diğer etkileşimleri engeller */
    user-select: none; /* Metin seçmeyi engeller */
}

.swal2-confirm {
    box-shadow: inset 0 0 0 transparent !important; /* Kırmızı tonunda bir gölge */
}

.swal2-cancel {
    box-shadow: inset 0 0 0 transparent !important; /* Mavi tonunda bir gölge */
}

.swal2-deny {
    box-shadow: inset 0 0 0 transparent !important; /* Mavi tonunda bir gölge */
    background-color: #d80010 !important;
}

.swal2-popup {
    border: none !important;
    border-radius: 20px !important;
}

.btn-danger {
    color: #fff;
    background-color: #d80010 !important;
    border-color: black !important;
    box-shadow: none;
}

/* Yatay kaydırma konteyneri */
.image-scroll-container {
    display: flex; /* Flexbox düzeni */
    overflow-x: auto; /* Yatay kaydırma */
    padding: 10px 0; /* Üst ve alt boşluk */
    gap: 2px; /* Resimler arasındaki boşluk */
    box-shadow: none !important;
}


.iBtn {
    color: #d80010;
    cursor: pointer;
}

.iBtn:active {
    color: black
}

.iBtnAdd {
    color: #07a314;
    cursor: pointer;
}

    .iBtnAdd:active {
        color: #8fb392
    }

/*Tablo içinde bulunan datetime picker saçma sapan yerlerde açılmasını önler.*/
.table td { 
    position: relative;
}

.disabled-select {
    background-color: #d5d5d5;
    opacity: 0.5;
    border-radius: 3px;
    cursor: not-allowed;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

    select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
        background: #eee;
        box-shadow: none;
    }

    select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow,
    select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
        display: none;
    }


.swal2-loader {
    display: none;
    align-items: center;
    justify-content: center;
    width: 3em !important;
    height: 3em;
    margin: 0 1.875em !important;
    -webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
    animation: swal2-rotate-loading 1.5s linear 0s infinite normal !important;
    border-width: 0.25em;
    border-style: double !important;
    border-radius: 100% !important;
    border-color: white transparent #d80010 transparent !important;
}

.swal2-loading {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0,100%);
    width: 32em;
    max-width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.3rem;
    background: transparent !important;
    color: #545454;
    font-family: inherit;
    font-size: 1rem;
}

    .swal2-loading .swal2-html-container {
        z-index: 1;
        justify-content: center;
        margin: 1em 1.6em 0.3em;
        padding: 0;
        overflow: auto;
        color: white !important;
        font-size: 1.3em;
        font-weight: 400;
        line-height: normal;
        text-align: center;
        word-wrap: break-word;
        word-break: break-word;
    }

.must-label {
    color: white;
    background-color: #d80010;
    border-radius: 5px;
    padding: 1px;
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px !important;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1500px !important;
    }
}
