body{font-size: 0.8rem;}
pre{margin: 0;}
a{color: #305273;}
/*a:hover{color: #f15d28;}*/
dl, ol, ul{margin: 0; padding: 0; list-style: none;}
.text-small{font-size: 0.7rem;}
.text-left{text-align: left;}
.h2, h2 {font-size: 1.7rem;}
.cursor{cursor:hand !important;cursor: pointer !important;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  margin-bottom: 0.5rem; color: #4a4844;
  margin-bottom: 0.5rem;
  color: #4a4844;
  padding-bottom: 8px;
  margin: 0 auto;
  text-align: center;
}
.h1, .h2, .h3, h1, h2, h3{
  border-bottom: 2px solid;
  margin-bottom: 10px;
  width: 48%;
  width: 50%;
  /* width: 340px; */
}

.flex-center{
  display: flex; align-items: center; justify-content: space-between;
}

.reports-header{
  background: #FFF;
  padding: 20px;
  margin-bottom: 1rem;
}

.transactions-page-title{
  width: 100%;
  background: #cfc9be;
  background: #e0dfdd;
  padding: 0;
  font-size: 1.3rem;
  padding: 10px;
  color: #3c3935;
  font-weight: 400;
}

.transactions-summary-fix{
  margin-bottom: 50px;
}

.navbar-dark .navbar-nav .nav-link{color: #FFF;}
/*.dropdown-menu{box-shadow: 0 0 10px #8e8e8e;}*/
.dropdown-item{font-size: 0.9rem;}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.8);
}
.navbar-brand-link:hover{
  text-decoration: none;
}

button{
  border: none;
  padding: 0.25rem;
  border-radius: 3px;
  border: 1px solid #aaa;
  font-size: 0.75rem;
}

.btn-custom{
  border: 1px solid #8c8c8c;
}

.btn-orange{
  background: #ffbc00;
}

