/*!
Theme Name: midspar
Author: yulsn
Author URI: http://yulsn.com
Version: 1.7.145
*/

body {
	font-family: 'Lato', sans-serif;
	padding: 0;
	margin: 0;
}
.nav-block-red {
	background-color: #A70A25 !important;
	color: #ffffff !important;
}
a:link,a:focus {cursor: pointer;}

#totalkredit-embedded-application {
	--primary-color: #A70A25;
	--primary-color--hover: #A70A25;
	--secondary-color: #A70A25;
	--secondary-color--hover: #A70A25;
	--tertiary-color: #A70A25;
	--quarternary-color: #E3E3E3;
	--card-border-color: #A70A25;
	--button-border-radius: 5rem;
	--input-border-radius: 5rem;
	--card-border-radius: 1rem;
}

#totalkredit-embedded-application button::after {
	background-color: rgba(255, 255, 255,0) !important;
	border: none !important;
	transition: none !important;
}

/* First-row percentages with dark text */
#totalkredit-embedded-application 
.new-loan-distribution__legend__row--first p.new-loan-distribution__legend__row__percentage,
#totalkredit-embedded-application 
.supplementary-mortgage-distribution__legend__row--first p.supplementary-mortgage-distribution__legend__row__percentage {
	color: #292622 !important;
}

/* General percentage typography with white text */
#totalkredit-embedded-application 
p.typography.new-loan-distribution__legend__row__percentage,
#totalkredit-embedded-application 
p.typography.supplementary-mortgage-distribution__legend__row__percentage {
	color: #ffffff;
}

/* Change pill background when radio is checked */
.gform_wrapper .ginput_container_radio input[type="radio"]:checked + label::after {
  background-color: #A70A25 !important;
  border-color: #A70A25 !important;
}

/* Change text color when radio is checked */
#gform_wrapper_7.gform_wrapper .ginput_container_radio input[type="radio"]:checked + label {
  color: white !important;
}

.gform_wrapper .gfield .ginput_container_radio {
  margin-top: 15px; 
}


/*===saxo===*/
#IIT-signUpForm.IIT-signUpForm {
	font-family: inherit;
	color: #000000;
	font-size: 14px !important;
	background-color: #FFF !important;
	border: solid 1px #d3d3d3 !important;
	padding: 15px 20px !important;
	width: 200px;
	overflow: visible !important;
	border-radius: 25px;
}

#IIT-signUpForm.IIT-signUpForm input, #IIT-signUpForm.IIT-signUpForm select {
	font-family: inherit;
	font-size: 14px!important;
	border: 1px solid #d3d3d3 !important;
	border-radius: 10px !important;
	height: 25px !important;
	width: 200px;
	padding: 3px 5px;
	color: #000;
}
#IIT-signUpForm.IIT-signUpForm * {
	color: #000000;
	font-size: 14px !important;
}
#IIT-signUpForm.IIT-signUpForm .IIT-button input {
	background-color: #A70a25;
	color: #FFFFFF;
	border-color: #A70a25;
	width: 200px;
	font-family: 'Lato', sans-serif;
	position: relative;
	display: inline-block;
	font-weight: bold;
	color: #FFF;
	padding: 18px 20px 18px 20px;
	min-width: 83px;
	cursor: pointer;
	border-radius: 25px !important;
	text-align: center;
	z-index: 0;
	line-height: 0;
	border: 0;
}
#IIT-signUpForm input[type="text"], #IIT-signUpForm input[type="email"] {
  box-shadow: none !important;
}
#IIT-signUpForm.IIT-signUpForm .styledSelect {display:none !important;}
/*===saxo end===*/

/*RM for pills*/
.meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
	margin-bottom: 10px;
	width: 100%;
	overflow: hidden;
}
.pill-tag { /*RM*/
	display: inline-block;
	background-color: #d00000;
	color: #f9f9f9;
	padding: 0px 10px;
	border-radius: 9999px;
	text-transform: uppercase;
	float: left;
	font-size: calc(11px * var(--text-scaler));
	line-height: calc(24px * var(--text-line-scaler));
	letter-spacing: 0.8px;
}
.pill-red {
	background-color: #A70A25 ;
}

.pill-green {
	background-color: #41744F;
}
/*End RM For Pills*/

.counter {color: #333333 !important;}
#form {
	display: flex;
	justify-content: center;
	align-items: center;
}
#info-popup,
main {
	--text-scaler: 1;
	--text-line-scaler: 1;
	--text-line-scaler-em: 1.5em;
}

.container {
	width: 1240px;
	margin: 0 auto;
}

.page:not(.ontop) {
	padding-top: 100px;
}

#image-with-text.first-top.full {
	padding-top: 0;
	align-items: unset;
}

#image-with-text.first-top.full {
	padding-top: 0;
	align-items: unset;
}

#image-with-text.first-top.full .image-with-text-right {
	padding-top: 122px;
}

#image-with-text.first-top.full.vacancies .image-with-text-right,
#image-with-text.first-top.full.finddepartment .image-with-text-right {
	margin-top: 122px;
	padding-top: 0;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

ul {
	padding-left: 19px;
	margin: 0;
	list-style: disc;
}

ol {
	list-style: none;
	counter-reset: li;
	padding-left: 0px;
}
.gform_wrapper ul li:before {
	content:'';
}
#accordion-list .accordion .accordion-text ol li,
ul li,
ol li {
	color: #4C515A;
	font-size: calc(16px * var(--text-scaler));
	line-height: calc(24px * var(--text-line-scaler));
}

#accordion-list .accordion .accordion-text ol li:before,
ol li::before {
	content: counter(li) ". ";
	color: #A70A25;
	display: inline-block;
	width: auto;
	font-weight: bold;
	margin-right: 6px;
	font-size: 16px;
	margin-left: 0;
	top: 0;
}

#accordion-list .accordion .accordion-text ol :first-child {
	margin-top: 0;
}

#accordion-list .accordion .accordion-text ol li,
ol li {
	counter-increment: li;
}

ul.checklist {
	list-style: none;
}

ul.checklist li {
	position: relative;
}

ul.checklist li:before {
	background-image: url('/wp-content/themes/midspar/image/icon/ic-chekcmark.svg');
	background-size: 100%;
	content: '';
	height: 100%;
	left: -19px;
	position: absolute;
	width: 12px;
	top: 9px;
	background-repeat: no-repeat;
}

#accordion-list .accordion .accordion-text ul,
section:not(#fact-box):not(#accordion-list):not(#news) ul {
	list-style: none;
	margin-bottom: 30px;
}

#fact-box ul:not(.checklist) li:before,
section ul.accordion li:before {
	display: none;
}
#image-with-text .text blockquote,
#wysiwyg blockquote {
	position: relative;
	font-style: italic;
}

#image-with-text .text blockquote:before,
#wysiwyg blockquote:before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' fill='%234C515A' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M13 14.725c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275zm-13 0c0-5.141 3.892-10.519 10-11.725l.984 2.126c-2.215.835-4.163 3.742-4.38 5.746 2.491.392 4.396 2.547 4.396 5.149 0 3.182-2.584 4.979-5.199 4.979-3.015 0-5.801-2.305-5.801-6.275z'/%3E%3C/svg%3E");
	position: absolute;
	top: -10px;
	left: -25px;
}

#accordion-list .accordion .accordion-text ul li:before,
section ul li:before {
	content: "\2022";
	color: #A70A25;
	font-weight: bold;
	display: inline-block;
	width: 20px;
	margin-left: -20px;
	font-size: 14px;
	position: relative;
	top: -1px;
	float: left;
}

#newsletter ul li:before, #newsletter-erhverv ul li:before  {
	display: none;
}

#accordion-list .accordion .accordion-text ol li,
section:not(#fact-box):not(#accordion-list) ol li {
	margin-bottom: 8px;
	display: flex;
}

#wysiwyg ol li a,
#wysiwyg ul li a {
	display: contents;
}

#accordion-list .accordion .accordion-text ul li,
section:not(#fact-box):not(#accordion-list):not(#news) ul li {
	margin-bottom: 8px;
}

#accordion-list .accordion .accordion-text ul.checklist li:before,
section:not(#fact-box):not(#accordion-list) ul.checklist li:before {
	background-image: url('/wp-content/themes/midspar/image/icon/ic-chekcmark-red.svg');
	background-size: 100%;
	content: '';
	height: 100%;
	left: 0px;
	position: absolute;
	width: 10px;
	top: 9px;
	background-repeat: no-repeat;
}

main a {
	font-size: calc(16px * var(--text-scaler));
	color: #A70A25;
}

main ol a:not(.btn):hover,
main ul a:not(.btn):hover,
main p a:not(.btn):hover {
	text-decoration: underline;
}

a {
	color: #000000;
	text-decoration: none;
	cursor: pointer;
}

.search-block .search-block-menu .search-menu ul li a:hover,
.gform_wrapper .ginput_container_radio li:hover label,
#breadcrumbs a:hover,
#footer .footer-col ul li a:hover,
p a:hover {
	color: #A70A25;
}

p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: calc(16px * var(--text-scaler));
	line-height: var(--text-line-scaler-em);
	/*color: #4C515A;*/
	color: #33333c;
}

p.manchet {
	color: #000000;
	font-size: calc(22px * var(--text-scaler));
	line-height: calc(33px * var(--text-line-scaler));
	font-weight: 300;
}

p.sma-text {
	font-size: calc(14px * var(--text-scaler));
	line-height: calc(21px * var(--text-line-scaler));
}

p.indledente-title {
	font-size: calc(11px * var(--text-scaler));
	line-height: calc(24px * var(--text-line-scaler));
	color: #000000;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Roboto Slab', serif;
	color: #A70A25;
	margin: 0;
	word-wrap: break-word;
}

main h1 a,
h1 {
	font-size: calc(75px * var(--text-scaler));
	line-height: calc(77px * var(--text-line-scaler));
}

main h2 a,
h2 {
	font-size: calc(55px * var(--text-scaler));
	line-height: calc(57px * var(--text-line-scaler));
}

main h3 a,
h3 {
	font-size: calc(40px * var(--text-scaler));
	line-height: calc(42px * var(--text-line-scaler));
}

main h4 a,
h4 {
	font-size: calc(35px * var(--text-scaler));
	line-height: calc(37px * var(--text-line-scaler));
}

main h5 a,
h5 {
	font-size: calc(25px * var(--text-scaler));
	line-height: calc(27px * var(--text-line-scaler));
}

main h6 a,
h6 {
	font-size: calc(20px * var(--text-scaler));
	line-height: calc(22px * var(--text-line-scaler));
}

input[type="search"]::-webkit-search-cancel-button{
	cursor: pointer;
}

#dawa-address-submit-button,
.gform_wrapper .gform_page_footer .button,
button,
a.btn {
	font-family: 'Lato', sans-serif;
	position: relative;
	display: inline-block;
	font-size: calc(14px * var(--text-scaler));
	font-weight: bold;
	color: #FFF;
	padding: 18px 20px 18px 20px;
	min-width: 83px;
	cursor: pointer;
	border-radius: 25px;
	text-align: center;
	z-index: 0;
	line-height: 1;
	border: 0;
	background: #a70a25;
}

#newsletter .gform_wrapper button, #newsletter-erhverv .gform_wrapper button  {
	padding: 18px 20px 18px 20px !important;	
	color: #FFF !important;
}

#dawa-address-submit-button {
	height: 44px;
	padding: 0 20px;
}


a.btn:hover {
	color: #FFF;
}

a.btn.white.border:hover,
a.btn.white:hover {
	color: #A70A25;
}

.tk-modal__text-container h3 {
	padding-bottom: 1rem;
}

.tk-energiberegner__progressbar__circle {
	line-height: 32px;
}

.tk-form-field__energiberegner-modal input {
	height: 18px !important;
}

#hvadgoerandrenu {
	max-width: 100%;
	box-sizing: border-box;
}

#input-windows-area-mobile,
#input-area-mobile {
	height: auto !important;
	line-height: 2 !important;
	font-size: 16px;
}

.tk-select--energiberegner-modal {
	height: 46px !important;
	line-height: 46px !important;
	padding: 0 20px !important;
}

.tk-energiberegner__progressbar__item:before {
	display: none;
}

.tk-energiberegner__get-started__card-container {
	max-width: 100% !important;
	box-sizing: border-box;
	margin-left: 0 !important;
}

.tk-energiberegner__get-started__card {
	min-width: auto !important;
	box-sizing: border-box;
}


#dawa-address-submit-button:after,
.gform_wrapper li.default-style .ginput_container_radio label:after,
.gform_wrapper li.default-style .ginput_container_checkbox label:after,
.gform_wrapper .ginput_container_radio li label:after,
.gform_wrapper .gform_page_footer .button:after,
form button:after,
a.btn:after {
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	width: calc(100% - 3px);
	height: calc(100% - 3px);
	border-radius: 25px;
	border: 1.5px solid #A70A25;
	background-color: #A70A25;
	z-index: -1;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	backface-visibility: hidden;
}

.tk-button{color: #ffffff !important;} /*RM*/

.tk-bottom-button-group .tk-button:after,
.gform_wrapper button:after,
.gform_wrapper .gform_page_footer .button:after {
	width: 100%;
	height: 100%;
}

.tk-bottom-button-group .tk-button {
	background: transparent;
	border-radius: 100%;
	box-shadow: none;
}

a.btn.white {
	color: #000;
	min-width: 91px;
	transition: 0.3s;
	background: #FFFFFF;
}

.gform_wrapper li.default-style .gfield_label {
	font-size: 16px !important;
	margin-left: 0;
	padding-left: 0 !important;
	left: 0 !important;
	top: 0 !important;
}

.gform_wrapper li.default-style .ginput_container_radio,
.gform_wrapper li.default-style .ginput_container_checkbox {
	padding-top: 10px;
}

.gform_wrapper li.default-style .ginput_container_radio label,
.gform_wrapper li.default-style .ginput_container_checkbox label {
	position: relative;
	margin-left: 0 !important;
	margin-bottom: 0 !important;
	text-align: center !important;
}

.gform_wrapper li.default-style .ginput_container_radio label:after,
.gform_wrapper li.default-style .ginput_container_checkbox label:after,
.gform_wrapper .ginput_container_radio li label:after {
	border: 1.5px solid #dedede;
	background-color: #FFF;
	box-shadow: 0px 8px 9px #0000000D;
	width: 100%;
	height: 100%;
}

.gform_wrapper li.default-style .ginput_container_radio label:after,
.gform_wrapper li.default-style .ginput_container_checkbox label:after {
	border-color: #dcdfe6;
}


.gform_legacy_markup_wrapper li.default-style ul.gfield_checkbox li input[type=checkbox]:checked+label {
	background: transparent !important;
	border: 0 !important;
	box-shadow: unset !important;
	font-weight: 700 !important;
}



a.btn.white:after {
	border: 1.5px solid #FFF;
	background-color: #FFF;
}

a.btn.transparent {
	background-color: transparent;
	color: #FFF;
}

a.btn.transparent:after {
	background-color: transparent;
	border: 1.5px solid #FFF;
}

a.btn.shadow {
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
}

a.btn.white.border {
	color: #000;
	transition: 0.3s;
}

a.btn.white.border:after {
	border: 1.5px solid #A70A25;
	background-color: #FFF;
}

a.btn img {
	height: 15px;
	margin-right: 8px;
	vertical-align: text-top;
}

button.btn.netbank-button svg {
	height: 15px;
	margin-right: 3px;
	vertical-align: text-top;
	transition: 0.3s;
}

button.btn.netbank-button {
	background: #fff;
	color: #000;
	min-width: 131px;
	transition: 0.3s;
}



.netbank-list {
	display: none;
	position: absolute;
	top: 0;
	left: -210px;
	background: #FFF;
	border-radius: 25px;
	padding: 12px 60px 12px 25px;
	flex-flow: column;
	transition: 0.3s;
	z-index: -1;
}

.netbank-list a {
	display: block;
	font-size: 14px;
	padding: 6px 0;
	display: inline-flex;
}

.netbank-list a svg {
	width: auto;
	height: 16px;
	margin-right: 6px;
}

.netbank-list a b {
	display: contents;
}

#netbank-block {
	margin-left: auto;
	position: relative;
}

.close-netbank {
	display: none;
	cursor: pointer;
}
#currency-rates .head {
	background-color: #F2F4F7;
	padding: 20px 15px;
	display: flex;
}
#currency-rates .rate {
	padding: 15px 15px;
	display: flex;
}
#currency-rates .rate.highlighted {
	background-color: #F9FAFB;
	background-color: #a70a2545;
}
#currency-rates .head > div:not(:first-child),
#currency-rates .rate > div:not(:first-child) {
	width: 20%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
#currency-rates .head > div:first-child,
#currency-rates .rate > div:first-child {
	width: 60%;
	display: flex;
	align-items: center;
}
#currency-rates .head,
.rate .country {
	font-weight: bold;
}
.rate .img {
	margin-right: 10px;
	height: 30px;
	width: 30px;
	display: flex;
	align-items: center;
}
.rate span {
	margin-right: 5px;
}
@media (min-width: 1025px){
	#netbank-block:hover button.btn.netbank-button {
		background: #a70a25;
	}
	#netbank-block:hover button.btn.netbank-button svg line,
	#netbank-block:hover button.btn.netbank-button svg path {
		stroke: #FFF;
		transition: 0.3s;
	}

	#netbank-block:hover button.btn.netbank-button {
		color: #FFF;
		backgorund-color: #A70A25;
	}

	#netbank-block:hover button.btn.netbank-button:after {
		background-color: #A70A25;
		color:#FFF;
		border-color:  #A70A25;
	}

	#netbank-block:hover .netbank-list {
		display: flex;
	}
}

@media (max-width: 1200px){
	#site-navigation .allow-desktop {
		display: block;
		margin-top: -15px;
	}
}

@media (max-width: 1024px){
	#site-navigation .allow-desktop {
		display: none;
	}
	#netbank-block.active button.btn.netbank-button svg line,
	#netbank-block.active button.btn.netbank-button svg path {
		stroke: #FFF;
		transition: 0.3s;
	}

	#netbank-block.active button.btn.netbank-button {
		color: #FFF;
		background: #A70A25;
	}

	#netbank-block.active button.btn.netbank-button:after {
		background-color: #A70A25;
		color:#FFF;
		border-color:  #A70A25;
	}

	#netbank-block.active .netbank-list {
		display: flex;
		position: fixed;
		top: 80px;
		left: auto;
		right: 77px;
		padding: 15px 49px 15px 25px;
	}

	#netbank-block.active .close-netbank {
		display: block;
		position: absolute;
		top: 3px;
		right: 0;
		transform: rotate(45deg);
		color: #a70a25;
		font-size: 40px;
		width: 30px;
		height: 30px;
	}
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
	margin-top: 0 !important;
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .ginput_container_address .gform-grid-col {
	margin-top: 16px;
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .activehover.gform-grid-col label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .activeinput.gform-grid-col label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activehover .gfield_label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activeinput .gfield_label,
.input-block label {
	color: #4C515A;
	font-size: 11px;
	position: absolute;
	left: 10px;
	top: -7px;
	background-color: #FFF;
	padding: 0 5px;
	white-space: nowrap;
}

.input-block {
	position: relative;
	max-width: 330px;
	width: 100%;
	display: inline-block;
}

.input-block.dep {
	margin-left: 15px;
}

.styledSelect,
select {
	background-color: #FFF;
	border: 2px solid #DCDFE6;
	line-height: 50px;
	height: 50px;
	border-radius: 5px;
	color: #4C515A;
	padding-left: 14px;
	padding-right: 30px;
	font-size: 16px;
	cursor: pointer;
	transition: 0.3s;
}

.disabled .styledSelect {
	cursor: default;
	pointer-events: none;
	background: rgba(246, 246, 246, 0.3);
	color: #c3c2c2;
}

ul.options {
	display: none;
	margin-top: 9px;
	box-shadow: 0px 1px 19px rgba(000, 000, 000, 0.1);
	border-radius: 5px;
	padding: 18px 0;
	list-style: none;
	position: absolute;
	z-index: 99;
	background: #FFF;
	width: 100%;
}

ul.options li {
	color: #4C515A;
	font-size: 16px;
	margin-bottom: 0;
	padding: 7px 7px 7px 22px;
	cursor: pointer;
}

ul.options li:hover {
	background-color: #F2F4F7;
}

ul.options li:before {
	display: none;
}

select.s-hidden {
	display: none;
}

.input-block svg {
	transform: rotate(90deg);
	position: absolute;
	right: 23px;
	top: 22px;
	transition: 0.3s;
}

.input-block.active svg {
	transform: rotate(-90deg);
	transition: 0.3s;
}

.styledSelect:hover,
select:hover {
	border: 2px solid #DCDFE6;
	transition: 0.3s;
}

#dawa-address-submit-button:hover:after,
.gform_wrapper .ginput_container_radio li:hover label:after,
.gform_wrapper .gform_page_footer .button:hover:after,
.video-img .play-btn:hover span:after,
form button:hover:after,
a.btn.white.border:hover:after,
a.btn:hover:after {
	transform: perspective(1px) scale(1.04, 1.05);
	backface-visibility: hidden;
}

body.using-mouse :focus {
	outline: 2px solid #000;
	-moz-outline:2px solid #000;
	-webkit-outline:2px solid #000;
}

:focus {
	outline: 0;
}

.archive .site-main {
	padding-top: 0;
}

.error404 #main,
.single-post:not(.ontop) #main {
	padding-top: 150px;
}

.site-main {
	padding-top: 150px;
}

header {
	display: flex;
	position: fixed;
	width: 100%;
	height: 100px;
	flex-flow: wrap;
	align-items: center;
	top: 0;
	transition: top 0.3s;
	z-index: 9;
}

body.admin-bar header {
	top: 32px;
}

header .site-branding {
	width: 160px;
	margin-left: 20px;
	z-index: 71;
}

header .site-branding a {
	display: block;
}

header #site-navigation {
	padding-left: 41px;
}

header #site-navigation > div {
	display: inline-block;
}

#site-navigation .allow-desktop {
	color: #A70A25;
}

header #site-navigation div ul li > a {
	padding-right: 41px;
	line-height: 90px;
	color: #A70A25;
}

header #site-navigation .custom-menu-element {
	color: #A70A25;
	padding-right: 41px;
}

header #site-navigation .custom-menu-element:hover,
#site-navigation .allow-desktop:hover,
header #site-navigation div ul li > a:hover {
	color: #000;
}

header #site-navigation a {
	font-weight: bold;
	font-size: 20px;
}

header #site-navigation li .sub-menu {
	display: none;
	position: fixed;
	top: 0px;
	left: 0;
	width: 50%;
	height: calc(100% - 30px);
	padding-top: 154px;
	z-index: -1;
	overflow: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
	animation: left_to_right 0.6s ease;
}

header #site-navigation ul {
	list-style: none;
	padding-left: 0;
}

header #site-navigation .menu.active li .sub-menu li .sub-menu {
	display: none;
	left: 50%;
	top: 0px;
	width: 50%;
	height: calc(100% - 66px);
	z-index: 60;
	border-radius: 0px 0px 0px 100px;
	animation: bottom_to_top 0.6s ease;
}

header #site-navigation li .sub-menu li .sub-menu li {
	display: none;
}

header #site-navigation li .sub-menu:before {
	content: "";
	position: fixed;
	bottom: 0;
	left: 50%;
	width: 100px;
	height: 100px;
	z-index: 66;
	background-image: radial-gradient(circle at 100% 0, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100px, rgb(255, 255, 255) 100px);
	background-size: 100px 100px;
	background-repeat: no-repeat;
	background-position: left bottom;
}

.menu-bg {
	display: none !important;
}

.menu-active header #site-navigation div ul.active li.menu-bg {
	position: fixed;
	top: 0;
	display: block !important;
	left: 50%;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.4;
	border-radius: 0px 0px 0px 100px;
	z-index: -2;
	cursor: auto;
}

/*header #site-navigation li .sub-menu:after {
content: "";
position: fixed;
top: 0;
left: 50%;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0.8;
border-radius: 0px 0px 0px 100px;
}*/

header #site-navigation li .sub-menu .sub-menu:before,
header #site-navigation li .sub-menu .sub-menu:after {
	display: none;
}

header #header-search {
	margin-right: 20px;
	display: flex;
}

header .netbank-button {
	z-index: 99;
}

header #header-search button {
	padding: 0;
	width: 50px;
	height: 50px;
	min-width: auto;
	line-height: 50px;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
	margin-left: 20px;
	border: 0;
}


header #header-search button span:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url(/wp-content/themes/midspar/image/icon/ic-search-red.svg);
	background-repeat: no-repeat;
	background-size: 12px;
	background-position: center center;
}

header #header-search button:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #FFF;
	border-radius: 100%;
	z-index: -1;
	transition: 0.4s;
}

header #header-search button:hover:after {
	transform: scale(1.08);
}

.search-banner .search-banner-block a:hover {
	left: 51%;
	transition: 0.3s;
}

header #header-search button img {
	vertical-align: middle;
	width: 12px;
	height: 12px;
}

header .btn {
	margin-left: auto;
	font-size: 14px;
}

header #mobile-menu-btn {
	display: none;
}

body.search-active {
	overflow-y: hidden;
}

body.search-active header {
	background: #F2F4F7;
}

.search-block {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #F2F4F7;
	opacity: 0;
	z-index: 2;
	animation: fadeOut ease 0.4s;
	-webkit-animation: fadeOut ease 0.4s;
	-moz-animation: fadeOut ease 0.4s;
	-o-animation: fadeOut ease 0.4s;
	-ms-animation: fadeOut ease 0.4s;
}

