* {
  box-sizing: border-box;
}

body {
  font-family: 'Albert Sans', sans-serif;
  /* padding: 10px; */
  background: #f1f1f1;
}

/* Header/Blog Title */
.header {
  padding: 30px;
  text-align: center;
  background: white;
}

.header h1 {
  font-size: 50px;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;

        margin-right: auto;
        margin-left: auto;
        width: 80%;

  
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* from onlinefood */
.wrapper {
  padding: 1%;
  width: 80%;
  margin: 0 auto;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  background-color: #f1f1f1;
  padding-left: 20px;
}

/* Fake image */
.cardbox {
  background-color: #ecf0f1;
  width: 100%;
  padding: 20px;
  border-radius: 6px;
}

.cardbox2 {
  background-color: #ecf0f1;
  border-radius: 6px;
  padding: 20px;
}


/* Add a card effect for articles */
.card {
  background-color: white;
  /* padding: 10px; */
  margin-top: 20px; 
  padding: 1% 10% 1% 10%;
}

.emptycard{
  padding: 0 10% 0 10%;
}

/*
.card_order {
  background-color: white;

  margin-top: 20px;
  padding: 1% 18% 1% 18%;
}
*/

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 30px 0 120px 9% ;
  /* text-align: center; */
  background: #ddd;
  margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}

/* disable the counting arrow in the number type field */
/* if theres a warning alert, ignore it */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* FOR TRACKER.PHP START */
/* Style inputs */
input[type=number], input[type=time], input[type=text], input[type=email], input[type=password], select, option {
  width: 100%;
  padding: 10px 20px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}


/* Style the submit button */
input[type=submit] {
  width: 100%;
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  /* margin: 8px 0; */
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Add a background color to the submit button on mouse-over */
input[type=submit]:hover {
  background-color: #45a049;
}

.status-done{
			/* same as .page */
			margin-right: auto;
			margin-left: auto;
			width: 100%;
			color:white;
			background-color: #04AA6D;
			border-radius: 6px;
			/* border: 6px solid darkslategrey; */
			text-align: center;
}

.status-prepare{
  /* same as .page */
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  color:white;
  background-color: #f44336;
  border-radius: 6px;
  /* border: 6px solid darkslategrey; */
  text-align: center;
}

.status-cancel{
  /* same as .page */
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  color:white;
  background-color: #34495e;
  border-radius: 6px;
  /* border: 6px solid darkslategrey; */
  text-align: center;
}

.status-blue{
  /* same as .page */
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  color:white;
  background-color: #3498db;
  border-radius: 6px;
  /* border: 6px solid darkslategrey; */
  text-align: center;
}

.status{
  padding: 20px;
  /*background-color: #bdc3c7; */
  border-radius: 6px;
  /* border-color: #333; */
  
}
/* FOR TRACKER.PHP END */

.buttonAdd {
  width: 100%;
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

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

/* IMAGE BANNER */
.content_banner{
width: 100%;
height: 300px;
object-fit: cover;
object-position: 0px 50%;
border-radius: 10px;

}
/* */
.image_cotainer {
  position: relative;
  text-align: center;
  color: white;

  
}

.textOnImageCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 2px 2px black;
}


.qr_code{
  width: 200px;
  height: 200px;
  object-fit:cover;
  }

  .big_qr_code{
    width: 500px;
    height: 500px;
    object-fit:cover;
    }

.middle_text{
  padding: 80px 0;
}

.button_blue {
  /*width: 10%;*/
  background-color: #3498db;
  color: white;
  padding: 12px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.button_blue:hover {
  /*width: 10%;*/
  background-color: #74b9ff;
  color: white;

}

.buttonAct{
  text-decoration: none;
  background-color: #34495e;
  border: none;
  /* border-radius: ;*/
  color: white;
  padding: 3px ;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  width: 110px;
}

.buttonAct:hover{
  background-color: #3498db;
  color: white;
}


/* FOR AUTOFILL (AUTOFILL.PHP) START*/
#country-list {
  float: left;
  list-style: none;
  margin-top: -3px;
  padding: 0;
  width: 190px;
  position: absolute;
  width: 80%;
}

#country-list li {
  padding: 10px;
  background: #f0f0f0;
  border-bottom: #bbb9b9 1px solid;

}

#country-list li:hover {
  background: #ece3d2;
  cursor: pointer;
}

#search-box {
  padding: 10px;
  border: #a8d4b1 1px solid;
  border-radius: 4px;
  width: 100%;
  padding: 12px 20px;
}

