:root {
    --2nd-font-size: 14px;
}

.navbar-nav li:hover>ul.dropdown-menu {
    display: block;
}

.navbar-nav li a.nav-link {
    position: relative;
}

.nav-logo {
    max-height: 35px;
}

@media (max-width: 992px) {
    .navbar-nav li a.nav-link.active:not(#cart-icon) {
        text-decoration: underline;
    }
}

@media (min-width: 992px) {
    .navbar-nav li a.nav-link:not(#cart-icon):after {
        content: '';
        display: none;
        width: 0;
        height: 0;
        border-bottom: 10px solid #fff;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 50%;
        margin-left: -10px
    }

    .navbar-nav li:hover a.nav-link:not(#cart-icon):after {
        display: block !important;
    }

    .navbar-nav li a.nav-link.active:not(#cart-icon):before {
        content: '';
        width: 0;
        height: 0;
        border-bottom: 10px solid #fff;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 50%;
        margin-left: -10px
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
}


/* rotate caret on hover */

.dropdown-menu>li>a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

.padding-1 {
    padding: 1px !important;
}

.nopad {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/*image gallery*/


/* .image-checkbox-wrapper {
    width: 100px;
    height: 100px;
} */

.image-checkbox {
    position: relative;
    cursor: pointer;
    border: 2px solid #ffffff;
    outline: 0;
    height: 225px;
    width: 155px;
    background: #fff;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: 0.3s;
}

.image-checkbox:hover {
    border-color: #302ed0;
}

.custom-radio-button input[type="radio"]+label::before {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    background-color: #302ed0;
    border-radius: 50%;
    display: inline-block;
    height: 30px !important;
    position: absolute;
    right: 5px;
    text-align: center;
    top: -10px;
    width: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 27px;
    border: 2px solid #fff;
    transform: scale(0);
    transition: 0.2s;
}

.radio.image-checkbox {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 200px;
    /* border-radius: 50% !important; */
    /* margin-left: 1.5px; */
    /* margin-bottom: 7.5px; */
    overflow: visible;
    padding: 10px;
}

.radio.image-checkbox .custom-control-label {
    left: 0 !important;
}

.radio.image-checkbox .custom-control-label h5 {
    position: absolute;
    background: transparent !important;
    font-size: var(--2nd-font-size) !important;
    width: 100% !important;
    margin-left: 0 !important;
    bottom: -27px !important;
}

.image-checkbox-box {
    position: relative;
    cursor: pointer;
    border: 2px solid #1b1b1b;
    margin-bottom: 5px;
    outline: 0;
    margin-left: 15px;
    margin-bottom: 15px;
}

.image-checkbox small {
    font-size: var(--2nd-font-size) !important;
    font-weight: normal !important;
    color: #000 !important;
}

input[type="radio"].fabric-mat-col+label:hover {
    border: 2px solid #302ed036;
}

input[type="radio"].fabric-mat-col:checked+label {
    border: 2px solid #302ed0;
}

input[type="radio"].fabric-mat-col+label::before {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    background-color: #302ed0;
    border-radius: 50%;
    display: inline-block;
    height: 30px !important;
    position: absolute;
    right: -13px;
    text-align: center;
    top: -13px;
    width: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 27px;
    border: 2px solid #fff;
    transform: scale(0);
    transition: 0.2s;
}

input[type="radio"].fabric-mat-col:checked+label::before {
    transform: scale(1);
}


.image-checkbox img {
    margin-top: 15px;
    width: 115px;
    height: 115px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #cdcdcd;
}

.image-checkbox-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
}


/*.image-checkbox img:after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/common/no-image-available.png'), center, no-repeat, #cccccc;
    background-size: cover;
}*/

/* .image-checkbox .fa {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 24px;
    text-align: right;
    color: #302ed0;
    background: transparent;
    border: 2px solid #302ed0;
} */

.image-checkbox input[type="radio"]:checked+img {
    /*    border-color: #ed1f24;
        box-shadow: inset 0 1px 1px rgba(237, 31, 36, 0.7), 0 0 8px rgba(237, 31, 36, 0.7);*/
}

.image-checkbox input[type="radio"]:checked~.fa {
    display: block !important;
    pointer-events: none;
}

.image-checkbox-checked {
    border-color: #4783B0;
}

#product-zoomer {
    position: absolute;
    width: 300px;
    min-height: 150px;
    left: -330px;
    background-color: aliceblue;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    border-radius: 10px;
}

