
.prevent_scrolling{
    overflow: hidden;
}
.plyr {
    border-radius: 10px; /* Adjust radius value as needed */
    overflow: hidden;    /* Ensures video hides behind corners */
}
/* Beginning of top section */
#top {
    width: 100%;
    box-sizing: border-box;
    background-color: #0f172a ;
    box-shadow: var(--shadow-medium);
    height: max-content;
    padding-bottom: 15px;
}
#logo {
    width: 100px;
    margin-left:5px;
    margin-top:5px
}

#top a { 
    text-decoration: none;
}

#header {
    box-sizing: border-box;
    width: 100%;
    border-collapse: collapse;
}

#top td, #top th {
    border: 0 solid white;
}
.notification_sign {
    margin: auto;
    margin-right:15px;
    
}
.notification_sign img {
    width:28px;
    height:28px
}
#notification_section_big_screen {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
}
#notification_section_small_screen {
    display:none;
}
#menu_user_greeting {
    text-align:right;
    padding-right:10px;
    font-weight:bold;
    color:dimgray
}
#header_greeting_and_app_section{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: right;
    align-items: center;
    align-self: center;
    align-content: center;
    width:auto;
    padding: 10px 25px;
}
#in_app_PWA_install_section{
    margin-right:25px
}
#install_PWA {
    box-sizing: border-box;
    border-width:0;
    border-radius: 5px;
    padding:3px 15px;
    cursor: pointer;
    background-color: rgb(248, 248, 248);
    display: none;
}

.blink{
    background-color:lightgray !important ;
}
#install_PWA_icon {
    width:25px;
    height:25px;
    margin-right:10px
}
#install_PWA_words {
    font-size:14px;
    position: relative;
    bottom:7px;
    color:black;
}


#greeting {
    text-align: center;
}
#w_greeting{
    box-sizing: border-box;
    display: block;
    color: white;
    background-color: rgb(0, 140, 230);
    width:35px; 
    height:35px;
    border-radius:50%;
    margin:auto auto;
    cursor: pointer;
    font-weight: bold;
}
#greeting_letter {
    font-size:15px;
    position:relative;
    top:9px;
    color: white;
}

#companylogo {
    text-align:left; 
    padding-left:5px;
}

/*  account notifications section */
#account_notifications {
    text-align:left;
    width:auto
}
#notification_bell {
    width: 30px;
    height:30px;
    cursor:pointer;
    
}
#account_notification_sign {
    cursor: pointer;
    border-radius:3px;
    display:-webkit-flex;
    display:flex;
    flex-direction: row;
    flex-wrap:nowrap;
    justify-content: center;
    align-items: center;
    align-self: center;
}
#notification_bell:hover {
    transform:scale(1.07)
}

/*  end of header notification section */
#header_quick_buttons_section {
    text-align: right !important;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: end;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
    width: auto;
    padding-right:50px
}
#order_notification_section {
    display:-webkit-flex;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
	align-items: center;
    align-self: center;
    align-content: center;
}
#orderslink {
	display:-webkit-flex;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
	align-items: center;
    align-self: center;
    align-content: center;
    box-sizing: border-box;
    width: max-content;
    padding: 7px 10px;
    color: black;
    white-space: nowrap;
    font-size:14px !important;
    min-height:max-content;
    max-height:30px;

}
#orderslink span {
    cursor: pointer;
    text-align:right;
}
#orderslink img {
    width:30px;
    height:30px
}

.alert_elmt_count_display {
    color:rgb(0,153,230); 
    font-size: 10px !important;
    border:2px solid lightgray;
    width: 20px;
    height:20px;
    text-align:center;
    border-radius:50%;
    position:relative;
    right:10px;
    top:18px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center;
    background-color: white ;
}
.alert_elmt_count_display span{
    color:black; 
}
.hd_pending_orders_count {
    background-color: white !important;
    color: brown !important;
    border:2px solid brown !important;
}
.hd_pending_orders_count span {
    color: brown !important;
}
#order_bell_img {
    width:30px;
    height:30px;
    position:relative;
    bottom:15px;
    right:37px;
    display:none
}

/* at this moment 7 - 12 - 2020 only bookshop vendors header uses the following styles */

#p_orders  {
    width:max-content;
    padding:0
}

#p_orders li {
    list-style-type: none;
}
#p_orders ul {
    padding:0;
    margin:0;
    position:absolute;
	width:max-content;
    z-index: 100;
    border-radius: 5px;
    background-color: rgb(240, 240, 240);
    box-shadow: 0 0 25px 1px dimgray;
}
.pending_orders_link {
    padding: 7px 15px;
    text-align: left;
    display: none;
    font-size:13px;
	white-space:nowrap;
    z-index: 99999;
}

.pending_orders_link:hover {
    background-color: rgb(0, 153, 230);
    box-shadow: 0 0 20px 0 rgba(104, 177, 250, 0.787);
    color:white;
    border-radius: 5px;

}

.pending_orders_link a {
    color:black
}

.pending_orders_link:hover a{
    color:white;
}

.pending_orders_link a:hover {
    text-decoration: none; 
}

