@CHARSET "UTF-8";

body {
    font-family: Arial,sans-serif;
}

/* CSS to enable dropdowns on hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* Override Bootstrap's default margin */
}

/* Ensuring nested dropdowns are shown on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    left: 100%;
    top: 0;
    margin-top: -1px;
}

/* Position level 3 dropdowns to the side */
.dropdown-submenu .dropdown-menu.dropdown-end {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

div.editor-sidebar-header{
    /*border: #a6b5cc 2px solid;*/
    padding: 5px 5px;

    height:100%;
    border-collapse: collapse;
}
div.editor-header{
    border: #a6b5cc 2px solid;
    border-collapse: collapse;
    padding: 10px;
}
div.editor-sidebar  {
    border-left: #a6b5cc 2px solid;
    border-right: #a6b5cc 2px solid;
    border-collapse: collapse;
}
#addToBasketSuccess{
    position:absolute;
    top: 70px;
    right: 0px;
    z-index: 100000000;
}



@media print {.no-print, .no-print * {display: none !important;}}

.custom-radio {
    width: 100%;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-radio:hover {
    background-color: #f0f0f0;
}

.custom-radio .radio-image {

    height: 40px;
    width: auto;
    margin-right: 15px;
}

textarea.form-control {
    border: 1px solid #dee2e6 !important;
}

.form-check-input:checked + .custom-radio {
    background-color: rgba(0, 123, 255, 0.2);
    color: #020202;
    border-color: #007bff;
}

.form-check-input:checked + .custom-radio:hover {
    background-color: #0069d9;
    color: #fff;
}

.carousel-item .product-img {
    cursor: zoom-in !important;
}

.carousel-item .product-img:hover {
    cursor: zoom-in !important;
}

.image-wrapper {
    position: relative;
    width: 400px; /* Dimensions of the first background image */
    height: 300px;
    overflow: hidden;
}

/* The background image container (div with background) */
.background-div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; /* Background covers the complete div */
    background-position: center;
    z-index: 1;
}
/* The cropping area inside the first image */
.crop-area {
    position: absolute;
    border: 2px dashed #000; /* Optional: Visualize the crop area */
    overflow: hidden; /* Ensure content inside the crop area doesn't overflow */
    z-index: 2;

}

/* The second image that will be placed fully within the crop area */
.overlay-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the second image is scaled to fit the crop area */
}
