.h1,
h1 {
    font-size: 36px
}

.h2,
h2 {
    font-size: 30px
}

.h3,
h3 {
    font-size: 24px
}

.h4,
h4 {
    font-size: 18px
}

.h5,
h5 {
    font-size: 15px
}

.h6,
h6 {
    font-size: 14px
}

.table h1,
.table h2,
.table h5 {
    color: rgb(26, 94, 196);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.mr-top-5 {
    margin-top: 5px;
}

.mr-top-10 {
    margin-top: 10px;
}

.mr-top-15 {
    margin-top: 25px;
}

.mrx-5 {
    margin: 5px;
}

.mrx-10 {
    margin: 10px;
}

.mrx-15 {
    margin: 15px;
}

.mrh-5 {
    margin: 0px 5px;
}

.mrh-10 {
    margin: 0px 10px;
}

.mrh-15 {
    margin: 0px 15px;
}

.mrv-5 {
    margin: 5px 0px;
}

.mrv-10 {
    margin: 10px 0px;
}

.mrv-15 {
    margin: 15px 0px;
}


.col-8 .django-ckeditor-widget {
    max-width: 100% !important;  /* Adjust as needed */
    width: auto !important;
}
.col-8 .cke {
    max-width: 100% !important;
    width: 100% !important;
}

.col-8 .cke_contents {
    max-width: 100% !important;
    width: 100% !important;
}



.card-topshadow {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: white;
    min-width: 0;
    background-color: #526D82;
    padding: 10px;
    border-top-right-radius: 0.3125rem;
    border-top-left-radius: 0.3125rem;
}

.addbutton,
.savebutton {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: blue;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: .05px solid #9DB2BF;
    cursor: pointer;
}

.savebutton {
    padding: 9px 22px;
    background-color: rgb(82, 25, 140);
    border: none;
}

.addbutton:hover,
.savebutton:hover {
    background-color: rgb(6, 6, 28);
    color: white;
}

.addbutton:active .savebutton:active {
    background-color: rgb(6, 6, 28);
    color: white;
}


/*.customcheckbox1 input[type="checkbox"]*/
/*{*/
/*    position: relative;*/
/*    width: 70px;*/
/*    height: 35px;*/
/*    -webkit-appearance: none;*/
/*    -moz-appearance:none;*/
/*    -o-appearance:none;*/

/*    background: #c6c6c6;*/
/*    outline: none;*/
/*    border-radius: 20px;*/

/*    box-shadow: inset 0 0 5px rgba(0,0,0,.2);*/
/*    transition: .5s;*/
/*}*/


/*.customcheckbox1 input:checked[type="checkbox"]*/
/*{*/
/*    background: #03a9f4;*/
/*}*/

/*.customcheckbox1 input[type="checkbox"]:before*/
/*{*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 35px;*/
/*    height: 35px;*/
/*    border-radius: 20px;*/
/*    top: 0;*/
/*    left: 0;*/
/*    background: #fff;*/
/*    transform: scale(.85);*/
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);*/
/*    transition: .5s;*/
/*}*/

/*.customcheckbox1 input:checked[type="checkbox"]:before*/
/*{*/
/*    left: 35px;*/

/*}*/

.icon-sm {
    font-size: 16px;
    /* Adjust the font size as needed */
}

.icon-md {
    font-size: 20px;
    /* Adjust the font size as needed */
}

.icon-lg {
    font-size: 24px;
    /* Adjust the font size as needed */
}







body {
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;

}

.popup {
   position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid gray;
    border-radius: 9px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Set a high z-index value to place it above everything else */
    display: none;
    width: 60%; /* Adjust the width as per your requirements */
    height: 70%; 
    overflow: auto;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: bold;
    color: white;
    background-color: red;
    padding: 5px;
    font-size: 22;
    border-radius: 3px;
    cursor: pointer;
}

.table {
    color: rgb(19, 18, 18);
    margin: 20px 15px;
}

.container {
    max-width: 800px;
    max-height: 500px;
    margin: 0 auto;
}

