/*
 * Globals
 */
 @import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');
 /* Custom default button */

:root {
  --custom-black: rgb(0, 0, 0);
  --custom-bg: rgb(255, 253, 253);
  --site-color: #788EAC;
  --primary-font: "Cabin";
  --secondary-font: "Arial";
  --primary-font-size: 1em;
  --standard-font-size: 0.8em;
  --secondary-font-size: 0.6em;
  --finetext-font-size: 1.0em;
  --menudropdown-font-size: 1.0em;
  --label-font-size: 1.1em;
  --home-font-size: 1.7em;
}

@media (min-width: 992px) { /* apply overrides to desktop sizes lg+ */
:root {
  --primary-font-size: 1.15em;
  --standard-font-size: 1.2em;
}
}

@media (min-width: 1200px) { /* apply overrides to desktop sizes xl+ */
:root {
  --primary-font-size: 1.4em;
  --standard-font-size: 1.5em;
}
}

@media (max-width: 992px) {
  .home-image img {
    margin-bottom: 0 !important;
  }

  .buy-now {
    display: none;
    width: 25% !important;
    top: 105% !important;
    left: 37.5% !important;
  }

  .home-list {
    display: none;
  }
}

@media (max-width: 768px) {
  .border-end {
    border-right: 0px !important;
  }
}

.avatar {
  border-radius: 100%;
  height: auto;
  width: 360px;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--custom-black);
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #212529;
  border: .05rem solid var(--custom-black);
}

/*
 * Base structure
 */
html,
body {
  background-color: var(--custom-bg);
  color: var(--custom-black);
  display: -ms-flexbox;
  display: flex;
  font-family: var(--secondary-font);
  min-height: 100%;
  /* overflow: hidden; */
}

h1,h2,h3,h4,h5 .card-title {
  font-family: var(--secondary-font);
}

.cover-container {
  max-width: 42em;
  color: var(--custom-black);
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}

.standard-font {
  font-size: var(--standard-font-size);
}

.secondary-font {
  font-size: var(--secondary-font-size);
}

.finetext-font {
  font-size: var(--finetext-font-size);
}

.menudropdown-font {
  font-size: var(--menudropdown-font-size);
}

.label-font {
  font-size: var(--label-font-size);
}

.home-font {
  font-size: var(--home-font-size);
}

/* Links */
a,
a:focus,
a:hover {
  color: var(--custom-black);
}

.form-control, .form-control:focus,
.form-control:focus:active  {
  color: var(--custom-black);
  background-color: var(--custom-bg);
}

/*
 * Header
 */
 .navbar {
  font-weight: bolder;
 }

 .navbar-toggler {
   border: 0px !important;
 }

 .nav-link {
  color:#000000 !important;
 }

 .nav-link:hover {
  color: var(--site-color) !important;
 }

 .nav-link:focus {
  color: var(--site-color) !important;
 }

 #navbarSupportedContent {
  /* padding-bottom: 0px; */
  padding-bottom: 2px;
  border-bottom: 3px solid black;
 }

 .dropdown-menu {
  border: 0;
  background-color: #d9d9d9;
 }

.navbar-toggler {
  padding: 0 0 0 0;
  line-height: inherit;
  border: 1px solid var(--site-color);
  color: var(--site-color);
}

.navbar-toggler-icon {
  background-image: none;
}

.navbar-toggler-icon::before {
  font-family: FontAwesome;
  content: "\f0c9"; /* fa-bars, fa-navicon */
}

.navbar-brand {
  font-size: xx-large;
}

.nav-item {
  font-size: var(--primary-font-size);
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown > .dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
  pointer-events: none;
}

/*
 * Home
 */
/* Wide home banner, remove this */
 .home-image {
  position: relative;
 }

/* Wide home banner */
 /* .home-image img {
  height: auto;
} */

/* .masthead {
  width: 100vw;
  height: auto;
  background-image: url('/images/home_small.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} */

.buy-now {
  position: absolute !important;
  top: 15%;
  left: 80%;
  width: 15%;
  background-color: white;
  color: black;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}

