/*
 Theme Name:     flat Child Theme
 Theme URI:      http://themify.me/themes/flat
 Description:    flat Child Theme
 Author:         Themify Themes
 Author URI:     http://themify.me/
 Template:       flat
 Version:        2.2.7
*/
 
@import url("../flat/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/** UPDATE Changes **/

.frm_section_heading {
    background: #f7f7f7;
    padding: 0 15px;
}

.frm_html_container h3 {
    margin: 0;
    text-align: center;
    font-size: 28px;
    padding: 15px 0;
}

#site-logo {
  padding: 0px;
  float: left;
}

#headerwrap.fixed-header #main-nav {
  padding: 0px;
}

#main-nav .child-arrow {
    display: none;
}

.sub-menu li {
    top: auto !important;
}

p.back-top {
    display: none;
}

/*****/

.accordion-title {
    color: #CC0000 !important;
    font-size: 25px !important;
    padding: 0;
}

.accordion-content {
    background: #e8e4e1 !important;
	box-shadow: none !important;
}

.module .ui.module-accordion .accordion-title a {
    padding: 5px;
}

ul.ui.module-accordion.plus-icon-button.tb_default_color.tf-init-accordion {
    background: #e8e4e1;
    border: 0;
}

.mobile_menu_active a#menu-icon {
    margin-right: 15px;
}

#menu-icon:before {
    position: relative;
    top: 12px;
}

.mobile_menu_active div#header-info {
    font-size: 12px;
}

* {
font-family: Arial !important;
}

li#menu-item-2512 {
    background: none !important;
}

#main-nav ul a:hover {
color: #CC0000;
}



li.list-left {
  float: left;
  width: 50%;
  color: #726658;
}

li.list-right {
  float: left;
  width: 50%;
  color: #726658;
}

#main-nav {
    margin: 0;
    text-align: right;
    padding: 0;
    width: 100%;
}

#main-nav li {
		position: relative;
		font-size: 15px;
		
	}
	
li#menu-item-2397 {
    left: 0 !important;
}

/* main level link */
#main-nav a {  color: #9d938a;  display: block;  padding: 10px 20px 7px;  font-family: 'Josefin Sans', sans-serif;  font-size: 1.0em;  text-decoration: none;  text-transform: uppercase;  letter-spacing: 1px;}
/* main level link :hover */
#main-nav a:hover {
	color: #CC0000;
}

/*
FIXED HEADER
================================================ */
.fixed-header #main-nav {
    padding: 26px 0;
    text-align: right !important;
    padding-right: 2%;
}
.fixed-header #ebd-logo {
height: 80px;
}

#headerwrap.fixed-header {
padding: 0;
}

p {
    color: #726658 !important;
    font-size: 16px;
}


#headerwrap {
  background: white;
  -webkit-box-shadow: 0 8px 6px -6px black;
  -moz-box-shadow: 0 8px 6px -6px black;
  box-shadow: 0 8px 6px -6px black;
  position: relative;
  z-index: 8;
}

div#header-info {
    background-color: #CC0000;
    color: white;
    text-align: right;
    padding-right: 3%;
}
#header {
    text-align: center;
    padding: 0;
    overflow: inherit;
    position: relative;
	width: 95%;
}

body:not(.mobile_menu_active) #headerwrap.fixed-header #site-logo {
    display: block !important;
}

#main-nav .current_page_item a:hover, #main-nav .current-menu-item a:hover {
    color: #CC0000;
}
#headerwrap img a{
	text-decoration: none;
}

span#add-l {
padding-right: 1%;
}

span#add-2 {
padding-left: 1%;
padding-right: 1%;
}

div#accordion-1-c2 a {
    color: #CC0000;
    text-decoration: none;
}

span#add-3 {
padding-left: 1%;
}

span#add-3 a {
	color: white;
	text-decoration: none;
}

#content {
padding: 4px 0 0%;

}
#headerwrap.fixed-header #header-info {
    padding-right: 3%;
}

