/*
 Theme Name:   Justitsministeriet
 Theme URI:    https://www.justitsministeriet.dk/
 Description:  Indeholder funktionalitet som er specifik for justitsministeriet.dk
 Author:       Netkant
 Author URI:   http://netkant.com
 Template:     pe-public-institutions
 Version:      1.1.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  jm
*/
body .wp-block-columns {
	align-items: inherit;
}

.home #pe-logo-nav,
.page-id-2912 #pe-logo-nav,
.page-id-17186 #pe-logo-nav,
.wcagfocus.page-template-page-full-width #pe-logo-nav {
	background: rgba(31, 28, 29, .7);
}
.highcontrast3.wcaghover a:hover{
	outline: 1px solid #fed809!important;
}
.highcontrast3.wcagfocus *:focus {
	outline: 1px solid #fed809!important;
}

.highcontrast3.wcaghover #pe-main-menu > div > #mega-menu-main-menu > li > a:hover,
.highcontrast3.wcaghover #pe-main-menu #mega-menu-main-menu a:hover{
	outline: 1px solid #fed809!important;

}



@media only screen and (max-width:500px){
	.home #pe-logo-nav,
	.page-id-2912 #pe-logo-nav{
		background: rgba(31, 28, 29, 1);
		margin-top:-2px;
	}
}

#pe-maincontent{
	margin:0;
}

/* p > strong{
	font-family:'Cardo';
} */

#pe-top1,
#pe-bottom3{
	display: none;
	visibility: hidden;
}

hr.line{
	background:#000;
	border: 1px solid #333;
	border-bottom:0;
	width:33%;
	margin: 25px 0;
}

.cta-link{
	font-family:'Cardo', sans-serif;
	color:#444444!important;
	font-size:26px;
	padding-left:25px;
	position:relative;
}
.cta-link::before{
	content:'';
	background-image:url('https://www.justitsministeriet.dk/wp-content/uploads/2020/08/arrow.png');
	background-size:cover;
	width:20px;
	height:25px;
	display:inline-block;
	color:#ffd709;
	position:absolute;
	left:0;
	top:4px;
}

.wcagfocus.home #pe-bar,
.wcagfocus.page-id-2912 #pe-bar,
.wcagfocus.page-id-17186 #pe-bar,
.wcagfocus.page-template-page-full-width #pe-bar {
	z-index:99999;
	position:fixed;
	left:0;
	top:0;
	width:100%;
}
.admin-bar #pe-bar{
	top:32px!important;
}

.rs-layer *:not(.rs-wtbindex):hover,
.rs-layer *:not(.rs-wtbindex):focus{
	outline:1px solid #fed809!important;
}

#pe-top1{
	position:relative;
	padding:50px 0;
}

/* #pe-top1::after {
	background-image:url('https://www.justitsministeriet.dk/wp-content/uploads/2020/08/crown_bg.png');
	background-repeat:no-repeat;
	background-size:cover;
	content:'';
	position:absolute;
	height:345px;
	width:325px;
	right:0;
	bottom:0;
	z-index:0;
	opacity:.4;
} */

#pe-top1-in::before{
	content:'';
	position:absolute;
	left:0;
	top:50%;
	transform:translatey(-50%);
	background-color:#fed809;
	width:10px;
	height:60%;
}
#pe-top1-in::after{
	content:'';
	position:absolute;
	right:0;
	top:50%;
	transform:translatey(-50%);
	background-color:#fed809;
	width:10px;
	height:60%;
	z-index:1;
}

@media only screen and (max-width:500px){
	#pe-top1-in::after,
	#pe-top1-in::before{
		content:unset;
	}
}
@media only screen and (min-width:767px){
	.omraad{
		width:25%!important;
		padding:5px!important;
		float:left;
	}
}

@media only screen and (max-width:767px){
	.omraad{
		width:50%;
		float:left;
		padding:5px;
	}
}

.omraad{
	z-index:1;
}

.omraad .pe-box{
	background:transparent!important;
}
.omraad .pe-box span.pe-icons{
	width:80px!important;
	height:80px!important;
}
.highcontrast3 .omraad .pe-box span.pe-icons .pe-icon{
	filter: brightness(0);
}

.pe-box span.pe-icon-title span{
	text-transform:uppercase;
	font-size:16px;
	font-weight:400;
}



#pe-top2 a,
#pe-top2 p{
	color:#404042;
}

