/*
Theme Name: Simple Digital Child
Theme URI: https://simepledigital.dk
Author: Simple Digital ApS
Author URI: https://simpledigital.dk
Description: This is a child theme for Simple Base Theme 
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: 7.4
Version: 2.0.0
Text Domain: base
Template: base
Tags: Simple Digital
*/


.skip-link {
	position: absolute;
	display: inline-block;
	padding: 6px 12px;
	line-height: 1em;
	font-size: 1rem;
	background-color: #C62253;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
	z-index: 999;
	/* Ensure the Y position is set to zero and any movement on the transform property */
	transform: translateY(0);
	transition: transform 250ms ease-in;
  }
  
  /* When it is not focused, transform its Y position by its total height, using a negative value, so it hides above the viewport */
  .skip-link:not(:focus) {
	transform: translateY(-2rem);
  }

  .hide_out_of_focus {
	opacity: 1;
  }
  .hide_out_of_focus:not(:focus) {
	opacity: 0;
  }


.menu-item:focus,
.menu-item a:focus {
	outline: 2px solid #000000 !important;
}

.equal_height,
.equal_height > *,
.equal_height > * > *,
.equal_height div[data-settings*="background_background"] {
	--height: 100%;
	height: 100% !important;
}

.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5 {
	font-weight: 700;
}

span[style*="text-decoration: underline"] a {
	text-decoration: inherit;
}

.elementor-widget-text-editor ul li {
	margin-bottom: 24px;
}
.elementor-widget-text-editor ul li:last-of-type {
	margin-bottom: 0px;
}

.elementor-button .elementor-button-content-wrapper {
	align-items: center;
}
.elementor-button .elementor-button-icon {
	position: relative;
	transition: all 0.35s ease-Out;
	font-size: 12px;
	left: 0;
	top: 1px;
}
.elementor-button:hover .elementor-button-icon {
	left: 8px;
}
.elementor-button-text {
	text-align: left;
}

h2 + p {
	margin-top: 24px;
}

@media screen and (min-width: 991px) {
	.transparent-menu #main_menu_wrapper {
		position: absolute;
		width: 100%;
		z-index: 999;
		background-color: transparent;
	}
}


.elementor-widget-text-editor table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.3em;
}

.elementor-widget-text-editor table:last-child {
    margin-bottom: 0;
}

.elementor-widget-text-editor table th,.elementor-widget-text-editor table td {
    text-align: left;
    padding: 6px;
    vertical-align: top;
}

.elementor-widget-text-editor table th {
    background-color: #C62253;
    color: #FFFFFF;
    font-weight: 700;
}

.elementor-widget-text-editor table tr:nth-child(even) {
    background-color: #f0efea;
}

.elementor-widget-text-editor table caption {
    background-color: #C62253;
    color: #FFFFFF;
    font-size: inherit;
    line-height: 1.2em;
    font-weight: 700;
    text-align: left;
    padding: 6px;
    margin-bottom: 0;
}


.custom_table_widget  {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.3em;
	border: 0px solid transparent;
}

.custom_table_widget :last-child {
    margin-bottom: 0;
}

.custom_table_widget  th,
.custom_table_widget  td {
    text-align: left;
    padding: 6px;
    vertical-align: top;
}

.custom_table_widget th {
    background-color: #C62253;
    color: #FFFFFF;
    font-weight: 700;
}

.custom_table_widget  tr:nth-child(even) {
    background-color: #f0efea;
}



.sidebar_container {
    padding: 24px;
    background: #F5F5F5;
	margin-bottom: var(--dp);
}

.publication_information {
	background: transparent;
	border: 1px solid #EEEEEE;
	margin-bottom: 0px;
}

.news_associated_links {
	--text_color: #ffffff;
	--bg_color: var(--e-global-color-da16c49);
	background: var(--bg_color);
	color: var(--text_color);
}
.news_associated_links.news_associated_links a {
	color: var(--text_color) !important;
}
.news_associated_links svg > * {
	fill: var(--text_color);
}


.sidebar_container .sidebar_header {
	margin-bottom: 12px;
}
.sidebar_header .title {
	font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1em;
}
.news_associated_persons {
	background: #FAFAFA;
	padding: 0;
	border-top: 2px solid #C62253;
}
.news_associated_persons .sidebar_header {
	padding: 24px 12px 24px 12px;
}

.sidebar_container .icon_list a {
	font-size: 0.875rem;
    color: #04161c;
    text-decoration: none;
 }

.sidebar_container .icon_list .line {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.sidebar_container .icon_list .line .icon {
	width: 14px;
	left: 0px;
	position: relative;
	transition: all 0.3s ease;
	flex: 0 0 auto;
}
.news_associated_links .icon_list .line .icon {
    width: 11px;
}


.sidebar_container .icon_list .line.line:hover .icon {
	left: 5px;
}



.menu-item.current-page-ancestor a {
	color: var(--e-global-color-da16c49) !important;
}
#mobile_menu_container .menu-item.current-page-ancestor a {
	color: #ffffff !important;
}

div[data-elementor-post-type="udgivelser"] .e-parent,
div[data-elementor-post-type="artikler"] .e-parent,
div[data-elementor-post-type="nyheder"] .e-parent {
	--margin-bottom: var(--dp);
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0px !important;
}

#breadcrumbs > span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.elementor > .e-con-boxed.e-parent {
	--padding-left: var(--hp);
	--padding-right: var(--hp);
}

