
/* COLORS: */
:root {
    --color-background: #D9D9D9;
    --color-background-text: #39393A;
    --color-whitish: #f7f7f775;
    --color-header: #060607;
    --color-highlight: #5299D3;
    /* --color-supplimental:  #f7c94d; */
    --color-supplimental-hover:  #6b6b6b;
    --color-supplimental-dark: #444444;
    /* --color-supplimental: #e9b61f; */
    --color-supplimental: #a8a8a8;
    --color-supplimental-text: #b3b3b3;
    --color-gray: #39393a55;
    --color-ltgray: rgb(211, 211, 211);
    --color-silver: #6b6b6b;
    --color-blue: #1b3a6f;
    --color-blue-hover: #21498b;
    --color-blue-lt: #f3f6fc;
    --color-gold: #bda165;
    --color-red: #D32F2F;
    --color-red-hover: #b32929;
    --color-green: #4CAF50;
    --color-green-hover: #388E3C;
    --color-white-hover: #eaeaea;

    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
  }

  /* body * { border: 1px solid red; } */

  body{margin: 0;}

/*No Spinners for Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* No Spinners for Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


  .box .flexrow.header {
    flex: 0 1 auto;
  }
  
  .box .flexrow.content {
    flex: 1 1 auto;
  }
  
  .box .flexrow.footer {
    flex: 0 1 80px;
  }

  .flex-item{
    flex-grow: 1;
  }
  
.row{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 32px;
  margin-top: 24px;

}

.col{
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

.header-logo{
  width: fit-content;
  height: fit-content;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.logo-ltv{
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 3.5rem;
  color: var(--color-blue);

}


.logo-text{
  font-family: 'Bai Jamjuree', sans-serif;
  color: var(--color-blue-lt);
  font-weight: 300;
}

#logo-holder{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-name{
  position: absolute;
  top: 16px;
  left: 100px;
  font-size: 3rem;
  font-weight: 700;
}



#loading{
  position: fixed;
  top:0;
  left: 0;
  height:100vh;
  width: 100vw;
  background-color: white;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  z-index: 3050;
}

#loading-message{
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-background-text);
  padding: 16px;
  text-align: center;
}

.separator{
  width: 100%;
  margin: 32px 32px 16px 0;
  border-bottom: 1px solid #ffffff15;
}


.logo-center{
  width: 100%;
  font-size: 3rem;
  color: var(--color-supplimental);
  font-weight: 700;
  text-align: center;
  padding-top: 32px;

}

 .right{
   text-align: right;
 }




 .icon-white{
   color: #ffffff;
   opacity: 50%;
 }
  .check-container {
    display: flex;
    position: relative;
    padding-left: 35px;

    cursor: pointer;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-items: center;
    justify-items: center;
  }


.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
  
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.check-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check-container input:checked ~ .checkmark {
  background-color: var(--color-blue);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check-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);
}

  #nav-background{
    z-index: 1000;
    background-color: var(--color-background-text);
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height: 96px;
  }


  .topnav {
    background-color:transparent;
    overflow: hidden;
    position: fixed;
    top:16px;
    right: 16px;
    height: 64px;
    z-index: 1001;
   
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    color: var(--color-supplimental-text);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2rem;
    font-weight: 300;
    min-width: 96px;
  }
  
  /* Change the color of links on hover */


  .topnav a:hover{

      font-weight: 500 !important;
  }


  
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}


  .user-dot{
    position: relative;
    top:14px ;
    padding: 0;
    height: 36px;
    min-width: 36px !important;
    max-width: 36px;
    width: 36px;
    background-color: #ffffff15;
    color: var(--color-supplimental) !important;
    border-radius: 18px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.0rem !important;
    font-weight: 500 !important;
    border: 2px solid var(--color-supplimental);
    cursor: pointer;

  }


  .review-dot{
    position: relative;
    top:8px ;
    padding: 0;
    height: 72px;
    min-width: 72px !important;
    max-width: 72px;
    width: 72px;
    background-color: var(--color-blue);
    color: white !important;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem !important;
    font-weight: 300 !important;
    border: 2px solid white;
  

  }

  .user-dot.light{
    background-color: var(--color-supplimental);
    color: var(--color-supplimental-dark) !important;
    border: 2px solid var(--color-supplimental-dark);
   

  }


  .separator{
    width: 70%;
    margin: 0 15%;
    
}


  .dropdown-content{
    display: none;
    flex-direction: column;
    border-radius: 3px;
    background-color: white;
    position: fixed;
    top:56px;
    right: 24px;
    color: var(--color-supplimental-dark) !important;
    font-weight: 300;
    z-index: 1000;
    border: 1px solid var(--color-gray);
    
  }

  .dropdown-content a{
    color: var(--color-supplimental-dark);
    padding: 16px;
  }

  .dropdown-content a:hover{
    font-weight: 500;
    /* color: var(--color-supplimental); */


  }

  .user-dot:hover .dropdown-content{
    display: flex;
  }
  .nav-item{
      cursor: pointer;
  }

  .nav-text.lite{
    color: var(--color-background-text) !important;
    min-width: 110px;
}

