html {
  scroll-behavior: smooth !important;
  --mg-red: rgb(200, 5, 5);
  --mg-red-hover: rgb(200, 5, 5);
}

#wrapper #content {
  background-color: black;
}

.mg-red {
  color: var(--mg-red);
}

.pink-button {
  background-color: var(--mg-red);
  border: 1px solid var(--mg-red);
}

.pink-button:hover {
  background-color: var(--mg-red-hover) !important;
}

/* Header */
.primary-menu {
  flex-grow: 0 !important;
  flex-basis: 0 !important;
}

#header, #header-wrap, .header-row{
  min-width: 100px;
}

#page-title.mgpatrocinios-title-container {
  background: url(../images/patrocinios-chivas/mg-chivas-landing-back.jpg) no-repeat center center / cover;
  height: 80vh;
}
#page-title.page-title-dark h1 {
  color: rgba(255,0,0,.9) !important;
}

#page-title .container-fluid {
  max-width: max-content;
  gap: .5rem;
  margin-left: 0;
}

.maraton-logo {
  width: 350px;
}

#page-title h1 span.mg-red {
  color: var(--themecolor) !important;
  font-weight: bold;
}
#page-title h1{
  margin: 0;
  text-transform: none;
  width: fit-content;
}

#page-title h1 span {
  font-size: 2.8rem;
  display: block;
}

#page-title h1 {
  font-size: 2.8rem;
  font-weight: normal !important;
  display: inline-block;
}

.page-section {
  margin: 4rem 0;
}


.line {
  border: none;
  background: var(--mg-red);
  opacity: 1;
  margin: 0;
  height: 1px;
}

/* Content */

/* Slider */
#slider {
  background: url(../images/patrocinios-chivas/mg-chivas-galeria-back.jpg) no-repeat center center / cover;
  min-height: 120svh;
  min-height: 120vh;
  position: relative;
  overflow: hidden;
  
  @media (min-width: 768px) {
    min-height: 100svh;
    min-height: 100vh;   
  }
}

.sliders__container {
  width: 200%;
  display: flex;
  margin-left: -100%;
}

.slider__container {
  width: 100%;
}

.slide-image {
  height: 400px;
  padding: 0;
}

.slide-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-description {
  background-color: #19191b;
}

.slider-description h4 {
  font-size: 1.5rem;
}

.slider__button {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  position: absolute;
  bottom: 1rem;
  transform: translate(-50% -50%);
  -webkit-transform: translate(-50% -50%);
  -moz-transform: translate(-50% -50%);
  -ms-transform: translate(-50% -50%);
  -o-transform: translate(-50% -50%);
  transition-property: background-color, border;
  transition-duration: 0.4s;
  @media(min-width: 768px) {
    top: 50%;
    }
}

.slider__button:hover {
  background-color: var(--mg-red-hover);
  border: var(--mg-red-hover);
}

.slider__button:first-of-type {
  left: 20%;
  @media (min-width: 768px) {
    left: clamp(0.0625rem, -0.7768rem + 4.1964vw, 3rem);
  }
}

.slider__button:nth-of-type(2) {
  right: 20%;
  @media (min-width: 768px) {
    right: clamp(0.0625rem, -0.7768rem + 4.1964vw, 3rem);
  }
}

/* Dynamics */
.dymanic-circle {
  width: 84px !important;
  height: 84px !important;
  background-color: var(--mg-red) !important;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  display: grid !important;
  place-items: center !important;
}

.dymanic-circle:hover {
  background-color: var(--mg-red-hover) !important;
}

.dark .fbox-effect.fbox-dark .fbox-icon i::after {
  box-shadow: var(--mg-red-hover) 0px 0px 0px 2px !important;
}

.fbox-icon i {
  font-size: 2.7rem !important;
  transition: transform .3s;
  -webkit-transition: transform .3s;
  -moz-transition: transform .3s;
  -ms-transition: transform .3s;
  -o-transition: transform .3s;
}

.fbox-content > .footer-social-icons > a:hover {
  opacity: .6;
}

#dynamics .pink-button{
  border: 2px solid white;
}

