﻿/* BUTTONS */
.btn-primary {
  color: #fff;
  background-color: #7fccf8;
  border-color: #7fccf8; }
  .btn-primary:hover {
    color: #fff;
    background-color: #7fccf8;
    border-color: #7fccf8; }
  .btn-primary:active, .btn-primary:focus {
    color: #fff !important;
    background-color: #7fccf8 !important;
    border-color: #7fccf8 !important;
    opacity: .9; }

.btn-outline-primary {
  background-color: #fff;
  color: #7fccf8;
  border: 1px solid #7fccf8; }
  .btn-outline-primary:hover {
    background-color: #7fccf8;
    color: white;
    border-color: white; }

/* AUTOCOMPLETE */
.ui-menu-item {
  border-bottom: 1px solid #f0f0f5 !important; }
  .ui-menu-item .ui-state-active {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    color: inherit; }
  .ui-menu-item .ui-menu-item-wrapper {
    padding: 0.5rem !important; }
  .ui-menu-item:last-child {
    border-bottom: none !important; }

.ui-autocomplete-loading {
  background: white url("../../../panel-assets/plugins/x-editable/img/loading.gif") right center no-repeat; }

.autocomplete-lab-test-item .lab-test-price {
  color: black;
  font-weight: 600; }

.autocomplete-lab-test-item .lab-test-discount-off {
  font-weight: 700;
  color: #00a500; }

/* CART */
#cartDropdownBtn.bg-secondary:focus {
  background-color: #ffb000 !important; }

#cartDropdownBtn + .dropdown-menu {
  width: 500px; }

@media only screen and (max-width: 667px) {
  #cartDropdownBtn + .dropdown-menu {
    width: 320px;
    max-width: 320px; } }

.sc-cart-item-list {
  width: 100%; }
  .sc-cart-item-list .sc-cart-item {
    width: 100%;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
    display: inline-table;
    padding: 5px 0px; }
    .sc-cart-item-list .sc-cart-item img {
      margin-right: 0px;
      width: 50px; }
    .sc-cart-item-list .sc-cart-item .sc-cart-item-detail {
      font-size: .8em; }
      .sc-cart-item-list .sc-cart-item .sc-cart-item-detail .sc-cart-item-title {
        font-size: 1em; }
      .sc-cart-item-list .sc-cart-item .sc-cart-item-detail .sc-cart-item-lab {
        font-size: .7em;
        margin-bottom: 0px; }
    .sc-cart-item-list .sc-cart-item .sc-cart-item-price-container {
      font-size: .8em;
      text-align: right; }
      .sc-cart-item-list .sc-cart-item .sc-cart-item-price-container .sc-cart-item-price {
        color: #000;
        font-weight: 700;
        font-size: 1em; }
      .sc-cart-item-list .sc-cart-item .sc-cart-item-price-container .sc-cart-item-actual-price {
        text-decoration: line-through;
        color: #787887;
        font-weight: 700;
        padding-left: 0px; }
      .sc-cart-item-list .sc-cart-item .sc-cart-item-price-container .sc-cart-item-discount-off {
        font-weight: 700;
        color: #00a500;
        padding-left: 0px; }
    .sc-cart-item-list .sc-cart-item .sc-cart-item-quantity-container {
      float: right; }
      .sc-cart-item-list .sc-cart-item .sc-cart-item-quantity-container .sc-cart-item-qty {
        max-width: 50px;
        background-color: #7fccf8;
        color: white; }
    .sc-cart-item-list .sc-cart-item .sc-cart-remove {
      padding: 0;
      position: initial;
      font-size: 1em;
      margin-right: 5px; }
    .sc-cart-item-list .sc-cart-item .sc-cart-item-summary {
      text-align: left;
      font-size: .7rem;
      margin-bottom: .5rem; }

.sc-toolbar .sc-cart-summary {
  font-size: 1rem;
  text-align: center;
  padding-top: 10px; }

.sc-cart-heading {
  border-bottom: 1px solid #d3d3d3; }

.sc-cart-remove {
  color: #f00 !important; }

.sc-cart-clear {
  display: none !important; }

.sc-added-item:before {
  display: none; }

.sc-added-item:after {
  display: none; }

/* CARD */
.lab-test-card {
  position: relative;
  height: 170px;
  min-height: 170px;
  max-height: 170px;
  overflow: hidden;
  margin-top: .5rem;
  margin-bottom: .5rem;
  border: 1px solid #e0e0e0; }
  .lab-test-card .lab-test-body {
    min-height: 130px;
    max-height: 130px;
    height: 130px;
    overflow: hidden;
    padding: 0 0.5rem;
    position: relative; }
    .lab-test-card .lab-test-body .lab-test-title {
      margin-top: .5rem;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      font-weight: 500; }
    .lab-test-card .lab-test-body .lab-test-known-as {
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      font-size: .9em;
      color: gray; }
    .lab-test-card .lab-test-body .lab-test-price-container {
      position: absolute;
      bottom: 0; }
      .lab-test-card .lab-test-body .lab-test-price-container .lab-test-price {
        color: black;
        font-weight: 700;
        font-size: 1.3em; }
      .lab-test-card .lab-test-body .lab-test-price-container .lab-test-actual-price {
        text-decoration: line-through;
        color: #787887;
        font-weight: 700; }
      .lab-test-card .lab-test-body .lab-test-price-container .lab-test-discount-off {
        font-weight: 700;
        color: #00a500;
        padding-left: 0.5rem; }
  .lab-test-card .lab-test-footer {
    position: relative;
    min-height: 40px;
    max-height: 40px;
    border-top: 1px solid #e0e0e0;
    color: #7fccf8;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    background-color: white;
    border-left: none;
    border-right: none; }
    .lab-test-card .lab-test-footer:hover {
      background-color: #7fccf8;
      color: white; }
  .lab-test-card button:active, .lab-test-card button:focus {
    border: none;
    outline: none; }
  .lab-test-card:hover {
    border-color: #f0f0f5;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1); }
  .lab-test-card .sc-add-to-cart {
    cursor: pointer; }

.lab-test-image-card {
  height: 150px;
  min-height: 150px;
  max-height: 150px; }
  .lab-test-image-card .lab-test-body {
    min-height: 110px;
    max-height: 110px;
    height: 110px; }
    .lab-test-image-card .lab-test-body img {
      border: 1px solid #e0e0e0; }
    .lab-test-image-card .lab-test-body .lab-test-title {
      -webkit-line-clamp: 3; }
  .lab-test-image-card .lab-test-footer {
    min-height: 40px;
    max-height: 40px; }

.lab-test-menu nav {
  box-shadow: none; }

.lab-test-menu .dropdown:hover .dropdown-menu {
  display: block; }

.lab-test-menu .dropdown-item {
  font-size: .9em; }

.lab-test-menu #cartDropdownBtn::after {
  display: none; }

.popular-categories .card {
  position: relative;
  background: #f4f6fa;
  text-align: center;
  border: 1px solid #f4f6fa;
  border-radius: 10px;
  padding: 20px 0 18px 0;
  margin-bottom: 20px;
  min-height: 180px;
  -webkit-transition: .2s;
  transition: .2s;
  background-size: contain; }
  .popular-categories .card span {
    font-size: .9em; }

/* typical phone screen resolution */
@media only screen and (max-width: 667px) {
  .popular-categories .card {
    min-height: 120px;
    max-height: 120px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none; } }

.reviews-section .card {
  min-height: 220px;
  max-height: 220px;
  overflow: hidden; }
  .reviews-section .card .user-detail-container {
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    padding-left: .5rem;
    padding-right: .5rem; }
    .reviews-section .card .user-detail-container .user-image img {
      border: 3px solid #7fccf8;
      padding: 2px; }

/* OVERRIDES */
.border-light {
  border-color: #f0f0f5 !important; }

.btn:focus {
  box-shadow: none; }

.btn-link {
  color: #7fccf8; }
  .btn-link:hover {
    background-color: transparent;
    color: #7fccf8; }

.border-primary {
  border: 1px solid #7fccf8;
  border-color: #7fccf8 !important; }

.bg-secondary {
  background-color: #ffb000 !important; }

button.bg-secondary:hover {
  background-color: #ffb000 !important; }

input, select {
  border-color: #7fccf8 !important; }

.text-primary {
  color: #7fccf8 !important; }
