body {
    background-color: #b9b9b9;
    font-family: Times, Times New Roman, Georgia, serif;
}

.my-nav {
    background-color: #dcdef3;
}

.nav-links {
    font-size: 16px;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 18px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
    background-color: #b9b9b9;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(2, 2, 2, 0.25) !important;
}

.shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(2, 2, 2, 0.43) !important;
}

.nav-tabs .nav-link {
  color: #555;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link.active {
  background-color: transparent;
    border-bottom: 4px solid #000;
    color: #000;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.ref-book {
    font-size: 25px;
    font-style: italic;
    color: #000;
    text-decoration: none;
}

.ref-drop-menu {
    min-width: 300px;
    background-color: #dadada;
    border-radius: 30px;
    z-index: 1100;
}

.lang-drop-menu {
    min-width: 85px;
    background-color: #dadada;
    border-radius: 15px;
    z-index: 1100;
}

.ref-drop-menu-input-type {
    min-width: 185px;
    background-color: #dadada;
    border-radius: 30px;
    padding-left: 10px;
    padding-right: 10px;
}

.drop-search-menu {
    background-color: #797979;
    border-radius: 15px;
}

.ref-drop-menu-item {
    border-radius: 20px;
}

.ref-drop-menu-item:hover {
    background-color: #b4b4b4;
}

.video-dropdown-ul {
    border-radius: 20px;
    background-color: #dadada;
    width: 260px;
}

.video-dropdown .dropdown-toggle::after {
    display: none;
}

.search-btn {
    width: 58px;
    height: 58px;
}

.add-btn {
    background-color: #d5d5d5;
    border-color: #b9b9b9;
    box-shadow: 0 5px 25px 0 rgba(133, 133, 133, 0.6) inset;
}

.add-btn:hover {
    background-color: #e1e1e1;
}

.table-bg {
    background-color: #d0d0d0;
}

.form-bg {
    background-color: #d5d5d5;
    border-radius: 10px;
}

.search-form-bg {
    background-color: #dadada;
}

.inline-card-header-bg {
    background-color: #b9b9b9;
}

.counter {
    width: 40px;
}

dl, ol, ul {
    margin-bottom: 0;
}

.table-header {
    background-color: #dcdef3;
}

.address {
    font-family: Times, Times New Roman, Georgia, serif;
}

.item-cols, .inspection-items {
    padding: 0;
    overflow: hidden;
}

.list-card-header {
    margin: 0;
}

.inputs {
    width: 100%;
    box-sizing: border-box;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.info-card-body {
    background-color: #cbcbcb;
}

.title-block {
    background-color: rgba(203, 203, 203, 0.78);
}

.accordion-button:not(.collapsed) {
    color: transparent;
    background-color: #cbcbcb;
}

.accordion-button:focus{
    border-color: #fff;
    box-shadow: none;
    text-align: center;
}

.accordion-btn-width {
    width: 200px;
}

.btn-user-create-card {
    position: relative;
}

.btn-create {
    font-size: 25px;
    background-color: rgba(164, 164, 164, 0.49);
    position: absolute;
    right: 25px;
    z-index: 10;
}

.btn-user-create {
    padding: 10px 47px;
    top: 40px;
}

.btn-auto-create {
    padding: 16px 44px;
    top: 149px;
}

.btn-employee-create {
    padding: 9px 47px;
    top: 74px;
}

.btn-auto-owner-create {
    padding: 9px 47px;
    top: 110px;
}

.btn-user-create-ceo {
    padding: 8px 47px;
    top: 87px;
    right: 17px;
}

.btn-user-create-ceo-1 {
    right: 25px;
}

.btn-user-role-create {
    padding: 9px 47px;
    top: 75px;
}

.btn-company-create {
    padding: 8px 45px;
    top: 111px;
    right: 24px;
}

.btn-auto-owner-create-update-form {
    padding: 9px 47px;
    top: 41px;
}

.select2-container .select2-selection--single {
    min-height: 60px;
    padding-top: 25px;
    padding-bottom: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 10px;
}

.login-form {
    width: 40%;
}

.form-control:focus {
    box-shadow: none;
    border-color: grey;
}

.pdf {
    color: #3b3b3b;
    font-size: 35px;
    line-height: 53px;
}

.pdf:hover {
    color: #000;
}

.dashboard-header {
    padding: 0 0 20px;
    margin-top: 0;
}

.group-by-form {
    width: 100%;
}

.group-by-form option {
    padding: 5px;
}

.year-form {
    width: 100%;
}

.form-check-input:checked {
    background-color: #5e5e5e;
    border-color: #adadad;
}

.dashboard-header-block {
    background-color: #adadad;
}

.filter-block {
    background-color: #adadad;
    padding: 10px;
    border-radius: 10px;
    margin-right: 10px;
    min-width: 200px;
}

.filter-tab.active {
    background-color: #adadad !important;
}

.chart {
    padding: 20px;
    border-radius: 10px;
    margin-left: 10px;
    background-color: #cbcbcb;
    width: 100%;
}

.dashboard-btn {
    border-radius: 5px;
    line-height: 57px;
}

.badge-icon {
    line-height: 2px;
    font-size: 16px;
}

.frame-category {
    line-height: 40px;
}

.booking-form {
    max-width: 400px;
    text-align: center;
}

#date-input {
    background-color: #ddd;
    border-radius: 10px;
    border: 2px solid #707070;
}

