.inner-header {
    background-color: #263780;
    text-align: center
}

.inner-header-text img {
	width: 16vw;
	height: auto
}

.inner-header-wrp {
    background: url("../images/1766-bg.png");
	background-repeat: no-repeat;
	background-size: contain
}

.inner-header .inner-header-text h3 {
	font-family: "Playfair Display", serif;
	line-height: calc(1.1* var(--space));
}

@media (max-width: 1950px) {
.inner-header .inner-header-text h3 {
    font-size: 1.85vw;
}
}

@media (min-width: 1951px) {
.inner-header .inner-header-text h3 {
    font-size: 2vw;
	line-height: calc(1.5* var(--space));
}
}

@media (max-width: 1600px) {
.inner-header-text img {
    margin-bottom: 0
}
}

@media (max-width: 1350px) {
.inner-header-text img {
	width: 160px;
	height: auto
}
}

@media (max-width: 1140px) {
.inner-header-text img {
	width: 120px;
	height: auto
}
	
.inner-header .inner-header-text h3 {
    line-height: calc(0.8* var(--space));
}
}

@media (max-width: 940px) {
.inner-header-text img {
	width: 100px;
	height: auto
}
}

@media (max-width: 800px) {
.inner-header .inner-header-text h3 {
    font-size: 22px
}
}

@media (max-width: 500px) {
.inner-header .inner-header-text h3 {
    font-size: 20px
}
}

h2.wp-block-heading, h3.wp-block-heading {
	font-family: "Playfair Display", serif;
	display: block;
	position:relative;
	margin-bottom: var(--vspace-2);
}

h2.wp-block-heading:after {
    content:'';
    position:absolute;
    left:0;right:0;
    top:100%;
    margin: 32px auto;
    width:120px;
    height:5px;
    background:#caa77b;
}

h3.wp-block-heading {
	font-family: "Playfair Display", serif;
}

.call-to-action.wp-block-media-text .wp-block-media-text__content h3 {
    margin-bottom: 20px;
	font-family: "Playfair Display", serif;
	font-size: 24px
}

.call-to-action.wp-block-media-text .wp-block-media-text__content p {
    line-height: normal;
}

.call-to-action.wp-block-media-text .wp-block-media-text__content {
    padding: 14% 8% 10%;
}

@media (max-width: 1200px) {
.call-to-action.wp-block-media-text .wp-block-media-text__content h3 {
    font-size: 20px;
	line-height: 24px
}
	
.call-to-action.wp-block-media-text .wp-block-media-text__content {
    padding: 12% 8% 8%;
}
}

@media (max-width: 890px) {
.wp-block-media-text .wp-block-media-text__content {
    padding: 70px 25px 30px !important;
}
}

@media (max-width: 500px) {
.call-to-action.wp-block-media-text .wp-block-media-text__content h3 {
    font-size: 18px;
	line-height: 22px
}
}

/** FORM **/

.form-wrapper {
	padding: 10px 30px;
	background-color: var(--color-2);
	color: white!important
}

.form-wrapper .gform_body {color: white!important}

.form-wrapper .gform_title {display:none}

input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
    font-size: 18px!important
}

.gform_wrapper.gravity-theme .gfield_label {
    font-size: 20px;
	line-height: 24px;
}

.gform_wrapper.gravity-theme .field_sublabel_above .gsection_description {
    margin-top: 0!important;
}

.gform_wrapper.gravity-theme .gsection_description {
    font-size: 15px;
    line-height: 20px;
    padding-top: 13px;
}

.gform_wrapper.gravity-theme .field_sublabel_above .gfield_description {
    margin-top: 0!important;
    padding-top: 0!important;
	line-height: 17px;
}

.gsection_description a {
    color:white!important
}

/* HACK */

#field_16_23 {margin-top: -16px!important}
#field_16_4 {margin-top: 6px!important}
#field_16_8 {margin-top: 12px!important}

.form-wrapper h3 {
	margin-bottom: 0;
	color: #caa77b;
	font-family: "Playfair Display", serif;
}

.gform_wrapper.gravity-theme .gsection {
    border-bottom: 0px solid #ccc;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    padding: 0 0 0 0!important;
}

.form-wrapper input[type="submit"] {
    margin-top: 30px!important;
    color: #263780!important;
    background-color: var(--color-6);
    border: 2px solid var(--color-6);
}

.form-wrapper input[type="submit"]:hover {
    background-color: #fff!important;
    border: 2px solid #fff!important;
}

.gform_wrapper.gravity-theme .gfield_header_item, .gform_wrapper.gravity-theme .gform_fileupload_rules, .gform_wrapper.gravity-theme .ginput_complex label {
    font-size: 18px;
    padding-top: 0px;
}

.gform_wrapper.gravity-theme .gfield-choice-input+label {
    vertical-align: top;
	line-height: normal;
	font-size: 18px;
}

.gform_wrapper.gravity-theme .gfield-choice-input {
    margin-top: 6px;
    margin-right: 5px;
}

.gform_wrapper.gravity-theme .gfield_required {
    color: yellow;
}

@media (max-width: 500px) {
.gform_wrapper.gravity-theme .gfield_label {
    font-size: 18px;
	line-height: 22px;
}
.gform_wrapper.gravity-theme .gsection_description {
    font-size: 14px;
    line-height: 19px;
}
.gform_wrapper.gravity-theme .gfield_header_item, .gform_wrapper.gravity-theme .gform_fileupload_rules, .gform_wrapper.gravity-theme .ginput_complex label {
    font-size: 16px;
}

.gform_wrapper.gravity-theme .gfield-choice-input+label {
	font-size: 16px;
}
}