/* FOR AUTOFILL (AUTOFILL.PHP) ENDS */


		/* Database Table Public Starts */
		/* https://codepen.io/faaezahmd/pen/dJeRex?editors=1100 */
			/* test 2 */
      .li {
        border-radius: 3px;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        /* margin-bottom: 25px; */
        margin-bottom: 2px; /* ! to control spacing of each row in table */
  
        /* be on top of element for qualification */
        z-index:3;
        position:relative;
      }
  
      .li4 {
        background-color: #ecf0f1;
        font-size: 16px;
        text-transform: uppercase;
        box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
        
        border-radius: 3px;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        margin-top: -7px;
        margin-bottom: 50px;
      }
  
      .table-header {
        background-color: #bdc3c7;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 0.03em;
      }
      .table-row {
        background-color: #ffffff; /* ! to control color of each row table */
        box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
      }
  
      /* adjust these to adjust the box per content */
      .area-1 {
        flex-basis: 10%;
      }
      .area-2 {
        flex-basis: 20%;
      }
      .area-3 {
        flex-basis: 30%;
      }
      .area-4 {
        flex-basis: 40%;
      }
  
      @media all and (max-width: 767px) {
        .table-header {
          display: none;
        }
        
  
        .li {
          display: block;
        }
        .area {
          
          flex-basis: 100%;
          
        }
        .area {
          display: flex;
          padding: 10px 0;
  
        }
  
        .area:before {
            color: #6C7A89;
            padding-right: 10px;
            content: attr(data-label);
            flex-basis: 50%;
            text-align: right;
          }
      }
  
      td, th{
        padding: 0 5px 0 5px;
      }
  
      .main{
        font-weight:bold;
        font-size: 20px;
      }
  
      /* Database Table Public Ends */
        

      .idNotFound {
        padding: 20px;
        background-color: #f44336;
        color: white;
        border-radius: 4px;
        opacity: 1;
        transition: opacity 0.6s;
      }

      .idFound {
        padding: 20px;
        background-color: #3498db;
        color: white;
        border-radius: 4px;
        /*width: 30%;*/
        opacity: 1;
        transition: opacity 0.6s;
      }

      .idFound2 {
        padding: 20px;
        background-color: #2ecc71;
        color: white;
        border-radius: 4px;
        /*width: 30%;*/
        opacity: 1;
        transition: opacity 0.6s;
      }
      
      .closebtn {
        margin-left: 15px;
        color: white;
        font-weight: bold;
        float: right;
        font-size: 22px;
        line-height: 20px;
        cursor: pointer;
        transition: 0.3s;
      }
      
      .closebtn:hover {
        color: black;
      }

      /* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_accordion */
      .accordion {
        background-color: #eee;
        color: #444;
        cursor: pointer;
        padding: 18px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 15px;
        transition: 0.4s;
      }
      
      .active, .accordion:hover {
        background-color: #ccc;
      }
      
      .accordion:after {
        content: '\002B';
        color: #777;
        font-weight: bold;
        float: right;
        margin-left: 5px;
      }
      
      .active:after {
        content: "\2212";
      }
      
      .panel {
        padding: 0 14px;
        background-color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
      }
      /* accordion ENDS */


      /* CSS FOR SEARCH TABLE START */
      #myInput {
        /* background-image: url('/css/searchicon.png'); */
        background-position: 10px 10px;
        background-repeat: no-repeat;
        width: 100%;
        font-size: 16px;
        padding: 12px 20px 12px 40px;
        border: 1px solid #ddd;
        margin-bottom: 12px;
      }
      
      #myTable {
        border-collapse: collapse;
        width: 100%;
        border: 1px solid #ddd;
        font-size: 18px;
      }
      
      #myTable th, #myTable td {
        text-align: left;
        padding: 12px;
      }
      
      #myTable tr {
        border-bottom: 1px solid #ddd;
      }
      
      #myTable tr.header, #myTable tr:hover {
        background-color: #f1f1f1;
      }
      /* CSS FOR SEARCH TABLE ENDS */

      .errorText {
        padding: 1%;
        color: red;
      }
      .successText {
        padding: 1%;
        color: green;
      }
      .pendingText {
        padding: 1%;
        color: blue;
      }
      .cancelText {
        padding: 1%;
        color: #34495e;
      }

      /* STORE RATING START */
      .starGiven {
        color: orange;
      }

      /*https://codeconvey.com/css-star-rating-radio-buttons/*/
      .rating {
        unicode-bidi: bidi-override;
        direction: rtl;
        text-align: center;

        
      }
      .rating > span:hover:before,
      .rating > span:hover ~ span:before {
        content: "\2605";
        position: absolute;
        left: 0;
        color: gold;
      }
      .rating > span {
        display: inline-block;
        position: relative;
        width: 1.1em;
      }
      .rating > span:hover,
      .rating > span:hover ~ span {
        color: transparent;
      }

      .star-cb-group {
        /* remove inline-block whitespace */
        font-size: 0;
        /* flip the order so we can use the + and ~ combinators */
        unicode-bidi: bidi-override;
        direction: rtl;
        
        /* the hidden clearer */
      }
      .star-cb-group * {
        font-size:30px;
      }
      .star-cb-group > input {
        display: none;
      }
      .star-cb-group > input + label {
        /* only enough room for the star */
        display: inline-block;
        overflow: hidden;
        text-indent: 9999px;
        width: 1em;
        white-space: nowrap;
        cursor: pointer;
      }
      .star-cb-group > input + label:before {
        display: inline-block;
        text-indent: -9999px;
        content: "☆";
        color: #888;


      }
      .star-cb-group > input:checked ~ label:before, .star-cb-group > input + label:hover ~ label:before, .star-cb-group > input + label:hover:before {
        content: "★";
        color: #ffc700;  
        text-shadow: 0 0 1px #333;
      }
      .star-cb-group > .star-cb-clear + label {
        text-indent: -9999px;
        width: .5em;
        margin-left: -.5em;
      }
      .star-cb-group > .star-cb-clear + label:before {
        width: .5em;
      }
      .star-cb-group:hover > input + label:before {
        content: "☆";
        color: #888;
        text-shadow: none;
      }
      .star-cb-group:hover > input + label:hover ~ label:before, .star-cb-group:hover > input + label:hover:before {
        content: "★";
        color: #ffc700; 
        text-shadow: 0 0 1px #333;
      }
      /* STORE RATING ENDS */

/* FOR RATING BAR START */
/* Three column layout */
.side {
  float: left;
  width: 20%;
  margin-top:10px;
}

.middle {
  margin-top:10px;
  float: left;
  width: 78%;
}

/* Place text to the right */
.right {
  text-align: right;
}

/* Clear floats after the columns */
.row_1:after {
  content: "";
  display: table;
  clear: both;
}

/* The bar container */
.bar-container {
  width: 100%;
  background-color: #dcdcdc;
  text-align: center;
  color: white;
}
/* FOR RATING BAR ENDS */

