/*!
Theme Name: BAFM Investment
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.8.2
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/





#top-menu li li a {
    padding: 4px 20px;
    width: 100%;
    min-width: 100%;
    white-space: nowrap;
    border-bottom: 1px solid gainsboro;
    font-size: 14px;
}

.nav li ul {
    width: auto;
}

#top-menu .sub-menu li.menu-item {
    display: block;
}

#top-menu li li {
    padding: 0 0px;
}

#top-menu .sub-menu li.menu-item:nth-child(2n) {
    background: #fafafa;
}

#top-menu .sub-menu {
background: #f6f6f6 !important;
}

#top-menu .sub-menu {
    background: #f6f6f6 !important;
    padding: 0;
}

#main-header .container {
    background: white;
    padding: 0 15px 0 0;
}

#main-header.et-fixed-header#main-header {
    -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 70%) !important;
    box-shadow: 0 0 7px rgb(0 0 0 / 70%) !important;
}

.nav li.et-reverse-direction-nav li ul {
    left: auto;
    right: 100%;
}






.related.singleproduct {
    display: none;
}





/*General Layout*/

.et_pb_row {
	max-width: 100% !important;
}

.et_pb_section.articlesection:nth-child(2n+1) {
    background-color: #f2f2f2;
}

.et_pb_blurb_content {
    width: 100%;
    max-width: 100%;
}






#top-menu .sub-menu .menu-item-has-children>a:first-child:after {
    content: "5";
}





.singlecompany.blue h2 {
    color: #c08f05;
}

.singlecompany.blue h3 {
    color: #c08f05;
}



ul.sub-menu .sub-menu {
    top: -3px;
}





.multipleproducts .et_pb_column_1_3, .multipleproducts .et_pb_column_1_2, .multipleproducts .et_pb_column_1_4, .multipleproducts .et_pb_column_1_5 {
    background: #f2f2f2;
    box-shadow: 0px 1px 10px -5px black;
}

.multipleproducts .et_pb_column_1_3 .et_pb_text_inner, .multipleproducts .et_pb_column_1_2 .et_pb_text_inner, .multipleproducts .et_pb_column_1_4 .et_pb_text_inner, .multipleproducts .et_pb_column_1_5 .et_pb_text_inner {
    padding: 0 15px;
}

.multipleproducts .et_pb_column_1_3 h4, .multipleproducts .et_pb_column_1_2 h4, .multipleproducts .et_pb_column_1_4 h4, .multipleproducts .et_pb_column_1_5 h4 {
    font-weight: bold;
    width: 100%;
    text-align: center;
    font-size: 1em;
    padding-bottom: 12px;
}

.multipleproducts .et_pb_column_1_3 p, .multipleproducts .et_pb_column_1_2 p, .multipleproducts .et_pb_column_1_4 p, .multipleproducts .et_pb_column_1_5 p {
    width: 100%;
    text-align: center;
    font-size: 0.85em;
	color: rgba(0,0,0,0.7);
	line-height: 1.6em;
}




.et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2, h2 {
    font-size: 20px;
}




.hiddencolumn {
    display: none;
}






.singlecompany.green h2 {
    color: #7ad503;
    font-weight: bold;
}
.singlecompany.green h3 {
    color: #458ee4;
}

.singlecompany.skyblue h2 {
    color: #1c74ba;
}

.singlecompany.skyblue h3 {
    color: #0f2639;
}



.et_pb_button:after, .et_pb_button:before {
    top: 7px;
    font-size: 1.2em;
    font-weight: bold;
}




.lighttext p, .lighttext {
    color: white;
    text-shadow: 1px 1px 1px black;
}









/*Mobile Menu Collapse / Expand */
#main-header .et_mobile_menu .menu-item-has-children > a 
{   background-color: transparent; 
    position: relative; 
}

#main-header .et_mobile_menu .menu-item-has-children > a:after 
{ 
    font-family: 'ETmodules'; 
    text-align: center; 
    speak: none; 
    font-weight: normal; 
    font-variant: normal; 
    text-transform: none; 
    -webkit-font-smoothing: antialiased; 
    position: absolute;
}