ul#main-nav li {
    background-image: url(https://ebdtruss.com/wp-content/uploads/2015/07/Engineered-Building-Design-EBD-Truss-triangle.png);
    background-repeat: no-repeat;
    background-position: 0px 4px;
    top: 28px;
}

ul#main-nav li a {
position: relative;
top: -6px;
}

li#menu-item-53 a:hover {
color: #CC0000;
}

.fixed-header  #menu-item-53 a:hover {
color: #CC0000 !important;
}
#menu-item-53 {
background-image: none !important;

}
#menu-item-53 a{
top: 0px !important;
}


.left-info {
  width: 48%;
  margin: 0px;
  float: left;
  padding-right: 2%;
}
.right-info {
float: left;
display: inline-block;
width: 50%;
}

div#contact-icons {
  display: inline-block;
  text-align: center;
  padding-bottom: 3%;
  width: 100%;
}
div#contact-icons p {
margin-bottom: 3px;
font-size: 26px;
color: #585744;
}
.truss-products {
    width: 130px;
    height: 130px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 4%;
    font-size: 12px;
    text-align: center;
    margin-left: 1%;
}

div#truss-7 {
  background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-Glulams.jpg');
  background-repeat: no-repeat;
}

div#truss-8 {
background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-Steel-Beam.jpg');
background-repeat: no-repeat;
} 

#truss-3 {
	background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-Wall-Panel.jpg');
    background-repeat: no-repeat;
	}

#truss-1 {
	background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-roof-truss.jpg');
    background-repeat: no-repeat;
	}

#truss-4 {
	background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-i-joist.jpg');
    background-repeat: no-repeat;
	}

#truss-2 {
	background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-floor-truss.jpg');
    background-repeat: no-repeat;
	}

#truss-5 {
	background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-Beams.jpg');
    background-repeat: no-repeat;
	}

#truss-9 {
	background-image: url('https://ebdtruss.com/wp-content/uploads/2015/08/Engineered-Building-Design-Quality-Products-Crate.jpg');
    background-repeat: no-repeat;
	}

div#product-info-start {
color: #5D5D4A;
font-size: 18px;
}

div#product-info {
color: #5D5D4A;
font-size: 18px;
}

div.right-info p {
margin-bottom: 10px;
}
div#job-list ul {
list-style-type: square !important;
}

div.job-info-content {
    color: black;
    width: 100%;
    margin: 0 auto;
    padding: 1%;
    margin-top: 1%;
    background-color: white;
    margin-bottom: 1%;
}

.job-info-content p {
    margin-bottom: 0;
}
.module-slider img {
border-radius: 0px !important;
}
div#product-info {
display: none;
}
.truss-products a h4 {
cursor: pointer;
font-size: 18px;
}

aside#sidebar {
display: none;
}

#site-description {
	display: none;
	}
.row_inner_wrapper {
vertical-align: top !important;
}

.themify_builder_row.module_row.module_row_5.clearfix.gutter-default .row_inner {
	  width: 978px;
  margin: 0 auto;
  }



#footerwrap {
    background: #726658;
}
div#footer-contact a {
  color: white;
  text-decoration: none;
}

div#footer-contact {
  color: white;
  margin-top: -15px;
  text-align: center;
  font-size: 18px;
}
.footer-widgets.clearfix {
  display: none;
}
div#footer-copy p {
    margin-bottom: 0;
    text-align: center;
    padding-bottom: 1%;
    color: white !important;
}

div#footer-social-media {
  text-align: center;
}

div#footer-copy a {
color:white;
text-decoration: none;
}


div#footer-social-media img {
  border-radius: 0px;
 
}

div#footer-nav li {
  display: inline;
}
div#footer-nav a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
}
div#footer-nav {
  text-align: center;
}
#footer {
  clear: both;
  text-align: center;
  padding: 25px 0;
}
div#product-info-start h2 {
font-size: 35px;
}
.sidebar1.list-post .section-inner {
padding: 10% 5% 8%;
}
h2 {
font-size: 2.5em; }



