/*
 Theme Name:     Conventus
 Theme URI:      https://conventus.dk
 Description:    Samlet CSS (merge af 2 filer)
 Author:         Conventus
 Template:       Divi
 Version:        1.4
*/

/* ========================
   TYPOGRAFI OG BASIS
======================== */
html, body, p, li { font-weight: 400; }
h1, h2, h3, h4, h5 { font-weight: 700; color: #17375A; }
h1, h2 { font-size: 25px; }
a { font-weight: 600 !important; }

body, .panel, .conventus .panel, .cvt_element table,
.cvt_bt, .cvt_boxtitel, .cvt_uos, .panel-title.cvt_1 {
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ========================
   INDHOLDSSEKTIONER
======================== */
.indholdssektion { background-color: var(--sektion_background_color) !important; }
.indholdssektion .indholdtekst { background: #FFF; padding: 15px; }
.sidebar { background-color: var(--sidebar-background-color) !important; padding: 15px; }

.indholdtekst h2, .indholdtekst h3 { margin-top: 15px; margin-bottom: 5px; }
.indholdtekst table td a,
.indholdtekst table td,
.indholdtekst table td span {
  font-size: 15px !important;
  line-height: 20px !important;
}

/* ========================
   LINKS OG MENU
======================== */
td a, li a, .indholdtekst a, .kommendedage .cvt_uos,
#top-menu li.current-menu-item > a,
.et-pb-icon,
.boardmember a:hover,
#top-menu li.current-menu-ancestor > a,
.mobile_menu_bar::before,
.mobile_menu_bar::after {
  color: var(--primary-color) !important;
  transition: 0.5s !important;
}





.nav li ul {
  border: 0px !important;
}

.nav a {
  color: var(--navigation-text-color) !important;
}

#top-menu li.current-menu-item > a {
  color: var(--navigation-text-color) !important;
  border-bottom: 1px #FFF solid !important;
  padding-bottom: 10px !important;
}

.sub-menu li {
  background: none !important;
}

.sub-menu li a {
	color:#333 !important;
}



#top-menu li li a { min-width: 325px; }
.nav li ul { min-width: 365px; max-width: 90vw; }

.et-fixed-header .divi-life-cta-menu a,
.divi-life-cta-menu a {
  background-color: #222;
  padding: 15px 25px !important;
  border-radius: 25px;
  color: #fff !important;
  text-align: center;
  font-weight: 700;
}
.et-fixed-header .divi-life-cta-menu a:hover,
.divi-life-cta-menu a:hover {
  background-color: #15821D;
  opacity: 1;
}
.et-fixed-header .divi-life-cta-menu a { color: #FFF !important; }

/* ========================
   KNAPPER (GLOBAL)
======================== */
button.faq-accordion__trigger { background: none !important; color: #000; }

.et_pb_button {
  font-weight: 400 !important;
  min-width: 200px;
  line-height: 41px !important;
  text-align: center;
}

.btn {
  font-size: 16px;
  border: 0;
  padding: 10px 25px;
  min-width: 120px;
  border-radius: 8px;
}
.btn.btn-default { background: #eee; }
.btn.btn-info { background: #3131ee; }
.btn.btn-success { background: #79b026; }

.indholdtekst input[type=button],
.indholdtekst input[type=submit],
.indholdtekst input[type=reset],
.indholdtekst button {
  background: #222 !important;
  color: #fff;
  padding: 8px 25px;
  border-radius: 50px;
  border: none !important;
  font-size: 18px;
  margin-right: 15px;
  text-shadow: none !important;
  width: auto !important;
  max-width: none !important;
}
.indholdtekst .btn.btn-default:hover,
.indholdtekst input[type=button]:hover,
.indholdtekst input[type=submit]:hover,
.indholdtekst input[type=reset]:hover,
.indholdtekst button:hover {
  font-size: 18px;
  cursor: pointer;
  text-shadow: none !important;
  color: #fff !important;
  border: none !important;
}

/* Hover – samlet */
.newsletter-content input[type="button"]:hover,
.cvt_boxtitel,
.conventus .cvt_boxtitel,
.loginformular .cvt_bt:hover,
.et_pb_button:hover {
  background-color: var(--primary-color) !important;
  transition: 0.5s !important;
}

/* ========================
   PANELS OG CONVENTUS
======================== */
.panel, .conventus .panel { box-shadow: none !important; border-radius: 0; }
.panel-title.cvt_1 { font-size: 16px !important; font-weight: 500; }

.cvt_element { display: inline-block; }
.cvt_element table { background: #fff; }
.cvt_bt { font-size: 16px; padding: 12px 25px; }
.cvt_boxtekst.cvt_3 { font-size: 16px; }
.cvt_os { font-size: 20px; padding: 25px; }
.cvt_element a { font-size: 100% !important; }

#cvt_billetserier { font-size: 14px !important; }
#cvt_billetserier td { width: 30% !important; }

/* ========================
   ANDRE ELEMENTER
======================== */
.boardmember { margin-right: 1%; margin-bottom: 5vh; min-height: 285px; }
.boardmember a { color: #222; }
input[type="button"] { padding: 12px !important; margin: 10px 0 !important; }
.et_portfolio_image .et_overlay::before { content: "\054"; color: #79B026 !important; }

/* ========================
   FARVER & BANNERS
======================== */
a.more-link {
  background-color: #222;
  padding: .55em 2em !important;
  color: #fff !important;
  border-radius: 50px;
  text-transform: none;
  margin-top: 25px;
  display: inline-block;
  transition: 0.5s;
}
a.more-link:hover { background: var(--primary-color) !important; }

.et_pb_fullwidth_header.et_pb_fullwidth_header_0_tb_body,
.topbanner { background-color: var(--secondary-color) !important; opacity: 0.9; }
#main-header { background-color: var(--navigation-color) !important; }
.baggrundfooter { background-color: var(--footer_color-color) !important; }
.baggrundfooter .et_pb_text a,
.baggrundfooter a,
.baggrundfooter p,
.baggrundfooter h3 { color: var(--footertext_color-color) !important; }
.baggrundfooter .et_pb_text a:hover,
.baggrundfooter a:hover { color: var(--primary-color) !important; }
.baggrundfooter a { text-shadow: none !important; }

/* Banner/panel titler */
.panel-default > .panel-heading,
.conventus .panel-default > .panel-heading,
.cvt_boxtitel,
.cvt_uos {
  border: none;
  background-color: var(--banner-color) !important;
  color: #222;
}
.cvt_uos, .panel-title.cvt_1 {
  color: var(--bannertext-color) !important;
  font-size: 20px;
  font-weight: 500 !important;
}
.cvt_uos, .panel-heading { padding: 15px !important; }
.cvt_boxtitel.cvt_1,
.pull-left {
  font-weight: 600 !important;
  font-size: 20px;
}
.cvt_boxtitel.cvt_1 {
  color: var(--bannertext-color) !important;
  padding: 5px 15px;
  line-height: 45px;
}

/* ========================
   SOCIAL ICONS
======================== */
.socii_icon { width: 50px; display: inline-block; text-align: center; font-weight: 700; }
.socii_icon,
.fab.fa-facebook,
.fab.fa-instagram,
.fa.fa-address-card,
.fab.fa-linkedin { color: var(--socialicons_color-color) !important; }
.socii_icon:hover,
.fab.fa-facebook:hover,
.fab.fa-instagram:hover,
.fa.fa-address-card:hover,
.fab.fa-linkedin:hover { color: var(--primary-color) !important; }

/* ========================
   COOKIE BANNER
======================== */
#pjAcceptCookieBar { background: #404040d6 !important; width: 100% !important; height: 100% !important; z-index: 99999999999 !important; }
#pjAcceptCookieBar .pjAcceptCookieBarShell {
  width: 90%; margin: 0 auto; margin-top: 35vh !important; max-width: 350px; padding: 50px;
  background: #fff !important; border-radius: 5px;
}
#pjAcceptCookieBar .pjAcceptCookieBarBtn {
  background: #79B026 !important; border-radius: 50px !important; transition: 0.5s !important;
}
#pjAcceptCookieBar .pjAcceptCookieBarBtn:hover { background: #222 !important; transition: 0.5s !important; }
#pjAcceptCookieBar .pjAcceptCookieBarBtn, #pjAcceptCookieBar .pjAcceptCookieBarBtn::after { transition: none !important; }
.pjAcceptCookieBarShell p { color: #222 !important; }

/* ========================
   RESPONSIVE
======================== */
@media only screen and (max-width: 810px) {
  h1, h2 { font-size: 25px !important; }
  .indholdtekst table td { line-height: 24px !important; }
  .skjulmobilknap.button.divi-life-cta-menu,
  .skjulmobil { display: none !important; }
  .skjuldesktopknap.divi-life-cta-menu.menu-item a { margin-top: 50px !important; }
  button, .indholdtekst input[type=button], .et_pb_button { font-size: 16px !important; }
  .kontaker-content .table_body td { width: 100% !important; display: block; }
  .btn.btn-info.info-knap.knapper_horisontal,
  .btn.btn-success.tilmeld-knap.knapper_horisontal { width: 100%; margin: 10px 0; }
  #cvt_billetserier { font-size: 16px !important; width: 100%; }
  #cvt_billetserier td { width: 100% !important; display: block; float: left; }
  #cvt_billetserier tr { margin: 15px 0 !important; display: block; float: left; }
  #cvt_billetserier th { display: none; }
	
}
@media only screen and (min-width: 811px) {
	.skjuldesktop { display: none !important; }
	.skjuldesktopknap {display:none!important;}
	
}

/* ========================
   SIDEINDHOLD-SKABELON
======================== */
.topbarbanner.undersider .topbanner {
  padding-top: 0px !important;
  padding-bottom: 5vh !important;
}

/* Newsletter-knap i sideindhold */
.sideindhold .newsletter-content input[type="button"] {
  font-size: 15px;
  cursor: pointer;
  text-shadow: none;
  color: #fff;
  border: 0;
  background: #222;
  border-radius: var(--btn-radius-pill, 50px);
  min-width: 300px;
}

/* Default-knapper i sideindhold */
.sideindhold .indholdtekst .btn.btn-default {
  background: #dcdcdc;
  color: #222;
  padding: 8px 25px;
  border-radius: var(--btn-radius-pill, 50px);
  border: 2px solid #dcdcdc;
  font-size: 20px;
  margin-right: 15px;
  text-shadow: none;
  width: auto;
  max-width: none;
}

/* Primærknapper i sideindhold */
.sideindhold .indholdtekst input[type=button],
.sideindhold .indholdtekst input[type=submit],
.sideindhold .indholdtekst input[type=reset],
.sideindhold .indholdtekst button {
  background: #222;
  color: #fff;
  padding: 8px 25px;
  border-radius: var(--btn-radius-pill, 50px);
  border: 2px solid #222;
  font-size: 20px;
  margin-right: 15px;
  text-shadow: none;
  width: auto;
  max-width: none;
}
.sideindhold .indholdtekst .btn.btn-default:hover,
.sideindhold .indholdtekst input[type=button]:hover,
.sideindhold .indholdtekst input[type=submit]:hover,
.sideindhold .indholdtekst input[type=reset]:hover,
.sideindhold .indholdtekst button:hover {
  background: #17861e;
  border: 2px solid #17861e;
  color: #fff;
  cursor: pointer;
}

/* Success/Info knapper i sideindhold */
.sideindhold .btn.btn-success,
.sideindhold .btn.btn-info {
  border-radius: var(--btn-radius-pill, 50px);
}
.sideindhold .btn.btn-success { background: #17861e; }
.sideindhold .btn.btn-info    { background: #32349b; }

/* Indhold og billeder */
.sideindhold .hold-content .cvt_uos { margin-top: 25px; display: block; }
.sideindhold .hold-content table tr { border-bottom: 1px solid #000; }
.sideindhold .indholdtekst img { border-radius: 5px; border: 0; }
.sideindhold .indholdtekst .alignright.size-full { margin-left: 25px; margin-bottom: 25px; }

/* Conventus blokke */
.sideindhold .cvt_element { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2%; }
.sideindhold .cvt_element table {
  background: #fff;
  margin: 1%;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
@supports not (display: grid) {
  .sideindhold .cvt_element { display: block; }
  .sideindhold .cvt_element table { max-width: 31%; float: left; }
}
.sideindhold .cvt_element a { font-size: 15px; }

/* Skjuler første celle i første tabel */
.sideindhold .cvt_element > table:first-child > tbody > tr:first-child > td:first-child {
  background: #fff;
  font-size: 25px;
  color: #17375A;
  padding-bottom: 25px;
  display: none;
}

/* Introduktion-sektion */
.sideindhold .introduktion .cvt_element { grid-template-columns: 1fr; }
.sideindhold .introduktion .cvt_element table { background: transparent; max-width: 800px; }
.sideindhold .introduktion td {
  background: none;
  color: #fff;
  font-size: 20px;
  border: 0;
  width: 100%;
}

/* Tekst og tabeller */
.sideindhold .indholdtekst .cvt_3 {
  border: 0;
  font-size: 15px;
  line-height: 28px;
}
.sideindhold .indholdtekst table { width: 100% !important; }
.sideindhold .indholdtekst table td { border: 0; }
