/*
 Theme Name:   ALF Silicon Valley
 Theme URI:    
 Description:  Divi Child Theme
 Author:       James Alborough
 Author URI:   http://bearstar.net
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  alfsv
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/** THIS GOES IN CUSTOMIZER TO ENABLE EXPANDABLE MOBILE MENUS

#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: 13px; right: 10px; }
#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 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }
 THIS GOES IN CUSTOMIZER **/

.et_pb_section, .et_pb_section *{
animation:none !important;
}

#et-main-area {
margin-top: 1px;
}

#top-menu li li {
    margin: 0;
    padding: 0;
	line-height:1.3;

}

.nav li ul {
    padding: 10px 0;
    }

#top-menu li li a {
    width: 240px;
    padding: 6px 10px;
    font-size: 13px;
}

.menu-item-11125 a, .menu-item-8533 a {
	background:#f1ca31;
	color:#000 !important;
	padding:15px 30px !important;
	}
body .et-fixed-header #top-menu .menu-item-8236  a {
	color:#000 !important;
	}


#et_search_icon::before {
    top: 10px;
}

/* GENERAL */

.container:before { background-color:transparent !important; }
.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }


/* make column heights equal, add class to rows */
.align-center .et_pb_column { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}


.entry-content {
    padding-bottom: 50px;
}
.et_pb_pagebuilder_layout .entry-content {
    padding-bottom: 0px;
}

p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}

#sidebar1 {
    width: 20%;
    float: left;
}

/* BLOG */
.single-post #left-area {
    padding-right: 7.5% !important;

}
.blogblurb a {
	font-weight:bold;
	font-size:16px;
	}
.blogblurb {
	font-size:12px;
	line-height:1.3;
	}
.social {
    margin: 15px 0 30px;
}

#left-area .post-meta {
    font-size: 16px;
    padding: 15px 0 0;
}

img.author {
    float: left;
    margin-right: 20px;
}

.byline {

    margin-bottom: 15px;

}

/* HOME */

#homeblog .dp-dfg-item {
    background: #f8f8f8 !important;
}
#homeblog .dp-dfg-header {
	padding:1em !important;
}

#homeblog .dp-dfg-meta{
	padding:0 1em !important;
}


body #page-container .et_pb_section #homeblog.dpdfg_filtergrid_0 .et_pb_button.dp-dfg-more-button {
    padding: 0.3em .7em !important;
}


/* STAFF */
div.staff-member {
    padding: 2em 0;
    border-bottom: thin dotted #aaa;
    clear: both;
    display: inline-block !important;
}
.staff-member-photo {
    float: left;
    width: 150px;
    margin-right: 20px;
}

/* LEGACY */

.vc_col-sm-3 {
    width: 25%;
    float:left;
}

.vc_column_container > .vc_column-inner {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}
.mkd-team.main-info-below-image.mkd-team-boxed {
    background-color: #fff;
    padding: 34px 5px 26px;
    -webkit-box-shadow: 1px 1px 3px #eee;
    -moz-box-shadow: 1px 1px 3px #eee;
    box-shadow: 1px 1px 3px #eee;
}
.mkd-team.main-info-below-image .mkd-team-image {
    overflow: visible;
    text-align: center;
    margin-bottom: 15px;
}
.mkd-team.main-info-below-image .mkd-team-image img {
    width: 116px;
    vertical-align: middle;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.accordion-content {
    display: block !important;
}




/* TEAM and FELLOWS */

.et_pb_team_member img {
	max-width:200px !important;
	margin:auto;
	border-radius:100%;
}

/* FOOTER */

.et_pb_pagebuilder_layout #main-footer {
    margin-top: 0px;
    
} 
.footer-widget .fwidget {
    width:100%;
}

#footer-widgets .footer-widget li::before {
    display: none;
}

#footer-widgets .footer-widget li {
    padding-left: 0px;
    }
#menu-alf-sv-footer-menu {
    display:flex;
    justify-content:space-between;
    list-style-type:none;
}

#footer-bottom .container {
	display: flex;
	justify-content: space-between;
	width: 100%;
	flex-basis:50%;
	}

#footer-bottom  .et-social-icons {
    display: flex;
    justify-items: flex-start;
    float: left;
    width: 100%;
}
#footer-bottom .et-social-icons li:first-of-type {
    margin-left: 0;
}

#footer-bottom  #footer-info {
    text-align: right;
    float: right;
    width: 100%;
}

.dp-dfg-header h2.entry-title {
    line-height: 1.5;
}
.dp-dfg-custom-field p {
	line-height:1 !important;
}
.dp-dfg-custom-field {
height: auto;
padding: 0 1em !important;
}
/*.dp-dfg-layout-grid .dp-dfg-item { 
	grid-auto-rows: auto auto 1fr auto !important; 
} */


/* MEDIA QUERIES */

@media screen and (max-width:1165px) {
	.et_header_style_left #logo {
	max-height: 60%;
	}
	#top-menu li {
    padding-right: 15px;
	}
	#top-menu li a {
    font-size: 14px !important;
    padding-right: 15px;
	}
	.menu-item-8236 a {
    padding: 15px 15px !important;
	}

}


@media screen and (max-width:980px) {
	.et_header_style_left #logo {
	max-width:70%;
	max-height: 80%;
	}
	#sidebar1 {
    width: 100%;

	}
	#menu-alf-sv-footer-menu,#footer-bottom .container {
    display: grid;
    width: 80%;
    }
    .menu-item-8533 {
    margin-top: 20px;
    }

}