#main-header .et_mobile_menu .menu-item-has-children > a:after {
    font-size: 16px;
    content: '\4c';
    top: 5px;
    right: -5px;
    font-weight: bold;
}

#main-header .et_mobile_menu .menu-item-has-children.visible > a:after 
{ 
    content: '\4d'; 
}

#main-header .et_mobile_menu ul.sub-menu 
{  
    display: none !important; 
    visibility: hidden !important;  
    transition: all 1s ease-in-out;
}

#main-header .et_mobile_menu .visible > ul.sub-menu 
{ 
    display: block !important;
    visibility: visible !important;
}

#main-header .et_mobile_menu .menu-item-has-children > a {
    padding-right: 20px;
    font-weight: 600;
}








.et_pb_gallery_image .et_overlay {
    background: hsl(0deg 0% 0% / 35%);
}

.et_pb_gallery_image .et_overlay:before {
    color: #ff4545;
}

.et_pb_gallery_grid .et_pb_gallery_item {
    animation-name: Grow;
}







/*Logo*/

#logo {
    max-height: 50px !important;
}

.et-fixed-header #logo {
    max-height: 40px;
}

















/*Home Welcome*/

.homewelcome {
    margin-top: -115px;
    position: relative;
    display: block;
    z-index: 10;
    background: #f7f7f7;
    padding-bottom: 0 !important;
}

.homewelcome .et_pb_text {
    background: white;
    padding: 30px;
    max-width: 70%;
    margin: -170px auto 0;
    display: block;
    border: 1px solid #efefef;
}










/*Home Below Welcome*/
.homebelowwelcome {
    background: #f7f7f7;
    padding-top: 0 !important;
    margin-top: -50px;
}

.homebelowwelcome .et_pb_column_1_4 {
    background: white;
    padding: 20px;
    border: none;
    margin-top: -60px;
}

.homebelowwelcome h3 {
    text-align: center;
    font-weight: 900;
    color: #707070;
    font-size: 1.4em;
}

.homebelowwelcome .et_pb_column_1_2 .et_pb_main_blurb_image, .homebelowwelcome .et_pb_main_blurb_image .et_pb_column_1_3 {
    margin-bottom: 0;
}

.homebelowwelcome .et_pb_blurb img {
	max-width: 100%;
}

.homewelcome h2 {
    font-weight: 900;
    font-size: 2em;
}

h4.et_pb_module_header {
    font-weight: bold;
    font-size: 1.2em;
}










.sub-menu .sub-menu {
    left: 100%;
}










.homebelowwelcome .et_pb_button_module_wrapper {
    width: 100%;
    text-align: center;
}

.homebelowwelcome .et_pb_button_module_wrapper .et_pb_button, .homeupdates .et_pb_button_module_wrapper .et_pb_button {
    width: 100%;
    text-align: center;
    border: 2px solid black;
    color: red;
    font-weight: 900;
    font-size: 0.9em;
    padding: 3px;
}








.et_pb_section.back-no-repeat {
    background-repeat: no-repeat !important;
}








/*Slider*/

.homeslider, .homeslider .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

 .homeslider .et_pb_row {
 	width: 100%;
 }

.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding:14% 0% 18% 6%;
    max-width: 900px;
    float: right;
}











/*Homeupdates*/
.homeupdates h2 {
    color: #494949;
}

.homeupdates article img {
    max-width: 250px !important;
    min-width: auto !important;
    margin: 0 auto 0;
    display: block;
}

.homeupdates a.more-link {
    text-transform: capitalize;
    color: white;
    background: red;
    padding: 0 15px;
    font-size: 0.9em;
    border-radius: 2px;
}



.footer-widget p {
    line-height: 24px;
}




/*Homehighlights*/
.homehighlights {
    background: #f7f7f7;
}

.homehighlights img {
    max-width: 115px;
}

.homehighlights .et_pb_column_1_4 {
    background: white;
    padding: 20px;
}

.homehighlights .et_pb_column_1_4 .et_pb_module {
    border-bottom: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    padding: 20px;
}







.pageheader {
/*     background: #c6aeae;
    padding: 20px 20px 0;
    border-right: 0px solid transparent; */
}