.pending_orders_link:hover .n_sub_orders {
    color:white
}

.n_sub_orders {
    color:rgb(0, 153, 230);
    font-weight: bold;
}
.nl {
    color:var(--text-secondary);
}
.nl:hover, .single_element:hover a, .main label:hover{
    color:rgb(0,153,230);
}

.section_caption {
    padding:7px 25px;
    border-width:0;
    border-radius:3px;
    font-weight:bold;
    background-color:lightgray;
    width:max-content;
    text-decoration:none;
    margin-bottom:15px;
    margin-top: 35px;
    color: black;
}

#account_handling_options_section{
    width:200px;
    border:1px solid lightgray;
    border-radius: 5px;
    padding:10px;
    padding-top:15px;
    position: absolute;
    top:55px;
    right:5px;
    background-color: white;
    z-index: 1000;
    display: none;
}
.handling_option {
    text-decoration: none;
    color:black;
    display: block;
    margin-bottom:15px;
    font-size:14px;
    cursor: pointer;
}
.handling_option:not(.has_sub_menu):hover {
    color:rgb(0, 140, 230);
    font-weight:bold;
}
.handling_option_label {
    color: black;
}
.handling_option_label:hover {
    font-weight: bold;
}

.option_sub_menu {
    margin-left:25px;
    display: none;
    padding-top:7px
}
.option_sub_menu a {
    font-size: 12px;
    padding:10px;
    margin: 0;
}



/*end of header style*/

/* Position the content of the page (id = content)*/
#content {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    width: 100%;
    min-height:100vh;
}
#sidebar {
    width: 300px;
    margin-top:50px;
    margin-bottom: 75px;
    position:-webkit-sticky;
    position: sticky;
    top:100px;
}

#right {
    box-sizing: border-box;
    margin-left:1%;
    width:98%;
    min-width: calc(100vw - 400px);
    padding-right:25px;
    padding-left:50px;
}
#page_title {
    font-size:16px;
    white-space:nowrap;
    font-weight:bold;
    color:gray;
    border:2px solid rgb(0, 140, 230);
    border-radius: 5px;
    text-align:center;
    margin-top:15px;
    margin-bottom:15px;
    width: max-content;
    padding: 7px 25px;
    text-transform: uppercase;
}

/* End of header controls */ 


/* Sidebar controls */
.menu_icons {
    width: 25px;
    height:25px;
    margin-right:20px;
    margin-bottom:-5px;
}
#navigation li {
    list-style-type: none;
}

#navigation a {
    text-decoration: none;
}

/*  this section controls the sidebar*/
.unfold {
    display:inline-block;
    width:15px; 
    height:15px;
    margin-bottom:-5px;
}
#sidebar li {
    box-sizing: border-box;
    padding: 10px;
}
#navigation li li {
    display: none;
}
.main label {
    box-sizing: border-box;
    display:inline-block;
    width:100%;
}
.menu_category_title {
    display:inline-block;
    width:150px;
}
#navigation li li a {
    color: gray;
    padding:7px;
    padding-left:0
}
#navigation li li:first-of-type {
    margin-top: 20px;
}
/* controls the main categories reactions */

.control_checkbox {
    display:none;
}

/**/
#navigation li li:hover a{
    color: white;
}
#navigation li li:hover {
    border-width: 0;
    border-radius: 3px;
    background-color: rgb(0, 153, 230);
    box-shadow: 0 0 20px 0 rgb(77, 166, 255);
}
#sidebar .main:hover{
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-strong);
}

.main {
    box-sizing: border-box;
    border:0 solid white;
    padding:10px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-medium);
    width:250px;
    background-color: var(--bg-secondary);
}
/* to hide the toggle button in desktop mode*/
#togglelabel {
    display:none;
}

.errors {
    list-style-type:disc;
    color: brown;
    margin-bottom:15px;
}
.success {
    color:green;
}
/*  FOR SHOP LINK*/
#shoplink {
    box-sizing: border-box;
    width: 100%;
    margin:15px 0;
    display: flex;
    flex-direction: row;
    justify-content: end;
    justify-content: flex-end;
    padding-right: 25px;
}
#shareshoplink, .sharepagelink {
    min-width:max-content;    
    height:max-content;                               
    color: dimgray;                                    
    background-color:transparent;                                    
    border:1px solid lightgray;                                    
    box-shadow:0 0 10px lightgray;
    padding:5px 10px;
    font-size:11px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    align-self: center;
    white-space: nowrap;
    border-radius: 5px;
}

.sharepagelink:hover, #shareshoplink:hover{
    transform:scale(1.01);
    box-shadow: 0 0 15px lightgray;
    cursor: pointer;
}
.sharepagelink::after, #shareshoplink::after,.shareproductlink::after{
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 20%;
    background: gray;
    padding: 5px 15px;
    color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius   : 10px;
    border-radius        : 10px;
    white-space: nowrap;
    opacity: 0;
    /* At time of this creation, only Fx4 doing pseduo transitions */
    -webkit-transition:All  0.1s ease;
    -moz-transition   : All 0.1s ease;
    transition: all 0.1 ease;
}
        