.hidden {
    display: none !important;
}

.card>.card-group-item:first-child>.card-header {
    border-radius: .625rem .625rem 0 0 !important;
    border-bottom: 1px solid #00000050;
}

#cart-icon {
    position: relative;
}

#cart-item-count {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 10px;
    padding: 3px;
    line-height: inherit;
    min-width: 22px;
}

.lighter-text {
    color: #abb0be;
}

.main-color-text {
    color: #00c0cb;
}

#addtocart {
    width: 250px;
}


/* .badge {
    background-color: red;
    border-radius: 10px;
    color: white;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 3px 7px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
} */

.shopping-cart {
    background: white;
    width: 320px;
    position: absolute;
    top: 70px;
    right: 5px;
    border-radius: 3px;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26) !important;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    opacity: 0;
    -webkit-transform-origin: right top 0;
    -webkit-transform: scale(0);
    transform-origin: right top 0;
    transform: scale(0);
    z-index: 1;
}

.shopping-cart.active {
    opacity: 1;
    -webkit-transform-origin: right top 0;
    -webkit-transform: scale(1);
    transform-origin: right top 0;
    transform: scale(1);
}

.shopping-cart .shopping-cart-header {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 15px;
}

.shopping-cart .shopping-cart-header .shopping-cart-total {
    float: right;
}

.shopping-cart .shopping-cart-items {
    padding-top: 20px;
    padding-left: 0;
    list-style-type: none;
    max-height: 283px;
    overflow-y: auto;
}

.shopping-cart .shopping-cart-items li {
    margin-bottom: 18px;
}

.shopping-cart .shopping-cart-items img {
    float: left;
    margin-right: 12px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    position: relative;
    background-color: #cccccc;
}


/*.shopping-cart .shopping-cart-items img:after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/common/no-image-available.png'), center, no-repeat, #cccccc;
    background-size: cover;
}*/

.shopping-cart .shopping-cart-items .item-name {
    display: block;
    font-size: 16px;
}

.shopping-cart .shopping-cart-items .item-detail {
    display: block;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.shopping-cart .shopping-cart-items .item-price {
    color: #00c0cb;
    margin-right: 8px;
}

.shopping-cart .shopping-cart-items .item-quantity {
    color: #abb0be;
}

.shopping-cart:after {
    bottom: 100%;
    left: 89%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: white;
    border-width: 8px;
    margin-left: -8px;
}

.cart-icon {
    color: #515783;
    font-size: 24px;
    margin-right: 7px;
    float: left;
}

.button {
    background: #f8770c;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    display: block;
    border-radius: 3px;
    font-size: 16px;
    margin: 25px 0 15px 0;
    text-transform: uppercase;
}

.button:hover {
    background: #f87f1b;
}

.button i {
    padding-left: 5px;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.popover-header {
    width: 200px;
    background: #2e2e32;
    color: #fff;
    border-radius: 0 !important;
    font-weight: bold;
}

.popover.clour-img-hover {
    margin-right: 20px;
    background-color: white;
}

.popover.clour-img-hover .popover-body {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

.popover.clour-img-hover .popover-body img {
    object-fit: contain;
    height: 100%;
    max-width: 100%;
    position: relative;
    min-width: 200px;
    min-height: 200px;
}

.popover.clour-img-hover .popover-body img.fabric {
    object-fit: cover;
    /* for fabric images */
}

[role="button"] {
    cursor: pointer;
}

.card .list-group-item.active {
    color: #fff !important;
    background-color: rgba(0, 123, 255, 0.18) !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    color: #000 !important;
}

.accordian-cart .list-group-item {
    padding: 15px;
    border-radius: 0;
    border: none;
}

.list-group-item:first-child {
    border-radius: 0;
}

.search-result {
    position: absolute;
    top: 42px;
    z-index: 1023;
    background: #fff;
    width: calc(100% - 30px);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26) !important;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    opacity: 0;
    -webkit-transform-origin: ccenter top 0;
    -webkit-transform: scale(0);
    transform-origin: center top 0;
    transform: scale(0);
}

.search-result.active {
    opacity: 1;
    -webkit-transform-origin: center top 0;
    -webkit-transform: scale(1);
    transform-origin: center top 0;
    transform: scale(1);
}

.search-result-items {
    list-style-type: none;
    max-height: 280px;
    overflow-y: auto;
}

.search-result-items li a {
    font-weight: 600;
    outline: none;
}

.list-group-item-in {
    padding: 2px 1.25rem 5px 1.25rem !important;
    margin-bottom: -1px;
    background-color: #fff;
    border-top: none !important;
    font-weight: 300;
    margin-top: -15px;
}

.accordian-cart .list-group-item-in {
    padding: 2px 1rem 5px 1rem !important;
    margin-bottom: -1px;
    background-color: #fff;
    border-top: none !important;
    font-weight: 300;
    margin-top: -15px;
}

#side-product-menu .card-header {
    cursor: pointer;
    border-top: 1px solid rgba(0, 0, 0, .125);
}

#side-product-menu .card-header:first-child {
    border-radius: 0;
    border: none;
}

