/*
Theme Name: Trim Child
Theme URI: https://www.elegantthemes.com/preview/Trim/
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Trim child theme.
Template: Trim
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: Trim-child
*/
/* Elements/Resets */
a, #reply-title a {
    text-decoration: none;
    color: #afca0b;
}
body {
	font-size: 15px;
	text-wrap: pretty;
}
#breadcrumbs { display: none; }
.bold { font-weight: bold; }

/* Header */
#menu .nav a > span {
	color: #fff;
}
#top-area {
	padding: 0;
}
#logo {
	float: none;
	margin-top: 2px;
}
#menu {
	padding: 0;
}
#menu #main-menu {
	width: 960px;
	background: #ff7c23;
}
#menu #menu-main-nav {
	text-align: center;
	display: flex;
}
#menu .nav li {
    border-right: 1px dashed #dcdcdc;
    display: inline-block;
    flex: 1 1 auto;
}
#menu .nav li:last-child {
    border-right: 0px solid #afca0b;
}
#social-icons {
    display: none;
}
.et_image_description {
    display: none;
}
#featured .flex-direction-nav a {
  z-index: 9999;
}
#menu .nav a, ul#mobile_menu a {
    font-size: 14px;
}
#menu ul.nav ul, ul#mobile_menu {
	background: #afca0b;
}
#menu .nav ul a, ul#mobile_menu a {
    padding: 10px 15px 10px 15px;
}
span.menu_slide {
    background: #afca0b;
}
#featured { z-index: 0; }

/* Search form */
#search-form {
}
#searchform {
    padding: 0 0 0 25px;
    display: flex;
}
#searchform input[type=text] {
    margin: 0;
    padding: 5px 4px;
    font-size: 15px;
}
#searchsubmit {
    filter: brightness(0.5);
    padding: 10px;
} 
#top-area .sub-header .newsletter li.gfield .ginput_container input[type=email] {
    margin: 0;
	border: 1px solid #bbb;
}

/* Forms */
body .gform_wrapper form .top_label div.ginput_container {
    margin-top: 0px;
}
.gform_wrapper form .top_label .gfield_label, .gform_wrapper form legend.gfield_label {
    font-size: 15px;
    line-height: 20px;
}
.gform_wrapper form .field_sublabel_below .ginput_complex.ginput_container label {
    font-size: 14px;
}
body .gform_wrapper ul.gform_fields li.field_description_below div.ginput_container_radio {
    margin-top: 5px;
}
body .gform_wrapper li.gf_list_inline ul.gfield_radio li {
    margin: 0 8px 0 0;
}
body .gform_wrapper ul.gform_fields li.field_description_below div.ginput_container_checkbox {
    margin-top: 0px;
}
body.buylocal .gform_legacy_markup_wrapper ul li.market-place {
	margin-top: 55px;
	line-height: 1.3em;
}
body.buylocal .gform_legacy_markup_wrapper .field_description_below .gfield_description { padding-top: 0; line-height: 1.2em; }

/* Applications */
#gform_2 .sub_options {
    padding-left: 50px;
    background-color: #f6f6f6;
    margin: 0;
}
#main_content .market-place {
	margin-top: 20px;
}
#main_content .market-place .gfield_description {
	padding: 0 0 10px;
}
#main_content .market-place > legend {
	font-size: 18px;
	color: #333;
}

/* Header form */
.sub-header {
    display: flex;
    justify-content: space-between;
    margin-top: -10px;
    padding-bottom: 5px;
}
.sub-header .newsletter {
    margin-top: -20px;
}
.sub-header .newsletter .gform_wrapper {
    margin: 0;
}
.sub-header .newsletter .gform_wrapper form,
.sub-header .newsletter .gform_wrapper .gform_fields {
    display: flex;
}
.sub-header .newsletter .gform_wrapper .gform_fields > li {
    margin: 0 10px 0 0;
    padding: 0;
}
.sub-header .newsletter .gform_wrapper .gform_fields > li.gfield .ginput_complex {
    width: 100%;
}
.sub-header .newsletter .gform_wrapper .gform_fields > li.gfield div.ginput_complex > span {
    padding: 0;
    margin: 0;
}
.sub-header .newsletter .gform_wrapper .gform_fields > li.gfield .ginput_complex input[type=text],
.sub-header .newsletter .gform_wrapper .gform_fields > li.gfield .ginput_container input[type=text] {
    margin: 0;
}
.sub-header .newsletter .gform_wrapper .gform_footer {
    width: auto;
    padding: 0;
    line-height: 32px;
    margin: 0;
}

