/*
 Theme Name:   EEP Child
 Description:  EPP Child Theme
 Author:       EPP
 Template:     epp
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         child
 Text Domain:  epp-child
*/



/* Teachings link on home page */
.menu-home-menu-dutch-container li.menu-item-object-wpfc_sermon a, 
.menu-home-menu-container li.menu-item-object-wpfc_sermon a,
.menu-home-menu-dutch-container  li.menu-item-type-custom a, 
.menu-home-menu-german-container li.menu-item-object-wpfc_sermon a,
.menu-home-menu-german-container li.menu-item-object-wpfc_sermon a,
.menu-home-menu-german-container li.menu-item-type-custom a{
	color: white !important;
}

.elementor-widget-wp-widget-nav_menu ul li a {
    margin: 1rem !important;
    padding: 0 !important;
}

.main-navigation .logo-link .sub-menu li a {
    font-weight: 600;
    margin: 2rem;
    margin-right: 1em !important;
    padding: 0 !important;
}

@media (max-width: 600px) {
    #menu-home-menu li.menu-item-type-custom.lang-item-nl, #menu-home-menu-dutch li.menu-item-type-custom.lang-item-nl {
    margin-left: auto !important;
    }
}


/* Sermons Archive adaptation */

.archive .site-content, .single .site-content, .search .site-content {
	margin: 0 auto;
    padding: 40px 30px 40px 30px;
    max-width: 1140px;
}

.page-title, h1 {
	color: #ee5f37;
    font-size: 27px;
    font-weight: 600;
    padding-top: 20px;
}

.entry-title a, .sermons-table * a {
	color: #7a7a7a;
	font-size: medium;
	margin-bottom: 0;

}

/* Archive teachings table */
.sermons-table {
    width: 100%;
    border-collapse: collapse;
}

.sermons-table tr:nth-child(odd) {
    background: #f2f2f2;
}

.sermons-table tr:nth-child(even) {
    background: white;
}

.sermons-table  th, td {
    padding: 0em 1em 0.7em 1em;
}

#wpfc_sermon_sorting, .wpfc_sermon, #wpfc_preacher, #nav-below {
	font-family: "Roboto", Sans-serif !important;
}

.entry-title {
	-webkit-margin-after: auto !important;
	margin-top: 0;
}

.entry-content a:visited, .entry-meta a:visited, .entry-title a:visited, .wpfc_sermon_meta a:visited, .bible_passage a:visited, 
.wpfc_sermon a:visited, #nav-below a:visited {
	color: #DB770F;
}

.elementor-widget-container .menu-home-menu-container a:visited {
	color: white;
}

.entry-content p {
	margin-bottom: 0px;
}

.wpfc_sermon a {
	color: #E94E1B;
}

p {
    -webkit-margin-before: 0em;
}

.type-wpfc_sermon {
    margin: 0.3em !important;
}

#wpfc-attachments {
    margin-bottom: 1em !important;
    height: 7em;
}

#nav-below {
    padding-bottom: 1em;
}

#slogan-teaching {
    top: auto;
    left: 0;
    background-color: #E94E1B;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    padding: 0.1em;
    position: relative;
    bottom: 0px;
    width: 100%;
}

#slogan-teaching h4 {
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 27px;
    margin: 1.2em;
    z-index: 2;
}

#slogan-teaching h4 a:visited {
    color: white !important;
}

.tag-cloud-link {
	color: white;
}

.wpfc_sermon_image {
    max-width: 100%;
    float: right !important;
}

#wpfc_sermon_image {
	margin-bottom: 1em;
	float: none !important;
}


#wpfc-attachments .sermon-attachments {
	text-decoration: none;
}

.plyr {
    z-index: 0;
}

/*
 * Poly lang flags on home page
 */
.lang-item {
	margin-left: -10px;
}

.home-menu .elementor-widget-container li.lang-item-first {
    margin-right: -10px !important;
}

.menu li.lang-item-nl a {
    margin-left: 0px !important;
}

/*#menu-home-menu li.menu-item-type-custom.lang-item-nl, 
#menu-home-menu-dutch li.menu-item-type-custom.lang-item-nl {
	margin-left: -1em !important;
}*/


#menu-home-menu li.lang-item-nl, #menu-home-menu li.lang-item-de, #home-menu-german li.lang-item-de {
    margin-left: -10px !important;
}

.sub-menu li.menu-item-type-custom.lang-item-de {
    margin-left: -30px;
}

.sub-menu li.menu-item-type-custom.lang-item-nl {
    margin-left: -10px !important;
}

.sub-menu li.menu-item-type-custom.lang-item-first {
	margin-right: 0rem !important;
}

/* Mobile menu - to make sure flags in sub menu are on same height */
@media (max-width: 1023px) {
    ul.sub-menu .lang-item.lang-item.first {
    clear: left;
    width: fit-content;
    }
ul.sub-menu .lang-item.lang-item-nl {
    width: 60px;
    margin-left: -4px;
    }
ul.sub-menu .lang-item.lang-item-de {
    width: 60px;
    margin-left: -30px;
    margin-right: 0em;
    }
.home-menu .elementor-widget-container li.lang-item-de {
    display: inline-flex !important;
    margin-left: -10px;
}

.sub-menu li.menu-item-type-custom.lang-item-first {
    margin-right: 0rem !important;
    width: 60px;
    }
.home-menu .elementor-widget-container  li.lang-item-first {
    display: inline-block;
    margin-right: 0em !important;
    }
.home-menu li.lang-item-nl, .home-menu.lang-item-de {
    display: inline-flex;
    margin-top: 0em !important;
    }
}

/* Responsive */
@media  screen and (max-device-width: 700px) {
    #slogan-teaching {
        position: relative !important;
        padding: 0;
        visibility: none;
    }
}