.btn-blue{
  /*background: #3c76af;*/
  background: #508c8c;
  background: #3e6161;
  color: #FFF;
}
.btn-blue:hover{color: #FFF;}
.btn-success:hover{color: #DDD;}

.btn-success{
  background: #68a856;
  border-color: #728a6b;
}

.btn-primary, .btn-primary:hover{
  color: #fff !important;
  background-color: #546a80;
  border-color: #606a73;
}

.btn-danger{
  /*background: #68a856;*/
  /*border-color: #728a6b;*/
  background: #af3b46;
  border-color: #7d464b;
  border-color: #83363d;
}

.fixed-sidebar{
  height: 100%;
  z-index: 1;
  position: fixed;
}

.fixed-sidebar .inner{
  position: relative;
  overflow: hidden;
  overflow-y: scroll;
  height: 85%;
}

footer{
  z-index: 8000;
}

#login{
  /*width: 50%;margin: 0 auto;background: #FFF;*/
}

.info-message{
  background: #DDD;
  padding: 10px;
  margin: 10px auto;
  font-size: 1rem;
  max-width: 350px;
}

#loader{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;top: 0;
  background: rgba(0,0,0,.8);
  /*background: #05192d;*/
  background: rgb(1 16 31 / 85%);
  background: rgb(211 188 146 / 52%);
  background: rgb(109 103 93 / 52%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
}

.loader-inner{
  margin: 0 auto;
}

.app-home-wrapper{
  background: #05192d;
  width: 100%;
  height: 100%;
  margin-top: -78px;
  display: flex;
  align-items: center;
}

.app-sportspad-loyalty-wrapper{
  background: #05192d;
  width: 100%;
  height: 100%;
  /*margin-top: -78px;*/
  display: flex;
  align-items: center;
}

.app-sportspad-loyalty-wrapper-inner{
  background: #FFF;
  /*padding: 50px 100px;*/
  padding: 50px;
  margin: 0 auto;
  margin-top: -150px;
  border-radius: 3px;
}
.app-sportspad-loyalty-wrapper-logo{
  width: 100%;
  /*min-width: 350px;*/
  padding-left: 120px;
  padding-right: 120px;
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.horizontal-filters{
  background: #999ea2;
  background: #ddd8cf;
  padding: 0px 5px;
}

.sidebar-filters{
  background: #DDD;
  position: relative;
  overflow: hidden;
  /*background: #4e6983;*/
  /*background: #384049;*/
  /*color: #FFF;*/
}

.footer-bg{
  background: #0b2640;
  color: #FFF;
  font-size: 0.8rem;
}

.form-control{
  border: 1px solid #999ca0;
}

.form-control:focus{
  outline: 0;
  border: 1px solid #636363;
  box-shadow: 0 0 0 0.2rem rgb(0 0 0 / 25%);
}

.bg-green{background: #aae845;}
.bg-light-blue{background: #c3cde0;}
.bg-grey{background: #DDD;}
.bg-yellow{background: #ffbc00;}

.total-profit-calculate-bg{
  padding: 0.6rem 0.8rem;
  background: #f3ac5b;
  margin-right: -1px;
}

.total-profit-calculate-academies-bg{
  /*background: #99a6f1;*/
}

.yellow-control{
  font-weight: 600 !important;
  border: 2px solid #000000;
  /*background: #3e6161 !important;color: #FFF !important;border: 2px solid #FFF;*/
  border: 2px solid #8e8677;
  background: #f3ab2e !important;
  background: #e9c27f !important;
  background: #ffbc00 !important;
  color: #000 !important;
}

.login-form{
  /*width: 50%;margin: 0 auto;margin-top: 40px;*/
}

#alertFlash{
  position: fixed;
  bottom: 0px;
  z-index: 9999;
  width: 100%;
  /*display: none;*/
}

#alertFlash .inner{
  width: 300px;
  width: 46%;
  /*width: 100%;*/
  margin: 0 auto;
  padding: 32px;
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
  /*color: #FFF;*/
  z-index: 9999;
  font-size: 0.9rem;
}

.alert-success{
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
}

.alert-danger{
  color: #fff;
  /*background: #d82e2e;*/
  background: #541212;
  background: #771616;
  background: #7d151f;
  background: #9e1d2a;
  background: #bf4c57;
  background: #9c2632;
  border: none;
}

.fixed-top{
  background: #c8c2fb;
  background: #1e3e5e;
  background-color: #305273;
  background: #1e3e5e;
  border-bottom: 1px solid #1e3e5e;
  color: #FFF;
  padding: 0;
  z-index: 2001;
}

.navbar-brand{
  padding: 0;
  background: #FFF;
  padding-right: 10px;
  margin-right: 0;
}

.nav-bar-button{
  display: flex;
  align-items: center;
}

.arrow-right{
  /*
  width: 0; 
  height: 0; 
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent; 
  border-left: 20px solid #FFF;
  border-radius: 0% 150% 20% 0;
  width: 20px;
  background: #FFF;
  height: 57px;
  */
}

.top-nav-bar-below-fix{
  margin-top: 70px;
}

.header-logo{
  width: 130px;
  background: #FFF;
  padding: 5px 10px;
}

#messages{
  background: rgba(0,0,0,.8);
  z-index: 9999;
  padding: 50px;
  display: none;
  overflow-y: scroll;
  height: 80%;
  height: 100%;
  top: 57px;
  left: 0;
}

#messages .btn{
  color: #FFF !important;
  border: 1px solid #FFF !important;
}

#app-modal{
  position: fixed;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,.8);
  z-index: 1000;
}

#app-modal .inner-wrapper{
  width: 60%;
  width: 47%;
  /*height: 70%;*/
  margin: 0 auto;
  margin-top: 100px;
  background: #FFF;
  border-radius: 6px;
  overflow: hidden;

  overflow-y: scroll;
  max-height: 80%;
}

#app-modal .inner{
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 400;
  padding: 10px 0;
}

#app-modal .app-modal-form-action-buttons{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  width: 100%;
}


#app-modal-header, #app-modal-footer{
  position: absolute;
  background: #EDEDED;
  width: 60%;
  width: 47%;
  padding: 10px;
  border-radius: 10px;
  display: flex;align-items: center;justify-content: space-between;
  z-index: 500;
}

#app-modal-header{
  font-size: 1.2rem;
  border-bottom: 1px solid #d8d8d8;
}

#app-modal-footer{
  border-top: 1px solid #000;
}

#app-modal-content{
  margin-top: 50px;
  position: relative;
  overflow: hidden;
  color: #000;
  padding: 10px;
}

#app-modal .btn-dismiss{
  background: #ddd;
  padding: 0.25rem 0.5rem;
}

/* Overide modal. Set as right sidebar */
/*
#app-modal{
  width: 40%;
  right: 0;
  z-index: 2000;
  background: rgba(255,255,255,.8);
  background: rgba(255,255,255, 1);
  box-shadow: 0 0 10px #000;
  box-shadow: 0 0 7px #605c57;
  box-shadow: 0 0 16px #3d3b39;
  box-shadow: -2px 0px 7px 0px #22201f;
  height: auto;
  margin-top: 7%;
}

#app-modal .inner-wrapper{
  width: 100%;
  height: 90%;
  top: 0;
  border: none;
  border-radius: 0;
  margin: 0;
  background: none;
}

#app-modal-header, #app-modal-footer{
  border-radius: 0;
  width: 100%;
}
*/

