/* Create Page css Start */
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&display=swap');

html,
body {
    overflow-x: hidden;
    touch-action: manipulation;
    /* disables double-tap zoom */
    -ms-touch-action: manipulation;
    -webkit-touch-callout: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Anton", sans-serif;
}

/* Navbar css Start */
.nav-link:active,
.nav-link:hover {
    color: #ffffff !important;
    font-weight: 400;
    border-bottom: 2px solid red;
    text-align: center;
}

.nav-link {
    color: #dbd5d5 !important;
    text-align: center;
    border-bottom: 2px solid #000000;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar {
    background-color: black;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.locker-btn {
    background-color: #f90a30;
    border: 3px solid #f90a30;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
}

.select-session .session-btn {
    background-color: #f90a30 !important;
    border: 3px solid #f90a30 !important;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    text-align: left;
}

.add-chapter-btn {
    background-color: unset !important;
    border: unset !important;
    color: #f90a30 !important;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    padding: 6px 12px 6px 0px !important;
    border-radius: 4px;
    text-align: left;
}

.select-session .session-btn:hover {
    background-color: #f90a30 !important;
    border: 3px solid #f90a30 !important;
    color: #fff;
}

.icon-btn {
    background: none;
    border: none;
    color: #f90a30 !important;
    font-size: 1.2rem;
    margin-left: 10px;
}

.add-chapter {
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0 !important;
    white-space: nowrap;
}

/* Navbar css End */
.heading {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: 110px;
    font-style: normal;
    color: #ffffff;
}

.save_book {
    padding: 14px 64px;
    font-size: 20px;
}

.right_boder {
    position: absolute;
    padding-right: 130px;
}

label {
    color: #ffffff;
    font-size: 20px;
}

input {
    height: 82px;
    border: 3px solid #f90a30 !important;
    border-radius: 5px;
    background: #f9f9f9 0% 0% no-repeat padding-box;
}

.file {
    position: relative;
    overflow: hidden;
    display: block !important;
    height: 82px;
    border: 3px solid #f90a30 !important;
    border-radius: 5px;
    background: #f9f9f9 0% 0% no-repeat padding-box;
    padding: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.choose-file {
    display: flex;
}

.btn.club-badge-btn {
    border: 2px solid #cccccc !important;
    color: #000000;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px;
}

.file input {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    top: 0;
}

.dashed_border {
    border-bottom: 1px dashed #ffffff !important;
    height: 5;
    opacity: 1;
    border-width: 3px !important;
}

.dashed_border-red {
    border-bottom: 1px dashed red !important;
    height: 5;
    opacity: 1;
    border-width: 3px !important;
}

/* .choose-session-menu{

} */
.choose-session {
    width: 120px;
    height: 50px;
}

#new_create_sec_main .upload-club-badge {
    padding-left: 0;
}

#new_create_sec_main .chapter-title {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.chapter-title input {
    font-size: 27px;
    font-weight: 500;
    color: #000000;
    position: relative;
}

.choose-session-section .lable_title {
    width: 40%;
    text-align: right;
    padding-right: 20px;
    white-space: nowrap;
}

.choose-session-section .inputbox {
    width: 100%;
}

.edit-pencil {
    position: absolute !important;
    top: 65px;
    right: 25px !important;
    bottom: 30px !important;
}

#new_create_sec_main .sesstion-bilder {
    position: sticky;
    top: 150px !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: hidden;
    overflow-x: hidden;
}

/* select theme css start */
.select2-container--default .select2-selection--single {
    border: 3px solid red !important;
    border-radius: 4px;
    /* optional */
}

#add_session_modal .modal-dialog,
#delete_ebook_success_modal .modal-dialog,
#delete_ebook_modal .modal-dialog,
#max_session_modal .modal-dialog {
    max-width: 500px !important;
}

#add_session_modal .modal-header button.btn-close,
#delete_ebook_success_modal .modal-header button.btn-close,
#delete_ebook_modal .modal-header button.btn-close,
#max_session_modal .modal-header button.btn-close,
#select_theme_model .modal-header button.btn-close {
    position: absolute;
    top: -20px;
    right: 45px;
    padding: 0;
    border: 0;
    background: transparent url("/assets/images/ebook/close-button.svg") center / contain no-repeat;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 1;
}

#add_session_modal .modal-content,
#delete_ebook_success_modal .modal-content,
#delete_ebook_modal .modal-content,
#max_session_modal .modal-content,
#select_theme_model .modal-content {
    background-color: #000000 !important;
}