#dynamics .pink-button:hover {
  background-color: var(--mg-red-hover) !important;
  border-color: var(--mg-red-hover);
}


/* Tips */
.mfp-iframe-scaler .mfp-close{
  border: transparent !important;
  font-size: 2rem;
  margin-right: 4px;
  margin-top: 0;
}

div.model-container {
  margin-top: 3rem;
}

.model-container {
  overflow: hidden;
}

/** Carousel **/
.model-container button.owl-next,
.model-container button.owl-prev {
    opacity: 0.6 !important;
    border-radius: 0px !important;
    color: white;
    background-color: transparent;
    font-size: 30px !important;
    width: 50px !important;
    height: 50px !important;
    border: 1px solid white;
    margin-top: -45px !important;
}

.model-container button.owl-prev:hover,
.model-container button.owl-next:hover {
    opacity: 1 !important;
}

.model-container .owl-nav .owl-next:hover,
.model-container .owl-nav .owl-prev:hover {
  background-color: var(--mg-red-hover) !important;
}

.tips-controls .section {
  margin-top: 0px;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-bottom: 0px;
}

.tips-controls .right {
  text-align: right !important;
}

.tips-controls .select-controls {
  padding: 1rem;
  border-left: 6px solid var(--themecolor);
}

.dealer-container {
  border: 1px solid rgba(255, 255, 255, 0.6);
  height: 240px;
}

.dealer-container .video-title {
  font-size: 1rem;
  padding: 0.8rem 1rem 1rem;
}

.dealer-container .video-title {
  font-size: 1rem;
  padding: 0.8rem 1rem 1rem;
}

.gallery-thumbnail {
  width: 100%;
  height: 90%;
  background-size: cover;
  padding: 0px;
  background-repeat: no-repeat;
  background-position: center;
}

.oc-item {
  background-color: #19191b;
}

/* Buttons Carrusel */
.fbox-effect .fbox-icon i.icon-line-play {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.7);
}
.fbox-effect .fbox-icon i.icon-line-play::before {
  margin-left: 5px;
}
.fbox-effect .fbox-icon i.icon-line-play:hover {
  border: 1px solid rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
  background-color: transparent;
}
.fbox-effect .fbox-icon i:hover,
.fbox-effect:hover .fbox-icon i {
  background-color: transparent !important;
}

.owl-carousel .owl-dots .owl-dot {
  background-color: var(--mg-red-hover);
}

.dark .fbox-effect .fbox-icon i:after {
  box-shadow: none;
  background-color: transparent;
}
.dealer-detail-info {
  padding: 4rem;
}

.gmap_canvas .fluid-width-video-wrapper {
  position: absolute;
  padding: 0;
  height: 100%;
}

.tips-controls .section {
  margin-top: 0px;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-bottom: 0px;
}

.tips-controls .right {
  text-align: right !important;
}

.tips-controls .select-controls {
  padding: 1rem;
  border-left: 6px solid var(--themecolor);
}


/* Parallax */
.parallax-description {
  padding: 0;
}

.patrocinio-description {
  min-height: 20vw;
  justify-content: center;
  align-items: center;
  margin: 4rem 0;
}

.parallax-center-container {
  background-color: transparent;
  color: white;
  margin: 0 48px;
  padding: 50px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 640px;
  flex-direction: column;
  float: right;
  font-size: 1.6rem !important;
  border: 1px solid white;
  border-left: 6px solid var(--mg-red);
  height: fit-content;
}


/* Footer */
#img-logo {
  max-width: 6.25rem;
}

.footer-logo-container {
  border-color: var(--mg-red);
}


/* Modal */
.mfp-close{
  border: 2px solid white !important;
  font-size: 3rem !important;
  margin-right: clamp(1rem, -0.429rem + 3.81vw, 3rem);
  margin-top: clamp(1rem, -0.429rem + 3.81vw, 3rem);
}

.card-form {
  background-color: #19191b !important;
}