.home-list {
  position: absolute !important;
  top: 10%;
  left: 5%;
  font-weight: bold;
  color: white;
  text-align: left;
  text-shadow: -1px 1px 0 #000,
				  1px 1px 0 #000,
				 1px -1px 0 #000,
				-1px -1px 0 #000;
}

.home-list p {
  margin: 0px !important;
}

.home-image .buy-now:hover {
  background-color: black;
}

.cover-heading {
  font-family: var(--primary-font);
}

#home-text {
  margin: auto;
  font-size: 23px;
  font-family: var(--primary-font);
  width: 90%;
  /* text-align: justify !important; */
}

/*
 * Products
 */
 .product-dropdown {
  font-weight: 600;
}

.product-dropdown:hover {
  color: #525252 !important;
}

.card {
  border: none;
  overflow: hidden
}

.thumbnail_images ul {
  list-style: none;
  justify-content: center;
  display: flex;
  align-items: center;
  margin-top: 10px
}

.thumbnail_images ul li {
  margin: 5px;
  padding: 10px;
  border: 2px solid #eee;
  cursor: pointer;
  transition: all 0.5s
}

.thumbnail_images ul li:hover {
  border: 2px solid #000
}

.main_image {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
  height: 70%;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.carousel-item img{
  object-fit: contain;
  height:500px !important;
  width:500px;
}

.content {
  font-size: 20px
}

.body-text {
  font-family: var(--primary-font) !important;
}

.left {
  text-align:left !important;
}

.qty-form {
  display: block;
  width: 200px;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  margin-right: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.qty-form:focus {
  color: #495057;
  background-color: #fff;
  border-color: #788EAC;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#standard-button {
  /* border: 0; */
  box-shadow: 0px 5px 15px rgba(56, 56, 56, 0.5) !important;
}

#standard-button:hover {
  border-color: #6b6b6b;
  background-color:#6b6b6b;
}

.flash, .flash_x {
  display: block;
  position: fixed;
  top: 65%;
  right: 25px;
  text-align: center;
  width: 350px;
  padding: 15px 25px 15px 85px;
  font-size: 1.2em;
  font-weight: 400;
  color: black;
  background-color: #FFF;
  border: 2px solid black;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  /* opacity: 0; */
}

.flash_x {
  color: red;
  border: red;
}

.flash__icon, .flash__icon_x {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.8em;
  height: 100%;
  padding: 0 0.4em;
  background-color: black;
  color: #FFF;
  font-size: 36px;
  font-weight: 300;
  transform: translate(0, -50%);
}

.flash__icon_x {
  background-color: red;
}

.flash__icon .icon, .flash__icon_x .icon {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

button:disabled,
button[disabled]{
  color: #da0000;
  background-color: #da0000;
}

#modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  z-index: 5;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */

/* Add Animation */
.modal-content {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/*.equipTypeContainer{
  padding-left: 0 !important;
}

.equipType{
  list-style-type: none;
  border: px solid black;
}*/

#equipTypeContainer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#equipTypeContainer ul li { 
  display: inline-block; 
  margin-top: .2em;
}

#equipTypeContainer ul li button {
  text-decoration: none;
  text-align: center;
  padding: .6em 1em;
  margin-right: .6em;
  margin-top: .6em;
  background-color: white;
  border: 1px solid #000;
  width: 150px; /* 200px to make a 2x2*/
  border-radius: 3px;
}

.itemClicked {
  background-color: rgb(225, 225, 225);
  border: 2px solid #000;
}

/* #equipTypeContainer ul li button:focus {
  background-color: rgb(225, 225, 225);
  border: 2px solid #000;
} */

#equipTypeContainer ul li button:hover {
  background-color: rgb(225, 225, 225);
}

/* #equipTypeContainer ul li a {
  text-decoration: none;
  padding: .6em 1em;
  margin-right: .6em;
  color: black;
  border: 1px solid #000;
} */

/*
 * Cart
 */
#total {
  font-weight: bold;
}

