/**
 * partials/quote-for-a-cause
 * ---
 * page classes
 */
 
header {
	background-image: url('../../img/nov11.jpg');
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
	clip-path: none;
	padding: 10rem 0;
} 

header .circle {
  display: none;
}
 
header h1 {
	color: var(--purple);
} 

header h2,
section.form h2 {
	font-size: 24px;
	color: var(--pink);
}

header p {
	color: var(--main-text-color);
}

header .logos {
	margin: 3rem 0;
}

header .logos img:first-of-type {
	margin-right: 3rem;
}

h3 {
	font-size: 50px;
}

section.form .col-lg-6:nth-of-type(2) .content {
	background-color: var(--gray);
	padding: 10% 10% 5%;
	border-radius: 5rem;
}

.nf-form-content input[type=submit] {
	width: 100% !important;
	margin: 1rem 0 2rem 0 !important;
}

.purple_highlight  {
	overflow: hidden;
	background: rgb(78,43,138);
  background-image: url('../../img/icon_faded_navy.svg'), linear-gradient(210deg, rgba(78,43,138,1) 0%, rgba(35,0,82,1) 100%);
  background-size: 40rem, cover;
	background-position: right -5% top 16rem, center;
	background-attachment: fixed, scroll;
	background-repeat: no-repeat, no-repeat;
	text-align: center;
}

.purple_highlight h1,
.purple_highlight h2,
.purple_highlight p {
	color: var(--white);
}

.purple_highlight h2 {
	margin-bottom: 6rem;
}

.purple_highlight .content {
	display: flex;
  justify-content: center;
}

.purple_highlight h4 {
	color: var(--white);
	display: flex;
  align-items: center;
}

.purple_highlight svg {
	color: var(--teal);
	height: 7rem;
	margin-right: 2rem;
}

hr {
  height: 2rem;
  max-width: 30rem;
  width: 80%;
  margin: 2rem auto;
}


/* Community Impact */

.community-impact {
	background: #f7f5f8;
}

.community-impact .content h2 {
	margin-bottom: 1rem;
}

.community-impact .content h1 {
	color: #58247c;
	margin-bottom: 20px;
}

.impact-meter {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
}

.thermometer-wrap {
	display: flex;
	align-items: stretch;
	height: 280px;
}

.thermometer-scale {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: right;
	padding: 5px 25px 22px 0;
	font-size: 16px;
	color: #555;
}

.thermometer {
	/* UPDATE THIS VALUE TO CHANGE THE THERMOMETER */
	--thermometer-level: 20%;
	position: relative;
	width: 48px;
	height: 250px;
	border: 6px solid #858585;
	border-radius: 30px 30px 20px 20px;
	background: #fff;
	margin-bottom: 20px;
}

.thermometer:before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 17px;
	transform: translateX(-50%);
	width: 18px;
	height: calc(100% - 28px);
	background: #eee;
	border-radius: 10px;
}

.thermometer-fill {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 32px;
	transform: translateX(-50%);
	width: 18px;
	height: var(--thermometer-level);
	max-height: calc(100% - 30px);
	/*background: #e21b23;*/
	background: #eee;
	border-radius: 10px 10px 0 0;
}

.thermometer-bulb {
	position: absolute;
	z-index: 1;
	width: 70px;
	height: 70px;
	background: #e21b23;
	border: 6px solid #858585;
	border-radius: 50%;
	left: 50%;
	bottom: -27px;
	transform: translateX(-50%);
	box-shadow: inset 0 0 0 5px #fff;
}

.thermometer:after {
	content: "";
	z-index: 4;
	position: absolute;
	left: 50%;
	bottom: 31px;
	transform: translateX(-50%);
	width: 36px;
	height: 20px;
	background: transparent;
  border-left: 9px solid #FFF;
  border-right: 9px solid #FFF;
}

.impact-total {
	text-align: center;
}

.impact-total h3 {
	color: #58247c;
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 8px;
}

.impact-total span {
	display: block;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 20px;
}

.impact-total p {
	max-width: 220px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.3;
	font-style: italic;
	color: #666;
}


/* Broker Section */

.broker-section {
	background: #fff;
}

.broker-photo {
	width: 190px;
	height: 190px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	background: #f5f3f6;
}

.broker-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.broker-info {
	padding-left: 25px;
}

.broker-label {
	display: block;
	color: var(--pink);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.broker-info h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 5px;
}

.broker-title {
	font-size: 20px;
	margin-bottom: 25px;
}

.broker-title span {
	color: #aaa;
	padding: 0 8px;
}

.broker-contact {
	row-gap: 20px;
}

.broker-contact a {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	color: #202636;
	text-decoration: none;
	font-size: 20px;
	transition: color 0.2s ease;
}

.broker-contact a:hover {
	color: #58247c;
}

.broker-contact svg {
	width: 22px;
	color: var(--teal);
	font-size: 19px;
	text-align: center;
}

.broker-contact a span {
	color: #555;
}


/* Large devices (small desktops, large tablets, more than 992px, less than 1200px) */
@media (max-width: 1300px) {
	
	header .circle {
		display: block;
	  position: absolute;
	  top: -20rem;
	  left: calc(50% - 107rem);
	  width: 120rem;
	  height: 120rem;
	  border-radius: 50%;
	  background-color: #FFF;
	  box-shadow: 50px -20px 35px -30px rgba(0, 0, 0, 0.16);
	}
	
	header .circle:before {
    content: "";
    position: absolute;
    top: -20rem;
    left: calc(50% - 140rem);
    width: 120rem;
    height: 120rem;
    background-color: #FFF;
    box-shadow: none;
  }
	
	header .logos img:first-of-type {
	  width: 15rem;
  }
  
  header .logos img:nth-of-type(2) {
	  width: 30rem;
  }
	
}


@media (max-width: 1120px) {
	
	

}


/* Medium devices (tablets, more than 576px, less than 992px) */
@media (max-width: 991.98px) { 
  
  header {
		background-position: center -25rem;
		background-size: 100% auto;
		padding: 32rem 0 0;
	} 
  
  header .circle {
    left: calc(50% - 125rem);
    top: 25rem;
    width: 250rem;
    height: 250rem;
  }
  
  header .circle:before {
    display: none;
  }
  
  header .content {
    padding: var(--padding-x-7);
    max-width: 67rem;
    margin: 0 auto;
    padding: 3rem 0 6rem;
  }
  
  header,
  section.form .content,
  .community-impact {
	  text-align: center;
  }
	
}	


/* Small devices (landscape phones, less than 390px height, less than 844px width) */
@media screen and (max-width: 844px) and (max-height: 390px) {
	
	
	
}



/* Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	
  header {
    background-position: center 0rem;
    background-size: 115% auto;
  }
  
  header .content {
    padding: 0rem 0 6rem;
  }
  
  h1,
  h2 {
    font-size: 36px;
  }
  
  header h2, 
  section.form h2 {
    font-size: 20px;
  }
  
  header .logos img:first-of-type {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .purple_highlight h2 {
    margin-bottom: 4rem;
  }
  
  .purple_highlight h4 {
	  width: 19rem;
  }
  
  .purple_highlight svg {
	  height: 4rem;
	  width: 5rem;
  }
  
  .community-impact br {
    display: none;
  }
  
  .impact-meter {
    gap: 30px;
  }
  
  .broker-photo {
    margin: 0 auto 3rem;
  }
  
  .broker-info {
    padding-left: 0;
    text-align: center;
  }
  
  .broker-contact a {
	  display: block;
  }

}


