@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

.menu-no-num {
    color: #f6ad55;
    font-weight: 700;
}

html, body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
}

html, body {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 1000px) {
    html, body {
        height: auto !important;
        overflow: auto !important;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.page-box {
    margin: 3px 2px 3px 2px;
    border: 0px solid rgba(180, 180, 125, 0.2);
    border-radius: 0px;
    box-shadow: 1px 1px 2px 2px rgb(201, 204, 203);
    padding: 1px 2px 0px 1px;
}

.icon-box {
    border: 1px solid rgba(255, 0, 0, 0.123);
    border-radius: 8px;
    box-shadow: 2px 2px 3px 3px rgb(192, 195, 196);
}

    .icon-box:hover {
        background-color: antiquewhite;
        box-shadow: 3px 3px 5px 5px lightblue;
    }

    .icon-box:active {
        background-color: rgb(199, 141, 64);
    }

    .icon-box h3 {
        font-size: 26px;
    }

    .icon-box i {
        color: #fc997c;
    }

.my-h-200 {
    height: 200px;
}
.my-h-250 {
    height: 250px;
}
.my-h-300 {
    height: 300px;
}
.my-h-350 {
    height: 350px;
}

.my-h-400 {
    height: 400px;
}
.my-h-430 {
    height: 400px;
}
.my-h-450 {
    height: 450px;
}

.my-h-480 {
    height: 480px;
}

.my-h-500 {
    height: 500px;
}
.my-h-525 {
    height: 525px;
}

.my-h-550 {
    height: 550px;
}
.my-h-575 {
    height: 575px;
}

.my-h-600 {
    height: 600px;
}
.my-h-625 {
    height: 625px;
}
.my-h-650 {
    height: 650px;
}
.my-h-675{
    height: 675px;
}

.my-h-700 {
    height: 700px;
}

.my-h-750 {
    height: 750px;
}


.my-w-500 {
    width: 500px;
}

.my-w-600 {
    width: 600px;
}

.my-w-700 {
    width: 700px;
}

.my-w-750 {
    width: 750px;
}

.my-w-800 {
    width: 800px;
}

.my-w-900 {
    width: 800px;
}

.my-w-1000 {
    width: 1000px;
}

.my-w-1100 {
    width: 1100px;
}

.my-w-1200 {
    width: 1200px;
}
.my-80v {
    width: 80%;
}
.my-90v {
    width: 90%;
}
.my-100v {
    width: 100%;
}
 
/*.dxbl-grid > .dxbl-grid-toolbar-panel {
    min-height: 34px;
    padding: 3px;
}*/
.dxbl-grid > .dxbl-grid-toolbar-container {
    height: 30px;
    padding: 3px;
    min-height:30px;
} 
.grid-container {
    display: contents;
} 
.grid-toolbar-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    /* background-color: currentColor;*/
    height: 16px;
    width: 16px;
    opacity: 0.7;
} 
.grid-toolbar-export-ornek {
    -webkit-mask-image: url("../images/icons/format3.svg");
    mask-image: url("../images/icons/format3.svg");
} 
.search-icon {
    background-color: currentColor;
    width: 16px;
    height: 16px;
    mask-image: url("../images/icons/Filter.svg");
    -webkit-mask-image: url("../images/icons/Filter.svg");
    opacity: 0.6;
} 
.search-item {
    width: 10rem;
}


.my-20h {
    height: 25vh;
    max-height: 25vh;
}

.my-25h {
    height: 30vh;
    max-height: 30vh;
}

.my-30h {
    height: 35vh;
    max-height: 35vh;
}

.my-35h {
    height: 40vh;
    max-height: 40vh;
}

.my-40h {
    height: 45vh;
    max-height: 45vh;
}

.my-45h {
    height: 50vh;
    max-height: 50vh;
}

.my-50h {
    height: 55vh;
    max-height: 55vh;
}

.my-55h {
    height: 60vh;
    max-height: 60vh;
}

.my-60h {
    height: 65vh;
    max-height: 65vh;
}

.my-65h {
    height: 70vh;
    max-height: 70vh;
}

.my-70h {
    height: 75vh;
    max-height: 75vh;
}

.my-75h {
    height: 80vh;
    max-height: 80vh;
}

.my-80h {
    height: 85vh;
    max-height: 85vh;
}
.my-85h {
    height: 85vh;
    max-height: 85vh;
}

.my-90h {
    height: 95vh;
    max-height: 95vh;
}

.my-95h {
    height: 95vh;
    max-height: 95vh;
}

.my-100h {
    height: 100vh;
    max-height: 100vh;
}

@media screen and (max-height: 900px) {
    .my-40h {
        height: 40vh;
        max-height: 40vh;
    }

    .my-45h {
        height: 45vh;
        max-height: 45vh;
    }

    .my-50h {
        height: 50vh;
        max-height: 50vh;
    }

    .my-55h {
        height: 55vh;
        max-height: 55vh;
    }

    .my-60h {
        height: 60vh;
        max-height: 60vh;
    }

    .my-65h {
        height: 65vh;
        max-height: 65vh;
    }

    .my-70h {
        height: 70vh;
        max-height: 70vh;
    }

    .my-75h {
        height: 75vh;
        max-height: 75vh;
    }

    .my-80h {
        height: 80vh;
        max-height: 80vh;
    }

    .my-85h {
        height: 85vh;
        max-height: 85vh;
    }

    .my-90h {
        height: 90vh;
        max-height: 90vh;
    }

    .my-95h {
        height: 95vh;
        max-height: 95vh;
    }

    .my-100h {
        height: 100vh;
        max-height: 100vh;
    }
}
 
@media screen and (max-height: 770px) {
    .my-50h {
        height: 45vh;
        max-height: 45vh;
    }

    .my-55h {
        height: 50vh;
        max-height: 50vh;
    }

    .my-60h {
        height: 55vh;
        max-height: 55vh;
    }

    .my-65h {
        height: 60vh;
        max-height: 60vh;
    }

    .my-70h {
        height: 65vh;
        max-height: 65vh;
    }

    .my-75h {
        height: 70vh;
        max-height: 70vh;
    }

    

    .my-80h {
        height: 75vh;
        max-height: 75vh;
    }

    .my-85h {
        height: 80vh;
        max-height: 80vh;
    }

    .my-90h {
        height: 85vh;
        max-height: 85vh;
    }

    .my-95h {
        height: 90vh;
        max-height: 90vh;
    }
    .my-100h {
        height: 95vh;
        max-height: 95vh;
    } 
}

@media screen and (max-height: 599px) {
    .my-50h {
        height: 35vh;
        max-height: 35vh;
    }

    .my-55h {
        height: 40vh;
        max-height: 40vh;
    }

    .my-60h {
        height: 40vh;
        max-height: 40vh;
    }

    .my-65h {
        height: 45vh;
        max-height: 45vh;
    }

    .my-70h {
        height: 50vh;
        max-height: 50vh;
    }

    .my-75h {
        height: 55vh;
        max-height: 55vh;
    }

    .my-80h {
        height: 70vh;
        max-height: 70vh;
    }

    .my-85h {
        height: 65vh;
        max-height: 65vh;
    }

    .my-90h {
        height: 70vh;
        max-height: 70vh;
    }

    .my-95h {
        height: 75vh;
        max-height: 75vh;
    }

    .my-100h {
        height: 80vh;
        max-height: 80vh;
    }
}
/* ========== Menü Notu Bilgi Butonu ========== */
a.cust-leaf {
    position: relative;
}

.mn-info-btn {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 10;
    flex-shrink: 0;
}

a.cust-leaf:hover .mn-info-btn,
a.cust-leaf:focus-within .mn-info-btn {
    opacity: 1;
}

.mn-info-btn svg { width: 18px; height: 18px; display: block; }

.mn-info-btn:hover {
    transform: translateY(-50%) scale(1.15);
    opacity: 1 !important;
}

/* ========== Sayfa Başlığı (pageheadercaption) Menü Notu Butonu ========== */
.pageheadercaption {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mn-page-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.15s;
    vertical-align: middle;
}

.mn-page-info-btn:hover {
    transform: scale(1.15);
}

/* ========== Index Menü Kartı Menü Notu Butonu ========== */
.idx-menu-card {
    position: relative;
}

.mn-card-info-btn {
    position: relative;
    top: auto;
    right: auto;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 5;
}

.mn-card-info-btn svg { width: 18px; height: 18px; display: block; }

.idx-menu-card:hover .mn-card-info-btn {
    opacity: 1;
}

.mn-card-info-btn:hover {
    transform: scale(1.15);
    opacity: 1 !important;
}

/* ========== NavMenu Scrollbar ========== */
.sidebar::-webkit-scrollbar {
    width: 5px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(180,188,200,.25);
    border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(180,188,200,.45);
}
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(180,188,200,.25) transparent;
    scrollbar-gutter: auto;
}