:root {
	--lp: 48px;
	--lrp: 48px;
	--dp: 24px;
	--rp: 24px;
	--hp: 12px;
}

.cursor {
    cursor: pointer;
}
.open_icon,
.close_icon {
	--container_size: 40px;
	--icon_size: 16px;
	--thickness: 3px;
	--color: #04161c;
	position: relative;
	width: var(--container_size);
	height: var(--container_size);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0px !important;
}
.close_icon {
	background: transparent !important;
}

.open_icon {
	background: #757575 !important;
	position: absolute;
}
.open_icon svg {
	width: 16px;
}
.open_icon svg * {
	fill: #ffffff;
}
.close_icon.white {
	--color: #ffffff;
}

.close_icon span {
	background-color: var(--color);
	width: var(--icon_size);
	height: var(--thickness);
	position: absolute;
	border-radius: 20px;
}
.close_icon span:first-child {
	transform: rotate(45deg);
}

.close_icon span:last-child {
	transform: rotate(-45deg);
}

@media only screen and (max-width: 991px) {
	:root {
		--lrp: 24px;
		--rp: 12px;
	}

}

.filters_container {
	max-width: 415px;
	padding-bottom: var(--dp);
}
.custom_input_container  {
	margin-bottom: var(--dp);
}
.custom_input_container label {
	display: block;
	font-weight: 700;
}

.category_terms_container {
	display: flex;
	align-items: center;
	gap: 0 var(--lrp);
	margin-bottom: var(--hp);
}
.category_terms_container label {
	display: flex;
	gap: 0px 10px;
	align-items: center;
}
.toggle_project_btn .elementor-button-icon {
	transition: transform 0.2s ease;
}
.toggle_project_btn.content_opened .elementor-button-icon {
    transform: scaleY(-1);
}

.custom_input {
	width: 100%;
	font-size: 1rem;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
    padding: 11px 12px;
    margin: 0;
    outline: none;
    border: 1px solid #BDBDBD;
    border-radius: 0;
}

#search_results {
	border-top: 1px solid #E0E0E0;
	padding-top: var(--lp);
	position: relative;
	transition: filter 0.2s ease;
}

#search_results.loading .result_content {
	filter: blur(5px);
}

#search_results .loading_container {
    position: absolute;
    width: 100vw;
    height: calc(100% + 20px);
	left: 50%;
	top: -10px;
	transform:translate(-50%, 0%);
    background: rgb(255 255 255 / 70%);
    z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}
#search_results.loading  .loading_container {
	opacity: 1;
	visibility: visible;
}


#custom_filter_pagination {
	border-bottom: 1px solid #E0E0E0;
	padding-bottom: var(--lp);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
    gap: 8px;
	flex-wrap: wrap;
}
#custom_filter_pagination #page-numbers {
	display: flex;
	gap: 8px;
}
#custom_filter_pagination .page-numbers {
	font-family: var(--e-global-typography-text-font-family), Arial, Helvetica, sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: #FFFFFF;
    background-color: var(--e-global-color-da16c49);
    border-style: none;
    border-radius: 0px 0px 0px 0px;
}
#custom_filter_pagination .page-numbers,
#custom_filter_pagination button {
	padding: 6px 12px;
}
#custom_filter_pagination .dots {
    background: transparent;
    color: var(--e-global-color-d14a4c5);
    padding: 0px 4px 8px 4px;
}
#custom_filter_pagination .page-numbers.current,
#custom_filter_pagination .page-btn.active {
	background: #9FA092;
}

@media only screen and (max-width: 767px) {
	#custom_filter_pagination #page-numbers {
		order: -1;
		width: 100%;
	}
}



.elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
	margin-top: 24px;
}
.elementor-pagination .page-numbers {
    display: block;
    padding: 6px 12px;
	margin: 0 !important;
    background-color: #C62253;
    color: #FFFFFF;
    text-decoration: none;
    min-width: 33px;	
}
.elementor-pagination .page-numbers:hover {
	color: #FFFFFF;
}
.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
	display: none;
}

.elementor-pagination .page-numbers.current {
	background: #9FA092;
}
.elementor-pagination a.page-numbers.prev,
.elementor-pagination a.page-numbers.next {
	display: block;
}

.show_current_page_only .elementor-pagination .page-numbers {
	display: none;
}
.show_current_page_only .elementor-pagination a.page-numbers.prev,
.show_current_page_only .elementor-pagination a.page-numbers.next,
.show_current_page_only .elementor-pagination .page-numbers.current {
	display: block;
}
.show_current_page_only .elementor-pagination .page-numbers.current {
	display: flex;
	gap: 0 5px;
	color: #04161c;
	background: transparent;
	align-items: center;
}
.show_current_page_only .elementor-pagination .page-numbers.current::before {
	content: 'Side';
	display: block;
    position: relative;
    top: 2px;	
}



.search_result {
	margin-bottom: 72px;
}
.search_result .title a {
	text-decoration: underline;
}

.search_result .desc p {
	margin-bottom: 0px;
}


.lds-ring {
	/* change color here */
	color: var(--e-global-color-d14a4c5);
  }
  .lds-ring,
  .lds-ring div {
	box-sizing: border-box;
  }
  .lds-ring {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
  }
  .lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 8px solid currentColor;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: currentColor transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
  }
  @keyframes lds-ring {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }


