     * {
      box-sizing: border-box;
    }
    
    body, html {
      height: 100%;
      margin: 5px;
      font-family: verdana;
      background-color: white;
    }
   .bg-index {
      background-image: url('../images/mainfield.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
   .bg-all {
      background-image: url('../images/mainfield_fade.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    #main{
      color:white;
      text-align: center;
      background-color: #8F8585;
      min-height: 500px;
      width: 270px;
    }
    
    #footer{
      height: 30px;
      line-height: 1.7;
      background-color: lightgray;
      opacity: 0.2;
      width: 100%;
      position: fixed;
      bottom: 0px;      
      padding-left: 10px;
      display: flex;
      justify-content:space-evenly;
      z-index: 100;
    }
    #date{
      font-size: 1.5em;
      margin-bottom: 5px;
      width: 220px;
    }
    a.white:link{
      color: white;
      text-decoration: none;
    }
    a.white:hover{
      color: #EBE9E9;
    }
    a.none:link{text-decoration: none;color: black;}
    a.none:hover{color: black;}
    .center{text-align: center;}
    .right{text-align: right;}
    
  .blocked{background-color: #FBA9A9;}
  .red-text{ 
    color: red;
    font-weight: bold;
  }
  #bookpage{
    height: 85vh;
    display: flex;
    justify-content:space-between;
    width: 100%;
  }
  #login, #bookingeditpage{
    display: flex;
    justify-content:space-between;
    width: 270px;
    background-color: lightgray;
    padding: 10px;
  }
  #paymentpage{
    width: 320px;
    padding: 10px;
  }
  .warning{
    width: 100%;
    background-color: #FA8A8A;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  .message{
    width: 100%;
    background-color: white;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  #but-1{
    margin-top:10px;
    margin-right: 20px;
    background-color: #FA8A8A;
    font-size: 1.2em;
    border-radius: 8px;
    padding: 5px;
  }
  #but-2{
    margin-top:10px;
    margin-left: 20px;
    border-radius: 5px;
  }
  #maindata{
    background-color: lightblue;
  }
  .line{
    color: white;
    font-size: 1.5em;
    padding: 5px;
  }
  .white{
    color: white;
  }
  .shade{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  }
  .box{
    background-color: #7E0303;
    color: white;
    margin:auto;
    margin-top: 10px;
  }
  #do_refresh{display: none;}
  
  #story{
    width: 80%;
    min-width: 270px;
    min-height: 200px;
  }
  #index{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .index-box{
    margin: 20px;
    width: 300px;
    height: 200px;
    text-align: center;
    padding-top: 30px;
    border: 1px solid black;
    background-color: #FBFABC;
    color: black;
    font-size: 1.5em;
  }
  #person_edit{
    width: 300px;
    padding: 5px;
  }
  #personlist{
    width: 90vw;
    max-width: 1000px;
    height: 650px;
    padding: 5px;
    overflow-y: scroll;
  }
  #paymentslist, #homemessage{
    width: 90vw;
    max-width: 600px;
    height: 650px;
    padding: 5px;
    overflow-y: scroll;
  }
  
  #reslist{
    width: 90vw;
    max-width: 900px;
    height: 850px;
    padding: 5px;
    overflow-y: scroll;
  }
  
  #scrolldiv{
    max-height: 500px;
    overflow-y: scroll;
  }
  #result{
    font-size: 1.5em;
    background-color: blue;
    color: white;
    width: 220px;
  }
  .small{font-size: 0.7em;}
  .amount{text-align: right;}
  button:hover{
    cursor: pointer;
  }
  .movebutton{
    border: 1px solid black;
    background-color: lightblue;
    border-radius: 5px;
    width: 100px;
    margin-left: 10px;
    margin-right: 10px;
    color: white;
  }
  #book{
    display: none;
    justify-content: center;
    margin: 10px 0px;
  }
  #bookbutton{
    border: 1px solid black;
    padding: 10px;
    background-color: #FA8A8A;
    border-radius: 15px;
    width: 100px;
    color: white;
  }
  #left, #right, #left-s, #right-s {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  #prev, #next{
    display: block;
  }
  #prev-s, #next-s{
    display: none;
  }
  
  #send_whatsapp{
    display: flex;
    justify-content:space-between;
    max-width: 470px;
    width: 80vw;
    background-color: #043DC2;
    margin:auto;
    margin-top: 10px;
    padding: 10px;
  }

  .whole{display: table-row;}
  .half{display: none;}

  .my-li{cursor: pointer;margin: 2px;}
  .my-li:hover{background-color: lightgray;}  
  
  @media (max-width:800px) {
  .movebutton{
    width:50px;
  }
  #prev, #next{
    display:none; 
  }
  #prev-s, #next-s{
    display: block;
  }
}