@font-face {
  font-family: "MINISansSerifBO";
  /* src: url('/assets/fonts/MINISerif-Bold.woff2') format('woff2'),
        url('/assets/fonts/MINISerif-Bold.woff') format('woff'); */
  src: url("../fonts/MINISansSerif-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MINISansSerifRG";
  src: url("../fonts/MINISansSerif-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MINISerifBO";
  src: url("../fonts/MINISerif-Bold.woff2") format("woff2"),
    url("../fonts/MINISerif-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MINISerifRG";
  src: url("../fonts/MINISerif-Regular.woff2") format("woff2"),
    url("../fonts/MINISerif-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "MINISansSerifRG", sans-serif;
  padding-top: 50px;
}

.miniR {
  font-family: "MINISansSerifRG", sans-serif;
}

.miniB {
  font-family: "MINISerifBO", sans-serif;
}

.navbar .navbar-nav .nav-item {
  position: relative;
  font-size: 10px;
  color: #000;
  /* font-family: 'MINISansSerifRG', sans-serif; */
}

.navbar .navbar-nav .nav-item::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  content: "";
  background-color: #f1f1f1;
  width: 0%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

.navbar .navbar-nav .nav-item:hover::after {
  width: 100%;
}

.img-wrapper {
  max-width: 100%;
  height: 65vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  max-width: 100%;
  max-height: 100%;
}

.custom-convertible-form {
  border: 1px solid #212529;
  border-radius: unset;
}
.custom-convertible-btn-dark {
  background-color: #000 !important;
  border: none;
}

/* .carousel-inner {
    padding: 1em;
} */

.card {
  margin: 0 0.5em;
  border-radius: 0;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  font-size: 0.9em;
}

.card-title {
  max-height: 25px;
}

#recipeCarousel .carousel-item {
  max-height: 94vh;
}

.carousel-control-prev,
.carousel-control-next {
  width: 6vh;
  height: 6vh;
  background-color: #676b6a !important;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}

.carousel-control-prev {
  left: 0.5rem !important;
}

.carousel-control-next {
  right: 0.5rem !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.8;
}

.card-body {
  border-top: 1px solid #dddcdc;
}

.card a {
  text-decoration: none;
  color: inherit;
}

.history-inner .card-img img {
  max-width: 53%;
  float: left;
}

.history-inner .card-inner {
  height: 45vh;
}

.history-inner .card div {
  display: inline-flex;
}

.history-inner .card-inner {
  flex-direction: column;
  margin: 2rem;
}

.textbox {
  color: #000;
  height: 40px !important;
  padding: 5px;
  width: 100%;
  font-size: 15px;
  border: 2px solid #000;
  font-family: "MINISansSerifRG", sans-serif;
}

.errorInput {
  color: #ff0000;
  font-size: 11px;
  padding: 3px;
}

.history {
  background: #000000;
  color: #ffffff;
  line-height: 1;
  padding-top: 8.5rem;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  white-space: nowrap;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  width: 4%;
  margin-left: 1%;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: bold;
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
}

.t-ruled-after {
  text-transform: uppercase;
}

.t-body1 {
  font-size: 16px;
}

.btn {
  border-radius: 0rem;
  font-family: Arial;
  color: #fff;
  float: right;
  text-transform: uppercase;
  background: #407e9f;
  height: 40px;
  border: 2px solid #407e9f;
  padding: 8px 25px 10px 25px;
  line-height: 1.3em;
  border-radius: 1px;
}

.error-r {
  display: none;
  color: #ff0000;
  font-size: 11px;
  padding: 3px;
}

/* new form  */
.custom-convertible-form {
  border: 1px solid #212529;
  border-radius: unset;
  width: 100% !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
}
.custom-convertible-btn-dark {
  background-color: #000 !important;
  border: none;
}
@media only screen and (max-width: 768px) {
  .navbar {
    padding: 0;
    font-family: "MINISerifBO", sans-serif;
  }

  #recipeCarousel .carousel-item {
    max-height: max-content;
  }

  .navbar .navbar-nav .nav-link {
    padding: 1em;
    color: #000;
    font-size: 13px;
  }

  .navbar .navbar-nav .nav-link:hover {
    color: #000;
  }

  .card-title {
    max-height: 18px;
    font-size: 14px;
  }

  .history-inner .card-inner {
    height: 55vh;
  }
}

@media screen and (min-width: 576px) {
  .navbar {
    padding: 0;
    font-family: "MINISerifBO", sans-serif;
  }

  .navbar .navbar-nav .nav-link {
    padding: 1em;
    color: #000;
    font-size: 15px;
  }

  .navbar .navbar-nav .nav-link:hover {
    color: #000;
  }
}

#number input[type="number"]::-webkit-inner-spin-button,
#number input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

#recipeCarousel2 .carousel-inner .carousel-item.active,
#recipeCarousel2 .carousel-inner .carousel-item-next,
#recipeCarousel2 .carousel-inner .carousel-item-prev {
  display: flex;
}

p.pb-3.miniR.black-t {
  padding: 0 8px;
}

@media screen and (min-width: 992px) {
  .navbar {
    padding: 0;
    font-family: "MINISansSerifRG", sans-serif;
  }

  .navbar .navbar-nav .nav-link {
    padding: 1.5em 1em;
    color: #000;
  }

  .navbar .navbar-nav .nav-link:hover {
    color: #000;
  }

  .navbar .navbar-nav .nav-item {
    margin: 0 1em;
  }
}

@media (min-width: 768px) {
  #recipeCarousel2 .carousel-inner .carousel-item-end.active,
  #recipeCarousel2 .carousel-inner .carousel-item-next {
    transform: translateX(33.33333333%);
  }

  #recipeCarousel2 .carousel-inner .carousel-item-start.active,
  #recipeCarousel2 .carousel-inner .carousel-item-prev {
    transform: translateX(-33.33333333%);
  }
}