#pe-top3{
	background-color:#14233e;
	padding-bottom:100px;
	position:relative;
}
#pe-top3::after{
	content:'';
	width:80%;
	top:30%;
	left:0;
	height:1px;
	background-color:#fff;
	position:absolute;
}
#pe-top3::before{
	content:'';
	width:80%;
	bottom:10%;
	right:0;
	height:1px;
	background-color:#fff;
	position:absolute;
}


.pe-recent-posts-outer ul.thumbnails{
	margin-bottom:35px;
}

@media only screen and (max-width:992px){

	#pe-top3::before,
	#pe-top3::after{
		content:unset;
	}
}

.PE_Recent_Posts .pe-creation-date{
	text-transform:capitalize;
	font-style:italic;
	opacity:0.8;
	font-family:'Cardo';
	font-size:13px!important;
	padding:10px 0 15px;
	display:block;
	position:relative;
}

.PE_Recent_Posts .pe-creation-date::before{
	content:'';
	background-image:url('https://www.justitsministeriet.dk/wp-content/uploads/2020/08/arrow.png');
	background-size:cover;
	width:12px;
	height:15px;
	display:inline-block;
	color:#ffd709;
	font-size:20px;
}

.PE_Recent_Posts .pe-creation-date::after{
	content:'';
	background-size:cover;
	width:100%;
	height:1px;
	background:#ffd709;
	position:absolute;
	left:0;
	top:38px;
}

.btn{
	background-color:#fdd907;
	border:0;
}

.btn:hover{
	background-color:#fdd907;
}


.pe-recent-posts-title-tag{
	font-family:'Cardo';
	font-size:22px!important;
}
.pe-counter .pe-counter-link{
	text-transform:none;
}


#partnere{
	display:flex;
	justify-content:space-around;
	align-items:center;
	flex-wrap:wrap;
	position:relative;
}


#partnere .box{
	text-align:center;
	margin-top:80px;
	width:25%;
}

@media only screen and (max-width:600px){
	#partnere .box{
		width:36%;
	}
}

.big{
	font-size: 117px;
	font-family:'Cardo';
	line-height:1;
}
.big a{
	color:#fff;
}
.big a:hover{
	text-decoration:none;
	color:#fff!important;
}

.highcontrast3 .big a:hover{
	color:#0000ff!important;
}

#pe-bottom3{
	background-color:#414143;
	color:#fff;
}

#pe-bottom3 a{
	color:#fff;
}
#pe-bottom3 a::after{
	content:'';
	width:90%;
	height:1px;
	position:absolute;
	background:#fcda06;
	left:2.5%;
	top:120px;
}
#pe-bottom3 h2.pe-title{
	color:#fff!important;
}

.highcontrast3 #pe-bottom3 h2.pe-title{
	color:#000!important;
}

#pe-top3 .pe-widget h2.pe-title,
#pe-top2 .pe-widget h2.pe-title,
#pe-bottom3 .pe-widget h2.pe-title,
.pe-widget h2.pe-title,
.theme-title{
	text-align:left;
	text-transform:none;
	padding-left:15px;
	font-size:42px;

	margin-top:40px;
}

.theme-title{
	position:relative;
	font-family:'Cardo';
	margin:0 0 30px;
}
/* .theme-title::before{
	width:3px!important;
	height:40px!important;
	content:'';
	position:absolute;
	background:#fcda06;
	left:0;
	bottom:0;
	top:50%;
	transform:translateY(-50%);
} */

#pe-footer{
	background-color:#fed809;
	position:relative;
	height:60px;
  padding: 15px 0;
}

#pe-footer::before{
	content:'';
	right:0;
	width:45%;
	height:1px;
	background:#1b1f28;
	position:absolute;
	top:50%;
}

#pe-footer::after{
	content:'';
	left:0;
	width:45%;
	height:1px;
	background:#1b1f28;
	position:absolute;
	top:50%;
}

@media only screen and (max-width:768px){
	#pe-footer::after,
	#pe-footer::before{
		width:40%;
	}
}
@media only screen and (max-width:500px){
	#pe-footer::after,
	#pe-footer::before{
		content:unset;
	}
}

#pe-copyright{
	text-align:center;
}
#pe-copyrights-info{
	display:none;
}
#pe-social{
	width:100%;
}
#pe-footer .pe-social-icons a{
	opacity:1;
}
#pe-footer .pe-social-icons span.fa{
	background:#1b1f28;
	color:#FFF;
}