.phone-form-wrapper .form-floating>label {
    left: 20px;
}

.phone-number-input {
    background-color: #ddd;
    border-radius: 10px;
    width: 93%;
    margin: 15px auto 0;
    color: #505050;
}

.help-text {
    font-size: 14px;
    font-style: italic;
    color: #818181;
    margin: 0;
    line-height: 5px;
}

.time-select {
    margin-top: 10px;
    padding: 11px;
    font-size: 16px;
    line-height: 1;
    border: 2px solid #707070;
    border-radius: 10px;
    background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat 93% #ddd;
    -webkit-appearance: none;
}

.form-check-input:disabled~.form-check-label, .form-check-input[disabled]~.form-check-label {
    opacity: 1;
}

.form-check-input:disabled {
    opacity: 1;
}

.videocall-icon {
    line-height: 35px;
}

.inspect-icon {
    font-size: 25px;
}


.inspection-bg {
    background-color: #b9b9b9;
}

.inspection-row {
    background-color: #d5d5d5;
}

.border-grey {
    border: 1px solid rgba(0, 0, 0, .125)
}

.fs-14 {
    font-size: 14px;
    font-style: italic;
    color: grey;
}

.lh-delete-icon {
    line-height: 20px;
}

.inactive {
    opacity: 0.3 !important;
}

.search-drop-down-link {
    width: 120px;
}

.instruction-img-size {
    width: 320px;
    height: auto;
}

.btn-rotate {
    height: 58px;
    padding: 0 15px;
}

.bg-light-grey {
    background-color: rgba(128, 128, 128, 0.27) !important;
}

.text-bright-grey {
    color: rgba(128, 128, 128, 0.27) !important;
}

.damage-mt {
    margin-top: 30px;
}

.ref-drop-width {
    width: 225px;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: transparent;
}

.accordion-date-btn-width {
    width: 250px;
}

.disabled-link {
    pointer-events: none;
    cursor: none;
}

.senior-span {
    width: 125px;
}

#alert {
    z-index: 10000;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(148, 148, 148, 0.54);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 150px;
    height: 150px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #e1e808;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-sm {
    width: 75px;
    height: 75px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #e1e808;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-border {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.disabled {
  pointer-events: none;
  cursor: default;
}

#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #6c6c6c;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

#loader-finished {
    display: none;
    position: fixed;
    width: 100%;
    height: auto;
    top: 50%;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
    color: black;
    text-align: center;
    transform: translateY(-50%);
    z-index: 50;
}

#loader-progress {
    display: none;
    position: fixed;
    width: 100%;
    height: 24px;
    top: 77px;
    left: 0;
    font-size: 14px;
    color: black;
    text-align: center;
    line-height: 24px;
    white-space: nowrap;
    z-index: 50;
}

.loader-frame::before {
    content: '';
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 4px solid #ffea00;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.cropper-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.cropper-container canvas {
    max-width: 100%;
    cursor: default;
    margin: 0;
    padding: 0;
}

.height-555 {
    min-height: 555px;
}

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

.preloader p {
    margin-top: 20px;
    font-size: 25px;
    padding-left: 20px;
    color: #333;
}

.app-link {
    font-size: 16px !important;
}

