/*
Theme Name: Divi Child
Description: Capax Recruitment – dansk child theme
Author: Capax Recruitment
Author URI: https://capaxrecruitment.dk/
Template: Divi
Version: 1.1.0
Text Domain: divi-child
*/

/* =Theme customizations
------------------------------------------------------- */

/* ================================
   HEADER — lyst layout
   ================================ */

#main-header {
	padding-top: 14px !important;
	padding-bottom: 8px !important;
	background-color: #ffffff !important;
	border-bottom: 0.5px solid #d4cfc4 !important;
	box-shadow: none !important;
}

#main-header .container {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

#main-header .logo_container {
	display: flex !important;
	align-items: center !important;
	height: 70px !important;
}

#main-header .logo_container .logo_helper {
	display: none !important;
}

#main-header .logo_container img#logo {
	height: 52px !important;
	width: auto !important;
	max-height: 52px !important;
	margin-top: 0 !important;
	position: relative !important;
	top: 0 !important;
}

/* Mørke menupunkter på hvid header */
#top-menu > li > a {
	color: #3a3a3a !important;
}

#top-menu > li > a:hover {
	color: #2b3a35 !important;
}

/* ================================
   FJERN DIVI TOP PADDING
   ================================ */

.et_fixed_nav body:not(.et_non_fixed_nav) .et_pb_section_first {
	padding-top: inherit !important;
}

body.et_fixed_nav #page-container {
	padding-top: 0 !important;
}

.et_non_fixed_nav .et_pb_section_first {
	padding-top: 0 !important;
}

/* ================================
   WP JOB OPENINGS — generelt
   ================================ */

.single-awsm_job_openings .awsm-job-form {
	display: none !important;
}

.single-awsm_job_openings #respond,
.single-awsm_job_openings .comments-area,
.single-awsm_job_openings #comments {
	display: none !important;
}

.single-awsm_job_openings .et_post_meta_wrapper {
	display: none !important;
}

.single-awsm_job_openings h1.entry-title {
	display: none !important;
}

.single-awsm_job_openings #sidebar {
	display: none !important;
}

.single-awsm_job_openings div#left-area {
	width: 100% !important;
	padding: 0 !important;
}

/* ================================
   JOB SPECS BOX — skjult, styres af job-content.php
   ================================ */

.single-awsm_job_openings .awsm-job-specification-wrapper,
.single-awsm_job_openings .awsm-job-specifications-container {
	display: none !important;
}

/* ================================
   GLOBAL TEKST-FARVE RETTELSE
   ================================ */

.et_pb_section[style*="background-color:#2b3a35"],
.et_pb_section[style*="background-color: #2b3a35"],
.et_pb_section[style*="background:#2b3a35"],
.et_pb_section[style*="background: #2b3a35"] {
	color: #ffffff !important;
}

.et_pb_section[style*="background-color:#2b3a35"] .et_pb_text_inner,
.et_pb_section[style*="background-color:#2b3a35"] .et_pb_text_inner *,
.et_pb_section[style*="background-color:#2b3a35"] .et_pb_blurb_description,
.et_pb_section[style*="background-color:#2b3a35"] h1,
.et_pb_section[style*="background-color:#2b3a35"] h2,
.et_pb_section[style*="background-color:#2b3a35"] h3,
.et_pb_section[style*="background-color:#2b3a35"] h4,
.et_pb_section[style*="background-color:#2b3a35"] p,
.et_pb_section[style*="background-color:#2b3a35"] li,
.et_pb_section[style*="background-color:#2b3a35"] span,
.et_pb_section[style*="background-color: #2b3a35"] .et_pb_text_inner,
.et_pb_section[style*="background-color: #2b3a35"] .et_pb_text_inner *,
.et_pb_section[style*="background-color: #2b3a35"] h1,
.et_pb_section[style*="background-color: #2b3a35"] h2,
.et_pb_section[style*="background-color: #2b3a35"] h3,
.et_pb_section[style*="background-color: #2b3a35"] h4,
.et_pb_section[style*="background-color: #2b3a35"] p,
.et_pb_section[style*="background-color: #2b3a35"] li,
.et_pb_section[style*="background-color: #2b3a35"] span {
	color: #ffffff !important;
}

.et_pb_row[style*="background-color:#2b3a35"] .et_pb_text_inner *,
.et_pb_row[style*="background-color:#2b3a35"] h1,
.et_pb_row[style*="background-color:#2b3a35"] h2,
.et_pb_row[style*="background-color:#2b3a35"] h3,
.et_pb_row[style*="background-color:#2b3a35"] p,
.et_pb_row[style*="background-color:#2b3a35"] span,
.et_pb_row[style*="background-color: #2b3a35"] .et_pb_text_inner *,
.et_pb_row[style*="background-color: #2b3a35"] h1,
.et_pb_row[style*="background-color: #2b3a35"] h2,
.et_pb_row[style*="background-color: #2b3a35"] h3,
.et_pb_row[style*="background-color: #2b3a35"] p,
.et_pb_row[style*="background-color: #2b3a35"] span {
	color: #ffffff !important;
}