#pe-footer-mod{
	background:#1b1f28;
}
#pe-footer-mod h2.pe-title{
	padding-left:0;
	margin-top:0;
	font-size:24px;
	color:#ffd709!important;
}

.pe-widget h2.pe-title::before{
	width:3px!important;
	height:40px!important;
	content:'';
	position:absolute;
	border:none!important;
}
#pe-top2 .pe-widget h2.pe-title::before{
	background:#fed809;
	left:15px;
}
#pe-top3 .pe-widget h2.pe-title::before{

	background:white;
	left:0;
	bottom:0;
	top:0;
}

#pe-bottom2-in > .row{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
}


#pe-bottom2 .pe-widget h2.pe-title::before{
	width:3px;
	height:35px;
	background:#fed809;
	left:15px;
}
#pe-bottom3 .pe-widget h2.pe-title::before{
	width:3px;
	height:35px;
	background:#fcda06;
	left:0;
	bottom:0;
	top:0;
}
#pe-top3 .pe-widget h2.pe-title::after,
#pe-bottom3 .pe-widget h2.pe-title::after,
.pe-widget h2.pe-title::after{
	content:unset!important;
}


#pe-top3 .pe-widget h2.pe-title{
	color:#fff;
}




#pe-bottom2{
	background:#aaabad;
}

#pe-back-top a{
	background:#181818;
	opacity:.9;
}










/* KARRIERE */

.wp-block-button__link{
	font-size:.85em;
}

.page-template-page-full-width .page-header{
	display:none;
}
.page-template-page-full-width #pe-content-part{
	padding:0;
}
.page-template-page-full-width #pe-content-part-in{
	max-width:100%;
	padding:0;
}

.page-template-page-full-width .is-style-mission{
	background-color:#111924;
	color:#fff;
	padding:100px 0;
	position:relative;
}

.page-template-page-full-width .is-style-mission li{
	margin:25px 0;
	padding-left:25px!important;
}


.page-template-page-full-width .is-style-mission::before{
	content:'';
	position:absolute;
	left:0;
	top:50%;
	transform:translatey(-50%);
	background-color:#fed809;
	width:10px;
	height:60%;
}
.page-template-page-full-width .is-style-mission::after{
	content:'';
	position:absolute;
	right:0;
	top:50%;
	transform:translatey(-50%);
	background-color:#fed809;
	width:10px;
	height:60%;
}

@media only screen and (max-width:500px){
	.page-template-page-full-width .is-style-mission::after,
	.page-template-page-full-width .is-style-mission::before{
		content:unset;
	}
}