/*.module-text {
padding-left: 10%;
padding-right: 10%;
}*/
div#product-info h2 {
font-size: 26px;
}
div#product-info-start h2 {
    font-size: 26px;
}
.left-info a {
text-decoration: none;
}
.right-info h2 {
font-size: 28px;
}

#main-nav .current_page_item a, #main-nav .current-menu-item a {
color: #CC0000;
background: none;
}

li#menu-item-2397 {
		background-image: none !important;
	}
	
	li#menu-item-2397  a:hover {
		color: #CC0000;
	}
	
div#text-2354-1-0-2 {
  font-size: 17px;
}

.huge_it_slideshow_dots_thumbnails_1 {
    top: auto !important;
    bottom: 0;
}

.huge_it_slideshow_dots_thumbnails_3 {
    top: auto !important;
    bottom: 0;
}

/***********************************************************************************
EMPLOYMENT FORM
***********************************************************************************/

p.no-float input[type=text] {
float: none;
}

div.wpcf7-response-output {
    clear: both;
}

input.wpcf7-form-control.wpcf7-submit {
    background: #CC0000;
    border-radius: 0;
    float: right;
    margin-top: -15px;
    height: 48px;
}

.employ-block {
    background: #E9E7E8;
    width: 42%;
    float: left;
    margin: 0 2% 2% 0px;
    padding: 2%;
}

.left-3 {
    display: inline-block;
    width: 31%;
    padding-left: 2%;
}

p#captcha input[type=text] {
    /* width: 51%; */
    margin-top: 2%;
    float: none;
}

.contact-block {
    padding: 1%;
    background: #E9E7E8;
    margin: 2% 0 2% 0;
    clear: both;
}

input[type=text], input[type=email], textarea {
    background: white;
}

span.wpcf7-list-item-label {
    color: black;
    font-size: 14px;
}

div#wpcf7-f2507-p2505-o1 h4 {
    text-align: center;
}

.left-3 span.employment-form {
display: block;
}

.left-3 input[type=text] {
float: none;
}

.left-3 p {
    margin-bottom: 0;
}

.left-3 .wpcf7-form-control.wpcf7-textarea {
    height: 55px;
    width: 240px;
}

span.employment-form {
    font-size: 14px;
    color: black;
}

/*----- Tabs -----*/
.tabs {
    width:100%;
    display:inline-block;
}
 
    /*----- Tab Links -----*/
    /* Clearfix */
    .tab-links:after {
        display:block;
        clear:both;
        content:'';
    }
 
    .tab-links li {
        margin:0px 0px;
        float:left;
        list-style:none;
    }
 
        .tab-links a {
            padding:9px 15px;
            display:inline-block;
            /*border-radius:3px 3px 0px 0px;*/
            background:#726658;
            font-size:15px;
            font-weight:600;
            color:white;
            transition:all linear 0.15s;
			text-decoration: none;
        }
 
        .tab-links a:hover {
            background:#CC0000;
            text-decoration:none;
        }
 
    li.active a, li.active a:hover {
        background:#CC0000;
        color:white;
    }
 
    /*----- Content of Tabs -----*/
    .tab-content {
		padding: 15px;
		/*border-top: 1px solid;*/
		background: #fff;
	}
 
        .tab {
            display:none;
			/*padding-top: 3%;*/
        }
 
        .tab.active {
            display:block;
        }
ul.tab-links {
    margin: 0;
	padding: 1.4%;
}

.next-tab, .prev-tab {
    background: #CC0000;
    padding: 1%;
    color: white;
    font-size: 18px;
}

div#wpcf7-f2394-p2395-o1 {
  padding: 1%;
  width: 970px;
  border: 1px solid rgb(206, 207, 209);
  text-align: left;
  background-color: white;
  margin: 0 auto;
  margin-top: 1%;
}
div#wpcf7-f2394-p2395-o1 p {
margin: 1px 1px 1px 3px;
margin-top: -1px;
margin-bottom: 4px;
min-height: 40px;
width: 425px;
font-size: 13px;
color: #616161;
border-bottom: 1px solid #616161;
}
input[type=text] {
	float: right;
}
div#references input[type=text] {
		height: 15px;
	}

