.w-4 {
    width: 1rem;
}
.h-4 {
    height: 1rem;
}

.w-6 {
    width: 1.5rem;
}
.h-6 {
    height: 1.5rem;
}

.dropzone {
    background: white;
    border-radius: 5px;
    border: 2px dashed rgb(0, 135, 247);
    border-image: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* profile */
.profile-up {
    max-width: 100px;
    height: 100px;
    border-radius: 50%;
}
.profile,
.content {
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    transition: 0.5s ease;
}
.profile {
    /* position: absolute; */
    margin: 60px auto -17px auto;
    top: 100px;
    bottom: auto;
    left: 0;
    right: 0;
    min-height: 100%;
    height: auto;
    width: 75%;
    /* margin-bottom: 100px; */
    background-color: #fff;
    border-top: 5px solid #007bff;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2.5px 5px #ccc;
}
.content {
    /* position: absolute; */
    min-height: 100%;
    height: 100%;
    width: 100%;
    margin: 0% auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*border: 1px solid #eee;*/
    /*background-color: yellow;*/
    overflow: hidden;
}
.short-info {
    position: relative;
    min-height: 100px;
    height: auto;
    width: 97.5%;
    margin: 1.5% auto;
    /*background-color: #f5f5f5;*/
    background-color: #fff;
    background-color: #f2ecee;
    /*border-top: 2px solid #39cb58;*/
    border-radius: 2.5px;
    /*box-shadow: inset 0 -1.5px #ddd;*/
}
.details {
    width: 97.5%;
    /*background-color: red;*/
    margin: 2.5px auto;
}
.tab-heads {
    color: #777;
    margin: 0 2.5px;
}
.tabs {
    height: 200px;
    width: 97.5%;
    margin: 0 auto;
    /* border-top: 2.5px solid #39cb58; */
    background-color: #f2ecee;
    border-radius: 2.5px;
    /* background-color: #f3f3f3; */
}

span.photo {
    position: relative;
    height: 80px;
    width: 80px;
    border-radius: 5px;
    margin: 10px 0 2.5px;
    display: block;
    top: 10%;
    left: 10%;
    overflow: hidden;
    background: #ddd
        url("https://www.adtechnology.co.uk/images/UGM-default-user.png");
    background-size: 100%;
    border-radius: 100%;
    border: 2px solid #ddd;
}
span.photo:after {
    content: " Add Profile Pic ";
    text-align: center;
    position: absolute;
    left: 0;
    z-index: 2;
    padding: 35% 0 65%;
    height: 0;
    width: 100%;
    opacity: 0;
    color: #222;
    background-color: rgba(0, 0, 0, 0.25);
    background-size: 100%;
    transition: 0.35s ease-in-out;
    overflow: hidden;
    border-radius: 100%;
}
span.photo:hover:after {
    bottom: 0;
    opacity: 1;
    color: #fff;
}
input[type="file"] {
    /* position: absolute; */
    color: #555;
    font-size: 15px;
    top: 25%;
    box-shadow: none !important;
    margin-left: !important;
    background-color: #ededed;
    /* width: 200px; */
    border: 0;
}

span.name,
span.links > h3,
h4 {
    font-family: Lato;
    /*font-weight: 200;*/
}
span.name {
    position: absolute;
    top: 20%;
    left: 25%;
    color: #555;
    font-size: 18px;
}
label {
    color: #555;
    line-height: 2.1em;
    margin-left: 10px;
}
label[for="avatar"] {
    line-height: 120px;
}

.profile-submit {
    width: 100%;
    margin: 20px 0px;
}
.profile:hover .btn {
    opacity: 1;
}
.short-info span h3,
h4 {
    display: inline-block;
    margin: 0;
}

div.circles {
    width: 100%;
    margin: 0 auto;
}
span.fa-users {
    color: #777;
    margin-left: 1px;
    margin: 7px 7px 2.5px;
}
span.fa-users:after {
    content: "Circles";
    font-family: Lato;
    margin-left: 3px;
    color: #777;
}
.myCircle {
    height: 200px;
    width: 97.5%;
    margin: 0 auto;
    background-color: #f2ecee;
    border-radius: 2.5px;
}

/*Circles Styles
=========================*/
.myCircle #tabs ul li:nth-child(1) {
    margin: 0;
    padding: 0px 5px 10px;
    /*margin-top: 5px;*/
    background-color: white;
    border-radius: 0 0 0 30px;
}
.myCircle #tabs ul li:nth-child(2) {
    margin-left: -3px;
    padding: 0 5px 10px;
    border-radius: 0 0 30px 0;
    background-color: white;
}
.myCircle #tabs .active {
    border-bottom: none;
    padding-left: 10px;
}
.myCircle #tabs {
    padding: 0;
    margin: 0;
}
.fa-twitter,
.fa-facebook,
.fa-github {
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 20px;
    padding: 2.5px;
    margin-left: -15px;
}

