/*---------------------------------------------------------------------------------

 Theme Name:   Divi Child Theme
 Author:       R. Frantzen
 Author URI:   http://renefrantzen.com
 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

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/***********Digimember***************/
.dm_account .dm_data_export_button, .dm_account .button-primary {
    border: 1px solid #FF9E9E  !important;
}

.dm_account .button-primary, .dm_account .dm_data_export_button, .dm_account .dm_account_delete_button {
    width: 100%;
    color: #FF9E9E  !important;
}


/**********active link mobile menu*********/
.et_mobile_menu li.current-menu-item, 
li.current-menu-item {
    color: #FF9E9E ;
}
.et_mobile_menu li.current-menu-item.current-menu-parent > a, 
li.current-menu-item.current-menu-parent > a {
	border-bottom: 1px solid #FF9E9E ;
	padding-bottom: 10px!important;
	margin-bottom: 25px!important;
}

ul.sub-menu li.current-menu-item > a {
	border-bottom: 1px solid #FF9E9E ;
	padding-bottom: 10px!important;
	margin-bottom: 7px!important;
}

/*********hyperlink hover color*******/
/***a:hover {
  color: #a0567b;
  font-weight: 500 !important;
}****/


/**********footer link color**********/
#footer-info a {
    color: #FF9E9E  !important;
    font-weight: 500;
}

#footer-info a:hover {
    color: #a0567b;
    font-weight: 700;
}

.et_pb_text ol, .et_pb_text ul {
    padding-bottom: 50px
 } 

/*begin stylings of module page*/
.module-row h1, .module-row .et_pb_fullwidth_header_subhead {
    color: #cad6c4;
}

.module-row:hover h1, .module-row:hover .et_pb_fullwidth_header_subhead {
    color: #000;
}

.et_mobile_nav_menu:before {
    	content: "Kursmenu";
		position: absolute;
		margin-left: -99px;
	}

header#main-header,
.container.et_menu_container {
    display: none!important;
}

/*BEGIN OF MEDIA QUERIES*/

@media screen and (min-width: 981px) {
/*begin stylings of navigation*/
body.kurs-page .et_pb_section_2 {
	width: 20%;
	float: left; 
	z-index: 99;
	/*border-right: 1px solid #f7f7f7;*/
	border-top: 1px solid #f7f7f7;
	height: 100%;
	min-height: 1000px;
} 

	body.kurs-page .et_pb_section:not(.et_pb_section_1):not(.et_pb_section_2) {
		width: 80%;
		/*margin-left: auto; */
		float: right; 
		border-left: 1px solid #f7f7f7;
}
	
	/*.kurs-navigation-footer {
		width: 100%!important;
		float: none; 
	}*/

body.kurs-page #main-content {
	display: flex; 
	flex-direction: column;
	overflow: hidden; 
} 
body.kurs-page nav > ul {
	max-width: 200px;
}

body.kurs-page .et_pb_menu__menu>nav>ul>li>a {
	white-space: normal;
    width: 200px;
}

body.kurs-page .et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li>ul, body.kurs-page .et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    top: 0;
    left: calc(100% + 1px);
}

	nav > ul > li:nth-child(n+8) > ul {
		height: 250px;
		overflow-y: scroll; 
		overflow-x: hidden; 
	}
}

@media screen and (max-width: 980px) {
	.header-content h2 {
		word-break: break-word;
		hyphens: auto; 
	}
}