select.wpcf7-form-control.wpcf7-select {
float: right;
width: 62%;
margin-top: 8px;
}
div.left {
float: left;
}
div.right-side {
float: left;
}

div#wpcf7-f2394-p2395-o1 h4 {
font-size: 14px;
}
div#wpcf7-f2394-p2395-o1 h2 {
text-align: center;
margin: 0;
text-decoration: underline;}

/*Application form */
div#app-form h2 {
padding-bottom: 3%;
}
div#app-form {
display: inline-block;
padding-bottom: 2%;
width: 100%;
}
div#app-form div {
float: left;
display: inline-block;
width: 48%;
}
div#app-form textarea {
height: 47px;
}
div#app-form input[type=text] {
width: 50%;
}
div#app-form p {
display: inline-block;
}


/*Education And Training */
div#Ed-training input[type=text] {
width: 40%;
}
div#Ed-training p {
width: 97%;
margin-right: 0;
}
div#Ed-training h3 {
    text-align: center;
    margin: 0;
    padding-top: 3%;
    padding-bottom: 3%;
}

div#wpcf7-f2394-p2395-o1 h3 {
    color: #726658;
    text-align: center;
    text-decoration: none;
}

div#Ed-training textarea {
width: 95%;
}
p.skill-text textarea {
height: 25px;
}

div#Ed-training div {
width: 50%;
display: inline-block;
padding: 0;
margin: 0;
float: left;
margin-top: -1%;
}
div#Ed-training {
border-top: 1px solid;
display: inline-block;
width: 100%;
}

div#Ed-training h2 {
padding-top: 2%;
padding-bottom: 1%;
}


/*Work Experience/Former Employees*/
div#W-experience {
display: inline-block;
border-top: 1px solid;
padding-top: 2%;
}
p#work-p {
border: none !important;
display: inline-block;
padding-bottom: 2%;
text-align: justify;
padding-left: 5%;
}

div#W-experience h4 {
margin-top: 1%;
}
div#W-experience div {
display: inline-block;
width: 33%;
padding: 0;
margin: 0;
float: left;
}
div.right-side h3 {
text-align: center;
}
div#W-experience .left {
text-align: center;
}
div#W-experience input[type=text] {
width: 46%;
}
div#W-experience textarea {
width: 93%;
}
div#W-experience p {
width: 90%;}

p#current-e {
border-bottom: none !important;
}.themify_builder_content-2354 > .module_row_1.module_row {  margin-top: -38px;}

p#if-so {
width: 78% !important;
float: right;
margin-top: -5% !important;
border-bottom: none !important;
}

div.far-right-side h3 {
text-align: center;
}

/*References*/
div#references p {
width: 95%;
}
div#references h3 {
margin: 0;
text-align: center;
}
div#references input[type=text] {
width: 50%;
}
div#references h2 {
margin-top: 5%;
border-top: 1px solid;
padding-top: 2%;
}
p#PNRTY {
border-bottom: none !important;
text-align: center;
}
div#references {
display: inline-block;
padding-bottom: 2%;
width: 100%;
}
div#references div {
width: 33%;
display: inline-block;
padding: 0;
margin: 0;
float: left;
}

/*Authorization*/
div#ARC {
display: inline-block;
padding-top: 2%;
padding-left: 2%;
padding-right: 2%;
border-top: 1px solid;
width: 90%;
}
div#ARC h2 {
padding-left: 5%;
padding-top: 2%;
}
p#i-certify {
display: inline;
border-bottom: none !important;
}
p#a-r-c {
border-bottom: none !important;
display: inline;
text-align: justify;
padding-left: 0%;
}
p#form-button {
border-bottom: none !important;
float: left;
}


div#wpcf7-f2394-p2395-o1 h2 {
font-size: 35px;
padding-bottom: 2%;
}

div#PR h2 {
border-top: 1px solid;
padding-top: 4%;
}
textarea {
line-height: 79%; }
div#PR p {
border-bottom: none;
}

h2.pro-h2 {
    position: absolute;
    z-index: 21;
    width: 100%;
}
.module-title {
	margin: 0px;
}