.credit{
  border: 1px solid #a09f9c;
  padding: 0.3rem 0.7rem;
  background: #305273;
  color: #FFF;
  border-radius: 4px;
  background: #f1debd;
  color: #54524d;
  font-size: 0.7rem;
}

.amount{
  color: #000;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  padding: 1rem 0.6rem;
  border-right: 1px dashed #949494;
  background: #f1debd;
  border-radius: 2px;
  /*width: 8%;*/
  width: 100%;
  width: 85px;
  display: inline-block;
  text-align: center;
}

.amount .fa{
  color: #524d43;
}

.amount-input{
  background: #305273;
  background: #535e69;
  color: #FFF;
  padding: 5px 0;
  text-align: center;
}

.amount-input label{
  text-align: center;
  border-bottom: 2px solid #f1b141;
}

.amount-input .amoun-input-wrapper{
  background: #f1b141;
  padding: 5px;
  display: table;
  margin: 0 auto;
  border-radius: 4px;
  color: #000;
}

.amount-input input, .amount-input input:focus{
  width: 50%;
  width: 100px;
  margin: 0 auto;
  color: #000;
  text-align: right;
  display: inline;
  background: none;
  border: none;
  border-bottom: 2px dashed #000;
  box-shadow: none;
  font-weight: 600;
}


.table{
  display: table;
  border-collapse: collapse;
  width: auto;
  margin: 0;
}

.table-row{
  display: table-row;
  /*border: 2px solid #9c9485;*/
}

.table-cell{
  display: table-cell;
  border: 1px solid #737373;
  border: 1px solid #9c9485;
  padding: 0.1rem 0.25rem;
}

.notes{
  font-size: 0.75rem;
  background: #f1debd;
  color: #544935;
  padding: 8px;
  border-radius: 2px;
}

#listing ul{
  /*padding: 10px;*/
  /*border: 1px solid #a9a9a9;border-radius: 5px;*/
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  padding: 0;
  /*box-shadow: 0 0 10px #909090;*/
}

#listing li{
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  /*border: 1px solid #bab6ae;*/
  /*border-radius: 2px;*/
  /*margin-bottom: 10px;*/
  /*padding: 0 0.55rem;*/
}

#listing li.member-cards{
  margin-bottom: 10px;
  /*padding: 10px 10px;*/
  /*border: 1px solid #a29c91;*/
  /*border-radius: 3px;*/
}

#listing li.member-cards .member-card-details{
  width: 35%; 
  background: #c2cdd7;
  padding: 0.9rem 0.6rem;

  border-right: 1px dashed #949494;
  background: #e1dcd3;
  padding: 1rem 0.6rem;
}

#listing li.selected{
  background: #7a9696;
}

.flex-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#listing li .main{
  width: 80%;
  /*padding: 0.45rem 0.6rem;*/
  padding: 0;
}

.card-chrages-string-ids{
  width: 44%;
  /*background:#bbd8d8;*/
  border-right: 1px solid #999;
}

#listing li .actions{
  width: 20%;
  background: #e6eaee;
  padding: 0.45rem 0.6rem;
  border-left: 1px solid #999;
}

#listing li actions-small{
  width: 10%;
  background: #e6eaee;
  padding: 0.45rem 0.6rem;
  border-left: 1px solid #999;
}

.listing-title{
  font-size: 1.3rem;
  border-bottom: 1px solid #aaa;
  margin-top: 10px;
}

.pagination-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 6px;
  margin-top: 7px;
  background: #c7cfd6;
  background: url(../images/crisp-paper-ruffles.png), #c7cfd6;
}

.inline-form{
  background: #7b8794;
  background: #304052;
  color: #FFF;
  background: #e0dbd2;
  color: #000;
  border: 1px solid #cdc8be;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}

#add-deal-form{
}

.deals .deal{  
  /*background: #f1debd;border: 1px dotted #444;margin-bottom: 30px;*/
  background: #FFF;
  margin: 10px 0;
  box-shadow: 0 0 10px #7d7d7d;
  padding: 9px;
  /*display: table;*/
}

.deals .deal .header{
  /*background: #305273;color: #FFF;*/
  /*background: #d6a551; color: #000;*/
  font-size: 0.8rem;
  /*padding: 0.45rem 0.6rem;*/
}

