﻿/* bootstrap overrides - remove from elements ASAP */

 .col-sm-4 {
 	width: auto;
 }

 .col-sm-6 {
 	width: auto;
 }


.row__equal-height::before {
	content: "";
	display: none;
}

.row__equal-height {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

@media screen and (min-width: 560px) {

	.row__equal-height {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}
  
    .three-columns .row__equal-height {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 1.5rem;
	}

}


@media screen and (min-width: 560px) {

	.row__equal-height {
		grid-template-columns: 1fr 1fr;
	}

}

@media screen and (min-width: 860px) {

	.row__equal-height {
		grid-template-columns: 1fr 1fr;
	}
}




/* hero mobile fix */

main .hero {
  height: auto;
  position: relative;
}

main .hero__media {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

main .hero__media img {
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

main .hero__content {
  position: relative;
  max-width: 1200px;
  padding: 0 0.7rem;
  height: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

main .hero__container {
  max-width: 56ch;
  height: auto;
  margin:  2rem 0 0 0;
  display: flex;
  flex-direction: column;  
  padding: 0px !important;
}

main .hero__container h1 {
  color: black !important;
  font-size: 2.3em !important;
}

main .hero__container p {
  font-size: 1.25em;
}



@media screen and (min-width: 500px) {
  main .hero__container {
    width: auto;
  }
}

@media screen and (min-width: 760px) {

	main .hero {
  		height: 70vh;
  		position: relative;
	}

	main .hero__media {
  		position: absolute;
	}

	main .hero__content {
	  justify-content: flex-end;
	}

	main .hero__container {
  		max-width: 42ch;
  		margin: 0;
	}	

}


@media screen and (min-width: 1100px) {

	main .hero__container {
  		max-width: 60ch;
  	}

}

form.referral-form label {
  font-size: 14px!important;
  font-weight:normal!important;
}

form.referral-form td {
  font-size:1.4em!important;
  color:#00a0dd!important;
}

form.referral-form input {
  padding: 0.4em;
  display: block;
  float: left;background: #f8f8f8;
  border: none;
  padding: 0.65em;
  border: 1px solid #DDD;
  -webkit-appearance: none;
  font-size: 14px;
}

form.referral-form input#ReferPatient {
  padding-top: 8px;
  padding-bottom: 7px;
  padding-left: 12px;
  padding-right: 34px;
  margin-left: 0px;
  margin-right: 12px;
  border-radius: 20px 0 0 20px;
  background: #00a0dd;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-image: none;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-image: none;
  background-image: url(../../res/img/buttons/btn-white-slug.png);
  background-position: right top;
  background-repeat: no-repeat;
  width: auto !important;
  color: #FFF;
  font-size: 1.1em;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  font-size: 15px;
}

form.referral-form select {
  font-size: 14px;
}

form.referral-form textarea {
  font-size: 14px;
}

a.highlight-link {
  color: #3aae2a;
  text-decoration: underline;
}