.page-template-page-full-width .is-style-mission > .wp-block-group__inner-container{
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
/* .page-template-page-full-width .is-style-mission > .wp-block-group__inner-container::after{
	background-image:url('https://www.justitsministeriet.dk/wp-content/uploads/2020/08/Baggrundskrone.png');
	background-repeat:no-repeat;
	background-size:cover;
	content:'';
	position:absolute;
	height:345px;
	width:325px;
	right:0;
	bottom:0;
	z-index:0;
} */

.page-template-page-full-width .is-style-mission li:before{
	content: '';
    background-image: url(https://www.justitsministeriet.dk/wp-content/uploads/2020/08/arrow.png);
    background-size: cover;
    width: 12px;
    height: 15px;
    display: inline-block;
    color: #ffd709;
    font-size: 20px;
}


.page-template-page-full-width .is-style-ledige_stillinger {
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;

		padding:40px 15px;
}















.wp-block-group.is-style-yellow-block,
.wp-block-group.is-style-yellow-block-with-logo {
	background-color:#fed809;
	padding: 40px 0;
}

.wp-block-group.is-style-white-block,
.wp-block-group.is-style-white-block-with-logo {
	background-color:#FFFFFF;
	padding: 40px 0;
}

.wp-block-group.is-style-yellow-block-with-logo,
.wp-block-group.is-style-white-block-with-logo {
	min-height: 375px;
	background-image:url('/wp-content/themes/jm/img/crown-blue-transparent-bg1.png');
	background-repeat:no-repeat;
	background-position: right bottom;
}
body.highcontrast .wp-block-group.is-style-yellow-block-with-logo,
body.highcontrast .wp-block-group.is-style-white-block-with-logo,
body.highcontrast2 .wp-block-group.is-style-yellow-block-with-logo,
body.highcontrast2 .wp-block-group.is-style-white-block-with-logo,
body.highcontrast3 .wp-block-group.is-style-yellow-block-with-logo,
body.highcontrast3 .wp-block-group.is-style-white-block-with-logo {
	background-image:none;
}












.is-style-karriere{
	padding:40px 0;
	background-color:#c4c4c4;
}

.is-style-karriere figcaption{
	font-family:'Cardo';
	font-size:24px;
	position:relative;
}
.is-style-karriere figcaption::after{
	content:'';
	height:1px;
	width:100%;
	background-color:#181818;
	left:0;
	bottom:0;
	position:absolute;
}

.wp-block-group__inner-container {
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


.page-template-page-full-width .is-style-ansatte .wp-block-columns{
	margin-top:25px;
	align-items: inherit;
}

.page-template-page-full-width .is-style-ansatte h2 {
	font-size: 48px;
	font-family:'Cardo';
}

.page-template-page-full-width .is-style-ansatte h3{
	font-size: 25px;
	font-family:'Cardo';
}

.page-template-page-full-width .is-style-facts{
	background-color:#14233e;
	color:#fff;
	padding: 50px;
}

.page-template-page-full-width .is-style-facts > .wp-block-group__inner-container {
	max-width: 100%;
}

.page-template-page-full-width .is-style-facts h2{
	font-size:48px;
	font-family:'Cardo';
}

.page-template-page-full-width .is-style-facts .wp-block-columns .wp-block-column{
	background-color:#344862;
	text-align:center;
	font-size:14px;
	padding:15px;
}
.page-template-page-full-width .is-style-facts .wp-block-columns .wp-block-column h2{
	font-size:24px;
}

@media only screen and (max-width:1240px){
	.is-style-facts .wp-block-columns{
		flex-wrap:wrap;
		justify-content:space-around;
	}
	.is-style-facts .wp-block-columns .wp-block-column{
		width:46%;
		flex-basis:unset;
		flex-grow:0;
		margin:0;
		margin-top:25px;
	}
}

@media only screen and (max-width:500px){
	.page-template-page-full-width h2,
	.page-template-page-full-width h3{
		font-size:28px!important;
	}

	.page-template-page-full-width .is-style-mission > .wp-block-group__inner-container::after{
		content:unset;
	}
}




body.highcontrast3.page-template-page-full-width .is-style-facts,
body.highcontrast3.page-template-page-full-width .is-style-mission,
body.highcontrast3.page-template-page-full-width .is-style-karriere,
body.highcontrast3.page-template-page-full-width .is-style-ansatte
{
    color: #000000;
    background: #ffff00;
}
body.highcontrast2.page-template-page-full-width .is-style-facts,
body.highcontrast2.page-template-page-full-width .is-style-mission,
body.highcontrast2.page-template-page-full-width .is-style-karriere,
body.highcontrast2.page-template-page-full-width .is-style-ansatte
{
    color: #ffff00;
    background-color: #000000;
}
body.highcontrast.page-template-page-full-width .is-style-facts,
body.highcontrast.page-template-page-full-width .is-style-mission,
body.highcontrast.page-template-page-full-width .is-style-karriere,
body.highcontrast.page-template-page-full-width .is-style-ansatte
{
    color: #ffffff;
    background-color: #000000;
}




body.post-type-archive-arbejdsomr_de .pe-recent-posts-title-tag {
    margin-top: 10px;
}



.wcaghover a:hover,
.wcagfocus a:focus,
.wcagfocus input[type="text"]:focus,
.wcagfocus input[type="search"]:focus,
.wcagfocus textarea:focus,
.wcagfocus *:focus {
    outline: 1px solid #f2cd0d;
}


div#pe-logo {
	margin: -10px;
}

div#pe-logo > .pe-logo-img {
	padding: 10px;
	margin-bottom: -8px;
}

div#pe-content p > a {
	text-decoration: underline;
}


#pe-search .pe-search-input input {
	color: #000000;
}
body.highcontrast #pe-search .pe-search-input input,
body.highcontrast2 #pe-search .pe-search-input input,
body.highcontrast3 #pe-search .pe-search-input input {
	color: inherit;
}

ul.menu li:first-child>a {
    border-top: none;
}

ul.menu li:first-child>a {
    border-top: none;
}

ul.menu > li:first-child a {
    padding-top: 14px;
}