.deal-details{
  padding: 10px;
}

.deal .remarks{
  /*background: #f1debd;*/
  margin-top: 7px;
  display: table;
  padding: 0.45rem 0rem;
  /*padding: 0.45rem 0.6rem;*/
  /*border-radius: 2px;*/
  /*border: 1px solid #999;*/
}

.search-users-results{
  background: #f1debd;
}

.search-users-results .entry{
  border-bottom: 1px solid #969084;
  padding: 10px;
}

#selected-user{
  background: #0b2640;
  color: #FFF;
  padding: 10px;
}

.user-details-wrapper{
  background: #a2aab3; padding: 10px; border-radius: 4px;
}

.total-sum{
  background: #ffbc00;
  background: #f1b141;
  background: #95a6b6;
  /*background: #4e6983;color: #FFF;*/
  background: #FFF; color: #000;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  /*width: 65%;*/
  /*width: 73%;*/
  width: 100%;
  max-width: 75%;
  margin-top: -13px;
  box-shadow: 1px 4px 6px #bfbfbf;
  z-index: 1000;
  padding-right: 50px;
  border-left: 2px dashed #3c6b9a;
}

#charges{
  margin-top: 50px;
}

.finalized{
  background: #bd3030;
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
  border: 1px dotted #000;
  color: #fff;
  border-radius: 2px;
  font-size: 0.7rem;

  border: none;
  background: #ca5c5c;
}

.charges{
  background: #f1debd;
  padding: 9px;
  border-bottom: 2px dashed #c7bca7;
}

.charges .inner{
  margin-bottom: 13px;
  background: #FFF;
  padding: 15px;
}

.charges .header{
  background: url(../images/worn-dots.png), #f5edde;
  background: url(../images/worn-dots.png), #e7e6f3;
  padding: 7px;
  border: 1px solid #d2ccc2;
  border-radius: 3px;
  margin-bottom: 10px;
  box-shadow: 0 0 4px #888;
  font-weight: 600;
  color: #5a5855;
  box-shadow: 0 0 4px #c2c2c2;
  color: #3c3a38;
  color: #000;
  font-size: 0.9rem;
}

.charges .entry{
  margin: 10px 0;
  display: table;
  box-shadow: 0 0 10px #7b7b7b;
  padding: 9px;
}

.charges .inner-details{
  /* display: none; */
}

.select-list-item{
  border-bottom: 1px dashed #504d47;
  padding: 0.32rem 0.25rem;
  color: #000;
}

.select-list-item.selected{
  background: #ffbc00;color: #000;
  font-weight: 600;
  /*background: #3e6161;color: #FFF;*/
  /*border-bottom: 2px dashed #FFF;*/
  background: #e9c27f;
}

.select-list-item.business{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.select-list-item .business-name{
  padding: 0.4rem 0.25rem;
}

.scroll-to-business-charges{
  padding: 0.5rem 0.75rem;
  background: #b7a992;
  color: #f1debd;
}

.total-profit{
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0.8rem;
  padding-right: 0;
  margin-top: 10px;
  display: table;  
  border: 1px solid #9c917e;border-radius: 3px;
  /*color: #676053;*/
  color: #dcd5c7;background: #8a8475;
  background: none;
  color: #000;
  border: 1px dashed #9c917e;
}

.select-list{
  background: #f1debd;
  /*box-shadow: 0 0 10PX #b3b3b3;*/
}

#confirmAction{
  position: fixed;
  height: 100%; width: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.7);
  border-right: 1px solid #000;
  z-index: 9999;
  opacity: 0.95;
  border-radius: 2px;
}

#confirmAction .inner-wrapper{
  /*background: #bd0f0f;*/
  border-radius: 2px;
  width: 50%;
  margin: 0 auto;
  margin-top: 150px;
  padding: 22px;
  text-align: center;
}

#confirmAction .inner-wrapper .warning{
  padding: 10px;
  border: 1px solid #313131;
  display: block;
  width: 32%;
  margin: 0 auto;
  font-size: 0.8rem;
}

#confirmActionMessage{
  margin-top: 26px;
  margin-bottom: 26px;
  font-size: 1.2rem;
}

#confirmAction .inner{
  padding: 60px;
  background: #dcdcdc;
  border: 7px solid #FFF;
}

#confirmAction .delete-buttons-wrapper{
  margin-top: 50px;
}

#confirmAction .delete-buttons-wrapper button{
  border: 1px solid #444;
  color: #444;
  border-radius: 2px;
  padding: .25rem 1.4rem;
  margin-right: 14px;
}

