/**
 * partials/landing-page-sales
 * ---
 * page classes
 */
 

/* Header */
 
section.header {
	background: rgb(78,43,138);
	background: linear-gradient(210deg, rgba(78,43,138,1) 0%, rgba(35,0,82,1) 100%);
  background-repeat: no-repeat,no-repeat;
  position: relative;
}

section.header h1 {
	color: var(--teal);
	font-size: 48px;
	margin-top: 12rem;
	margin-bottom: 2rem;
}

section.header p {
	color: #FFF;
}

section.header figure,
section.header img {
	position: inherit;
	margin-bottom: 0;
	border-radius: 0;
	box-shadow: none;
}

section.header img {
	position: absolute;
	height: 90%;
	width: auto;
	bottom: 0;
	left: 50%;
}

section.header .row {
	display: flex;
	align-items: flex-end;
}

section.header .sliding_buttons {
	margin-bottom: 12rem;
  width: 80%;
  background-color: var(--purple);
}

section.header .sliding_buttons .bg {
  background-color: var(--pink);
}


/* Logos */

section.logos {
	padding: 3rem 0;
	text-align: center;
	background-color: #edf3f5;
	display: none;
}

section.logos .row {
	display: flex;
	justify-content: center;
	align-items: center;
}

section.logos img {
	border-radius: 0;
	box-shadow: none;
}


/* Quote Form */

#quote {
	padding-bottom: 0;
}

#quote .go_back {
	visibility: hidden;
}

#quote .nf-form-content input[type=submit] {
	margin-top: 0 !important;
}

#quote .nf-response-msg {
	padding-bottom: 8rem;
}

#quote .nf-response-msg p:last-of-type {
	margin-bottom: 0;
	padding-bottom: 8rem;
}

#quote .nf-after-form-content .nf-error-msg {
	padding-bottom: 8rem;
}


/* Products */

section.products {
	background-color: #FFF;
}

section.products .wp-block-media-text .wp-block-media-text__media {
  background-color: transparent;
  padding: 0;
  height: auto;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  box-shadow: none;
}

section.products .wp-block-media-text__media img, 
section.products .wp-block-media-text__media video {
  border-radius: 50%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  max-height: 100%;
  height: 34rem;
  width: 34rem;
  object-fit: cover;
  box-shadow: none;
}

section.products .wp-block-media-text__content {
  padding: 0 0 0 6rem !important;
  height: auto;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  background: transparent;
  box-shadow: none;
}

section.products .wp-block-media-text:nth-of-type(even) .wp-block-media-text__content {
	background: transparent;
  box-shadow: none;
}

section.products .wp-block-media-text:last-of-type {
	margin-bottom: 12rem;
}

section.products .wp-block-media-text__content a {
  color: var(--purple);
}

section.products .wp-block-media-text__content a:hover {
  color: var(--purple-hover);
}

section.products .btn {
	margin-top: 3rem;
	color: #FFF !important;
}

section.products .btn:hover {
	color: #FFF;
}


/* Hyundai */ 

section.hyundai {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 0;
}

section.hyundai .wp-block-group__inner-container {
	display: flex;
	align-items: center;
}

section.hyundai h4 {
	margin: 1rem;
}
 
section.hyundai figure {
	margin: 0;
} 
 
section.hyundai img {
	width: 20rem;
	margin: 1rem;
}

.clarington-hyundai section.header img {
	position: absolute;
	height: auto;
  width: 54%;
  bottom: 0;
  left: 42%;
}

.clarington-hyundai .header h1 {
	color: #FFF !important;
}

.clarington-hyundai h2 {
	color: var(--teal);
	font-size: 28px;
}

.clarington-hyundai .why_choose {
	background-color: var(--navy);
	padding: 6rem 0;
}

.clarington-hyundai .why_choose h4 {
	font-size: 20px;
	line-height: 1.1;
}

.clarington-hyundai .why_choose p {
	font-size: 18px;
	line-height: 1.3;
}


/* Large devices (small desktops, large tablets, more than 992px, less than 1200px) */
@media (max-width: 1199.98px) {
	
	.py-12 {
    padding: 8rem 0;
  }
	
	section.header h1 {
    font-size: 34px;
    margin-top: 8rem;
    margin-bottom: 2rem;
  } 
  
  section.header .sliding_buttons {
    margin-bottom: 8rem;
  }
  
  section.logos {
    padding: 2rem 0;
  }
  
  section.logos img {
    max-height: 6rem;
  }
  
  section.products .wp-block-media-text__media img, 
	section.products .wp-block-media-text__media video {
  	height: 30rem;
		width: 30rem;
  }
  
  section.products .wp-block-media-text:last-of-type {
    margin-bottom: 8rem;
  }
	
}


@media (max-width: 1180px) {
	
	/* Hyundai */
  
  .clarington-hyundai h2 {
    font-size: 22px;
  }

}


/* Medium devices (tablets, more than 576px, less than 992px) */
@media (max-width: 991.98px) { 
  
  section.header img {
	  position: absolute;
    bottom: 0;
    left: 55%;
    height: 80%;
  }
  
  .tanya-smith section.header img {
    left: 60%;
  }
  
  #quote {
    padding: 8rem 0 0;
  }
  
  section.products .wp-block-media-text__media img, 
  section.products .wp-block-media-text__media video {
    height: 22rem;
    width: 22rem;
  }
  
  section.products .wp-block-media-text .wp-block-media-text__media {
	  height: 100%;
	  align-items: flex-start;
  }
  
  section.products .wp-block-media-text__content {
    padding: 0 0 0 4rem !important;
  }
  
  /* Hyundai */
  
  .clarington-hyundai section.header .row {
	  justify-content: center;
  }
  
  .clarington-hyundai section.header img {
    position: relative;
    bottom: auto;
    left: auto;
    width: 20rem;
    margin: 0 auto;
    display: block;
  }
  
  .clarington-hyundai section.header img {
    left: auto;
    width: 100%;
  }
  
  .clarington-hyundai section.header .sliding_buttons {
    margin-bottom: 0rem;
  }
	
}	


/* Small devices (landscape phones, less than 390px height, less than 844px width) */
@media screen and (max-width: 844px) and (max-height: 390px) {
	
	/* Hyundai */
  
  section.hyundai img {
	  width: 16rem;
  }

}



/* Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	
  section.header h1 {
    margin-top: 6rem;
  }
  
	section.header .sliding_buttons {
    margin-bottom: 0;
    width: 100%;
  }
  
  section.header img {
    position: relative;
    bottom: auto;
    left: auto;
    width: 20rem;
    margin: 0 auto;
    display: block;
  }
  
  .tanya-smith section.header img {
    left: auto;
    width: 25rem;
  }
  
  section.logos img {
    max-height: 5rem;
  }
  
  section.logos .gx-5 {
    --bs-gutter-x: 2rem;
  }
  
  #quote {
    padding: 7rem 0 0;
  }
  
  #quote .nf-form-content input[type=submit] {
    margin-top: 1rem !important;
    width: 100%;
    margin: 1rem 0rem 2rem 0 !important;
  }
  
  section.products .wp-block-media-text__media img, 
  section.products .wp-block-media-text__media video {
    height: 10rem;
    width: 10rem;
    margin-bottom: 3rem;
  }
  
  section.products .wp-block-media-text:first-of-type {
		padding-top: 3rem;
	}
	
  section.products .wp-block-media-text__content {
    padding: 0 !important;
    text-align: center;
  }
  
  /* Hyundai */
  
  section.hyundai img {
	  width: 16rem;
  }

}