/* ========== NavMenu Toggle Switch ========== */
.ac-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.ac-toggle-label {
    color: rgba(255,255,255,.55);
    font-size: 11px;
    user-select: none;
}
.ac-ios-toggle {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}
.ac-ios-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.ac-ios-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255,255,255,.15);
    border-radius: 20px;
    transition: background .25s;
}
.ac-ios-slider::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform .25s;
}
.ac-ios-toggle input:checked + .ac-ios-slider {
    background: #4cd964;
}
.ac-ios-toggle input:checked + .ac-ios-slider::before {
    transform: translateX(16px);
}

/* ========== NavMenu — AdminCAST Sidebar ========== */
.sidebar {
    background-color: #253544 !important;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Open Sans', sans-serif;
    width: 265px;
    min-width: 265px;
    max-width: 265px;
    padding-right: 10px;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
    border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.3);
}

.ac-admin-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 10px;
}

.ac-admin-avatar {
    font-size: 36px;
    color: rgba(255,255,255,.7);
    flex-shrink: 0;
}

.ac-admin-info {
    overflow: hidden;
    padding-left: 4px;
}

.ac-admin-name {
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-admin-role {
    color: #b4bcc8;
    font-size: 11px;
}

.ac-sub-ico {
    width: 16px;
    text-align: center;
    margin-right: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.5);
}