.search-block.active {
	display: block;
	animation: fadeIn ease 0.4s;
	-webkit-animation: fadeIn ease 0.4s;
	-moz-animation: fadeIn ease 0.4s;
	-o-animation: fadeIn ease 0.4s;
	-ms-animation: fadeIn ease 0.4s;
	opacity: 1;
	overflow-y: auto;
}

.search-info {
	display:block;
	font-weight: 200;
	font-size: 22px;
	line-height: 33px;
	color: #000;
	width: 100%;
	padding-bottom: 30px;
}

.search-block #ais-wrapper,
.search-block form {
	position: relative;
	width: 85%;
	margin: 146px auto 0 auto
}

.home-custom-search input,
#algolia-search-box input,
input[type="text"],
.search-block form input.search-field {
	width: 100%;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
	border-radius: 45px;
	background-color: #FFF;
	color: #4C515A;
	font-size: 22px;
	line-height: 90px;
	height: 90px;
	padding-left: 88px;
	padding-right: 30px;
	border: 0;
}

.home-custom-search input {
	line-height: 60px;
	height: 60px;
	font-size: 14px;
}

#algolia-search-box {
	margin-bottom: 37px;
	position: relative
}

.clean-search-input {
	display: none;
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

.clean-search-input svg {
	width: 14px;
	height: 14px;
}

.home-custom-search {
	position: relative;
	max-width: 650px;
	margin: 10px auto 50px auto;
	padding: 0 20px;
}

.home-custom-search .custom-search-submit,
#algolia-search-box .search-submit {
	position: absolute;
	top: 30px;
	left: 35px;
	width: 28px;
	height: 28px;
	border: 0;
	color: transparent;
	background-image: url('/wp-content/themes/midspar/image/icon/ic-search-red.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	background-color: transparent;
	cursor: auto;
	fill: #a60a22;
}

.home-custom-search .custom-search-submit {
	top: 16px;
	cursor: pointer;
	left: 50px;
}

.search-block-menu {
	display: flex;
	flex-flow: wrap;
	padding-top: 22px;
	width: calc(85% - 88px);
	margin: 0 auto;
	padding-left: 88px;
	padding-bottom: 80px;
}

.ais-facets a,
.ais-hits--item h5 {
	color: #000000;
	font-size: 25px;
	line-height: 27px;
	font-weight: 400;
	transition: 0.3s;
}

.ais-hits a:hover .excerpt p,
.ais-hits a:hover h5 {
	color: #A70A25;
}

.ais-hits .item-department {
	width: calc(50% - 10px);
	display: inline-block;
	background: #FFFFFF;
	box-shadow: 0px 8px 19px rgba(000,000,000,0.1);
	border-radius: 20px;
	padding: 26px 60px 35px 33px;
	box-sizing: border-box;
	margin-right: 20px;
	border: 0;
	position: relative;
	transition: 0.3s;
	top: 0;
}

#algolia-result .hist-title.hits-user {
	border-bottom: 0;
}

#algolia-result .hist-title.hits-department {
	border-bottom: 0;
	padding-bottom: 0;
}

.ais-hits a.item-department:nth-of-type(even) {
	margin-right: 0px;
}

.ais-hits .item-department h5 {
	font-size: 20px;
	line-height: 22px;
}

.ais-hits .item-department .block-left,
.ais-hits .item-department .block-right {
	width: 48%;
	display: inline-block;
	padding-top: 15px;
	color: #4C515A;
	font-size: 14px;
	line-height: 21px;
	padding-right: 2%;
}

.ais-menu--item .ais-menu--count {
	padding-left: 3px;
	display: none;
}

.ais-hits a.item-department .date,
.ais-hits img {
	display: none;
}

.ais-hits a.item-post .date,
.ais-hits a.item-page .date,
.ais-hits a.item-event .date {
	display: block;
	font-size: 11px;
	line-height: 24px;
	letter-spacing: 1.1px;
	padding-bottom: 5px;
	color: #000;
}

.ais-hits a.item-page .date {
	display: none;
}

.ais-hits a.item-post .date .tax,
.ais-hits a.item-page .date .tax,
.ais-hits a.item-event .date .tax {
	text-transform: uppercase;
	color: #A70A25;
	padding-right: 10px;
}

/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.ais-hits .item-department img {
	position: absolute;
	display: block;
	right: 35px;
	bottom: 40px;
	transition: 0.3s;
}

.ais-hits--item p {
	font-size: 14px;
	line-height: 21px;
	color: #4C515A;
	margin-top: 5px;
	margin-bottom: 0;
	transition: 0.3s;
}

.ais-hits--item .excerpt p {
	max-width: 480px;
	width: 100%;
}
.ais-hits--item.item-page .excerpt,
.ais-hits--item.item-post .excerpt {
	display: none !important;
}

#algolia-result .hist-title {
	display: block;
	font-family: 'Roboto Slab', serif;
	color: #A70A25;
	font-size: 20px;
	line-height: 22px;
	border-bottom: 1px solid #d8dbe0;
	margin-top: 46px;
	padding-bottom: 32px;
	margin-bottom: 20px;
}

#algolia-result .hist-title {
	display: none;
}

#algolia-result .item-user,
#algolia-result .employee-algolia {
	display: none;
}

#algolia-result .employee-algolia.user {
	display: block;
}

#algolia-result .ais-hits .hits-user.active,
#algolia-result .ais-hits .hits-event.active,
#algolia-result .ais-hits .hits-department.active,
#algolia-result .ais-hits .hits-post.active,
#algolia-result .ais-hits .hits-pdf.active,
#algolia-result .ais-hits .hits-page.active {
	display: block;
}

#algolia-result h6 {
	border-bottom: 1px solid #4C515A;
	margin-top: 46px;
	padding-bottom: 32px;
	font-weight: 400;
}

#facet-post-types {
	text-align: center;
	padding-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#facet-post-types .ais-header,
#facet-post-types .ais-body {
	display: inline-block;
}

#facet-post-types .ais-menu--list .alletab {
	order: -1;
}

#facet-post-types .ais-menu--list .alletab,
#facet-post-types .ais-menu--list .ais-menu--item {
	display: inline-block;
}

#facet-post-types .ais-menu--list .alletab a,
#facet-post-types .ais-menu--list .ais-menu--item a {
	border: 0;
	font-size: 14px;
	line-height: 20px;
	color: #4C515A;
	font-weight: bold;
	padding: 8px 30px 10px 28px;
}

#facet-post-types .ais-menu--list .alletab a:hover,
#facet-post-types .ais-menu--list .ais-menu--item a:hover {
	color: #A70A25;
}

#facet-post-types .ais-menu--list .alletab.ais-menu--item__active a,
#facet-post-types .ais-menu--list .ais-menu--item.ais-menu--item__active a {
	color: #A70A25;
	box-shadow: 0px 8px 19px #0000001A;
	border-radius: 18px;
	background: #FFF;
	transition: unset;
}

.ais-facets a,
.ais-hits--item {
	margin-top: 20px;
	border-bottom: 1px solid #d8dbe0;
	display: block;
	padding-bottom: 20px;
}

.ais-facets a {
	padding-bottom: 20px;
}

.ais-hits--item em {
	font-style: normal;
}

#algolia-pagination {
	margin-top: 20px;
	margin-bottom: 40px;
}

#algolia-pagination ul {
	list-style: none;
	padding: 0;
}

#algolia-pagination ul li {
	display: inline-block;
	padding-right: 10px;
}

#algolia-stats,
#algolia-result {
	display: none;
}

.search-block-menu .search-menu {
	flex: 0 0 18%;
}

.search-block-menu .search-banner {
	flex: 0 0 calc(46% - 105px);
}

.search-banner .search-banner-block {
	position: relative;
	background-color: #A70A25;
	border-radius: 0 50px;
	height: 405px;
	width: 408px;
	float: right;
}

.search-banner .search-banner-block:hover span.btn {
	left: 51%;
}

.search-banner .search-banner-block span {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #FFF;
	font-size: 40px;
	line-height: 42px;
	font-family: 'Roboto Slab', serif;
	padding: 0 74px;
	text-align: center;
}

.search-banner .search-banner-block .btn {
	width: 45px;
	height: 45px;
	line-height: 45px;
	padding: 0;
	position: absolute;
	bottom: 31px;
	left: 50%;
	transform: translateX(-50%);
	border: 0;
	background: #FFF;
	transition: 0.3s;
	min-width: auto;
	top: auto;
	border-radius: 100%;
}

.search-banner .search-banner-block .btn:after {
	display: none;
}

.search-banner .search-banner-block .btn img {
	width: 12px;
	height: 7px;
	margin: 0;
	vertical-align: middle;
	margin-top: -7px;
}

.search-active header #header-search button:after {
	background-color: #a70a25;
}

.search-active header #header-search button span:before {
	background-image: url(/wp-content/themes/midspar/image/icon/ic-close-white.svg);
}

.ontop #navigation-block {
	padding: 0;
}

#navigation-block {
	position: relative;
	height: 100vh;
	display: flex;
	flex-flow: wrap;
	overflow: hidden;
	padding: 50px 0;
}

.navigation-block-left {
	position: relative;
	width: 50%;
	height: calc(100% - 230px);
	margin-top: 230px;
	text-align: center;
	overflow: scroll;
}

.navigation-block-left h1,
.navigation-block-left h2,
.navigation-block-left h3,
.navigation-block-left h4 {
	font-weight: normal;
	padding-bottom: 32px;
	padding-left: 20px;
	padding-right: 20px;
	width: auto;
	text-align: center;
}

.error404 section h1,
.navigation-block-left h1 {
	font-size: calc(55px * var(--text-scaler));
	line-height: calc(57px * var(--text-line-scaler));
}

.finddepartment .navigation-block-list,
.vacancies .navigation-block-list,
.navigation-block-left .navigation-block-list {
	display: flex;
	flex-wrap: wrap;
	/*height: calc(100vh - 320px);*/
	max-height: 100%;
	height: auto;
	width: auto;
	max-width: 440px;
	margin: 0 auto;
	padding-top: 10px;
	/*overflow: scroll;*/
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.vacancies #breadcrumbs,
.finddepartment h1,
.finddepartment .navigation-block-list,
.vacancies h1,
.vacancies h2,
.vacancies h3,
.vacancies h4,
.vacancies .navigation-block-list {
	max-width: 100%;
	padding-left: 20px;
	padding-right: 20px;
}

.vacancies .text h1,
.vacancies .text h3,
.vacancies .text h4,
.vacancies .text h2 {
	margin-bottom: 30px;
}

.finddepartment .navigation-block-listm
.vacancies .navigation-block-list {
	margin-top: 26px;
}

.finddepartment .text,
.vacancies .text {
	height: calc(100% - 230px);
}

.finddepartment .image-with-text-right,
.vacancies .image-with-text-right {
	position:relative;
	overflow: scroll;
}

.finddepartment:after,
.vacancies:after,
#navigation-block:after {
	content: '';
	position: absolute;
	width: 50%;
	height: 80px;
	/*height: 150px;*/
	bottom: -3px;
	left: 0;
	background: transparent linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%) 0% 0% no-repeat padding-box;
}

.finddepartment.bottom:after,
.vacancies.bottom:after,
#navigation-block.bottom:after {
	display: none;
}

#image-with-text.vacancies.bottom .bottom-arrrow,
#image-with-text.finddepartment.bottom .bottom-arrrow,
#navigation-block.bottom .bottom-arrrow {
	transition: 0.6s;
	-moz-animation:fadeOut ease 0.4s;
	-webkit-animation: fadeOut ease 0.4s;
	animation: fadeOut ease 0.4s;
	opacity: 0;
}

#image-with-text.vacancies .bottom-arrrow.hide,
#image-with-text.finddepartment .bottom-arrrow.hide,
#navigation-block .bottom-arrrow.hide {
	display: none !important;
}

#image-with-text.vacancies .bottom-arrrow,
#image-with-text.finddepartment .bottom-arrrow,
#navigation-block .bottom-arrrow {
	display: block;
	position: absolute;
	left: 0;
	bottom: 40px;
	width: 50%;
	height: 20px;
	text-align: center;
	z-index: 1;
	transition: 0.6s;
	opacity: 1;
	-moz-animation: bounce 2s infinite, fadeIn ease 0.4s;
	-webkit-animation: bounce 2s infinite, fadeIn ease 0.4s;
	animation: bounce 2s infinite, fadeIn ease 0.4s;
}

#image-with-text.vacancies .bottom-arrrow svg,
#image-with-text.finddepartment .bottom-arrrow svg,
#navigation-block .bottom-arrrow svg {
	transform: rotate(90deg);
	width: 20px;
	height: auto;
}


.navigation-block-left::-webkit-scrollbar,
.finddepartment .image-with-text-right::-webkit-scrollbar,
.vacancies .image-with-text-right::-webkit-scrollbar,
header #site-navigation .sub-menu-wrap::-webkit-scrollbar,
header #site-navigation li .sub-menu::-webkit-scrollbar,
.navigation-block-left .navigation-block-list::-webkit-scrollbar {
	width: 0;
	height: 0;
}


.finddepartment .navigation-block-list .nav-block,
.vacancies .navigation-block-list .nav-block,
.navigation-block-left .navigation-block-list .nav-block {
	cursor: pointer;
	position: relative;
	top: 0;
	flex: 0 0 320px;
	display: inline-flex;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	margin: 0 auto 31px auto;
	align-items: center;
	color: #4C515A;
	font-size: 14px;
	padding: 23px 30px 23px 20px;
	transition: 0.3s;
	text-align: left;
	height: 29px;
}

#navigation-block .bottom-arrrow,
.finddepartment .bottom-arrrow {
	cursor: pointer;
}

.finddepartment .navigation-block-list .nav-block,
.vacancies .navigation-block-list .nav-block {
	flex: 1 0 100%;
	padding: 26px 60px 35px 33px;
	height: auto;
	flex-wrap: wrap;
	margin: 0 0 22px 0;
	border-radius: 20px;
	width: 100%;
	box-sizing: border-box;
}

.finddepartment .customlast {
	height: 90px;
}

.finddepartment .navigation-block-list .overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.8);
}

.finddepartment .navigation-block-list .nav-block.custom {
	display: none;
}

.finddepartment .navigation-block-list svg {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9;
}

.finddepartment .navigation-block-list .nav-block .title,
.vacancies .navigation-block-list .nav-block .title {
	display: block;
	flex: 100%;
	color: #000;
	font-size: 20px;
	line-height: 22px;
	font-family: 'Roboto Slab', serif;
	font-weight: 400;
}

.vacancies .navigation-block-list .nav-block .subtitle {
	display: block;
	color: #4C515A;
	font-size: 14px;
	line-height: 21px;
	padding-top: 10px;
}

.finddepartment .navigation-block-list .break.last,
.vacancies .navigation-block-list .break.last {
	height: 100px;
}

.navigation-block-left .navigation-block-list .break.last {
	height: 40px;
}

.navigation-block-left .navigation-block-list .nav-block .icon {
	width: 35px;
	padding-right: 12px;
	text-align: center;
}

.navigation-block-left .navigation-block-list .nav-block .icon img {
	max-width: 35px;
	max-height: 27px;
}

.finddepartment .navigation-block-list .nav-block img.arrow,
.vacancies .navigation-block-list .nav-block img.arrow,
.navigation-block-left .navigation-block-list .nav-block img.arrow {
	margin-left: auto;
	transition: 0.3s;
	padding-left: 10px;
}

.finddepartment .navigation-block-list .nav-block:hover,
.vacancies .navigation-block-list .nav-block:hover,
.navigation-block-left .navigation-block-list .nav-block:hover {
	color: #A70A25;
	top: -5px;
}

.break {
	flex-basis: 100%;
	width: 0;
}

.finddepartment .navigation-block-list .nav-block:hover img.arrow,
.navigation-block-left .navigation-block-list .nav-block:hover img.arrow {
	margin-right: -5px;
}


.navigation-block-right {
	position: relative;
	background-color: #A70A25;
	width: 50%;
	height: 100%;
	border-radius: 0px 0px 0px 100px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	overflow: hidden;
}

.navigation-block-right .media {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
	object-fit: cover;
	object-position: center;
}

.navigation-block-right .block-bottom {
	padding: 0 80px 71px 70px;
	position: absolute;
	bottom: 0;
}

.navigation-block-right .block-bottom p.indledente-title {
	margin-bottom: 12px;
}

.navigation-block-right .block-bottom p {
	color: #FFF;
}

.navigation-block-right .block-bottom p:not(.indledente-title) {
	margin-bottom: 0;
}

.navigation-block-right .block-bottom .text{
	margin-bottom: 30px;
}

.navigation-block-right .block-bottom h1,
.navigation-block-right .block-bottom h2 {
	color: #FFF;
	margin-bottom: 15px;
}

.navigation-block-right .block-bottom h1 {
	font-size: calc(55px * var(--text-scaler));
	line-height: calc(57px * var(--text-line-scaler));
}

.btn.first-btn {
	margin-right: 20px;
}

#message-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 55px 100px;
	background-color: #A70A25;
	margin-top: 50px;
}

#message-block a.first-btn {
	margin-left: auto;
}

#message-block .message-block-title {
	font-family: 'Roboto Slab', serif;
	color: #FFF;
	font-size: 35px;
	line-height: 46px;
	flex: 0 0 63%;
}

#footer {
	width: 100%;
	background-color: #F2F4F7;
}

#footer .site-footer {
	display: flex;
	flex-wrap: wrap;
	padding: 108px 102px 100px 102px;
}

#footer .footer-col {
	flex: 1 0 18%;
	display: flex;
	flex-direction: column;
}

#footer .footer-col > div {
	padding-right: 30px;
}

#footer img {
	width: 140px;
}

#footer a.icon svg {
	max-width: 100%;
	width: auto;
	height: 20px;
	fill: #4C515A;
	opacity: 1;
	transition: 0.6s;
}

#footer a.icon:hover svg {
	fill: #a70a25;
}

#footer a.icon {
	display: inline-block;
	margin-top: 15px;
	margin-right: 24px;
}

#footer a:last-child img {
	margin-right: 0;
}

#footer .footer-col .textwidget {
	font-size: 14px;
	line-height: 1.5em; /*chnaged from 20 px RM*/
	color: #4C515A;
}

#footer .footer-col .textwidget p a {
	text-decoration: underline;
}

#footer .footer-col .textwidget p {
	margin-bottom: 20px;
}

.search-block .search-block-menu .search-menu span,
#footer .footer-col .widget-title {
	display: block;
	font-size: 16px;
	color: #4C515A;
	font-weight: bold;
	padding-bottom: 30px;
	cursor: default;
	line-height: 24px;
}

.search-block .search-block-menu .search-menu ul,
#footer .footer-col ul {
	list-style: none;
	padding: 0;
}

.search-block .search-block-menu .search-menu ul li,
#footer .footer-col ul li {
	padding-bottom: 10px;
	line-height: 21px;
}

.search-block .search-block-menu .search-menu ul li a,
#footer .footer-col ul li a {
	font-size: 14px;
	color: #4c4c4c; /*#87898C; added*/
}


#spotbox {
	display: flex;
	flex-wrap: wrap;
	padding-top: 40px;
	padding-bottom: 60px;
}

#spotbox.spotbox-style-3 a {
	align-items: center;
	justify-content: center;
}

#spotbox a {
	position: relative;
	display: flex;
	flex: 1;
	margin-right: 6px;
	padding: 36px;
	flex-direction: column;
}

#spotbox a:last-child {
	margin-right: 0;
}

#spotbox.spotbox-style-4 a:after,
#spotbox.spotbox-style-1 a:after,
#spotbox.spotbox-style-2 a:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 57%;
	background: transparent linear-gradient(180deg, rgba(255,255,255,0) 0%, #000000 100%) 0% 0% no-repeat padding-box;
	z-index: -1;
	opacity: 0.7;
}

#spotbox .spotbox-left {
	margin-right: 6px;
}

#spotbox .spotbox-right,
#spotbox .spotbox-left {
	width: calc(50% - 3px);
	margin-bottom: 6px;
}

#spotbox .spotbox-left a {
	height: 554px;
	margin-right: 0;
}

#spotbox .spotbox-right a {
	height: 238px;
	margin-right: 0;
}

#spotbox .spotbox-right a:first-child {
	margin-bottom: 6px;
}

#spotbox a .bg-image {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: 0.3s;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	transition: 0.6s;
}
#spotbox a .img-block,
#spotbox a .media {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -1;
	top: 0;
	left: 0;
}

#spotbox a .img-block {
	overflow: hidden;
}

#spotbox.spotbox-style-2 a.two {
	height: 246px;
}

#spotbox.spotbox-style-1 a:nth-child(3),
#spotbox.spotbox-style-1 a:nth-child(4),
#spotbox.spotbox-style-1 a:nth-child(5),
#spotbox.spotbox-style-2 a.three {
	height: 349px;
}

#spotbox.spotbox-style-3 a.two {
	height: 554px;
}

#spotbox.spotbox-style-3 a.three {
	height: 449px;
}

/*#spotbox.spotbox-style-3 a:first-child {
border-radius: 0px 0px 0px 40px;
}

#spotbox.spotbox-style-3 a:last-child {
border-radius: 0px 40px 0px 0px;
}*/


#spotbox.spotbox-style-2 a:first-child:after,
#spotbox.spotbox-style-1 a:nth-child(3) .img-block,
#spotbox.spotbox-style-2 a:first-child .img-block,
#spotbox.spotbox-style-4 .spotbox-left a,
#spotbox.spotbox-style-1 a:nth-child(3),
#spotbox.spotbox-style-2 a:first-child {
	border-radius: 0px 0px 0px 50px;
}

#spotbox .spotbox-right a:first-child:after,
#spotbox .spotbox-right a:first-child .img-block,
#spotbox.spotbox-style-2 a:last-child .img-block,
#spotbox .spotbox-right a:first-child,
#spotbox.spotbox-style-2 a:last-child {
	border-radius: 0px 50px 0px 0px;
}

#spotbox a .subtitle {
	color: #FFF;
	font-size: 11px;
	line-height: 24px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	font-weight: bold;
}

#spotbox.spotbox-style-4 a .subtitle,
#spotbox.spotbox-style-1 a .subtitle,
#spotbox.spotbox-style-2 a .subtitle {
	padding-bottom: 8px;
}

#spotbox.spotbox-style-3 a .subtitle {
	padding-bottom: 20px;
}

#spotbox.spotbox-style-4 a span:first-child,
#spotbox.spotbox-style-1 a span:first-child,
#spotbox.spotbox-style-2 a span:first-child {
	margin-top: auto;
}

#spotbox.spotbox-style-4 a h5,
#spotbox.spotbox-style-1 a h5,
#spotbox.spotbox-style-2 a h5 {
	font-family: 'Roboto Slab', serif;
	font-weight: bold;
	color: #FFF;
	padding-right: 25px;
}

#spotbox a img {
	position: absolute;
	width: 13px;
	transition: 0.3s;
}

#spotbox.spotbox-style-4 a img,
#spotbox.spotbox-style-1 a img,
#spotbox.spotbox-style-2 a img {
	bottom: 35px;
	right: 38px;
}

#spotbox.spotbox-style-3 a img {
	bottom: 41px;
}
#spotbox a:hover .media,
#spotbox a:hover .bg-image {
	transform: perspective(1px) scale(1.05);
	backface-visibility: hidden;
}

#spotbox.spotbox-style-4 a:hover img,
#spotbox.spotbox-style-1 a:hover img,
#spotbox.spotbox-style-2 a:hover img {
	right: 35px;
}

#spotbox.spotbox-style-3 a:hover img {
	padding-left: 8px;
}

#spotbox a.overlay-white h5,
#spotbox a.overlay-white .subtitle {
	color: #000;
}

#spotbox.spotbox-style-3 a h5 {
	font-family: 'Roboto Slab', serif;
	color: #FFF;
	font-size: 40px;
	line-height: 45px;
	font-weight: bold;
	text-align: center;
	width: 100%;
}

#spotbox.spotbox-style-3 a.overlay-white h5 {
	color: #000;
}

.overlay-red {
	background-color: rgba(167, 10, 37, 0.8);
}

.overlay-white {
	background-color: rgba(255, 255, 255, 0.8);
}

.overlay-mint {
	background-color: rgba(150,207,189,0.8);
}

#text-with-border h5 {
	font-family: 'Lato', sans-serif;
	color: #87898C;
	padding-top: 40px;
	padding-bottom: 21px;
	border-bottom: 1px solid #cbcbcb;
	font-weight: 900;
	margin-bottom: 70px;
}

#text-line {
	font-size: 16px;
	line-height: 24px;
	color: #4C515A;
}

#image-with-text {
	position: relative;
	display: flex;
	align-items: center;
	padding-top: 60px;
	padding-bottom: 60px;
}

#image-with-text.full {
	width: 100%;
	max-width: 100%;
	padding-right: 0;
	padding-left: 0;
}

#image-with-text.full.reverse .image-with-text-right,
#image-with-text.full.reverse .image-with-text-left,
#image-with-text.full .image-with-text-right,
#image-with-text.full .image-with-text-left {
	float: left;
	width: 50%;
	margin: 0;
}

#image-with-text.full .image-with-text-right .text {
	width: 590px;
	margin-left: auto;
	padding-right: 72px;
	padding-left: 20px;
	max-width: fit-content;
}

#image-with-text.full.reverse.finddepartment .nav-block img,
#image-with-text.full.reverse.vacancies .nav-block img {
	position: absolute;
	right: 35px;
	bottom: 40px;
}

