/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

/* General */
/* Font sizes */
body, .et_pb_column_1_2 .et_quote_content blockquote cite, .et_pb_column_1_2 .et_link_content a.et_link_main_url, .et_pb_column_1_3 .et_quote_content blockquote cite, .et_pb_column_3_8 .et_quote_content blockquote cite, .et_pb_column_1_4 .et_quote_content blockquote cite, .et_pb_blog_grid .et_quote_content blockquote cite, .et_pb_column_1_3 .et_link_content a.et_link_main_url, .et_pb_column_3_8 .et_link_content a.et_link_main_url, .et_pb_column_1_4 .et_link_content a.et_link_main_url, .et_pb_blog_grid .et_link_content a.et_link_main_url, body .et_pb_bg_layout_light .et_pb_post p, body .et_pb_bg_layout_dark .et_pb_post p {
    font-size: 1em !important;
}
#top-menu li a {
    font-size: 1.1em !important;
}
h1, h1.et_pb_contact_main_title, .et_pb_title_container h1 {
    font-size: 2.3em !important;
}
h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p {
    font-size: 2em !important;
}

/* General */
.et_pb_row, .container, #footer .bottom-row .et_pb_column {
    width: 95%;
    max-width: 1800px;
}
#footer .bottom-row .et_pb_column {
    width: 95% !important;
    margin: auto !important;
    float: none !important;
}
#main-content a.et_pb_button {
    padding: 10px 60px 10px 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
#main-content a.et_pb_button::after {
    color: white !important;
    content: '&' !important;
    right: 32px;
}

/* Header */
#et-top-navigation, nav#top-menu-nav, #top-menu, nav.et-menu-nav, .et-menu {
    float: none !important;
    padding-left: 0 !important;
    text-align: center;
}
#top-menu > li:last-child {
    position: absolute;
    right: 0;
    top: 60px;
    padding-right: 0 !important;
    transition: .3s ease-in-out;
}
#top-menu > li:last-child a {
    background: #008060 !important;
  padding: 16px 60px 16px 40px !important;
  border-radius: 4px;
}
#top-menu li a {
    opacity: 1 !important;
}
#top-menu li a::after {
    display: block;
    content: "";
    width: 0%;
    height: 1px;
    background: white;
    position: absolute;
    bottom: 70px;
    transition: .2s ease-in-out;
}
#top-menu li a:hover::after, #top-menu li.current-menu-item a::after {
    width: 100%;
}
#top-menu > li:last-child a::after {
    display: none !important;
}
#top-menu li {
    padding-right: 30px !importanT;
}
#top-menu > li:last-child a::before {
    display: block;
  content: '&';
  font-family: ETmodules !important;
  position: absolute;
  right: 35px;
  transition: .2s ease-in-out;
}
#top-menu > li:last-child a:hover {
    background: #00503C !important;
}
#top-menu > li:last-child a:hover::before, #main-content a.et_pb_button:hover::after {
    transform: rotate(45deg);
}
#top-menu li:nth-child(3) {
    padding-right: 0 !important;
}
#main-header.et-fixed-header #top-menu > li:last-child {
    top: 25px;
}
#main-header.et-fixed-header {
    background-color: rgba(0,0,0,.4) !important;
    backdrop-filter: blur(14px);
}
#main-header.et-fixed-header #top-menu li a::after {
    bottom: 35px;
}
/* Page */
#front {
    height: 100vh;
    display: grid;
  align-content: center;
  padding: 0 !important;
}
.pre-headline, .pre-headline * {
    text-transform: uppercase;
    font-size: .875em;
    font-weight: 600;
    letter-spacing: 1px;
    color: #008060 !important;
}
.pre-headline.et_pb_bg_layout_dark, .pre-headline.et_pb_bg_layout_dark * {
    color: white !important;
}
.et_pb_image img {
    border-radius: 6px;
}
.align-center {
    display: grid;
    align-content: center;
    padding: 0 7.5%;
}
#frm_form_1_container {
    background: rgba(0,128,96,.7);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