/*Input Fields Styles
=========================*/
fieldset textarea,
input {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
fieldset textarea {
    min-height: 40px;
    max-height: 60px;
}

.grid-35 {
    width: 35%;
    float: left;
    font-weight: 500;
    color: #333;
    /* text-align: left; */
}
.grid-65 {
    position: relative;
    width: 65%;
    float: right;
    font-family: Source Sans Pro;
    font-weight: 300;
    font-size: 17px;
}
#tabs-1 div,
#tabs-2 div,
#tabs-3 div {
    border-bottom: 1px solid #ddd;
}

/*Tabs Styles
=========================*/
#tabs {
    width: 97.5%;
    margin: 0 auto;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#tabs-1,
#tabs-2,
#tabs-3 {
    width: 95%;
    margin: 0 auto;
    /*margin-top: 5px;*/
    padding: 5px 10px;
    line-height: 1.3em;
    padding-bottom: 10px;
    font-family: Open Sans;
    background-color: #f2ecee;
    border-radius: 0 2.5px 2.5px 2.5px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#tabs ul {
    margin: 0 auto;
    padding: 0;
}
#tabs ul li {
    display: inline-block;
    margin: 0;
    padding: 0 7px;
    width: 65px;
    text-align: center;
    padding-bottom: 5px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#tabs ul li a {
    outline: 0;
    text-decoration: none;
    padding: 0 3px 0 0;
    /* background-color: #222; */
    font-family: Open Sans;
    margin: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.ui-state-hover {
    border-bottom: 2.5px solid #aaa;
}
.ui-state-active {
    color: #007bff;
    border-bottom: 2.5px solid #007bff;
}

/* #CLEARFIX HACK
=========================*/
.clear:after {
    content: " ";
    display: table;
    clear: both;
}

