/* --------------------------------------------------- */
/* Required by all the pages in the site */
/* --------------------------------------------------- */

@-moz-document url-prefix() {
  /* Removes focusring in mozilla browsers */
  button:focus { outline: none; }
  a:focus { outline: none; }
}

/* ------------- NEW FONT STYLE WHEN FULL PORT IS COMPLETE ------------- */
/*html { font-size: 1rem; }

@media only screen and (max-width: 768px) {
  html { font-size: 0.75rem; }
}
@media (min-width: 768px) {
  html { font-size: 0.5rem; }
}
@media (min-width: 992px) {
  html { font-size: 0.6rem; }
}
@media (min-width: 1200px) {
  html { font-size: 0.7rem; }
}
@media (min-width: 1440px) {
  html { font-size: 1rem; }
}

:root {
  --gray-light: #EDEDED;
}

body {
  font-family: 'Exo 2', serif;
  display: none;
}*/

:root {
  --gray-medium: #acb1c7;
  --gray-light: #F5F5F5;
  --dark-blue: #061058;
  --primary-color: #3f578d;
  --secondary-color: #343434;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #d35b56;
  --light-color: #dadce6;
  --dark-color: #343434;
  --font-size-base: 1rem;
  --font-size-xl: calc(var(--font-size-base) * 1.875);
  --font-size-lg: calc(var(--font-size-base) * 1.25);
  --font-size-sm: calc(var(--font-size-base) * 0.9375);
}

.font-size-xl {
  font-size: var(--font-size-xl);
}

.font-size-lg {
  font-size: var(--font-size-lg);
}

.font-size-sm {
  font-size: var(--font-size-sm);
}

.text-dark-blue {
  color: var(--dark-blue);
}


.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-size: cover;
}

.icon-notifications {
  background-image: url(/apistatic/images/icons/notifications-24px.svg);
}

.icon-orders {
  background-image: url(/apistatic/images/icons/shopping_cart-24px.svg);
}

.icon-reports {
  background-image: url(/apistatic/images/icons/dashboard-24px.svg);
}

.icon-geography {
  background-image: url(/apistatic/images/icons/map-24px.svg);
}

.icon-infocheck {
  background-image: url(/apistatic/images/icons/spellcheck-24px.svg);
}

.icon-whatsapp {
  background-image: url(/apistatic/images/icons/message-24px.svg);
}

.icon-c2p {
  background-image: url(/apistatic/images/icons/card_giftcard-24px.svg);
}

.icon-adspend {
  background-image: url(/apistatic/images/icons/live_tv-24px.svg);
}

.icon-connect {
  background-image: url(/apistatic/images/icons/notifications_active-24px.svg);
}

.icon-conversation {
  background-image: url(/apistatic/images/icons/forum-24px.svg);
}

.icon-return-center {
  background-image: url(/apistatic/images/icons/assignment_return-24px.svg);
}

.icon-check {
  background-image: url(/apistatic/images/icons/done-24px.svg);
}

.icon-double-check {
  background-image: url(/apistatic/images/icons/done_all-24px.svg);
}


#loader {
  position: fixed;
  left: calc(50% - 16px);
  top: 40%;
  width: 32px;
  height: 32px;
}

html,body {
  background-color: #FAFAFA;
}

/*body {
  display: none;
}*/
.main-container {
  display: none;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

.django-ckeditor-widget {
  display: block !important;
}

/* ---------------- TOP BAR ---------------- */
/* ----------- NAV SECTION ----------- */
.normal-nav {
  height: 7vh;
  max-height: 64px;
  border-bottom: 1px solid #dee2e6!important;
}

.normal-nav-shadow {
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.54);
}

.normal-nav img {
  /* width: 25%; */
  max-height: 60px;
}
/* ----------- NAV SECTION ----------- */
/*.top-bar {
  width: 100%;
  position: fixed;
  z-index: 99;
  height: 50px;
  top: 55px;
  padding-left: 0;
  padding: 0px;
}

.top-bar .navbar-brand {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1rem;
  background-color: #171717;
  width: 58px;
  height: 50px;
  border-radius: 3px;
}

.top-bar .navbar-brand i {
  margin-top: 12px;
}*/