#modal-register .card-form .form-control:focus {
  color: white;
  border: 1px solid white !important;
}
#modal-register .card-form .form-control:focus::placeholder {
  transition: color .5s;
  -webkit-transition: color .5s;
  -moz-transition: color .5s;
  -ms-transition: color .5s;
  -o-transition: color .5s;
  color: white;
}

.terms label {
  font-size: 12px;
  text-align: left;
  margin-left: 8px;
  margin-bottom: 0;
}

.terms label a {
  text-decoration: underline !important;
  transition: color 0.3s;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -o-transition: color 0.3s;
}


/* Checkbox */
.input__checkbox {
  opacity: 0;
  display: none;
}

.label__checkbox a {
  text-decoration: underline;
}

.input__checkbox + label {
  position: relative;
  padding: left;
  cursor: pointer;
  display: inline-block;
  padding-left: 30px;
}

.input__checkbox + label::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 4px;
  width: 19px;
  height: 19px;
  outline: 2px solid white;
  background-color: transparent;
}

.input__checkbox:checked + label::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 4px;
  width: 19px;
  height: 19px;
  background-color: transparent;
}

.input__checkbox:checked + label::after {
  content: '\2714';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 1.125rem;
  height: 1.125rem;
  font-size: 1rem;
}

/*Video */
#video {
  background: url(../images/patrocinios-chivas/video-cover.png) no-repeat center center / cover;
  min-height: 120svh;
  min-height: 120vh;
  position: relative;
  overflow: hidden;

  @media (min-width: 768px) {
    min-height: 100svh;
    min-height: 100vh;   
  }
}
/*banner*/
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0e0e0e;
  height: 100px;
  width: 100%;
  z-index: 2;
  @media (max-width: 768px) {
    margin-top: 60px;  
    height: 60px;
  }
  @media (max-width: 1024px) {
    margin-top: 90px;  
    height: 90px;
  }
}
.banner .banner-text{
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: normal;
  text-transform: uppercase;
  @media (max-width: 768px) {
    font-size: 1.4rem;
  }
}

/* Responsive */

@media screen and (max-width: 1200px) {
  .maraton-content .section.parallax {
    margin: 0px;
}
  section#content {
      top: -100px;
  }
}

@media screen and (max-width: 1024px) {
  .maraton-content .section.parallax {
    margin: 0px;
}
  #page-menu:not(.sticky-page-menu) {
      top: -90px;
  }
  #page-menu.sticky-page-menu:not(.dots-menu) #page-menu-wrap {
      top: 80px !important;
  }

}

@media screen and (max-width: 767px) {
  
  #page-title h1,
  #page-title h1 span {
      font-size: 1.6rem;
      line-height: normal;
  }

  #page-title .container-fluid {
      text-align: left;
      margin: 0 auto;  
      height: 100%;
  }

  #page-title h1 {
      width: 100%;
  }
  section#content {
      top: -60px;
  }

  .parallax-center-container {
    padding: 30px;
    margin: 0 auto;
}
.parallax-center-container h2 {
  font-size: 1.2rem;
}

#content .parallax-description p,
#content .parallax-description li {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

  #page-menu.sticky-page-menu:not(.dots-menu) #page-menu-wrap {
      top: 60px !important;
  }

  #page-title.tips-title-container {
    padding: 0px 10px;
    justify-content: center;
    background: url("../images/tips/mg-tips-title-back-mobile.jpg") no-repeat center 45% / cover;
}

  #content .content-wrap .tips-content {
      padding-top: 0px;
      padding-bottom: 0px;
  }

  #page-title.tips-title-container h1 {
      font-size: 2rem;
      text-align: left;
  }

  .dealer-detail-info {
      padding: 1rem;
  }
  .dealer-info-section .dealer-info-subtitle,
  .dealer-info-section .dealer-info-detail {
      font-size: 1.2rem;
  }
  #map-modal .fluid-width-video-wrapper iframe,
  #map-modal .fluid-width-video-wrapper object,
  #map-modal .fluid-width-video-wrapper embed {
      height: 95vh;
  }
  .close.close-modal {
      top: 10%;
      right: 5%;
  }
  .modal-fullscreen .modal-content {
      height: 95vh;
  }

}