.sharepagelink:hover::after, #shareshoplink:hover::after,.shareproductlink:hover::after{
    bottom: 100%;
    opacity: 1;
}
#link_icon {
    width:18px; 
}
#shop_link_words {
    display: inline-block;
    margin-right:5px
}

.req {
    font-weight:bolder;
    color:brown;
}

#loading_location {
    width:25px;
    height:25px;
    margin-left:12px;
    position:relative;
    top:7px;
    display:none;
}

.partitioning_hr:hover{
    background-color: unset !important;
    box-shadow: unset !important;
    cursor:default !important
}

#zoomed_in_image_window {
    position: fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: rgba(7, 7, 7, 0.918);
    text-align:center;
    z-index:99999
}
#zoomed_in_image {
    margin: auto auto;
    margin-top:100px;
    border-radius:5px;
    max-height:calc(100% - 150px);
}


/* for styling the line element in the quill editor */
#standalone_container hr, .standalone_container hr {
    border: 1px solid lightgray;
    text-align: center;
    margin:auto auto;
    margin-top:10px; 
    margin-bottom:10px
}
#unseen_messages_notifier {
    width:75px;
}
#my_chat_header_link {
    display:-webkit-flex;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    text-decoration: none;
}
#my_chat_header_link:hover {
    transform:scale(1.05)
}
#unseen_messages_notifier img {
    width:30px;
    height:30px;
    border-radius:5px;
}
#number_of_unseen_messages {
    color:rgb(0,153,230); 
    font-weight:bolder;
    font-size: 13px;
    border:3px solid #0f172a;
    width: 25px;
    height:25px;
    text-align:center;
    border-radius:50%;
    background-color: white;
    position:relative;
    right:10px;
    top:15px;
    display:inline-block;
    display:none;
}
#unseen_messages_count {
    color:rgb(0, 140, 230);
    position:relative;
    top:5px;
}
/* for helping close any opened window */
#page_cover_wrapper {
    width:100vw;
    height:100vh;
    z-index: 999;
    position: fixed;
    left:0;
    top:0;
}

@media only screen and (max-width:1202px){    
    #togglelabel {
        text-align:center;
        background-color: darkgray;
        padding:2px 8px 8px 6px;
        border-radius:4px;
        display:block;
        width: 25px;
        height:25px;
        display: block;
        margin-left:10px
    }
    #togglesign {
        font-size:20px;
        font-weight: 900;
        color: white;
    }
    #togglelabel:hover {
        cursor: pointer;
        background-color: dimgray;
    }
    #sidebar {
        display:none;
        margin-top:23px;
    }
    #content {
        width: 98%;
        overflow-x:auto;
    }
    #right {
        margin-top:15px;
        margin-left:10px;
        width:100%;
        padding:unset
    }
}

@media only screen and (max-width:802px){

    #content td, #content th {
        font-size:12px;
        padding-top:7px !important;
        padding-bottom:7px !important
    }
    .section_caption {
        font-size:14px;
        margin-top: 25px;

    }
    .pending_orders_link {
        font-size: 12px;
        padding: 7px 10px;
    }
    .order_word {
        padding-right:25px;
    }
    
    #left {
        width:0;
    }
  
    #page_title {
        font-size:15px;
        margin-top: 10px;
    }
    #sidebar {
        display: none;
        width: 275px;
    }
    
    /* remaining portion */
    #greeting {
        font-size:12px;
    }
   
    .errors, .success{
        font-size: 12px;
    }
    
  
    #w_greeting{
        width:35px; 
        height:35px;
        margin:auto 10px auto auto;
    }

    #greeting_letter {
        font-size:14px;
        position:relative;
        top:10px;
    }
    
    #order_bell_img {
        width:25px;
        height:25px;
    }

    #zoomed_in_image {
        max-width:90%;
        max-height:calc(100% - 150px);
    }

    .alert_elmt_count_display {
        font-size: 10px !important;
        width: 20px;
        height:20px;
        right:10px;
        top:18px;
    }

}

@media only screen and (max-width:602px){/* for small screens  */
    html, body {
        font-size:13px;
    }
    #notification_bell {
        width: 25px;
        height:25px;
        
    }
    #orderslink img {
        width:25px;
        height:25px
    }
 
    #account_notifications {
        width:max-content;
        text-align: left;
        padding-bottom: 5px;
    }
    
    #page_title {
        font-size:14px;
    }

    #install_PWA {
        padding:2px;
        cursor: pointer;
        background-color: white;
        width:40px;
        height:40px;
    }
    #install_PWA_icon {
        width:35px;
        height:35px;
        margin-right:0;
    }
    #install_PWA_words {
        display:none
    }
    .blink {
        background-color: white !important;
    }

    #account_handling_options_section{
		top:50px;
	}
    #unseen_messages_notifier img {
        width:25px;
        height:25px;
    }
    #header_quick_buttons_section {
        padding-right:25px
    }
   
}

@media only screen and (max-width:402px){
    #right {
        margin-top:5px;
        margin-left:5px;
        padding-right:unset;
        padding-left:0px;
    }
}
    