#add_session_modal .modal-title,
#delete_ebook_success_modal .modal-title,
#delete_ebook_modal .modal-title,
#max_session_modal .modal-title,
#select_theme_model .modal-title {
    margin-left: 35px;
    margin-top: 20px;
}

#add_session_modal .modal-title h5,
#delete_ebook_success_modal .modal-title h5,
#delete_ebook_modal .modal-title h5,
#max_session_modal .modal-title h5,
#select_theme_model .modal-title h5 {
    font-size: 77px;
}

#add_session_modal .modal-footer,
#delete_ebook_success_modal .modal-footer,
#delete_ebook_modal .modal-footer,
#max_session_modal .modal-footer,
#select_theme_model .modal-footer {
    margin-bottom: 35px;
}

#delete_ebook_modal .modal-footer button {
    margin-right: 20px !important;
}

#add_session_modal .modal-footer button,
#delete_ebook_success_modal .modal-footer button,
#delete_ebook_modal .modal-footer button,
#max_session_modal .modal-footer button,
#select_theme_model .modal-footer button {
    margin: 0;
    width: 155px;
    height: 48px;
    margin-right: 35px;
}

#add_session_modal .selected_theme,
#delete_ebook_success_modal .selected_theme,
#delete_ebook_modal .selected_theme,
#max_session_modal .selected_theme,
#select_theme_model .selected_theme {
    border: 3px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
    transition: border-color 0.3s ease;
}

#add_session_modal .selected_theme.selected,
#delete_ebook_success_modal .selected_theme.selected,
#delete_ebook_modal .selected_theme.selected,
#max_session_modal .selected_theme.selected,
#select_theme_model .selected_theme.selected {
    border: 3px solid #f44336;
}

#select_theme_model .selected_theme img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.selec-theme-btn {
    height: 82px;
    background-color: #ffffff !important;
    border: 3px solid #f44336 !important;
    border-radius: 4px;
}

.select_theme_text {
    padding: 10px 40px;
    font-size: 20px;
}

.selec-theme-btn .choosetheme-btn {
    display: block;
    /* Ensures full width inside button */
    border: 2px solid #cccccc;
    color: #000000;
    border-radius: 0.25rem;
    width: 100%;
    font-size: 20px;
    padding: 10px 15px;
    font-weight: 600;
    text-align: center;
}

/* select theme css end */

/* multi select dropdown menu start */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #f44336 transparent transparent transparent !important;
    border-style: solid;
    border-width: 8px 8px 0 8px !important;
    height: 0;
    left: 50%;
    margin-left: -10px !important;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 20px !important;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(180deg);
}

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

.select2-results__option {
    padding-right: 20px;
    vertical-align: middle;
}

.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 18px;
    width: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 12px;
    vertical-align: middle;
}

.select2-results__option[aria-selected="true"]:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f00c";
    color: #fff;
    background-color: #f90a30;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f0f0f0;
    color: #333;
}

.select2-container--default .select2-selection--single {
    border: 2px solid #ced4da;
    border-radius: 0.375rem;
    height: 56px !important;
    display: flex !important;
    align-items: center;
    padding: 0 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    font-weight: 600;
    color: #000000 !important;
    font-size: 22px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #f90a30;
    border-width: 3px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
    font-weight: bold;
}

.select2-container--open .select2-dropdown--below {
    border-radius: 0.375rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.js-select2.form-select option {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

.select2-search__field {
    display: none;
}

.select2-container .select2-selection--multiple {
    min-height: 56px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f90a30 !important;
}

/* multi select dropdown menu  end*/

.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

.session-view-heading {
    max-width: 400px !important;
}

.session-view-heading .heading-red {
    width: 400px !important;
}

/* Create Page css End */
.preview-club {
    height: 70px !important;
    width: 70px !important;
    display: flex;
    align-items: center;
    margin-top: 70px !important;
}

.preview-theme {
    height: 100px !important;
    width: 100px !important;
    display: flex;
    align-items: center;
    margin-top: 55px !important;
}

.preview-club img,
.preview-theme img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 1399px) {
    .save_book {
        font-size: 16px;
    }

    .btn.club-badge-btn {
        font-size: 17px;
    }

    .selec-theme-btn .choosetheme-btn {
        font-size: 17px;
    }
}

@media (max-width: 1200px) {
    .custom-padding {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ebook-controls-wrapper {
        padding-left: 140px;
        padding-right: 140px;
    }
}

@media (max-width: 768px) {
    .ebook-controls-wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .session-wrapper {
        background-position: top center;
        padding: 5rem;
        background-position: top center;
        padding-left: 30px;
        height: auto;
    }

    .heading-red {
        font-size: 1.5rem;
    }
}

@media (min-width: 1199px) {
    .right_boder::after {
        content: "";
        position: absolute;
        top: 0;
        right: 50px;
        width: 2px;
        height: 100%;
        background-color: #4B4B4B;
    }
}

@media (max-width: 991px) {
.banner-container .mobile-banner {
  position: relative;
  z-index: 1;
}

#mobileNav {
  position: absolute !important;
  top: 80px !important; /* Adjust if your nav is under fixed header */
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background-color: #000000 !important;
  padding: 0 10px !important;
  transition: all 0.3s ease !important;
}
    /* .session-view-heading .heading-red {
        max-width: 200px;
    } */

    .custom-padding .session-book-content {
        padding-left: 0;
        text-align: center;
    }

    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    #buttonSubmit {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .right_boder {
        position: relative;
        padding-right: 0px;
    }

    .session-book-content {
        padding-left: 0;
        margin-top: 50px;
    }

    #new_create_sec_main {
        margin-top: 0;
    }

    #new_create_sec_main .sesstion-bilder {
        position: unset;
    }

    .right_boder {
        display: unset;
        text-align: center;
    }

    #new_create_sec_main form {
        margin-left: 0;

        margin-top: 50px;
    }

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

    .ebook_view_right_content {
        padding-top: 30px;
    }
}