.pe-main-menu .pe-nav-container > .nav-menu > .menu-item > a{
	padding-left:19px;
	padding-right:19px;
}



/* #pe-right ul.menu li.current_page_item > a {
	font-weight: bold;
} */


body.post-type-archive #pe-maincontent > header.page-header {
	display: none;
}

body.post-type-archive #pe-maincontent > .pe-blog-row:first-of-type {
	padding-top: 0;
	margin-top: 0;
	border-top: none;
}

#pe-right .menu {
	margin-left: 20px;
	padding: 10px 20px 10px 20px;
}

#pe-right .menu > li > a {
	padding-left: 20px;
}

#pe-right .menu > li > a:before {
	content: '\00BB';
	margin-right: 10px;
	margin-left: -17px;
}

@media only screen and (min-width:990px) {
	#pe-right .menu {
		padding-right: 0px;
		border-left: 1px solid #cbcbcb;
	}
}

#pe-header .pe-widget.widget_revslider  {
    margin-top: 0px;
    margin-bottom: 0px;
}



h1, h2, h3,
.page-header > h1,
.page-header > h2,
.page-header > h3 {
	font-family: 'Cardo';
	font-size: 26px;
}

h2,
.page-header > h2 {
	font-size: 23px;
	margin-top: 35px;
}

h3,
.page-header > h3 {
	font-size: 20px;
	margin-top: 35px;
}

h1.is-style-white-vertical-large,
h1.is-style-yellow-vertical-large,
h2.is-style-white-vertical-large,
h2.is-style-yellow-vertical-large {
	font-size: 42px;
}

h3.is-style-white-vertical-large,
h3.is-style-yellow-vertical-large {
	font-size: 36px;
}

h1.is-style-white-vertical,
h2.is-style-white-vertical,
h3.is-style-white-vertical,
h1.is-style-white-vertical-large,
h2.is-style-white-vertical-large,
h3.is-style-white-vertical-large,
h1.is-style-yellow-vertical,
h2.is-style-yellow-vertical,
h3.is-style-yellow-vertical,
h1.is-style-yellow-vertical-large,
h2.is-style-yellow-vertical-large,
h3.is-style-yellow-vertical-large {
	/* text-align:left; */
	text-transform:none;
	padding-left:15px;
	position: relative;
}

h1.is-style-white-vertical:before,
h2.is-style-white-vertical:before,
h3.is-style-white-vertical:before,
h1.is-style-white-vertical-large:before,
h2.is-style-white-vertical-large:before,
h3.is-style-white-vertical-large:before,
h1.is-style-yellow-vertical:before,
h2.is-style-yellow-vertical:before,
h3.is-style-yellow-vertical:before,
h1.is-style-yellow-vertical-large:before,
h2.is-style-yellow-vertical-large:before,
h3.is-style-yellow-vertical-large:before  {
	width: 3px!important;
	height: 40px!important;
	content: '';
	position: absolute;
	background: #fcda06;
	left: 0;
	bottom: 0;
	top: 50%;
	transform: translateY(-50%);
}

h1.is-style-white-vertical:before,
h2.is-style-white-vertical:before,
h3.is-style-white-vertical:before,
h1.is-style-white-vertical-large:before,
h2.is-style-white-vertical-large:before,
h3.is-style-white-vertical-large:before {
  background: #FFF;
}







.wp-block-column h1:first-of-type,
.wp-block-column h2:first-of-type,
.wp-block-column h3:first-of-type {
	margin-top: 0px;
}


.wp-block-table tr td {
	padding: 0px 0px 20px 0px;
}


form {
	text-align: left;
}

.wp-block-buttons {
	clear: both;
}


p {
	margin: 0px 0px 16px 0px;
}

.wp-block-separator {
    background: #000000;
    height: 1px;
    border: 0px;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

.is-style-facts a {
	color: #fed80a;
}



ul:not([class]) li:before,
ul.pe-dark li:before,
ul.pe-light li:before {
	padding-top: 4px;
	font-size: 50%;
}

form .newsletter-groups {
	margin-left: 10px;
}

form .newsletter-groups input {
	margin-right: 10px;
}



h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 1em 0 0.5em 0;
}


.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}


.wp-block-button.is-style-yellow .wp-block-button__link {
	background: #fcda06;
	color: #1b1f28;
}

#pe-content ul > li {
	margin-bottom: 15px!important;
}