#image-with-text.full.reverse img {
	border-radius: 0 0 0 100px;
}

#image-with-text.full .media-container {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
#image-with-text.full img.media {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
	object-fit: cover;
	top: 0;
	left: 0;
}

#image-with-text.full .bg-image-top {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 100%;
	border-radius: 0 0 0 100px;
}

#image-with-text.full img {
	border-radius: 0 100px 0 0;
}

#image-with-text.reverse {
	flex-direction: row-reverse;
	padding-bottom: 0;
	margin-bottom: 60px;
}

#image-with-text .image-with-text-left,
#image-with-text.reverse .image-with-text-right {
	width: 48%;
	margin-right: 20px;
	margin-left: 0;
}

#image-with-text p {
	margin-bottom: 13px;
}

#image-with-text.reverse .image-with-text-left,
#image-with-text .image-with-text-right {
	width: 52%;
	margin-left: 48px;
	margin-right: 0;
}

#image-with-text h1,
#image-with-text h2,
#image-with-text h3,
#image-with-text h4 {
	font-weight: normal;
}

#image-with-text h1 {
	font-size: calc(55px * var(--text-scaler));
	line-height: calc(57px * var(--text-line-scaler));
}

#image-with-text img {
	border-radius: 0px 100px;
}

#image-with-text .image-with-text-left.shadow {
	position: relative;
	text-align: left;
}

#image-with-text .image-with-text-left {
	text-align: center;
}

#image-with-text .image-with-text-left .video-file {
	border-radius: 0 50px 0 50px;
	width: 100%;
	height: auto;
	margin-bottom: 0;
}

#image-with-text .image-with-text-left .video-img {
	width: 100%;
	height: 500px;
	border-radius: 0 50px 0 50px;
}

#image-with-text.full .image-with-text-left .vimeo,
#image-with-text.full .image-with-text-left .video-file,
#image-with-text.full .image-with-text-left .video-img {
	border-radius: 0 0 0 50px;
}

#image-with-text .image-with-text-left.shadow .vimeo,
#image-with-text .image-with-text-left.shadow .video-file,
#image-with-text .image-with-text-left.shadow .video-img,
#image-with-text .image-with-text-left.shadow img {
	width: calc(100% - 80px);
	margin-top: 70px;
}

#image-with-text .image-with-text-left.shadow:after {
	content: "";
	position: absolute;
	bottom: 25%;
	left: 50px;
	background-color: #F2F4F7;
	border-radius: 0px 100px;
	width: calc(100% - 50px);
	height: 75%;
	z-index: -1;
}

#image-with-text ul {
	margin-top: 20px;
}

#image-with-text p:not(.indledente-title) {
	margin-bottom: 30px;
	margin-top: 20px;
}

#wysiwyg p.date,
#image-with-text p.date {
	font-size: calc(12px * var(--text-scaler));
	line-height: calc(20px * var(--text-line-scaler));
	color: #000000;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}

#icon-with-text {
	display: flex;
	flex-wrap: wrap;
	padding-top: 25px;
	padding-bottom: 100px;
}

#icon-with-text .icon-with-text-block {
	position: relative;
	top: 0;
	flex: 0 0 32.25%;
	box-shadow: 0px 8px 19px rgba(0,0,0,0.1);
	border-radius: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	transition: 0.3s;
}

#icon-with-text .icon-with-text-block a {
	padding: 39px 47px 20px 46px;
	/*height: 272px;*/
	display: flex;
	flex-direction: column;
	flex: 0 0 100%;
	-webkit-box-align: flex-start;
	-ms-flex-align: flex-start;
	align-items: flex-start;
}

#icon-with-text .icon-with-text-block:nth-child(3n) {
	margin-right: 0;
}

#icon-with-text a h6 {
	margin-top: 120px;
	font-weight: normal;
	color: #000000;
}

#icon-with-text a img.icon {
	width: auto;
	height: auto;
	max-width: 80px;
	max-height: 80px;
	position: absolute;
}

#icon-with-text a p {
	padding-top: 23px;
	margin-bottom: 20px;
	max-width: 100%;
}

/*#icon-with-text a p.limit-text-3 {
min-height: 72px;
}

#icon-with-text a p.limit-text-4 {
min-height: 96px;
}*/

#icon-with-text a img.arrow {
	position: absolute;
	bottom: 27px;
	right: 32px;
	transition: 0.3s;
}

#icon-with-text .icon-with-text-block:hover {
	top: -5px;
}

#icon-with-text .icon-with-text-block:hover img.arrow {
	right: 29px;
}

#news {
	position: relative;
	padding-top: 90px;
	padding-bottom: 39px;
	margin: 30px 0;
	overflow: hidden;
}

#news.grid {
	padding-top: 30px;
	margin: 0;
}

#news .news-slider {
	white-space: nowrap;
	transition: transform 1s ease-in-out;
}

#news .news-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

#news.archive .news-grid {
	margin: 52px 0 0 -20px;
	opacity: 1;
}

#news.archive .news-grid a {
	flex: 0 0 400px;
	margin-left: 20px;
	margin-right: 0;
	margin-bottom: 20px;
}

#news.archive .news-grid a:first-child .image,
#news.archive .news-grid a:first-child {
	border-radius: 0;
}

#news.archive .news-grid a.last {
	border-radius: 0px 0px 0px 50px;
}

#news.grid.archive {
	padding-top: 122px;
	overflow: unset;
}

.empty-find {
	display: block;
	font-weight: 400;
	width: 100%;
}

#news.grid.archive h2.title {
	font-weight: 400;
	padding-bottom: 40px;
	max-width: 650px;
}

#news.grid.hovedkontor h2.title {
	padding-bottom: 10px;
}

#news.grid.hovedkontor p {
	margin-bottom: 57px;
}

#news.grid.archive #breadcrumbs {
	margin-bottom: 60px;
}

#news.archive .news-grid a:nth-child(3) {
	border-radius: 0px 50px 0px 0px;
}

#news.archive .news-grid a:nth-child(3):hover image {
	border-radius: 0;
}
#news.archive .news-grid a:nth-child(3):hover {
	border-radius: 0px 0px 0px 50px;
}

#news:not(.grid):after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 79%;
	border-radius: 0px 100px 0 0;
	background: #F2F4F7;
	z-index: -1;
}

.limit-title {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	padding-bottom: 2px;
}
.limit-text-5,
.limit-text-4,
.limit-text-3 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	padding-bottom: 2px;
}

.limit-text-3 {
	-webkit-line-clamp: 3;
}

.limit-text-5 {
	-webkit-line-clamp: 5;
}

#news h5 {
	font-weight: normal;
	color: #000000;
	transition: 0.3s;
	line-height: calc(32px * var(--text-line-scaler));
}

#news a:hover h5 {
	color: #A70A25;
}

#news .text {
	display: block;
	padding: 35px 51px 62px 41px;
}

#news a .image {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 306px;
	display: block;
	transition: 0.3s;
}

#news a .media-container.media {
	position: relative;
	height: 306px;
	display: block;
}

#news a .media-container.media img {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	object-fit: cover;
	object-position: center;
}

#news .news-slider a,
#news .news-grid a {
	position: relative;
	width: 400px;
	height: 489px;
	display: inline-block;
	white-space: normal;
	vertical-align: top;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
	background: #FFF;
	margin-right: 20px;
	transition: 0.3s;
}

#news .news-grid a {
	flex: 1;
	width: auto;
	height: auto;
	position: relative;
	top: 0px;
	overflow: hidden;
}

#news a .arrow {
	position: absolute;
	right: 37px;
	bottom: 36px;
	transition: 0.3s;
}

#news a:hover .arrow {
	right: 30px;
}

#news a p.indledente-title {
	margin-top: 0;
	margin-bottom: 5px;
}

#news a p {
	margin-top: 18px;
	margin-bottom: 0;
}

#news.grid .news-grid a:hover .image {
	border-radius: 0px 0px 0px 0px;
}


/*#news .news-slider a:last-child:hover,
#news .news-grid a:last-child:hover,
#news .news-slider a:hover,
#news .news-grid a:hover {
border-radius: 0px 0px 0px 50px;
}*/

#news.grid .news-grid a:hover {
	top: -5px;
	margin-top: 0;
}

#news .news-slider a:hover,
#news .news-grid a:hover {
	margin-top: -5px;
}

#news h5.title {
	padding-bottom: 38px;
}

#news .news-slider a:first-child,
#news .news-grid a:first-child {
	border-radius: 0px 0px 0px 50px;
}

#news .news-slider a:last-child,
#news .news-grid a:last-child {
	margin-right: 0px;
}


#news:not(.archive) .news-slider a:last-child,
#news:not(.archive) .news-slider a:last-child .image,
#news:not(.archive) .news-grid a:last-child,
#news:not(.archive) .news-grid a:last-child .image {
	border-radius: 0px 50px 0px 0px;
}

#news button.prev {
	margin-left: calc(79% - 123px);
	transform: rotate(180deg);
	box-shadow: 0px -8px 19px rgba(0, 0, 0, 0.1);
	margin-right: 23px;
}

#news button.hide3,
#news button.hide2 {
	display: none;
}

#news button {
	width: 64px;
	height: 64px;
	min-width: 65px;
	padding: 0;
	border: 0;
	border-radius: 100%;
	background: #FFFFFF 0% 0% no-repeat padding-box;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 8px;
	background-image: url('/wp-content/themes/midspar/image/icon/ic-chevron.svg');
	margin-top: 32px;
	transition: 0.3s;
}

#news button.next:not(.disabled):hover {
	transform: translate(5px,0);
}

#news button.prev:not(.disabled):hover {
	transform: rotate(180deg) translate(5px,0);
}

#news button.disabled {
	opacity: 0.5;
	cursor: unset;
}

#image-over-text {
	padding-top: 30px;
	padding-bottom: 60px;
	text-align: center;
}

#image-over-text .video-img,
#image-over-text img {
	margin-bottom: 30px;
}

#image-over-text h1,
#image-over-text h2,
#image-over-text h3,
#image-over-text h4 {
	font-weight: normal;
	margin-bottom: 33px;
}

#image-over-text h1 {
	font-size: calc(55px * var(--text-scaler));
	line-height: calc(57px * var(--text-line-scaler));
}

#image-over-text p {
	max-width: 500px;
	margin: 0 auto 38px auto;
}

.single-department #image-with-text.full .image-with-text-left a.btn:not(.last),
#buttons a.btn:not(.last),
#image-with-text .image-with-text-right a.btn:not(.last),
#navigation-block .navigation-block-right a.btn:not(.last),
#image-over-text a.btn:not(.last) {
	margin-right: 20px;
}

#newsletter, #newsletter-erhverv {
	margin: 30px auto;
	text-align: center;
}

#newsletter.style2, #newsletter-erhverv.style2 {
	padding-top: 154px;
	padding-bottom: 154px;
	background-color: #F2F4F7;
	border-radius: 0px 100px;
}

#newsletter.style1, #newsletter-erhverv.style1 {
	position: relative;
	padding-top: 200px;
	padding-bottom: 230px;
}
#newsletter.style1 svg, #newsletter-erhverv.style1 svg {
	position: absolute;
	top: 50%;
	left: -40%;
	width: 100%;
	height: auto;
	z-index: -1;
	transform: translateY(-50%);
}

#newsletter form, #newsletter-erhverv form {
	max-width: 727px;
	position: relative;
	margin-top: 35px;
	display: inline-block;
	width: 100%;
}

#newsletter form .gform_footer.top_label img, #newsletter-erhverv form .gform_footer.top_label img {
	display: none;
}

#newsletter h2, #newsletter-erhverv h2 {
	font-weight: normal;
	margin-bottom: 20px;
}

#newsletter p.indledente-title, #newsletter-erhverv p.indledente-title {
	margin-bottom: 30px;
}

#newsletter label, #newsletter-erhverv label {
	display: block;
	text-align: left;
}

#newsletter input[type="email"],
#newsletter input[type="text"],
#newsletter-erhverv input[type="email"],
#newsletter-erhverv input[type="text"]{
	text-align: center;
	font-weight: bold;
	padding: 0;
	width: 100% !important;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1) !important;
	border-radius: 45px !important;
	background-color: #FFF !important;
	color: #4C515A !important;
	font-size: 16px !important;
	line-height: 90px !important;
	height: 90px !important;
	border: 0 !important;
}

#newsletter button, #newsletter-erhverv button {
	position: absolute;
	right: 20px;
	top: 35px;
	min-width: 123px;
}

#field_11_3.term-checkbox .gfield_checkbox, #field_199_3.term-checkbox .gfield_checkbox {
	text-align: center;
}

.gfield_error.term-checkbox .gfield_checkbox {
	margin-bottom: 0px !important;
}

#newsletter .gfield_label, 
#newsletter-erhverv .gfield_label {
	display: none !important;
}

#newsletter .validation_message,
#newsletter-erhverv .validation_message {
	text-align: center;
}

.term-checkbox label {
	color: #4C515A !important;
	font-size: 16px !important;
	line-height: 26px !important;
	position: relative !important;
	display: inline-block !important;
}

.term-checkbox ul li {
	width: 100%;
}

.checkbox,
#newsletter .term a,
#newsletter .term
#newsletter-erhverv .term a,
#newsletter-erhverv .term {
	color: #4C515A;
	font-size: 16px;
	line-height: 26px;
	padding-top: 22px;
	position: relative;
}

.checkbox input {
	display: none;
}

.term-checkbox span,
.checkbox span {
	width: 16px;
	height: 16px;
	position: relative;
	top: 5px;
	left: -4px;
	display: inline-block;
	background: #FFFFFF;
	border: 2px solid #DCDFE6;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

.gform_wrapper ul.gform_fields li.gfield.g_form_popup {
	padding-right: 30px !important;
}

.term-checkbox span {
	width: 20px;
	height: 20px;
	top: 6px;
	display: inline-block !important;
}

.term-checkbox span:hover,
.checkbox span:hover {
	border-color: #ABAEB3;
}

.term-checkbox input[type=checkbox] + span:before,
input[type=checkbox] + span:before {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 7px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	display: none;
}

.term-checkbox input[type=checkbox] + span:before {
	width: 6px;
	height: 10px;
}

.term-checkbox input[type=checkbox]:checked + span:before,
.checkbox input[type=checkbox]:checked + span:before {
	display: block;
}

.term-checkbox input[type=checkbox]:checked + span,
.checkbox [type=checkbox]:checked + span {
	background: #A70A25 ;
	border-color: #A70A25;
}

.term-checkbox a,
.checkbox a {
	text-decoration: underline;
}

#wysiwyg,
#buttons {
	max-width: 561px;
	width: auto;
	padding: 30px 0;
}

#wysiwyg.remove-space {
	padding-bottom: 0;
}

#wysiwyg b,
#wysiwyg, strong {
	color: #000;
}

#buttons {
	padding: 0 0 15px 0;
}

#accordion-list .accordion .accordion-text h1,
#accordion-list .accordion .accordion-text h2,
#accordion-list .accordion .accordion-text h3,
#accordion-list .accordion .accordion-text h4,
#accordion-list .accordion .accordion-text h5,
#accordion-list .accordion .accordion-text h6,
#wysiwyg h6,
#wysiwyg h5,
#wysiwyg h4,
#wysiwyg h3,
#wysiwyg h2,
#wysiwyg h1 {
	padding-bottom: 13px;
	padding-top: 20px;
	font-weight: 400;
}

#accordion-list .accordion .accordion-text h1,
#accordion-list .accordion .accordion-text h2,
#accordion-list .accordion .accordion-text h3,
#wysiwyg h3,
#wysiwyg h2,
#wysiwyg h1 {
	padding-bottom: 18px;
}

#accordion-list .accordion .accordion-text h1,
#wysiwyg h1, #fact-box h1 {
	font-size: calc(55px * var(--text-scaler));
	line-height: calc(57px * var(--text-line-scaler));
}

#image-with-text.first-top  h2,
#accordion-list .accordion .accordion-text h2,
#wysiwyg h2, #fact-box h2 {
	font-size: calc(35px * var(--text-scaler));
	line-height: calc(37px * var(--text-line-scaler));
}

#accordion-list .accordion .accordion-text h3,
#wysiwyg h3, #fact-box h3 {
	font-size: calc(29px * var(--text-scaler));
	line-height: calc(31px * var(--text-line-scaler));
}

#accordion-list .accordion .accordion-text h4,
#wysiwyg h4, #fact-box h4 {
	font-size: calc(26px * var(--text-scaler));
	line-height: calc(28px * var(--text-line-scaler));
}

#accordion-list .accordion .accordion-text h5,
#wysiwyg h5, #fact-box h5 {
	font-size: calc(23px * var(--text-scaler));
	line-height: calc(25px * var(--text-line-scaler));
}

#accordion-list .accordion .accordion-text h6,
#wysiwyg h6, #fact-box h6 {
	font-size: calc(20px * var(--text-scaler));
	line-height: calc(22px * var(--text-line-scaler));
}

#accordion-list .accordion .accordion-text h1:first-child,
#accordion-list .accordion .accordion-text h2:first-child,
#accordion-list .accordion .accordion-text h3:first-child,
#accordion-list .accordion .accordion-text h4:first-child,
#accordion-list .accordion .accordion-text h5:first-child,
#accordion-list .accordion .accordion-text h6:first-child,
#wysiwyg h6:first-child,
#wysiwyg h5:first-child,
#wysiwyg h4:first-child,
#wysiwyg h3:first-child,
#wysiwyg h2:first-child,
#wysiwyg h1:first-child {
	padding-top: 0px;
}

#accordion-list,
#fact-box {
	max-width: 780px;
	width: auto;
	padding: 0 0 50px 0;
}

#fact-box h1,
#fact-box h2,
#fact-box h3,
#fact-box h4,
#fact-box h5,
#fact-box h6 {
	padding-bottom: 13px;
	padding-top: 20px;
	font-weight: 400;
}

#fact-box ol li {
	display: flex;
}

#fact-box ol li,
#fact-box ul li {
	position: relative;
	padding-bottom: 8px;
}

#fact-box.darkgray .fact-box-block ul.checklist li:before {
	background-image: url('/wp-content/themes/midspar/image/icon/ic-chekcmark-white.svg');
	background-size: 100%;
	content: '';
	height: 100%;
	left: 0px;
	position: absolute;
	width: 10px;
	top: 9px;
	background-repeat: no-repeat;
}

#accordion-list.style1 .accordion-list-block,
#fact-box.lightgray .fact-box-block {
	background-color: #F2F4F7;
}

#fact-box.darkgray .fact-box-block {
	background-color: #4C515A ;
}

#accordion-list .accordion-list-block {
	border-radius: 0px 100px;
	padding: 85px 105px 110px 105px;
	margin: 0 auto;
}

#fact-box .fact-box-block {
	border-radius: 0px 100px;
	padding: 79px 112px 92px 112px;
	margin: 0 auto;
}

#accordion-list:not(.style1) .accordion-list-block {
	padding: 0 110px;
}

#accordion-list .accordion {
	padding-left: 0;
	list-style: none;
}

#accordion-list .accordion .accordion-title {
	position: relative;
	color: #000000;
	font-size: calc(16px * var(--text-scaler));
	font-weight: bold;
	margin-top: 31px;
	cursor: pointer;
	display: inline-block;
	width: 100%;
	padding: 0;
	background: transparent;
	text-align: left;
	line-height: 18px;
	border-radius: 0;
	padding-left: 18px;
}

#accordion-list .accordion .accordion-title:hover {
	color: #A70A25;
}

#accordion-list .accordion li:first-child .accordion-title {
	margin-top: 0;
}

#employees.kandidater .employee .more:before,
#employees.kandidater .employee .more:after,
#accordion-list .accordion .accordion-title:after,
#accordion-list .accordion .accordion-title:before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 2px;
	background-color: #A70A25;
	transition: 0.3s;
}

#employees.kandidater .employee .more:after,
#accordion-list .accordion .accordion-title:after {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

#accordion-list .accordion .accordion-title.active:after {
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
}

#accordion-list .accordion .accordion-text {
	color: #4C515A;
	height: 0;
	-webkit-transition: height 0.3s ease-out, opacity .4s;
	transition: height 0.3s ease-out, opacity .4s;
	display: none;
	padding-left: 18px;
	opacity: 0;
}

#accordion-list .accordion .accordion-text.active {
	height: auto;
	-webkit-transition: height 0.6s ease-in, opacity .4s;
	transition: height 0.6s ease-in, opacity .4s;
	opacity: 1;
	display: block;
}

#accordion-list .accordion .accordion-text :first-child {
	margin-top: 17px;
}

#accordion-list .accordion .accordion-text p {
	margin-bottom: 15px;
}

#accordion-list .accordion .accordion-text p:last-child {
	margin-bottom: 0;
}

#accordion-list .accordion .accordion-text a {
	color: #A70A25;
}

#accordion-list .accordion-list-block h3 {
	font-weight: normal;
	margin-bottom: 20px;
}

#accordion-list.style1 .accordion-list-block h3 {
	font-weight: normal;
	margin-bottom: 53px;
}

#fact-box .fact-box-block h5 {
	font-weight: normal;
	margin-bottom: 30px;
}

#fact-box.darkgray .fact-box-block li,
#fact-box.darkgray .fact-box-block a,
#fact-box.darkgray .fact-box-block p,
#fact-box.darkgray .fact-box-block h5 {
	color: #FFF;
}

#full-width-image {
	padding: 30px 0;
}

#full-width-image a img {
	border-radius: 0 50px;
}

.video-img {
	position: relative;
	border-radius: 0 50px;
	height: 695px;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

#video .video-img {
	margin: 50px 0;
}

#navigation-block .local-video,
#navigation-block .video-img {
	height: 100%;
	pointer-events: none;
	position: absolute;
	top: -70px;
	right: -70%;
	width: 240%;
	height: calc(100% + 140px);
}

#navigation-block .local-video video {
	height: 100%;
	width: auto;
}

#navigation-block .video-img iframe {
	border-radius: 0 0 0 100px;
}

#navigation-block.video-original-type {
	height: 100%;
}

#navigation-block.video-original-type .navigation-block-right {
	background-color: transparent;
}

#navigation-block.video-original-type .local-video, #navigation-block.video-original-type .video-img {
	position: relative;
	top: auto;
	right: auto;
	width: 100%;
	height: auto;
}

#navigation-block.video-original-type .local-video video {
	height: auto;
	width: 100%;
	border-radius: 0px 0px 0px 100px;
}

#image-with-text.full iframe {
	border-radius: 0 0 0 50px;
}

#image-over-text iframe,
#image-with-text iframe,
#image-with-text .shadow iframe {
	border-radius: 0 50px 0 50px;
}

#video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0 25px;
}

#video .video-img {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: auto;
	border-radius: 0 25px;
}

#image-over-text .video-img.vimeo,
#image-with-text .image-with-text-left .video-img.vimeo,
#video .video-img.vimeo {
	padding-bottom: 0;	
	aspect-ratio: 16/8.437;
	height: auto;
}

.video-file {
	position: relative;
	width: 100%;
	height: auto;
	border-radius: 0 25px;
	margin-bottom: 30px;
}

#image-over-text .vimeo:not(.video-img) {
	margin-bottom: 30px;
}

#video .video-file,
#video .vimeo {
	margin: 50px 0;
}

.video-img .play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	width: 94px;
	height: 94px;
	cursor: pointer;
}

.video-img .play-btn:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 53%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 11px 0 11px 21px;
	border-color: transparent transparent transparent #FFFFFF;
	transform: translate(-50%,-50%);
	z-index: 9;
}

.video-img .play-btn:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 54%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 0 15px 27px;
	border-color: transparent transparent transparent #a70a25;
	transform: translate(-50%,-50%);
}

.video-img .play-btn span:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 100%;
	background-color: #FFF;
	width: 100%;
	height: 100%;
	transition: 0.3s;
	z-index: -1;
}

/*#CybotCookiebotDialog  {
border: 18px solid #ffffff!important;
border-radius: 0 20px 0 20px!important;
}

#CybotCookiebotDialogBodyContentTitle {
font-family: 'Roboto Slab', serif!important;
}

a#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
background-color: #4c515a!important;
border: #4c515a!important;
}*/

/* Remove branding */
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
	display: none;
}

.cookieconsent-optout-preference {
	display: flex;
	flex-flow: column wrap;
	position: absolute;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background-color: rgb(166,10,34,0.6);
	border-radius: 0 50px;
	left: 0;
	top: 0;
	z-index: 2;
}

.cookieconsent-optout-statistics {
	display: flex;
	flex-flow: column wrap;
	position: absolute;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background-color: rgb(166,10,34,0.6);
	border-radius: 0 50px;
}

.video-info-block {
	text-align: center;
}

.video-info-block a.last {
	margin-left: 15px;
}

.cookieconsent-optout-statistics p:first-child {
	margin-bottom: 0px;
}

.cookieconsent-optout-preference p {
	max-width: 90%;
	margin: 0 auto 15px auto;
	color: #FFF;
	font-size: 18px;
}
.cookieconsent-optout-statistics p {
	color: #FFF;
	font-size: 18px;
}

.cookieconsent-optout-preference p a,
.cookieconsent-optout-statistics p a {
	color: #FFF;
	text-decoration: underline;
}

#employees {
	padding-bottom: 50px;
}

.postid-1707 #employees h5.title {
	display: none;
}

.postid-27890 #employees h5.title {
	display: none;
}

#employees .employees-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 0 -20px;
}

