/*------------- GLOBAL ------------*/

@font-face{
  font-family:"NexaBold";
  font-display:swap;
  src:url("fonts/NexaBold-1.ttf") format("truetype");
}
@font-face{
  font-family:"NexaLight";
  font-display:swap;
  src:url("fonts/NexaLight-1.ttf") format("truetype");
}

body {
  background: transparent url('../img/bg-shopping1.jpg') top left repeat;
    /*font-family: "NexaBold","Open Sans";*/
    font-family: "Open Sans";
  color: #00579F;
  font-size:0.8rem;
  background-color: #fafafa;
    font-weight:bold;
}

h1,h2,h3,h4,h5,h6 {
    /*font-family: "NexaBold","Open Sans";*/
    font-family: "Open Sans";
  font-weight: 700;
  color: #00579F;
}

a.link {
  color: #6992b7;
  text-decoration: none;
  font-weight:bold;
}

/*------------- LOADER ------------*/

#loader {
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:1000;
    background-color:rgba(255,255,255,0.95);
}
#loader-logo {
  display:block;
  position:absolute;
  left:50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 80px;
  height: 80px;
  padding: 5px 0px 0px 5px;
}
#loader-icon {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fbd5e4;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
    #loader-icon:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #fbd5e4;
        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }
    #loader-icon:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #fbd5e4;
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*------------- FORMS ------------*/

.panel-title {
  margin: 15px 0px 30px;
  padding-bottom: 15px;
  border-bottom: solid 2px #00579F;
}

.panel-title > i {
  margin-right: 15px;
}

.form-label {
  font-size: 1rem;
}

.form-text {
  font-size:1rem;
}

.form-check {
  font-size:1.1rem;
}

.form-check > input {
  zoom:1.4;
}

.form-control {
  background-color: #f3f3f3;
  color: #121424;
  border: solid 1px #00579F;
  border-radius: 5px;
  font-size:1rem;
  /*padding:1.5rem;*/
}
.form-control:hover,
.form-control:active,
.form-control:focus {
  background-color: #fafafa;
  color: #121424;
}

.form-control::placeholder {
  color: #999;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #ddd;
  color: #333;
  border: solid 1px #ddd;
}

select.form-control {
  /*padding: 0.6rem 1.5rem 0.9rem;*/
  height: 3.3rem;
}

textarea.form-control {
  min-height:150px;
}

.custom-file > input {
  padding: 0.6rem 1.5rem 0.9rem;
  height: 3.3rem;
}

.form-label-required{
  color: #d00;
  display:inline-block;
  margin-left:5px;
}

.text-required{
  color: #d00;
}

/*------------- BUTTONS ------------*/

.btn {
  text-transform:uppercase;
  font-weight:700;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 7px;
  padding: 0.7rem 1rem;
  font-size:0.8rem;
  border:none;
}

.btn-rounded {
  border-radius: 99rem;
}

.btn-dj {
    background: rgb(0,255,255);
    background: -moz-linear-gradient(90deg, rgba(0,255,255,1) 0%, rgba(0,87,159,1) 50%, rgba(0,255,255,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0,255,255,1) 0%, rgba(0,87,159,1) 50%, rgba(0,255,255,1) 100%);
    background: linear-gradient(90deg, #fbd5e4 0%, #f0b4ba 50%, #fbd5e4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffff",endColorstr="#00579f",GradientType=1);
    background-size: 200% auto;
    transition: all 0.4s ease-out 0s;
}

.btn-dj:hover {
  background-position: right center;
}

.btn-primary {
    background-color: #265182;
    color: #333;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus{
  background-color: #04358e;
}

.btn-secondary {
  background-color: #0866bd;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus{
  background-color: #04358e;
}


/*------------- LOGIN PAGE ------------*/

body#login {
  background: transparent url('../img/newbg.png') no-repeat center top fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}  

