body,
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .form-control {
    text-align: right;
}

/*
    Common 
*/

.wizard,
.tabcontrol {
    display: block;
    width: 100%;
    overflow: hidden;
}

.wizard a,
.tabcontrol a {
    outline: 0;
}

.wizard ul,
.tabcontrol ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.wizard ul>li,
.tabcontrol ul>li {
    display: block;
    padding: 0;
}

/* Accessibility */
.wizard>.steps .current-info,
.tabcontrol>.steps .current-info {
    position: absolute;
    right: -999em;
    /* changed from left to right */
}

.wizard>.content>.title,
.tabcontrol>.content>.title {
    position: absolute;
    right: -999em;
    /* changed from left to right */
}

/*
    Wizard
*/

.wizard>.steps {
    position: relative;
    display: block;
    width: 100%;
}

.wizard.vertical>.steps {
    display: inline;
    float: right;
    /* changed from left to right */
    width: 30%;
}

.wizard>.steps .number {
    font-size: 1.429em;
}

.wizard>.steps>ul>li {
    width: 25%;
}

.wizard>.steps>ul>li,
.wizard>.actions>ul>li {
    float: right;
    /* changed from left to right */
}

.wizard.vertical>.steps>ul>li {
    float: none;
    width: 100%;
}

.wizard>.steps a,
.wizard>.steps a:hover,
.wizard>.steps a:active {
    display: block;
    width: auto;
    margin: 0 0.5em 0.5em;
    padding: 1em 1em;
    text-decoration: none;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard>.steps .disabled a,
.wizard>.steps .disabled a:hover,
.wizard>.steps .disabled a:active {
    background: #f5f5f5;
    /* light beige */
    color: #aaa;
    cursor: default;
}

.wizard>.steps .current a,
.wizard>.steps .current a:hover,
.wizard>.steps .current a:active {
    background: #6b4226;
    /* dark brown */
    color: #fff;
    cursor: default;
}

.wizard>.steps .done a,
.wizard>.steps .done a:hover,
.wizard>.steps .done a:active {
    background: #b29060;
    /* tan */
    color: #fff;
}

.wizard>.steps .error a,
.wizard>.steps .error a:hover,
.wizard>.steps .error a:active {
    background: #a8423f;
    /* muted red */
    color: #fff;
}

.wizard>.content {
    background: #faf4e6;
    /* very light beige */
    display: block;
    margin: 0.5em;
    min-height: 35em;
    overflow: scroll;
    position: relative;
    width: auto;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard.vertical>.content {
    display: inline;
    float: right;
    /* changed from left to right */
    margin: 0 2.5% 0.5em 2.5%;
    width: 65%;
}

.wizard>.content>.body {
    /* changed from left to right */
    width: 95%;
    height: 95%;
    padding: 2.5%;
}

.wizard>.content>.body ul {
    list-style: disc !important;
}

.wizard>.content>.body ul>li {
    display: list-item;
}

.wizard>.content>.body>iframe {
    border: 0 none;
    width: 100%;
    height: 100%;
}

.wizard>.content>.body input {
    display: block;
    border: 1px solid #ccc;
}

.wizard>.content>.body input[type="checkbox"] {
    display: inline-block;
}

.wizard>.content>.body input.error {
    background: rgb(251, 227, 228);
    border: 1px solid #fbc2c4;
    color: #8a1f11;
}

.wizard>.content>.body label {
    display: inline-block;
    margin-bottom: 0.5em;
}

.wizard>.content>.body label.error {
    color: #8a1f11;
    display: inline-block;
    margin-right: 1.5em;
    float: left;
    /* changed from left to right */
}

.wizard>.actions {
    position: relative;
    display: block;
    text-align: right;
    width: 100%;
}

.wizard.vertical>.actions {
    display: inline;
    float: right;
    /* changed from left to right */
    margin: 0 2.5%;
    width: 95%;
}

.wizard>.actions>ul {
    display: inline-block;
    text-align: right;
}

.wizard>.actions>ul>li {
    margin: 0 0.5em;
}

.wizard.vertical>.actions>ul>li {
    margin: 0 0 0 1em;
}

.wizard>.actions a,
.wizard>.actions a:hover,
.wizard>.actions a:active {
    background: #6b4226;
    /* dark brown */
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard>.actions .disabled a,
.wizard>.actions .disabled a:hover,
.wizard>.actions .disabled a:active {
    background: #f5f5f5;
    /* light beige */
    color: #aaa;
}

.wizard>.loading {}

.wizard>.loading .spinner {}

/*
    Tabcontrol
*/

.tabcontrol>.steps {
    position: relative;
    display: block;
    width: 100%;
}

.tabcontrol>.steps>ul {
    position: relative;
    margin: 6px 0 0 0;
    top: 1px;
    z-index: 1;
}

.tabcontrol>.steps>ul>li {
    float: right;
    /* changed from left to right */
    margin: 5px 2px 0 0;
    padding: 1px;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.tabcontrol>.steps>ul>li:hover {
    background: #edecec;
    border: 1px solid #bbb;
    padding: 0;
}

.tabcontrol>.steps>ul>li.current {
    background: #fff;
    border: 1px solid #bbb;
    border-bottom: 0 none;
    padding: 0 0 1px 0;
    margin-top: 0;
}

.tabcontrol>.steps>ul>li>a {
    color: #5f5f5f;
    display: inline-block;
    border: 0 none;
    margin: 0;
    padding: 10px 30px;
    text-decoration: none;
}

.tabcontrol>.steps>ul>li>a:hover {
    text-decoration: none;
}

.tabcontrol>.steps>ul>li.current>a {
    padding: 15px 30px 10px 30px;
}

.tabcontrol>.content {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 35em;
    overflow: hidden;
    border-top: 1px solid #bbb;
    padding-top: 20px;
}

.tabcontrol>.content>.body {
    float: right;
    /* changed from left to right */
    position: absolute;
    width: 95%;
    height: 95%;
    padding: 2.5%;
}

.tabcontrol>.content>.body ul {
    list-style: disc !important;
}

.tabcontrol>.content>.body ul>li {
    display: list-item;
}


#add-product-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999999999999999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Popup content */
.popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    height: 90vh;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    overflow: auto;
    border: 6px solid silver;
    /* Could be more or less, depending on screen size */
}

/* Close button */
.close-btn {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;

}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Open popup button */
.open-popup-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

.open-popup-btn:hover {
    background-color: #0056b3;
}


/* custom-choices.css */

/* General Choices.js styling */
.choices {
    font-family: 'Roboto', sans-serif;
    max-width: 100%;
    width: 100%;
}

.choices__inner {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.choices__inner:focus,
.choices__inner:hover {
    border-color: #80bdff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.choices__list--multiple .choices__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 0px;
    padding: 0px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: silver;
    border: 1px solid darkgray;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
}

.choices__list--dropdown .choices__item--selectable {
    background-color: #ffffff;
    border-bottom: 1px solid #ced4da;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.choices__list--dropdown .choices__item--selectable:hover {
    background-color: #f8f9fa;
}

.choices__input {
    border: none;
    outline: none;
    background-color: transparent;
    padding: 5px;
    font-size: 14px;
    color: #495057;
}

.add-book-pop {
    border-radius: 90px !important;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fixed-height {
    max-height: 150px;
    overflow-y: auto;
    margin-top: 10px;
    /* Added gap between images and button */
}

.image-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.image-wrapper img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.image-wrapper .remove-image {
    position: absolute;
    top: 0;
    right: 0;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 5px;
}

.image-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.upload-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

.upload-button:hover {
    background-color: #45a049;
}

.form-control {
    margin-bottom: 10px;
}

#product_images {
    display: none !important;
}











.message-item {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}

.message-item .message-title {
    font-size: 1.2em;
    display: inline-block;
    margin-right: 10px;
}

.message-item .fa-user-circle {
    margin-right: 10px;
    font-size: 1.5em;
    vertical-align: middle;
}

.message-item .fa-reply {
    font-size: 1.2em;
    cursor: pointer;
    margin-left: 10px;
}

.message-body {
    margin-top: 10px;
}

.reply-form {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #ddd;
}


.badge {
    background-color: #f8f9fa;
    color: #000;
    border-radius: 10px;
    padding: 5px 10px;
    margin-left: 5px;
}






.product-authors-inpord,
.book-condition-inpord,
.book-locality-inpord {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.custom-label-inpord {
    font-weight: bold;
    color: #0073aa;
}

.custom-content-inpord {
    font-style: italic;
    color: #555;
}

.product-authors-inpord i,
.book-condition-inpord i,
.book-locality-inpord i {
    color: #0073aa;
    margin-right: 5px;
}




#message-form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#message-form h4 {
    color: #333;
    margin-bottom: 15px;
}

.modal-header .close {
    margin: 0px;
}

#message-form .form-group {
    margin-bottom: 15px;
}

#message-form .form-control {
    border-radius: 5px;
    box-shadow: none;
    border: 1px solid #ccc;
}

#message-form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 5px;
    padding: 10px 20px;
}

#message-response {
    margin-top: 15px;
}

