body, html {background-color:white;height:100%;margin:0;overflow-x:hidden;}
h1{color:black;font-size:45px;margin:5px;}
h2{color:black;font-size:40px;margin:5px;}
h3{color:black;font-size:35px;margin:5px;}
h4{color:black;font-size:25px;margin:5px;}
h5{color:black;font-size:20px;margin:5px;}
h6{color:black;font-size:16px;margin:5px;}
input{background-color:#f8f8f8 !important;width:100%;padding:10px;margin-bottom:10px;font-size:16px;border-width:0px;color:black;border-style:solid;border-radius:5px;border-color:#e6e6e6;border-width:2px;}
select{background-color:#f0f0f0;width:100%;padding:15px;margin-top:10px;margin-bottom:10px;font-size:16px;border-width:0px;color:black;border-style:solid;border-radius:5px;border-color:#bebebe;border-width:2px;}
textarea{background-color:#f0f0f0;width:100%;padding:15px;margin-top:10px;margin-bottom:10px;font-size:16px;border-width:1px;border-color:rgb(192, 192, 192);color: black;}
p{color:black;margin:0px;padding:5px;font-size:14px;}
a{color:#284ccf;text-decoration:none;font-weight:normal;}
.text-decoration-none {text-decoration: none;}
.cursor{cursor: pointer;}
.backgroundlightgrey{background-color:#f5f3f3 !important;}
.hoverwhite:hover{color:#ffffff !important;}
.bghoverwhite:hover{background-color:#ffffff !important;}
.hoverblue:hover{color:#3e64ed !important;}
.hoverred:hover{color:#ac0b1e !important;}
.hoverinfo:hover{color:#17a2b8 !important;}
.bghoverinfo:hover{background-color:#17a2b8 !important;}
.hoversuccess:hover{color:#28a745 !important;}
.bghoversuccess:hover{background-color:#28a745 !important;}
.hoverwarning:hover{color:#ffc107 !important;}
.bghoverwarning:hover{background-color:#ffc107 !important;}
.hoverdanger:hover{color:#dc3545 !important;}
.bghoverdanger:hover{background-color:#dc3545 !important;}
.bghoverdangerw:hover{background-color:#dc3545 !important;color:white !important}

input.form-check-input:checked {
    background-color: #000 !important; /* Black background */
    border-color: #000 !important;/* Black border */
}

input.form-check-input:checked::after {
    color: #fff !important; /* White check mark (default) */
}

.fulldiv{display: inline-block;width:100%;text-align: center;height:auto;}
.griddiv{display: inline-block;width:100%;max-width:1180px;height:auto;}
.button{display:inline-block;width:auto;min-width:100px;background-color:#1c73a190;padding:10px;text-align:center;cursor: pointer;}
.imputbox{display:inline-block;width:100%; max-width:500px;margin-left:35px;margin-top:30px}
.fulldiv{display:inline-block;width:100%}

/* The container */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: #ececec;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background-color: #b5d9f7;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

/* ##### ICONS ##### */

.iconbuttonbox{
    width:170px;
    margin-top:10px;
    float:left;
}
.iconbuttonboxoicon{
    width:20px;
    margin-top:5px;
    margin-left:10px;
    float:left;
}
.iconbuttonboxotext{
    width:125px;
    float:left;
    text-align:left;
    margin-left:5px;
}
.iconbuttonbox:hover i{
    background-color: #becbff;
}
.iconbuttonbox:hover .icontext{
    color: #becbff;
}

.iconadd {
    width: 20px;
    height: 20px;
    margin-top:1px;
    margin-left:0px;
    display: inline-block;
    background-color: white;
    -webkit-mask: url(/img/icon-add.svg) no-repeat 50% 50%;
    mask: url(/img/icon-add.svg) no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.widthfull {
    width:100%;
}
.widthbox {
    width:100%;
}

/* ##### HEADER ##### */
.headerbox {
    width:100%;
    height: 150px;
    text-align: center;
    line-height: 150px;
}
.headergred {
    display: inline-block;
    vertical-align: middle;
    width:1150px;
}

/* ##### TOP BAR ##### */
#topbox {
    width: 100%;
    height: 60px;
    background-color: #141718;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #313536;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
    position: relative;
  }
  
  .user-menu-trigger {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .user-menu-trigger:hover {
    background-color: #2c3031;
  }
  
  .user-menu-trigger i {
    margin-right: 8px;
    font-size: 24px; /* Increased icon size for Material Icons */
  }
  
  .admin-text {
    font-size: 16px;
  }
  
  .user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    min-width: 250px; /* Increased width significantly */
    margin-top: 10px;
    padding: 10px 0;
  }
  
  .user-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .user-menu li {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex; /* Use Flexbox for icon and text alignment */
    align-items: center;  /* Vertically center icon and text */
  }
  
  .user-menu li:last-child {
    border-bottom: none;
  }
  
  .user-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: color 0.2s ease;
    margin-left: 8px; /* Space between icon and text */
  }
  
  .user-menu li a:hover {
    background-color: #f5f5f5;
    color: #007bff;
  }
  
  .user-menu li.logout a {
    color: #333; /* Default color for logout */
  }
  
  .user-menu li.logout a:hover {
    background-color: #f5f5f5;
    color: #dc3545; /* Red on hover for logout */
  }
  
  .user-menu li i {
    font-size: 24px; /* Increased icon size */
    margin-right: 8px;
    width: 24px;  /* added to align the text*/
    text-align: center; /* centers the icon*/
  }

/* ##### Message ##### */
#messagebox {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 10; 
    background-color: rgba(255, 255, 255, 0.9);
}
.messagegred {
    position: absolute;
    top: calc(50% - 145px);
    left: calc(50% - 275px);
    background-color: #a5d1e8;
    border-style: solid;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.3);
    border-width:2px;
    min-height: 200px;
    width: 550px;
    text-align: center;
    margin-top: 30px;
}

/* ##### POP UP IMAGE ##### */
.overlay-image {
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 7, 0.905); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.overlay-content-image {
    display:inline-block;
    position: relative;
    top: 10%;
    left:calc(50% - 325px);
    background-color: rgb(10, 10, 100);
    border-style: solid;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.3);
    border-width:2px;
    height: auto;
    min-height: 200px;
    width: 650px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 150px;
}

.overlay-closebtnbox-image {
    display:inline-block;
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
    width:100%;
}

.overlay-closebtn-image {
    display:inline-block;
    text-align:center;
    width:100px;
    font-size: 20px;
    border-style: solid;
    color:white;
    background-color: rgb(4, 4, 71);
    border-color: #f0f0f080;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-width:1px;
    cursor: pointer;
}

.overlay-message-image {
    display:inline-block;
    text-align:center;
    margin-top:20px;
    width:90%;
    color:white;
}

.overlay-buttonbox-image {
    display:inline-block;
    text-align:center;
    width:auto;
    max-width:100%;
    height: auto;
    
}

.overlay-button-image {
    display:inline-block;
    text-align:center;
    margin-left:5px;
    margin-right:5px;
    width:auto;
    color:white;
    cursor: pointer;
}

.overlay-imagebox-image {
    display:inline-block;
    text-align:center;
    width:auto;
    max-width:100%;
    height: auto;
}

.overlay-image-image {
    display:inline-block;
    text-align:center;
    margin-left:5px;
    margin-right:5px;
    margin-top:10px;
    width:115px;
    height:115px;
    cursor: pointer;
}


/* Hover effect for price items */
.price-item:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
    cursor: pointer;
}

/* Custom styling for search box */
#searchInput {
    margin-bottom: 10px;
}

/* Scrollable container for price list */
.price-list-container {
    max-height: 300px; /* Limit the height */
    overflow-y: auto; /* Enable vertical scrolling */
}

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

    .logingred {
        left: 0;   
    }
    
    .overlay-content {
        top: 25%;
        margin-left:20px;
        margin-right:20px;
        left:0px;
        width: calc(100% - 40px);
    }

    .overlay-content-image {
        top: 25%;
        margin-left:20px;
        margin-right:20px;
        left:0px;
        width: calc(100% - 40px);
    }

    .messagegred {
        left: 2.5%;
        width: 95%;
    }
    

}

@media screen and (max-height: 600px) {

    .logingred {
        top: 0;   
    }
}