/*
Theme Name: Encipher 
Description:  Child Theme for Encipher
Author: Encipher
Author URI: http://www.encipher.com
Template: tm-beans
Version: 1.0.13
Text Domain: tm-beans
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body { font-size: 16px; line-height: 1.4; margin: 0; color: #000; font-family: 'Open Sans', sans-serif; }
.uk-grid { margin: 0; }
.uk-block, .uk-grid > * { padding: 0; }
.tm-primary { max-width: 1200px; padding: 0; margin: 0 auto; }
.fl-builder .tm-primary { max-width: none; }
.fl-builder .uk-panel-box { padding: 0; }

h1, h2, h3, h4, h5 { margin: 0 0 0.5em 0; line-height: 1.4; font-family: 'Josefin Slab', serif; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }

p { margin: 0.5em 0; }
a { text-decoration: none; color: #00AEFF; }
a:hover { color: #005780; text-decoration: underline; }

.beans-skip-links, #offcanvas_menu { display: none; }
.uk-panel-box { background: #fff; }

img { height: auto; }

header .fl-module-icon .fl-module-content .fl-icon-text { height: 20px; }
header .fl-module-menu ul.sub-menu { min-width: 250px; }
header .fl-module-menu ul.sub-menu a { text-transform: none; font-weight: normal; font-family: 'Open Sans', sans-serif; border-bottom: 1px solid #8597b1; padding-top: 10px; padding-bottom: 10px; font-size: 14px; line-height: 1.3; }
header .fl-module-menu ul.sub-menu a:hover { border-color: #71c6a5; }
header .fl-module-menu .fl-menu-horizontal.fl-toggle-arrows .fl-has-submenu-container a { padding-right: 22px; }
header .fl-module-menu .fl-menu-horizontal.fl-toggle-arrows .fl-menu-toggle { width: 20px; height: 20px; margin-top: -12px; }
header .fl-module-menu .fl-menu .fl-menu-toggle:before { width: 7px; height: 7px; margin-top: -4px; }
header .fl-row-content-wrap .fl-node-605a94e573d7f .fl-heading-text a:hover { text-decoration: none; }
#search-col { max-width: 60px; }

#header-search-form { display: none; }
.fl-builder-edit #header-search-form { display: block; }
#search-col .fl-icon a.active, #search-col .fl-icon a.active i, #search-col .fl-icon a.active i:before { color: #002060; }

.home .fl-builder-content { background: #D6DBE5 url(https://historicalvillage.com.au/wp-content/uploads/2021/03/carriage-vintage-transport-old-wheels-and-vector-21251836-2.png) repeat top center; }

.fl-module-gallery.sponsors .fl-mosaicflow-content { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; }
.fl-module-gallery.sponsors .fl-mosaicflow-content .fl-mosaicflow-col { float: none; }
.fl-module-gallery.sponsors .fl-mosaicflow-content .fl-mosaicflow-col:empty { display: none; }
.fl-module-gallery.sponsors .fl-mosaicflow-content > div:first-child { display: none; }

.booking-button a { font-family: "Josefin Slab", serif; font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; border: 2px dashed #002060; color: #002060; text-align: center; background: linear-gradient(to bottom,  #8fe4c3 0%, #71c6a5 100%); display: block; padding: 12px 24px; }
.booking-button a i { font-size: 1.3em; margin-right: 8px; vertical-align: middle; width: auto; }
.booking-button a:hover { background: #fff; color: #71c6a5; text-decoration: none; }

.sweet-spot .fl-slide .fl-slide-photo img { width: 100%; }
.sweet-spot .fl-slide .fl-slide-cta-button .fl-button-wrap { text-align: center; }

.facebook-feed h4 { background: #365899; color: #fff; margin: 0; padding: 5px 10px; line-height: 1; }

.fl-post-feed-text .fl-post-feed-title, .fl-post-feed-text .fl-post-feed-header { margin-bottom: 5px; }
.fl-post-feed-text .fl-post-feed-more { font-style: italic; font-size: 15px; margin-top: 5px; }
.fl-post-feed-text .fl-post-feed-more:after { content: '\00BB'; padding-left: 5px; }
.fl-post-feed-text .fl-post-feed-more:hover { text-decoration: underline; }

body .gform_wrapper .gfield .gfield_label { font-size: 14px; }
body .gform_wrapper .gform_footer input.button, body .gform_wrapper .gform_footer input[type=submit] { background: #002060; color: #fff; font-family: "Josefin Slab", serif; font-weight: 700; text-transform: uppercase; padding: 0.5em 2em; font-size: 16px; border: 2px solid #002060; }
body .gform_wrapper .gform_footer input.button:hover, body .gform_wrapper .gform_footer input[type=submit]:hover { background: #8597b1; }
body .gform_wrapper div.validation_error { display: none; }
body .gform_wrapper li.gfield.gfield_error { padding: 0; background-color: transparent; border: 0 none; }
body .gform_wrapper li.gfield .validation_message, body .gform_wrapper .gfield_error .gfield_label { color: #001454; }
body .gform_wrapper li.gfield .validation_message { padding-top: 4px; }
body .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), body .gform_wrapper li.gfield_error textarea { border: 2px solid #001454; }
body .gform_wrapper li.gfield_error div.ginput_complex.ginput_container label, body .gform_wrapper li.gfield_error ul.gfield_checkbox, body .gform_wrapper li.gfield_error ul.gfield_radio { color: #000; }
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, body .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label, body .gform_wrapper .top_label div.ginput_container { margin-top: 6px !important; }

.postnav-link .nav-links a { border: 2px solid #00AEFF; border-radius: 4px; display: block; text-align: center; padding: 0.5em 1em; }
.postnav-link .nav-links a:hover { color: #fff; background: #00AEFF; }

footer .mc4wp-form .form-row label { display: none; }
footer .mc4wp-form .form-row input[type="text"], footer .mc4wp-form .form-row input[type="email"] { width: 100%; font-size: 14px; height: auto; padding: 8px; }
footer .mc4wp-form .form-row input[type="submit"] { background: #fff; margin: 5px 0; color: #002060; border: 2px solid #002060; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; padding: 10px 20px; line-height: 1; }
footer .mc4wp-form .form-row input[type="submit"]:hover { background: #71c6a5; }

.chv-post .fl-post-content { display: flex; }
.chv-post .fl-post-content .fl-post-image { width: 25%; }
.chv-post .fl-post-content .fl-post-text { width: 75%; padding-top: 0; padding-bottom: 0; }

#blog-sidelinks { width: calc(1200px * 0.25); position: fixed; right: calc(50% - 600px); }

@media screen and (max-width: 1200px)
{
	header .fl-row-content-wrap .fl-node-605a94e573d7f .fl-heading-text { font-size: 40px; }
	#blog-sidelinks { width: 25%; right: 0; }
}

@media screen and (max-width: 768px)
{
	header .fl-row-content-wrap { background: url(https://historicalvillage.com.au/wp-content/uploads/2021/03/chv-wheels-logo.png) no-repeat top center; background-size: contain; padding-top: 0; padding-bottom: 0; }
	header .fl-row-content-wrap .fl-node-605a94e573d7f > .fl-col-content { background: rgba(68,64,99,0.9); }
	header .fl-row-content-wrap .fl-node-605a94e573d7f .fl-heading-text { color: #fff !important; }
	header .fl-module-icon-group .fl-module-content { margin: 10px; }
	header .fl-module-icon-group .fl-icon-group .fl-icon { margin-top: 0; margin-bottom: 0; }
	header .fl-module-icon-group .fl-icon-group .fl-icon i, header .fl-module-icon-group .fl-icon-group .fl-icon i:before { font-size: 30px; }
	
	header .fl-node-6061286b04654 { position: relative; }
	#menu-col .fl-module-content { margin: 0; }
	#search-col { position: absolute; top: 0; right: 0; padding: 5px 10px; }
	#header-search-form { background: #404463; }
	#header-search-form .fl-module-content { margin-top: 10px; margin-bottom: 10px; }
	
	.fl-module-callout { max-width: 480px; margin: 0 auto; }
	
	.fl-col-group .mobile-half-col { width: 49% !important; display: inline-block; vertical-align: top; }
	
	#footer-menu .fl-col-group { display: flex; flex-wrap: wrap; }
	#footer-menu .fl-col-group .fl-col { width: 50% !important; }
}