.vehicle-image {
    width: 300px;
    height: 180px;
    margin-bottom: 20px;
}

.vehicle-info {
    padding: 20px;
    background-color: #f9f9f9;
}

.vehicle-info h2 {
    margin-top: 0;
}

.vehicle-info p {
    margin: 0;
    line-height: 1.5;
}


.side-bar-type {
    color: rgb(234, 230, 230);
    font-size: 14.5px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    padding: 10px 0px 10px 15px;
}

.sidebar-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: rgb(200, 184, 230);
    border-radius: 50%;
    margin-right: 5px;
}


.table .wrap {
    max-width: auto;
    overflow: auto;
    text-overflow: clip;
    white-space: nowrap;
}


.badge-order1 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #EB1D36
}

.badge-order2 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #18978F
}

.badge-order3 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #E8AA42
}

.badge-order4 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #D61C4E
}

.badge-order5 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #27A9E3
}

.badge-order6 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #61481C
}

.badge-order7 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #EF954E
}

.badge-order8 {
    color: #fff;
    font-size: 15px;
    margin-left: 15px;
    background-color: #810955
}

.dropdown {
    position: relative;
    display: inline-block;
    margin: 0px 25px 0px 0px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    color: white;
    min-width: 160px;
    top: 50%;
    right: 30%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(21, 20, 20, 0.82);
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}


.grid-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Adjust the number of columns as needed */
    grid-gap: 6px;
}

.grid-view2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Adjust the number of columns as needed */
    grid-gap: 6px;
}

.indexgrid-view2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Adjust the number of columns as needed */
    grid-gap: 6px;
}

.index1grid-view2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Adjust the number of columns as needed */
    grid-gap: 6px;
}

.grid-view3 {
    display: grid;
    grid-template-columns: repeat(autofit, minmax(.5px, 1fr));
    /* Adjust the number of columns as needed */
    grid-gap: 6px;
}

.grid-view div {
    padding: 10px;
    border: none;
    background-color: white;
    color: black;
    font-size: 13;
    font-family: 'Times New Roman', Times, serif;
}

.grid-item {
    /* padding: 10px; */
    text-align: center;
    /* Set a fixed height for the items */
    height: 120px;
    /* Set overflow to hidden if you want to truncate overflowing content */
    overflow: hidden;

    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    margin: 10px 15px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.35rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/*input[type=checkbox],*/
/*input[type=radio] {*/
/*    box-sizing: border-box;*/
/*    padding: 0*/
/*}*/

.scroll-sidebar {
    height: calc(100% - 20px);
    position: relative;
    overflow: auto;
}


.btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    height: 40px;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px
}

.pagination>li {
    display: inline
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd
}

.pagination-lg>li>a,
.pagination-lg>li>span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333
}

.pagination-lg>li:first-child>a,
.pagination-lg>li:first-child>span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px
}

.pagination-lg>li:last-child>a,
.pagination-lg>li:last-child>span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px
}

.pagination-sm>li>a,
.pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5
}

.pagination-sm>li:first-child>a,
.pagination-sm>li:first-child>span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px
}

.pagination-sm>li:last-child>a,
.pagination-sm>li:last-child>span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}


.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6
}

.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6
}

.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem
}

.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6
}



.img-wrap {
    position: relative;

}

.img-wrap .close {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 100;
    color: red;
}

.page-header {
    margin: 0 0 1.5rem 0;
}

.page-header .breadcrumb {
    border: 0;
    margin-bottom: 0;
}

.page-title {
    color: #343a40;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.page-title1 {
    color: #343a40;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.page-title .page-title-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    text-align: center;
    -webkit-box-shadow: 0px 3px 8.3px 0.7px rgba(163, 93, 255, 0.35);
    box-shadow: 0px 3px 8.3px 0.7px rgba(163, 93, 255, 0.35);
}

.page-title .page-title-icon i {
    font-size: .9375rem;
    line-height: 36px;
}


