/*
Theme Name:     Neve KEK
Theme URI:      https://themeisle.com/themes/neve/
Author:         ThemeIsle & Kate Krolicki
Template: 	neve
Description:    Minor extension to Neve, to allow for customizations that couldn't be done through the UI
Version:	1.0
*/

/*-- HEADER --*/

/* make menu sticky*/
header.header { position: fixed; z-index: 999; width:100%; }

.neve-main { margin-top: 69px; }

/* fix menu colors on mobile */
header nav.hide-on-desktop .navbar-toggle {
		color:#555;
	}
header nav.hide-on-desktop
	span.icon-bar { 
		background-color: white;
	}
#nv-primary-navigation-sidebar li:not(.current-menu-item) a { 
	color:black; 
}

/* menu highlight color */
.site-header li.current-page-ancestor a { color: #38c695; }

.builder-item--primary-menu .nav-menu-primary > .nav-ul li.current-page-ancestor > a { color: #38c695; }

.nv-search-icon-component { margin-left: 20px; }

/*-- BLOG HEADER --*/
.kek-blog-header {
	position:relative;
	max-width: 1170px;
	margin:0 auto;

}

.kek-blog-tagline {
	position:absolute;
	bottom: 15px;
	right: 35px;
	font-size: 35px;
	color: white;
	filter: drop-shadow(1px 1px 1px #333);
	padding-left:20px;
}
.kek-blog-tagline i { font-size: 30px; }
@media (max-width: 600px){
	.kek-blog-tagline {   
		font-size: 22px;
	}
	.kek-blog-tagline i { font-size:20px; }
}

/*-- SOCIAL SHARE --*/
/* change color of share via email icon */
.obfx-sharing-inline a.btn-mail, .obfx-sharing a.mail {
    background-color: #dd4b39;
}

/*---- FOOTER ----*/

/* top footer background color */
.footer-top-inner { 
	  background: #ccc; 
}

/* footer social icons */
.kek-footer-social {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  padding-top:.5em;
	  padding-bottom: 1em;
}
.kek-footer-social .group-1, 
.kek-footer-social .group-2 {
	  display: flex;
    justify-content: flex-start;
	  align-items: center;
}
.kek-footer-social .text {
		font-weight:bold;
	  padding-right:8px;
	  padding-top:8px;
}

.kek-footer-social .group-1 li.wp-social-link {
	  margin-right:1.5em;
}
@media (max-width: 600px){
	.kek-footer-social .text {      display:none;
	}
}


/*-- HOMEPAGE --*/
body.home .wp-block-themeisle-blocks-posts-grid .wp-block-themeisle-blocks-posts-grid-post-blog { margin-bottom:0 }
body.home .wp-block-themeisle-blocks-posts-grid.is-list .wp-block-themeisle-blocks-posts-grid-post .wp-block-themeisle-blocks-posts-grid-post-body { padding-top: 0;}

/* home - projects */
@media screen and (min-width: 601px) {
  .kek-project-boxes .wp-block-themeisle-blocks-button-group {
	   position:absolute;
	   bottom: 40px;
	   left: 50%;
     transform: translate(-50%, 0);
  }
}

/* home - podcast */
@media screen and (min-width: 450px) {
div.episode-list__wrapper {
    max-height:500px !important;
	}
}

.ppjs__img-wrapper, .ppjs__img-btn {
  width:150px !important;
	height:150px !important
}
.ppjs__img-wrapper {
float: left;
margin-right:20px;
}
.ppjs__episode-title { margin-bottom: 10px; }


/*---- CV ----*/
.cv h2 {
	text-align:center;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	background-color: #ddd;
	padding: .3em 0;
	margin-top:1.2em;
	margin-bottom:1.2em;
}
.cv .indented { 
	padding-left:2em; 
	margin-bottom:2em;
}
ul.indented { 
	margin-left: 2em; 
	padding-left:0; 
}
.cv table { width: 100%; }
.cv table tr:hover { 
	background-color:AliceBlue; 
}
.cv table.item-date {}
.cv table.item-date td:first-child { width: 80%; }
.cv table.item-date td:last-child { 
	width: 20%; 
	text-align: right;
}
.cv table.teaching td:first-child {
	width:10%;
}
.cv table.teaching td:nth-child(2) {
	width:15%;
}
.cv table.teaching td:nth-child(3) {
	width:40%;
}
.cv table.teaching td:nth-child(4) {
	width:25%;
}
.cv table.teaching td:nth-child(5) {
	width:15%;
}

/*-- MISC ELEMENTS --*/

/* buttons */
.kek-btn a {
	padding: 12px 24px;
	font-size: 15px;
	font-weight:500;
}

/* sidebar widgets */
.widget_recent_entries li,
.custom-html-widget li
{ 
	border-bottom: 1px solid #ddd; 
  padding-top: 4px;
	padding-bottom: 12px;
}

/* blockquote */
blockquote p {
	margin-bottom:20px;
}

/* posts widget */
.wp-block-themeisle-blocks-posts-grid-post-meta {
font-style:italic;
	color: #999;
}


