﻿:root {
    --primary: #0099FF;
    --text-muted: #6c757d;
    --rgba: rgba(251,194,1,0.9);
    --red: #f74f22;
    --nav-headbg: #222328;
    --boxshadow: 11px 10px 38px 0px rgba(0,0,0,.1);
    --boxshadow-regular: 0 0.5rem 1rem rgba(0,0,0,0.15);
    --boxshadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --boxshadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --boxshadow-inset: inset 0 1px 2px rgba(0,0,0,.075);
}

html, body {
    min-height: calc(100vh - 6.175rem);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F5F5F5;
    margin-top: 6.175rem;
    transition: all .2s ease;
}
/* SCROLL BAR */
/* Tüm tarayıcılar için kaydırma çubuğu stilleri */
html, body, .offcanvas-body {
    /* Firefox için kaydırma çubuğunun genişliği */
    scrollbar-width: thin; /* 'thin' ya da 'auto' seçenekleri */
    scrollbar-color: #888 #f1f1f1; /* Kaydırma çubuğunun rengi ve arka plan rengi */
}

    html::-webkit-scrollbar, body::-webkit-scrollbar, .offcanvas-body::-webkit-scrollbar {
        width: 8px; /* Dikey kaydırma çubuğu genişliği */
        height: 8px; /* Yatay kaydırma çubuğu yüksekliği */
    }

    html::-webkit-scrollbar-track, body::-webkit-scrollbar-track, .offcanvas-body::-webkit-scrollbar-track {
        background: #f1f1f1; /* Kaydırma çubuğunun arka plan rengi */
    }

    html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, .offcanvas-body::-webkit-scrollbar-thumb {
        background: #888; /* Kaydırma çubuğunun rengi */
        border-radius: 10px; /* Kenarları yuvarlama */
    }

        html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover, .offcanvas-body::-webkit-scrollbar-thumb:hover {
            background: #555; /* Hover durumundaki renk */
        }

.main-content {
    padding: .5rem 1rem;
}
/**********************************************************************************************************************************************************************/
input[type=file] {
    display: none;
}

a {
    text-decoration: none;
}
p, h1, h2, h3, h4, h5, h6{
    margin: unset;
}
textarea,
textarea.form-control {
    min-height: 18.75rem;
}
.table {
    margin-bottom: .25rem;
}

.table thead th,
.table thead td{
    vertical-align:bottom;
}
    .table tbody td, .table tbody th, .table tfoot th, .table tfoot td {
        vertical-align: middle;
        margin: unset;
    }
.table th.fit, .table td.fit {
    white-space: nowrap;
    width: 1%;
}

label {
    cursor: pointer;
}

.text-emphasis {
    overflow: hidden; /* Taşan metni gizle */
    text-overflow: ellipsis; /* Taşan metin için üç nokta (...) göster */
    white-space: nowrap; /* Metnin bir sonraki satıra geçmesini engelle */
}

.box-shadow-regular {
    box-shadow: var(--boxshadow-regular);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding-right: 5px;
    color: #6c757d;
}

.card .card-header,
.card .card-footer {
    background-color: #fff;
}
.offcanvas-header,
.offcanvas-body {
    padding: .5rem;
}
section {
    margin-bottom: 1rem;
}
/**********************************************************************************************************************************************************/
/* PRELOADER */
#preloader {
    background-color: #fff;
    padding: 0;
    margin: 0;
    height: 100vh;
    position: fixed;
    z-index: 100;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

    #preloader .lds-ripple {
        display: inline-block;
        position: relative;
        width: 80px;
        height: 80px;
    }

        #preloader .lds-ripple div {
            position: absolute;
            border: 4px solid var(--primary);
            opacity: 1;
            border-radius: 50%;
            animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
        }

            #preloader .lds-ripple div:nth-child(2) {
                animation-delay: -0.5s;
            }

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

    header .navbar {
        background-color: #ecedef;
        background-color: #f5e6d3; /* Biraz koyu krem */
        /*        background-color: #faf3e0;*/
        padding: unset;
        min-height: 3.175rem;
        /*box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);*/
    }

        header .navbar .navbar-brand {
            display: flex;
            gap: .5rem;
            align-items: center;
        }

            header .navbar .navbar-brand .brand-title {

            }

    header .header-nav-menu {
        display: flex;
        flex-direction: row;
        flex-grow: 1;
        justify-content: space-between;
        align-items: center;
    }

        header .header-nav-menu .header-right {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

.header-right .nav-item {
    display: flex;
    justify-content: center;
    position: relative;
}

    .header-right .nav-item .nav-link {
        color: #464a53;
        font-size: 1.125rem;
    }

.header-right .nav-link {
    position: relative;
    padding: 0.8375rem;
    line-height: 1;
    transition: all .2s ease;
}

    .header-right .nav-link:hover,
    .header-right .nav-link.active {
        background-color: #fff;
    }

    .header-right .nav-link svg * {
        stroke: #6c757d;
    }

    .header-right .nav-link:hover svg path,
    .header-right .nav-link:hover svg circle {
        stroke: var(--primary);
    }

.header-profile .nav-link{

}
.header-profile .dropdown-menu {
    width: 275px;
    margin: unset;
    padding: unset;
}

    .header-profile .dropdown-menu .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: .875rem;
    }