/* Edit View
======================*/
.content h1 {
    text-align: center;
    color: #555;
    font-family: Lato;
    font-size: 40px;
    font-weight: 200;
    margin: 5px auto 15px auto;
}
select {
    width: 80%;
    padding: 7px 10px;
    background-color: #f5f5f5;
    border: 1px solid #007bff;
    border-radius: 2.5px;
    outline: 0;
}
select option {
    padding: 5px;
}
fieldset {
    text-align: center;
    /* background-color: rgba(0,0,0,0.01); */
    margin-bottom: 5px;
    padding: 5px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
fieldset:last-child {
    border-bottom: none;
}
input.Btn {
    width: 48%;
    float: left;
    display: block;
    margin: 40px auto;
    margin-left: 1%;
    padding: 15px 0;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    background-color: rgba(57, 203, 88, 0.65);
    box-shadow: inset 0 0 0 2px #39cb58, 0 2px 0 0 rgba(57, 203, 88, 0.5);
    transition: 0.5s ease;
}
input.Btn:hover {
    background-color: rgba(57, 203, 88, 1);
}

/* Header Bar
===========================*/

div.logo {
    /*    margin: 0 auto;*/
    /*    text-align: center;*/
    font-size: 30px;
    font-family: "Source Sans Pro";
    color: #007bff;
    width: 100%;
    /*    display: inline-block;*/
    /*    position: absolute;*/
    /*    top:0px;*/
    /*    left:0;*/
    right: 0;
    z-index: 2;
}
span.logo-part {
    color: #fff;
    background-color: #007bff;
    padding: 2px 5.5px 0px 10px;
    border-radius: 100%;
    margin-bottom: 15px;
    font-family: "Montez";
}
.search {
    /*    margin-top:5px;
/*    border:0;*/
    float: left;
    position: relative;
    top: 4px;
    right: 100px;
    padding-bottom: 0;
}
.search-bar {
    /*    border:0;*/
    width: 220px;
    color: white;
    background-color: #eee;
    font-family: "Lato", "Open Sans", Helvetica, Arial;
    border-top: 2px solid black;
    padding: 5px;
    padding-left: 15px;
    display: inline;
    border-radius: 50px;
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
}
.search-icon {
    color: gray;
    margin-left: -27.5px;
}
.search-bar:focus {
    width: 255px;
    outline: none;
}
.navbar-nav li a {
    padding-left: 8.5px;
    padding-right: 8.5px;
    font-size: 12px;
    transition: 0.5s ease;
}
.navbar-nav li a > span.fa:before {
    margin-right: 5px;
    /* background-color: #ddd; */
}

/*Media Queries
=========================*/
@media only screen and (min-width: 768px) {
    /*Desktop*/
    .profile {
        width: 650px;
    }
    .search {
        float: none;
        /* top: 0; */
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 768px) {
    /*Tablet*/
    .profile {
        width: 70%;
    }
    .search {
        top: 0;
        left: 0;
        right: 0;
        display: block;
        margin: 0 auto;
    }
}
@media only screen and (min-width: 320px) and (max-width: 520px) {
    /*Phone*/
    .profile {
        width: 90%;
    }
}

.nav-pp {
    display: flex;
}

.dropzone {
    background: white;
    border-radius: 5px;
    border: 2px dashed rgb(0, 135, 247);
    border-image: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.font-small {
    font-size: small;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.br-025 {
    border-radius: 0.25rem !important;
}

/* main */
.part_name {
    border-radius: 0.1rem;
}
.p-label {
    text-align: center;
    width: 40%;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid darkgray;
    background: #007bff3c;
}
.p-labelc {
    text-align: center;
    width: 100%;
    padding: 0.25rem 0.5rem;
    font-size: small;
    border: 1px solid darkgray;
    background: #b5b5b53c;
}
.p-vary {
    width: 60%;
    padding: 0rem 0.3rem;
    font-size: 0.75rem;
    border: 1px solid darkgrey;
    background: rgb(255, 255, 255);
}
.p-label-2 {
    display: block;
    border-radius: 2px;
    text-align: center;
    width: 100%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid darkgray;
    background: #007bff3c;
}
.p-vary-2 {
    height: 48%;
    border-radius: 2px;
    width: 100%;
    padding: 0.25rem 0.3rem;
    font-size: 0.75rem;
    border: 1px solid darkgrey;
    background: rgb(255, 255, 255);
}
.p-fullw {
    width: 100%;
    padding: 0.25rem 0.3rem;
    font-size: 0.9rem;
    border: 1px solid darkgrey;
    background: rgb(255, 255, 255);
}
.p_name_small {
    font-size: small;
    padding: 0.25rem 0rem;
}
.custom-row {
    flex: 0 0 10%;
    max-width: 10%;
}
.custom-row-2 {
    flex: 0 0 65%;
    max-width: 65%;
}

/* second section */
.sec-h5 h5 {
    font-family: "verdana";
    font-size: 0.85rem;
    font-weight: 600;
    color: #00cd39;
}

.row-height {
    min-height: 180px;
    border: 1px solid darkgray;
    border-radius: 0.25rem;
}

.color-red {
    color: darkred;
}

.text-red {
    color: #dc3545 !important;
}
.text-info {
    color: #17a2b8 !important;
}
.cst-inner {
    padding: 20px !important;
}
.cst-inner i {
    font-size: 2rem;
    margin-bottom: 10px;
}
.cst-inner p {
    margin-bottom: 0.5rem;
}

/* Modal Styles */
#editModal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Prevent interaction when hidden */
    transition: opacity 0.3s ease;
    z-index: 50;
}

/* Show modal by changing opacity */
#editModal.show {
    opacity: 1;
    pointer-events: auto; /* Enable interaction */
}

/* Optional: Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#editModal.show {
    animation: fadeIn 0.3s ease-out;
}

/* Modal Content Styles */
#editModal .bg-white {
    width: 45%; /* Adjust width */
    max-width: 600px;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.part-img {
    max-width: 75%;
}

.card-header {
    border-bottom: 0px !important;
}

.login-card {
    padding: 2.25rem !important;
}

.login-whole {
    border-radius: 15px;
}

.login-image {
    max-width: 20%;
}
.login-box {
    width: 420px !important;
}

.scrollable-list {
    height: 150px;
    overflow-y: auto;
}
.scrollable-list ul {
    padding: 0px 20px;
}
.scrollable-list ul li {
    list-style: decimal;
    /* font-size: small; */
}

.measurment-show ul li {
    list-style: decimal !important;
    font-size: 0.8rem;
}
.measurment-show ul {
    height: auto;
    overflow-y: auto;
    padding: 0px;
}

.model-group-show ul li {
    list-style: decimal !important;
    font-size: 0.8rem;
}
.model-group-show ul {
    height: 92px;
    overflow-y: auto;
    padding: 0px;
}

/* For the even <li> items */
.scrollable-list ul li:nth-child(even) {
    background-color: #f0f0f0; /* Light grey background for even items */
}

/* For the odd <li> items */
.scrollable-list ul li:nth-child(odd) {
    background-color: #ffffff; /* White background for odd items */
}

.measurment-show ul li:nth-child(even) {
    background-color: #f0f0f0; /* Light grey background for even items */
}

/* For the odd <li> items */
.measurment-show ul li:nth-child(odd) {
    /* background-color: #ffffff;  */
}

table td {
    font-size: 0.7rem !important;
}

.table-main th {
    font-size: 0.65rem;
    background-color: #b9dbff;
}
.table-main tr td {
    font-size: 0.7rem !important;
}

.sticky {
    position: sticky;
    top: -1px;
}

.table-common-parts th {
    font-size: 0.7rem;
    /* text-align: center; */
    background-color: #007bff3c;
    padding-left: 5px;
}
.table-common-parts tr td {
    font-size: 0.85rem !important;
}
.tcp {
    min-height: 180px;
    overflow-y: scroll;
    border: 0.5px solid #dee2e6;
}

.suggestions-list {
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    top: 72px;
    left: 102px;
    width: 15.5%;
}

.suggestions-list-2 {
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    top: 72px;
    /* left: 102px; */
    width: 100%;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    font-size: small;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* Style the modal (hidden by default) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 60px;
}

/* Modal content (the image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Navigation buttons for carousel */
.carousel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}
.table td,
.table th {
    padding: 0px 0px 0px 5px !important;
}

td li {
    list-style: none !important;
    text-align: left;
    padding-left: 10px;
}

.table-suggestion td {
    padding: 2px 5px !important;
    border: 1px solid lightgray;
}
.table-suggestion th {
    padding: 0px 5px !important;
    border: 1px solid lightgray;
}
.list-group-item {
    padding: 0px 0.75rem !important;
}
.table-parts-list td {
    border: 1px solid lightgray;
}
.table-models-list td {
    border: 1px solid lightgray;
}
.table-groups-list td {
    border: 1px solid lightgray;
}
.first-inp {
    margin-bottom: 0px;
    padding-left: 10px;
    font-weight: 600;
}

.sidebar {
    height: 733px !important;
}

/* catalog */
.catalog-img {
    display: block;
    margin: auto;
    padding: 20px 10px;
    max-height: 700px;
    max-width: 450px;
}

.catalog-table thead {
    background-color: #2f73c7;
    color: white;
}
.catalog-table td {
    padding: 5px 5px !important;
}
.catalog-table th {
    padding: 10px 5px !important;
}
.protected {
    opacity: 0.5;
}
.table-dark tr th {
    font-size: 0.75rem;
    background-color: #17a2b8;
    font-weight: 500;
    border: 1px solid darkgray;
}
.ps-tbody tr td {
    font-size: 0.75rem !important;
}
.pl-thead tr th {
    background-color: #17a2b8;
    color: #fff;
}

body {
    font-size: 0.85rem !important;
    font-family: "Verdana" !important;
}
.brand-link {
    font-size: 0.9rem;
}
.btn {
    font-size: 0.8rem;
}
.small-box h3 {
    font-size: 1.5rem;
}
.content-header h1 {
    font-size: 1.5rem;
}
.form-control {
    font-size: 0.85rem;
    height: calc(2.05rem + 2px);
}
input[type="file"] {
    font-size: 0.75rem;
}
.model-name {
    font-size: 0.7rem;
}
body:not(.layout-fixed) .main-sidebar {
    height: 100vh;
}

@media (max-width: 768px) {
    .login-whole {
        margin: 50px 30px !important;
    }
    .md-block {
        display: block;
    }
    .mw-100 {
        width: 100% !important;
    }
    .mob-t-2 {
        margin-top: 20px;
    }
    .mob-d-column {
        flex-direction: column;
    }
    .p-label-2 {
        padding: 0px;
    }
}

.d-flex-s{
    align-items: stretch;
}

.form-control:focus{
    border: 2px solid #80bdff !important;
}

.filter-box{
    margin-left: 20px;
    max-height: 200px;
    overflow-y: scroll;
}
.brand-filter-label{
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    margin-left: 28px !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ecf7ff !important;
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: #fff !important;
}
/*.card{*/
/*    background: #caebff;*/
/*}*/
