/*
Theme Name: Encipher 
Description:  Child Theme for Encipher
Author: Encipher
Author URI: http://www.encipher.com
Template: tm-beans
Version: 0.1.23
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; }
h1 { font-size: 34px; }
h2 { font-size: 30px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }

.fl-module-heading .fl-module-content { margin-bottom: 0; }
.fl-module-rich-text .fl-rich-text p:first-child { margin-top: 0; }

p { margin: 0.5em 0; }
a { text-decoration: none; color: #1E9ADF; }
a:hover { color: #063852; text-decoration: underline; }

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

.accent { color: #FFC100 !important; }

header { position: relative; z-index: 5; }

.fl-builder-content a.fl-button { border-radius: 0; }

.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input { background: #063852; font-size: 18px; color: #fff; cursor: pointer; border: 1px solid #063852; padding: 0.5em 2em; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; }
.gform_wrapper.gravity-theme #field_submit input:hover, .gform_wrapper.gravity-theme .gform_footer input:hover { background: #fff; color: #063852; }

@media screen and (max-width: 1024px)
{
	h1 { font-size: 30px; }
	h2 { font-size: 26px; }
	h3 { font-size: 24px; }
	h4 { font-size: 20px; }
	h5 { font-size: 18px; }
	
	.page-title.fl-row[data-node] > .fl-row-content-wrap { padding-top: 0; padding-bottom: 0; }
	
	.member-logos .fl-col-group-equal-height { display: flex; flex-direction: row; flex-wrap: wrap; }
	.member-logos .fl-col-group-equal-height .fl-col { width: 200px !important; }
	.member-logos .fl-col-group-equal-height .fl-col .fl-module-photo .fl-module-content { margin: 20px 40px; }
	
	footer .fl-row[data-node] .fl-row-content-wrap { padding: 0; }
}

@media screen and (max-width: 768px)
{
	header .fl-row .fl-row-content-wrap { background-position: top center; }
	header h1.fl-heading { font-size: 32px; }
	
	.fl-row.page-title .fl-row-content-wrap { padding: 0; }
	.fl-row.page-title .fl-row-content-wrap .fl-module-content { margin: 0; }
	.fl-row.page-title .fl-row-content .fl-col-group { display: flex; }
	.fl-row.page-title .fl-row-content h2 { font-size: 24px; }
	.fl-row.page-title .fl-row-content .fl-icon-text-link { font-size: 18px; }
	.fl-row.page-title .fl-row-content .fl-icon i, .fl-row.page-title .fl-row-content .fl-icon i:before { font-size: 20px; }
	
	.bm-service-photo img { max-width: 75%; }
	.bm-service .fl-icon { display: none; }
	.bm-service .fl-callout-title { font-size: 22px; }
}

@media screen and (max-width: 480px)
{
	header .fl-module[data-node] .fl-module-content { margin: 2px 2px 20px 2px; }
	header .fl-module-heading .fl-module-content h1.fl-heading { font-size: 26px; }

	.fl-menu .fl-menu-mobile-toggle.hamburger .svg-container { width: 1.2em; height: 1.2em; }
	
	.fl-row.page-title .fl-row-content h2 { font-size: 22px; }
	.fl-row.page-title .fl-row-content .fl-icon-text { padding-left: 8px; }
	.fl-row.page-title .fl-row-content .fl-icon-text-link { font-size: 16px; }
	.fl-row.page-title .fl-row-content .fl-icon i, .fl-row.page-title .fl-row-content .fl-icon i:before { font-size: 16px; }
}