.ai-icon {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: .5rem;
}

.header-profile .dropdown-item:hover {
    background-color: rgba(13,153,255,0.1);
}

.header-right .user-menu-card {
    border: none;
}

    .header-right .user-menu-card .card-header {
        padding:1rem;
    }

    .header-right .user-menu-card .card-body,
    .header-right .user-menu-card .card-footer {
        padding: .5rem 0;
    }

    .header-right .user-menu-card .card-header {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .header-right .user-menu-card .card-body .dropdown-item:active {
        color: initial;
        text-decoration: none;
        background-color: initial;
    }

    .header-right .user-menu-card .card-header .user-info {
        font-weight: 500;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

.header-right .header-media {
    line-height: 1;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    object-fit: cover;
}

.header-right .header-info {
    color: #212529;
    font-size: 1rem;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.header-right .header-user-menu {
    display: flex;
    align-items: center;
    gap:.5rem;
}

.avatar {
    height: 1.875rem;
    width: 1.875rem;
    display: inline-block;
    position: relative;
    object-fit: cover;
    border-radius: 0.375rem;
}

    .avatar.avatar-md {
        height: 2.813rem;
        width: 2.813rem;
    }
    .avatar.auto-width{
        width: auto;
        object-fit: contain;
    }

.header-left .search-area .form-control {
    border: 0;
    background-color: transparent;
    font-size: .875rem;
    font-weight: 400;
    padding-left: .25rem;
    color: #fff;
}

.header-left .search-area .input-group-text {
    border: 0;
    background-color: transparent;
    padding-right: 0;
}

.header-left .search-area button {
    border: 0;
    background-color: transparent;
}

#search-form {
    background-color: #555;
    border-radius: .5rem;
}

    #search-form input:focus {
        color: #000;
        box-shadow: unset;
    }

    #search-form:has(input:focus) {
        background-color: #fff;
    }

        #search-form:has(input:focus) svg * {
            stroke: #000;
        }

.page-titles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 1rem;
    background: #ffffff;
    position: relative;
    z-index: 1;
    flex-flow: wrap;
}

    .page-titles * {
        margin: unset;
    }

    .page-titles .page-titles-actions {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: .125rem;
    }

        .page-titles .page-titles-actions .nav-pills {
            gap: .5rem;
        }

    .page-titles form {
        display: flex;
        flex-direction: row;
        gap: .5rem;
        align-items: center;
    }
.modal-header,
.modal-footer,
.card-header,
.card-footer {
    padding: .5rem;
}
/************************************************************************************************************************************/
.card.profil-card {
    margin-bottom: 1rem;
}

    .card.profil-card .card-body {
        padding: 3rem;
        text-align: center;
    }

        .card.profil-card .card-body .image-area {
            position: relative;
            margin-bottom: 20px;
            display: inline-block;
        }

            .card.profil-card .card-body .image-area img {
                border: .125rem solid rgba(62, 95, 206, 0.08);
                object-fit: cover;
                border-radius: 100%;
                width: 10rem;
                height: 10rem;
            }

.upload-link {
    position: absolute;
    width: 35px;
    height: 35px;
    line-height: 2rem;
    background: #FBC201;
    bottom: 0;
    right: 0px;
    box-shadow: 0 0 10px 0 rgba(0, 24, 128, 0.1);
    border-radius: 100%;
    color: #fff;
    overflow: hidden;
    border: 2px solid #fff;
}


.form-check-gender {
    background-color: #FFC0CB;
    border-color: #FFC0CB;
    box-shadow: unset;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 1%29'/%3e%3c/svg%3e") !important;
}

    .form-check-gender:focus {
        border-color: transparent;
        box-shadow: none;
    }

