/* GENERAL */
:root {
  --dark: #00364B;
  --blue: #0094cf;
  --light-blue: #e3f7ff;
  --orange: #FFA842;
  --text: #1D1D1D;
  --gray-light: #FAFAFA;

  --title: 'Roboto', sans-serif;
  --text: 'Lato', sans-serif;

  --light: 300;
  --medium: 400;
  --bold: 700;
}

/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* Lato */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1260px;
}

.container-fluid {
  max-width: 1920px;
}

.section {
  margin-bottom: 120px;
}


/* FONT */

h1,h2,h3 {
  margin-bottom: 1.5rem;
  font-family: var(--title);
  font-weight: var(--bold);
  line-height: 1;
  color: var(--dark);
}

h1 {
  font-size: 55px;
}

.section-title {
  font-size: 35px;
}

.paragraph {
  font-family: var(--text);
  font-weight: var(--light);
  font-size: 18px;
  margin-bottom: 2rem !important;
  line-height: 1.4;
}

.subtitle {
  font-family: var(--text);
  font-weight: var(--light);
  font-size: 14px;
  padding-left: 25px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  color: var(--dark);
}
.subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 1px;
  width: 20px;
  margin: auto;
  background-color: var(--orange);
}

b {
  font-weight: var(--bold);
}


/* CUSTOM */

.is-white {
  color: var(--white);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.anchor {
  font-size: 17px;
  font-weight: var(--light);
  text-decoration: underline;
  color: var(--orange);
  position: relative;
}
.anchor::after{
  content: '';
  position: absolute;
  top: -3px;
  right: -45px;
  bottom: 0;
  background-image: url('/assets/icon/arrow-right.svg');
  width: 31px;
  height: 31px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.scroll::after {
  background-image: url('/assets/icon/arrow-down.svg');
  top: unset;
  left: 0;
  right: 0;
  bottom: -37px;
  margin: auto;
}
.download::after {
  transform: rotate(90deg);
}
.anchor:hover {
  color: #cb832f;
}

.b-orange {
  border-top: 4px solid var(--orange);
}

.shadow-bottom {
  box-shadow: 0px 4px 25px -5px rgba(0, 0, 0, 0.1);
}

.bg-gray {
  background-color: var(--gray-light);
}

.bg-dark {
  background-color: var(--dark) !important;
  /* background-image: url('/assets/img/checkered.png'); */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-dark .section-title,
.bg-dark .subtitle,
.bg-dark .paragraph  {
  color: var(--white);
}

.sticky {
  position: sticky;
  top: 15px;
}

.category-active {
  font-weight: var(--bold);
  color: var(--orange) !important;
}


/*BTN*/

.btn-primary:hover {
  background-color: #c9ffc0 !important; 
}

.btn-primary.focus, 
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem #48c13440;
}

.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #41bb2d;
  border-color: transparent;
}

.btn-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: none !important;
}

/*CARD PRODUCT*/

.product-card {
  border: 0;
  width: 200px;
  margin-right: 20px;
}

.product-card .content {
  padding: 12px 10px;
  color: var(--dark);
}

.product-card .content .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.product-card .content .description {
  font-size: 13px;
  font-weight: 300;
}

.product-card .img-card img {
  height: 220px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
  background-color: var(--blue);
}


/*BLOG CARD*/

.news.card {
  padding: 5px;
  border-radius: 2px;
  padding: 0 25px 25px;
}

.news.card .category {
  font-weight: var(--light);
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 2px;
  text-align: left;
}

.news.card .title {
  font-weight: var(--bold);
  font-size: 16px;
  margin-bottom: 0;
  text-align: left;
}

.news.card .img-box img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


/*BREADCRUMB*/

.breadcrumb {
  background-color: transparent;
  margin-top: 3rem;
  padding-left: 0;
}

.breadcrumb-item {
  color: var(--dark);
}

.breadcrumb-item a {
  color: var(--text);
}

.breadcrumb-item.first a {
  color: var(--orange) !important;
  font-weight: 700 !important;
}


/*FORM STYLE*/


form.contact {
  background: #FFFFFF;
  box-shadow: 0px 5px 40px rgb(33 33 33 / 15%);
  border-radius: 10px;
  padding: 15px 13px;
}

form.contact .title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

#nameInput {
  width: 95%;
}
#surnameInput {
  width: 95%;
  margin-left: auto;
}

form.contact input,
form.contact textarea {
  background-color: #fafafa;
  border: 1px solid #dddddd;
  border-radius: 2px;
  padding: 21px 15px;
}
form.contact textarea {
  padding-top: 10px;
}
.form-check-label {
  font-size: 12px;
}
.form-check {
  margin-bottom: .5rem;
}

form.contact .btn-primary {
  padding: 15px 30px;
  background-color: #91dd856e;
  border-radius: 2px;
  text-align: center;
  color: var(--text);
  border: 0;
}

select {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 15px;
  border: 1px solid #dddddd;
  border-radius: 2px;
  background-color: #fafafa;
  color: #6c757d;
}

/*CONTACT*/

.hero-contact {
  padding: 10% 0;
}



/*PARTNER PAGE*/

.hero-partner {
  margin-top: 5%;
  margin-bottom: 6%;
}

.hero-partner .wrapper {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.partner-box {
  text-align: center;
}

.partner-box img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/*TABS*/

.nav-tabs {
  margin-bottom: 1.5rem;
  border-bottom: 0;
}

.nav-tabs .nav-link {
  color: #e5dcdc;
  font-size: 25px;
  padding-left: 0;
  padding-right: 30px;
  border: 0;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: var(--title);
  font-weight: 700;
  border: 0;
  text-decoration: underline;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  border: 0;
}

.dropdown-language .dropdown-menu {
  min-width: 4rem !important;
}

#momec-for-motorsport img{
  height: 100%;
  object-fit: cover;
}

.loghi-momec {
  max-height: 350px;
  height: fit-content;
  width: 100%;
  object-fit: contain;
  margin: 20px auto;
}