/*
 Theme Name:   Begravelse Danmark WP Tema
 Description:  Skræddersyet tema udviklet til begravelsedanmark.dk, baseret på Divi web-bygger moduler. Dette tema kræver hoved-temaet Divi installeret for at fungere korrekt. Viderebyg af modificeret child-theme fra House of SEO.
 Author:       King Platform Development
 Template:     Divi
 Version:      1.6
 Text Domain:  king-platform
*/

.pricetable {
    line-height: 0;
}

.pricetable ul.pricetable-list{
	margin-top: 0;
}

.pricetable-list li {
    list-style: none;
}

.pricetable h3.headline{
	font-size: 23px;
}

.pricetable-container{
	display:flex;
}

.pricetable-container > div{
	align-self:end;
	width: 18% !important;
	margin-right: 2% !important;
}

@media (max-width:600px) {
  .topvideowrapper h1 {
    top: 35% !important;
    font-size: 3em !important
  }
}

;

*,
:after,
:before {
  box-sizing: inherit
}

.topvideowrapper {
  width: 100%;
  height: 60vh;
  overflow: hidden
}

.topvideowrapper video {
  object-fit: cover;
  width: 100%;
  height: 100%
}

.topvideowrapper h1 {
  padding: 0 1em 1em 1em;
  text-shadow: 0em 0.1em 0.1em rgb(0 0 0 / 40%);
  margin: 0;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center
}

video::-webkit-media-controls {
  display: none !important
}

#top1881 {
  position: absolute;
  right: 20px;
  top: -170px
}

.et_pb_fullwidth_slider_0,
.et_pb_slide_0 {
  height: 500px !important;
}

@media only screen and (min-width: 768px) {

  .home .et_pb_fullwidth_slider_0,
  .home .et_pb_slide_0,
  .et_pb_fullwidth_slider_0.vh80banner,
  .vh80banner .et_pb_slide_0 {
    height: 80vh !important;
  }

  .et_pb_fullwidth_slider_0,
  .et_pb_slide_0 {
    height: 500px !important;
  }
}

.et_pb_slide_content h1 {
  font-size: 4em !important;
  margin-top: -50px !important;
}

.et_pb_slide_description {
  padding: 0 !important;
}

#logo {
  max-height: 80% !important;
  width: auto !important
}

h1,
h2,
h3 {
  font-family: Georgia
}

.topvideowrapper h1 {
  font-size: 4em;
  color: #fff;
}

#main-footer {
  background-color: #930000 !important;
  color: #fff !important;
}

.et_pb_inner_shadow {
  box-shadow: unset !important
}

#main-footer .title {
  color: #fff !important;
  margin-left: -17px;
}

#main-footer .fn {
  color: #fff !important;
}

#footer-widgets {
  padding-top: 20px !important;
}

#footer-widgets ul {
  list-style: square;
  color: #ca851f
}

#footer-widgets .footer-widget li {
  padding-left: 0 !important;
}

#footer-widgets .footer-widget li:before {
  content: none !important;
}

#footer-bottom {
  color: #fff;
  border-top: 1px solid #ca851f;
  padding: 15px !important
}

#footer-bottom .container {
  text-align: center
}

.icon_phone:before {
  content: "\e090";
}

/* PRICE TABLE */
.pricetable ul {
  margin-top: 10px;
  margin-left: 0;
  margin-bottom: 20px;
  padding: 0;
  list-style-position: inside;
}

.pricetable ul li {
  padding: 5px 15px 5px 15px;
  margin-left: 0px;
}

.pricetable .headline {
  color: #fff;
  font-size: 28px;
  position: absolute;
  top: 18px;
  left: 18px
}

.pricetable ul li:nth-child(odd) {
  background: #eee
}

.et_pb_text_inner {
  font-size: 1.2em !important;
  line-height: 1.6em !important
}

#top-menu li {
  font-size: 1.2em !important
}

.form-a {
  position: relative;
  margin: 0px 0 0px;
  padding: 20px 15px 0;
  color: #616870;
  line-height: 1.45;
  background-color: #f3f2f2;
}

.form-a button {
  width: 94px;
}

.bdk-pricing-table button {
  display: block;
  position: relative;
  float: right;
  height: 43px;
  padding: 0 12px;
  border: 0;
  background: #a59062;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.form-a p {
  z-index: 10;
  clear: both;
  margin: 0 0 29px;
}