.body-footer {
    display: flex;
    gap: .25rem;
    justify-content: end;
    flex-direction: row;
}
.form-footer {
    display: flex;
    gap: .5rem;
    justify-content: end;
    flex-direction: row;
}
.main-card {
    position: relative;
    margin: unset;
    text-align: center;
    padding-top: 1rem;
    transition: all ease-in-out 0.2s;
}
.main-card * {
    margin: unset;
}

    .main-card .image-area {
        min-height: 4rem;
        text-align: center;
        padding: .5rem;
    }

    .main-card .card-body * {
        color: #5c656d;
        font-weight: 600;
        font-size: 1.25rem;
        text-transform: uppercase;
    }
    .main-card .card-body *::first-letter {
        font-size: 1.875rem;
    }
    .main-card .image-area svg {
        height: 4em;
        width: auto;
    }

    .main-card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
        z-index: 2;
    }
        .main-card:hover .card-body * {
            color: #212529;
        }
        .main-card:hover .image-area svg path,
        .main-card:hover .image-area svg circle,
        .main-card:hover .image-area i {
            stroke: #0D99FF;
            color: #0D99FF;
        }

/******************************************************************************************************************************************************************/
#yayinci-logo,
.yayinci-logo {
    max-height: 4rem;
    width: auto;
}

.yayincilar-tablosu a {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-transform: capitalize;
}
.kitap-card,
.yayinci-card {
    background-color: #fff;
    padding: .25rem .25rem;
    border: 1px solid #dedede;
    margin-bottom: .25rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.kitap-card{
    align-items:center;
}
.kitap-card-actions,
.kitap-card form,
.kitap-card-actions form {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: .5rem;
    user-select: none;
}
    .kitap-card form,
    .kitap-card-actions form{
        white-space:nowrap;
    }
    .kitap-card form * {
        margin:unset;
    }
    .kitap-card.hover-box-shadow:hover,
    .yayinci-card.hover-box-shadow:hover {
        box-shadow: var(--boxshadow-regular);
        background-color: #fefdf8;
    }

.yayinci-adi {
    font-size: 1.125rem;
}

.yayinci-adi,
.yayinci-aciklama {
    margin: unset;
}

.yayinci-sorumlulari-tablosu {
    vertical-align: middle;
    margin-bottom: .25rem;
}

    .yayinci-sorumlulari-tablosu * {
        margin: unset;
    }

.kitap-adi::before {
    content: "✖";
    color: red;
    font-size: 1em;
    margin-right: .25rem;
}
.no-before::before,
.no-after::after {
    content: none !important;
    all: unset !important;
}

.kitap-adi.yayinlandi::before {
    content: "✔";
    color: green;
    font-size: 1em;
}
.search-form,
.poz-search-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    user-select: none;
    position:relative;
}

    .poz-search-form .form-check {
        margin:unset;
    }

    .poz-search-form .form-check-label {
        white-space: nowrap;
    }
    .poz-search-form select{
        width: auto;
    }
    .poz-search-form #searchText{
        padding-right:2.25rem;
    }
    .poz-search-form #button-poz-ara{
        position:absolute;
        right:0;
        background-color:transparent;
        border:none;
        padding:.25rem .5rem;
    }
    .table-sm.poz-tablosu > :not(caption) > * > * {
        padding: .125rem .5rem;
    }

.poz-tablosu th:nth-child(1):not(tfoot th),
.poz-tablosu th:nth-child(3):not(tfoot th),
.poz-tablosu th:nth-child(4):not(tfoot th),
.poz-tablosu th:nth-child(5):not(tfoot th),
.poz-tablosu th:nth-child(6):not(tfoot th),
.poz-tablosu th:last-child:not(tfoot th),
.poz-tablosu td:nth-child(1):not(tfoot td),
.poz-tablosu td:nth-child(3):not(tfoot td),
.poz-tablosu td:nth-child(4):not(tfoot td),
.poz-tablosu td:nth-child(5):not(tfoot td),
.poz-tablosu td:nth-child(6):not(tfoot td),
.poz-tablosu td:last-child:not(tfoot td) {
    text-align: end;
    white-space: nowrap;
    width: 1%;
}
.poz-tablosu .poz-tablosu-baslik td {
    background-color: #0099FF;
}
    .poz-tablosu .poz-tablosu-baslik h5 {
        text-align: center;
        color: #fff;
        font-weight:bold;
    }
.poz-tarifi{
    text-align:justify;
}

.offcanvas-bottom {
    height: 60vh !important;
    max-height: calc(100vh - 6.175rem) !important; /* Yüksekliği en fazla ekranın %70'i kadar yapar */
}
/*****************************************************************************************************************************************************************/
@media screen and (max-width:767px){
    .header-right .header-info {
        display: none;
    }
}
@media print {
    header, input, select, button, .btn, .card .card-header, .card .card-footer, .pagination, .body-footer {
        display: none;
    }

    html, body, .main-content {
        margin: unset;
        padding: unset;
    }

    .card, .card-body, .card-footer {
        border: unset;
        background: none;
    }

    .page-break {
        page-break-before: always;
    }

    * {
        line-height: 1;
        font-family: "Times New Roman", Times, serif;
    }
}