#recipeCarousel2 .carousel-inner .carousel-item-end,
#recipeCarousel2 .carousel-inner .carousel-item-start {
  transform: translateX(0);
}

#recipeCarousel2 .card {
  text-align: center;
}

#recipeCarousel2 .card-inner h5 {
  border-top: 1px solid #dddcdc;
  margin: 0;
  padding: 0.8rem;
}

.uni-sec h2 {
  float: left;
  margin-left: 5px;
}

.models {
  padding: 0 5px;
}

.black-t a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
}

#recipeCarousel2 .card-inner h5 {
  max-height: 50px;
}

#recipeCarousel2 .card-inner h5 img {
  padding: 8px 0;
}

.col-md-12.col-12.history-cont {
  width: 95%;
}

.select-checkbox {
  border: none;
  overflow: hidden;
  height: 160px;
}

.select-checkbox option {
  padding: 5px 5px 5px 0;
}

.select-checkbox option::before {
  content: "\2610";
  width: 25px;
  text-align: center;
  display: inline-block;
}

.select-checkbox option:checked::before {
  content: "\2611";
}

@media (min-device-width: 768px) and (max-device-width: 1024px) {
  .history {
    padding-top: 4.5rem;
    font-size: 24px;
    width: 5%;
  }

  .col-md-12.col-12.history-cont {
    width: 94%;
  }

  .history-inner .card-inner {
    margin: 1rem;
  }

  .t-body1 {
    font-size: 14px;
  }

  h3.t-display2.t-ruled-after {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .carousel-inner .carousel-item > div {
    display: none;
  }

  .carousel-inner .carousel-item > div:first-child {
    display: block;
  }

  .history {
    width: 94%;
    padding: 1rem;
    transform: none !important;
    -webkit-transform: none !important;
    writing-mode: unset;
    margin-left: 3%;
    font-size: 22px;
  }

  .uni-sec h2 {
    margin-left: 0;
    margin-top: 1rem;
  }

  .history-inner .card div {
    flex-direction: column;
  }

  .history-inner .card-img img {
    max-width: 100%;
  }

  .col-md-12.col-12.history-cont {
    width: 100%;
    padding: 0 5px;
  }

  .uni-sec h2 {
    margin-left: 5px;
  }

  .models,
  p.pb-3.miniR.black-t {
    padding: 0 5px;
  }

  #recipeCarousel2 .col-md-4 {
    width: 100%;
  }
}
