 /*Import fonts*/
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

 /*Main variables*/
:root {
  --bs-primary-rgb: 18, 151, 147;
  --bs-dark-rgb: 43, 43, 43;
  --bs-btn-primary-color: #129793;
  --bs-font-montserrat: Montserrat, sans-serif;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-montserrat);
  --bs-body-font-size: 1rem;
  --bs-body-font-letter-spacing: 2px;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #333333;
  --bs-body-bg: #fff;
}

/* To make footer always stick to bottom of page */
html {
  position: relative;
  min-height: 100%;
}

/*Apply variables to BODY-element*/
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  letter-spacing: var(--bs-body-font-letter-spacing);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

/*Custom button matching Optiminal's style*/
.btn-bd-primary {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-border-radius: .5rem;
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-hover-border-color: var(--bs-btn-primary-color);
  --bs-btn-active-border-color: var(--bs-btn-primary-color);
}

/*Overriding form-check CSS to match Optiminal's style*/
.form-check {
  color: white;
}

/*Custom CSS for icon boxes*/
.feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  height: 4rem;
  width: 4rem;
  font-size: 2.5rem;
}

.op_header {
  margin-top: 1.5rem;
}

.op_brand {
  color: white;
  letter-spacing: -0.11rem;
  -webkit-user-select: none !important; /* Bootstrap: user-select-none */
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

.op_brand:hover {
  color: white;
}

.op_brand:visited {
  color: white;
}

.optiminal-slideshow {
  height: 18vh;
  background-position: center;
  background-size: cover;
  background-image: url('../assets/slideshow0.bmp');
  /*animation: image 15s infinite alternate;*/
}

@keyframes image {
  0% {
    background-image: url('../assets/slideshow0.bmp');
  }
  50% {
    background-image: url('../assets/slideshow1.bmp');
  }
  100% {
    background-image: url('../assets/slideshow2.bmp');
  }
}

.carousel .item {
  position: fixed;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
}

.carousel .one {
  height: 18vh;
  background-size: cover;
}

@media screen and (max-width: 1400px) {
  .optiminal-slideshow { 
    height: 15.5vh;
  }
}

@media screen and (max-width: 1200px) {
  .optiminal-slideshow {
    height: 12.5vh;
  }
}

@media screen and (max-width: 992px) {
  header {
    display: none;
  }
  body {
    margin-top: 8vh;
  }
}

.optiminal-slideshow-text {
  text-shadow: 1px 5px 5px black;
  color: white;
}

.bg-dark { 
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.bi {
  margin-left: 3px;
}

.form-switch .form-check-input:focus {
  border-color: rgba(0, 0, 0, 0.25);
  outline: 0;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
}

.form-switch .form-check-input:checked {
  background-color: #333333;
  border-color: #333333;
  border: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>");
}

.form-switch .form-check-input {
  transition: background-position 0.10s ease;
}

.card-body {
  height: 22vh;
}

.op_card {
  box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.3);
}

.op_card .card-body {
  cursor: pointer;
}

.op_card .card-body > h2 {
  font-size: calc(1.275rem + .2vw) !important; /* Bootrstap: fs-4 */
  font-weight: 700 !important; /* Bootstrap: fw-bold */
  -webkit-user-select: none !important; /* Bootstrap: user-select-none */
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

.op_card .card-body > p {
  margin-bottom: 0 !important; /* Bootstrap: mb-0 */
  -webkit-user-select: none !important; /* Bootstrap: user-select-none */
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

.op_footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: rgb(13, 13, 13);
    -webkit-user-select: none !important; /* Bootstrap: user-select-none */
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

.op_modal .modal-content {
  background-color: #202020;
  -webkit-user-select: none !important; /* Bootstrap: user-select-none */
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

.op_modal .modal-body {
  color: white;
  -webkit-user-select: none !important; /* Bootstrap: user-select-none */
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
}

.btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.btn-close:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.op_modal h1 {
  color: white;
  font-size: calc(1.275rem + .2vw) !important; /* Bootrstap: fs-4 */
  font-weight: 700 !important; /* Bootstrap: fw-bold */
}

.modal-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

.modal-footer {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-dark {
  background-color: #202020;
  border-color: #202020;
}