/*
 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");

.et_pb_row, .container, .single-byggerier.et-db #et-boc .et-l .et_pb_row, .single-erhvervsudlejning.et-db #et-boc .et-l .et_pb_row, .single-events.et-db #et-boc .et-l .et_pb_row {
  width: 90%;
  max-width: 90%;
}

#sidebar, #main-content .container::before {
  display: none !important;
}
#left-area {
  padding-right: 0 !important;
  width: 100% !important;
}
#top-menu li a, div, p, a, em, i, u, strong {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500 !important;
}
strong {
  font-weight: 700 !important;
}
#main-content a.et_pb_button {
  padding: 8px 25px;
}
#main-content a.et_pb_button:hover {
  padding: 8px 35px 8px 15px !important;
}
#main-content a.et_pb_button::after {
  top: 9px;
}

/* Header */
#main-header {
  box-shadow: none !important;
}
#top-menu li a {
  opacity: 1 !important;
  position: relative;
}
#top-menu li a::after {
  display: block;
  content: "";
  width: 0%;
  height: 1px;
  background: #1b1b1b;
  position: absolute;
  bottom: 35px;
  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 {
  background: #5C51A6 !important;
  padding: 12px 25px !important;
  border-radius: 6px !important;
  color: white !important;
}
p.logo-text {
  position: absolute;
  left: 180px;
  top: 45px;
  opacity: .7;
  transition: .3s ease-in-out;
}
#logo {
  position: relative;
  top: 5px;
}
#top-menu > li:last-child a::after { 
  display: none;
}
.et_pb_svg_logo #logo {
  max-width: 144px;
  height: inherit !important;
}
#main-header.et-fixed-header #et-top-navigation {
  padding-top: 7px !important;
}
#main-header.et-fixed-header #top-menu li a::after {
  bottom: 15px;
}
#main-header.et-fixed-header p.logo-text {
  top: 16px;
  opacity: .5;
  font-size: 15px;
}
#main-header.et-fixed-header {
  box-shadow: 0 0 30px rgba(0,0,0,0.1) !important;
}

/* Front */
.et_pb_slide, .et_pb_bg_layout_dark.et_pb_slider_with_overlay .et_pb_slide_overlay_container {
  border-radius: 6px;
}
.et_pb_slide_description .et_pb_slide_title {
  font-size: 17px !important;
}
.et_pb_slide_content {
  font-size: 2.5vw !important;
  max-width: 65%;
  font-weight: 900 !important;
  margin: 30px auto;
  line-height: 3vw !important;
}
.slick-slide {
  height: 150px !important;
  max-width: 250px !important;
  margin: 0 12px !important;
}
.slick-slide img {
  max-width: 100%;
  height: auto;
  width: auto;
  display: block;
  margin: auto;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 8px;
}
.galleri-hoejre-slider.slick-slider {
  margin-top: 24px !important;
}
.right-slider {
  margin-top: -50px !important;
}

/* Ny forside */
#front-rows .et_pb_column {
  height: 100vh;
  display: grid;
  align-content: center;
  padding: 0 5%;
}
#front-rows .et_pb_column h2 {
  font-size: 2vw;
  line-height: 2.3vw;
  margin: 10px auto 0px;
}
#front-rows .et_pb_column h4 {
  font-size: 1.8vw;
  line-height: 2vw;
  margin-bottom: 30px !important;
}
#new-rows-logo {
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  top: 50px;
}
#new-rows-logo img {
  width: 200px;
}
.kiona {
  position: fixed;
  width: auto;
  background: rgba(255,255,255,0.0);
  z-index: 9999999;
  right: -250px;
  bottom: 30px;
  border-radius: 6px;
  padding: 10px 10px 5px;
  /* -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px); */
  transition: .4s ease-in-out;
}
.kiona.activated {
  right: 30px;
}
.kiona p {
  margin-bottom: 0 !important;
}
#values {
  background-color: rgba(92,81,166,0.1);
  border-radius: 6px;
  max-width: 1880px !important;
  margin: auto !important;
  width: 90%;
}
.pre-headline, .pre-headline * {
  text-transform: uppercase;
  font-weight: 900 !important;
  font-size: 15px !important;
  color: #5C51A6 !important;
}
#front-rows .pre-headline *, #front-rows .pre-headline {
  color: #fff !important;
}
#values h2 {
  max-width: 60%;
  margin: auto;
}
#values h3 {
  font-size: 24px;
  font-weight: 900 !important;
}
.et_pb_video_box, .et_pb_video_overlay {
  border-radius: 6px;
  overflow: hidden;
}
#main-content .et_pb_number_counter .percent p {
  font-size: 8vw !important;
  line-height: 8vw !important;
  height: inherit !important;
  font-weight: 900 !important;
  color: black !important;
}
#main-content .et_pb_number_counter .percent {
  height: inherit !important;
}
#main-content .et_pb_number_counter h3 {
  font-size: 17px !important;
}
#values.edge h2 {
  max-width: 100%;
}
#values.edge {
  background-color: rgba(92,81,166,1);
}
#values.edge .pre-headline, #values.edge .pre-headline * {
  color: white !important;
}
#values.edge .small-module {
  width: 70%;
  float: right;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 30px;
  line-height: 20px;
}
#values.edge .small-module img {
  margin-bottom: 20px;
}
#main-content a.et_pb_button.et_pb_bg_layout_dark {
  border: 1px solid white !important;
}
#main-content a.et_pb_button.et_pb_bg_layout_dark:hover {
  background: white !important;
  color: rgba(92,81,166,1) !important;
}
#values.edge .small-module * {
  text-align: left !important;
  color: white !important;
}
#main-content #values .et_pb_number_counter .percent p {
  font-size: 60px !important;
  line-height: 60px !important;
}
#main-content #values.edge .small-module h3 {
  font-weight: 500 !important;
  line-height: 20px !important;
  padding-bottom: 0 !important;
}
#media_image-3 {
  display: block !important;
  width: 50px !important;
  float: none !important;
}
#media_image-3 img {
  max-width: 50px !important;
  background: #5C51A6 !important;
  padding: 10px;
  border-radius: 6px;
}