.pe-article-content table {
	width: 100%;
	border-spacing: 0;
	margin-bottom: 20px;
}

.pe-article-content table > thead > tr > th,
.pe-article-content table > tbody > tr > td {
	vertical-align: top;
	padding: 10px 15px;
	border: 0;
}

.pe-article-content table > thead > tr:nth-child(even),
.pe-article-content table > tbody > tr:nth-child(even) {
	background-color: #FFFFFF;
}


h5.pe-recent-posts-title-tag {
	line-height: 30px;
}


body.home .wp-block-group.is-style-facts .wp-block-column {
	padding: 0px;
}

body.home .wp-block-group.is-style-facts figure {
	margin-bottom: 0;
}

body.home .wp-block-group.is-style-facts figure.wp-block-image > a {
    width: 100%;
    display: block;
	line-height: 124px;
	padding: 15px;
}


.wcaghover #pe-search .button:hover, .wcaghover .tparrows:hover, .wcaghover .tp-bullet:hover, .wcaghover button:hover, .wcaghover .button:hover, .wcaghover input[type="submit"]:hover {
    outline: 1px solid #f2cd0d;
}


input[type=checkbox].CybotCookiebotDialogBodyLevelButton:checked:not(:disabled)+label {
	background-image: url(/wp-content/themes/jm/img/checkmark-yellow.png)!important;
}

.widget_revslider{
	min-height:unset!important;
}

@media only screen and (max-width: 500px) {
	#pe-header{
		min-height: 90px!important;
	}
}

ul.subpage-view ul.children {
	margin: 15px 0px 0px 30px;
}



