.flex{
	display: flex;
}
.inline-flex{
	display: inline-flex;
}
.flex.column{
	flex-direction: column;
}
.flex.wrap{
	flex-wrap: wrap;
}
.align-center{
	align-items: center;
}
.justify-center{
	justify-content: center;
}
.flex > .half,
.form-container .half{
	flex-basis: calc(50% - (21px / 2));
	max-width: calc(50% - (21px / 2));
}
.flex > .full,
.form-container .full{
	flex-basis: 100%;
}
.text-center{
	text-align: center;
}
.uppercase{
	text-transform: uppercase;
}
.capitalize{
	text-transform: capitalize;
}
.clickable{
	cursor: pointer;
}
.relative{
	position: relative;
}
.montserrat{
	font-family: 'Montserrat', sans-serif;
}

.flyout-form{
	font-weight: 300;
	font-size: 20px;
	color: #232323;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	/*height: 100vh;*/
	top: 0;
	z-index: 99999;
	pointer-events: none;
}
.flyout-form *{
	pointer-events: all;
}
div.form-trigger{
	background-color: #b491bb;
	border-top: 9px solid #ba6ece;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 75px;
}
.form-trigger p{
	font-size: 35px;
	color: #fff;
	margin: 0 44px 0 0;
}
.form-trigger p strong{
	font-weight: bold;
}
.form-trigger .button-like{
	background-color: #fff;
	width: 190px;
	height: 45px;
	border-radius: 5px;
}
.form-trigger .button-like strong{
	font-size: 20px;
	color: #b491bb;
}

.form-container{
	overflow: scroll;
	transition: bottom .5s ease-in-out;
	position: absolute;
	left: 0;
	bottom: -100vh;
	width: 100%;
	/*height: calc(100vh - 198px);*/
	height: calc(100% - 198px);
	z-index: 1;
	background-color: #e8e8e8;
	padding: 55px 15px 0;
}
.form-close{
	position: absolute;
	/*bottom:  calc(100vh - 278px);*/
	top: 20px;
	right: 50px;
	width: 30px;
	height: 30px;
}
.form-close:before,
.form-close:after{
	content: '';
	display: block;
	width: 2px;
	height: 37px;
	background-color: #9b9a9a;
	margin-left: 15px;
}
.form-close:before{
	transform: rotate(45deg);
	top: 0;
	position: absolute;
}
.form-close:after{
	transform: rotate(-45deg);	
}
.form-container.open{
	bottom: 0;
}

.form-container .gform_wrapper{
	margin: 0;
}
.form-container .gform_wrapper h3,
.form-container .gform_wrapper .h3,
.form-container .gform_confirmation_message h3{
	text-align: center;
	color: #ba6ece;
	font-size: 35px;
	font-weight: bold;
	margin: 0 auto 31px;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
}
.form-container .gform_wrapper h3,
.form-container .gform_wrapper .h3{
	font-weight: 300;
	line-height: 1em;
}
.form-container .gform_wrapper h3 a,
.form-container .gform_wrapper .h3 a{
	font-weight: bold;
    border: 2px solid;
    border-radius: 5px;
	color: #ba6ece;
    padding: 5px 15px;
    display: inline-block;
}
.form-container .gform_wrapper h3 #et-info-phone:before,
.form-container .gform_wrapper .h3 #et-info-phone:before{
	margin-right: 10px;
}
.form-container .gform_wrapper h3 a:hover,
.form-container .gform_wrapper .h3 a:hover{
	color: #fff;
	border-color: #ba6ece;
	background-color: #ba6ece;
}
.form-container .gform_confirmation_message h3{
	margin-bottom: 15px;
}
.form-container .gform_wrapper ul.gform_fields{
	display: flex;
	flex-wrap: wrap;
	width: 970px;
	max-width: 100%;
	margin: 0 auto !important;	
}
.form-container .gform_wrapper ul.gform_fields li.gfield{
	padding-right: 0;
	margin-right: 21px;
	margin-top: 19px;
}
.form-container .gform_wrapper ul.gform_fields li.gfield:nth-child(3),
.form-container .gform_wrapper ul.gform_fields li.gfield:nth-child(5),
.form-container .gform_wrapper ul.gform_fields li.gfield:nth-child(7),
.form-container .gform_wrapper ul.gform_fields li.gfield.full{
	margin-right: 0;
}
body .form-container .gform_wrapper .top_label div.ginput_container{
	margin-top: 0;
}
.form-container .ginput_container > *{
	width: 100% !important;
    margin: 0 !important;
    height: 75px;
    border-radius: 5px;
    border: none;
    text-indent: 45px;
    padding-left: 0 !important;
	color: #232323;
	font-size: 20px;
	font-weight: 300;
}
.form-container .ginput_container select{
	appearance: none;
	cursor:pointer;
	padding-right: 80px;
	text-overflow: ellipsis;
}
.form-container .ginput_container_select{
	position: relative;
}
.form-container .ginput_container_select:before,
.form-container .ginput_container_select:after{
	content: '';
	display: block;
	width: 1px;
	height: 22px;
	background-color: #444444;
	position: absolute;
	top: 27px;
}
.form-container .ginput_container_select:before{
	transform: rotate(45deg);
	right: 35px;
}
.form-container .ginput_container_select:after{
	transform: rotate(-45deg);
	right: 50px;
}
.form-container .gform_wrapper textarea{
	padding-top: 25px;
}