.load-more-post a.btn img,
#employees a.btn img {
	transform: rotate(90deg);
	height: 11px;
	vertical-align: initial;
}

#employees .load-more-emp svg,
#news .load-more-post svg {
	display: none;
}

#news .load-more-post a {
	height: auto;
	width: auto;
}

#news .load-more-post,
#employees .load-more-emp {
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

#employees .load-more-emp.showall,
#employees .load-more-emp.all,
#employees .load-more-emp.privat,
#employees .load-more-emp.erhverv {
	display: block;
}

#employees .load-more-emp {
	display: none;
}

/*#employees .employees-list.privat .employee.hideprivat,
#employees .employees-list.erhverv .employee.hideerhverv {
display: none;
}*/

#algolia-result .employee-algolia.user,
#employees .employees-list .employee {
	flex: 0 0 295px;
	box-shadow: 0px 8px 19px rgba(000,000,000,0.1);
	border-radius: 20px;
	text-align: center;
	margin-left: 20px;
	padding-top: 28px;
	padding-bottom: 30px;
	margin-bottom: 20px;
	position: relative;
	top: 0;
	transition: 0.3s;
	background: #FFF;
}

#algolia-result .employee-algolia.user {
	flex: unset;
	margin-left: 0;
	margin-right: 20px;
	display: inline-block;
	width: calc(25% - 15px);
	vertical-align: top;
}

#algolia-result #user:nth-of-type(4n) {
	margin-right: 0;
}

#employees .employees-list .employee.hide {
	display: none;
}

#algolia-result .employee-algolia.user:hover .name,
#employees .employees-list .employee:hover .name {
	color: #A70A25;
	transition: 0.3s;
}

.ais-hits .item-department:hover,
.ais-hits #user:hover,
#employees .employees-list .employee:hover {
	top: -5px;
}

#algolia-result .employee-algolia.user a.arrow img,
#employees .employees-list .employee a.arrow img {
	transition: 0.3s;
	display: inline-block;
}

.ais-hits .item-department:hover img.arrow {
	right: 30px;
}

.ais-hits #user:hover a.arrow img,
#employees .employees-list .employee:hover a.arrow img {
	margin-left: 5px;
}

#algolia-result .employee-algolia.user a.user-image,
#algolia-result .employee-algolia.user a.user,
#algolia-result .employee-algolia.user a.arrow,
#employees .employees-list .employee a.user-image,
#employees .employees-list .employee a.arrow,
#employees .employees-list .employee a.user {
	display: block;
}

#algolia-result .employee-algolia.user .employee-contact,
#employee-inner .employee-contact,
#employees .employees-list .employee .employee-contact {
	display: inline-block;
	margin-bottom: 28px;
}

#algolia-result .employee-algolia.user .employee-contact {
	min-height: 78px;
}

#algolia-result .employee-algolia.user .employee-contact a,
#employee-inner .employee-contact a,
#employees .employees-list .employee .employee-contact a {
	display: block;
	text-align: left;
	color: #4C515A;
	padding-bottom: 7px;
}

#algolia-result .employee-algolia.user .employee-contact a.email-hide-true {
	display: none !important;
}

#algolia-result .employee-algolia.user .employee-contact a.phone span svg,
#employee-inner .employee-contact a.phone span svg,
#employees .employees-list .employee .employee-contact a.phone span svg {
	max-width: 13px;
	height: auto;
}

#algolia-result .employee-algolia.user .employee-contact a.mobile span svg,
#employee-inner .employee-contact a.mobile span svg,
#employees .employees-list .employee .employee-contact a.mobile span svg {
	max-width: 8px;
	height: auto;
}

#employees h5 {
	font-weight: 400;
	margin-bottom: 38px;
	display: inline-block;
}

#employees .switch {
	position: relative;
	display: inline-block;
	width: 176px;
	height: 43px;
	float: right;
	top: -5px;
}
#employees .switch.new {
	width: 252px;
}
#employees .switch input {
	opacity: 0;
	width: 0;
	height: 0;
	display: none;
}

#employees .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #F2F4F7;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 22px;
	cursor: pointer;
}

#employees .slider:after {
	position: absolute;
	content: "";
	height: 35px;
	width: 84px;
	left: 4px;
	bottom: 4px;
	box-shadow: 0px 8px 19px rgba(000, 000, 000, 0.1);
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 18px;
}
/* #employees .switch.new .slider:after {
width: 60px;
} */
#employees .switch.new.active-pvt .slider:after {
	/* width: 75px; */
	-webkit-transform: translateX(75px);
	-ms-transform: translateX(75px);
	transform: translateX(75px);
}
#employees .switch.new.active-erh .slider:after {
	/* width: 75px; */
	-webkit-transform: translateX(160px);
	-ms-transform: translateX(160px);
	transform: translateX(160px);
}

#employees input:checked + .slider {
	background-color: #F2F4F7;
}

#employees input:checked + .slider:after {
	-webkit-transform: translateX(82px);
	-ms-transform: translateX(82px);
	transform: translateX(82px);
}

#employees input:checked + #employees .sw-erhverv {
	color: A70A25;
}

#employees .sw-erhverv,
#employees .sw-privat,
#employees .sw-alle {
	color: #4C515A;
	position: relative;
	top: 0px;
	left: 0px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	-webkit-transition: .4s;
	transition: .4s;
	display: inline;
	float: left;
	text-align: center;
	padding: 13px 0;
}

#employees .switch.active-erh .sw-erhverv,
#employees .switch.active-pvt .sw-privat,
#employees .sw-alle {
	color: #A70A25;
}
#employees .switch.active-erh .sw-alle,
#employees .switch.active-pvt .sw-alle,
#employees .switch.active .sw-privat {
	color: #4C515A;
}

#employees .sw-erhverv {
	padding: 13px 23px 13px 16px;
}
#employees .new .sw-erhverv {
	padding: 13px 20px 13px 16px;
}
#employees .switch.new .sw-privat {
	padding: 13px 23px 13px 18px;
}

#employees .new .sw-alle {
	padding: 13px 23px 13px 32px;
}

#employees .switch .sw-privat {
	padding: 13px 23px 13px 26px;
}

#employees .switch.new {
	display: flex;
	justify-content: space-around;
}
.switch.new

#employees .switch.active .sw-privat:hover,
#employees .sw-erhverv:hover,
#employees .switch.new label:hover {
	color: #A70A25;
}

#algolia-result .employee-algolia.user .employee-contact a.email span svg,
#employee-inner .employee-contact a.email span svg,
#employees .employees-list .employee .employee-contact a.email span svg {
	max-width: 15px;
	height: auto;
}

#algolia-result .employee-algolia.user .employee-contact a span,
#employee-inner .employee-contact a span,
#employees .employees-list .employee .employee-contact a span {
	width: 16px;
	display: inline-block;
	margin-right: 7px;
	text-align: center;
}

#algolia-result .employee-algolia.user .employee-contact a.email span {
	margin-right: 5px;
}
#employee-inner .employee-contact a.email span {
	/*margin-right: 6px;*/
}
#employees .employees-list .employee .employee-contact a.email span {
	/*margin-right: 5px;*/
}

#algolia-result .employee-algolia.user img.image,
#employees .employees-list .employee img.image {
	width: 150px;
	height: 150px;
	border-radius: 100%;
	margin-bottom: 20px;
	display: inline-block;
}

#algolia-result .employee-algolia.user .name,
#employees .employees-list .employee .name {
	font-weight: bold;
	margin-bottom: 0;
	padding: 0 15px;
	color: #000000;
}

#algolia-result .employee-algolia.user .title,
#employees .employees-list .employee .title {
	padding: 0 15px;
	color: #4C515A;
	word-wrap: break-word;
}

#employees.people_gallery {
	padding-top: 30px;
	padding-bottom: 30px;
}

.people_gallery .title {
	margin-bottom: 0;
}

#table {
	max-width: 780px;
	margin-bottom: 50px;
	margin-top: 20px;
}

#table .table-block {
	border-radius: 0px 100px;
	background: #F2F4F7;
	padding: 65px 100px 60px 114px;
}

#table h5 {
	font-weight: normal;
	margin-bottom: 40px;
}

#table .table-title {
	font-weight: normal;
	color: #000000;
}

#table table {
	font-size: 16px;
	line-height: 24px;
	color: #000000;
	width: 100%;
	margin-bottom: 40px;
	margin-top: 15px;
	border: 0;
}

#table table tr {
	background: #FFFFFF;
}

#table table tr td {
	border: 0;
	padding: 8px 5px 8px 13px;
	vertical-align: top;
}

#table table tr:nth-child(2n) {
	background: #E9ECF0;
}

#table .req1,
#table .req2,
#table .req3,
#table .req4,
#table .req5,
#table .req6 {
	position: relative;
	color: #4C515A;
	font-size: 14px;
	line-height: 21px;
	padding-left: 30px;
}

#table .req1:before,
#table .req2:before,
#table .req3:before,
#table .req4:before,
#table .req5:before,
#table .req6:before {
	content: "*";
	position: absolute;
	top: 0;
	left: 0;
	color: #4C515A;
	font-size: 14px;
}

#table .req2:before {
	content: "**";
}

#table .req3:before {
	content: "***";
}

#table .req4:before {
	content: "****";
}

#table .req5:before {
	content: "*****";
}

.mce_print {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	color: #000000;
	padding-left: 30px;
	cursor: pointer;
}

.mce_print:before {
	content: '';
	position: absolute;
	top: 03px;
	left: 0;
	width: 18px;
	height: 17px;
	background-image: url('/wp-content/themes/midspar/image/icon/ic-print.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	display: block;
}

#text-control {
	padding: 21px 28px 15px 15px;
	line-height: 45px;
	display: flex;
	float: right;
}

#text-control #text-scaler {
	display: inline-block;
	position: relative;
	margin-right: 37px;
	white-space: nowrap;
}

#text-control #text-scaler .text-scaler-block {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: #FFF;
	line-height: 50px;
	vertical-align: middle;
	background-color: #FFF;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	z-index: 1;
}

#text-control .speech-btn svg {
	padding-right: 5px;
	position: relative;
	top: 3px;
}

#text-control #text-scaler .text-scaler-btn svg {
	width: 21px;
	height: 18px;
	vertical-align: sub;
	padding-right: 5px;
}

#text-control #text-scaler svg .a {
	stroke: #A70A25;
	stroke-width: 2;
}

#text-control #text-scaler .text-scaler-block.active {
	display: flex;
}

#text-control #text-scaler .text-scaler-size {
	width: 50px;
	text-align: center;
	color: #000;
}

#text-control .speech-btn,
#text-control .text-scaler-btn {
	color: #A70A25;
	font-size: 14px;
	cursor: pointer;
}

#text-control .speech-btn {
	white-space: nowrap;
}

#text-control .speech-btn:hover span,
#text-control .text-scaler-btn:hover span {
	text-decoration: underline;
}

#text-control .text-scaler-plus,
#text-control .text-scaler-minus {
	position: relative;
	cursor: pointer;
	width: 45px;
	text-align: center;
	display: inline-block;
	transition: 0.3s;
	color: #A70A25;
	font-size: 23px;
	font-weight: bold;
}

#text-control .text-scaler-plus.disabled,
#text-control .text-scaler-minus.disabled {
	cursor: default;
	opacity: 0.5;
	pointer-events: none;
}

#text-control .text-scaler-plus:hover,
#text-control .text-scaler-minus:hover {
	opacity: 0.7;
}

#text-control .share-block .share-icon:hover {
	background-color: #FFF;
	transition: 0.3s;
	box-shadow: 0px 8px 20px rgb(000, 000, 000, 0.15);
}
#text-control .share-block .share-icon:hover .open svg line,
#text-control .share-block .share-icon:hover .open svg circle {
	stroke: #a70a25;
	transition: 0.3s;
}

#text-control .share-block .share-list a,
#text-control .share-block .share-list div,
#text-control .share-block .share-icon {
	width: 45px;
	height: 45px;
	background-color: #F2F4F7;
	text-align: center;
	line-height: 45px;
	margin-left: 35px;
	border-radius: 100%;
	display: block;
	cursor: pointer;
	transition: 0.3s;
}

#text-control .share-block .share-list div:hover,
#text-control .share-block .share-list a:hover {
	background-color: #FFF;
	box-shadow: 0px 8px 20px rgb(000, 000, 000, 0.15);
}
#text-control .share-block .share-list a:hover svg .af,
#text-control .share-block .share-list a:hover svg .ain {
	fill: #a70a25;
	transition: 0.5s;
}

#text-control .share-block .share-list a:hover svg .am,
#text-control .share-block .share-list a:hover svg .bm,
#text-control .share-block .share-list div:hover svg .ap,
#text-control .share-block .share-list div:hover svg .bp {
	stroke: #a70a25;
	transition: 0.5s;
}

#text-control .share-block .share-list a.share-facebook {
	margin-top: 15px;
}

#text-control .share-block .share-list a,
#text-control .share-block .share-list div {
	display: block;
	margin-left: 0;
	margin-bottom: 15px;
	transition: 0.5s;
	position: relative;
	box-shadow: unset;
}

#text-control .share-block.active .share-icon {
	background-color: #FFF;
	box-shadow: 0px 8px 20px rgb(000, 000, 000, 0.15);
}

#text-control .share-block .share-list {
	position: absolute;
	z-index: 1;
	padding-left: 35px;
	padding-right: 15px;
}

#text-control .share-block .share-list a.share-facebook svg {
	width: 8px;
	height: auto;
}

#text-control .share-block .share-list svg {
	max-width: 16px;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#text-control .share-block.active .share-icon .close {
	display: block;
	border-radius: 100%;
}

#text-control .share-block.active .share-icon .close svg {
	width: 11px;
	height: 11px;
}

#text-control .share-block .share-icon .open svg {
	padding: 15px 16px 14px 13px;
	width: 16px;
	height: 16px;
}

#text-control .share-block.active .share-icon .open,
#text-control .share-block .share-list,
#text-control .share-block .share-icon .close {
	display: none;
}

#breadcrumbs {
	margin-bottom: 80px;
	padding-right: 15px;
}

#breadcrumbs.nav {
	position: absolute;
	top: 130px;
	left: 70px;
}

#breadcrumbs.over {
	text-align: left;
	margin-bottom: 30px;
}

#breadcrumbs.top {
	position: absolute;
	top: 10px;
	left: 0;
}

#breadcrumbs .breadcrumb_last,
#breadcrumbs a {
	font-size: calc(12px * var(--text-scaler));
	color: #4c4c4c; /*#4C515A; old*/
}

#breadcrumbs .breadcrumb_last {
	color: #4c4c4c; /* Old: #939599; #4C515A */
}

#breadcrumbs .breadcrumb-arrow {
	position: relative;
	width: 12px;
	display: inline-block;
}

#breadcrumbs .breadcrumb-arrow:after {
	content: '';
	position: absolute;
	left: 50%;
	top: -7px;
	transform: translateX(-50%);
	width: 4px;
	height: 7px;
	background-image: url('/wp-content/themes/midspar/image/icon/ic-chevron-lightgrey.svg');
	background-size: 100%;
	background-repeat: no-repeat;
}


#image-with-text.first-top.full.job-postings .image-with-text-left .event-content,
.single-department #image-with-text.first-top.full .image-with-text-left,
.single-event #image-with-text .event-content {
	position: relative;
	margin-bottom: 85px;
	height: 720px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 0 0 0 100px;
}

#image-with-text.first-top.full.job-postings .image-with-text-left .event-content span {
	display: inline-block;
	width: 49%;
	color: #4C515A;
	font-size: 14px;
	line-height: 21px;
}

#image-with-text.first-top.full.job-postings .image-with-text-left .event-content a {
	margin-top: 30px;
}

#image-with-text.first-top.full.job-postings .image-with-text-left .event-content span:nth-child(4),
#image-with-text.first-top.full.job-postings .image-with-text-left .event-content span:nth-child(3) {
	margin-top: 35px;
}

#image-with-text.first-top.full.job-postings .image-with-text-left .event-content span:nth-child(1),
#image-with-text.first-top.full.job-postings .image-with-text-left .event-content span:nth-child(3) {
	margin-right: 2%;
}

#image-with-text.first-top.full.job-postings .image-with-text-left .event-content span b {
	display: block;
	color: #000;
	font-size: 11px;
	letter-spacing: 1.1px;
	font-weight: 800;
	text-transform: uppercase;
}

.single-event #image-with-text h5 {
	font-weight: 400;
}

.single-event #image-with-text p:not(.indledente-title) {
	margin-top: 15px;
}

.single-event #image-with-text .event-info p:not(.indledente-title){
	font-size: 14px;
	margin-bottom: 0;
	padding-left: 28px;
	margin-top: 30px;
}

.single-event #news {
	margin-top: 120px;
	margin-bottom: 90px;
}

.single-event .image-with-text-left {
	position: relative;
}

.image-with-text-left .event-info {
	position: absolute;
	bottom: -70px;
	left: 50%;
	transform: translateX(-50%);
	width: 398px;
	height: auto;
	box-shadow: 0px 8px 19px rgba(000,000,000,0.1);
	background-color: #FFF;
	border-radius: 20px;
	text-align: left;
	padding: 45px;
	font-size: 0;
}

.image-with-text-left .event-info span {
	display: block;
}

#image-with-text .event-info h5 {
	color: #000;
	font-weight: 400;
	padding-bottom: 10px;
	font-size: 20px;
}

#image-with-text .event-info h3 {
	font-weight: bold;
}

#image-with-text .event-info .event-info-block svg {
	position: absolute;
	top: 30px;
	left: 0;
}

#image-with-text .event-info .event-info-block {
	display: inline-block;
	width: 100%;
	margin-bottom: 23px;
}

#image-with-text .event-info .event-info-block-right,
#image-with-text .event-info .event-info-block-left {
	display: inline-block;
	width: 45%;
	position: relative;
}

#image-with-text .event-info .event-info-block-right p {
	padding-left: 23px;
}

#image-with-text .event-info .event-info-block-right {
	float: right;
}

#image-with-text .event-info a {
	display: list-item;
}

.single-department #image-with-text.first-top.full .image-with-text-left  {
	margin-bottom: 0;
	text-align: left;
}

.single-department #image-with-text.first-top.full .image-with-text-left .block-bottom {
	padding: 0 80px 71px 70px;
	position: absolute;
	bottom: 0;
	max-width: 400px;
}

.single-department #image-with-text.first-top.full .image-with-text-left .block-bottom h5 {
	color: #FFF;
	margin-bottom: 25px;
}

.single-department #image-with-text.first-top.full #accordion-list .accordion-list-block {
	padding: 0;
}

.single-department #wysiwyg h2.department {
	text-align: center;
	font-size: calc(75px * var(--text-scaler));
	line-height: calc(77px * var(--text-line-scaler));
}

.single-department #wysiwyg h2.department b {
	color: #A70A25;
}

.single-department #wysiwyg p.department {
	text-align: center;
}

.single-department .image-with-text-right .text h1,
.single-department .image-with-text-right .text h2,
.single-department .image-with-text-right .text h3,
.single-department .image-with-text-right .text h4,
.single-department .image-with-text-right .text h5,
.single-department .image-with-text-right .text h6 {
	padding-top: 25px;
	padding-bottom: 10px;
}

.single-department .department-address {
	padding-top: 30px;
	display: block;
	font-size: calc(16px * var(--text-scaler));
	line-height: var(--text-line-scaler-em);
	color: #4C515A;
}

.single-department .location {
	margin-bottom: 30px;
	display: block;
}

.single-department .location:hover {
	text-decoration: underline;
}

.single-department .location svg{
	margin-right: 5px;
}

.single-department #breadcrumbs {
	display: none;
}

.single-department #breadcrumbs.show {
	display: block;
}


.single-department #wysiwyg p {
	padding-top: 10px;
}

.single-department .bg-line {
	position: relative;
	padding-top: 120px;
	z-index: -1;
}

.single-department .bg-line svg {
	position: absolute;
	left: 0;
	transform: translateX(-34%);
	top: 70px;
	z-index: -1;
	max-width: 100%;
}

.single-department #image-with-text {
	padding-top: 70px;
}

.single-department #text-line {
	text-align: center;
	padding-bottom: 20px;
	padding-top: 30px;
}
.single-department #text-line h5 {
	color: #000;
	font-weight: 400;
}

.single-department #image-with-text.full p:not(.indledente-title) {
	margin-bottom: 5px;
	margin-top: 0;
}

.single-department #image-with-text section:not(#accordion-list) {
	padding: 30px 0 0;
}

.single-department #image-with-text container:first-child {
	padding: 0;
}

.single-department #image-with-text .image-with-text-right #wysiwyg,
.single-department #image-with-text .image-with-text-right #buttons {
	max-width: 100%;
}

#employee-inner {
	background-color: #F2F4F7;
	padding-top: 122px;
	padding-bottom: 115px;
	margin-bottom: 150px;
}

#employee-inner .employee-info {
	position: absolute;
	background: #FFFFFF;
	box-shadow: 0px 8px 19px rgba(000,000,000,0.1);
	border-radius: 20px;
	width: 371px;
	text-align: center;
	display: inline-block;
}

#employee-inner .employee-text {
	display: inline-block;
	max-width: 714px;
	margin-left: 465px;
	vertical-align: top;
	margin-top: 100px;
	min-height: 300px;
}

#employee-inner .employee-text.kandidat {
	margin-top: 0px;
}

#employee-inner .employee-text h6:first-child {
	padding-top: 0;
}

#employee-inner .employee-text.kandidat p {
	max-width: 100%;
}

#employees.kandidater .employee .name {
	line-height: 19px;
}

#employees.kandidater .employee .city,
#employees.kandidater .employee .age,
#employees.kandidater .employee .position {

}

#employees.kandidater .employee .more {
	position: relative;
	padding-left: 15px;
	margin: 50px 30px 0 30px;
}

#employees.kandidater .employee .position {
	margin-bottom: 0;
}

#employee-inner #employees {
	margin-top: 90px;
}

#employee-inner #text-control {
	position: relative;
	top: 115px;
}

#employee-inner .employee-text h6 {
	margin-bottom: 7px;
	padding-top: 10px;
}

#employee-inner .employee-text h2 {
	font-weight: 400;
	margin-bottom: 35px;
}

#employee-inner .employee-info .employee {
	padding: 45px 68px 35px 68px;
}
#employee-inner .employee-text p {
	max-width: 569px;
}

#employee-inner .prof {
	font-size: 16px;
	color: #4C515A;
	padding-top: 5px;
	display: block;
}

#employee-inner a.btn {
	display: block;
	max-width: 100%;
	width: auto;
}

#employee-inner #breadcrumbs {
	margin-bottom: 50px;
}

#employee-inner .employee-contact a.linkedin svg {
	width: 14px;
	height: auto;
}

#employee-inner .employee-contact a.linkedin svg path {
	fill: #a70a25;
}

#employee-inner img {
	border-radius: 100%;
	width: 186px;
	height: 186px;
	margin-bottom: 30px;
}

#employee-inner .city,
#employee-inner .position,
#employee-inner .age,
#employee-inner .name {
	display: block;
}

#employee-inner .city {
	padding-bottom: 15px;
}

#employee-inner .city,
#employee-inner .position,
#employee-inner .age {
	font-size: 16px;
	color: #4C515A;
	padding-top: 5px;
	display: block;
}

#employee-inner a.back-kandidater {
	margin-top: 50px;
}

#employee-inner a.back-kandidater.first:after {
	border: 1.5px solid #ffad5b;
	background-color: #ffad5b;
}

#employee-inner a.btn.last {
	margin-top: 22px;
}

#employee-inner .employee-contact {
	margin-top: 23px;
	margin-bottom: 18px;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#image-with-text.vacancies,
#image-with-text.finddepartment {
	max-height: 100vh;
	overflow: hidden;
	padding-bottom: 0;
}

#image-with-text.vacancies {
	height: 60vh;
}

#image-with-text.finddepartment .text {
	height: calc(100% - 200px);
}
#image-with-text.finddepartment .subtitle,
#image-with-text.finddepartment .block-right,
#image-with-text.finddepartment .block-left {
	font-size: 14px;
	line-height: 21px;
	color: #4C515A;
	width: 50%;
	float: left;
	margin-top: 15px;
}

#image-with-text.finddepartment .block-left {
	width: 60%;
}

#image-with-text.finddepartment .block-right {
	width: 40%;
}

#image-with-text.finddepartment .subtitle {
	width: 100%;
}

#image-with-text.full.reverse.finddepartment img {
	border-radius: 0;
}

#image-with-text.finddepartment .navigation-block-list {
	margin-top: 32px;
	position: relative;
}

.finddepartment .image-with-text-left #map {
	height: 100%;
	border-radius: 0 0 0 100px;
}

#iw-close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
}

.finddepartment .map-marker-content a {
	position: absolute;
	bottom: 25px;
	right: 25px;
}

.finddepartment .map-marker-content {
	padding: 20px 45px 30px 30px;
}

.finddepartment #iw-close-btn {
	top: 25px;
	right: 25px;
}

#iw-close-btn img {
	width: 9px;
	height: 9px;
}

.automater {
	display: block;
	padding-left: 25px;
	padding-top: 20px;
	font-size: 14px;
	line-height: 21px;
	color: #4C515A;
}

.automater span {
	margin-right: 10px;
}

.gform_wrapper .gform_page {
	text-align: center;
}

/* start RM 
.gchoice.gchoice_138_18_1 {
margin-top: 40px;
}	
#input_138_27, #input_138_29 {
margin-top: 40px !important;
margin-left: 11px;
text-align: left;
}
end RM */