/* Ribbon */
.cr { width: 200px; padding: 16px; position: absolute; text-align: center; line-height: 20px; color: #f0f0f0; z-index: 99999; }
.cr-sticky { position: fixed; }

/* Positions */
.cr-top    { top: 20px; }
.admin-bar .cr-top { top: 52px; }
.cr-bottom { bottom: 20px; }
.cr-left   { left: -50px; }
.cr-right  { right: -50px; }

/* Rotations */
.cr-top.cr-left,
.cr-bottom.cr-right {
	transform: rotate(-45deg);
}

.cr-top.cr-right,
.cr-bottom.cr-left {
	transform: rotate(45deg);
}

/* Colors */
.cr-white     { background-color: #f0f0f0; color: #444; }
.cr-black     { background-color: #333; }
.cr-grey      { background-color: #999; }
.cr-blue      { background-color: #39d; }
.cr-green     { background-color: #2c7; }
.cr-turquoise { background-color: #1b9; }
.cr-purple    { background-color: #95b; }
.cr-red       { background-color: #e43; }
.cr-orange    { background-color: #e82; }
.cr-yellow    { background-color: #ec0; }

#pe-header .pe-widget.widget_smartslider3 {
	margin-top: 0;
    margin-bottom: 0px;
}

#pe-header .pe-widget + .pe-widget {
	margin-top: 0;
    margin-bottom: 0;
}
/*white block with logo webtilgængelighed:*/
body.night .wp-block-group.is-style-white-block, body.night .wp-block-group.is-style-white-block-with-logo {
    background-color:#c4c4c4;
}

body.highcontrast .wp-block-group.is-style-white-block, body.highcontrast .wp-block-group.is-style-white-block-with-logo {
    background-color: #000000;
}

body.highcontrast2 .wp-block-group.is-style-white-block, body.highcontrast2 .wp-block-group.is-style-white-block-with-logo {
    background-color: #000000;
}

body.highcontrast2 .n2-ss-widget{
    background-color: #ffff00;
}

body.highcontrast3 .wp-block-group.is-style-white-block, body.highcontrast3 .wp-block-group.is-style-white-block-with-logo {
    background-color: #ffff00;
}


/*slider webtilgængelighed*/
body.highcontrast .n2-ss-last-in-row .n2-ss-item-content {
    background-color: #000000;
}

body.highcontrast2 .n2-ss-last-in-row .n2-ss-item-content {
	background-color: #000000;
	color:  #ffff00!important;
}

body.highcontrast2 .n2-ss-last-in-row .n2-ss-item-content p {
	color:  #ffff00!important;
}

body.highcontrast3 .n2-ss-last-in-row .n2-ss-item-content {
	background-color: #ffff00;
	color:  #000000!important;
}

body.highcontrast3 .n2-ss-last-in-row .n2-ss-item-content p {
	color:  #000000!important;
}

body.highcontrast3 .n2-ss-widget{
    background-color: black;
}
.n2-ss-widget:hover{
    outline: 1px solid #fed809!important;
}

.n2-ss-button-container:hover{
	outline: 1px solid #fed809!important;
	text-decoration: underline!important;
}
.n2-ss-button-container .n2-ow:hover{
	outline: 1px solid #fed809!important;
	text-decoration: underline!important;
}

body.font-readable .n2-ow {
    letter-spacing: 0.12em!important;
    word-spacing: 0.16em!important;
}

.clearfloat {
	clear: both;
}

.pe-article-content blockquote {
    font-style: italic;
}



#map-container > .map-header,
#map-container > #table-container,
#map-container >  .map-referral{
	display: none!important;
}

#map-container > #map {
	height: 303px!important;
}



.n2-ss-slide-background-color,
.n2-ss-item-content,
#pe-footer-mod h2.pe-title {
    background-color: inherit!important;
	color: inherit!important;
}
.n2-ss-text,
.n2-ss-item-content p {
	padding-left: 10px;
	padding-right: 10px;
	background-color: #000!important;
}

/*slider contrast*/
body.highcontrast .n2-ss-slide-background-color,
body.highcontrast .n2-ss-item-content,
body.highcontrast #pe-footer-mod h2.pe-title,
body.highcontrast2 .n2-ss-slide-background-color,
body.highcontrast2 .n2-ss-item-content,
body.highcontrast2 #pe-footer-mod h2.pe-title,
body.highcontrast3 .n2-ss-slide-background-color,
body.highcontrast3 .n2-ss-item-content,
body.highcontrast3 #pe-footer-mod h2.pe-title,
body.highcontrast .is-style-facts .wp-block-columns .wp-block-column,
body.highcontrast2 .is-style-facts .wp-block-columns .wp-block-column,
body.highcontrast3 .is-style-facts .wp-block-columns .wp-block-column,
body.highcontrast .wp-block-group.is-style-yellow-block, 
body.highcontrast .wp-block-group.is-style-yellow-block-with-logo,
body.highcontrast2 .wp-block-group.is-style-yellow-block, 
body.highcontrast2 .wp-block-group.is-style-yellow-block-with-logo,
body.highcontrast3 .wp-block-group.is-style-yellow-block, 
body.highcontrast3 .wp-block-group.is-style-yellow-block-with-logo {
    background-color: inherit!important;
	color: inherit!important;
}
body.highcontrast .n2-ss-text,
body.highcontrast .n2-ss-item-content p,
body.highcontrast2 .n2-ss-text,
body.highcontrast2 .n2-ss-item-content p {
	padding-left: 10px;
	background-color: #000!important;
}
body.highcontrast3 .n2-ss-text,
body.highcontrast3 .n2-ss-item-content p {
	background-color: #ffff00!important;
	color: #000!important;
}

/*button contrasts*/
body.highcontrast .n2-ss-item-content a,
body.highcontrast .wp-block-button a {
	color: #000!important;
	background-color: #fff!important;
}
body.highcontrast .n2-ss-item-content a:hover,
body.highcontrast .wp-block-button a:hover {
	color: #fff!important;
	background-color: #000!important;
}

body.highcontrast2 .n2-ss-item-content a,
body.highcontrast2 .wp-block-button a {
	color: #000!important;
	background-color: #ffff00!important;
}
body.highcontrast2 .n2-ss-item-content a:hover,
body.highcontrast2 .wp-block-button a:hover {
	color: #ffff00!important;
	background-color: #000!important;
}

body.highcontrast3 .n2-ss-item-content a,
body.highcontrast3 .wp-block-button a {
	background-color: #000!important;
	color: #ffff00!important;
}
body.highcontrast3 .n2-ss-item-content a:hover,
body.highcontrast3 .wp-block-button a:hover {
	background-color: #ffff00!important;
	color: #000!important;
}

/*top menu*/
body.highcontrast #pe-logo-nav {
	background: #000!important;
}

body.highcontrast .menu-item > a:hover,
body.highcontrast .menu-item.hover a,
body.highcontrast .menu-item.current-menu-item > a,
body.highcontrast .nav-dropdown .menu-item > a {
	color: #000!important;
}

body.highcontrast .menu-item.current_page_parent > a {
	color: #000!important;
	background: #fff;
}

body.highcontrast .menu-item > a,
body.highcontrast .nav-dropdown .menu-item > a:hover,
body.highcontrast .menu-item.hover .menu-item.hover > a,
body.highcontrast .nav-dropdown .menu-item.current-menu-item > a {
	color: #fff!important;
}


body.highcontrast2 #pe-logo-nav {
	background: #000!important;
}

body.highcontrast2 .menu-item.current-menu-item > a,
body.highcontrast2 .nav-dropdown .menu-item.current-menu-item > a,
body.highcontrast2 .menu-item.hover .menu-item.hover > a,
body.highcontrast2 .nav-dropdown .menu-item > a:hover {
	color: #8bfffb!important;
}
body.highcontrast2 .menu-item.hover a,
body.highcontrast2 .menu-item > a:hover,
body.highcontrast2 .nav-dropdown .menu-item > a {
	color: #000!important;
}
body.highcontrast2 .menu-item.current_page_parent > a {
	color: #000!important;
	background: #ffff00;
}

body.highcontrast2 .menu-item > a {
	color: #ffff00!important;
}


body.highcontrast3 #pe-logo-nav {
	background: #ffff00!important;
}
body.highcontrast3 .menu-item.hover > a,
body.highcontrast3 .menu-item.current-menu-item > a,
body.highcontrast3 .nav-dropdown .menu-item > a {
	color: #ffff00!important;
}
body.highcontrast3 .menu-item.current_page_parent > a {
	color: #ffff00!important;
	background: #000;
}

body.highcontrast3 .menu-item > a
 {
	color: #000!important;
}
/* body.highcontrast3 .menu-item > a:hover, */
body.highcontrast3 .nav-dropdown .menu-item.current-menu-item > a,
body.highcontrast3 .menu-item.hover .menu-item.hover > a,
body.highcontrast3 .nav-dropdown .menu-item > a:hover {
	color: #00f!important;
}





#pe-search.pe-search-mobile {
    display: block;
}

.disclaimer-div {
	font-size: 0.9em;
	/* font-weight: 700; */
	padding: 10px;
	border: #cbcbcb 1px solid;
	/* background-color: #ffdd00; */
	color: #fff;
	background-color: #364e72;
	margin-bottom: 20px;
}
.disclaimer-div a {
	color: #fff;
	text-decoration: underline;
}

.post-meta {
    color: inherit;
}

body.home .carousel-inner .thumbnails {
	background-color: #fff;
}

body.night .carousel-inner .thumbnails {
	background-color: #c4c4c4;
}

body.highcontrast .carousel-inner .thumbnails,
body.highcontrast2 .carousel-inner .thumbnails,
body.highcontrast3 .carousel-inner .thumbnails {
	background-color: inherit;
}

.n2-ss-slide--focus {
    background-color: #fff;
    color: #000;
}

.wp-block-table.is-style-stripes {
	margin-right: 0px;
}


.is-style-table-group .wp-block-group__inner-container {
	overflow: auto;
}
.is-style-table-group .wp-block-group__inner-container table  {
	width: auto;
}
.is-style-table-group .wp-block-group__inner-container table td  {
	min-width: 200px;
}

.pe-recent-posts-title-tag {
	line-height: 1.35em;
}


body.highcontrast3 #pe-logo {
	background: black;
}

#pe-wcag-mobile .pe-toggle-wcag {
	color: white;
}

/** TOOLTIPS **/

.tooltip {
	position: absolute;
	z-index: 99999;
	display: block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	line-height: 1.42857143;
	line-break: auto;
	text-align: left;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	word-break: normal;
	word-spacing: normal;
	word-wrap: normal;
	white-space: normal;
	font-size: 12px;
	/* filter: alpha(opacity = 0); */
	/* opacity: 0; */
  }
  
  .tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
  }
  
  .tooltip-inner {
	max-width: 200px;
	padding: 3px 8px;
	color: #fff;
	text-align: center;
	background-color: #000;
	border-radius: 4px;
  }
  
  .tooltip.left {
	padding: 0 5px;
	margin-left: -3px;
  }
  
  .tooltip.top {
	padding: 5px 0;
	margin-top: -3px;
  }
  
  .tooltip.bottom {
	padding: 5px 0;
	margin-top: 3px;
  }
  
  .tooltip.right {
	padding: 0 5px;
	margin-left: 3px;
  }
  
  .tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
  }
  
  .tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
  }
  
  .tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
  }
  
  .tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
  }
  