.form-container .gform_wrapper .gform_footer input[type=submit]{
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	background-color: #b491bb;
	width: 100%;
	height: 95px;
	line-height: 86px;
	margin: 0;
	color: #fff;
	font-size: 25px;
	font-weight: bold;
    border: none !important;
    border-top: 9px solid #ba6ece !important;
}
.form-container .gform_wrapper .gform_footer{
    width: 100% !important;
    margin: 0!important;
}
.form-container .gform_wrapper div.validation_error,
.form-container .gform_wrapper .validation_message{
	display: none !important;
}
.form-container .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, 
.form-container .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label{
	margin-top: 0;
}
.form-container .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half){
	max-width: 100% !important;
}
.form-container .gform_wrapper li.gfield.gfield_error, 
.form-container .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent;
    margin-bottom: 0 !important;
    border-top: none;
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 0;
}
.form-container .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.form-container .gform_wrapper li.gfield_error textarea,
.form-container .gform_wrapper li.gfield_error textarea,
.form-container .gfield_error select{
	border: 1px solid #ff4a4a;
}
.form-container ::placeholder{
	opacity: 1;
	color: #232323;
	font-size: 20px;
	font-weight: 300;
}
.form-container :focus::placeholder{
	color: transparent;
}
body .form-container .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html{
	margin-top: 10px;
}
body .form-container .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html p{
	font-size: 16px;
}
.form-container .gform_confirmation_wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;	
}


.form-container.v2 {position:fixed;z-index:99;}



@media only screen and (min-width: 981px) and (max-height: 590px){
	div.form-trigger {border-top:3px solid #ba6ece;height:40px}
	.form-trigger p {font-size:23px}
	.form-trigger .button-like {width:160px;height:30px;height:35px;border-radius:2px}
}




@media screen and (max-width: 980px){
	.form-trigger p{
		font-size: 24px;
	}
	.form-container{
		/*height: calc(100vh - 165px);*/
		height: calc(100% - 165px);
	}
	.form-close{
		/*bottom:  calc(100vh - 228px);*/
		right: 25px;
	}
	.form-container .ginput_container > *{
		height: 55px;
		font-size: 18px;
		text-indent: 25px;
	}
	.form-container .ginput_container_select:before{
		right: 25px;
		top: 18px;
	}
	.form-container .ginput_container_select:after{
		right: 40px;
		top: 18px;
	}
	.form-container ::placeholder{
		font-size: 18px;
	}
}
@media screen and (max-width: 980px){
	.form-trigger p{
		font-size: 18px;
		margin: 0 25px 0 0;
	}
	.form-trigger .button-like {
		width: 180px;
		height: 45px;
	}
	.form-trigger .button-like strong{
		font-size: 16px;
	}
	.form-trigger{
		height: 65px;
	}	
	.form-container .gform_wrapper .gform_footer input[type=submit]{
		height: 65px;
		line-height: 56px;
		font-size: 16px;
	}
}
@media screen and (max-width: 567px){
	.form-close{
		/*bottom:  calc(100vh - 205px);*/
		right: 25px;
	}
	.form-trigger{
		padding-left: 15px;
		padding-right: 15px;
	}
	.accordv2 .form-trigger, .accord .form-trigger, #howwork .form-trigger{padding:0}
	.form-trigger p{
		line-height: 22px;
		margin: 0 ;
	}
	.form-container {
		height: calc(100% - 35px);
	}
	.form-container .gform_wrapper ul.gform_fields{
		flex-wrap: nowrap;
		flex-direction: column;
	}
	.flex > .half, .form-container .half{
		flex-basis: 100%;
		max-width: 100%;
	}
	.form-container .gform_wrapper ul.gform_fields li.gfield{
		margin-right: 0;
	}
	.form-container .gform_confirmation_message h3{
		font-size: 26px;
	}
}