@media (max-width: 767px) {
    .session-view-heading {
        max-width: unset !important;
        width: unset !important;
    }

    .session-view-heading .heading-red {
        width: auto !important;
    }

    .session-form .choose-session-section {
        display: block !important;
    }

    .choose-session-section .lable_title {
        width: 100%;
        text-align: left;
    }

    .choose-session-section .inputbox {
        width: 100%;
    }

    .preview-theme {
        height: 90px !important;
        width: 90px !important;
        margin-top: 0px !important;
        margin: 0 auto;
    }

    .preview-club {
        margin-top: 20px !important;
        margin: 0 auto;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 800px !important;
    }
}

@media (max-width: 576px) {
    .ebook_view_right_content {
        flex-direction: column-reverse;
    }

    .QR-code {
        margin-bottom: 20px;
    }

    .selec-theme-btn .choosetheme-btn {
        font-size: 16px;
        padding: 8px 12px;
    }

    .container,
    .container-sm {
        max-width: 700px;
    }

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

    .heading-red {
        font-size: 50px !important;
    }

    .session-book-name {
        font-size: 50px !important;
    }

}

@media (max-width: 480px) {
    .ebook-controls-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .session-wrapper {
        height: 250px;
        padding: 1rem;
    }
}



/* footer */

footer {
    margin-top: auto;
    padding-top: 140px;
}

.container-fluid {
    width: calc(100% - 200px);
}

.form-select {
    background-color: black;
    color: #ffffff;
    border: 2px solid red;
}

.social-icon {
    color: black;
    /* icon color */
    background-color: #E5343B;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    /* remove any default border */
}

.social-icon:hover {
    color: white;
    background-color: #b3272c;
    transform: scale(1.1);
}

.social-icon i {
    border: none;
    /* make sure the <i> icon itself has no border */
}

.flag-select {
    padding: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: border 0.2s;
}

.flag {
    display: flex;
}

.flag-select.active,
.flag-select.hover {
    border-color: red;
}

@media (max-width: 1199px) {
    .container-fluid {
        width: calc(100% - 30px);
    }

    .session-menu label {
        font-size: 16px !important;
    }

    .choose-session-section .lable_title {
        width: 52%;
        padding-right: 16px;
    }

    .session-wrapper {
        height: 360px;
    }
}

@media (max-width: 992px) {
    .container-fluid {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {

    .footer-logo {
        justify-content: center;
        display: flex;
        margin: 0 auto;
    }

    footer {
        padding-top: 40px;
    }

    .social-icons {
        justify-content: flex-start !important;
    }

    .contact-us-footer {
        display: flex !important;
        margin: 0 auto;
        width: 100%;
        text-align: center;
        padding: 10px;
        flex-direction: column;
    }

    .flag {
        display: block;
    }

    .flag-images {
        margin-bottom: 10px;
    }

    .account {
        order: 2;
        margin-top: 5px;
    }

    .contact-us-footer .form-select {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .copy-rights {
        display: flex;
        justify-content: center !important;
    }

    .copy-rights small {
        font-size: 14px;
        text-align: center;
    }



    .social-ions {
        /* border-top: 1px solid #ffffff; */
        width: 100%;
    }

    .social {
        text-align: center;
        margin: 0 auto;
        justify-content: center;
        margin-top: 20px;
    }
}