.gform_wrapper ul.gfield_checkbox li,
.gform_wrapper ul.gfield_radio li {
	display: inline-block;
	margin: 0 !important;
	overflow: unset !important;
}


.gform_wrapper .employees ul.gfield_radio li input[type=radio]:checked+label {
	font-weight: 800;
}

.gform_wrapper ul.gfield_checkbox li input[type="checkbox"],
.gform_wrapper ul.gfield_radio li input[type="radio"] {
	display: none;
}

.gform_wrapper .style-1 ul.gfield_checkbox li label {
	border: 2px solid #DCDFE6;
	border-radius: 20px;
	width: 115px !important;
	height: 115px;
	color: #000000;
	font-size: 14px;
	line-height: 24px;
	padding: 28px 5px 19px 5px;
	max-width: 100%;
	margin: 0 8px;
	transition: 0.6s;
}

.gform_wrapper .gfield.style-2 li:hover label,
.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label,
.gform_wrapper .style-1 ul.gfield_checkbox li:hover label {
	background: #FFF;
	border: 2px solid #FFF;
	box-shadow: 0px 8px 19px rgba(000, 000, 000, 0.1);
	font-weight: 400 !important;
}

.gform_wrapper .gfield.style-2 ul.gfield_checkbox li input[type=checkbox]:checked+label {
	border-radius: 20px;
}

.gform_wrapper .gfield.style-2 {
	margin-bottom: 0px !important;
}

.gform_wrapper .gfield.style-2 li label:after {
	content: url('/wp-content/themes/midspar/image/icon/ic-chekcmark-red-small.svg');
	position: absolute;
	right: 20px;
	top: 16px;
	width: 16px;
	height: 11px;
	transition: 0.6s;
	opacity: 0;
}

.gform_wrapper .gfield.style-2 ul.gfield_checkbox li input[type=checkbox]:checked+label:after,
.gform_wrapper .gfield.style-2 li:hover label:after {
	opacity: 1;
}

.gform_wrapper .style-1 ul.gfield_checkbox li label img {
	display: block;
	padding-bottom: 10px;
	max-height: 44px;
	width: 100%;
}

.gform_wrapper .style-5 .ginput_container_radio li label:after {
	border: 1.5px solid #FFF;
	background-color: #FFF;
	box-shadow: unset;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	box-shadow: 0px 8px 9px #0000000D;
}

.gform_legacy_markup_wrapper .style-input.pension ul.gfield_checkbox li label,
.gform_legacy_markup_wrapper .style-input.bolig ul.gfield_checkbox li label {
	max-width: 100%;
	padding: 0 30px;
	line-height: 50px;
	color: #000;
	white-space: nowrap;
	position: relative;
	transition: 0.6s;
	border: 1.5px solid #FFF;
	background-color: #FFF;
	border-radius: 25px;
	box-shadow: 0px 8px 9px #0000000d;
}

.gform_legacy_markup_wrapper .style-input.pension ul.gfield_checkbox li input[type=checkbox]:checked+label,
.gform_legacy_markup_wrapper .style-input.bolig ul.gfield_checkbox li input[type=checkbox]:checked+label {
	font-weight: 700 !important;
	border: 1.5px solid #FFF;
}

.gform_legacy_markup_wrapper .style-input.pension ul.gfield_checkbox li,
.gform_legacy_markup_wrapper .style-input.bolig ul.gfield_checkbox li {
	margin: 5px !important;
}

.gform_wrapper li.default-style ul.gfield_radio li label,
.gform_wrapper li.default-style ul.gfield_checkbox li label,
.gform_wrapper ul.gfield_radio li label {
	padding: 0 30px;
	min-width: auto; /*min-width: 109px; rm */
	max-width: initial;
	line-height: 50px;
	margin: 15px 0 0 10px;
	color: #000;
	white-space: nowrap;
	position: relative;
	transition: 0.6s;
}

.gform_wrapper #field_166_29 ul.gfield_radio,
.gform_wrapper #field_40_29 ul.gfield_radio,
.gform_wrapper #field_29_29 ul.gfield_radio,
.gform_wrapper #field_1_29 ul.gfield_radio {
	max-width: 750px;
	margin: 0 auto;
}

.gform_wrapper .ginput_container_radio {
	margin-top: 11px !important;
}

.gform_wrapper .ginput_container_checkbox .gfield_checkbox,
.gform_wrapper .ginput_container_radio .gfield_radio {
	width: auto !important;
}

.gform_wrapper .gf_step .back {
	position: absolute;
	left: -86px;
	top: 30px;
	cursor: pointer;
}

.gform_wrapper .gf_step .back .asvg {
	transition: 0.3s;
}

.gform_wrapper .gf_step .back:hover .asvg {
	stroke: #A70A25;
}

.ginput_container_select select {
	display: none;
}

.sm_gform_page_131 .gform_wrapper .gfield_label,
.sm_gform_page_49 .gform_wrapper .gfield_label,
.sm_gform_page_40 .gform_wrapper .gfield_label,
.sm_gform_page_29 .gform_wrapper .gfield_label,
.sm_gform_page_166 .gform_wrapper .gfield_label,
.sm_gform_page_6 .gform_wrapper .gfield_label,
.sm_gform_page_1 .gform_wrapper .gfield_label {
	color: #A70A25;
	font-size: 40px !important;
	line-height: 42px !important;
	font-family: 'Roboto Slab', serif;
	font-weight: 400 !important;
	padding-bottom: 20px;
}

body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield {
	position: relative;
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .gform-grid-col {
	position: relative;
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .gform-grid-col label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .gfield_label {
	position: absolute;
	top: 15px;
	padding: 0 15px 0 0;
	left: 15px;
	transition: 0.3s;
	font-size: 16px;
	color: #333333; /*4C515A RM */
	font-weight: 400;
	cursor: text;
	line-height: 20px;
	letter-spacing: normal;
}
#gform_254 .ginput_container_fileupload {
	padding-top: 5px;
}

#gform_254 .gfield.gfield--type-fileupload label {
	top: -7px !important;
	letter-spacing: normal !important;
	color: #4C515A;
	font-size: 11px;
	position: absolute;
	left: 10px;
	background-color: #FFF;
	padding: 0 5px;
	white-space: nowrap;
}

#gform_254 .ginput_container_fileupload input[type=file]{
	background: rgba(0, 0, 0, .02);
	border: 1px dashed #ccc;
	border-radius: 4px;
	padding: 15px;
	text-align: center;
}
#gform_14 #gform_fields_14 #input_14_13 {
	margin-bottom: 0 !important;
}

body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activeinput legend.gfield_label {
	font-size: 15px;
	font-weight: bold;
	color: #000;
	left: auto;
	display: block;
	position: relative;
	top: auto;
	white-space: normal;
	padding: 0px 0 0 3px;
	margin: 0;
	line-height: 18px;
	margin-bottom: -8px;
}

body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activehover textarea,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activehover input {
	border-color: #ABAEB3;
}

body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .activehover.gform-grid-col label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .activeinput.gform-grid-col label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activehover .gfield_label,
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.activeinput .gfield_label {
	top: -7px;
	letter-spacing: normal;
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .gform-grid-col.ginput_address_line_1 label {
	margin-top: -16px
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .ginput_container_address .gform-grid-col {
	margin-top: 16px;
}
body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield.remove-left-padding .gfield_label {
	left: 0;
}

body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_131):not(.sm_gform_page_6):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .ginput_container_checkbox {
	margin-top: 11px !important;
}

.gform_wrapper .gform_page_footer,
.gform_wrapper .gf_page_steps {
	border: 0 !important;
}

.gform_wrapper .gf_page_steps {
	text-align: center;
	position: relative;
	margin-bottom: 98px !important;
}

.gform_wrapper .gf_step span.gf_step_label {
	letter-spacing: 1.1px;
	color: #000; /* old: #4C515A; */
	text-transform: uppercase;
	opacity: 0.75;
	font-size: 11px;
	line-height: 24px;
	width: 120px;
	position: relative;
}

.gform_wrapper .gf_step {
	margin: 0 !important;
	position: relative;
	opacity: 1 !important;
}

.gform_wrapper .gf_step .bar-line:before {
	content: '';
	position: absolute;
	width: 108px;
	left: -54px;
	bottom: -25px;
	height: 2px;
	background: #DCDFE6;
}

.gform_wrapper .gf_step.gf_step_last:after {
	content: '';
	position: absolute;
	width: 110px;
	right: -54px;
	bottom: -25px;
	height: 2px;
	background: #DCDFE6;
}
.gform_wrapper .gf_step.gf_onactive .bar-line:before,
.gform_wrapper .gf_step.gf_step_active .bar-line:before {
	background: #939599;
}

.gform_wrapper .gf_step .bar-line:after {
	content: '';
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 13px;
	height: 13px;
	border-radius: 100%;
	background: #DCDFE6;
	border: 2px solid #F2F4F7;
}

.gform_wrapper .gf_step.gf_onactive .bar-line:after {
	background: #939599;
}

.gform_wrapper .gf_step.gf_step_active .bar-line:after  {
	background: #A70A25;
}

.gf_step_active .gf_step_label {
	color: #4C515A;
}

.gform_wrapper .gf_step span.gf_step_number {
	display: none !important;
}

.gform_wrapper button.skip-in-emp,
.gform_wrapper button.next-in-emp,
.gform_wrapper button.next-in-afdeling,
.gform_wrapper button.show-next-step,
.gform_wrapper .show-active,
.gform_wrapper .btn,
.gform_wrapper .gform_page_footer .button {
	background-color: #A70A25;
	min-width: 123px !important;
	margin: 0 !important;
	font-size: 14px !important;
}

.gform_wrapper .show-active-back {
	margin-right: 15px !important;
	min-width: 123px !important;
	font-size: 14px !important;
	background: transparent;
	color: #a70a25;
	text-align: right;
}

.gform_wrapper .show-active-back:hover:before {
	left: 35px;
}

.gform_wrapper .show-active-back:before {
	content: '';
	position: absolute;
	top: 18px;
	left: 40px;
	width: 6px;
	height: 13px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-image: url(/wp-content/themes/midspar/image/icon/ic-chevron.svg);
	transform: rotate(180deg);
	transition: 0.6s;
}

.gform_wrapper .show-active-back:after {
	display: none;
}

.gform_wrapper .gform_page_footer .button.gform_previous_button  {
	width: 0 !important;
}
.button.gform_previous_button  {
	color: #ffffff !important;
	left: -10px !important;		
}	


.gform_wrapper .gfield.hide {
	display: none !important;
}

.gform_wrapper .gfield.style-2 ul {
	max-width: 420px !important;
	margin: 0 auto;
	max-height: 300px;
	overflow-y: auto;
	position: relative;
}

.gform_wrapper .gfield.style-2 .ginput_container {
	position: relative;
}

.gform_wrapper .results .right,
.gform_wrapper .results .left {
	display: inline-block;
	width: 50%;
	text-align: left;
}

.gform_wrapper .results .left {
	padding-left: 32%;
}

.page-id-5812 #wysiwyg,
.page-id-5810 #wysiwyg {
	padding: 120px 0;
}

.page-id-5812 #wysiwyg img,
.page-id-5810 #wysiwyg img,
.page-id-19495 #wysiwyg img,
.gform_confirmation_wrapper img {
	border: 4px solid #A70A25;
	border-radius: 100%;
	padding: 30px 28px 31px 28px;
	width: 30px;
	height: 25px;
	margin: 0 auto;
	display: inherit;
}

.gform_wrapper .results .right {
	padding-left: 2%;
}

.gform_confirmation_wrapper {
	padding: 120px 0;
}

.gform_wrapper .results .title {
	font-weight: 800;
	width: 90px;
	padding-right: 15px;
	display: inline-block;
}

.gform_wrapper .results span {
	font-size: 14px;
	line-height: 30px;
	color: #000;
}

.gform_wrapper .gfield.style-2 .ginput_container:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background: linear-gradient(to bottom, rgba(242,244,247,0), rgba(242,244,247,1));
}

.gform_wrapper .gfield.style-2 ul::-webkit-scrollbar {
	display: none;
}

.gform_wrapper .gfield.style-3 ul.gfield_radio li label {
	min-width: 187px;
	margin: 10px 8px;
	font-size: 20px;
	line-height: 20px;
	font-family: 'Roboto Slab', serif;
	padding: 36px 5px 35px 5px;
	border-radius: 20px;
}

.gform_wrapper .gfield.style-5 .ginput_container_radio {
	width: 917px;
	overflow: hidden;
	margin: 0 auto !important;
}

.gform_wrapper .gfield.style-5 .gfield_radio {
	margin: 0 auto;
	display: flex;
	padding: 10px 0;
	transition: transform 1s ease-in-out;
}

.gform_wrapper .gfield.style-5 li {
	display: inline-block;
}

.gform_wrapper .gfield.style-5 li:hover span.day {
	color: #A70A25;
}

.gform_wrapper .gfield.style-5 li label {
	text-align: center;
	width: 115px;
	height: 115px;
	padding: 16px 5px 15px 5px;
	border-radius: 20px;
	margin: 0 8px;
	background: #FFF;
}

.gform_wrapper .gfield.style-5 li label span {
	display: block;
}

.gform_wrapper .gfield.style-5 li label span.day-name {
	font-size: 14px;
	line-height: 21px;
	color: #4C515A;
}

.gform_wrapper .gfield.style-5 li label span.day {
	color: #000000;
	font-size: 40px;
	line-height: 42px;
	font-family: 'Roboto Slab', serif;
	font-weight: 400;
	transition: 0.4s;
}

.gform_wrapper .gfield.style-5 .date_slide_header {
	width: 900px;
	margin: 0 auto;
	display: inline-block;
}

.gform_wrapper .gfield.style-5 .date_slide_header .month {
	letter-spacing: 1.1px;
	color: #4C515A;
	text-transform: uppercase;
	font-size: 11px;
	line-height: 38px;
}

.gform_wrapper .gfield.style-5 .prev,
.gform_wrapper .gfield.style-5 .next {
	width: 29px;
	height: 38px;
	cursor: pointer;
	float: right;
	padding: 10px;
	transition: 0.3s;
}

.gform_wrapper .gfield.style-4 .prev:hover .a,
.gform_wrapper .gfield.style-4 .next:hover .a,
.gform_wrapper .gfield.style-5 .prev:hover .a,
.gform_wrapper .gfield.style-5 .next:hover .a {
	stroke: #A70A25;
}

.gform_wrapper .gfield.style-5 .prev {
	float: left;
	transform: rotate(180deg);
}

.gform_wrapper .gfield.style-5 li label span.month {
	font-size: 11px;
	line-height: 24px;
	letter-spacing: 1.1px;
	color: #4C515A;
	text-transform: uppercase;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper li.gfield_error textarea {
	border: 1px solid #a70a25 !important;
}

.gform_wrapper .validation_message {
	color: #a70a25 !important;
	font-size: 11px !important;
	position: absolute;
	left: 0;
	bottom: 0;
	text-align: left;
}

.gform_wrapper .gform_page_footer {
	padding: 0 !important;
	margin: 38px 0 15px 0 !important;
}

section:not(#fact-box):not(#accordion-list) .gform_wrapper ol li,
section:not(#fact-box):not(#accordion-list):not(#news) .gform_wrapper ul li:not(.g_form_popup) {
	max-width: 100% !important;
}


.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background-color: transparent !important;
	margin-bottom: 0px !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	padding-bottom: 25px !important;
	padding-top: 0 !important;
	position: relative;
}

.gform_wrapper  .validation_error {
	display: none;
}

.gform_wrapper .gfield.style-5 li.disabled span.day-name,
.gform_wrapper .gfield.style-5 li.disabled span.day,
.gform_wrapper .gfield.style-5 li.disabled span.month {
	color: #D5D8DE;
}

.gform_wrapper .gfield.style-5 li.disabled label {
	cursor: no-drop;
}

.gform_wrapper .gfield.style-5 li.disabled {
	pointer-events:none;
}

.gform_wrapper .gfield.style-3 ul.gfield_radio li label p.indledente-title {
	margin: 0;
}

.gform_wrapper .gfield.style-4 ul.gfield_radio li label {
	width: 185px !important;
	min-width: 185px;
	padding: 24px 30px 20px 30px;
	font-size: 14px;
	line-height: 20px;
	font-weight: bold;
	margin: 0 11px 0px 11px;
	border-radius: 20px;
	text-align: center;
	white-space: unset;
	vertical-align: top;
}

.gform_wrapper .gfield.style-4 ul.gfield_radio li label img {
	border-radius: 100%;
	width: 100%;
	height: auto;
	display: block;
}

.gform_wrapper .gfield.style-4 ul.gfield_radio {
	display: flex;
	margin: 0 auto 15px auto !important;
	transition: transform 1s ease-in-out;
}

.gform_wrapper li.input-style.gfield .validation_message {
	left: 50%;
	transform: translateX(-50%);
	max-width: 370px !important;
	margin: 0 auto !important;
}
.gform_wrapper li.input-style.gfield .ginput_container,
.gform_wrapper .input-style .gform_page_fields {
	max-width: 370px !important;
	margin: 0 auto !important;
}

section:not(#fact-box):not(#accordion-list):not(#news) .input-style ul li {
	max-width: 100% !important;
}

.gform_wrapper .field_description_below .gfield_description {
	padding: 0 !important;
}

.gform_wrapper #gform_1 .styledSelect,
.gform_wrapper #gform_6 .styledSelect,
.gform_wrapper #gform_166 .styledSelect,
.gform_wrapper #gform_29 .styledSelect,
.gform_wrapper #gform_40 .styledSelect {
	position: relative;
	text-align: left;
	padding: 15px 14px 16px 14px !important;
	line-height: 1;
	color: #757575;
}

.gform_wrapper #gform_1 .styledSelect:hover,
.gform_wrapper #gform_6 .styledSelect:hover,
.gform_wrapper #gform_166 .styledSelect:hover,
.gform_wrapper #gform_29 .styledSelect:hover,
.gform_wrapper #gform_40 .styledSelect:hover {
	border: 2px solid #DCDFE6;
}

.gform_wrapper #gform_1 .styledSelect:after,
.gform_wrapper #gform_6 .styledSelect:after,
.gform_wrapper #gform_166 .styledSelect:after,
.gform_wrapper #gform_29 .styledSelect:after,
.gform_wrapper #gform_40 .styledSelect:after {
	top: 18px;
}

.gform_wrapper #gform_1 .ginput_container_select ul.options li[rel=""],
.gform_wrapper #gform_6 .ginput_container_select ul.options li[rel=""],
.gform_wrapper #gform_166 .ginput_container_select ul.options li[rel=""],
.gform_wrapper #gform_29 .ginput_container_select ul.options li[rel=""],
.gform_wrapper #gform_40 .ginput_container_select ul.options li[rel=""] {
	display: none;
}

.gform_wrapper #gform_1 .ginput_container_select ul.options li,
.gform_wrapper #gform_6 .ginput_container_select ul.options li,
.gform_wrapper #gform_166 .ginput_container_select ul.options li,
.gform_wrapper #gform_29 .ginput_container_select ul.options li,
.gform_wrapper #gform_40 .ginput_container_select ul.options li {
	padding-left: 7px;
}

.gform_wrapper #gform_1 .ginput_container_select ul.options,
.gform_wrapper #gform_6 .ginput_container_select ul.options,
.gform_wrapper #gform_166 .ginput_container_select ul.options,
.gform_wrapper #gform_29 .ginput_container_select ul.options,
.gform_wrapper #gform_40 .ginput_container_select ul.options {
	max-width: 370px !important;
	margin: 0 auto !important;
}

.gform_wrapper .styledSelect:after {
	content: "";
	position: absolute;
	right: 20px;
	top: 20px;
	width: 6px;
	height: 11px;
	transform: rotate(90deg);
	background-image: url('/wp-content/themes/midspar/image/icon/ic-chevron-black.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
	transition: 0.6s;
}

.gform_wrapper .styledSelect.active:after {
	transform: rotate(-90deg);
}
/*RM*/
.gform_wrapper textarea,
.gform_wrapper input[type="email"],
.gform_wrapper input[type="text"],
.gform_wrapper input[type="tel"]{
	width: 100% !important;
	border: 2px solid #DCDFE6;
	border-radius: 5px;
	padding: 15px 14px 16px 14px !important;
	box-shadow: none;
	margin: 0 !important;
	height: 50px;
}

.gform_wrapper li.small-width textarea{
	max-width: 700px;
}

.gform_wrapper .gfield.style-4 .slider-block {
	width: 828px;
	overflow: hidden;
	margin: 0 auto;
}

.gform_wrapper .gfield.style-4 .ginput_container_radio {
	width: 888px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.gform_wrapper .gfield.style-4 .prev,
.gform_wrapper .gfield.style-4 .next {
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
	width: 29px;
	height: 38px;
	padding: 10px;
	cursor: pointer;
	z-index: 9;
	transition: 0.3s;
}

.gform_wrapper .gfield.style-4 .prev {
	right: auto;
	left: 0px;
	top: calc(50% - 9px);
	transform: rotate(180deg);
}

.gform_wrapper .gfield.style-4 ul.gfield_radio li label span {
	min-height: 37px;
	bottom: 0;
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gform_wrapper .gfield.style-2 ul {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.gform_wrapper .gfield.style-2 li {
	margin: 0 20px 10px 20px !important;
	display: block;
	text-align: left;
	cursor: pointer;
}

.gform_wrapper .gfield.style-2 li label {
	padding: 13px 15px 14px 20px;
	width: 100%;
	max-width: 100%;
	font-size: 14px;
	line-height: 24px;
	color: #000000;
	border: 2px solid #DCDFE6;
	border-radius: 20px;
	transition: 0.6s;
}

.gform_wrapper .gfield.style-2 li:last-child {
	margin-bottom: 50px !important;
}

.gform_wrapper .hidden-button-prev .gform_previous_button,
.gform_wrapper .hidden-button-next .gform_next_button {
	visibility: hidden;
	width: 0 !important;
	padding: 0 !important;
	min-width: 0 !important;
}

.gform_wrapper .style-input input {
	max-width: 380px !important;
	margin-bottom: 30px !important;
}

.gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0 !important;
}

.sm_gform_page_131,
.sm_gform_page_49,
.sm_gform_page_40,
.sm_gform_page_29,
.sm_gform_page_166,
.sm_gform_page_6,
.sm_gform_page_1 {
	background: #F2F4F7;
}

.sm_gform_page_131 #wysiwyg,
.sm_gform_page_49 #wysiwyg,
.sm_gform_page_40 #wysiwyg,
.sm_gform_page_29 #wysiwyg,
.sm_gform_page_166 #wysiwyg,
.sm_gform_page_6 #wysiwyg,
.sm_gform_page_1 #wysiwyg {
	top: -100px;
	width: 1240px;
	max-width: 100%;
	margin: 0 auto;
	min-height: calc(100vh - 180px);
	position: relative;
	padding-top: 0;
}

.sm_gform_page_131 .gform_wrapper,
.sm_gform_page_49 .gform_wrapper,
.sm_gform_page_40 .gform_wrapper,
.sm_gform_page_29 .gform_wrapper,
.sm_gform_page_166 .gform_wrapper,
.sm_gform_page_6 .gform_wrapper,
.sm_gform_page_1 .gform_wrapper {
	margin-top: 0;
}

.sm_gform_page_131 #wysiwyg form,
.sm_gform_page_49 #wysiwyg form,
.sm_gform_page_40 #wysiwyg form,
.sm_gform_page_29 #wysiwyg form,
.sm_gform_page_166 #wysiwyg form,
.sm_gform_page_6 #wysiwyg form,
.sm_gform_page_1 #wysiwyg form {
	padding-top: 120px;
}

.page-template-page-book-mode .bookform-container {
	height: 100vh;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: -100px;
}

.page-template-page-book-mode .bookform-container:not(.active):before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.9);
}

.page-template-page-book-mode #bookform {
	position: relative;
	top: 150px;
}
.page-template-page-book-mode .pre-bookform {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.page-template-page-book-mode a.btn {
	min-width: 91px;
}

.page-template-page-book-mode #message-block {
	margin-top: 0;
}
/*
#iframe p {
position: relative;
overflow: hidden;
padding-top: 56.25%;
}

#iframe iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}*/

#book-mode .book-mode-img {
	width: 100%;
	position: relative;
	border-radius: 0 100px 0 100px;
	text-align: center;
	margin: 40px 0;
}

#book-mode .book-mode-img .media {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	top: 0;
	left: 0;
	border-radius: 0 100px 0 100px;
	z-index: -1;
}

#book-mode .btn {
	margin: 0 10px;
	margin-bottom: 15px;
	min-width: 91px;
}

#book-mode .btn.last:after {
	background-color: transparent;
}

#book-mode .book-mode-img h2 {
	font-weight: 400;
	padding-bottom: 30px;
}

#book-mode .book-mode-img:before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: calc(100% + 1px);
	height: calc(100% + 1px);
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 0 100px 0 100px;
}

#book-mode .book-mode-img .text {
	max-width: 730px;
	padding: 175px 30px 165px 30px;
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 0;
}

#image-over-text a.btn,
#navigation-block a.btn,
#wysiwyg a.btn,
#buttons a.btn,
#message-block a.btn
#image-with-text a.btn {
	margin-bottom: 15px;
}

.g-form-hide {
	display: none;
}
#field_11_14.g_form_popup {
	left: 50% !important;
	transform: translateX(-50%) !important;
}

