#contact-content-wrapper {
	max-width: 1150px;
}

#gform_page_1_2 {
	max-width: 750px;
	margin: 0 auto;
}

#contact-content,
#gform_page_1_1 {
	text-align: center;
}

#gform_page_1_1 .gfield_label {
	margin-bottom: 30px;
	font-family: "Raleway", sans-serif;
	font-weight: 400;
}

body .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
body .gform_wrapper .field_sublabel_below div[class*="gfield_time_"].ginput_container label {
	margin: 0;
}

#field_1_2 {
	margin-bottom: 30px;
	padding: 10px 0 30px;
	text-align: center;
	border-bottom: 1px solid #029bae;
}

#field_1_13 {
	margin-bottom: 30px;
	padding: 10px 0 30px;
	text-align: center;
	border-bottom: 1px solid #029bae;
}

#field_1_19 {
	margin-top: 0;
}

#input_1_19 {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

#input_1_19 li {
	width: 33.333333333%;
	margin: 0 0 40px;
	padding: 0 2.5%;
	box-sizing: border-box;
}

@media all and (max-width: 767px) {

	#input_1_19 li {
		width: 50%;
	}

}

#input_1_19 li input {
	display: none;
}

#input_1_19 li label {
	margin: 0;
	color: #029bae;
	font-size: 17px;
    font-weight: 300 !important;
    line-height: 26px;
	transition: color 0.2s ease-out;
}

#input_1_19 li label:hover {
	color: #383838;
}

@media all and (max-width: 1249px) {

    /* ipad horizontal layout */

    #input_1_19 li label {
        font-size: 15px;
        line-height: 22px;
    }
    
}

@media all and (max-width: 767px) {
	
	/* mobile layout */

    #input_1_19 li label {
        font-size: 14px;
        line-height: 20px;
    }
    
}

#field_1_33 {
	margin-bottom: 0;
}

#field_1_33 h2 {
    color: #029bae;
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 38px;
    letter-spacing: 1px;
    margin-left: 1px;
    text-transform: none;
}

@media all and (max-width: 1249px) {

    #field_1_33 h2 {
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 1px;
        margin-left: 1px;
    }
    
}

@media all and (max-width: 767px) {

    #field_1_33 h2 {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: normal;
        margin-left: 0px;
    }

}

.contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 0 auto 10px;
	border-radius: 48px;
	background-color: #024660;
	transition: background-color 0.2s ease-out;
}

#input_1_19 li label:hover .contact-icon {
	background-color: #a12384;
}

.contact-icon img {
	display: block;
}

.page-template-contact .fancybox-content {
	width: 950px !important;
    max-width: 90% !important;
    height: 470px !important;
    max-height: 90vh !important;
    padding: 0px;
    cursor: auto;
}

.page-template-contact .fancybox-close-small {
    display: none !important;
}

.page-template-contact .contact-popup-close {
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: right;
}

.page-template-contact .contact-popup-close i {
    color: #a12384;
    font-size: 40px;
    line-height: 40px;
    text-decoration: none;
    cursor: pointer;
}

.page-template-contact .contact-popup-close i:hover {
    color: #024660;
    text-decoration: none;
}

.page-template-contact .fancybox-content li.hide {
    padding: 93px 100px 90px 100px; 
}

.page-template-contact .fancybox-content li.hide h3 {
	color: #029bae;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 31px;
}

.page-template-contact .fancybox-content li.hide p {
	color: #343434;
	font-size: 17px;
    font-weight: 300;
	line-height: 30px;
}

.page-template-contact .contact-popup-link {
    padding-top: 20px;
}

@media all and (max-width: 1249px) {
    
   .page-template-contact .contact-popup-close {
        top: 30px;
        right: 30px;
    }

    .page-template-contact .contact-popup-close i {
        font-size: 30px;
        line-height: 30px;
    }

    .page-template-contact .fancybox-content li.hide {
        padding: 73px 80px 70px 80px; 
    }

    .page-template-contact .fancybox-content li.hide h3 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 26px;
    }

    .page-template-contact .fancybox-content li.hide p {
        font-size: 15px;
        line-height: 25px;
    }

    .page-template-contact .contact-popup-link {
        padding-top: 20px;
    } 
    
}

@media all and (max-width: 767px) {
    
    .page-template-contact .contact-popup-close {
        top: 20px;
        right: 20px;
    }

    .page-template-contact .contact-popup-close i {
        font-size: 20px;
        line-height: 20px;
    }

    .page-template-contact .fancybox-content li.hide {
        padding: 43px 40px 40px 40px; 
    }

    .page-template-contact .fancybox-content li.hide h3 {
        font-size: 17px;
        line-height: 22px;
        margin-bottom: 16px;
    }

    .page-template-contact .fancybox-content li.hide p {
        font-size: 14px;
        line-height: 21px;
    }

    .page-template-contact .contact-popup-link {
        padding-top: 20px;
    } 
    
}

#gform_page_1_1 .gform_page_footer {
	margin: 0;
	padding: 0;
	border-top: 0;
	text-align: center;
}

#gform_wrapper_1 .gform_next_button{
    visibility: hidden !important;
}

#gform_wrapper_1 .gform_previous_button {
	display: none !important;
}

body .gform_wrapper #gform_page_1_1 .gform_ajax_spinner {
	width: 64px;
	height: 64px;
    margin: 0 auto;
}