.nav-text.lite:hover{
    font-weight: 700;
}

  h1{
      color: var(--color-background-text);
      font-size: 48px;
      font-weight: 500;
  }


  h4{
      color: var(--color-background-text);
      font-size: 1rem;
      font-weight: 500;
  }


  h3{
      color: var(--color-background-text);
      font-size: 2rem;
      font-weight: 500;
  }


  .disable-scroll{
    overflow-y: hidden;
  }

  button.disabled{
    cursor: auto;
    opacity: 0.3;
  }

  .button-lt.disabled:hover{
    background-color: transparent;
    color: var(--color-supplimental-dark);
  }
  
  .header-light{
    font-size: 64px;
    line-height: 64px;
    color: var(--color-whitish);
    font-weight: 900;
   
  }

  .divider{
    border-bottom: 1px solid var(--color-gray);
    margin: 16px 4px;
    opacity: 0.3;

  }


  .subtext-light{
    font-size: 2.2rem;
    color: var(--color-whitish);
    font-weight: 300;
 
   
  }

/*  */
  .button{
    min-width: 200px;
      background-color: var(--color-supplimental);
      /* background-color: transparent; */
      margin: 10px 32px;
      /* border-radius: 5px; */
      border: none;
      color:var(--color-background-text) ;
      font-size: 18px;
      font-weight: 500;
      height:56px;
      cursor: pointer;
      box-shadow: 0 0 10px -3px rgba(0, 0, 0, .4);
      border: 0.1px solid #00000050;
      display: flex;
      justify-content: center;
      align-items: center;

  }

  .button.blue{
    color: white;
    background-color: var(--color-blue);

  }

  .button-lt{
    min-width: 250px;
      background-color: transparent;
      margin: 10px 32px;
      border-radius: 5px;
      border: none;
      color:var(--color-supplimental-dark) ;
      font-size: 1rem;
      height:56px;
      cursor: pointer;
      /* box-shadow: 0 0 10px -3px rgba(0, 0, 0, .4); */
      border: 0.1px solid #00000050;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 16px;

  }

  .button:hover,
  .button-lt:hover{
      /* color: white ; */
      background-color: var(--color-white-hover);
      /* background-color: var(--color-supplimental-hover); */
    box-shadow: 0 0 5px -1px rgba(0, 0, 0, .1);

  }

  .button.blue:hover{

    background-color: var(--color-blue-hover);

  }
  

  .button:active{
    -webkit-tap-highlight-color: transparent; /* for removing the highlight */

    background-color: var(--color-supplimental-hover);
  }

  .i-btn{
    cursor: pointer;
  }


  .fw-button{
      
      width: 100%;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
  }



  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2051; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    padding: 0;
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    align-self: center;
    justify-self: center;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
  }

  


  .modal-header{
    margin-top: 32px;
    font-size: 2.5rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
    color: var(--color-supplimental-dark);
  }
  

  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    width: 60vw;
    max-height: 90vh;
    border-radius: 5px;
  }

  .modal-text{
      padding: 32px 10%;
  }
  
  /* The Close Button */
  .modal-close {
    /* padding:8px 16px; */
    right:16px;
    color: var(--color-supplimental-dark);
    float: right;
    font-size: 28px;
    cursor: pointer;
    font-size: 32px;


  }

  #flex-text,
  #yn-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
     
  }



  #flex-message{
    font-size: 1.5rem;
    width: 90%;  
    margin-top: 16px  ;
    text-align: center;
    font-weight: 300;
  }
  
  #flex-button{
        padding: 0 64px;
        margin: 32px 0;
        background-color: transparent;
        color: var(--color-supplimental-dark) !important;
        font-weight: 300 !important;
  }

  #yn-btn-holder{
   display: flex;
   flex-direction: row;
   padding: 32px 16px;
   justify-content: center;
   gap: 16px;
  }


  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }



    .flatpickr-prev-month,
    .flatpickr-next-month{
      height: 64px !important;
      padding-top: 24px !important;
    }

 
    .flatpickr-month{

      height: 64px !important;
      padding-top: 16px !important;
    }

    .flatpickr-innerContainer{
      padding-bottom: 32px;
    }


    .sidenav{
      display: none;
    }

  #mobile-toolbar, #button-menu{

    display: none;
  }

  .inquiry-button{
    height: 100%;
    width:100%;
    position: relative;
    border-radius: 4px;
    /* box-shadow: 0 0 10px -3px rgba(0, 0, 0, .8); */
    outline: 1px solid var(--color-gray);
    color: var(--color-background-text);
    flex-direction: column;
    display: flex;
    justify-content: space-evenly;
    align-items:center;
    gap: 0;
    justify-content: center;
    text-align: center ;
    cursor: pointer;
  
}