#messagesManagementTabs .nav-pills .nav-link {
    margin-bottom: 5px;
}

.pac-container {
    z-index: 9999999999999999999;
    /* Bootstrap modals use z-index 1050 by default */
}

.select2-results__options li:first-child {
    display: none;
}

.chosen-container .chosen-results {
    background-color: white !important;
}

.primary-navigation {
    display: block !important;
}

.main-navigation ul.menu>li.menu-item>a {
    float: right;
}

.woocommerce .count-review {
    display: none;
}




.popup-prod {
    display: none;
    position: fixed;
    z-index: 999999999999999999999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-prod-popup-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup-prod-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.popup-prod-close-btn:hover,
.popup-prod-close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



.new-badge {
    background-color: #ff0000;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: bold;
    z-index: 99;
}

.give-badge {
    background-color: gold;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
    position: absolute;
    top: 5px;
    left: 5px;
    font-weight: bold;
    z-index: 99;
}

.custom-thumbnail-wrapper {
    height: 200px;
    /* Set a fixed height for all product thumbnails */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the container */
}


.home .contact-form-button {
    display: none;
}

.entry-summary-top {
    display: none !important;
}

.bookory-sticky-add-to-cart {
    display: none !important;

}

#menu-item-9363 a {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    display: block;
    margin-top: 15px;
    margin-right: 10px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1.3rem;
    line-height: 1.5;
    border-radius: .25rem;
    font-weight: bold;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#menu-item-9363 a:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

#menu-item-9363 a:focus,
#menu-item-9363 a.focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5);
}

