﻿html {
    font-size: 15px;
}

body {
    background-color: #eef1f5;
    color: #5B646C;
}

    body.swal2-height-auto {
        height: 100% !important;
    }

/*
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}
    */

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1650px;
    }
}

a {
    text-decoration: none;
    background-color: transparent;
}

.navbar {
    padding: 0 !important;
    font-size: .8rem;
    /*background-color: #EEEEEE;*/
}

    .navbar .nav-link {
        padding: .3rem 1rem;
    }

.accordion-button:focus {
    box-shadow: none !important;
}

.fw-bold {
    font-weight: 600 !important;
}

.flex-grow-2 {
    flex-grow: 2 !important;
}

.topbar {
}

    .topbar .topbar-image {
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: 195px;
        background-position: center;
        background-size: cover;
    }

    .topbar .topbar-search {
        padding: .5rem 1.5rem;
    }

        .topbar .topbar-search .nav {
            font-size: .875rem !important;
        }

.form-control:focus, .form-select:focus {
    box-shadow: none !important;
}

.card {
}

    .card .card-header {
        background-color: inherit;
        border-bottom: none;
    }

        .card .card-header .card-title {
            font-weight: 500;
            line-height: 1.2;
        }



.book-item {
}

    .book-item .card-title {
        margin-bottom: 1rem;
        text-decoration: none;
        font-weight: 500;
    }

    .book-item .card-body {
        padding: 1.5rem 1.5rem;
    }

    .book-item img {
        object-fit: contain;
        height: 185px;
    }


.breadcrumb {
    margin-left: 2rem;
}

    .breadcrumb .breadcrumb-item a {
        color: #6f727d;
    }

    .breadcrumb .breadcrumb-item.active {
        color: #363636;
    }

.form-group {
    margin-bottom: 5px;
}


.font-weight-bold {
    font-weight: bolder;
}

.font-weight-light {
    font-weight: 100;
}

/*.swal2-confirm {
    background-color: #cc7a29 !important;
}*/
.swal2-confirm.btn-success {
    background-color: #00A261 !important;
}

.swal2-confirm.btn-danger {
    background-color: #E42855 !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgb(204 122 41 / 51%) !important;
}


form label.error, label.error {
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

form .form-control.error, form .form-select.error {
    border-color: #dc3545;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    color: #212529 !important;
}

.select2-container {
    width: 100% !important;
    font-size: 1rem !important;
}

    .select2-container .select2-selection--single {
        min-height: 37.75px;
    }

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px !important;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 36px !important;
}


.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
    color: #212529 !important;
    min-height: 37.75px !important;
}

.error {
    color: red;
}

.form-control.error {
    border-color: red;
}

button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}

.swal2-container {
    z-index: 11000 !important;
}

.tab-content {
    border: 1px solid #ddd;
    padding: 1rem;
}

.form-nav-tabs.nav.nav-tabs {
    border-bottom: none;
}

.form-nav-tabs .nav-link {
    color: #5B646C !important;
}

    .form-nav-tabs .nav-link.active {
        border-top: 3px solid !important;
        border-top-color: var(--primary) !important;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.table {
    width: 100% !important;
}


.row-gap-2{
    row-gap : 20px;
}

.form-check-success:checked {
    background-color: #00A261 !important;
    border-color: #00A261 !important;
}