.pageheader {
    padding: 280px 0 0 !important;
    background-size: 100% auto !important;
}

.pageheader h1 {
    color: black;
    font-size: 1.6em;
    border-left: none;
    padding-left: 10px;
    background: transparent !important;
    display: inline-block;
    padding: 5px 5px 3px 5px;
    border-bottom: 3px solid #ee0303;
}

.pageheader {
    padding: 100px 0 0 !important;
    background: #cacaca;
}

.pageheader .et_pb_row_0 {
    padding-bottom: 5px;
}







/*Blogcategory*/
.blogcategory article img {
    max-width: 300px;
    float: left;
    margin-right: 20px;
}

.blogcategory article {
    padding: 20px;
    margin-bottom: 0;
}

.blogcategory article:nth-child(2n) {
    background: rgb(246,246,246);
}

.blogcategory a.entry-featured-image-url {
    margin-bottom: 2px;
}








.et_pb_toggle_open .et_pb_toggle_title:before, .et_pb_toggle_title:before {
    content: "\E04F";
    color: #ef0c0c;
}

.single .post {
    padding-bottom: 0;
    margin-bottom: 0;
}

.singleproduct .et_pb_column_1_2 .et_pb_image, .singleproduct .et_pb_column_1_3 .et_pb_image, .singleproduct .et_pb_column_1_4 .et_pb_image {
    margin-bottom: 0 !important;
}

.singleproduct .et_pb_column_1_2 .et_pb_text, .singleproduct .et_pb_column_1_3 .et_pb_text, .singleproduct .et_pb_column_1_4 .et_pb_text {
    padding: 15px 0;
    font-size: 1.1em;
    font-weight: bold;
}




#et-top-navigation .mobile_menu_bar {
    padding-bottom: 0;
}

.mobile_menu_bar:before {
    color: #00214c;
    border: 1px solid red;
}

.et_mobile_menu {
    padding: 15px;
    left: auto;
    right: 0;
    width: auto;
}

.et_mobile_menu li a {
    width: auto;
}

.et_mobile_menu li a {
    width: auto;
    display: block;
    min-width: 100% !important;
    white-space: nowrap;
    padding: 5px 10px;
}

.et_mobile_menu {
    border-top: 3px solid red;
}

.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
}











.et_pb_contact_field.et_pb_contact_field_half {
    margin: 4px 1% 1% 0;
    padding: 0;
    float: left;
    width: 49.5%;
    clear: none !important;
}

.et_pb_contact_field {
    margin: 4px 1% 1% 0;
    padding: 0;
    float: left;
    width: 100%;
    clear: none !important;
}

.et_pb_contact_field.et_pb_contact_field_half:nth-child(2n) {
    margin-right: 0 !important;
}

input.wpcf7-form-control.wpcf7-submit.et_pb_contact_submit {
    padding: 7px;
    margin-left: 0;
}

input.wpcf7-form-control.wpcf7-submit.et_pb_contact_submit {
    background: #ce0505;
    color: white;
    font-size: 0.9em;
    font-weight: bold;
    border-bottom: 4px solid black;
}

.et_pb_contact_submit:hover {
    cursor: pointer;
    background: #a40404 !important;
    transition: 0.3s;
}

.et_pb_contact p textarea,
.et_pb_contact p input,
.et_pb_subscribe .et_pb_contact_field input,
.et_pb_subscribe .et_pb_contact_field textarea {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  background-color: #EEE;
  width: 100%;
  border-width: 1px;
  border-radius: 0;
  color: #999;
  font-size: 14px;
  padding: 8px 12px;
}

.et_pb_contact_field input, .et_pb_contact_field textarea {
    border-bottom: 1px solid red !important;
}



.homebelowwelcome .et_pb_column_1_2, .homebelowwelcome .et_pb_column_1_3 {
    background: white;
    padding: 10px 20px 25px;
	-webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
	box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
	position: relative;
}

.homebelowwelcome .et_pb_column_1_2 .et_pb_button_module_wrapper, .homebelowwelcome .et_pb_column_1_3 .et_pb_button_module_wrapper {
    position: absolute;
    width: 90%;
    margin: 0 auto;
    bottom: 5px;
}








