/*
Theme Name: Divi child theme
Template: Divi
*/

@import url("../Divi/style.css");

/* YOUR CSS EDITS GO BELOW THIS LINE AND AND CSS RULES YOU MAKE HERE WILL OVERIDE THE MASTER DIVI THEME CSS RULES */


/**************************ÆNDRINGER I GENERELT LAYOUT******************************/


/**************************Top slider******************************/

header#main-header {
    height: 200px;
    background: transparent;
    position: absolute;
    top: 30px;
    left: 0;
    box-shadow: none;
}

#topSlider .et_pb_slide {
    height: 80vh;
    min-height: 500px!important
}

div#topSliderContainer {
    position: absolute;
    bottom: 100px;
    left: 50%;
    width: 80%;
    transform: translateX(-50%);
    max-width: 1200px;
    text-align: left;
}

h1#topSliderTitel {
    margin-bottom: 30px;
    padding-bottom: 0;
}

#topSlider p#breadcrumbs {
    margin-bottom: 10px;
}

#topSlider p#breadcrumbs a {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

#topSlider p#breadcrumbs .breadcrumb_last {
    display: none;
}

div#topSliderKnap a.et_pb_button.et_pb_button_topSlider {
    border-color: #fff;
    color: #fff;
    font-weight: 900;
    transition: all ease .4s;
}

div#topSliderKnap a.et_pb_button.et_pb_button_topSlider:hover {
    color: #232323;
    background: #fff!important;
}

div#topSliderOverlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}


/******************************** Top menuer *******************************/

.et_header_style_left #et-top-navigation nav > ul > li > a {
    font-weight: 700;
}

div#top-header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
}

#top-header .container {
    width: 100%;
    margin: 0 auto;
}

#et-secondary-menu > ul > li a::after {
    content: '|';
    padding-left: 15px;
}

#et-secondary-menu > ul > li:last-child a::after {
    display: none;
}


/*********************************** Sidebar ***************************************/

#main-content .container {
    padding-top: 0!important;
}

.et_right_sidebar #sidebar {
    padding: 0!important;
}

.et_right_sidebar #main-content .container:before {
    display: none!important;
}

div#TopSidebar {
    background: #EAEAEA;
    padding: 40px;
    margin-bottom: 30px;
}

div#TopSidebar p#breadcrumbs {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

div#TopSidebar p#breadcrumbs .breadcrumb_last {
    font-weight: 900;
}

div#sidebar > .et_pb_widget {
    background: #f9f9f9;
    padding: 40px;
}

div#sidebar > .et_pb_widget h4.widgettitle {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

div#sidebar > .et_pb_widget a {
    color: #0E2B45!important;
}


/************************************** Indholdsområde ************************************/

div#left-area {
    padding-top: 80px;
}


/************************************ Footer **************************************/

.et_pb_footer_columns3 .footer-widget .fwidget {
    width: 100%;
}

.et_pb_footer_columns3 .footer-widget {
    text-align: center;
}


/**************************************************************************/

body.single-post #page-container #left-area {
    padding-top: 50px!important;
}

body #left-area {
    width: 100%!important;
    padding-right: 0!important;
    padding-bottom. 80px;
}

a.customlogo {
    display: block;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 999999;
}

a.customlogo img {
    height: 250px;
}

.et_vertical_nav #main-header .container {
    position: fixed!important;
    margin-left: 0!important;
}

.et_vertical_nav #main-header #top-menu>li>a {
    padding-left: 30px;
}

@media screen and (max-width: 980px) {
a.customlogo {
display: none;
}


.et_vertical_nav #main-header .container {
    width: 100%;
    background: #3E3A37;
    padding: 0 30px;
    top: 0;
}

ul#mobile_menu.et_mobile_menu {
    height: calc(100vh - 6  2px);
    overflow: scroll;
}

.mobile_menu_bar:before {
color: #fff!important;
}

.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {
    padding-bottom: 15px;
    padding-top: 15px;
}

.et_header_style_left #logo, .et_header_style_split #logo {
    max-height: 90%;
}

ul#mobile_menu.et_mobile_menu {
    background: #5a5049;
    border-color: #2d2927;
}

}

footer#main-footer img.lag-billede {
    position: relative;
    height: 50px;
    float: right;
}
footer#main-footer #footer-bottom .container {
    width: 95%;
    max-width: 95%;
    padding: 20px 0;
    margin-top: 30px;
}
a.lag-link {
    float: right;
    padding-top: 10px;
    font-size: 10px;
    color: #fff;
    margin-right: 20px;
}

.et_vertical_nav.et_vertical_right #main-header #top-menu li ul {
    background: #313131;
    border-right: none;
    width: auto;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.et_vertical_nav.et_vertical_right #main-header #top-menu li ul li {
    padding-left: 0;
    position: relative;
}

.et_vertical_nav.et_vertical_right #main-header #top-menu li ul li a {
    width: auto;
    white-space: nowrap;
    font-size: 16px;
}
.et_vertical_nav.et_vertical_right #main-header #top-menu li ul li ul {
    position: absolute;
    right: 100%;
}

#main-header .logo_container {
  margin-left: 20px;
}