.et_pb_column[style*="background-color:#2b3a35"] .et_pb_text_inner *,
.et_pb_column[style*="background-color:#2b3a35"] h1,
.et_pb_column[style*="background-color:#2b3a35"] h2,
.et_pb_column[style*="background-color:#2b3a35"] h3,
.et_pb_column[style*="background-color:#2b3a35"] p,
.et_pb_column[style*="background-color:#2b3a35"] span,
.et_pb_column[style*="background-color: #2b3a35"] .et_pb_text_inner *,
.et_pb_column[style*="background-color: #2b3a35"] h1,
.et_pb_column[style*="background-color: #2b3a35"] h2,
.et_pb_column[style*="background-color: #2b3a35"] h3,
.et_pb_column[style*="background-color: #2b3a35"] p,
.et_pb_column[style*="background-color: #2b3a35"] span {
	color: #ffffff !important;
}

.et_pb_section[style*="background-color:#1c2824"] .et_pb_text_inner *,
.et_pb_section[style*="background-color:#1c2824"] h1,
.et_pb_section[style*="background-color:#1c2824"] h2,
.et_pb_section[style*="background-color:#1c2824"] h3,
.et_pb_section[style*="background-color:#1c2824"] p,
.et_pb_section[style*="background-color:#1c2824"] span,
.et_pb_section[style*="background-color: #1c2824"] .et_pb_text_inner *,
.et_pb_section[style*="background-color: #1c2824"] h1,
.et_pb_section[style*="background-color: #1c2824"] h2,
.et_pb_section[style*="background-color: #1c2824"] h3,
.et_pb_section[style*="background-color: #1c2824"] p,
.et_pb_section[style*="background-color: #1c2824"] span {
	color: #ffffff !important;
}

.et_pb_section[style*="background-color:#2b3a35"] .et_pb_code_inner,
.et_pb_section[style*="background-color: #2b3a35"] .et_pb_code_inner,
.et_pb_section[style*="background-color:#1c2824"] .et_pb_code_inner,
.et_pb_section[style*="background-color: #1c2824"] .et_pb_code_inner {
	color: #ffffff !important;
}

.et_pb_section[style*="background-color:#2b3a35"] .et_pb_button,
.et_pb_section[style*="background-color: #2b3a35"] .et_pb_button {
	color: #2b3a35 !important;
	background: #ffffff !important;
	border-color: #ffffff !important;
}

/* =====================================
   HEADER + SECONDARY MENU ALIGNMENT
===================================== */

#main-header {
	padding-top: 14px !important;
	padding-bottom: 8px !important;
	background-color: #ffffff !important;
	border-bottom: 0.5px solid #d4cfc4 !important;
	box-shadow: none !important;
	top: 0 !important;
	z-index: 9999 !important;
}

#et-top-navigation {
	padding-right: 240px !important;
}

#top-header {
	position: absolute !important;
	top: 36px !important;
	right: 40px !important;
	background: transparent !important;
	border: none !important;
	height: auto !important;
	width: auto !important;
	z-index: 10000 !important;
	padding: 0 !important;
}

#top-header .container {
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#et-secondary-menu {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#et-secondary-nav {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#et-secondary-nav li {
	margin: 0 !important;
	padding: 0 !important;
}

#et-secondary-nav li a {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #3a3a3a !important;
	line-height: 1 !important;
	padding: 0 !important;
}

body.et_secondary_nav_enabled #page-container {
	padding-top: 0 !important;
}

/* =====================================
   DANSK FOOTER
   Bevarer kontaktoplysningerne fra footer.php
===================================== */

#main-footer {
	background: #1a1a1a !important;
	color: #ffffff !important;
}

#main-footer .footer-widget .fwidget {
	width: 100%;
	margin-bottom: 15px;
}

#main-footer .footer-widget .fwidget h3 {
	color: #ffffff !important;
	font-family: 'DM Sans', sans-serif !important;
	font-weight: 600;
	line-height: 24px;
}

#main-footer .footer-widget .fwidget ul.menu li {
	padding: 0 !important;
	font-size: 16px;
	line-height: 24px;
	list-style: none !important;
}

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

#main-footer .footer-widget .fwidget ul.menu li a {
	color: rgba(255,255,255,.82) !important;
	transition: color .2s ease;
}

#main-footer .footer-widget .fwidget ul.menu li a:hover {
	color: #c49a3a !important;
}

.inner-footer-info {
	text-align: center;
}

.inner-footer-info h4 {
	margin-bottom: 18px;
	padding: 0;
	color: #ffffff !important;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.inner-footer-info h5,
.bottom-footer-contact,
.bottom-footer-privacy {
	color: rgba(255,255,255,.82) !important;
	font-family: 'DM Sans', sans-serif !important;
	font-size: 13px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
}

.inner-footer-info h5 {
	padding-bottom: 7px;
}

.bottom-footer-contact a,
.bottom-footer-privacy a {
	color: #ffffff !important;
	transition: color .2s ease;
}

.bottom-footer-contact a:hover,
.bottom-footer-privacy a:hover {
	color: #c49a3a !important;
}

#main-footer #footer-bottom {
	padding: 34px 0 48px;
	background: #1a1a1a !important;
}

/* Konsulentbilleder må ikke rammes af gammel job-CSS. */
.single-awsm_job_openings article img.capax-consultant-image {
	display: block !important;
}

@media (max-width: 767px) {
	#main-footer .footer-widget,
	#main-footer .footer-widget h3,
	#main-footer .footer-widget ul li {
		text-align: center !important;
	}

	#main-footer .footer-widget .fwidget ul.menu li a {
		font-size: 15px;
	}

	#main-footer #footer-bottom {
		padding-bottom: 36px;
	}
}