/* NavMenu Search */
.ac-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #1e2d3a;
}

.ac-search-wrap .ac-search-ico {
    color: #b4bcc8;
    font-size: 13px;
    flex-shrink: 0;
}

.ac-search-wrap .ac-search-input {
    flex: 1;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 12px;
    outline: none;
    background: #253544;
    color: #b4bcc8;
    transition: border-color .15s, background .15s;
}

.ac-search-wrap .ac-search-input::placeholder { color: rgba(180,188,200,.45); }
.ac-search-wrap .ac-search-input:focus { border-color: #3498db; background: #2d4157; color: #fff; }

.ac-search-wrap .ac-search-clear {
    border: none;
    background: none;
    cursor: pointer;
    color: rgba(255,255,255,.4);
    font-size: 12px;
    padding: 2px 4px;
}

.ac-search-wrap .ac-search-clear:hover { color: #e74c3c; }

/* NavMenu Search Results */
.sidebar .ac-search-results {
    overflow-y: auto;
    max-height: calc(100vh - 140px);
    padding: 4px 0;
}

.sidebar .ac-search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    font-size: 12px;
    color: #b4bcc8;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .12s, color .12s;
}

.sidebar .ac-search-item:hover {
    background: #3498db;
    color: #fff;
}

.sidebar .ac-search-item-ico {
    color: rgba(255,255,255,.4);
    font-size: 10px;
}

.sidebar .ac-search-empty {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.35);
}

/* NavMenu Side Menu */
.ac-side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-heading {
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.4);
    display: block;
}

.ac-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    color: #b4bcc8;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    transition: background .12s, color .12s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.ac-menu-link:hover,
.ac-menu-link:focus {
    background-color: #3498db;
    color: #fff;
}

.ac-menu-ico {
    display: block;
    float: left;
    width: 30px;
    line-height: 20px;
    font-size: 16px;
    flex-shrink: 0;
}

.ac-nav-label {
    flex: 1;
    display: block;
}

.ac-arrow {
    font-size: 11px;
    line-height: 18px;
    color: rgba(255,255,255,.35);
    transition: transform .25s ease;
    margin-left: auto;
}

.ac-menu-open > a > .ac-arrow,
.ac-menu-open > .ac-menu-link > .ac-arrow {
    transform: rotate(-90deg);
}

.ac-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.ac-sub-menu.ac-show {
    display: block;
}

.ac-sub-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px 7px 5px;
    color: #b4bcc8;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
    transition: background .12s, color .12s;
}

.ac-sub-menu a:hover,
.ac-sub-menu a:focus {
    background-color: #3498db;
    color: #fff;
}

.ac-sub-menu .ac-sub-menu a { padding-left: 15px; }
.ac-sub-menu .ac-sub-menu .ac-sub-menu a { padding-left: 25px; }
.ac-sub-menu .ac-sub-menu .ac-sub-menu .ac-sub-menu a { padding-left: 35px; }

a.cust-leaf { position: relative; }

.ac-fav-ico { color: #f6ad55; font-size: 10px; }

.ac-menu-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-menu-open > .ac-menu-link,
.ac-menu-open > a:first-child {
    color: #fff;
    background-color: #2d4157;
}

.ac-menu-open > .ac-menu-link:hover,
.ac-menu-open > a:first-child:hover {
    background-color: #3498db;
    color: #fff;
}

.ac-sub-menu a.active { color: #fff; }