/* Home - Featured Boxes */
#featured-controllers {
    border-bottom: 1px solid #efefef;
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
#featured-controllers li {
	float: none;
    width: 100%;
    padding: 10px 2px;
    text-align: center;
    border-right: 1px dashed #dcdcdc;
    border-top: 1px solid #efefef;
    z-index: 1;
    position: relative;
}
#featured-controllers li:nth-child(3n) {
    border-right: none;
}
#featured-controllers .last {
    border-right: none;
}
.front-box {
	padding-bottom: 30px;
}
.front-box h2 {
	color: #2c5800;
}
.front-box p {
	font-size: 14px;
    color: #333;
    line-height: 19px;
	padding-bottom: 0;
}
.front-box .cta-button {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
}
.front-box .cta-button a {
    background: #fff;
    border-style: solid;
    border-width: 1px;
    border-color: #edeeec;
    border-radius: 5px;
    padding: 8px 4px;
    box-shadow: 0 0 4px #CCCCCC;
}
.front-box .cta-button-inner {
    background: #9fb75f;
    background-image: -ms-linear-gradient(top, #A0B75F 0%, #83A32F 100%);
    background-image: -moz-linear-gradient(top, #A0B75F 0%, #83A32F 100%);
    background-image: -o-linear-gradient(top, #A0B75F 0%, #83A32F 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #A0B75F), color-stop(1, #83A32F));
    background-image: -webkit-linear-gradient(top, #A0B75F 0%, #83A32F 100%);
    background-image: linear-gradient(to bottom, #A0B75F 0%, #83A32F 100%);
    color: #fff;
    border-radius: 5px;
    padding: 3px 8px;
    border-width: 0px;
    border-top-width: 1px;
    border-style: solid;
    border-color: #93ae50;
}
#announcement p { text-align: center; margin: 50px 0 17px; font-size: 30px; line-height: 1.3em; font-weight: bold; }

/* Footer */
#footer {
    border-top: 3px solid #a76080;
    padding: 0;
}
p#copyright {
    text-align: right;
    font-size: 12px;
    color: #fff;
    margin: 10px 0 0;
	text-shadow: none;
}
p#copyright a {
    color: #fff;
}

/* Vendor List */
.filter_container {
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.filter_container > span.active {
	color: #fff;
	background-color: #ff7c23;
}
.filter_container > span {
	cursor: pointer;
	font-weight: bold;
	padding: 0 30px;
	height: 40px;
	border: 1px solid #ff7c23;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#vendors {
	
}
#vendors .vendor-item { 
	display: grid;
	grid-template-columns: 330px 10px 40px 10px auto;
	gap: 10px;
	align-items: center;
}
#vendors .vendor-item h3 { 
	
}
#vendors .vendor-item a { 
	
}

/* Responsive */
@media only screen and (max-width: 960px) {
	#menu #main-menu { width: 748px; }
	#menu #menu-main-nav { flex-wrap: wrap; }
	#menu #menu-main-nav > li { min-width: 23%; }
	#featured-controllers li { width: 98%; }
}
@media only screen and (max-width: 767px) {
	#featured { min-height: 200px; }
	.et_slide_image .slide_wrap { padding-top: 30px; }
	#quote p { line-height: 27px; }
	#featured-controllers { grid-template-columns: 1fr 1fr; }
	.front-box { padding-bottom: 50px; }
	.sub-header { flex-wrap: wrap; gap: 10px; padding: 5px 10px; }
	.sub-header .newsletter { margin-top: 0px; }
	.sub-header .newsletter .gform_footer > input.gform_button { margin-right: 0; }
	
	#mobile_nav { width: calc(100% - 40px); color: #333; }
	ul#mobile_menu { left: 2.5%; width: 95%; }
}
@media only screen and (max-width: 479px) {
	#featured-controllers { grid-template-columns: 1fr; }
}