.g_form_popup {
	position: absolute !important;
	z-index: 10 !important;
	display: none;
	background-color: #fefefe !important;
	font-size: 14px !important;
	max-width: 520px !important;
	width: 90% !important;
	padding: 10px 30px !important;
	text-align: left !important;
	margin-top: -55px !important;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.1) !important;
	border-radius: 20px !important;
}
.g_form_popup.active {
	display: block;
}
.g_form_popup p {
	padding: 1rem 0 0;
}
.g_form_popup p a {
	margin-top: 10px;
	display: block;
}
.g_form_popup button {
	margin: 0 5px;
}
.g_form_popup .button-block {
	padding: 8px;
}
#newsletter .g_form_popup button, #newsletter-erhverv .g_form_popup button {
	position: relative;
	top: auto;
	left: auto;
}


#text-section {
	padding: 30px 0;
}

#dawa-address-input {
	line-height: 60px;
	height: 60px;
	padding-left: 40px;
}

.tk-energiberegner .autocomplete-container div {
	margin-top: 70px;
}

.tk-energiberegner__svg-container.tk-energiberegner__enter-info__reset-input svg {
	width: 17px;
	height: 24px;
}

/* ----------- Circle --------*/

#circles ul {
	text-align: center;
	padding: 0;
	margin-bottom: 0px;
}

.circle-content{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

li.circle-list {
	list-style: none;
	display: inline-block;
	position:relative;
}

.centered-text {
	font-size: 62px;
	color: #A70A25;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	line-height: 58px;
}

.circle-content p {
	margin-bottom: 0px;
	font-size: 14px;
	margin-top: 5px;
	/*line-height: 19px; RM*/
}

/*-*/

.circular-chart {
	display: block;
	margin: 0px auto;
	width: 300px;
	height: 300px;
}

.circle-bg {
	fill: none;
	stroke: #f2f4f7;
	stroke-width: 2px;
}

.circle {
	fill: none;
	stroke-width: 2px;
	stroke-linecap: round;
	animation: progress 3s ease-out forwards;
}

@keyframes progress {
	0% {
		stroke-dasharray: 0 100;
	}
}

.circular-chart.red .circle {
	stroke: #A70A25;
}

section#circles .container ul li.circle-list::before{
	content: none!important;
}

/* --------- Map ---------- */

#map-container #map {
	width: 50%;
	height: 630px;
	border-radius: 0px 50px 0px 50px;
}

#full-width-map-container #map{
	width: 100%;
	height: 550px;
}

#full-width-map-container{
	padding: 60px 0px;
}

#map-full-width{
	width: 100%;
	height: 550px;
}

#map-container {
	display: flex;
	align-items: center;
	padding-top: 60px;
	padding-bottom: 60px;
}

#map-container.reverse {
	flex-direction: row-reverse;
}

#map-container .image-with-text-left, #map-container.reverse .image-with-text-right {
	width: 48%;
	margin-right: 20px;
	margin-left: 0;
}

#map-container.reverse .image-with-text-left, #map-container .image-with-text-right {
	width: 52%;
	margin-left: 68px;
	margin-right: 0;
}

#map button, #map a.btn, #map-full-width button, #map-full-width a.btn{
	min-width: auto;
}

.map-marker-content {
	padding: 30px 35px 35px;
}

.map-marker-content h3{
	color: #000000;
	font-size: 20px;
}

.map-marker-content p{
	color: #4C515A;
	font-size: 14px;
}

.map-marker-content a {
	color: #A70A25;
	font-size: 14px;
	font-weight: 500;
}

.map-marker-content img.arrow {
	margin-left: 60px;
}

.finddepartment .map-marker-content img.arrow {
	margin-left: 0px;
}

.map-marker-content a:hover {
	text-decoration: underline;
}

.gm-style-iw-d{
	overflow: auto!important;
}

.gm-style .gm-style-iw-c{
	padding: 0px!important;
	border-radius: 20px;
}

.finddepartment .gm-style .gm-style-iw-c{
	min-width: 240px !important;
	box-shadow: 0 0px 15px 0px rgba(0,0,0,0.2);
}

button.gm-ui-hover-effect{
	display: none!important;
}

/* 

#CybotCookiebotDialogBodyContent {
padding: 0 !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
margin: 0 38px !important;
width: calc(100% - 76px) !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
width: calc(50% - 5px) !important;
display: inline-block !important;
border-radius: 25px !important;
line-height: 50px !important;
font-size: 14px !important;
color: #000 !important;
height: 50px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
font-family: 'Lato', sans-serif !important;
position: relative !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:before,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #7ACCC8;
z-index: -1;
border-radius: 25px;
transition: 0.3s;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:before {
background: #7ACCC8; 
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover:before,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover:before {
transform: perspective(1px) scale(1.04, 1.05);
backface-visibility: hidden;
}

#CybotCookiebotDialogBodyLevelButtons {
background: #F2F4F7 !important;
padding: 0 !important;
margin-top: 50px !important;
width: 100% !important;
margin-left: 0 !important;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane {
border: 0 !important;
padding: 26px 0 !important;
}

#CybotCookiebotDialogBodyLevelButtonsTable {
width: 100% !important;
}

#CybotCookiebotDialogBodyLevelDetailsWrapper {
border: 0 !important;
position: absolute !important;
bottom: 25px !important;
background: transparent !important;
left: 50% !important;
transform: translateX(-50%) !important;
padding: 0 !important;
}

#CybotCookiebotDialogBodyLevelWrapper {
padding: 0 !important;
}

#CybotCookiebotDialogBodyLevelDetailsButton {
background: none !important;
text-decoration: underline !important;
font-family: 'Lato', sans-serif !important;
font-size: 14px !important;
padding: 0 !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
background-color: #7ACCC8 !important;  
float: left !important;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane {
border-radius: 0 !important;
text-align: center !important;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper label {
position: relative;
height: 60px;
width: 100%;
text-align: center;
background: none;
font-family: 'Lato', sans-serif !important;
padding: 0;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper input:checked + label:after {
left: calc(50% + 11px);
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper input:checked + label:before {
background: #7ACCC8;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper label:after {
content: '';
position: absolute;
top: 29px;
left: calc(50% - 11px);
transform: translateX(-50%);
width: 22px;
height: 22px;
border-radius: 100%;
background: #FFF;
box-shadow: 0px 3px 4px rgba(000, 000, 000, 0.1);
transition: 0.3s;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper {
width: 70px !important;
display: inline-block !important;
margin: 0 57px 0 0 !important
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper:last-child {
margin: 0 !important;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper label:before {
content: "";
position: absolute;
top: 23px;
left: 50%;
transform: translateX(-50%);
border-radius: 17px;
display: block ;
height: 34px;
background: #DCDFE6;
width: 59px;
transition: 0.3s;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
background-color: #7ACCC8 !important;
}

#CybotCookiebotDialogBodyContentText {
margin: 0 !important;
}

#CybotCookiebotDialogBodyContentText span {
font-size: 16px !important;
line-height: 21px !important;
padding: 0px 38px 22px 38px !important;
display: block;
font-family: 'Lato', sans-serif !important;
}

#CybotCookiebotDialog {
border: 0 !important;
box-shadow: 0px 8px 20px #0000001A !important;
border-radius: 20px !important;
height: auto !important;
padding: 0 0 60px 0 !important;
margin: 0 !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 90% !important;
}

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

#CybotCookiebotDialogBodyContentTitle {
font-size: 28px !important;
line-height: 30px !important;
font-family: 'Roboto Slab', serif!important;
padding: 33px 38px 22px 38px !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll,
#CybotCookiebotDialogPoweredbyLink {
display: none !important;
}

*/

.sleeknote-anchor {
	z-index: 0 !important;
}

#info-popup .info-popup-button {
	display: block;
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	line-height: 50px;
	box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.3);
	border: 0;
	border-radius: 100%;
	text-align: center;
	background: #a70a25;
	color: #FFF;
	font-weight: 600;
	font-size: 20px;
	cursor: pointer;
}

#info-popup .info-popup-button:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #a70a25;
	border-radius: 100%;
	z-index: -1;
	transition: 0.4s;
}

#info-popup .info-popup-button:hover:after {
	transform: scale(1.08);
}

#info-popup .info-popup-button .open {
	display: block;
}

body.active-popup #info-popup .info-popup-button .open {
	display: none;
}

body.active-popup {
	overflow: hidden;
}

body.active-popup #info-popup .info-popup-content {
	display: flex;
}

body.active-popup #info-popup .info-popup-button {
	z-index: 999;
}

body.active-popup #info-popup .info-popup-button span.open {
	display: none;
}

#info-popup .info-popup-button span.close {
	display: none;
	position: relative;
}

#info-popup .info-popup-button span.close:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 50px;
	height: 50px;
	background-image: url('/wp-content/themes/midspar/image/icon/ic-close.svg');
	background-repeat: no-repeat;
	background-size: 12px;
	background-position: center center;
}

body.active-popup #info-popup .info-popup-button span.close {
	display: block;
}

body.active-popup #info-popup .info-popup-button:after {
	background-color: #ffffff;
}

#info-popup .info-popup-content {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #a70a25;
	z-index: 10;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: center;
	opacity: 0;
	animation: fadeOut ease 0.4s;
	-webkit-animation: fadeOut ease 0.4s;
	-moz-animation: fadeOut ease 0.4s;
	-o-animation: fadeOut ease 0.4s;
	-ms-animation: fadeOut ease 0.4s;
	display: none;
}

body.active-popup #info-popup .info-popup-content {
	display: flex;
	animation: fadeIn ease 0.4s;
	-webkit-animation: fadeIn ease 0.4s;
	-moz-animation: fadeIn ease 0.4s;
	-o-animation: fadeIn ease 0.4s;
	-ms-animation: fadeIn ease 0.4s;
	opacity: 1;
}

#info-popup .info-popup-content .popup-image {
	flex: 1 0 50%;
	box-sizing: border-box;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 70vh;
	max-height: 677px;
}

#info-popup .info-popup-content .popup-text {
	flex: 1 0 50%;
	box-sizing: border-box;
	height: 70vh;
	color: #FFF;
	overflow: auto;
	padding: 30px 70px;
	max-height: 677px;
}

#info-popup .info-popup-content .popup-text .text {
	max-width: 670px;
	margin: 0 auto;
	top: 0;
	width: auto;
}

#info-popup .info-popup-content .popup-text .text img {
	display: none;
}

#info-popup section ul li:before {
	color: #ffffff;
}

#info-popup .info-popup-content .popup-text h1,
#info-popup .info-popup-content .popup-text h2,
#info-popup .info-popup-content .popup-text h3,
#info-popup .info-popup-content .popup-text h4,
#info-popup .info-popup-content .popup-text h5,
#info-popup .info-popup-content .popup-text h6,
#info-popup .info-popup-content .popup-text a,
#info-popup .info-popup-content .popup-text p {
	color: #FFF;
}

#info-popup .info-popup-content .popup-text a {
	text-decoration: underline;
}

/* width */
#info-popup .info-popup-content .popup-text::-webkit-scrollbar {
	width: 10px;
}

/* Track */
#info-popup .info-popup-content .popup-text::-webkit-scrollbar-track {
	background: #a70a25;
}

/* Handle */
#info-popup .info-popup-content .popup-text::-webkit-scrollbar-thumb {
	background: #FFF;
	border-radius: 10px;
}

/* Handle on hover */
#info-popup .info-popup-content .popup-text::-webkit-scrollbar-thumb:hover {
	background: #FFF;
}

.gform_fields .gfield.move-description-up {
	display: flex;
	flex-direction: column;
}
.gform_fields .gfield.move-description-up .ginput_container {
	order: 3;
}
.gform_fields .gfield.move-description-up .gfield_description {

	color: #A70A25;
	font-size: 40px !important;
	line-height: 42px !important;
	font-family: 'Roboto Slab', serif;
	font-weight: 400 !important;
	padding-bottom: 20px !important;
}

/*---------- Calculator ----------- */

/*

.container{
text-align: center;
}

.main-content {
margin: 170px 0px;
background: #f2f4f7;
border-radius: 0px 100px;
padding: 50px;
display: inline-block;
text-align: center;
max-width: 780px;
}

.banner-container {
box-shadow: 0px 13px 30px #00000014;
border-radius: 20px;
background-color: #fff;
clear: both;
float: none;
width: 100%;
margin-bottom: -130px;
padding: 40px;
display: inline-block;
}

.product-header-signup {
background: transparent;
border-radius: 0;
border: none;
float: none;
}

.col-md-5 {
padding-left: 0;
float: none;
display: inline-block;
width: auto;
}

.product-header-signup h2 {
background: transparent;
color: #A70A25;
font-size: 42px;
margin: 0px;
padding: 0;
}

.product-header-signup form {
background: transparent;
border-width: 0px 0;
padding: 0;
}

label.desc {
font-size: 14px;
font-weight: 400;
color: #4C515A;
margin: 0px 0px 7px 0px;
}

input#inputMask_0 {
height: 50px;
width: 260px;
border: 1px solid #DCDFE6;
border-radius: 5px;
padding: 10px;
}

form li {
padding: 40px 0px 0px;
}
*/
.ie-popup-active {
	z-index: 990;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(000, 000, 000, 0.6);
}

.ie-popup-message {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #000;
	max-width: 400px;
	border-radius: 10px;
	background: #FFF;
	font-size: 16px;
	line-height: 21px;
	padding: 30px;
	display: block;
	z-index: 999;
}

.ie-popup-message .close {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 30px;
	height: 30px;
	background-image: url(/wp-content/themes/midspar/image/icon/ic-close.svg);
	background-repeat: no-repeat;
	background-size: 12px;
	background-position: center center;
	cursor: pointer;
}

.menu-arrow {
	background: transparent;
	border-radius: 0;
	min-width: auto;
	padding: 0;
	margin-left: 5px;
	transition: 0.3s;
	position: relative;
	top: -2px;
}

.menu-arrow svg {
	width: 20px;
	height: auto;
}



@media (min-width: 1600px){
	#image-with-text.full .image-with-text-right .text {
		margin: 0 auto;
		padding-right: 20px;
		padding-left: 20px;
	}

}

@media print {
	#spotbox.spotbox-style-3 a {
		align-items: flex-start;
	}
	#spotbox.spotbox-style-3 a h5 {
		text-align: left;
	}
	#spotbox .spotbox-left {
		display: flex;
		flex-direction: column;
	}
	#wysiwyg,
	#accordion-list, #fact-box {
		max-width: 100% !important;
	}
	#accordion-list .accordion .accordion-text,
	#accordion-list .accordion .accordion-text.active {
		height: auto !important;
	}
	.image-with-text-left .event-info {
		position: relative !important;
		bottom: auto !important;
		top: 0 !important;
	}
	#accordion-list .accordion-list-block {
		padding: 0 !important;
	}
	.overlay-red,
	div {
		background-color: #FFF !important;
	}
	.pdfprint,
	#navigation-block .local-video,
	#news a .arrow,
	button.raffle__LauncherButton--1kv5rwu,
	#navigation-block .navigation-block-right,
	#spotbox a img,
	.si-toggle-container,
	.search-block,
	header,
	footer,
	#navigation-block .video-img,
	#iframe,
	section.hide-in-print,
	#breadcrumbs,
	#message-block,
	.buttons,
	.btn,
	button.prev,
	button.next,
	#text-control,
	.mce_print {
		display: none !important;
	}
	table tr,
	table td,
	table {
		border: 1px solid #000 !important;
	}
	#icon-with-text .icon-with-text-block {
		background: #FFF;
	}
	#news .news-slider {
		white-space: unset;
	}
	#news .news-slider,
	#news .news-grid {
		display: block !important;
	}
	#news .news-slider a,
	#news .news-grid a {
		width: 48% !important;
	}
	#news .news-grid a span.text {
		padding: 15px 30px 15px 30px !important;
	}
	#news .news-grid a span.text .limit-text-5 {
		height: 90px !important;
	}
	#news .news-slider a:nth-child(2n),
	#news .news-grid a:nth-child(2n){
		float: right;
		margin-right: 0;
	}
	#news .news-slider a, #news .news-grid a{
		margin-bottom: 20px !important;
	}
	#news a .image,
	#news .news-slider a:first-child, #news .news-grid a:first-child,
	#news:not(.archive) .news-slider a:last-child, #news:not(.archive) .news-slider a:last-child .image, #news:not(.archive) .news-grid a:last-child, #news:not(.archive) .news-grid a:last-child .image {
		border-radius: 0 !important;	
	}
	#spotbox.spotbox-style-4 a span:first-child, #spotbox.spotbox-style-1 a span:first-child, #spotbox.spotbox-style-2 a span:first-child {
		margin-top: 0 !important;	
	}
	#spotbox span.subtitle,
	#spotbox h5 {
		color: #000 !important;
	}
	#spotbox .spotbox-right a,
	#spotbox .spotbox-right a,
	#spotbox.spotbox-style-1 a:nth-child(3), #spotbox.spotbox-style-1 a:nth-child(4), #spotbox.spotbox-style-1 a:nth-child(5), #spotbox.spotbox-style-2 a.three,
	#spotbox.spotbox-style-2 a.two,
	#spotbox.spotbox-style-3 a.three,
	#spotbox.spotbox-style-3 a.two {
		height: auto !important;
	}
}

@media (max-width: 1300px) {
	#image-with-text.finddepartment .block-right {
		margin-top: 10px;
		width: 100%;
	}

	#image-with-text.finddepartment .block-left {
		width: 100%;
	}
}

@media (min-width: 1025px){
	a:hover {
		color: #A70A25;
	}
	ul.menu ul.sub-menu > li:hover .menu-arrow {
		transform: translateX(10px);
		transition: 0.3s;
	}
	ul.menu ul.sub-menu > li:hover .menu-arrow svg .a {
		stroke: #000000;
	}
	body.menu-active header #site-navigation:before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		height: 100vh;
		width: 50%;
		background-color: #FFF;
		z-index: -1;
	}

	header #site-navigation li {
		cursor: pointer;
		display: inline-block;
	}
	header #site-navigation .menu.active li a,
	header #site-navigation li:hover a {
		color: #000;
	}

	header #site-navigation .menu.active li .sub-menu li {
		display: block;
		padding: 0;
		text-align: right;
		padding-right: 115px;
		padding-bottom: 40px;
		padding-left: 20px;
		animation: fadeIn ease 0.5s;
		-webkit-animation: fadeIn ease 0.5s;
		-moz-animation: fadeIn ease 0.5s;
		-o-animation: fadeIn ease 0.5s;
		-ms-animation: fadeIn ease 0.5s;
	}

	header #site-navigation .menu.active li .sub-menu li a {
		font-size: 32px;
		color: #A70A25;
		padding-right: 0;
		font-family: 'Roboto Slab', serif;
		line-height: 20px;
		word-wrap: break-word;
	}

	header #site-navigation .menu li .sub-menu li a:hover {
		color: #000 !important;
	}

	header #site-navigation .menu li .sub-menu li ul li a:hover {
		color: #FFF !important;
	}

	header #site-navigation .menu.active li .sub-menu {
		display: block;
		cursor: auto;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu-wrap,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu-wrap {
		position: fixed;
		left: 50%;
		top: 0;
		height: calc(100% - 279px);
		overflow-y: scroll;
		background-color: #A60D1F;
		opacity: 1;
		width: calc(50% - 170px);
		z-index: 70;
		padding: 145px 70px 134px 100px;
		border-radius: 0px 0px 0px 100px;
		cursor: auto;
	}


	header #site-navigation .menu.active li .sub-menu li .sub-menu-wrap li .sub-menu-wrap {
		position: relative;
		left: auto;
		top: auto;
		height: 100%;
		background-color: transparent;
		opacity: 1;
		width: 100%;
		z-index: 70;
		padding: 0;
		border-radius: 0;
		columns: 1;
		-webkit-columns: 1;
		-moz-columns: 1;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu {
		height: auto;
		display: block;
		columns: 2;
		-webkit-columns: 2;
		-moz-columns: 2;
		position: relative;
		left: 0;
		width: auto;
		margin: 0;
		padding: 0;
		text-align: left;
		border-radius: 0;
	}

	header #site-navigation .menu.active li .sub-menu li:hover a {
		color: #A60D1F;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li:nth-child(2n + 0),
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li:nth-child(2n + 0) {

	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li {
		display: inline-block;
		text-align: left;
		margin-bottom: 32px;
		padding-right: 15px;
		line-height: 24px;
		width: 100%;
		vertical-align: top;
		padding-bottom: 0;
		padding-left: 0;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li .sub-menu,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li .sub-menu {
		position: relative;
		left: auto;
		top: auto;
		padding: 0;
		height: 100%;
		width: 100%;
		border-radius: 0;
		columns: 1;
		-webkit-columns: 1;
		-moz-columns: 1;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li .sub-menu li,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li .sub-menu li {
		margin-bottom: 0;
		display: block;
		float: none;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li .sub-menu li a,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li .sub-menu li a {
		color: #FFF;
		font-size: 14px;
		font-family: 'Lato', sans-serif;
		font-weight: 400;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li a:hover,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li a:hover,
	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li .sub-menu li a:hover,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li .sub-menu li a:hover {
		text-decoration: underline;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li .sub-menu li a {
		margin-left: 3px;
		line-height: 24px;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li .sub-menu li.more a,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li .sub-menu li.more a {
		color: #E4BEC2;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li a,
	header #site-navigation .menu.active li .sub-menu li:hover .sub-menu li a {
		font-family: 'Roboto Slab', serif;
		line-height: 24px;
		color: #FFF;
		font-size: 18px;
	}

	header #site-navigation .menu.active li .sub-menu li.active-focus .sub-menu li a {
		line-height: 34px;
		margin-left: 3px;
	}

	body.menu-active {
		position: fixed;
		overflow-y: scroll;
		width: 100%;
	}

	body.menu-active header {
		top: 0;
	}
}
@media (min-width: 992px){
	/*.vacancies .navigation-block-list {
	display: none;
}*/
	body.home .navigation-block-left {
		height: calc(100% - 150px);
		margin-top: 150px;
	}
	/*RM added*/
	#image-with-text.vacancies .bottom-arrrow,
	#image-with-text.finddepartment .bottom-arrrow,
	#navigation-block .bottom-arrrow {
		display: block;
		position: absolute;
		left: 0;
		bottom: 20px;
		width: 50%;
		height: 20px;
		text-align: center;
		z-index: 1;
		transition: 0.6s;
		opacity: 1;
		-moz-animation: bounce 2s infinite, fadeIn ease 0.4s;
		-webkit-animation: bounce 2s infinite, fadeIn ease 0.4s;
		animation: bounce 2s infinite, fadeIn ease 0.4s;
	}
}

@media (min-width: 992px and max-width: 1200px){

	header #site-navigation .menu.active li .sub-menu li {
		padding-right: 60px;
	}

	header #site-navigation li .sub-menu li:hover .sub-menu {
		padding: 166px 30px 134px 60px;
		width: calc(50% - 90px);
	}
	/*RM added*/
	#image-with-text.vacancies .bottom-arrrow,
	#image-with-text.finddepartment .bottom-arrrow,
	#navigation-block .bottom-arrrow {
		display: block;
		position: absolute;
		left: 0;
		bottom: 20px;
		width: 50%;
		height: 20px;
		text-align: center;
		z-index: 1;
		transition: 0.6s;
		opacity: 1;
		-moz-animation: bounce 2s infinite, fadeIn ease 0.4s;
		-webkit-animation: bounce 2s infinite, fadeIn ease 0.4s;
		animation: bounce 2s infinite, fadeIn ease 0.4s;
	}
}
}

@media (max-width: 1280px) {



	#breadcrumbs.top {
		left: 20px;
	}

	#news button.hide3 {
		display: inline-block;
	}

	.container {
		padding-left: 20px;
		padding-right: 20px;
		max-width: 992px;
		width: auto;
	}

	#employees .employees-list .employee {
		flex: 0 0 22.91%;
		max-width: 22.91%;
	}

	.video-img {
		height: 570px;
	}

	#image-with-text.full .image-with-text-right .text {
		width: 428px;
	}

	#icon-with-text .icon-with-text-block {
		flex: 0 0 31.90%;
	}

	#news.archive .news-grid a {
		flex: 0 0 31.21%;
	}

}

@media (max-height: 780px){
	#image-with-text.finddepartment h1 {
		font-size: calc(39px * var(--text-scaler));
		line-height: calc(41px * var(--text-line-scaler));
	}
	header #site-navigation .menu.active li .sub-menu li a {
		font-size: 26px;
		line-height: 10px;
	}

	#CybotCookiebotDialog {
		transform: translate(-50%, -50%) scale(0.80) !important;
		transform-origin: unset !important;
	}
	#CybotCookiebotDialogDetail {
		position: absolute !important;
		bottom: 60px !important;
		z-index: 999 !important;
	}
}

@media (max-width: 1200px) {

	#info-popup .info-popup-content .popup-text {
		padding: 30px 40px;
	}

	#image-with-text.finddepartment h1 {
		font-size: calc(39px * var(--text-scaler));
		line-height: calc(41px * var(--text-line-scaler));
	}

	.gform_wrapper .results .left {
		padding-left: 30%;
	}

	.gform_wrapper .results .right {
		padding-left: 4%;
	}

	.image-with-text-left .event-info {
		width: 70%;
	}

	.search-block-menu {
		width: 85%;
		padding-left: 0px;
	}

	.search-block-menu .search-banner {
		flex: 0 0 46%;
	}

	.search-banner .search-banner-block {
		width: 100%;
	}


}