.member-card-charges-search-wrapper{
  padding: 10px;
  /*background: #3e6161;color: #FFF;*/
  background: #ded0b7;
}

.member-card-charges-calculate-charges{
  background: #f1debd;
  padding: 10px;
}

.member-card-charges-calculate-charges h3{
  font-size: 1rem;
  margin: 0;
  width: auto;
  text-align: left;
  border-bottom: none;
}

.member-card-charges-calculate-charges .entry{
  background: #FFF;
  padding: 10px;
}

.member-card-charge-details{
  background: #f1debd;
  padding: 5px;
  border: 1px dashed #949494;
}

.member-card-charge-details .entry{
  border-bottom: 1px dashed #949494;
}

#search-member-cards-results{
  background: #FFF;
  margin-top: 10px;
}

#search-member-cards-results ul{
  box-sizing: border-box;
  margin-bottom: 10px;
  margin-top: 20px;  
}

#search-member-cards-results ul li{
  background: #DDD;
  padding: 10px;
  border-bottom: 1px solid;

  /*background: #3e6161;color: #FFF;*/
  background: #FFF;
  color: #444;
  display: table;
  border-radius: 4px;
  border: 1px solid #FFF;
}

.businesses-listing li{
  background: #405c77;
  color: #FFF;
  padding: 10px;
  margin-bottom: 10px;
}

.search-users{

}

.form-title{
  font-size: 1rem;
}

.transaction-amount{
  background: #f1b141;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: .8rem;
}

#add-transaction{
  padding: 1rem 1rem;
}

#member-card-results{
  background: #DDD;
  margin-bottom: 1rem;
  padding: 7px;
}

.qr-scanner-wrapper{
  margin: 0.7rem auto;
}

.qr-scanner-wrapper .qr-scanner-video{
  width: 100%;height: 250px;background: #222;padding: 10px;
}

.btn-qr-scanner{
  background: #e0ad97;
  background: #b597e0;
  border: none;
}

.profit-wrapper{
}
.profit-wrapper .entry{
  padding: 0.5rem
  border-bottom: 1px solid #888;
  margin-bottom: 1rem;
}

.profit-wrapper .entry .title{
  padding: 0.35rem;
  background: #DDD;
  font-size: 0.9rem;
}
.profit-wrapper .entry .amount-to-pay{
  padding: 0.5rem 0.25rem;
  margin: 0.5rem auto;
  border-bottom: 1px solid #DDD;
}

.btn-payoff{
  background: #d6ceb8;
  font-size: 0.8rem;
}


.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@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;
  }
}

@media all and (max-width: 1200px){
  #app-modal .inner-wrapper, #app-modal-header, #app-modal-footer{
    width: 80%;
  }

  .reset-on-mobile-charges{
    display: block;
  }
}

@media all and (max-width: 991px){
  .navbar-dark .navbar-nav .nav-link{
    border-bottom: 1px solid #FFF;
    text-align: center;
    padding: 1rem 0rem;
  }
}

@media all and (max-width: 900px){

  .hide-on-mobile{
    display: none;
  }

  .mt-on-mobile{
    margin-top: 0.5rem;
  }

  #listing li.member-cards .member-card-details{
    width: 100%;
  }

  .fixed-sidebar{
    position: relative;
    width: 100%;
    max-width: 100%;
    flex: auto;
    height: auto;    
    overflow: hidden;
  }

  .fixed-sidebar .inner{
    height: auto;
  }

  .total-sum{
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }

  .mobile-full-width{
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    flex: auto;
  }

  #listing li, #listing li .main{
    display: block;
    width: 100%;
  }

  #listing li .actions{
    display: block;
    width: 100%;
    word-wrap: break-word;
  }
}

@media all and (max-width: 800px){

  .app-sportspad-loyalty-wrapper-inner{
    width: 80%;
  }

  .app-sportspad-loyalty-wrapper-logo{
    padding: 0;
  }

  .app-sportspad-loyalty-wrapper-logo img{
    width: 65%;
  }
}

@media all and (max-width: 767px){
  .text-center-on-mobile{
    text-align: center !important;
  }
}

@media all and (max-width: 500px){

  #login .btn{
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  #login h5{
    font-size: 1rem;
  }

  .text-center-on-mobile{
    text-align: center !important;
  }

  .flex-center.reset-on-mobile{
    display: block;
  }

  .app-sportspad-loyalty-wrapper-logo img{
    width: 63%;
  }

  .app-sportspad-loyalty-wrapper-inner{
    padding: 10px;
  }
}