/*FORM FIXES FOR LEGACY MARKUP*/

/*appointment form*/

.page-id-172 #right-sidebar {
  display: none;
}
.page-id-172 #primary {
	width: 100%;
	background-color: #eff0f2;
}
.page-id-172 #main {
	margin-right: 0;
}
.page-id-172 {
  background-color: #eff0f2;
}
.page-id-172 .entry-content {
	justify-content: center;
	display: flex;
	background-color: #eff0f2;
}
.page-id-172 .inside-article {
  background-color: transparent;
}
.page-id-172 header.entry-header {
  display: flex;
  align-items: center;
	justify-content: center;
}
.page-id-172 header.entry-header h1.entry-title {
  text-align: center;
}

.appt-header {
  width: 100%;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-sizing: border-box;
  padding: 50px 0 35px 0;
  position: relative;
}
.appt-header h2 {
  margin-bottom: 20px;
  font-weight: bold !important;
  text-transform: uppercase;
  color: #3a3a3a;
  font-size: 32px;
}
.appt-header > p {
  font-style: italic;
  color: #444;
  margin-bottom: 0 !important;
}
.appt-page-number {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50px;
  height: 50px;
  background-color: #8c030e;
  border-radius: 100%;
  top: -25px;
}
.appt-page-number > p {
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  margin-bottom: 0 !important;
}
.appt-urgent-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px 50px;
  background-color: #EB5757;
  width: 100%;
  box-sizing: border-box;
}
.appt-urgent-cta p {
  color: white;
  margin-bottom: 0 !important;
  text-align: center;
}
.appt-urgent-cta p a {
  color: white;
  margin-bottom: 0 !important;
  text-align: center;
}

#gform_wrapper_13 {
	
	background-color: white;
  box-sizing: border-box;
  padding: 0 0 50px 0;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  margin-bottom: 0;
  margin-top: 60px; 
	width: 600px;
	
	.gform-body{
		width: 100%;
	}
	
	.gform_heading{
		display: none;
	}
	
	.gfield:not(#field_13_2){
		padding: 0 50px;
	}
	
	.gfield_required {
  color: #3a3a3a !important;
}
	
	.gfield input:not(.gfield-choice-input){
		background-color: #fafafa;
  border: 1px solid #444;
  border-radius: 5px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  padding: 5px 10px !important;
  color: #444;
  width: 100% !important;
	}
	
	.gform_page_footer {
  border-top: none !important;
  padding: 0 50px !important;
  margin: 25px 0 0 0 !important;
}
	
	.gform_next_button, .gform_previous_button, .gform_button{
		border: 2px solid #8c030e;
  box-shadow: none;
  margin-right: 0 !important;
  width: 100% !important;
  background-color: #fff !important;
  color: #8c030e;
  text-align: center;
  text-transform: uppercase;
  box-sizing: border-box !important;
  padding: 10px;
  font-size: 20px !important;
  transition: all .6s ease;
  font-weight: bold;
		margin-left: 0px;
	}
	
	.gform_next_button:hover, .gform_previous_button:hover, .gform_button:hover{
		
		background-color: #8c030e !important;
  color: #fff;
  cursor: pointer;
	}
	
	
	
	.gfield select {
  background-color: #fafafa;
  border: 1px solid #444;
  border-radius: 5px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  padding: 5px 10px !important;
  color: #444;
  width: 100% !important;
}
}

/*newsletter form*/

#gform_wrapper_4 { 
	input{
		width: 100%;
	}
	
	#gform_submit_button_4 { 
		padding: 10px 10px !important;
	}
}