/* Om os */
.et_pb_team_member_description {
  text-align: center;
  margin-top: 25px;
}
h4.et_pb_module_header {
  font-size: 24px !important;
  font-weight: 700 !important;
}
.et_pb_member_position {
  margin-bottom: 15px;
}

/* Undersider */
.large-text, .large-text * {
  font-size: 43px !important;
  line-height: 50px !important;
  font-weight: 700 !important;
}
.rounded img {
  border-radius: 6px !important;
}
.align-center {
  align-content: center;
}
.align-center ul {
  padding-left: 40px !important;
  list-style-type: none;
}
.align-center ul li {
  margin-bottom: 15px;
  position: relative;
}
.align-center ul li::before {
  display: inline-block;
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: -30px;
  top: 8px;
  background: rgba(92,81,166,.2);
}
.computer-row .et_pb_text {
  margin-bottom: 50px !important;
}
.computer-row .et_pb_text::before {
  display: block;
  content: "";
  background: url('https://boligbuddy.dk/wp-content/uploads/2025/09/Vector.svg') !important;
  width: 30px;
  height: 20px;
  background-size: cover !important;
  margin-bottom: 20px !important;
}
.align-center .icon {
  display: inline-block;
  width: 49%;
  vertical-align: top;
}
/* Kontakt */
.contact-row .et_pb_column {
  padding: 50px;
  border-radius: 6px;
}
.with_frm_style .frm_top_container .frm_primary_label, .with_frm_style .frm_top_container input {
  color: white !important;
}
.with_frm_style .frm_top_container input, .with_frm_style .frm_top_container textarea, .with_frm_style .frm_top_container select {
  background: none !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  box-shadow: none !important;
}
.with_frm_style .frm_top_container input:focus, .with_frm_style .frm_top_container textarea:focus {
  border: 1px solid white !important;
}
.with_frm_style .frm_top_container select {
  font-size: 13px !important;
  color: white !important;
}
#main-content .frm_style_formidable-styling.with_frm_style .frm_submit button {
  background: white !important;
  border: 1px solid white !important;
  color: black !important;
  cursor: pointer !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
}
.with_frm_style .frm_required, .with_frm_style .frm_time_wrap {
  color: white !important;
}
#tak {
  height: calc(100vh - 106px);
  display: grid;
  align-content: center;
}
.page-template-page-template-blank #main-content {
  margin-bottom: 0 !important;
}