#footer-widgets {
    padding: 30px 0 0;
}

.footer-widget .fwidget.et_pb_widget {
    margin-bottom: 0 !important;
}

.footer-widget {
    margin-bottom: 20px !important;
}

#main-footer .et-social-icon a {
    font-size: 16px;
}

.et-social-icon.et-social-linkedin, .et-social-icon.et-social-twitter {
    padding: 2px 25px;
    margin: 2px 10px 2px 0;
    border-radius: 2px;
    opacity: 0.7;
    transition: 0.2s;
    display: inline-block;
}

.et-social-icon.et-social-linkedin a, .et-social-icon.et-social-twitter a {
    color: white;
}

.et-social-icon.et-social-linkedin {
    background: #0a66c2;
  
}

.et-social-icon.et-social-twitter {
    background: #1da1f2;
}

.et-social-icon.et-social-linkedin:hover, .et-social-icon.et-social-twitter:hover {
    opacity: 1;
}

.articlesection .et-social-icon.et-social-linkedin a, .articlesection .et-social-icon.et-social-twitter a {
    font-size: 16px;
}









@media (max-width: 1200px)
{
    .homewelcome .et_pb_text {
        max-width: 100%;
    }
}




@media (max-width: 980px)
{
    .et_pb_row {
        max-width: 90% !important;
        width: 90% !important;
    }

    .homeslider .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
    }

    .homewelcome .et_pb_text {
        margin: -100px auto 0;
    }

    .homewelcome h2 {
        font-size: 1.5em;
    }

    #et-top-navigation .mobile_menu_bar {
       padding-bottom: 0;
    }
	
	.et_fixed_nav #main-header {
    position: fixed;
}
	#main-header {
		background: white !important;
	}
	
	#main-header .container {
		width: 98%;
		background: white !important;
	}
	
	#logo {
    max-height: 35px !important;
}
	
	.mobile_menu_bar:before {
    font-size: 28px;
    top: 12px;
}

	
	.et_header_style_left #et-top-navigation {
		padding-top: 0;
	}
	
	.et_pb_section, .et_pb_row {
    padding: 10px 0;
}

.pageheader {
    padding: 50px 0 0 !important;
}
	
	#main-header {
    box-shadow: 0 7px 6px rgb(0 0 0 / 30%) !important;
	}
	
	.pageheader h1 {
    font-size: 20px;
	}
	
	
}




@media (max-width: 767px)
{
    .et_pb_row {
        max-width: 92% !important;
        width: 92% !important;
    }

     .homewelcome .et_pb_text {
        margin: -50px auto 0;
    }

    .container {
        width: 96%;
    }
	
	.homecarousel {
    margin-top: 30px;
}
	
	.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title {
    font-size: 24px !important;
    line-height: 30px !important;
}
	
	.et_pb_slide_content p {
		font-size: 14px;
		line-height: 22px;
	}
	
	div#et-main-area {
    padding-top: 40px;
}

	.et_pb_text_inner img.alignleft {
    clear: both;
    display: block;
    position: relative;
    float: none;
    margin: 0 auto;
}
	
	.et_pb_section, .et_pb_row {
    padding: 10px 0 !important;
}


}





@media (max-width: 600px)
{
    .et_pb_row {
        max-width: 94% !important;
        width: 94% !important;
    }
	
	#footer-widgets .footer-widget .fwidget {
    margin-bottom: 0 !important;
}
	
	#footer-widgets .footer-widget:nth-child(n) {
    margin-bottom: 25px !important;
}
	
	.et-pb-arrow-next, .et-pb-arrow-prev {
    font-size: 30px;
	}
	
	.et_mobile_device .et-pb-arrow-prev {
    left: -10px;
	}
	
	.et_mobile_device .et-pb-arrow-next {
    right: -10px;
}
	
	.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding: 14% 0% 18% 0%;
}
	
	.et_pb_section, .et_pb_row {
    padding: 10px 0 !important;
}
	
}







@media (max-width: 479px)
{
    .et_pb_row {
        max-width: 98% !important;
        width: 98% !important;
    }
	
	.et_pb_contact_field.et_pb_contact_field_half {
    width: 100%;
}
	
	
}