.inquiry-button.inactive{
    outline: 1px solid rgb(211, 211, 211);
    color: var(--color-ltgray);
    cursor: default;

}


#help-icon{
  position: relative;
  top: 5px;
  margin-left: 4px;
  color: var(--color-background-text);
  cursor: pointer;
}


#summary-holder{
  display: flex;
  flex-direction: column;
  margin: 32px 0 0;
}


.summary-row{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  line-height: 2.0rem;
}


.summary-item{
  font-size: 1.5rem;
  font-weight: 700;
}


    
    /* The navigation menu links */
.sidenav a {
  white-space: nowrap;
  padding: 8px 8px 8px 32px;
  width: 100%;
  text-decoration: none;
  font-size: 32px;
  color: var(--color-supplimental);
  display: block;
  transition: 0.3s;
}

.sidenav-item-sm{
  font-size: 1.5rem !important;
  font-weight: 300;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: var(--color-supplimental-text);
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  color: var(--color-supplimental);
  width: auto;
  position: absolute;
  top: 0;
  right: 16px;
  font-size: 36px;
  margin-left: 16px;
}


.modal-fullscreen{
    display: block;
      height: 0; /* 100% Full-height */
      width: 100%; /* 0 width - change this with JavaScript */
      position: fixed; /* Stay in place */
      position: fixed; /* Stay in place */
      z-index: 1; /* Stay on top */
      bottom: 0; /* Stay at the top */
      right: 0;
      background-color: var(--color-whitish);
      overflow-x: hidden; /* Disable horizontal scroll */
      /* padding-top: 8px; Place content 60px from the top */
      transition: 0.3s; /* 0.5 second transition effect to slide in the sidenav */
      z-index: 1051;
}

  
  #nav-background{
    z-index: 1000;
    background-color:var(--color-background-text);
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height: 96px;
  }

    .container, #refer-container {

        flex-direction: column;

    }


    .header-light{
        font-size: 1.5rem;

    }

    .policy{
      margin: 128px auto;
      max-width:1000px;
      font-size: 1.0rem;
    }

    .sidenav-item:active{
      -webkit-tap-highlight-color: transparent; /* for removing the highlight */

      background-color: #ffffff30;
        }



       
      
      .list-header{
          width: 100%;
          font-size: 2rem;
          color: var(--color-background-text);
          text-align: center;
          margin: 32px 0 8px;
      }
      
      .list-item{
          width:85%;
      
          margin: 0 0 8px;
          border-radius: 8px;
          border:  1px solid var(--color-header);
          display: grid;
          grid-template-columns: 60% 39%;
          padding: 16px;
          cursor: pointer;
          
      }
      
      .list-item-column{
          display: flex;
         flex-direction: column;
         justify-content: center;
         gap: 0;
      }
      
      .list-item-lg{
          font-size: 1.2rem;
      }
      
   
          
      .list-item-bld{
          font-size: 1.5rem;
          font-weight: 700;
      }
      
      .list-item-md{
          font-size:1.0rem;
      } 
      
      .list-item-sm{
          font-size: 0.8rem;
          /* line-height: 0.7rem; */
      } 
      


      #modal-fees,
      #modal-deposit{
        color: var(--color-supplimental-dark
        );
        padding: 0;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
    }
    
    #modal-fee-holder,
    #modal-deposit-holder{
        background-color: white;
        padding: 24px;
        width: 60vw;
        max-height: 90vh;
        border-radius: 5px;
        overflow: auto;
    }
    
 
    
    .summary-header{
        font-size: 2.5rem;
        font-weight: 500;
        margin: 0 0 32px;
    }
    
    .fee-row{
        display: flex;
        flex-direction: row;
        font-size: 1.5rem;
        justify-content: space-between;
        margin: 0 20% 8px;
    
    }
    
    .modal-fees-label{
        font-weight: 300;;
    }
   
  /***********************ANIMATIONS************************************************************/



  @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-ms-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }




  .lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid var(--color-supplimental);
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.7s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }
  



  .footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 128px;
    width: 100%;
    background-color: var(--color-background-text);
  }

  .footer div{
    height: 100%;
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff99;
    justify-content: center;
    align-items: center;
    text-align: center;
  }


  .social-holder{
    margin-top: 0;;
    padding: 8px;
    gap: 32px;
    justify-content: center;
  }


  /***********************RESPONSIVE BELOW************************************************************/

  
  /* DESKTOP: */
  @media only screen and (min-width: 992px) {

    .container, #refer-container  {

      flex-direction: row;

  }


}