#loginpanel {
  /*background-color: rgba(25,30,55,0.8);*/
  background-color: #fff;
  padding: 3rem 2rem 1rem;
  border-radius:20px;
  color: #00579F;
}

#loginpanel .logo {
  max-height:30vh;
}

#loginpanel .captcha {
  max-height:2rem;
  max-width:25vw;
}

#loginpanel .captcharefresh {
  max-height:2rem;
  max-width:10vw;
}

.btn-login {
  padding: 0.7rem 3.5rem;
}

/**/

.bx-wrapper .bx-controls-direction a {
  z-index:1000;
}

/*------------- SIDE MENU ------------*/

.navbar-toggler {
  color: #00579f;
  z-index:99;
}

.navbar-collapse {
  z-index:100;
}

.navbar-toggler-open {
  position:absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
}

.navbar-toggler-close {
  position:absolute;
  top: 20px;
  right: 20px;
}

.offcanvas-collapse {
    z-index: 1040;
    position: fixed;
    top: 0px; /* Height of navbar */
    bottom: 0;
    right: 100%;
    width: 80%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #fbd5e4;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
}
.offcanvas-collapse.open {
  visibility: visible;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.navbar-collapse .profile-panel {
  color: black;
}

.profile-panel {
  margin-top:4rem;
  margin-bottom:2rem;
}

.profile-photo {
  border-radius: 5rem;
}


.profile-details {
  font-weight: bold;
  font-size: 1.5rem;
}

.profile-id {
  font-size:2rem;
  font-weight:900;
}

.navbar-collapse .profile-id {
  font-size:1.5rem;
  font-weight:900;
}

.nav-divider {
  height:1px;
  border-bottom: solid 1px rgba(0,0,0,0.3);
  margin:10px 1rem;
}

.nav-item {
  border-radius:5px;
  padding:0.2rem 1rem;
}

.nav-item.active {
  background-color: rgba(0,0,0,0.3);
}

.nav-item:hover {
  background-color: rgba(0,0,0,0.3);
}

.nav-item .nav-link {
  color: black;
  font-weight: bold;
  font-size:1rem;
  position:relative;
  transition: padding-left 0.3s ease-in-out;
}

.nav-item .collapse > .nav-link {
  padding-left: 15px;
  border-left: 4px solid #ddd;
}

.nav-item .collapse > .collapse > .nav-link  {
  padding-left: 35px;
  border-left: none;
}

.nav-item .collapse > .nav-link:hover {
  background-color: rgba(0,0,0,0.3);
}

.nav-item .nav-link[aria-expanded="true"] > i {
  opacity:0.2;
}

.languagechooser {
  border-radius: 5px;
  background-color: rgba(0,0,0,0.1);
  display:inline-block;
  padding:5px 10px;
  position:absolute;
  top:5px;
  right:20px;
}

.languagechooser a {
  color: #6992b7;
}

#changeLanguage.modal .modal-content {
  border-radius:20px;
  background-color: #fff;
}

#changeLanguage.modal .modal-content .close {
  color: #fff;
}

#changeLanguage.modal .modal-body a {
  color: #6992b7;
}

#changeLanguage.modal .modal-body .flag-icon {
  font-size:3rem;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 10%);
}

/*------------- SCREEN PAGE ------------*/

/*------------- SIDE MENU - DESKTOP ------------*/

.navbar-md {
  background: white;
  color: #999;
  position:fixed;
  height:100vh;
  overflow-y:auto;
  z-index:1040;
}

.navbar-md h1,
.navbar-md h2,
.navbar-md h3,
.navbar-md h4,
.navbar-md h5,
.navbar-md h6{
  color: #333;
}

.navbar-md .nav-item .nav-link {
  color: #333;
}

.navbar-md .nav-item.active {
  background-color: #fbd5e4;
}

.navbar-md .nav-item.active .nav-link {
  color: black;
}

    .navbar-md .nav-item.active:hover {
        background-color: #fbd5e4;
    }

        .navbar-md .nav-item.active:hover .nav-link {
            color: black;
        }