.app-sort-link {
    font-size: 14px !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .sub-menu {
    display: none;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: none;
    border: none;
    padding-left: 20px;
}

.dropdown-submenu.show .sub-menu {
    display: block;
}

.btn-team-member-create {
    padding: 10px 47px;
    top: 105px;
}

.height-15 {
    height: 15px;
}

.pointer {
    cursor: pointer;
}

.width-150 {
    width: 150px;
}

.width-200 {
    width: 200px;
}

.width-250 {
    width: 200px;
}

.width-100 {
    width: 100px;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 500;
}



.col-9 {
    padding-right: 0;
}

.card {
    border-radius: 0;
    margin-right: 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.btn.w-100 {
    width: 100%;
}

.nav-pills .nav-link.active {
    background-color: #ffc107;
    color: #000;
}

.sidebar-link:hover{
    background-color: #ffc107;
    color: #000;
}

.sub-nav-item:hover {
    background-color: #FFC107FF;
    color: #000;
}

.bg-md-grey {
    background-color: #e4e4e4;
    color: #000;
}

/* Стили для сайдбара */
.sidebar-right {
    transition: transform 0.3s ease-in-out;
}

.width-21 {
    width: 18%;
}

.width-78 {
    width: 81%;
}

.sidebar-content {
    margin-top: 25px;
    border-radius: 15px;
}

.border-radius-10 {
    border-radius: 10px;
}

.sidebar-toggler-btn-display {
    display: none;
}

.comment-icon:hover {
    color: #ff8800;
}

.doc-cols {
    border: 1px solid #ccc;
    background-color: #e6e6e6;
}

#registration-progress {
    transition: width 0.4s ease-in-out;
    font-weight: 600;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.3);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 4px;
}

@media (max-width: 1300px) {
    .sidebar-right {
        position: fixed;
        top: 254px;
        right: 20px;
        width: 315px;
        z-index: 1000;
        transform: translateX(107%);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }
    .sidebar-content {
        background-color: #c1c1c1;
        margin: 0;
    }

    .width-78 {
        width: 100%;
    }

    .sidebar-right.show {
        transform: translateX(0);
    }

    .sidebar-toggler {
        z-index: 1001;
    }
    .sidebar-toggler-btn {
        border: solid 1px #cdcdcd;
        border-radius: 20px;
        top: 185px;
        right: 100px;
        width: 60px;
        padding: 6px;
    }
    .sidebar-toggler-btn-display {
        display: block;
    }
}

.cropper-container {
    max-width: 100%;
    margin: 10px 0;
}
.cropper-container canvas {
    max-width: 100%;
    cursor: move;
}

@media (min-width: 1301px) {
    .sidebar-right {
        position: relative;
        height: auto;
        overflow-y: auto;
    }
}

@media (max-width: 1199px) {
    .sidebar-toggler-btn {
        right: 150px;
    }
}

@media (max-width: 700px) {
    .sidebar-toggler-btn {
        right: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .login-form {
        width: 60%;
    }
}

@media screen and (max-width: 900px) {
    .login-form {
        width: 70%;
    }
}

@media screen and (max-width: 700px) {
    .login-form {
        width: 95%;
    }
}

@media screen and (max-width: 1200px) {
    .select2-container--default .select2-selection--multiple .select2-selection__rendered {
        padding: 60px 50px 10px 10px;
    }
}

@media screen and (max-width: 1400px) {
    .icon-title {
        display: none;
    }
}

@media screen and (max-width: 750px) {
    .message-btn-title {
        display: none;
    }
}

@media screen and (max-width: 990px) {
    .main-nav-link {
        margin-top: 10px;
    }
}

@media screen and (max-width: 980px) {
    .icon-title {
        display: inline-block;
    }
}

@media screen and (max-width: 600px) {
    .select2-container .select2-selection--single {
        padding-top: 30px;
        min-height: 60px;
    }
    .btn-auto-create {
        top: 184px;
    }
}

@media screen and (min-width: 992px) {
    .item-cols {
        border: solid 2px grey;
    }
    .btn-col {
        border-bottom: solid 2px grey;
    }
}

@media screen and (min-width: 780px) {
    .inspection-items {
        border: solid 2px grey;
    }
}

@media screen and (max-width: 780px) {
    .inspection-row {
        border: solid 2px grey;
    }
}

@media screen and (max-width: 992px) {
    .btn-col {
        border-bottom: solid 2px grey;
        padding-bottom: 10px;
    }
}

@media screen and (min-width: 992px) {
    .list-cards {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .info-card-body {
        font-size: 1rem;
    }

    .card-header {
        font-size: 1.2rem;
    }

    .info-card-body .row {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }

    .info-card-body .col-md-4 {
        font-size: 0.95rem;
        color: #666;
    }

    .info-card-body .col-md-8 {
        font-size: 1rem;
        font-weight: 500;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .modal-dialog.modal-lg {
        max-width: 95%;
        margin: 0 auto;
    }
}