/* MOBILE: */
@media only screen and (max-width: 992px) {
  .topnav {
      visibility: collapse;
      height: 0;
  }

  #mobile-logo{
    opacity: 0.05;
    position: absolute;
    right: -60px;
    bottom: 0;
}

.separator{
  width: 90%;
  margin: 8px 5%;
}

#mobile-nav-loggedin,
#mobile-nav-loggedout{
  flex-direction: column;
}


.modal-content{
width: 90vw;
}
  #nav-background{
    z-index: 1000;
    background-color: var(--color-background-text);
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height: 64px;
  }

  #button-menu{
    display: block;
    position: fixed;
    top: 16px;
    right:16px;
    font-size: 32px;
    color: var(--color-supplimental);
    z-index: 1002;
}

#flex-button{
  width: 80%;
}


  
  .sidenav {
    display: block;
    height: 100%;
    width: 0; 
    position: fixed; 
    z-index: 1;
    top: 0;
    right: 0;
    background-color: var(--color-blue);
    overflow-x: hidden; 
    padding-top: 30%; 
    transition: 0.5s; 
    z-index: 1100;
  }

  .policy{
    margin: 64px auto;
    max-width:80%;
    font-size: 1.0rem;
  }
 
  #page-header{
    font-size: 2.5rem !important;
    line-height: 4rem;
    text-align: right;
    width: 100%;
    
  }

  #header-row{
    align-items: center;
  }

  #covid-content{
    width:100vw;
    height: 100vh;
    flex-direction: column;
  }


      
  #modal-fee-holder,
  #modal-deposit-holder{
   
      width: 100vw;
      min-height: 100vh;
      border-radius: 0;

  }

  .summary-header{
    margin-top: 20%;
  }

  .fee-row{
    margin: 0 0 8px;
  }

  .footer{
    flex-direction: column;
    justify-content: center;

  }

  .footer div{
    width: 100%;
    text-align: center;
  }

 


  }