@media (max-width: 1032px) {
	#image-with-text.full .image-with-text-right .text {
		width: auto;
		margin-left: 20px;
	}
	.page-template-page-find-afdeling-php #image-with-text.full .image-with-text-right .text {
		width: 428px;
		padding-left: 0;
	}
}
.menu-hide-mobile {
	color: #A70A25;
}
.menu-hide-mobile:hover {
	color: #000;
}
@media (max-width: 1400px){
	.menu-hide-mobile {
		display: block;
		margin-top: -20px;
	}
	header #site-navigation div ul li > a,
	header #site-navigation .custom-menu-element {
		padding-right: 25px;
	}
	header #site-navigation {
		padding-left: 30px;
	}
}
@media (max-width: 1200px){
	header #site-navigation div ul li > a,
	header #site-navigation .custom-menu-element {
		font-size: 18px;
		padding-right: 20px;
	}
	header #site-navigation {
		padding-left: 20px;
	}
	header .site-branding {
		width: 130px;	
	}
}
@media (max-width: 1024px){
	ul.menu .menu-arrow{
		display: none;
	}
	.menu-hide-mobile {
		display: none;
	}

	#image-with-text.finddepartment .bottom-arrrow {
		position: fixed;
	}
	#book-mode .book-mode-img .media,
	#book-mode .book-mode-img:before,
	#book-mode .book-mode-img,
	#table .table-block,
	#fact-box .fact-box-block,
	#accordion-list .accordion-list-block,
	#image-with-text .image-with-text-left.shadow:after,
	#image-with-text img {
		border-radius: 0 70px;
	}
	#image-with-text.full.reverse img,
	.navigation-block-right {
		border-radius: 0 0 0 70px;
	}

	.page-template-page-find-afdeling-php {
		overflow: hidden;
	}

	.page-template-page-find-afdeling-php #footer,
	.page-template-page-find-afdeling-php #message-block {
		display: none;
	}
	.page-template-page-find-afdeling-php #image-with-text.full .image-with-text-right .text {
		width: 428px;
		padding-left: 0;
	}

	body.search-active header,
	header {
		background-color: #FFF;
		height: 70px;
	}

	body {
		margin-top: 70px;
	}

	header #site-navigation li .sub-menu:before,
	header #site-navigation li .sub-menu:after,
	header #site-navigation,
	header #header-search {
		display: none;
	}

	header #mobile-menu-btn {
		display: block;
		cursor: pointer;
		margin-right: 31px;
		margin-left: 31px;
		width: 20px;
		height: 18px;
	}

	header .site-branding {
		margin-left: 15px;
		width: 102px;
	}


	header #mobile-menu-btn span.open {
		display: block;
		width: 21px;
		height: 2px;
		background-color: #A70A25;
		border-radius: 50px;
		animation: fadeIn ease 1s;
		-webkit-animation: fadeIn ease 1s;
		-moz-animation: fadeIn ease 1s;
		-o-animation: fadeIn ease 1s;
		-ms-animation: fadeIn ease 1s;
	}

	header #mobile-menu-btn span.close {
		display: none;
		width: 21px;
		height: 2px;
		background-color: #A70A25;
		border-radius: 50px;

	}

	header #mobile-menu-btn span.close:nth-child(4) {
		transform: rotate(-45deg);
		margin-top: 8px;
	}

	header #mobile-menu-btn span.close:nth-child(5) {
		transform: rotate(45deg);
		margin-top: -2px;
		width: 22px;
	}

	header #mobile-menu-btn.active span.close {
		display: block;
		animation: fadeIn ease 1s;
		-webkit-animation: fadeIn ease 1s;
		-moz-animation: fadeIn ease 1s;
		-o-animation: fadeIn ease 1s;
		-ms-animation: fadeIn ease 1s;
	}

	header #mobile-menu-btn.active span.open {
		display: none;
	}

	header #mobile-menu-btn.active span.open:nth-child(1) {
		transform: rotate(-45deg);
	}
	header #mobile-menu-btn.active span.open:nth-child(2) {
		transform: rotate(45deg);
	}

	header #mobile-menu-btn span.open:nth-child(2),
	header #mobile-menu-btn span.open:nth-child(1) {
		margin-bottom: 6px;
	}

	.menu-active header #site-navigation div ul.active li.menu-bg {
		display: none;
	}

	header #site-navigation.active {
		display: block;
		position: fixed;
		top: 70px;
		width: calc(100% - 27px);
		height: 100vh;
		background-color: #F2F4F7;
		text-align: right;
		padding-left: 15px;
		padding-right: 12px;
	}

	header #site-navigation.active:after {
		content: "";
		position: absolute;
		background-color: #f2f4f7;
		width: 100%;
		height: 77px;
		top: 0;
		left: 0;
		z-index: -1;
	}

	header #site-navigation div ul li > a {
		padding: 10px 22px 11px 22px;
		margin-left: 6px;
		font-family: 'Lato', sans-serif;
		line-height: 77px;
	}

	header #site-navigation div ul li > a, 
	header #site-navigation .custom-menu-element {
		font-size: 20px;
		padding-right: 22px;	
	}

	header #site-navigation div ul li.active ul li a {
		display: block;
		font-size: 35px;
		line-height: 40px;
		padding: 0 34px 25px 15px;
		font-family: 'Roboto Slab', serif;
	}

	header #site-navigation div ul li.active > a {
		color: #000;
		background-color: #FFF;
		box-shadow: 0px 9px 23px rgba(0, 0, 0, 0.14);
		border-radius: 50px;
	}

	header #site-navigation div ul li.active ul li.active-sub-menu {
		position: absolute;
		top: 0;
		background: #FFFFFF00;
		width: 100%;
		text-align: left;
	}

	header #site-navigation div ul li.active ul li.active-sub-menu a {
		font-size: 20px;
		line-height: normal;
		padding: 13px 15px 13px 50px;
	}

	header #site-navigation li.active .sub-menu li.active-sub-menu .sub-menu {
		display: block;
		position: relative;
		top: auto;
		width: 100%;
		height: calc(100vh - 120px);
		padding: 0;
		background-color: #DFE2E8;
		border-radius: 0;
		overflow-y: auto;
		animation: bottom_to_top 0.6s ease;
	}

	header #site-navigation li.active .sub-menu li.active-sub-menu a:before {
		content: '';
		position: absolute;
		left: 20px;
		top: 21px;
		width: 12px;
		height: 9px;
		background-image: url('/wp-content/themes/midspar/image/icon/ic-arrow-red.svg');
		background-size: 100%;
		background-repeat: no-repeat;
		transform: rotate(180deg);
	}

	header #site-navigation li.active .sub-menu li.active-sub-menu a:after {
		content: '';
		position: absolute;
		top: 50px;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: #DFE2E8;
	}

	header #site-navigation li.active .sub-menu li.active-sub-menu .sub-menu a:after,
	header #site-navigation li.active .sub-menu li.active-sub-menu .sub-menu a:before {
		display: none;
	}

	header #site-navigation li.active .sub-menu li.active-sub-menu .sub-menu li ul {
		height: auto;
	}

	header #site-navigation li.active .sub-menu li.active-sub-menu .sub-menu li:last-child ul {
		padding: 0 0 48px 0;
	}

	header #site-navigation div ul li.active ul li.active-sub-menu ul li {
		display: block;
		padding-top: 41px;
	}

	header #site-navigation div ul li.active ul li.active-sub-menu ul li ul li {
		display: block;
		padding-top: 0;
	}

	header #site-navigation div ul li.active ul li.active-sub-menu ul li a {
		color: #000000;
		font-size: 18px;
		padding: 0 0 0 0;
		margin-left: 20px;
		margin-right: 20px;
		line-height: 41px;
		border-bottom: 1px solid #d5d8de;
	}

	header #site-navigation div ul li.active ul li.active-sub-menu ul li ul li a {
		color: #000000;
		font-size: 14px;
		padding: 0;
		line-height: 41px;
		font-weight: 400;
	}

	header #header-search.active {
		display: block;
		position: absolute;
		top: 89px;
	}

	header #header-search.active button {
		margin-left: 14px;
		width: 40px;
		height: 40px;
		padding: 0;
		line-height: 40px;
	}

	header #header-search.active button img {
		width: 12px;
	}

	header button.btn.netbank-button {
		padding: 11px 14px 12px 14px;
		box-shadow: unset;
		border: 1px solid #a60d1f;
	}

	header button.btn.netbank-button:after {
		border: 1.5px solid #A70A25;
		background-color: #FFF;
	}

	header .netbank-button img {
		margin-right: 5px;
	}

	body.mobile-menu-active {
		overflow-y: hidden;
	}

	header #site-navigation li.active .sub-menu {
		display: block;
		position: absolute;
		width: 100%;
		padding-top: 95px;
		background: #F2F4F7;
		height: calc(100% - 165px);
		overflow: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	header #site-navigation li.active .sub-menu li .sub-menu {
		display: none;
		width: 100%;
		left: 0;
		background: #F2F4F7;
		opacity: 1;
	}

	header #site-navigation li .sub-menu li:before {
		display: none;
	}

	body.hide-icon header #site-navigation li.active .sub-menu {
		z-index: 9;
	}

	body.hide-icon #header-search {
		display: none;
	}

	body.hide-icon header #site-navigation li.active .sub-menu {
		overflow: hidden;
		scrollbar-width: unset;
		-ms-overflow-style: unset;
	}

	body.hide-icon header #site-navigation.active {
		overflow-y: hidden;
	}

	.search-block.active {
		z-index: 9;
		margin-top: 80px;
		background: #f2f4f7;
		overflow-y: auto;
		height: calc(100vh - 150px);
	}

	.search-block form {
		margin: 0px auto 0 auto;
		width: calc(100% - 28px);
	}

	.search-block form input.search-field {
		line-height: 50px;
		height: 50px;
		font-size: 19px;
		padding-left: 50px;
		padding-right: 15px;
	}

	.search-block form .search-submit {
		top: 15px;
		left: 18px;
		width: 20px;
		height: 20px;
	}

	.search-block-menu {
		width: calc(100% - 28px);
	}

	.search-block-menu {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.search-banner .search-banner-block {
		width: 410px;
		display: flex;
	}

	.search-block #ais-wrapper, .search-block form {
		margin: 0 20px;
		width: auto;
	}

	#image-with-text.first-top.full.finddepartment .image-with-text-right {
		padding-top: 0;
		margin-top: 30px;
	}


}


@media (max-width: 992px) {
	.home-custom-search {
		max-width: calc(100% - 40px);
	}
	#image-with-text.first-top.full.vacancies .image-with-text-right {
		padding-top: 0;
		margin-top: 30px;
	}

	#image-with-text.vacancies .bottom-arrrow,
	#navigation-block .bottom-arrrow {
		display: none;
	}

	#image-with-text.finddepartment {
		max-height: calc(100vh - 70px);
	}

	#breadcrumbs.nav {
		left: auto;
		top: auto;
		position: relative;
		text-align: left;
		padding-left: 40px;
	}

	#navigation-block #breadcrumbs.nav {
		top: 315px;
		position: absolute;
	}

	#navigation-block .navigation-block-left {
		margin-top: 15px;
	}

	.gform_wrapper .style-1 ul.gfield_checkbox li:hover label {
		background: transparent;
		border: 2px solid #DCDFE6;
		box-shadow: unset;
	}

	#algolia-search-box input {
		line-height: 60px;
		height: 60px;
		padding-left: 75px;
	}

	#algolia-search-box .search-submit {
		top: 20px;
		width: 20px;
		height: 20px;
	}

	#image-with-text h2 {
		font-size: calc(40px * var(--text-scaler));
		line-height: calc(42px * var(--text-line-scaler));
	}

	#icon-with-text {
		padding-bottom: 60px;
	}

	.page-template-page-book-mode .pre-bookform {
		position: relative;
		top: auto;
		left: auto;
		transform: unset;
		text-align: center;
	}

	.page-template-page-book-mode .bookform-container {
		height: auto;
		margin-top: 100px;
		padding: 100px 20px;
	}

	.ais-hits .item-department {
		width: 100%;
		margin-right: 0;
	}

	.sm_gform_page_131 #wysiwyg,
	.sm_gform_page_49 #wysiwyg,
	.sm_gform_page_40 #wysiwyg,
	.sm_gform_page_29 #wysiwyg,
	.sm_gform_page_166 #wysiwyg,
	.sm_gform_page_6 #wysiwyg,
	.sm_gform_page_1 #wysiwyg {
		width: auto;
		height: auto;
		min-height: auto;
	}

	.gform_wrapper .gf_step.gf_step_last:after {
		right: 25px;
		width: 30px;
	}

	.gform_wrapper #gf_step_40_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_29_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_166_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_6_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_1_1.gf_step .bar-line:before {
		width: 30px;
		left: 25px;
	}

	.gform_wrapper .gf_step .back {
		left: -5px;
	}

	.gform_wrapper .results .left {
		padding-left: 25%;
	}

	.gform_wrapper .results .right {
		padding-left: 8%;
	}

	.gform_wrapper .gfield_label {
		font-size: 35px;
		line-height: 37px;
		padding-bottom: 10px;
	}

	.gform_wrapper .gfield.style-4 .slider-block {
		width: 621px;
	}

	.gform_wrapper .gfield.style-4 .ginput_container_radio {
		width: 670px;
	}

	.gform_wrapper .gf_page_steps {
		margin-bottom: 56px !important;
	}

	.gform_wrapper .style-1 ul.gfield_checkbox li label {
		margin: 0 8px 16px 8px;
	}

	.gform_wrapper .btn, .gform_wrapper .gform_page_footer .button {
		width: auto !important;
		line-height: 1 !important;
	}

	.gform_wrapper .gform_page_footer {
		margin: 30px 0 15px 0 !important;
	}

	.gform_wrapper .ginput_container span:not(.ginput_price) {
		margin-bottom: 0 !important;
	}

	.gform_wrapper ul.gfield_radio li label {
		margin: 0 6px 19px 6px;
		padding: 0 20px;
	}

	.gform_wrapper .gfield.style-5 .date_slide_header {
		width: 600px;
	}

	.gform_wrapper .gfield.style-5 .ginput_container_radio {
		width: 626px;
	}

	.gform_wrapper ul.gfield_checkbox li label, .gform_wrapper ul.gfield_radio li label {
		width: auto !important;
	}

	.finddepartment .customlast {
		height: 0px;
	}

	#algolia-result .employee-algolia.user {
		width: calc(33.33% - 13.33px);
	}

	.search-block-menu .search-menu {
		flex: 0 0 33.33%;
	}

	.search-block-menu .search-banner {
		flex: 0 0 100%;
	}

	.search-banner .search-banner-block {
		float: none;
		margin: 20px auto;
		width: 100%;
		max-width: 500px;
	}

	#algolia-result #user:nth-of-type(4n) {
		margin-right: 20px;
	}

	#algolia-result #user:nth-of-type(3n) {
		margin-right: 0px;
	}

	.vacancies .navigation-block-list .break.last,
	.vacancies .image-with-text-right:after {
		display: none;
	}

	#image-with-text.vacancies .image-with-text-left,
	#image-with-text.vacancies .image-with-text-right {
		flex: 0 0 100%;
	}

	#image-with-text.vacancies #breadcrumbs {
		margin-bottom: 30px;
	}

	#image-with-text.reverse.vacancies {
		flex-direction: unset;
		flex-flow: wrap;
	}

	#image-with-text.full.vacancies .image-with-text-right .text {
		margin: 0;
		padding: 0;
		height: 100%;
	}

	#news.archive .news-grid a:nth-child(2) .image,
	#news.archive .news-grid a:nth-child(2) {
		border-radius: 0px 50px 0px 0px;
	}

	#news.archive .news-grid a.last,
	#news.archive .news-grid a:nth-child(3) .image,
	#news.archive .news-grid a:nth-child(3) {
		border-radius: 0 !important;
	}

	#news.archive .news-grid a {
		flex: 0 0 47.25%;
	}

	.page:not(.ontop) {
		padding-top: 0px;
	}

	#news.grid.archive,
	#image-with-text.first-top.full .image-with-text-right {
		padding-top: 30px;
	}

	#employee-inner {
		padding-top: 30px
	}

	#table .table-block {
		padding: 60px;
	}

	#employees .employees-list .employee {
		flex: 0 0 30.60%;
		max-width: 30.60%;
	}

	.video-img {
		height: 500px;
	}

	#icon-with-text .icon-with-text-block {
		flex: 0 0 calc(50% - 10px);
	}

	#icon-with-text .icon-with-text-block:nth-child(2n){
		margin-right: 0;
	}

	#icon-with-text .icon-with-text-block:nth-child(3n) {
		margin-right: auto;
	}

	#news .news-grid a:first-child {
		border-radius: 0px 0px 0px 30px;
	}

	#news .news-grid a:nth-child(3) .image,
	#news .news-grid a:nth-child(3) {
		border-radius: 0px 30px 0px 0px;
		margin-right: 0px;
	}

	.container {
		width: auto;
		padding-left:20px;
		padding-right:20px; /*RM added*/
	}


	#navigation-block {
		height: auto;
		flex-flow: wrap-reverse;
	}

	body.home .navigation-block-left,
	.navigation-block-left {
		width: 100%;
		padding: 38px 0px 32px 0px;
		height: 100%;
		margin-top: 0;
	}

	#navigation-block .video-img iframe {
		border-radius: 0px 0px 0px 70px;
	}

	#navigation-block .local-video video {
		height: auto;
		width: 100%;
	}	

	.navigation-block-right {
		width: 100%;
		height: auto;
		border-radius: 0px 0px 0px 70px;
	}

	.single-department #image-with-text.first-top.full .image-with-text-left .block-bottom {
		padding: 184px 34px 24px 34px;
	}

	.navigation-block-right .block-bottom {
		padding: 184px 34px 24px 34px;
		position: relative;
	}

	.video-original-type .navigation-block-right .block-bottom { 
		position: absolute;
		bottom: 0;
	}

	.single-department #image-with-text.full .image-with-text-left a.btn,
	.navigation-block-right .block-bottom a.btn {
		margin-bottom: 15px;
	}

	.navigation-block-left .navigation-block-list {
		height: 100%;
		overflow-y: unset;
		padding: 10px 20px 0px 20px;
	}

	.navigation-block-left .navigation-block-list .break.last {
		height: auto;
	}

	.navigation-block-left .navigation-block-list .nav-block.last {
		margin: 0 auto 30px auto;
	}

	.vacancies:after, #navigation-block:after {
		display: none;
	}

	.navigation-block-left .title,
	.navigation-block-right .block-bottom .title {
		font-size: 40px;
		line-height: 45px;
		margin-bottom: 19px;
	}

	.navigation-block-left .title {
		padding-bottom: 4px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.navigation-block-left .navigation-block-list .nav-block {
		flex: 0 0 335px;
		height: 75px;
		padding: 0 25px 0 20px;
		margin: 0 auto 15px auto;
		border-radius: 0 10px 10px 10px;
	}

	#message-block .message-block-title {
		flex: 0 0 59%;
		font-size: 25px;
		line-height: 33px;
	}

	#message-block a.first-btn {
		margin-left: 0;
	}

	#message-block {
		padding: 45px 30px 36px 30px;
	}

	#footer .site-footer {
		padding: 80px 30px 70px 30px;
	}

	#news .news-slider a {
		width: 318px;
	}

	#image-with-text.full.vacancies .bg-image-top {
		height: 450px;
		border-radius: 0 0 0 70px;
	}

	#image-with-text.vacancies {
		height: 100%;
		max-height: 100%;
	}

}

@media (max-width: 900px) {

	#image-with-text.finddepartment .bottom-arrrow {
		display: none;
	}

	.finddepartment:after {
		display: none;
	}

	.page-template-page-find-afdeling-php #footer,
	.page-template-page-find-afdeling-php #message-block {
		display: block;
	}
	.page-template-page-find-afdeling-php {
		overflow: auto;
	}
	#image-with-text.reverse.finddepartment {
		flex-direction: unset;
		flex-flow: wrap;
	}
	#image-with-text.finddepartment .image-with-text-left,
	#image-with-text.finddepartment .image-with-text-right {
		flex: 0 0 100%;
	}
	#image-with-text.finddepartment .block-right {
		margin-top: 15px;
		width: 40%;
	}
	#image-with-text.finddepartment .block-left {
		width: 60%;
	}
	#image-with-text.finddepartment {
		max-height: 100%;
	}

	#image-with-text.finddepartment #map {
		height: 500px;
	}

	.finddepartment .navigation-block-list .break.last,
	.finddepartment .image-with-text-right:after {
		display: none;
	}

	#image-with-text.full.finddepartment .image-with-text-right .text {
		margin: 0;
		padding: 0;
		height: 100%;
		width: auto;
	}


}