#frm_form_1_container input, #frm_form_1_container textarea {
    background: none !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    color: white !important;
    box-shadow: none !important;
    transition: .2s ease-in-out;
}
.with_frm_style .frm_form_fields > fieldset {
    padding-bottom: 0 !important;
}
.frm_style_formidable-styling.with_frm_style .form-field:last-child, #frm_field_6_container {
    margin-bottom: 0 !important;
}
#frm_form_1_container input:focus, #frm_form_1_container textarea:focus {
    border: 1px solid white !important;
}
#main-content .frm_checkbox label, .frm_dropzone .dz-preview.dz-image-preview .dz-details, .frm_dropzone .dz-preview.dz-image-preview .dz-details * {
    color: rgba(255,255,255,.5) !important;
}
#main-content .frm_multi_upload .dz-message {
    padding: 5px !important;
    background: none !important;
  border: 1px dashed rgba(255,255,255,.5);
}
#main-content .dz-message .frm_small_text {
    display: none !important;
}
#main-content .frm-svg-icon {
    display: none !important;
}
.frm_dropzone.dz-clickable .dz-message * {
    color: rgba(255,255,255,.5) !important;
}
#main-content .with_frm_style .frm_dropzone {
    background: none !important;
    margin-top: -5px !important;
}
#frm_form_1_container input::placeholder, #frm_form_1_container textarea::placeholder {
    color: rgba(255,255,255,.5) !important;
}
#main-content .frm_button_submit {
    background: white !important;
    margin: 0 !important;
    float: right !important;
    border: none !important;
    color: #008060 !important;
    cursor: pointer;
    font-weight: 600 !important;
    border-radius: 4px !important;
}
.with_frm_style .frm_submit.frm_flex {
    display: block;
    text-align: right;
}

/* Kontakt */
#kontakt .align-center {
    display: block !important;
}
.check-sign ul {
    padding: 0 !important;
    list-style-type: none !important;
}
.check-sign ul li::before {
    display: inline-block;
    content: "N";
    color: #008060 !important;
    font-family: ETmodules !important;
    margin-right: 15px;
    font-size: 20px;
  position: relative;
  top: 3px;
}
.et_pb_toggle {
    border: none !important;
  background: white !important;
  border-radius: 6px;
  margin-bottom: 20px !important;
  padding: 25px !important;
}
.et_pb_toggle.et_pb_toggle_open {
    background: #008060 !important;
}
#main-content .et_pb_toggle.et_pb_toggle_open, #main-content .et_pb_toggle.et_pb_toggle_open * {
    color: white !important;
}
.et_pb_toggle_content {
    padding-top: 10px;
  font-size: .95em;
  font-weight: 500;
}
#main-content h5.et_pb_toggle_title {
    color: #181818 !important;
    font-size: 1.1em !important;
}
.et_pb_toggle .et_pb_toggle_title::before { 
    content: "+";
    font-family: Manrope !important;
    opacity: 1 !important;
    color: #008060 !important;
}
/*
#main-content .et_pb_toggle h5.et_pb_toggle_title::after {
    display: inline-block;
    content: "";
    background: url('http://skovens-el.dk/wp-content/uploads/2025/12/nature_24dp_008060_FILL0_wght400_GRAD0_opsz24-1.svg');
    background-size: cover !important;
    width: 22px;
    height: 22px;
    position: absolute;
    left: -5px;
    top: -1px;
}
*/
#icon .et_pb_icon_wrap {
    padding: 15px !important;
}
#icon .et-pb-icon {
    font-size: 22px !important;
}

/* Footer */
.footer-row .et_pb_column {
    display: grid;
    align-content: space-between;
}
.footer-row .et_pb_column li a {
    color: white !important;
    transition: .2s ease-in-out;
}
.footer-row .et_pb_column ul {
    padding: 0 !important;
    list-style-type: none !important;
}
.footer-row .et_pb_column li {
    margin-top: 5px;
}
.footer-row .et_pb_column li a::before {
    display: inline-block;
    content: "";
    widtH: 20px;
    margin-right: 10px;
    height: 20px;
    background: url('http://skovens-el.dk/wp-content/uploads/2025/12/skov-mail.svg');
    background-size: cover !important;
    top: 5px;
    position: relative;
}
.footer-row .et_pb_column li:nth-child(2) a::before {
    background: url('http://skovens-el.dk/wp-content/uploads/2025/12/skov-tlf.svg');
}
.footer-row .et_pb_column li:nth-child(3) a::before {
    background: url('http://skovens-el.dk/wp-content/uploads/2025/12/skov-hjem.svg');
}
.bottom-row {
    border-top: 1px solid rgba(255,255,255,.3);
    width: 100% !important;
    max-width: 100% !important;
}
#kontakt .footer-row .et_pb_column li a { 
    color: #181818 !important;
}
#kontakt .footer-row .et_pb_column li a::before {
    filter: invert(100%);
} 