.top-bar {
  height: 7vh;
  max-height: 64px;
  border-bottom: 1px solid #dee2e6!important;
}

.avatar {
  position: relative;
  white-space: nowrap;
  border-radius: 50%;
  vertical-align: middle;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.avatar img {
  height: 38px;
  width: 38px;
  margin-top: -10px;
  margin-bottom: -10px;
  height: auto;
  border: 0;
  border-radius: 50%;
}

.navbar .separator {
  display: block;
  width: 1px;
  background: #e1e4e7;
  margin: -10px 20px;
  /*display: none;*/
}

.navbar .show-notifications {
  margin-right: 10px;
}

.navbar .dropdown-toggle:after {
  content: none;
}
/* ---------------- TOP BAR ---------------- */

/* ---------------- LEFT SIDEBAR ---------------- */
.left-sidebar {
  position: fixed;
  width: 74px;
  left: 0;
  top: calc(50vh + 30px);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: #fff;
  border-radius: 0 5px 5px 0;
  padding: 5px 10px;
  z-index: 1;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
  display: block;
}

.left-sidebar .side-bar-option {
  text-align: center;
  padding: 5px 0;
  border-bottom: 1px solid #e1e4e7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-sidebar .page-links {
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-sidebar .active-page {
  color: #dc2728!important;
  background: rgba(220,39,40,.1)!important;
}

.left-sidebar a, .left-sidebar a:active, .left-sidebar a:hover, .left-sidebar a:visited {
  text-decoration: none;
}

.left-sidebar .page-links, .left-sidebar .page-links:active, .left-sidebar .page-links:hover, .left-sidebar .page-links:visited {
  color: #343434;
}

.left-sidebar .side-bar-option:last-child {
  border-bottom: none;
}

.left-sidebar .active-page .icon {
  filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.left-sidebar .page-links:hover {
  background: #f2f2f2;
}
/* ---------------- LEFT SIDEBAR ---------------- */

/* ---------------- MAIN CONTAINER ---------------- */
.main-container {
  margin-top: 64px;
  margin-left: 4.5rem;
  padding-top: 1rem;
}
/* ---------------- MAIN CONTAINER ---------------- */

/* ---------------- EASY PIE CHART ---------------- */
.easy-pie-chart {
  display: flex;
  align-items: center;
  justify-content: center;
}

.easy-pie-chart span {
  position: absolute;
  font-size: 80%;
}
/* ---------------- EASY PIE CHART ---------------- */

/* ---------------- TABLE ---------------- */
.table {
  min-width: 768px;
}

.table tbody .actions a {
  color: #222222;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.table tbody .actions a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.generic-table th {
  font-size: 80%;
}

.generic-table td {
  font-size: 80%;
}

.generic-table {
  display: flex;
  flex-flow: column;
  width: 100%;
}

.generic-table tbody {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 40vh;
}

.generic-table tr {
  width: 100%;
  display: table;
  table-layout: fixed;
}
/* ---------------- TABLE ---------------- */

/* ---------------- GENERIC CARD ---------------- */
.generic-card {
  -webkit-box-shadow: 0px 22px 20px -10px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 22px 20px -10px rgba(0,0,0,0.75);
  box-shadow: 0px 22px 20px -10px rgba(0,0,0,0.75);
  margin-bottom: 1.5rem;
}

.generic-card .card-header {
  display: flex;
  background-color: unset;
  border-bottom: unset;
  padding-bottom: unset;
}

.generic-card .card-header .card-title {
  text-transform: uppercase;
  margin-top: .75rem;
  margin-bottom: .75rem;
  font-size: .875rem;
  font-weight: 600;
}

.generic-card .card-header .btn-group {
  margin-left: auto;
}

.generic-card .card-header .btn-group .ellipsis-menu {
  cursor: pointer;
  font-weight: 700;
}

.generic-card .card-header .btn-group .ellipsis-menu::after {
  content: none;
}

.generic-card .card-sub-header {
  padding-top: 0rem;
  padding-right: 1.25rem;
  padding-bottom: 0rem;
  padding-left: 1.25rem;
}
/* ---------------- GENERIC CARD ---------------- */

/* ---------------- NUMBER CARD ---------------- */
.number-card {
  font-weight: 400;
  border: 0;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  background-color: #e0e0e0;
}

.number-card .card-body {
  padding: 0.75rem;
}

.number-card hr {
  margin-right: 0;
  margin-left: 0;
  border-top: 1px solid #ffffff!important;
}

.number-card .number-card-title {
  display: flex;
  align-items: baseline;
  margin-top: 0.75rem;
}

.number-card .number-card-title * {
  margin-bottom: 0rem;
}

.number-card-primary {
  background-color: var(--primary-color)!important;
}

.number-card-secondary {
  background-color: var(--secondary-color)!important;
}

.number-card-success {
  background-color: var(--success-color)!important;
}

.number-card-warning {
  background-color: var(--warning-color)!important;
}

.number-card-warning hr {
  border-top: 1px solid #000000!important;
}

.number-card-danger {
  background-color: var(--danger-color)!important;
}

.number-card-light {
  background-color: var(--light-color)!important;
}

.number-card-light hr {
  border-top: 1px solid #000000!important;
}

.number-card-dark {
  background-color: var(--dark-color)!important;
}
/* ---------------- GENERIC CARD ---------------- */

/* ---------------- NUMBER CARD ---------------- */
.number-card {
  font-weight: 400;
  border: 0;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  background-color: #e0e0e0;
}

.number-card .card-body {
  padding: 0.75rem;
}

.number-card hr {
  margin-right: 0;
  margin-left: 0;
  border-top: 1px solid #ffffff!important;
}

.number-card .number-card-title {
  display: flex;
  align-items: baseline;
  margin-top: 0.75rem;
}

.number-card .number-card-title * {
  margin-bottom: 0rem;
}
/* ---------------- GENERIC CARD ---------------- */

/* ---------------- VERSUS CARD ---------------- */
.versus-card {
  -webkit-box-shadow: unset;
  box-shadow: unset;
  margin-bottom: unset;
}

.versus-card .text-left,
.versus-card .text-right {
  width: 45%;
}

.versus-card .text-center {
  width: 10%;
}
/* ---------------- VERSUS CARD ---------------- */

/* ---------------- CUSTOM SLIDER STYLE ---------------- */
.noUi-horizontal {
  height: 8px;
  margin-top: 1rem;
  margin-bottom: 1.1rem;
}

.noUi-horizontal .noUi-handle {
  top: -11px;
}

.noUi-horizontal .noUi-connect {
  background: #4470AC;
}

.noUi-handle:after, .noUi-handle:before {
    content: none;
}

.noUi-tooltip {
   border: unset;
   background: unset;
   color: #4470AC;
   background-color: white;
}

.noUi-horizontal .noUi-tooltip {
  padding: unset;
  bottom: 0;
}

.noUi-tooltip-active {
  bottom: 120% !important;
  border: 1px solid #ced4da;
  padding: 25% !important;
}
/* ---------------- CUSTOM SLIDER STYLE ---------------- */


/* ---------------- BOOTSTRAP FORM VALIDATION ---------------- */
.form-control.is-invalid, .was-validated .form-control:invalid {
  background-size: calc(.75em + .2rem) calc(.75em + .375rem);
}

.form-control.is-valid, .was-validated .form-control:valid {
  background-size: calc(.75em + .2rem) calc(.75em + .375rem);
}
/* ---------------- BOOTSTRAP FORM VALIDATION ---------------- */


.breadcrumb {
  background-color: unset;
  margin-bottom: unset;
}

.breadcrumb a {
  color: white;
}


/* ---------------- BOOTSTRAP OVERRIDES ---------------- */
.dropdown-item:focus, .dropdown-item:hover {
  color: var(--gray-light);
  text-decoration: none;
  background-color: var(--primary-color);
}

.section-header {
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.section-header h4 {
  text-transform: uppercase;
  margin-top: .75rem;
  margin-bottom: .75rem;
  font-weight: 600;
}

.bg-gray {
  background-color: var(--gray-light)!important;
}

.text-decoration-underline {
  text-decoration: underline;
}

.container-shadow {
  -webkit-box-shadow: 0px 22px 20px -10px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 22px 20px -10px rgba(0,0,0,0.75);
  box-shadow: 0px 22px 20px -10px rgba(0,0,0,0.75);
}

.pagination-dark .page-link {
  color: var(--dark);
}

.pagination-dark .page-item.active .page-link {
  z-index: 1;
  color: var(--light);
  background-color: var(--dark);
}
/* ---------------- BOOTSTRAP OVERRIDES ---------------- */

.circular-badge {
  transform: scale(1) translate(50%, -50%);
  transform-origin: 100% 0%;
  color: #ffffff;
  background-color: #343434;
  height: 20px;
  display: flex;
  padding: 0 6px;
  z-index: 1;
  position: absolute;
  flex-wrap: wrap;
  font-size: 0.75rem;
  min-width: 20px;
  box-sizing: border-box;
  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  align-items: center;
  font-weight: 500;
  line-height: 1;
  align-content: center;
  border-radius: 10px;
  flex-direction: row;
  justify-content: center;
}


.circular-highlight {
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circular-highlight-primary {
  background-color: var(--primary-color);
}

.circular-highlight-secondary {
  background-color: var(--secondary-color);
}

.circular-highlight-success {
  background-color: var(--success-color);
}

.circular-highlight-warning {
  background-color: var(--warning-color);
}

.circular-highlight-danger {
  background-color: var(--danger-color);
}

.circular-highlight-light {
  background-color: var(--light-color);
}

.circular-highlight-dark {
  background-color: var(--dark-color);
}

/* ----------- PARSLEY ----------- */
.error-message {
  background-color: var(--danger-color);
  color: #fff;
  padding: 10px 15px;
  cursor: default;
  display: block;
  position: absolute;
  /* top: 24.5%; */
  margin-top: 2.5%;
  right: 1%;
  border-radius: 5px;
  z-index: 100;
}

.error-message:before {
  content: '';
  position: relative;
  top: -20px;
  left: 75%;
  border-width: 0px 10px 10px 0px;
  border-style: solid;
  border-color: var(--danger-color) transparent;
  display: block;
  width: 0;
}
/* ----------- PARSLEY ----------- */

@media only screen and (max-width: 768px) {
  /* ----------- NAV SECTION ----------- */
  .no-shadow {
    box-shadow: unset;
  }

  .navbar-collapse {
    position: fixed;
    top: 54px;
    left: 100%;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    transition: all 0.3s ease;
    display: block;
    height: 100vh;
    background-color: #fff;
    z-index: 11;
  }

  .navbar-collapse img {
    width: 59%;
    position: relative;
    bottom: -11rem;
    right: 1rem;
  }

  .navbar-collapse ul {
    margin-bottom: 15rem;
  }

  .navbar-collapse.collapsing {
    margin-left: 50%;
    left: 50%;
    transition: all 0.3s ease;
    height: 100vh;
    background-color: #fff;
  }

  .navbar-collapse.show {
    left: 0;
  }

  .normal-nav {
    height: 11vh;
    max-height: 75px;
  }

  .normal-nav-no-transition {
    height: 11vh;
    max-height: 75px;
  }

  .navbar .mobile-menu {
    position: absolute;
    right: 1rem;
  }

  .navbar .mobile-menu a {
    margin-right: 0.5rem;
  }

  .big-nav img, .big-nav-no-transition img {
    width: 60%;
    margin-top: -2rem;
    transition: 0.5s;
  }

  .normal-nav img, .normal-nav-no-transition img {
    margin-top: -0.5rem;
    /* width: 25%; */
    max-height: 60px;
  }

  .navbar-toggler {
    padding: .5rem .5rem;
    font-size: 0.75rem;
  }
  /* ----------- NAV SECTION ----------- */

  .left-sidebar {
    display: none;
  }

  .main-container {
    /*margin-top: 32px;*/
    padding-top: unset;
    margin-left: 0px;
  }

  .card {
    border-radius: unset;
  }

  .generic-card {
    margin-bottom: 0.75rem;
  }
}


@media screen and (min-width: 768px) {
  .left-sidebar .side-bar-option {
    padding: 10px 0;
  }
}
