﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html {
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

a {
  color: #106EEA;
}

.text-underline-hover {
  text-decoration: none;
}

  .text-underline-hover:hover {
    text-decoration: underline;
  }

.btn-primary {
  color: #FFFFFF;
  background-color: #106EEA;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Nav Bar*/
.navbar-brand {
  padding-top: 0px;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.navbar-brand-dot {
  color: #106EEA;
}

.navbar-nav-main .nav-item {
  position: relative;
}

  .navbar-nav-main .nav-item a:hover:before {
    visibility: visible;
    width: 100%;
  }

  .navbar-nav-main .nav-item a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 2px;
    left: 0;
    background-color: #106EEA;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

.navbar-buttons {
  width: 300px;
}

@media (max-width: 992px) {
  .navbar-buttons {
    display: none !important;
  }
}

/* Home Page */
#hero {
  width: 100%;
  height: 600px;
  position: relative;
  text-align: center;
}

  #hero:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 600px;
    opacity: 0.3;
    background-image: url('/img/hero-bg.jpg');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
  }

#hero-content {
  position: relative;
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/

.featured-services .card {
  width: 100%;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

  .featured-services .card::before {
    content: '';
    position: absolute;
    background: #cbe0fb;
    right: 0;
    left: 0;
    bottom: 0;
    top: 100%;
    transition: all 0.3s;
    z-index: -1;
  }

  .featured-services .card:hover::before {
    background: #106eea;
    top: 0;
    border-radius: 0px;
  }

.featured-services .icon {
  margin-bottom: 15px;
}

  .featured-services .icon i {
    font-size: 48px;
    line-height: 1;
    color: #106eea;
    transition: all 0.3s ease-in-out;
  }

.featured-services h2 {
  margin-bottom: 15px;
}

.featured-services h2 {
  color: #111;
}

.featured-services .description {
  line-height: 28px;
  margin-bottom: 0;
}

.featured-services .card:hover h2, .featured-services .card:hover .description {
  color: #fff;
}

.featured-services .card:hover .icon i {
  color: #fff;
}

/* Page Heaings*/
.page-heading {
  margin-bottom: 20px;
}

.pageHeadingWithLinks {
  float: left;
  width: calc(100% - 200px);
  margin-bottom: 20px;
}

.pageHeadingLinks {
  width: 200px;
  margin-top: 8px;
  text-align: right;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.cursor-pointer {
  cursor: pointer;
}

/* Cards */
.card {
  border-radius: 0.75rem;
}

.cardImage {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 200px;
  cursor: pointer;
  border-radius: 0.75rem 0.75rem 0 0;
}

/* Cart */
.cartImage {
  background-size: cover;
  background-position: center;
  width: 150px;
  height: 150px;
  cursor: pointer;
}

.cartImageContainer {
  width: 160px;
}

.cartInfoContainer {
  width: calc(100% - 160px);
}

.cartItemPrice {
  font-size: 1.6rem;
}

.itemTotal, #grandTotal {
  font-size: 1.6rem;
}

/* Navigation */
.requires-admin, .requires-user {
  display: none;
}

/* Modal */
.modal {
  max-height: 100vh;
}

.modal-image {
  max-width: 100%;
  max-height: 500px;
}

.modalSubDetail-image {
  max-width: 100%;
  max-height: 500px;
}

.modal-dialog .modal-content .modal-body {
  max-height: calc(80vh);
  overflow-y: auto;
}

/* Form */
.form-field-container {
  max-width: 700px;
}

.btnArrowDown {
  cursor: pointer;
}

.btnArrowUp {
  cursor: pointer;
}

.SubItemTitle {
  cursor: pointer;
}