#kontakt .footer-row .et_pb_column li {
    text-align: left !important;
}
.footer-row ul li a:hover {
    padding-left: 15px !important;
}

@media only screen and (min-width: 1000px) and (max-width: 1350px) {
    .align-center {
        padding: 0 !important;
    }
}

/* Mobile */
@media only screen and (max-width: 1000px) {
    /* General */
    .et_pb_row, .container, #footer .bottom-row .et_pb_column {
        width: 90%;
    }
    h1, h1.et_pb_contact_main_title, .et_pb_title_container h1 {
        font-size: 30px !important;
        line-height: 34px !important;
    }
    h2 {
        font-size: 26px !important;
        line-height: 30px !important;
    }
    /* Header */
    .et_header_style_left #logo {
        max-width: 80% !important;
        max-height: 80% !important;
        z-index: 9999999;
    position: relative;
    }
    .mobile_menu_bar::before {
        color: white !important;
        z-index: 999999;
    }
    #main-header .et_mobile_menu {
        box-shadow: none !important;
        border: none !important;
        text-align: center;
        background: #008060 !important;
        position: fixed;
        bottom: 0;
        top: 0;
        padding-top: 100px;
      }
      #main-header ul#mobile_menu::before {
        display: block;
        content: "Menu";
        margin: 50px 0 20px;
        text-transform: uppercase;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #fff !important;
      }
      #main-header .et_mobile_menu li a {
        font-size: 20px !important;
        border-bottom: none !important;
        color: #fff !important;
        font-weight: 700 !important;
        opacity: 1 !important;
    background: none !important;
      }
      #main-header .et_mobile_menu li:last-child a {
        background: white !important;
        color: #008060 !important;
        font-size: 14px !important;
        border-radius: 6px;
    width: 80%;
    margin: 30px auto 0;
      }
      .mobile_nav.opened .mobile_menu_bar::before {
        content: "M" !important;
      }

    /* Page */
    #front {
        height: inherit !important;
        min-height: 100vh !important;
        padding-top: 120px !important;
    }
    .align-center {
        padding: 0;
    }
    .align-center .et_pb_text, .align-center .et_pb_button_module_wrapper {
        text-align: left !important;
        width: 100% !important;
    }
    #front .et_pb_row {
        padding-top: 0 !important;
    }
    #main-content .frm_button_submit {
        width: 100% !important;
    }
    .first-on-mobile img {
        margin-bottom: 25px !important;
    }
    #icon {
        margin-bottom: 10px;
    }
    #front .footer-row .et_pb_column li {
        text-align: left !important;
    }
    /* Footer */
    .et_pb_section_0_tb_footer.et_pb_section {
        padding-top: 0px !important;
        padding-bottom: 30px !important;
    }
    #footer, #footer * {
        text-align: left !important;
    }
    #footer .et_pb_column_0_tb_footer {
        margin-bottom: 120px !important;
        display: block !important;
    }
    #footer .et_pb_image {
        margin: 0 0 50px !important;
    }
}

@media all and (max-width: 980px) {
    /*** wrap row in a flex box ***/
    .custom_row {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
    }
     
    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
    -webkit-order: 1;
    order: 1;
    }
     
    .second-on-mobile {
    -webkit-order: 2;
    order: 2;
    }
     
    .third-on-mobile {
    -webkit-order: 3;
    order: 3;
    }
     
    .fourth-on-mobile {
    -webkit-order: 4;
    order: 4;
    }
    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
    margin-bottom: 30px;
    }
     
}