.truss-products h4 {
    cursor: pointer;
    margin-bottom: 0px;
    background: rgba(204, 0, 0, 0.66);
    color: white;
    width: 130px;
    height: 130px;
    position: relative;
    display: none;
}

div#text-2354-3-0-1 {
    padding-bottom: 7%;
}

.truss-products:hover .product-hover {
  display: block !important;
}

div#slider-2354-4-0-1 {  margin-bottom: -60px;}

.module-slider .carousel-nav-wrap {  

position: relative;  top: -173px;} 

.module-slider .carousel-nav-wrap .carousel-prev, .module-slider .carousel-nav-wrap .carousel-next {  width: 49%;  font: normal 98px/100% Georgia, "Times New Roman", Times, serif;  color: #CC0000;}

input.wpcf7-form-control.wpcf7-date.wpcf7-validates-as-date {
    float: right;
    width: 259px;
    height: 41px;
    border: none;
    border-radius: 5px;
	background: white;
}
.accordion-title {
    cursor: pointer;
    background: #f0f0f0;
    padding: 1%;
    width: 100%;
    text-align: center;
    border: 1px solid;
    border-radius: 3px;
    margin-bottom: 15px !important;
    color: #cc0000;
}

.module-accordion {
    background: #e8e4e1;
    border: 0 !important;
}

.accordion-content {
    color: #726658;
    clear: both;
    padding-top: 2%;
}

input[type=email] {
    float: right;
    width: 212px;
}
h3#accordion-1-t1 {
margin-bottom: 5px;
}

h2 {
    color: #726658 !important;
}


div#bsp-slider {
	margin-bottom:0px !important;
	  z-index: -9;
}

.fa-angle-left:before {
  content: "<" !important;
}

.fa-angle-right:before {
  content: ">" !important;
}

.themify_builder_row.module_row.module_row_4.clearfix.gutter-default.tb_section-careers.fullwidth.wow.animated {
  margin-top: -56px;
}

.accordion-title:hover {
    background: #CC0406;
    color: white;
}
div#ebd-adv {
  color: black;
  
  margin: 0 auto;
 
}

div#ebd-adv ul li {
    list-style-type: disc;
}

/*********************
Mobile
****************/

.mobile_menu_active div#mobile-menu {
    background: #726658;
    color: white;
    text-align: right;
}

.mobile_menu_active ul#main-nav li a {
  top: 0px;
}

.mobile_menu_active #main-nav ul {
  text-align: right;
}

.mobile_menu_active li#menu-item-2512 a {
    width: 100% !important;
}

.mobile_menu_active ul#main-nav li {
    background-image: none;
    border-bottom: 1px solid;
}

.mobile_menu_active li#menu-item-2390 a {
    border-bottom: 1px solid;
}

.mobile_menu_active ul.sub-menu a {
    border-bottom: none !important;
}

.mobile_menu_active #menu-icon {
    top: 55px;
    right: 25px;
}

#headerwrap.fixed-header #menu-icon {
  top: 40px
}


@media (max-width: 620px) {

  img#ebd-logo {
    height: 70px;
}

#headerwrap img {
    left: 10px;
    top: 68px;
}

#headerwrap.fixed-header {
    padding: 0;
}

.fixed-header #ebd-logo {
    height: 70px;
}

.left-info {
    width: 100% !important;
}

.right-info {
    width: 100% !important;
}

.themify_builder_row {
    padding: 15px !important;
}

div#footer-nav ul {
    margin-left: 0;
}

div#footer-nav li {
    width: 100%;
    display: inline-block;
    text-align: left;
    border-bottom: 1px solid;
}

div#footer-contact, #footer-copy {
    text-align: left !important;
    padding: 5px;
    font-size: 16px;
}

.employ-block {
    width: 100%;
}

.tab-links a {
    width: 100%;
    margin: 5px 0;
}

.tab-links li {
    width: 100%;
}

input[type=text] {
    float: none;
}

span.employment-form {
    display: block;
}

.left-3 {
    width: 100%;
}
}