#menu-item-9363 a:disabled,
#menu-item-9363 a.disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

#menu-item-9363 a:not(:disabled):not(.disabled):active,
#menu-item-9363 a:not(:disabled):not(.disabled).active,
.show>#menu-item-9363 a.dropdown-toggle {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

#menu-item-9363 a:not(:disabled):not(.disabled):active:focus,
#menu-item-9363 a:not(:disabled):not(.disabled).active:focus,
.show>#menu-item-9363 a.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5);
}


#form-response {
    text-align: center;
    margin-top: 20px;
}

#form-response .alert {
    display: inline-block;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    font-size: 18px;
}

#form-response .alert i {
    font-size: 2em;
    margin-bottom: 10px;
}


.global-loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999999999999999999999999;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

ul.products li.product img {
    width: 100% !important;
    height: 100%;
}

.custom-thumbnail-wrapper {
    height: 300px !important;
    width: 100% !important;

}


/* Default styles for the primary navigation */
.primary-navigation-booksee {
    background-color: transparent;
    /* Remove background color */
    text-align: center;
    /* Center align all items */
}

.primary-navigation-booksee .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /* Center align all items */
}

.primary-navigation-booksee .menu li {
    position: relative;
}

.primary-navigation-booksee .menu li a {
    display: block;
    color: #333;
    /* Default text color */
    text-decoration: none;
    padding: 15px;
    font-size: 2em;
    font-weight: bold;
    /* Make font bigger */
}

.primary-navigation-booksee .menu li a:hover {
    color: orange;
    /* Change color on hover */
}

#editor-page .nav-tabs-add {
    display: none !important;
}

.nav-tabs-add {
    margin: 30px 0px;
    font-size: 1.2rem;
    border-bottom: 1px #6b4226 solid;
}

.nav-tabs-add .nav-item.show .nav-link,
.nav-tabs-add .nav-link.active {
    color: #fff;
    background-color: #6b4226;
    font-weight: bold;
    padding: 10px 12px;
}

.nav-tabs-add .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #6b4226;
    font-size: 1.3rem;
    padding: 10px 12px;
}

.nav-tabs-add .nav-item {
    margin-bottom: -1px;
}

.nav-tabs-add .nav-link:hover {
    border-color: #372011 #372011 #ddd;
    background-color: rgb(93, 54, 28);
    color: white;
}

.tab-content-nav {
    margin-top: 20px;
    font-size: 1.2rem;
}

/* Styles for mobile devices (max-width: 768px) */
@media (max-width: 768px) {

    .select2-container {
        width: 100% !important;
    }

    .popup-content {
        width: 95% !important;
    }


    .wizard>.steps>ul>li {
        width: 33%;
    }

    .elementor-125 .elementor-element.elementor-element-c3a2fd1 {
        margin: auto;
    }

    .primary-navigation-booksee {
        position: relative;
    }

    .primary-navigation-booksee .menu {
        flex-direction: column;
        display: none;
        width: 100%;
        background-color: #fff;
        /* Background color for mobile menu */
    }

    .primary-navigation-booksee .menu li {
        width: 100%;
    }

    .primary-navigation-booksee .menu li a {
        padding: 15px;
        border-bottom: 1px solid #ddd;
    }



    .primary-navigation-booksee .menu-toggle {
        display: block;
        cursor: pointer;
        text-align: center;
        width: 100% !important;
        background-color: orange !important;
    }


    .primary-navigation-booksee .menu.active {
        display: block;
    }
}

/* Toggle menu visibility */