.card.card-img-holder {
    position: relative;
    border: 0px;
}

.card.card-img-holder .card-img-absolute {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.card.card-img-holder .card-img-absolute {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}


.stretch-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch;
}

.stretch-card>.card {
    width: 100%;
    min-width: 100%;
}


.grid-margin,
.purchase-popup {
    margin-bottom: 2.5rem;
}

@media (min-width: 576px) {
    .grid-margin-sm-0 {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .grid-margin-md-0 {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .grid-margin-lg-0 {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .grid-margin-xl-0 {
        margin-bottom: 0;
    }
}


.bg-gradient-primary {
    background: -webkit-gradient(linear, left top, right top, from(#da8cff), to(#9a55ff)) !important;
    background: linear-gradient(to right, #da8cff, #9a55ff) !important;
}

.bg-gradient-secondary {
    background: -webkit-gradient(linear, left top, right top, from(#e7ebf0), to(#868e96)) !important;
    background: linear-gradient(to right, #e7ebf0, #868e96) !important;
}

.bg-gradient-success {
    background: -webkit-gradient(linear, left top, right top, from(#84d9d2), to(#07cdae)) !important;
    background: linear-gradient(to right, #84d9d2, #07cdae) !important;
}

.bg-gradient-info {
    background: -webkit-gradient(linear, left top, right top, from(#90caf9), color-stop(99%, #047edf)) !important;
    background: linear-gradient(to right, #90caf9, #047edf 99%) !important;
}

.bg-gradient-warning {
    background: -webkit-gradient(linear, left top, right top, from(#f6e384), to(#ffd500)) !important;
    background: linear-gradient(to right, #f6e384, #ffd500) !important;
}

.bg-gradient-danger {
    background: -webkit-gradient(linear, left top, right top, from(#ffbf96), to(#fe7096)) !important;
    background: linear-gradient(to right, #ffbf96, #fe7096) !important;
}

.bg-gradient-light {
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#e4e4e9)) !important;
    background: linear-gradient(to bottom, #f4f4f4, #e4e4e9) !important;
}

.bg-gradient-dark {
    background: linear-gradient(89deg, #5e7188, #3e4b5b) !important;
}



.card-title {
    margin-bottom: 0.5rem;
    color: #343a40;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
    font-family: "ubuntu-medium", sans-serif;
    font-size: 1.125rem;
}

.card-subtitle {
    margin-top: -0.25rem;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link+.card-link {
    margin-left: 1rem;
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}


.card .card-title {
    color: #343a40;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
    font-family: "ubuntu-medium", sans-serif;
    font-size: 1.125rem;
}

.card .card-subtitle {
    font-family: "ubuntu-regular", sans-serif;
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
}

.card .card-description {
    color: #76838f;
    margin-bottom: 1.5rem;
    font-family: "ubuntu-regular", sans-serif;
}


.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

/* Responsive breakpoints */
/* Responsive breakpoints */
@media (max-width: 576px) {

    .card-container,
    .indexgrid-view2 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 993px) {
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .indexgrid-view2 {
        grid-template-columns: 1fr;
    }
}


.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important
}

.fs-2 {
    font-size: calc(1.325rem + .9vw) !important
}

.fs-3 {
    font-size: calc(1.3rem + .6vw) !important
}

.fs-4 {
    font-size: calc(1.275rem + .3vw) !important
}

.fs-5 {
    font-size: 1.25rem !important
}

.fs-6 {
    font-size: 1rem !important
}

.fs-7 {
    font-size: .75rem !important
}

.fs-8 {
    font-size: .7rem !important
}

.header-title {
    color: rgb(237, 237, 237);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    word-spacing: .001px;
    font-size: calc(1.275rem + .3vw) !important
}

/* Add some basic styling to the container */
.image-list-container {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Add some space between each image (optional) */
.image-list-item {
    margin-right: 10px;
}

/* Remove right margin from the last item to prevent an unwanted gap */
.image-list-item:last-child {
    margin-right: 0;
}