@media (max-width: 768px) {
	.home-custom-search {
		width: calc(100% - 40px);
	}

	#info-popup .info-popup-content .popup-text .text img {
		display: block;
		width: 100%;
	}

	#info-popup .info-popup-content {
		flex-direction: unset;
		flex-flow: row wrap;
	}

	#info-popup .info-popup-content .popup-image {
		display: none;
	}

	#info-popup .info-popup-content .popup-text {
		flex: 0 0 100%;
		height: 100vh;
		max-height: 100vh;
		/*margin-bottom: 10vh;*/
		padding: 0px 10px 50px 10px;
	}

	.share-block {
		position: relative;
	}

	#navigation-block #breadcrumbs.nav {
		top: 430px;
		padding-left: 20px;
	}

	#text-control .share-block .share-list {
		display: none;
		background: #FFF;
		right: 68px;
		top: -12px;
		width: 278px;
		height: 70px;
		padding-left: 0;
		padding-right: 0;
	}

	#text-control .share-block .share-list a.share-facebook {
		margin-top: 12px;
		margin-right: 0;
	}

	#text-control .share-block .share-list a, #text-control .share-block .share-list div {
		margin-right: 22px;
		display: inline-block;
		float: right;
		margin-top: 12px
	}

	.gform_wrapper .gfield.style-4 ul.gfield_radio {
		transition: transform 0.3s ease-in-out;
	}

	.slideaction {
		width: 170px;
		height: 4px;
		display: block;
		background: #DCDFE6;
		border-radius: 30px;
		margin: 15px auto 0 auto;
	}

	.slideaction span{
		width: 10px;
		height: 4px;
		display: block;
		background: #87898C;
		border-radius: 30px;
		position: relative;
		left: 0;
		transition: 0.9s;
	}

	.gform_wrapper .gfield.style-4 .prev,
	.gform_wrapper .gfield.style-4 .next {
		display: none !important;
	}

	.gform_wrapper .gfield.style-5 ul div {
		flex: 0 0 100%;
	}

	.gform_wrapper .gfield.style-5 li {
		display: inline-block;
		margin-bottom: 16px !important;
	}

	.navigation-block-right .block-bottom {
		padding: 20px 34px 24px 34px;
		position: absolute;
		bottom: 0;
	}

	.navigation-block-right {
		height: 415px;
	}

	#navigation-block.video-original-type .navigation-block-right {
		height: auto;
	}

	.clean-search-input {
		right: 20px;
	}

	.clean-search-input svg {
		width: 10px;
		height: 10px;
	}

	.input-block.dep {
		margin-top: 15px;
		margin-left: 0;
	}

	.gform_wrapper .gfield.style-2 li label {
		width: 100% !important;
	}

	#accordion-list h3,
	#accordion-list .accordion,
	#fact-box ul {
		max-width: 550px;
		margin: 0 auto;
	}

	#fact-box h5 {
		max-width: 550px;
		margin: 0 auto 30px auto;
	}

	.ais-facets a, .ais-hits--item {
		margin-top: 10px;
	}

	#map-container {
		flex-flow: wrap;
	}

	#map-container .image-with-text-right {
		width: 100%;
		margin-left: 0;
	}

	#map-container #map {
		width: 100%;
		margin-bottom: 15px;
		height: 430px;
	}

	#algolia-search-box input {
		height: 40px;
		font-size: 14px;
		padding-left: 40px;
	}

	.search-info {
		font-size: 16px;
		line-height: 24px;
		padding-bottom: 20px;
	}

	.search-block-menu {
		padding-top: 0;
		width: calc(100% - 40px);
	}

	.search-block .search-block-menu .search-menu span, #footer .footer-col .widget-title {
		padding-bottom: 15px;
	}

	#algolia-search-box .search-submit {
		top: 14px;
		width: 12px;
		height: 12px;
		left: 15px;
	}

	#news .news-slider a {
		height: 378px;
	}

	#book-mode {
		padding-left: 0px;
		padding-right: 0px;
	}
	#book-mode .book-mode-img .media,
	#book-mode .book-mode-img:before,
	#book-mode .book-mode-img {
		border-radius: 0 70px;
	}

	#book-mode .book-mode-img .text {
		padding: 143px 30px;
	}

	#book-mode .book-mode-img h2 {
		font-size: 40px;
		line-height: 42px;
	}

	.gform_wrapper .gf_step span.gf_step_label {
		display: none !important;
	}
	.gform_fields .gfield.move-description-up .gfield_description,
	.sm_gform_page_131 .gform_wrapper .gfield_label,
	.sm_gform_page_49 .gform_wrapper .gfield_label,
	.sm_gform_page_40 .gform_wrapper .gfield_label,
	.sm_gform_page_166 .gform_wrapper .gfield_label,
	.sm_gform_page_29 .gform_wrapper .gfield_label, .sm_gform_page_6 .gform_wrapper .gfield_label, .sm_gform_page_1 .gform_wrapper .gfield_label {
		font-size: 35px !important;
		line-height: 37px !important;
	}

	.gform_wrapper .gf_step .bar-line {
		display: block;
		width: 45px;
	}

	.gform_wrapper .gf_step .back {
		left: -5px;
		top: -6px;
	}

	.gform_wrapper .gf_step .bar-line:before {
		width: 82%;
		left: -41%;
	}

	.gform_wrapper #gf_step_40_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_29_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_166_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_6_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_1_1.gf_step .bar-line:before {
		width: 54%;
		left: -14%;
	}

	.gform_wrapper .gf_page_steps .mobile-title {
		position: absolute;
		top: -7px;
		left: 50%;
		transform:translateX(-50%);
		letter-spacing: 1.1px;
		color: #4C515A;
		text-transform: uppercase;
		opacity: 0.75;
		font-size: 11px;
		line-height: 24px;
	}

	.gform_wrapper .gf_step.gf_step_last:after {
		width: 54%;
		right: -14%;
	}

	.gform_wrapper .gf_step {
		width: 14% !important;
		display: inline-block;
	}

	.gform_wrapper .gfield.style-3 ul.gfield_radio li {
		width: 100%;
	}

	.gform_wrapper .results {
		display: inline-block;
	}

	.gform_wrapper .results .right,
	.gform_wrapper .results .left {
		display: block;
		padding: 0;
		width: 100%;
	}

	.gform_wrapper .gfield.style-3 ul.gfield_radio li label {
		width: 100% !important;
		margin: 10px 0;
		padding: 26px 5px 26px 5px;
	}

	.gform_wrapper .gfield.style-5 .date_slide_header {
		width: 342px;
		margin-top: 20px;
	}

	.gform_wrapper .gfield.style-5 .ginput_container_radio {
		width: 375px;
	}

	.gform_wrapper .gfield.style-4 .slider-block {
		width: 494px;
	}

	.gform_wrapper .gfield.style-4 .ginput_container_radio {
		max-width: 461px;
		width: auto;
	}

	#news.archive .news-grid a {
		flex: 0 0 46.75%;
	}

	#employee-inner .employee-text {
		display: block;
		width: 100%;
		margin: 0;
	}

	#employee-inner {
		padding-bottom: 43px;
		margin-bottom: 82px;
	}

	#employee-inner #text-control {
		top: 45px;
	}

	#employee-inner .employee-info {
		position: relative;
		left: 50%;
		margin-bottom: 30px;
		transform: translateX(-50%);
		max-width: 371px;
		width: auto;
	}

	#employee-inner .employee-info .employee {
		padding: 45px 38px 30px 38px;
	}

	.single-department #image-with-text.first-top.full .image-with-text-left {
		height: 320px;
		margin-bottom: 35px;
		border-radius: 0 0 0 70px;
	}

	.single-department #wysiwyg h2.department {
		font-size: calc(46px * var(--text-scaler));
		line-height: calc(50px * var(--text-line-scaler));
	}

	.single-department .bg-line {
		display: none;
	}

	.single-department #image-with-text {
		padding-top: 35px;
	}

	.single-department #image-with-text section {
		max-width: 100%;
		width: 100%;
	}

	#image-with-text.first-top.full.job-postings .image-with-text-left .event-content,
	.single-event #image-with-text .event-content {
		height: 520px;
		margin-bottom: 140px;
	}

	.image-with-text-left .event-info {
		padding: 30px;
		bottom: -130px;
	}

	#wysiwyg, #buttons {
		padding: 30px 20px;
	}

	#image-with-text.first-top.full .image-with-text-right {
		padding-top: 0px;
	}

	#breadcrumbs {
		margin-bottom: 30px;
	}

	#breadcrumbs.top {
		position: relative;
		top: auto;
		left: auto;
	}

	.limit-text-5 {
		-webkit-line-clamp: 3;
	}

	#algolia-result .employee-algolia.user {
		width: calc(50%	- 10px);
		text-align: left;
		padding-bottom: 20px;
		padding-top: 20px;
		vertical-align: top;
	}

	#algolia-result #user:nth-of-type(3n) {
		margin-right: 20px;
	}

	#algolia-result #user:nth-of-type(2n) {
		margin-right: 0;
	}

	#employees .employees-list .employee {
		text-align: left;
		flex: 0 0 46.80%;
		padding-bottom: 20px;
		padding-top: 20px;
		max-width: 46.80%;
	}

	#employees h5 {
		margin-bottom: 15px;
	}

	#employees .switch {
		position: relative;
		display: block;
		width: 176px;
		height: 43px;
		float: none;
		top: 0;
		margin-bottom: 38px;
	}

	.people_gallery img,
	#algolia-result .employee-algolia.user a.user-image,
	#employees .employees-list .employee a.user-image {
		display: inline-block;
		float: left;
	}

	#algolia-result .employee-algolia.user a.arrow,
	#employees .employees-list .employee a.arrow {
		position: absolute;
		right: 18px;
		bottom: 17px;
		padding: 10px;
	}

	#algolia-result .employee-algolia.user p,
	#algolia-result .employee-algolia.user a,
	#employees .employees-list p,
	#employees .employees-list a {
		font-size: 14px;
	}

	#algolia-result .employee-algolia.user img.image,
	#employees .employees-list .employee img.image {
		width: 74px;
		height: 74px;
		margin-left: 21px;
	}

	#employees.people_gallery .employees-list .employee p {
		padding-left: 115px;
	}
	#employees.kandidater .employee .image {
		float: left;
	}
	#employees.kandidater .employee .name {
		padding-left: 115px;
		padding-top: 13px;
	}
	#employees.kandidater .employee .more {
		margin: 0px 15px 0 115px;
		float: left;
	}
	#employees.kandidater .employee .position,
	#employees.kandidater .employee .age,
	#employees.kandidater .employee .city {
		padding-left: 115px;
	}
	#algolia-result .employee-algolia.user a.user,
	#employees .employees-list .employee a.user {
		padding-left: 100px;
		padding-top: 13px;
	}

	#algolia-result .employee-algolia.user .employee-contact,
	#employees .employees-list .employee .employee-contact {
		display: block;
		margin-bottom: 0;
		padding-left: 115px;
		padding-right: 50px;
	}

	#algolia-result .employee-algolia.user .employee-contact {
		min-height: 72px;
	}

	#news .news-grid a:nth-child(2) .image {
		border-radius: 0;
	}

	.video-img {
		height: 300px;
	}

	#icon-with-text a h6 {
		margin-top: 0;
		font-size: 16px;
		line-height: 24px;
		padding-left: 15px;
	}

	#icon-with-text a img.arrow {
		bottom: 31px;
		right: 28px;
	}

	#icon-with-text span {
		width: 35px;
		text-align: center;
		padding-right: 12px;
	}

	#icon-with-text .icon-with-text-block a {
		height: 75px;
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 0 45px 0 18px;
	}

	#icon-with-text a img.icon {
		max-height: 50px;
		position: relative;
	}

	#icon-with-text a p {
		display: none;
	}

	#image-with-text .image-with-text-right a.btn:not(.last),
	#navigation-block .navigation-block-right a.btn:not(.last),
	#image-over-text a.btn:not(.last) {
		margin-right: 12px;
	}

	.video-img .play-btn {
		width: 50px;
		height: 50px;
	}

	#icon-with-text .icon-with-text-block {
		flex: 0 0 100%;
		margin-right: 0;
		border-radius: 0 10px 10px 10px;
	}

	#newsletter.style1, #newsletter-erhverv.style1 {
		padding-top: 100px;
		padding-bottom: 150px;
	}

	#newsletter.style1 svg, #newsletter-erhverv.style1 svg {
		top: 52%;
		right: 31%;
		left: auto;
		width: auto;
		height: 86%;
	}

	#newsletter p.indledente-title, #newsletter-erhverv p.indledente-title {
		margin-bottom: 20px;
	}

	#newsletter form, #newsletter-erhverv form {
		margin-top: 15px;
	}

	#spotbox .spotbox-right,
	#spotbox .spotbox-left {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
		margin-bottom: 0;
	}

	#image-with-text .image-with-text-left .video-img {
		height: 300px;
	}

	#image-over-text iframe,
	#image-with-text iframe,
	#image-with-text .shadow iframe,
	#video iframe,
	.video-img {
		border-radius: 0 30px;
	}

	.video-img .play-btn:before {
		border-width: 8px 0 8px 14px;
	}

	.video-img .play-btn:after {
		border-width: 12px 0 12px 20px;
	}

	#spotbox.spotbox-style-3 a.three,
	#spotbox.spotbox-style-3 a.two,
	#spotbox.spotbox-style-2 a.two,
	#spotbox.spotbox-style-1 a:nth-child(3),
	#spotbox.spotbox-style-1 a:nth-child(4),
	#spotbox.spotbox-style-1 a:nth-child(5),
	#spotbox.spotbox-style-2 a.three,
	#spotbox .spotbox-left a,
	#spotbox .spotbox-right a {
		height: 360px;
	}

	#spotbox {
		padding-left: 6px;
		padding-right: 6px;
	}

	#spotbox a {
		flex: 0 0 100%;
		margin-bottom: 6px;
		box-sizing: border-box;
		padding: 28px;
	}

	#image-with-text.full {
		width: 100%;
	}

	#image-with-text.full .image-with-text-right .text {
		margin-left: 0;
		padding-left: 20px;
		padding-right: 20px;
	}

	#image-with-text.reverse {
		flex-direction: unset;
	}

	#image-with-text {
		align-items: unset;
		flex-flow: wrap;
	}

	#image-with-text.reverse .image-with-text-left,
	#image-with-text.reverse .image-with-text-right,
	#image-with-text .image-with-text-left,
	#image-with-text .image-with-text-right {
		width: 100%;
		flex: 0 0 100%;
		margin-left: 0;
	}
	#image-with-text.full .media-container,
	#image-with-text.full.vacancies .bg-image-top,
	#image-with-text.full .bg-image-top {
		height: 375px;
		border-radius: 0 0 0 70px;
	}

	#image-with-text.full img,
	#image-with-text.full.reverse img {
		border-radius: 0 0 0 70px;
	}

	#table,
	#table .table-block {
		border-radius: 0 70px;
	}

	#image-with-text.full.reverse .image-with-text-left,
	#image-with-text.full .image-with-text-left,
	#image-with-text.revers .image-with-text-left,
	#image-with-text .image-with-text-left {
		margin-bottom: 35px;
	}

	#news .news-grid a {
		flex: 0 0 100%;
		margin-bottom: 20px;
	}

	#news .news-grid a:first-child .image,
	#news .news-grid a:first-child {
		border-radius: 0px 30px 0px 0px;
		margin-right: 0;
	}

	#image-with-text .image-with-text-left.shadow .vimeo,
	#image-with-text .image-with-text-left.shadow .video-file,
	#image-with-text .image-with-text-left.shadow .video-img,
	#image-with-text .image-with-text-left.shadow img {
		margin-top: 44px;
		width: calc(100% - 44px);
	}

	#news .news-grid .text {
		padding: 22px 25px 60px 25px;
	}

	#table {
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
		background: #F2F4F7;
	}

	#table table tr td {
		padding: 8px 5px 8px 20px;
	}

	#table table {
		font-size: 14px;
	}

	#table .table-block p {
		margin-left: 20px;
		margin-right: 20px;
	}

	#table .table-block :not(table){
		padding-left: 20px;
		padding-right: 20px;
	}

	#table .table-block .mce_print:not(table) {
		padding-left: 30px;
	}

	#table .table-block {
		padding: 40px 0 40px 0;
	}

	#news:not(.archive) .news-grid a:nth-child(3) .image,
	#spotbox .spotbox-right a:first-child,
	#spotbox.spotbox-style-1 a:nth-child(3) {
		border-radius: 0;
	}

	#spotbox.spotbox-style-2 a:first-child:after,
	#spotbox.spotbox-style-4 .spotbox-left a,
	#spotbox .spotbox-left a,
	#spotbox.spotbox-style-2 a:first-child .img-block,
	/*#spotbox.spotbox-style-3 a:first-child,*/
	#spotbox.spotbox-style-2 a:first-child {
		border-radius: 0px 30px 0px 0px;
	}

	#spotbox.spotbox-style-2 a:last-child:after,
	#spotbox.spotbox-style-4 .spotbox-right a:last-child .img-block,
	#spotbox.spotbox-style-1 a:nth-child(5) .img-block,
	#spotbox.spotbox-style-2 a:last-child .img-block,
	#spotbox.spotbox-style-4 .spotbox-right a:last-child,
	#spotbox.spotbox-style-1 a:nth-child(5),
	/*#spotbox.spotbox-style-3 a:last-child,*/
	#spotbox.spotbox-style-2 a:last-child,
	#news:not(.archive) .news-grid a:nth-child(3) {
		border-radius: 0px 0px 0px 30px;
	}

	#newsletter input[type="text"], #newsletter-erhverv input[type="text"] {
		text-align: left;
		padding-left: 37px !important;
		box-sizing : border-box !important;
	}

	.navigation-block-right .block-bottom h1,
	h2 {
		font-size: calc(40px * var(--text-scaler));
		line-height: calc(42px * var(--text-line-scaler));
	}

	#news .text h5,
	#spotbox.spotbox-style-3 a h5,
	#spotbox h5 {
		font-size: calc(20px * var(--text-scaler));
		line-height: calc(22px * var(--text-line-scaler));
	}

	#news h5.title {
		padding-bottom: 30px;
	}

	#news {
		padding-top: 50px;
		padding-bottom: 30px;
	}

	#news a .arrow {
		bottom: 27px;
		right: 29px;
	}

	#news:not(.grid):after {
		width: 85%;
		border-radius: 0 70px 0 0;
	}

	#news button.prev {
		margin-left: calc(91% - 123px);
	}

	#news h5 {
		font-size: 25px;
		line-height: 27px;
	}

	#news button {
		width: 50px;
		min-width: 50px;
		height: 50px;
	}

	#news a {
		height: 378px;
	}

	#news a p.indledente-title {
		line-height: 17px;
	}

	#news .text {
		padding: 22px 25px 15px 25px;
	}
	#news a .media-container.media,
	#news a .image {
		height: 243px;
	}

	#spotbox.spotbox-style-4 a .subtitle,
	#spotbox.spotbox-style-1 a .subtitle,
	#spotbox.spotbox-style-2 a .subtitle,
	#spotbox a .subtitle {
		font-size: 9px;
		line-height: 20px;
		letter-spacing: 0.9px;
		padding-bottom: 13px;
	}

	#image-with-text p:not(.indledente-title) {
		margin-top: 25px;
	}

	#newsletter.style2, #newsletter-erhverv.style2 {
		border-radius: 0 70px;
		padding-top: 60px;
		padding-bottom: 61px;
	}

	#fact-box .fact-box-block {
		border-radius: 0 70px;
	}

	#fact-box .fact-box-block {
		padding: 45px 28px 50px 21px;
	}

	#accordion-list .accordion-list-block {
		padding: 50px 28px 83px 21px;
	}

	#accordion-list:not(.style1) .accordion-list-block {
		padding: 0 28px 0 21px;
	}

	.search-block-menu .search-menu:first-child {
		margin-left: 20%;
	}

	.search-block-menu .search-menu {
		flex: 0 0 30%;
	}

	.search-block-menu .search-banner {
		flex: 0 0 100%;
		padding-top: 30px;
	}

	.search-banner .search-banner-block {
		width: 100%;
		max-width: 447px;
		margin: 0 auto 50px auto;
		float: none;
	}

	#message-block .message-block-title {
		flex: 0 0 100%;
		padding-bottom: 35px;
	}

	#message-block {
		padding: 45px 20px 21px 20px;
	}

	#footer .footer-col:first-child {
		order: 1;
		margin-top: 30px;
	}

	#footer .widget_nav_menu .widget-title {
		position: relative;
		margin-left: 21px;
		padding-bottom: 20px;
	}

	#footer .widget_nav_menu .widget-title.active {
		color: #A70A25;
	}

	#footer .widget_nav_menu .widget-title:before {
		content: '';
		position: absolute;
		top: 6px;
		left: -20px;
		width: 6px;
		height: 13px;
		background-size: 100%;
		background-repeat: no-repeat;
		background-image: url('/wp-content/themes/midspar/image/icon/ic-chevron.svg');
		transform: rotate(90deg);
		-webkit-transition-duration: 0.5s;
		-moz-transition-duration: 0.5s;
		-o-transition-duration: 0.5s;
		transition-duration: 0.5s;
	}

	#footer .widget_nav_menu .widget-title.active:before {
		transform: rotate(-90deg);
		transform: 2s;
	}

	#footer .site-footer {
		padding: 52px 20px 25px 20px;
	}

	#footer .footer-col {
		flex: 100%;
	}

	#footer .footer-col > div {
		padding-right: 0;
	}

	#footer .menu {
		display: none;
		padding-left: 21px;
		padding-bottom: 16px;
	}

	#footer .footer-col:first-child .widget:last-child {
		column-count: 2;
	}

	#footer .footer-col:first-child .widget p {
		word-wrap: break-word;
	}

	#footer a.icon {
		margin-top: 25px;
	}

	.search-banner .search-banner-block span {
		font-size: 32px;
		line-height: 34px;
	}

	section a.btn,
	#buttons a.btn,
	#message-block a.btn {
		margin-bottom: 15px;
	}

}

@media (max-width: 700px) {
	#news button.hide2 {
		display: inline-block;
	}
}

@media only screen and (max-width: 641px) {
	body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .ginput_container_name .name_last {
		margin-top: 16px;
	}
	body:not(.sm_gform_page_1):not(.sm_gform_page_49):not(.sm_gform_page_6):not(.sm_gform_page_131):not(.sm_gform_page_29):not(.sm_gform_page_166):not(.sm_gform_page_40) .gform_wrapper .gfield .gform-grid-col.ginput_address_line_1 label {
		margin-top: 0;
	}
}

@media (max-width: 660px) {

	#algolia-result #user:nth-of-type(3n) {
		margin-right: 0;
	}

	#algolia-result .employee-algolia.user {
		width: 100%;
		margin: 0 auto 20px auto;
		display: block;
		margin-right: 0;
	}

	#algolia-result .employee-algolia.user .employee-contact {
		min-height: auto;
	}

	#image-with-text.finddepartment .block-right {
		margin-top: 10px;
		width: 100%;
	}
	#image-with-text.finddepartment .block-left {
		width: 100%;
	}

	#news.archive .news-grid a {
		flex: 0 0 100%;
		margin-left: 0;
	}

	#news.archive .news-grid a:first-child .image,
	#news.archive .news-grid a:first-child {
		border-radius: 0 30px 0 0;
	}

	#news.archive .news-grid a:last-child {
		border-radius: 0 0 0 30px;
	}

	#news.archive .news-grid a:nth-child(2) .image,
	#news.archive .news-grid a:nth-child(2) {
		border-radius: 0px;
	}

	#news.archive .news-grid {
		margin: 52px 0 0 0;
	}

	#employees .employees-list {
		justify-content: center;
		margin: 0;
	}

	#employees .employees-list .employee {
		margin-left: 0;
		flex: 0 1 350px;
		max-width: 350px;
	}
	#currency-rates .ctitle {
		display: none;
	}

}

@media (max-width: 600px) {
	.search-block-menu .search-menu:first-child {
		margin-left: 0%;
	}

	.search-block-menu .search-menu {
		flex: 0 0 50%;
		margin-bottom: 30px;
	}
	body:not(.search-active) header #header-search.active {
		position: fixed;
		bottom: 20px;
		top: auto;	
	}
}

@media (max-width: 500px){
	header #site-navigation .custom-menu-element {
		margin-left: 0;
		font-size: 18px;
		padding-right: 10px;
	}
	header #site-navigation div ul li > a {
		margin-left: 0;
		font-size: 18px;
		padding: 10px 10px 11px 10px;
	}
	header #site-navigation div ul li.active > a {
		padding: 10px 15px 11px 15px;
	}
	#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper {
		margin: 0 0 30px 0 !important;
		width: 50% !important;
	}

	#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper:nth-child(3),
	#CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper:nth-child(4) {
		margin: 0 !important;
	}

	.gform_wrapper #gf_step_40_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_29_1.gf_step .bar-line:before,
	.gform_wrapper #gf_step_166_1.gf_step .bar-line:before,
	.gform_wrapper .gf_step.gf_step_last:after,
	.gform_wrapper #gf_step_1_1.gf_step .bar-line:before {
		width: 49%;
	}
	.gform_wrapper .gf_step .bar-line:before {
		width: 68%;
		left: -36%;
	}

	.search-block-menu .search-menu {
		flex: 0 0 100%;
	}

	.ais-hits .item-department .block-left, .ais-hits .item-department .block-right {
		width: 100%;
		padding-right: 0;
	}

	.gform_wrapper .gfield.style-4 .slider-block {
		max-width: 350px;
	}

	.gform_wrapper .gfield.style-4 .ginput_container_radio {
		max-width: 449px;
	}

	.gform_wrapper .gfield.style-5 .date_slide_header {
		width: 218px;
	}

	.gform_wrapper .gfield.style-5 .ginput_container_radio {
		width: 250px;
	}

}

@media( max-width: 450px){

	#image-with-text.finddepartment .block-left,
	#image-with-text.finddepartment .block-right {
		width: 100%;
	}

	.video-img {
		height: 188px;
	}

	.navigation-block-left .navigation-block-list .nav-block {
		flex: 0 1 100%;
	}

	#newsletter button, #newsletter-erhverv button {
		min-width: 50px;
	}

	#newsletter input[type="text"], #newsletter-erhverv input[type="text"] {
		font-size: 14px !important;
	}

	#news a {
		width: 280px;
	}

	select {
		max-width: 280px;
	}
	#currency-rates .country {
		display: none;
	}
}

@media( max-width: 450px){
	#text-control #text-scaler {
		margin-right: 15px;
	}
	#text-control .share-block .share-icon {
		margin-left: 15px;
	}
	header #site-navigation div ul li.active ul li a {
		font-size: 27px;
		line-height: 32px;
	}
	#netbank-block.active .netbank-list {
		left: 15px;
		right: 15px;
		width: auto;
	}

}

@media( max-width: 400px){
	#news .news-slider a {
		width: 280px;
	}
}
@media (max-width: 370px){
	header #site-navigation .custom-menu-element {
		font-size: 17px;
		padding-right: 7px;
	}
	header #site-navigation div ul li > a {
		font-size: 17px;
		padding: 10px 7px 11px 7px;	
	}
	header #site-navigation div ul li.active > a {
		padding: 10px 10px 11px 10px;
	}
}
@media (max-width: 350px){
	#text-control .share-block .share-list {
		right: 57px;
		width: 220px;
	}
	#text-control .share-block .share-list a, #text-control .share-block .share-list div {
		margin-right: 12px;
	}
	#text-control .share-block .share-list a.share-facebook {
		margin-right: 0px;
	}
	#employees .employees-list .employee a.arrow {
		right: 20px;
	}
	#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll, #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
		font-size: 12px !important;
	}
}

@keyframes left_to_right {
	from {
		margin-left: -100px;
		opacity: 0;
	}
	to {
		margin-left: 0;
		opacity: 1;
	}
}

@keyframes left_to_right_1 {
	from {
		margin-left: -100px;
		opacity: 0;
	}
	to {
		margin-left: 0;
		opacity: 1;
	}
}

@keyframes left_to_right_2 {
	from {
		margin-left: -200px;
		opacity: 0;
	}
	to {
		margin-left: 0;
		opacity: 1;
	}
}

@keyframes left_to_right_3 {
	from {
		margin-left: -300px;
		opacity: 0;
	}
	to {
		margin-left: 0;
		opacity: 1;
	}
}

@keyframes left_to_right_4 {
	from {
		text-align: left;
		opacity: 0;
	}
	to {
		text-align: right;
		opacity: 1;
	}
}

@keyframes bottom_to_top {
	from {
		margin-top: 20px;
		opacity: 0;
	}
	to {
		margin-top: 0;
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

@-moz-keyframes fadeIn {
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

@-webkit-keyframes fadeIn {
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

@-o-keyframes fadeIn {
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

@-ms-keyframes fadeIn {
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

@keyframes fadeOut {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}

@-moz-keyframes fadeOut {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}

@-webkit-keyframes fadeOut {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}

@-o-keyframes fadeOut {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}

@-ms-keyframes fadeOut {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}

.button-style p {
	display: inline-block;
	padding: 15px;
}

.page-id-7 .button-style {
	background-color: #A70A25;
	padding: 15px 0 15px 0 !important;
}

@supports (-ms-ime-align: auto) {
	#accordion-list .accordion .accordion-text,
	#accordion-list .accordion .accordion-text.active,
	header #header-search button:after,
	a.btn:after {
		-webkit-transition: unset;
		-moz-transition: unset;
		-ms-transition: unset;
		-o-transition: unset;
		transition: unset;
	}
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(3px);
	}
}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	#accordion-list .accordion .accordion-text,
	#accordion-list .accordion .accordion-text.active,
	header #header-search button:after,
	a.btn:after {
		-webkit-transition: unset;
		-moz-transition: unset;
		-ms-transition: unset;
		-o-transition: unset;
		transition: unset;
	}
}

button.raffle__LauncherButton--6vq2b7, button.raffle__LauncherButton--6vq2b7:active {
	z-index: 99999 !important;
}


.gform-datepicker::placeholder {
	color: transparent;
}
.gform-datepicker::-moz-placeholder {
	color: transparent;
}

.gform-datepicker:-ms-input-placeholder {
	color: transparent;
}
.gform-datepicker::-ms-input-placeholder {
	color: transparent;
}
.gform-datepicker:-moz-placeholder {
	color: transparent;
}