/*
 Theme Name:     Child
 Theme URI:      https://leuteteutebal.nl/
 Description:    Child Theme
 Author:         Joep de Bever
 Author URI:     -
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

#logo{
	padding: 0 10px;
    height: 150px !important;
    max-height: 150%;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    overflow: visible;
    position: absolute;
    top: 0px;
}

.container.et_menu_container{
	min-height: 60px;
	-webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
#main-header.et-fixed-header .container.et_menu_container{
	min-height: 50px !important;
}

/* Leuteteutebal */

p{
	font-weight: 400 !important;
}

.nav li:nth-child(1) a, .et-fixed-header #top-menu.nav li:nth-child(1) a, .et_mobile_menu li:nth-child(1) a{
	color: #41ad49 !important
}

.nav li:nth-child(2) a, .et-fixed-header #top-menu.nav li:nth-child(2) a, .et_mobile_menu li:nth-child(2) a{
	color: #015b75 !important;
}

.nav li:nth-child(3) a, .et-fixed-header #top-menu.nav li:nth-child(3) a, .et_mobile_menu li:nth-child(3) a {
	color: #ef3a5d !important;
}

.nav li:nth-child(4) a, .et-fixed-header #top-menu.nav li:nth-child(4) a, .et_mobile_menu li:nth-child(4) a {
	color: #bb1d2e !important;
}
.nav li:nth-child(5) a, .et-fixed-header #top-menu.nav li:nth-child(5) a, .et_mobile_menu li:nth-child(5) a {
	color: #1e95a2 !important;
}

/*add icon to Divi submenu items*/
.hicon:before {
    font-family: 'FontAwesome' !important;
    content: '\24';
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    margin-left: -5px;
    color: #3a3a3a;
    font-size: 16px;
    transition: all .3s ease;
	width: 16px !important;
	display: inline-block;
}
.hicon.icon-1:before {
    content: '\f133';
}
.hicon.icon-2:before {
    content: '\f017';
}
.hicon.icon-3:before {
    content: '\f3c5';
	font-weight: 600;
}
.hicon.icon-4:before {
    content: '\f51e';
	font-weight: 600;
}

.fotos-image:after{
	content: "";
	background: linear-gradient(180deg, rgba(254, 205, 43, 0) 20%, #fecd2b 100%);
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 16px;
}
.fotos-tekst{
	position: absolute;
	bottom: 0;
	padding: 15px;
}

.grid-item .et_pb_image_wrap{
	border-radius: 12px;
}

@media (min-width: 981px) {
	.footer-ltb .et_pb_column:nth-child(3){
		width: 25% !important;	
	}

	.footer-ltb .et_pb_column:nth-child(4){
			width: 16.75% !important;	
	}
}

/* New Menu */


/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 28px;
    right: 0px;
    cursor: pointer;
    text-align: center;
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(255,255,255, 0.2);
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '33';
    color: #fff;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
/* make the current page's mobile menu link be different */

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}

/****** Code Style: Slide-in Gradient ******/

@media only screen and (max-width: 980px){
#mobile_menu {
    display: block !important;
    min-height: 100vh;
    height: 100%;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 9998;
    border-top: none;
    padding-top: 60px !important;
}
.et_mobile_menu li:nth-child(1) {
    padding-top: 15px;
}
.et_mobile_menu li a {
    color: #1e1e1e !important;
    width: 100%;
    float: left;
    border: none !important;
    text-align: left;
    margin: 5px 10px;
    transition: .2s;
    text-transform: uppercase;
    font-size: 1.4em !important;
}	

.mobile_nav ul#mobile_menu .current_page_item > a {
	background-color: rgba(255, 255, 255, 0);
	border-radius: 30px;
	padding-left: 20px;
}

.mobile_nav.closed #mobile_menu {
	background: #fecd2b;
	-webkit-transform: translateX(100%);
	-moz-transform: translateX(100%);
	-ms-transform: translateX(100%);
	-o-transform: translateX(100%);
	transform: translateX(100%);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s 0s;
	-moz-transition: -moz-transform 0.4s 0s;
	transition: transform 0.4s 0s;
}

.mobile_nav.opened #mobile_menu {
	background: #fecd2b;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-overflow-scrolling: touch;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
	overflow: none;
}

.mobile_menu_bar:before {
    color: #3a3a3a !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: '4d';
    z-index:9999;
    color: #3a3a3a !important;
    width: 30px;
    height: 30px;
}
#page-container header#main-header {
    position: fixed;
    top: 0 !important;
}
 .et-fixed-header #et-top-navigation {
    padding-top: 15px!important;
	-webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
  }
 .et-fixed-header .mobile_menu_bar_toggle {
    padding-bottom: 15px!important;
  }
 .mobile_menu_bar_toggle {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
  }
.et-animated-content#page-container {
    transition: margin-top .4s ease-in-out;
    -webkit-transition: margin-top .4s ease-in-out;
    -moz-transition: margin-top .4s ease-in-out;
}

@media only screen and  (max-width: 980px) {
  .et_header_style_split .mobile_menu_bar, 
  .et_header_style_left .mobile_menu_bar {    
    z-index: 9999;
  }
}

@media only screen and (min-width: 481px)  {
  #mobile_menu {    
    width: 340px;    
    margin-left: calc(100% - 340px);
  }
}
@media only screen and (max-width: 480px)  {
  #mobile_menu {    
    width: 290px;    
    margin-left: calc(100% - 290px);
  }
}
}