.form-a label {
  position: absolute;
  padding: 0 15px;
  color: #939598;
  font-size: 16px;
  line-height: 43px;
  cursor: text;
}

.form-a label {
  display: block;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 0 0 5px;
}

input#postnr {
  padding: 14px;
  width: 68%;
}

input#postnr1 {
  padding: 13px;
  float: left;
  width: 80%;
}

button.last-child1 {
  float: right;
  width: 19%;
}

.et_pb_divider_0:before,
.et_pb_divider_1:before {
  border-top-color: #a59062 !important;
}

.et_pb_section_video.et_pb_divider_0:before {
  border-top-color: transparent !important;
}

.et_pb_section_video.et_pb_divider_0 #mep_1 {
  margin-top: -172px !important;
}

@media only screen and (min-width: 768px) and (max-width:1024px) {
  .et_pb_section_video.et_pb_divider_0 #mep_1 {
    margin-top: -100px !important;
  }
}

@media only screen and (max-width: 767px) {
  .et_pb_divider_0 {
    height: 300px !important;
  }

  .et_pb_section_video.et_pb_divider_0 #mep_1 {
    margin-top: 0px !important;
  }
}


#main-footer {
  background-color: #e8e8e8;
}

.tablepress tbody td {
  border-top: NONE;
}

.et_pb_toggle {
  border: none;
}

.et_pb_module.et_pb_text.et_pb_text_13.et_pb_bg_layout_light.et_pb_text_align_left {
  background-color: #fff;
}

.et_post_meta_wrapper {
  padding-top: 13px !important;
}

.et_pb_team_member_image {
  max-width: 193px;
}

.et_pb_slide_content h1 {
  padding-bottom: 30px !important;
}

/* .et_pb_slide_content::after {
  content: "DØGN-TELEFON: 52 112 112";
  background-color: #640000;
  padding: 15px;
  border-radius: 5px;
  color: #fff;
} */

/* ITO 290424: Slider button styling */
.et_pb_slide_description a.et_pb_button.et_pb_more_button {
  padding: 15px !important;
  line-height: 24px !important;
  margin-top: 0px;
  font-weight: 400;
}

@media only screen and (max-width: 990px) {
  .et_pb_slide_content h1 {
    font-size: 3em !important;
  }
}

/* MOBILE */
@media only screen and (max-width: 600px) {
  .et_pb_slide_content h1 {
    font-size: 2.8em !important;
  }

  #main-footer {
    margin-top: -110px !important
  }

  #main-footer .textwidget img {
    position: unset !important;
    display: block;
    margin-bottom: 10px;
  }

  #top1881 {
    position: absolute;
    left: calc(50% - 70px);
    top: -210px;
    right: 0px;
    width: 140px;
  }

  #main-footer .title {
    margin-left: 0;
  }

  .et_pb_slide_content h1 {
    text-align: left;
    margin-top: -50px !important;
    margin-bottom: 0 !important;
  }

  .et_pb_row_10 {
    margin-top: -60px !important;
  }

  .et_pb_map {
    height: 600px !important;
    margin-top: -100px !important;
  }

  .et_pb_container {
    width: auto !important;
  }
}

@media (max-width: 480px) {
  .entry-content tr td {
    padding: 6px 15px;
  }

  table#tablepress-1 {
    margin-left: -50px;
  }

  .entry-content table {
    margin-left: -43px;
  }

  a.last-child {
    font-size: 14px;
  }

  .et_pb_slide_content::after {
    font-size: 150%;
  }

}

/* TABLET DISPLAY FIX */
@media only screen and (min-width: 981px) {
  #et-top-navigation {
    padding-left: 88px !important;
  }

  .container.clearfix.et_menu_container {
    width: 98% !important;
  }

}

