/*
Theme Name: Encipher 
Description:  Child Theme for Encipher
Author: Encipher
Author URI: http://www.encipher.com
Template: tm-beans
Version: 1.1.06
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; font-weight: 400; }
.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 { font-size: 48px; font-weight: 700; line-height: 1.2; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 32px; font-weight: 700; line-height: 1.2; }
h4 { font-size: 28px; line-height: 1.2; }
h5 { font-size: 22px; line-height: 1.2; }

.gform_title { color: #0c5e2d; }

.green { color: #16a72e !important; }

em { color: #333; }

.form-on-black .gform_wrapper .gfield input { height: auto; }
.form-on-black .gform_wrapper .gfield input, .form-on-black .gfield textarea { background: rgba(0,0,0,0.5); border: 1px solid #666; color: #fff; padding: 10px !important; border-radius: 0; }

.woocommerce button, .gform_wrapper .gform_button, .wpas-btn-default { padding: 10px 30px; height: auto; cursor: pointer; border-radius: 0; text-transform: uppercase; font-weight: bold; background: #16a72e; border: 2px solid #16a72e; color: #000; }
.woocommerce button:hover, .gform_wrapper .gform_button:hover, .wpas-btn-default.active, .wpas-btn-default.focus, .wpas-btn-default:active, .wpas-btn-default:focus, .wpas-btn-default:hover { background: #fff; color: #000; }

.gform_wrapper div.validation_error, .gform_wrapper li.gfield_error div.ginput_complex.ginput_container label, .gform_wrapper li.gfield_error ul.gfield_checkbox, .gform_wrapper li.gfield_error ul.gfield_radio,
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper li.gfield_error textarea { color: #16a72e; border-color: #16a72e; }
.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning { border: 0 none; background: rgba(12,94,45,0.4); }
.gform_wrapper .field_description_below .gfield_description { padding-top: 5px; }

form select.wpas-form-control { padding: 4px; }
.wpas-ticket-buttons-top { display: none; }

.fl-content-slider .fl-slide-title { font-weight: 900; }
.fl-content-slider .fl-slide-text { font-size: 20px; }

.dt_media_library_docs .gallery-item { text-align: center; }
.dt_media_library_docs.gallery-columns-2 .gallery-item { width: 50%; }
.dt_media_library_docs.gallery-columns-3 .gallery-item { width: 33%; }
.dt_media_library_docs.gallery-columns-4 .gallery-item { width: 25%; }
.dt_media_library_docs.gallery-columns-5 .gallery-item { width: 20%; }

.dt-agents { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; }
.dt-agents .agent { margin: 1em; text-align: center; }
.dt-agents.cols4 .agent { width: calc(25% - 2em); }
.dt-agents.cols3 .agent { width: calc(33% - 2em); }
.dt-agents.cols2 .agent { width: calc(50% - 2em); }
.dt-agents .agent:hover { box-shadow: 0 0 8px 2px rgba(0,0,0,0.4); }
.dt-agents .agent { border: 2px solid #16a72e; background: #000; color: #fff; padding: 1em; }
.dt-agents .agent .business { color: #16a72e; line-height: 1.2; font-weight: bold; margin-bottom: 10px; }
.dt-agents .agent .location { color: #97e21d; padding-bottom: 0.5em; font-size: 20px; text-transform: uppercase; }
.dt-agents .agent .contact { font-weight: bold; }
.dt-agents .agent .phone { padding: 4px 0; }
.dt-agents .agent .phone a:hover { color: #97e21d; }
.dt-agents .agent .email { padding: 0.5em 0; }
.dt-agents .agent .email a { border: 2px solid #16a72e; background: #dedede; color: #16a72e; font-weight: bold; display: inline-block; padding: 0.5em 1em; }
.dt-agents .agent .email a:hover { background: #fff; text-decoration: none; }

#credit_buy_table { display: block; margin-left: -40px; }

.woocommerce-MyAccount-content  { width: 65% !important; }

.woocommerce-MyAccount-navigation li { border-style: solid; border-width: 0px 0px 2px 0px; border-color: #0c5e2d; list-style: none; }
.woocommerce-MyAccount-navigation li a { padding: 10px 0px 10px 5px; color: #0c5e2d; display: block; text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background-color: #0c5e2d; color: #FFFFFF; text-decoration: none; display: block; }

.agent_summary { text-align: center; background-color: #D7F1D6; border-style: solid; border-radius: 10px; border-color: #0c5e2d; border-width: 1px; line-height: 1.8; padding: 10px; }
#ag_sum { margin-left: auto; margin-right: auto; display: flex; flex-wrap: wrap; }
#ag_sum li { list-style-type: none; display: inline; margin-right: 20px; margin-left: 0px; }

select.dt-knowledgebase-chooser { height: auto; }

footer .menu .fl-has-submenu .sub-menu { display: none !important; }

@media screen and (max-width: 768px)
{
	h1 { font-size: 40px; }
	h2 { font-size: 32px; }
	h3 { font-size: 28px; }
	h4 { font-size: 22px; }
	h5 { font-size: 20px; }
	
	header .fl-col-group.fl-node-5f3f3e7d30ec5 { display: flex; }
	header .fl-node-5f3f3e7d30f49 { flex-basis: 100% !important; }
	header .fl-node-5f3f3f2073be2 { order: 1; }
	
	header .logo img { max-height: 90px; width: auto; }
	header .logo .fl-module-content, header .social .fl-module-content, header .phone .fl-module-content { margin-bottom: 0; margin-top: 0; }
	header .logo .fl-module-content { margin-top: 10px; }
	header .phone .fl-module-content .fl-rich-text { visibility: hidden; }
	header .phone .fl-module-content .fl-rich-text p { margin-bottom: 0; }
	header .phone .fl-module-content .fl-rich-text a { visibility: visible; }
	header .social .fl-module-content .fl-icon i { font-size: 20px; line-height: 35px; width: 35px; height: 35px; }
	header .social .fl-module-content .fl-icon i:before { font-size: 20px; line-height: 35px; }
	
	header .menu .sub-menu li a { padding: 6px 30px; }
	
	.fl-row-content-wrap { padding: 20px; }
	
	.dt-agents.cols4 .agent, .dt-agents.cols3 .agent { width: calc(50% - 2em); }	
	
	.fl-node-5f436789675ba .fl-module-content { padding-left: 14px; }
}

@media screen and (max-width: 480px)
{
	.dt-agents.cols4 .agent, .dt-agents.cols3 .agent { width: calc(100% - 2em); }	
}