#side-product-menu .card-header:after {
    font-family: 'FontAwesome';
    content: "\f068";
    float: right;
}

#side-product-menu .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f067";
}

#side-product-menu .list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

#side-product-menu .list-group-item {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, .125);
}


/* custom radio button */

.custom-radio-button div {
    display: inline-block;
}

.custom-radio-button input[type="radio"] {
    display: none;
}

.custom-radio-button input[type="radio"][name="track"] {
    display: inline-block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0px !important;
    z-index: -1 !important;
}

.custom-radio-button input[type="radio"]+label {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border: 2px solid #fff;
    transition: 0.3s;
    background: #fff;
    height: 100%;
}


.custom-radio-button input[type="radio"]+label::before {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    background-color: #302ed0;
    border-radius: 50%;
    display: inline-block;
    height: 30px !important;
    position: absolute;
    right: 5px;
    text-align: center;
    top: -10px;
    width: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 27px;
    border: 2px solid #fff;
    transform: scale(0);
    transition: 0.2s;
}

.custom-radio-button input[type="radio"]+label span {
    display: inline-block;
    margin: 0 15px 7.5px 0;
    /* padding: 5px 15px; */
    vertical-align: middle;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 33%);
    text-align: center;
    color: #7d7d7d;
    transition: all 0.3s ease;
    font-size: 12px;
    padding: 2.5px 7.5px;
}

.custom-radio-button input[type="radio"]+label span img {
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-radio-button input[type="radio"]#color-red+label span {
    background-color: red;
}

.custom-radio-button input[type="radio"]#color-blue+label span {
    background-color: blue;
}

.custom-radio-button input[type="radio"]#color-orange+label span {
    background-color: orange;
}

.custom-radio-button input[type="radio"]#color-pink+label span {
    background-color: pink;
}

.custom-radio-button input[type="radio"]:hover+label {
    border: 2px solid #302ed036;
}

.custom-radio-button input[type="radio"]:checked+label {
    border: 2px solid #302ed0;
}

.custom-radio-button input[type="radio"]:checked+label::before {
    transform: scale(1);
}


.custom-radio-button input[type="radio"]:checked+label span {
    background: #e9ecef;
    box-shadow: 0px 1px 2px 0 rgb(0 0 0);
    border: 2px solid #e9ecef;
    color: #3e5168;
}

.sub-option-row .custom-radio-button input[type="radio"]+label span {
    font-size: 12px;
    padding: 2.5px 7.5px;
}