/*
 * Frontpage CTA price lists with read more links 
*/
.price-list p {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.price-list .rounded {
  border-radius: 4px;
}

/*
 * Price tables
 */

article.bdk-pricing-table {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

table.bdk-pricing-table {
  margin-left: 0px;
}

ul.bdk-pricing-table {
  top: 0px;
  z-index: 10;
  padding: 0 0 14px 0 !important;
  list-style: none !important;
}

li.pricing-table.bdk-pricing-table {
  list-style: none !important;
}

li.pricing-table.bdk-pricing-table button img {
  width: 20%;
}

li:last-child.bdk-pricing-table {
  border-right: 1px solid #DDD;
}

.bdk-pricing-table button {
  width: 100%;
  border: 1px solid #DDD;
  border-right: 0;
  border-top: 0;
  padding: 0px;
  background: #FFF;
  font-size: 14px;
  font-weight: bold;
  height: 150px;
  color: #999
}

li.active.bdk-pricing-table button {
  background: #a4cb61;
  color: #fff;
}

table.bdk-pricing-table {
  border: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

th.bdk-pricing-table {
  background: #F5F5F5;
  display: none;
}

td.bdk-pricing-table,
th.bdk-pricing-table {
  height: 53px
}

td.bdk-pricing-table,
th.bdk-pricing-table {
  border: 1px solid #DDD !important;
  padding: 10px;
  empty-cells: show;
}

td.bdk-pricing-table,
th.bdk-pricing-table {
  text-align: left;
}

td+td.bdk-pricing-table,
th+th.bdk-pricing-table {
  text-align: center;
  display: none;
}

td.default.bdk-pricing-table {
  display: table-cell;
}

.bg-green {
  border-top: 3px solid #930000 !important;
}

.sep.bdk-pricing-table,
.sep3.bdk-pricing-table {
  background: #F5F5F5;
  font-weight: bold;
  border: 1px solid #DDD;
}

.txt-l {
  font-size: 28px;
  font-weight: bold;
}

.txt-top {
  position: relative;
  top: -9px;
  left: -2px;
}

.hide.bdk-pricing-table {
  border: 0 !important;
  background: none;
}

@media (max-width: 950px) and (min-width: 850px) {
  .txt-l {
    font-size: 20px;
  }

  .entry-content tr td {
    padding: 10px;
  }
}

@media (min-width: 850px) {
  ul.bdk-pricing-table {
    display: none;
  }

  td.bdk-pricing-table,
  th.bdk-pricing-table {
    display: table-cell !important;
  }

  td+td.bdk-pricing-table,
  th+th.bdk-pricing-table {
    width: auto;
  }

  .entry-content tr td {
    padding: 10px 6px;
  }
}

th.bdk-pricing-table {
  width: 12% !important;
  padding: 10px 6px !important
}

th.bdk-pricing-table:first-of-type {
  width: 40% !important;
}

th.bg-green.bdk-pricing-table img {
  width: 80px;
  margin: 0 auto;
  display: block;
  padding: 8px;
}

.check-circle {
  background-image: url(https://www.begravelsedanmark.dk/wp-content/uploads/2023/03/check-circle-solid.svg);
  width: 16px;
  content: "";
  height: 16px;
  display: block;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center, 50%, 50%;
}

.minus {
  background-image: url(https://www.begravelsedanmark.dk/wp-content/uploads/2023/03/minus-solid.svg);
  width: 16px;
  content: "";
  height: 16px;
  display: block;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center, 50%, 50%;
}

.image {
  background-image: url(https://www.begravelsedanmark.dk/wp-content/uploads/2023/03/image-regular.svg);
  width: 20px;
  content: "";
  height: 20px;
  display: block;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center, 50%, 50%;
}

.bdk-image-wrapper {
  background-color: white;
  border: 1px solid grey;
  border-radius: 5px;
  left: 50%;
  right: 50%;
  width: 50%;
}

.bdk-image-wrapper img {
  max-height: 300px;
}

ul.bdk-pricing-table img {
  width: 70px;
  display: block;
  margin: auto;
}

/** 
* Print pricing page
*/
@media print {

  #main-header,
  #main-footer {
    display: none;
  }

  #bdk-pricing-page .et_pb_row {
    margin: 0;
    width: 100%;
    padding-top: 27px;
    padding-right: 31px;
    padding-bottom: 27px;
    padding-left: 31px;
    font-size: 13px;
  }

  #bdk-pricing-page ul.bdk-pricing-table {
    display: none;
  }

  #bdk-pricing-page td.bdk-pricing-table,
  th.bdk-pricing-table {
    display: table-cell !important;
  }

  #bdk-pricing-page .et_parallax_bg {
    background-image: inherit !important;
  }

  #bdk-pricing-page a:not(.tele) {
    display: none;
  }

  th.bdk-pricing-table {
    width: 15% !important;
  }
}