.navbar-md .nav-item:hover {
  background-color: rgba(0,0,0,0.05);
}

.navbar-md .nav-item .collapse > .nav-link:hover {
  background-color: rgba(0,0,0,0.1);
}


.navbar-md .nav-divider {
  border-bottom: solid 1px rgba(0,0,0,0.1);
}

.navbar-md .logo-panel {
  text-align: center;
}

.navbar-md .logo-panel .subhead {
  font-size:1rem;
}

.navbar-md .logo-panel .subhead > img {
  width: 80px;
}

/*------------- QTIP ------------*/

.qtip {
  background-color: #ddd;
}

/*------------- DASHBOARD PAGE ------------*/

body#dashboard {
}

.header .heading {
  color: #00a5cb;
}

.header .subhead {
  /*color: #00579F;*/
  padding: 5px 15px;
  background-color: #fbd5e4;
  border-radius: 5px;
  display: inline-block;
  color: #fff;
}

#dashboard .subhead img {
  width:50px;
}

#dashboard .logo-panel .subhead {
  font-size: 0.5rem;
  font-family: "Times New Roman";
  font-weight: 100;
}

#dashboard .header {
  margin-top:2rem;
  /*margin-bottom:3rem;*/
}

#dashboard .header .heading {
  text-transform: uppercase;
}

#dashboard .header .subheading {
  font-family: "Times New Roman";
  text-transform: uppercase;
  font-weight:100;
}

#dashboard .header .fineprint {
  font-size:0.7rem;
}

/*------------- WIDGET ------------*/

.widget-container {
  margin-top:10px;
}

.widget {
  border-radius: 20px;
  box-shadow: 15px 15px 15px 15px rgb(0 0 0 / 10%);
}

.widget a {
  color: #333;
}

.widget.widget1 {
  background-color: #0866bd;
  color: #fff;
}

.widget.widget2 {
  background-color: #fbd5e4;
  color: #333;
}

.widget.widget3 {
  background-color: #0a214b;
  color: #fff;
}

.widget.widget4 {
    background-color: #171c25;
    color: #fff;
}

.widget-content {
  padding: 1rem 2rem;
}

.widget-top {
  border-bottom: solid 1px rgba(255,255,255,0.5);
}

.widget-icon {
  height: 3rem;
  position:absolute;
  left: 0px;
}

.widget-value {
  font-size: 1.5rem;
  font-weight:bold;
  margin-bottom:-10px;
}

.widget-label {
  font-weight:bold;
}

/*------------- MAIN CONTAINER ------------*/

.main-container {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 15px 15px 15px 15px rgb(0 0 0 / 10%);
}

#main-content .main-container {
  margin-bottom: 30px;
}

#main-content {
  margin-bottom:50px;
}

/*------------- MAIN PANELS ------------*/

.panel {
  border-radius:10px;
  padding: 25px 15px;
  margin-bottom: 25px;
}

.announcement-panel {
  color: #000;
  background-color: rgba(0,0,0,0.05);
}

.announecment-label {
  font-weight: bold;
  font-size: 0.7rem;
}

.announcement-title {
  font-size: 1rem;
  font-weight: bold;
}

.announcement-content {
  margin-bottom:15px;
}

.video-panel {
  padding: 0px;
}

.video-panel iframe {
  border-radius: 10px;
}

.banner-panel {
  height: 95%;

}

.banner-panel.banner1 {
  text-align:right;
}

.banner-panel.banner1 .banner-heading {
  color: #fff;
  font-style: italic;
  font-weight: bold;
  font-size: 1rem;
  margin-top:3rem;
}

.banner-panel.banner1 .banner-subheading {
  color: #80b4e4;
  font-style: italic;
  font-weight: bold;
  font-size: 0.8rem;
}

/*------------- QR PAGE ------------*/

.qr-container {
  max-width:600px;
  margin-top:2rem;
}