.bottom-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -13px;
    width: 0;
    height: 0;
    border-top: 15px solid #302ed0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.bottom-arrow>p::after {
    content: '';
    position: absolute;
    left: 0;
    z-index: 1;
    right: 0;
    margin: 0 auto;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 15px solid #ffffff;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.selected-field-details .list-group-item {
    font-size: var(--2nd-font-size) !important;
    font-weight: normal !important;
    color: #000 !important;
    padding-left: 0;
    padding-bottom: 15px;
}

.selected-field-details .list-group-item p {
    font-size: var(--2nd-font-size) !important;
    font-weight: normal !important;
    color: #000 !important;
}

.selected-field-details .list-group-item b, .selected-field-details .list-group-item span {
    width: 50%;
    display: inline-block;
}

.card-img-top {
    /* width: 120px; */
    width: 100%;
    border-radius: 0;
    margin-top: 0 !important;
    margin-bottom: 10px;
}

.graphical-menu {
    min-height: 100%;
    text-align: center;
    display: block;
    border: 2px solid #fff;
    border-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: 0.3s;
    border: 3px solid #fff !important;
    cursor: pointer;
    position: relative !important;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.graphical-menu:hover,
.graphical-menu:focus {
    border-color: #302ed036 !important;
}

.graphical-menu.active {
    border-color: #302ed0 !important;
}

.graphical-menu.active::before {
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    background-color: #302ed0;
    border-radius: 50%;
    display: inline-block;
    height: 30px !important;
    position: absolute;
    right: -15px;
    text-align: center;
    top: -15px;
    width: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 27px;
    border: 2px solid #fff;
}

.details .list-group-item {
    font-size: var(--2nd-font-size) !important;
    font-weight: normal !important;
    text-indent: -9px;
    margin-left: 18px;
    padding: 0;
    margin-bottom: 5px;
    border: none;
    color: #000
}

.extra-options {
    height: 45px;
    border-radius: 0;
    font-size: var(--2nd-font-size) !important;
    color: #000 !important;
    font-weight: normal !important;
}

input.data-field,
.footer-copyright small.text-muted,
#fabric-results>.row>p,
.field,
#contact-form label,
#contact-form .form-control,
#checkout-form label,
#checkout-form .form-control,
#checkout-product-list *:not(.text-danger) {
    font-size: var(--2nd-font-size) !important;
    color: #000 !important;
    font-weight: normal !important;
}

#product-form-3 img {
    max-width: 100% !important;
}

/* ecommerce product styles */
.product-grid {
    width: 100%;
    position: relative;
    transition: all 0.4s ease-out;
}

/* .product-grid:hover {
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.1);
} */

.product-grid .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
    width: 100%;
}

.product-grid .description {
    font-size: 14px;
    margin-bottom: 0;
    width: 100%;
    /* line-height: 16px; */
    color: #000;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 3; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
    font-weight: 400;
    /* height: 48px; */
}

.product-grid img {
    max-height: 230px !important;
    object-fit: cover !important;
}

.product-grid .price {
    font-size: 14px;
    margin-bottom: 0;
    width: 100%;
    line-height: 16px;
    color: #000;
    font-weight: bold;
}
.measure-width-height {
    height: 380px;
    width: 100%;
    text-align: center;
}
.measure-width-height img {
    width: 85%;
    height: 100%;
    object-fit: contain;
}
.card-body .details{
    display: none !important;
}
.card-body .h6{
    display: none !important;
}
.text-danger {
    color: #302ed0 !important;
}
.btn-danger {
    color: #fff;
    border-color: #302ed0;
    background-color: #302ed0;
    box-shadow: none;
}
.btn-danger:hover {
    color: #fff;
    background-color: #302ed0;
    border-color: #302ed0;
    box-shadow: 0 5px 15px rgba(0,0,0,.05), 0 4px 10px rgb(48 46 208 / 25%);
}
.btn-danger.focus, .btn-danger:focus {
    box-shadow: 0 0 0 3px rgb(48 46 208 / 15%), 0 3px 15px rgb(48 46 208 / 20%), 0 2px 5px rgba(0,0,0,.1);
}
.btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show>.btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #302ed0;
    border-color: #302ed0;
    background-image: none;
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125)!important;
}
#fabric-results .new-align {
    gap: 1rem;
}