.plus-minus-input {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.plus-minus-input .input-group-field::-webkit-inner-spin-button,
.plus-minus-input .input-group-field ::-webkit-outer-spin-button {
  -webkit-appearance: none;
          appearance: none;
}

.plus-minus-input .input-group-field {
  text-align: center;
  padding: 5px;
  margin: 5px !important;
  width: 45px;
  /* height: 30px; */
  /* border: 1px solid black; */
  border: 0;
}

.plus-minus-input .quantity-field {
  background-color: var(--bs-table-bg);
}

.plus-minus-input .input-group-button .circle {
  /* border-radius: 50%; */
  padding: 5px;
  height: 30px;
  /* border: 1px solid black; */
  border: 0;
  background-color: var(--bs-table-bg);
}

.minus {
  /* border-right: 0px; */
  font-size: 16px;
  border: 0;
}

.plus {
  /* border-left: 0px; */
  font-size: 16px;
  border: 0;
}

@media (max-width: 768px) {
  .minus {
    display: none;
  }
  
  .plus {
    display: none;
  }
}

.input-group-button .minus:hover,
.input-group-button .plus:hover {
  background-color: lightgray;
}

.delete {
  font-size: 24px;
  color: black;
  background-color: white;
  border: none;
}

.delete:hover {
  background-color: white;
}

.delete:hover .fa-times {
  color: #ff5b5b;
}

.delete:focus {
  background-color: white;
}

.delete:focus .fa-times {
  color: #ff5b5b;
}

#terms, #sterile, #exempt {
  margin-left: 5px;
}

/*
 * Confirmation
 */
.confirm-title{
  padding-bottom: 10px;
  border-bottom: 5px solid green;
  width: 50%;
  margin: auto;
  /* position: relative; */
}

/* .confirm-title::after{
  position: absolute; 
  left: 0; 
  bottom: 0; 
  width: 100%; 
  height: 1px; 
  border-bottom: 1px solid #000; 
  content: ""
} */

#line-items {
  width: 35%;
  margin-left: auto;
  margin-right: auto;
}

#loading {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background-color: rgba(192, 192, 192, 0.5);
  background-image: url("https://i.stack.imgur.com/MnyxU.gif");
  background-repeat: no-repeat;
  background-position: center;
}

/*
 * Contact
 */
.secondary-text {
  font-size: var(--secondary-font-size);
}

.contact-container {
  margin-top: 20px;
  padding: 40px;
}

.shadow {
  box-shadow: 0px 5px 15px rgba(56, 56, 56, 0.5);
}

.list-inline {
  display: flex;
}

.list-inline li {
  flex: 1;

  text-align: center;
}

#g-recaptcha-response {
  display: block !important;
  position: absolute;
  margin: -78px 0 0 0 !important;
  width: 302px !important;
  height: 76px !important;
  z-index: -999999;
  opacity: 0;
}

/*
 * Documentation
 */
.accordion-body {
  text-align: justify;
}

/*
 * Footer Pages
 */
.title {
  margin-top: 100px;
  text-align: left;
}

.text-container {
  margin-top: 50px;
  width: 100%;
  /* center a div insie another div*/
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: left;
  box-shadow: 0 0 36px 0 rgba(0, 0, 0, 0.12);
}

.doc-container {
  margin-top: 20px;
  /* padding: 40px; */
}

.info {
  width: 80%;
  height: 80%;
  top: 5%;
  /* padding:5px; */
  font-size: 24px;
  /* font-family: var(--primary-font); */
}

.accordion-button:not(.collapsed) {
  color: black;
  background-color: #D3E1F4;
}

:focus {
  outline: 0 !important;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

/*
 * Footer
 */
#footer {
  /* position: absolute;
  left: 0;
  bottom: 0%;  */
  margin-top: 20px;
  width: 100%;
  background-color: rgb(61, 61, 61);
  color: white;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

@media (max-width: 48em) {
  .avatar {
    width: 280px;
  }
}

/*
 * Cover
 */
/* .cover {
  position: relative;
  width: 100%;
} */
/*.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
} */

@media (min-width: 992px) { /* apply only to desktop sizes lg+ */
    .dropdown-menu-center {
      left: 50% !important;
      right: auto !important;
      text-align: center !important;
      transform: translate(-50%, 0) !important;
    }
}