/* Blog */
.pagination {
  display: none !important;
}
.et_pb_blog_grid h2, .et_pb_blog_grid h2 * {
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
}
.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post {
  border-radius: 6px;
  overflow: hidden;
  border: none;
  background: #f5f5f5;
}
.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post:hover img {
  opacity: .7;
}
.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post img {
  transition: .3s ease-in-out;
}
#post-header .et_pb_row, #post-content .et_pb_row {
  max-width: 1080px !important;
}
#post-content .et_pb_text {
  width: 80%;
  margin: auto;
}
#post-header {
  padding-top: 0 !important;
}
#post-header h1 {
  font-weight: 900 !important;
  margin-bottom: 50px;
}
#post-header .post-date * {
  font-size: 15px;
  color: #5c51a6;
}
#post-header img, #post-content img {
  border-radius: 6px;
}
#post-content .page-intro * {
  font-size: 22px;
  line-height: 32px;
}
#post-content h1, #post-content h2, #post-content h3, #post-content h4 {
  font-weight: 700 !important;
}
#break-row {
  padding: 70px;
  border-radius: 6px;
}
/* Footer */
.et_pb_gutters2.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child {
  padding-right: 13%;
}
.footer-widget img {
  max-width: 150px !important;
}
#main-footer .footer-widget h4 {
  margin-bottom: 30px;
  padding-top: 75px;
}
#footer-widgets .footer-widget li::before {
  display: none !important;
}
#footer-widgets .footer-widget li {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
#footer-widgets .footer-widget a {
  transition: .2s ease-in-out;
}
#footer-widgets {
  padding: 7% 0 8%;
}
#footer-bottom img, .kiona img {
  max-width: 70px !important;
}
#footer-bottom p, .kiona p {
  color: white;
  font-size: 14px;
  opacity: .5;
  margin-top: -5px;
  margin-bottom: 30px;
}
footer#main-footer {
  position: fixed !important;
  width: 100%;
  bottom: 0;
  height: 640px !important;
}
div#main-content, .single-project .et_pb_section {
  z-index: 9999;
  position: relative;
  margin-bottom: 640px !important;
  background: white !important;
}
#main-footer .footer-widget h4 {
  font-weight: 700 !important;
}
.et_pb_gutters2.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child ul {
  margin-top: 10px !important;
}
.et_pb_gutters2.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child ul li a, #footer-widgets .footer-widget li a {
  text-decoration: underline !important; 
}

/* Mobile */
@media only screen and (max-width: 1000px) {
  /* Intro */
  #new-rows-logo img {
    width: 70px;
  }
  #new-rows-logo {
    top: 10px;
  }
  #front-rows .et_pb_column h2, #front-rows .et_pb_column h4 {
    font-size: 20px;
    line-height: 28px;
  }
  #front-rows .et_pb_column {
    height: 60vh !important;
  }

  /* Header */
  p.logo-text {
    display: none !important;
  }
  .et_mobile_menu {
    background: #5c51a6 !important;
    text-align: center;
    box-shadow: none !important;
    border-radius: 6px;
    border-top: none !important;
    padding: 25% 5%;
  }
  .et_mobile_menu li a {
    color: white !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  padding-bottom: 0 !important;
  }

  /* Page */
  .et_pb_slide {
    height: 60vh !important;
  }
  .et_pb_slide_description {
    padding: 0 !important;
  }
  .et_pb_slide_description .et_pb_slide_title {
    font-size: 14px !important;
  }
  .et_pb_slide_content, #post-header h1 {
    max-width: 100%;
  font-size: 24px !important;
  line-height: 32px !important;
  }
  h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p {
    font-size: 26px !important;
    line-height: 34px;
  }
  #values h2 {
    max-width: 100%;
  }
  #values h3 {
    font-size: 20px !important;
    padding-bottom: 0 !important;
  }
  #values .et_pb_image {
    margin-top: 30px !important;
  }
  #values .et_pb_row_6.et_pb_row {
    padding-top: 0 !important;
  }
  #main-content .et_pb_number_counter .percent p {
    font-size: 70px !important;
    line-height: 80px !important;
  }
  #values.edge .small-module {
    width: 100%;
  }

  /* Cases */
  .et_pb_section_0 .et_pb_row_0 .et_pb_text {
    width: 100% !important;
  }
  .et_pb_blog_grid h2 {
    margin-bottom: 20px !important;
  }
  #post-content .et_pb_text {
    width: 100%;
  }
  #post-content h3, #break-row h3, #related h3 {
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 700 !important;
  }
  #post-content .page-intro * {
    font-size: 17px;
  line-height: 1.7em;
  }
  #break-row {
    width: 100% !important;
  max-width: 100% !important;
  padding: 30px;
  }

  /* Om */
  #team .et_pb_row {
    padding-top: 0 !important;
  }
  h4.et_pb_module_header {
    font-size: 20px !important;
  }

  /* Footer */
  footer#main-footer {
    height: 80vh !important;
    padding-top: 30px !important;
  }
  div#main-content, .single-project .et_pb_section {
    margin-bottom: 80vh !important;
  }
  #main-footer .footer-widget h4 {
    padding-top: 0 !important;
  }
  .et_pb_gutters2.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child {
    padding-right: 0 !important;
  }
  #footer-widgets .footer-widget .fwidget {
    font-size: 16px;
  }
  #main-footer .footer-widget h4 {
    margin-bottom: 0 !important;
    font-size: 28px;
  }
  #footer-widgets .footer-widget #media_image-2 {
    margin-bottom: 0 !important;
  }
}

.kiona img {
  max-width: 180px !important;
}