.qrpage-logo {
  max-width:160px;
  margin:0 auto;
}

.sponsor-id {
  font-size:1.2rem;
}

.btn-qr {
  font-weight:900;
  color: #fff;
}

.btn-qr > i {
  padding-right:5px;
}


/*------------- PRODUCTS ------------*/

.table-products {
}

.table-products .input-qty {
  max-width:100px;
}

.table-products .input-totalprice {
  max-width:100px;
}

.table-products .input-totallocal {
  max-width:100px;
}

.table-products .input-totalpv {
  max-width:100px;
}


.table-products .image-product {
  max-width:200px;
  max-height:200px;
}

/*------------- FOOTER ------------*/

#main-content {
  margin-bottom:80px;
}

footer {
  position:fixed;
  bottom:0px;
  width: -webkit-fill-available;
  margin-right:15px;
  z-index:1030;
}

footer .copyright {
  color: #000;
}

footer a {
  color: #000;
  display:inline-block;
  margin: 0px 10px;
}

/*------------- RESPONSIVE ------------*/

@media (min-width: 768px) {
  .profile-panel {
    margin-top:2rem;
    margin-bottom:1rem;
  }

  footer .copyright {
    margin-bottom: 0;
  }

}

@media (max-width: 768px) {
  #main-content {
    margin-bottom:15px;
  }

  #dashboard .header {
    margin-top:1rem;
    margin-bottom:0px;
  }

  #dashboard .header .heading {
    font-size:1.7rem;
  }

  #dashboard .header .subhead {
    font-size: 1.3rem;
  }

  footer {
    position:relative;
    bottom:0px;
    width: -webkit-fill-available;
    margin-right:15px;
    z-index:1030;
  }

  .widget-icon {
    position:relative;
    left:unset;
  }

  .table-products .input-qty {
    padding:0px 15px;
  }

  .table-products .img-product {
    max-width:100px !important;
    max-height:100px !important;
  }

}

/*------------- CUSTOM MODALS ------------*/

/* General Modal CSS */

.modal .modal-header {
    background-color: #fbd5e4;
    color: #fff;
    border-bottom: 0px;
    /*border-top-right-radius:20px;
  border-top-left-radius:20px;*/
}

.modal .modal-title {
  color: #fff;
}

.modal .close {
  color: #fff;
  opacity:1;
  font-size:2rem;
}

.modal .btn-primary {
    background-color: #11172b;
    color: #333
}

.modal .modal-dialog-scrollable .modal-body {
  padding-top:0px;
  color: #000;
}

.modal .modal-body > .modal-content-header {
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom:15px;
}

.modal .modal-footer {
  background-color: #e7e7e7;
  border-top:0px;
}

.modal-content ol {
  list-style-type: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
}

.modal-content ol > li {
  display: table;
  counter-increment: item;
  margin-bottom: 0.6em;
}

.modal-content ol > li:before {
  content: counters(item, ".") ". ";
  display: table-cell;
  padding-right: 0.6em;    
}

.modal-content li ol > li {
  margin: 0;
}

.modal-content li ol > li:before {
  content: counters(item, ".") " ";
}

/* TYPE 1 = Title,Header,Content,Footer  */
.modal-type1 {
  
}

/* TYPE 2 = Header,Content  */
.modal-type2 .modal-body {
  padding-top: 0px;
}
.modal-type2 .modal-body .container-fluid {
  padding-top: 15px;
  padding-bottom:15px;
}
.modal-type2 .modal-content-header>img  {
  border-top-left-radius: .3rem;
  border-top-right-radius: .3rem;
}
.modal-type2 .modal-content {
  background-color: #0d132a;
  color: #fff;
}

.modal-type2 .modal-choice {
  text-align:center;
  color: #fff;
  font-size:1.2rem;
  font-weight:bold;
}

.modal-type2 .modal-choice-image {
  max-width: 180px;
  margin: 15px auto;
}


