/*
	(C) Copyright 2018 - Anders Riggelsen
	Denne kildekode må ikke bruges uden udtryklig tilladelse fra Anders Riggelsen (anders.riggelsen@gmail.com)
	- Efter aftale må koden udvides og tilpasses.
	- Udvidelser og modifikationer tilhører de/dem der har lavet ændringerne med mindre andet er aftalt.
	- Anders Riggelsen er ikke ansvarlig for brugen af denne software på nogen måde.
*/
*{box-sizing: border-box;}

html, body{
	margin: 0;
	padding: 0;
	background: #ddd;
	font-size: 16px;
}

html{
	height: 100%;
}

body{
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto 1fr;
	min-height: 100%;
	max-width: 100%;
	max-width: 100vw;
}
@supports (-ms-ime-align:auto) {
	body{
		display: block;
	}
}

.disabled{
	opacity: 0.25;
	filter: saturate(0%);
}
button:disabled{
	opacity: 0.5;
	filter: saturate(0%);
}

hr{
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(128,128,128,0), rgba(128,128,128,0.5), rgba(128,128,128,0));
    background-image:    -moz-linear-gradient(left, rgba(128,128,128,0), rgba(128,128,128,0.5), rgba(128,128,128,0));
    background-image:     -ms-linear-gradient(left, rgba(128,128,128,0), rgba(128,128,128,0.5), rgba(128,128,128,0));
    background-image:      -o-linear-gradient(left, rgba(128,128,128,0), rgba(128,128,128,0.5), rgba(128,128,128,0));
	margin: 5px 0;
}

pre{
	text-align: left !important;
}

.vr{
    border: 0;
    width: 1px;
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.30), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.30), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.30), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.30), rgba(0,0,0,0));
    background-image:         linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.30), rgba(0,0,0,0));
	margin: 0px;
	padding: 0px;
}

.left{float: left;}
.right{float: right;}

.alignLeft{text-align: left;}
.alignRight{text-align: right;}
.center{text-align: center;}

.rightImg{float: right;margin-left: 8px;}

.red{
	color: #f00;
}

label, summary{
	  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
          cursor: pointer;
    display: inline;
}

.nopadding{
	padding: 0;
}

.max140{
	max-width: 140px;
}
.centeredText{
	text-align: center;
}

a img{border: 0;}
img{vertical-align: middle;}

.box img{
	vertical-align: middle;
}

input, select, textarea{
	font-size: 1.1em;
}

input[type=checkbox]{
	transform: scale(1.7);
	margin: 5px 10px 5px 5px;
	display: inline-block;
}
input[type=radio]{
	transform: scale(1.7);
	margin: 5px 10px 5px 5px;
}
input[type=time]{
	font-family: monospace;
	font-size: 0.9em;
}
input[disabled]{
	background-color: #ddd;
}
input::placeholder{
	color: #ddd;
}
.noClearButton::-webkit-clear-button {
    display: none;
}
.noClearButton::-ms-clear {
    display: none;
}

.inputHeader{
	font-weight: bold;
	font-size: 1.5em;
}

#menu{
	text-align: center;
}
#menu ul{
	list-style: none;
	margin: 0;
	padding-left: 4px;
}

#menu ul > li{
	padding: 0 6px 0 6px;
	padding: 0 2vw 0 2vw;
	display: inline-block;
	position: relative;
}

#menu ul > li > a{
	color: #fff;
	position: relative;
}

#menu ul > li > .currentNav{
	font-weight: bolder;
	color: #fff;
	border-bottom: 4px solid #fff;
	text-decoration: none;
}

#menu ul > li > a > .notification{
	position: absolute;
	display: block;
	right: -18px;
	bottom: -12px;
	background: #ff0000;
	border-radius: 100%;
	color: #fff;
	width: 17px;
	height: 17px;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
}

#indhold{
	position: relative;
	margin: 0 0;
	padding: 0;
	padding: 0 8px 50px 8px;
	padding: 0 5vw 50px 5vw;
	grid-area: 2 / 1 / span 1 / span 1;
	overflow: auto;
	width: 100%;
	height: 100%;
}
@media only screen 
and (max-width:768px)
{
	#indhold{
		padding: 0 0 0 50px;
		padding-left: calc(10vw - 40px);
		padding-right: calc(10vw - 40px);
	}
}

#indholdFullWidth{
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

#usikkerPasswordAdvarsel{
	position: absolute;
	top: 64px;
	right: 8px;
	width: 300px;
	padding: 5px;
	z-index: 999;
	animation: fadeoutAmimation 0.5s 1;
	-webkit-animation: fadeoutAmimation 0.5s 1;
	animation-fill-mode: forwards;
	animation-delay: 5s;
	-webkit-animation-delay: 5s; /* Safari and Chrome */
	-webkit-animation-fill-mode: forwards;
	pointer-events: none;
}

@keyframes fadeoutAmimation{
    from{opacity: 1;}
    to{opacity: 0;}
}
@-webkit-keyframes fadeoutAmimation{
    from{opacity: 1;}
    to{opacity: 0;}
}



.arrow_box {
	position: relative;
	background: #d1e000;
	border: 2px solid #545026;
	color: #000;
	padding: 8px;
	text-align: center;
}
.arrow_box:after, .arrow_box:before {
	bottom: 100%;
	left: calc(100% - 17px);
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(209, 224, 0, 0);
	border-bottom-color: #d1e000;
	border-width: 16px;
	margin-left: -16px;
}
.arrow_box:before {
	border-color: rgba(194, 225, 245, 0);
	border-bottom-color: #827a24;
	border-width: 19px;
	margin-left: -19px;
}


.tabList{
	list-style: none;
	margin: 0 0 -1px 0;
	padding: 0;
}

.tabList a{
	color: #999;
	text-decoration: none;
}

.tabList li{
	display: inline-block;
	height: 20px;
	border-top: 1px solid #bbb;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
	margin: 0 0 0 0;
	padding: 10px 20px 0 20px;
	background-color: #eee;
}

.tabList .selectedTab{
	margin: 0 0 -5px 0 !important;
	background-color: #fff;
	font-weight: bold;
}

.tabList .selectedTab a{
	color: #000;
}



.tabControl{
	margin-top: 4px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr;
}
.tabRightControl{
	grid-area: 1 / 2 / span 1 / span 1;
}

.tabViewContainer{
	grid-area: 2 / 1 / span 1 / span 2;
	padding: 5px;
	border: 1px solid #aaa;
	background-color: #fff;	
	z-index: 9;
	position: relative;
}

.tabControl > ul{
	grid-area: 1 / 1 / span 1 / span 1;
	min-height: 48px;
	list-style: none;
	margin: 0 0 -1px 0;
	padding: 0;
	font-size: 1.2em;
	z-index: 10;
}

.tabControl > ul li{
	transition: 	height 0.2s linear,
					background-color 0.2s linear,
					border-bottom-color 0.2s linear,
					margin 0.2s linear;
	display: inline-block;
	vertical-align: top;
	height: 42px;
	border: 1px solid #bbb;
	margin: 6px 0 0 0;
	padding: 10px 4vw 0 4vw;
	background-color: #eee;
	background: linear-gradient(to bottom, rgb(240,240,240) 0%, rgb(220,220,220) 100%);
	cursor: pointer;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.tabControl .selectedTab{
	height: 48px;
	background-color: #fff;
	background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(255,255,255) 100%);
	text-shadow: 1px 0 0 #000;
	border-bottom: 1px solid #fff;
	margin: 0 0 0 0;
}

.tabControl .contentGrid{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.tabViewOpen{
	display: block;
	visibility: visible;
	border-bottom: 1px solid #fff;
}


.tabControl .tabViewClosed{
	display: none;
	visibility: hidden;
}




.faqCategoryCheckboxes label{
	margin-right: 20px;
}

.contentGrid{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}
.contentGridFill{
	grid-area: 1 / 1 / span 1 / span 1;
	position: relative;
}

table#top{
	grid-area: 1 / 1 / span 1 / span 1;
	text-align: left;
	vertical-align: middle;
	color: #fff;
	background: #000 url('img/top_bg.png');
	border-spacing: 0px;
	margin: 0;
	padding: 0;
	border: 0;
}
div#top{
	grid-area: 1 / 1 / span 1 / span 1;
	padding: 0 8px 16px 8px;
	background-color: #eee;
}

#top .logoImage{
	vertical-align: middle;
}

@media print{
    #top {
      	visibility: hidden;
      	display: none;
    }
}

#top tr:hover, .nohighlight tr, .toolbar tr{
	background: transparent !important;
}

#top td{
	padding: 0 !important;
}

.logout{
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f) );
	background:-moz-linear-gradient( center top, #f24537 5%, #c62d1f 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f');
	background-color:#f24537;
	text-indent:0;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	width:75px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #810e05;
	width: 100%;
	height: 100%;
	line-height: 48px;
}
.redigerBruger{
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0, #dfbf34), color-stop(1, #e8c31e) );
	background:-moz-linear-gradient( center top, #dfbf34 5%, #e8c31e 100% );
	background-color:#f24537;
	text-indent:0;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	width:75px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #77640f;
	width: 100%;
	height: 100%;
	line-height: 48px;
}
.bartilstand{
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3755f2), color-stop(1, #1f5cc6) );
	background:-moz-linear-gradient( center top, #3755f2 5%, #1f5cc6 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3755f2', endColorstr='#1f5cc6');
	background-color:#3755f2;
	text-indent:0;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	width:75px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #052b81;
	width: 100%;
	height: 100%;
	line-height: 48px;
}
.menuNavn{
	background: rgba(210,255,82,1);
	background: -moz-linear-gradient(top, rgba(162, 198, 60, 1) 0%, rgba(145,232,66,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(162, 198, 60, 1)), color-stop(100%, rgba(145,232,66,1)));
	background: -webkit-linear-gradient(top, rgba(162, 198, 60, 1) 0%, rgba(145,232,66,1) 100%);
	background: -o-linear-gradient(top, rgba(162, 198, 60, 1) 0%, rgba(145,232,66,1) 100%);
	background: -ms-linear-gradient(top, rgba(162, 198, 60, 1) 0%, rgba(145,232,66,1) 100%);
	background: linear-gradient(to bottom, rgba(162, 198, 60, 1) 0%, rgba(145,232,66,1) 100%);
	text-indent:0;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	width:75px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #77640f;
	width: 100%;
	height: 100%;
	line-height: 48px;
}

.logout:active, .redigerBruger:active{
	position:relative;
	top:1px;
}

.blueMenuButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #cae3fc;
	-webkit-box-shadow:inset 0px 1px 0px 0px #cae3fc;
	box-shadow:inset 0px 1px 0px 0px #cae3fc;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #4197ee) );
	background:-moz-linear-gradient( center top, #79bbff 5%, #4197ee 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#4197ee');
	background-color:#79bbff;
	text-indent:0;
	border:1px solid #469df5;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:30px;
	line-height:30px;
	width:75px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #287ace;
}
.blueMenuButton:active {
	position:relative;
	top:1px;
}

form{
	position: relative;
	clear: both;
}

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

th img{
	vertical-align: middle;
}

.highlight{
	background: #F9FF8A;
}

.login{
	text-align: center;
	width: 300px;
	margin: 32px auto;
	padding: 12px;
	background: #fff;
	border: 1px solid #aaa;
	box-shadow: 0px 0px 9px 9px rgba(0,0,0,0.1);
}

.login input{
	text-align: center;
}
.loginInfoBox{
	text-align: left;
	width: 80%;
	margin: 32px auto;
	padding: 12px;
	background: #fff;
	border: 1px solid #aaa;
	box-shadow: 0px 0px 9px 9px rgba(0,0,0,0.1);
}

table{page-break-inside: auto;width: 100%;  clear: both;  table-layout: fixed;}
tr{page-break-inside:avoid; page-break-after:auto;}
td{page-break-inside:avoid; page-break-after:auto;padding: 3px;}
th{
	background: #000 50% 50%;
	color: #fff;
	text-align: center;
	padding: 5px;
	text-align: left;
	text-decoration: underline;
}
thead {display:table-header-group;}
tfoot {display:table-footer-group;}
col:nth-child(even) {background: rgba(0, 0, 0, 0.06);}
col:nth-child(odd) {background: transparent;}
tr:nth-child(even){background: rgba(0, 0, 0, 0.06);}
tr:nth-child(odd){background: transparent;}

.dynamic{
	table-layout: auto;
}

.softHeader th{
	background: #ccf;
	color: #000;
	padding: 3px;
	font-weight: normal;
	text-decoration: none;
}
.softHeader input[type="checkbox"]{
	transform: scale(1);
	margin: 0 5px 0 0;
}
.softHeader label{
	font-weight: normal;
	margin: 0;
}

.hiddenFirstRow{
	visibility: hidden;
	height: 0px !important;
	line-height: 0;	
}
.hiddenFirstRow th, .hiddenFirstRow td{
	line-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}


.flex{
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}

.flex div {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}

.dashboardFlex{
	column-count: 2;
	column-gap: 1em;
}

.dashboardFlex > div{
	display: inline-block;
	width: 100%;
	break-inside: avoid;
}

.twoSections{
	clear: both;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 16px;
}
.threeSections{
	clear: both;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 16px;
}
.twoThirdsSections{
	clear: both;
	display: grid;
	grid-template-columns: 4fr 2fr;
	grid-column-gap: 16px;
}
.boxHeader{
	margin-top: 0;
	background-color: #333;
	color: #fff;
	margin: -5px -5px 5px -5px;
	padding: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
@media only screen and (max-width: 600px) {
	.twoSections, .threeSections, .twoThirdsSections{
	    display: block;
	}
}
.monsBox h1{
	position: relative;
}
.monsBox{
	background-image: url('img/mons.png');
	background-repeat: no-repeat;
	background-position: top right;
	padding-right: 190px !important;
	padding-top: 140px !important; 
}
@media only screen and (max-width: 600px) {
	.monsBox{
	    padding-right: 5px !important;
	    padding-top: 5px !important;
	    background-image: none;
	}
}

.textSubmitButton{
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}
.textSubmitButton:hover{
	text-decoration: underline;
}


@media only screen and (max-width:767px)
{
	.dashboardFlex{
		column-count: 1;
	}
}
@media only screen and (min-width:2000px)
{
	/*.dashboardFlex{
		column-count: 3;
	}*/
}

.borderedTable{
	border: 1px solid #aaa;
}
.borderedTable td{
	border: 1px solid #aaa;
}

.insideTable{
	font-size: 1.1em;
}

.detailBlob, .tidspunkt{
	display: inline-block;
	background-color: #ffc347;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 0.8em;
	margin: 4px;
}

.tidspunkt{
	background: #666688;
	color: #fff;
}



.legend p{
	padding: 0 0 0 45px !important;
	margin: 0;
	min-height: 32px;
}

.legend img{
	float: left;
	margin: 7px 10px 0 5px;
}

.greyedOut{
	color: #aaa;
}



.numberInput{
	width: 100%;
	box-sizing: border-box;
}

.info{
	font-size: 0.9em;
}


.fullWidth{
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.fullWidthMinus32{
	width: calc(100% - 32px) !important;
	max-width: calc(100% - 32px) !important;
}

.width90{
	width: 90px;
	box-sizing: border-box;
}

#datoDay{
	width: 60px;
	float: left;
}
#datoMonth{
	width: 170px;
	float: right;
}

#newDate{
	font-size: 1.4em;
	width: 210px;
}

.websiteGrid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto 1fr;
	grid-gap: 10px;
}

.websiteMenu{
	grid-area: 1 / 1 / span 1 / span 2;
}
.coverImage{
	grid-area: 2 / 1 / span 1 / span 1;
}
.siteURL{
	text-align: right;
	grid-area: 2 / 2 / span 1 / span 1;
}
.textInputView{
	grid-area: 3 / 1 / span 1 / span 2;
}


.box{
	padding: 5px;
	margin: 0 0 8px 0;
	background-color: #fff;
	border: 1px solid #bbb;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

#kalenderTable{
	table-layout: auto;
}
#kalenderTable tr td{
	vertical-align: top;
	padding: 2px !important;
}

#kalenderTable .ugeSeparator{
	background-color: #99d;
	height: 3px;
}

.kalenderEntry{
	border: 1px solid #aaa;
	border-radius: 4px;
	font-size: 0.9em;
	margin-bottom: 4px;
	overflow: hidden;
	max-width: 180px;
	min-width: 100px;
	margin: auto auto 4px auto;
}
.kalenderEntryNavn{
	padding: 2px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-weight: bolder;
	background-color: #ddf;
}
.kalenderEntryNavn span img{
	width: 18px;
	filter: invert(100%);
	vertical-align: middle;
}
.kalenderEntryDato{
	font-size: 0.8em;
	text-align: center;;
}
.eventPopupList{
	margin: 0;
	padding: 0;
	list-style: none;
}
.eventPopupList a{
	color: #fff;
}

.box > table,
.box > #kalenderTableContainer > table,
.tabViewContainer > div > table:only-child,
.box table:only-child{
	margin-left: -5px;
	margin-right: -5px;
	width: calc(100% + 10px);
}
.box table:first-child{
	margin-top: -5px;
	overflow: hidden;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.box table:last-child{
	margin-bottom: -5px;
}
table.box tr:first-of-type td,		.box table tr:first-of-type td {
	padding-top: 5px;
}
table.box tr:nth-of-type(2) td,		.box table tr:nth-of-type(2) td{
	padding-top: 5px;
}
table.box tr:last-of-type td,		.box table tr:last-of-type td{
	padding-bottom: 5px;
}
table.box tr td:first-of-type,		.box table tr td:first-of-type{
	padding-left: 5px;
}
table.box tr td:last-of-type,		.box table tr td:last-of-type{
	padding-right: 5px;
}

.toolbar{
	position: relative;
	width: 100%;
	margin-top: -5px;
	background: linear-gradient(to bottom, rgba(72,91,112,1) 0%,rgba(89,119,145,1) 37%,rgba(162,181,196,1) 100%);
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	min-height: 48px;
}
.toolbar td{
	white-space: nowrap;
	vertical-align: top;
}

.subtoolbar{
	width: 100%;
	width: calc(100% + 10px);
	margin-left: -5px;
	margin-right: -5px;
	margin-top: -5px;
	margin-bottom: -5px;
	min-height: 64px;
}

.filterBoxContainer{
	padding-top: 9px !important;
	padding-bottom: 2px;
}

.filterBox{
	width: 100%;
	font-size: 1em;
	height: 32px;
	padding-left: 32px;
	background-image: url('img/search.png');
	background-size: contain;
	background-repeat: no-repeat;
	border-radius: 16px;
	border: 1px solid #aaa;
}

.resetbutton{
	background-color: #888;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance:    none;
	appearance:         none;
	color: #fff;
	border-radius: 12px;
	border: 0px;
	position: absolute;
	right: 8px;
	top: 14px;
	width: 24px;
	height: 24px;
	line-height: 0;
	font-size: 0.7em;
	font-family: sans-serif;
	vertical-align: middle;
	text-align: center;
}

.filtercheckboxes{
	color: #fff;
	font-size: 0.7em;
}

.sortHeader th{
	cursor: pointer;
}

.organizationlogo{
	background-image: url('../img/logo_black.png');
	background-repeat: no-repeat;
	background-position: 16px 50%;
	background-size: 100px;
	padding-left: 132px;
	min-height: 115px;
}
@media only screen and (max-width:767px)
{
	.organizationlogo{
		background-size: 50px;
		padding-left: 64px;
		background-position: 8px 50%;
		min-height: initial;
	}
}

.checkinbox{
	padding-top: 32px;
	padding-bottom: 16px;
	margin: 0 0 8px 0;
	text-align: center;
}
.checkinbox input[name="medlem"]{
	font-weight: bold;
	font-size: 2em;
	border: 1px solid black;
	text-align: center;
}
.checkinGrid{
	display: grid;
	grid-template-columns: 1fr auto auto;
	grid-template-rows:  auto;
	grid-template-areas: "input checkin guest";
	gap: 8px;
}
.checkinGrid #medlem{
	grid-area: input;
}
.checkinGrid #checkinButton{
	grid-area: checkin;
	font-size: 2em;
	margin-top: 0;
}
.checkinGrid #guestButton{
	grid-area: guest;
	font-size: 1.2em;
	margin-top: 0;
	background-color: #005ed1;
	color: #fff;
}
.checkinGrid #guestButton:hover{
	text-decoration: underline;
}

.checkinFlexBox {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

.checkinsGrid {
	display: flex;
	flex-wrap: wrap;
}


.sections{
	display: -webkit-flex;
	display: flex;
}

.sections > *{
	flex: 1 1 auto;
	text-align: center;
}
.sections > *:first-child{
	text-align: left;
}
.sections > *:last-child{
	text-align: right;
}
.semitabs{
	padding-top: 10px;
}
.semitabs a{
	display: inline-block;
	padding: 8px;
	border-radius: 8px;
}
.semitabs .selectedTab{
	font-weight: bold;
	color: #fff;
	background-color: #449;
}





.checkinCard {
	flex: 1 1 310px;
	padding: 0px;
	min-width: 310px;
	max-width: 475px;
	position: relative;
	margin: 8px;
	cursor: pointer;
	background: #fff;
	border: 1px solid #bbb;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
	
}
.highlightIn{
	animation: highlightIn 3000ms ease 0s 1 normal none;
}
@keyframes highlightIn{
    0%{scale: 1; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);}
	20%{scale: 1.4; box-shadow: 0px 3px 32px rgba(0, 0, 0, 0.4);}
	80%{scale: 1.4; box-shadow: 0px 3px 32px rgba(0, 0, 0, 0.4);}
	90%{scale: 0.9; box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);}
    100%{scale: 1; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);}
}

.checkinCard > img:first-of-type{
	grid-area: image;
	float: left;
	margin-right: 8px;
	height: 100%;
	aspect-ratio: 1 / 1;
	max-width: 11vmin;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	object-fit: cover;
}

.checkinCard .navn{
	grid-area: name;
	font-weight: bold;
	font-size: 1.5em;
}
.checkinCard .brugernavn{
	grid-area: username;
	font-family: monospace;
	padding-top: 2px;
	padding-bottom: 2px;
}

.checkinCard .telefonnummer{
	grid-area: phone;
	font-family: monospace;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	white-space: nowrap;
}

.checkinCard .email{
	grid-area: email;
	font-family: monospace;
	margin: 4px;
	font-size: 0.9em;
}

.otherNumberImageCover{
	position: absolute;
	top: 8px;
	left: 8px;
	bottom: 8px;
	display: flex;
	aspect-ratio: 1 / 1;
	max-width: 100px;
	border-radius: 100%;
	background-color: #fff;
	text-align: center;
	align-items: center;
	align-content: center;
	justify-content: center;
	opacity: 1;
	transition: opacity 400ms ease;
}
.otherNumberImageCover:hover{
	opacity: 0.2;
}
.otherNumberContents{
	font-family: "Raleway", sans-serif;
	color: #000;
	font-size: 3em;
	font-weight: bolder;
	padding-bottom: 0.2em;
}
.checkinDetails{
	grid-area: details;
}

.viewMode_large{

	.checkinCard{
		display: grid;
		align-items: center;
		flex: 1 1 200px;
		min-width: 200px;
		max-width: 200px;
		grid-template-columns: 1fr;
		grid-template-rows: 200px auto auto;
		grid-template-areas: "image"
							"name"
							"details";

		.otherNumberImageCover{
			top: 16px;
			left: 16px;
			right: 16px;
			aspect-ratio: 1 / 1;
			bottom: unset;
			max-width: unset;
			.otherNumberContents{
				font-size: 5em;
			}
		}
		.navn{
			padding: 0px 4px;
		}

		> img{
			float: unset;
			max-width: 100% !important;
			width: 100% !important;
			border-bottom-left-radius: 0;
			border-top-right-radius: 8px;
		}	

		.brugernavn{
			display: none;
		}

		.checkinDetails > *{
			margin: 4px 2px;
		}
		
	}
}

.viewMode_compact{

	.checkinCard{
		text-align: left;
		display: grid;
		margin: 4px;
		align-items: center;
		flex: 1 1 420px;
		min-width: 420px;
		max-width: 600px;
		grid-template-rows: 1fr;
		grid-template-columns:  32px 1fr auto auto;
		grid-template-areas: "image name username details";
		gap: 4px;
		box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);

		.otherNumberImageCover{
			top: 2px;
			left: 2px;
			bottom: 2px;
			aspect-ratio: 1 / 1;
			max-width: 48px;
			.otherNumberContents{
				font-size: 1em;
			}
		}
		.navn{
			padding: 0px 4px;
			font-size: 1em;
		}

		> img{
			float: unset;
			max-width: unset;
			height: 32px;
		}

		.brugernavn, .hasItemsBlob{
			display: none;
		}

		.checkinDetails{
			width: 180px;
			text-align: right;
		}
	}
}

.ugyldigMedlemCard{
	background-color: #ffaaaa !important;
}
.kunRegistrering{
	background-color: #ffefaa !important;
}
.checkedOut{
	background-color: #60ff72 !important;
	opacity: 0.5;
}


.skalFornys{
	padding-left: 5px;
	font-weight: bold;
}

.medlemAdvarsel{
	background-color: #ffa;
	position: relative;
	border: 10px solid yellow;
	border-image: repeating-linear-gradient( 45deg, yellow, yellow 2%, black 1%, black 4%) 10;
}

.medlemAdvarselText{
	padding:  8px;
	font-weight: bold;
}

.ignoreme{
  content: "";
  position: absolute;
  z-index: -1;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
  background: 
  linear-gradient(-45deg, transparent 45%, #000 45%, #000 55%, transparent 55%) 0 0/10px 10px,
  linear-gradient(-45deg, transparent 45%, #000 45%, #000 55%, transparent 55%) 5px 0px/10px 10px;
  background-color:rgba(255,255,255,0.5);
}

.antalIndcheckede{
	margin: 8px 0 8px 8px;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #b8e356), color-stop(1, #a5cc52));
	background:-moz-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:-webkit-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:-o-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:-ms-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:linear-gradient(to bottom, #b8e356 5%, #a5cc52 100%);
	background-color:#b8e356;
	border:1px solid #83c41a;
	display:inline-block;
	color:#000;
	font-family:Arial;
	font-size:15px;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 4px #fff;
}

.whiteBg{
	margin: 0 0 8px 0;
	background: #fff;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}


.leftHalf{
	width: 49.7% !important;
	float: left;
}

.rightHalf{
	width: 49.7% !important;
	float: right;
}

.leftMidThird{
	width: 33% !important;
	float: left;
}
.rightThird{
	width: 33% !important;
	float: right;
}

.floatLeft{
	float: left;
}
.floatRight{
	float: right;
}

.positionRelative{
	position: relative;
}

.clear{
	clear: both;
}

.error{
	display: block;
	padding: 10px 5px 10px 85px;
	margin: 0;
	border-radius: 7px;
	background: #fff 8px 8px no-repeat;
	border: 1px solid #bbb;
}

.hidden{
	display: none;
	visibility: hidden;
	height: 0px;
	transition: all 0.5s ease;
}

.userThumb a{
	color: #fff;
	text-decoration: none;
	font-size: 1.1em;
}

.circleShape{
	border-radius: 100%;
	box-shadow: 0 0 1px #000;
}

.autoCompactTable > tr > td{
	padding-bottom: 10px;
	padding-top: 10px;
}
.autoCompactTable > tr > td:first-of-type{
	font-weight: bold;
}

@media only screen and (min-width:530px)
{
	.visibleOnlyNarrow{
		width: 0px !important;
		height: 0px !important;
		overflow: hidden;
		visibility: hidden;
	}
}

@media only screen and (max-width:529px)
{
	.visibleOnlyWide{
		width: 0px !important;
		height: 0px !important;
		overflow: hidden;
		visibility: hidden;
	}
	.autoCompactTable, .autoCompactTable > tr, .autoCompactTable > tbody > tr, .autoCompactTable > tr > td, .autoCompactTable > tbody > tr > td, .autoCompactTable > tbody{
		display: block;
	}

	.autoCompactTable > tr > td:first-of-type, .autoCompactTable > tbody > tr > td:first-of-type{
		font-weight: bolder;
		background-color: #000;
		color: #fff;
		text-align: center;
		width: 100%;
	}
}

.inverted{
	filter: invert(100%);
}

h1{font-size: 1.8em; font-weight: bold; margin-bottom: 6px;}
h2{font-size: 1.5em; margin-bottom: 5px;}
h3{font-size: 1.4em;margin-bottom: 4px;}
h4{font-size: 1.3em; margin-bottom: 3px;}
h5{font-size: 1.2em; margin-bottom: 2px; margin-top: 5px; }
h6{font-size: 1.1em; margin-bottom: 1px;}

.vs{
	width: 1px !important;
	padding: 0px !important;
	height: 100%;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0) 100%); /* W3C */
}

.labelForm label{
	display: inline-block;
	width: 160px;
}

.kategoriSeparator{
	padding: 2px;
	color: #fff;
	text-shadow: 0px 1px #000;
	background: rgb(96,108,136); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(96,108,136,1) 0%, rgba(63,76,107,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(96,108,136,1)), color-stop(100%,rgba(63,76,107,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(96,108,136,1) 0%,rgba(63,76,107,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(96,108,136,1) 0%,rgba(63,76,107,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(96,108,136,1) 0%,rgba(63,76,107,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(96,108,136,1) 0%,rgba(63,76,107,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */
}

.kategoriSeparator h3{
	margin: 0;
}

.kategoriSeparator a{
	color: #fff;
	text-decoration: none;
}

.ajaxEdit label{
	display: inline-block;
	width: 30%;
}

.ajaxEdit input{
	display: inline-block;
	width: 60%;
}

.ajaxEdit input{
	border: 1px solid rgba(0,0,0,0.2);
	margin: 1px;
}

.ajaxEdit input:enabled{
	background-color: #eeffee;
	background-size: contain;
	border: 1px solid rgba(0,0,0,0.5);
	margin: 1px;
}

.sprogInputTable{
	border-spacing: 2px;
}
.sprogInputTable td{
	padding: 2px;
}



.newbutton{
	margin: 4px 1px 4px 4px;
	border-radius: 4px;
	text-decoration:none; 
	border: 0;
	display:inline-block;
	background-color: #00B500;
	cursor: pointer;
	color:#ffffff;
	font-size:15px;
	font-weight: bold;
	padding: 6px 20px;
	text-shadow:0px 1px 4px #000000;
}
.newbutton:hover, .newbutton:active, .newbutton:focus{
	color: #fff;
	text-decoration: none;
}

.nomargin{
	margin: 0 !important;
}

.editbutton{
	-moz-box-shadow:inset 0px 1px 0px 0px #d9fbbe;
	-webkit-box-shadow:inset 0px 1px 0px 0px #d9fbbe;
	box-shadow:inset 0px 1px 0px 0px #d9fbbe;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #b8e356), color-stop(1, #a5cc52));
	background:-moz-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:-webkit-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:-o-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:-ms-linear-gradient(top, #b8e356 5%, #a5cc52 100%);
	background:linear-gradient(to bottom, #b8e356 5%, #a5cc52 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b8e356', endColorstr='#a5cc52',GradientType=0);
	background-color:#b8e356;
	border:1px solid #83c41a;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 6px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;
	min-width: 32px;
	min-height: 32px;
	text-align: center;
}
.editbutton:hover{
	color: #fff;
}
.removebutton{
	-moz-box-shadow:inset 0px 1px 0px 0px #fabebe;
	-webkit-box-shadow:inset 0px 1px 0px 0px #fabebe;
	box-shadow:inset 0px 1px 0px 0px #fabebe;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e35656), color-stop(1, #cc5454));
	background:-moz-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-webkit-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-o-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-ms-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:linear-gradient(to bottom, #e35656 5%, #cc5454 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e35656', endColorstr='#cc5454',GradientType=0);
	background-color:#e35656;
	border:1px solid #c21b1b;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 6px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;
	min-width: 32px;
	min-height: 32px;
	text-align: center;
}

.redbutton{
	margin: 8px 0 8px 8px;
	-moz-box-shadow:inset 0px 1px 0px 0px #fabebe;
	-webkit-box-shadow:inset 0px 1px 0px 0px #fabebe;
	box-shadow:inset 0px 1px 0px 0px #fabebe;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e35656), color-stop(1, #cc5454));
	background:-moz-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-webkit-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-o-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-ms-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:linear-gradient(to bottom, #e35656 5%, #cc5454 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e35656', endColorstr='#cc5454',GradientType=0);
	background-color:#e35656;
	border:1px solid #c21b1b;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;
}
.yellowbutton{
	margin: 8px 0 8px 8px;
	-moz-box-shadow:inset 0px 1px 0px 0px #faf8be;
	-webkit-box-shadow:inset 0px 1px 0px 0px #faf8be;
	box-shadow:inset 0px 1px 0px 0px #faf8be;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e3dd56), color-stop(1, #ccc754));
	background:-moz-linear-gradient(top, #e3dd56 5%, #ccc754 100%);
	background:-webkit-linear-gradient(top, #e3dd56 5%, #ccc754 100%);
	background:-o-linear-gradient(top, #e3dd56 5%, #ccc754 100%);
	background:-ms-linear-gradient(top, #e3dd56 5%, #ccc754 100%);
	background:linear-gradient(to bottom, #e3dd56 5%, #ccc754 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3dd56', endColorstr='#ccc754',GradientType=0);
	background-color:#e3dd56;
	border:1px solid #c2bb1b;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #cc5454), color-stop(1, #e35656));
	background:-moz-linear-gradient(top, #cc5454 5%, #e35656 100%);
	background:-webkit-linear-gradient(top, #cc5454 5%, #e35656 100%);
	background:-o-linear-gradient(top, #cc5454 5%, #e35656 100%);
	background:-ms-linear-gradient(top, #cc5454 5%, #e35656 100%);
	background:linear-gradient(to bottom, #cc5454 5%, #e35656 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cc5454', endColorstr='#e35656',GradientType=0);
	background-color:#cc5454;
}
.myButton:active {
	position:relative;
	top:1px;
}

.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #a5cc52), color-stop(1, #b8e356));
	background:-moz-linear-gradient(top, #a5cc52 5%, #b8e356 100%);
	background:-webkit-linear-gradient(top, #a5cc52 5%, #b8e356 100%);
	background:-o-linear-gradient(top, #a5cc52 5%, #b8e356 100%);
	background:-ms-linear-gradient(top, #a5cc52 5%, #b8e356 100%);
	background:linear-gradient(to bottom, #a5cc52 5%, #b8e356 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5cc52', endColorstr='#b8e356',GradientType=0);
	background-color:#a5cc52;
}
.myButton:active {
	position:relative;
	top:1px;
}

.tekst_selected{
	font-weight: bold;
	background-color: #555;
	border-radius: 4px;
}
.tekst_selected a{
	color: #fff;
}

.tekstNav{
	margin: 0;
	padding-left: 0;
	list-style: none;
}
.tekstNav li{
	padding: 4px 10px 4px 22px;
	display: inline-block;
	border: 1px solid #ccc;
	margin: 4px;
	border-radius: 4px;
}

.pageItem{
	position: relative;
	counter-increment: ordering;
}
.pageCategory{
	counter-reset: ordering;
}
.pageCategory.dragOver{
	background-color: #faa !important;
}
.pageItem:after{
	content: "" counter(ordering) "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background-color: #888;
	color: #fff;
	padding: 4px 2px 2px 2px;
	vertical-align: middle;
}
.pageItem:before, .newPageZone:before{
	position: absolute;
	content: "";
	left: 0px;
	top: 8px;
	width: 0;
	height: 0;
	border-left: 4px solid #f00;
	border-top: 4px solid #f00;
	border-bottom: 4px solid #f00;
	opacity: 0;
	transition: all 200ms ease;
	border-radius: 2px;
}
.pageItem.dragOver:before, .newPageZone.dragOver:before{
	opacity: 1;
	width: 10px;
	height: 48px;
	left: -6px;
	top: -8px;
}

.newPageZone{
	background-size: 24px 24px;
	background-image: url('img/ny.png');
	background-position: 50% 50%;
	background-repeat: no-repeat;
	width: 32px;
	height: 32px;
	vertical-align: bottom;
	position: relative;
}

.newPageZone.moveRight{
	background-image: url('img/move_right.svg');
}
.newPageZone a{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}



.eventLine h3{
	margin-top: 0;
	font-size: 1.2em;
}
.eventLine h4{
	margin-top: 0;
	font-size: 1.0em;
	color: #aa0000;
	font-family: sans-serif;
}

.eventInfoContainer{
	display: grid;
	grid-template-columns: auto auto auto;
	grid-template-rows: auto;
	grid-template-areas: "open doorCloses close" "text text text";
}
.eventInfoContainer textarea{
	grid-area: text;
}

.postHeader .medlemNavn{
	width: 32px;
	height: 32px;
}
.postHeader .lukket .medlemNavn{
	width: 24px;
	height: 24px;
}

.readBy{
	text-align: right;
}

.frameld{
	color: red;
	font-weight: bold;
}

.gyldigMedlem{
	color: #2EAD00;
}

.ugyldigMedlem{
	color: #AD2900;
}


.medlemsKolonne{
	font-family: monospace;
	font-weight: normal;
	font-size: 0.8em;
}

.a-medlemskort, .b-medlemskort, .c-medlemskort, .kun_registrering, .ny-medlem {
	-moz-box-shadow:inset 0px 1px 0px 0px #9c9c9c;
	-webkit-box-shadow:inset 0px 1px 0px 0px #9c9c9c;
	border-radius: 4px;
	box-shadow:inset 0px 1px 0px 0px #9c9c9c;
	border:1px solid #124d77;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding: 2px 0px;
	text-decoration:none;
	text-shadow:0px 1px 0px #858585;
	width: 36px;
	text-align: center;
}

.a-medlemskort {
	background: linear-gradient(to bottom, #00a6ff 5%, #007dd1 100%);
	background-color: #00a6ff;
}
.b-medlemskort {
	background: linear-gradient(to bottom, #00283d 5%, #666666 100%);
	background-color: #00283d;
}
.c-medlemskort {
	background: linear-gradient(to bottom, #e5e696 0%,#d1d360 100%);
	background-color: #e5e696;
}
.kun_registrering  {
	background: linear-gradient(to bottom, #f84 0%,#a44 100%);
	background-color: #955;
}
.ny-medlem  {
	background: linear-gradient(to bottom, #f00 0%,#a00 100%);
	background-color: #800;
}


.unknownType {
	-moz-box-shadow:inset 0px 1px 0px 0px #e6e6e6;
	-webkit-box-shadow:inset 0px 1px 0px 0px #e6e6e6;
	box-shadow:inset 0px 1px 0px 0px #e6e6e6;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fafafa), color-stop(1, #c9c9c9));
	background:-moz-linear-gradient(top, #fafafa 5%, #c9c9c9 100%);
	background:-webkit-linear-gradient(top, #fafafa 5%, #c9c9c9 100%);
	background:-o-linear-gradient(top, #fafafa 5%, #c9c9c9 100%);
	background:-ms-linear-gradient(top, #fafafa 5%, #c9c9c9 100%);
	background:linear-gradient(to bottom, #fafafa 5%, #c9c9c9 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#c9c9c9',GradientType=0);
	background-color:#fafafa;
	border:1px solid #737373;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	padding:6px 8px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;
}


.clearfix:before, .clearfix:after {
  display: block;
  content: "";
  line-height: 0;
  clear: both;
}



.dropdownMenu{
    display: inline-block;
    height: 64px;
    position: relative;
}

#mainMenuDropdownContent{
	display: none;
	visibility: hidden;
}

.menuParent {
    height: 100%;
    width: 100%;
    padding-left: 0px;
    cursor: pointer;
    height: 64px;
    z-index: 102;
    position: relative;
  	transition: border-radius .1s linear, background .1s linear, z-index 0s;
    transition-delay: .2s;
}

 .menuContent ul {
    background: #aaa;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
	white-space: nowrap;
}

.menuContent li {
    list-style: none;
    text-align: left;
    color: #888;
    font-size: 14px;
}

.menuContent ul a {
    text-decoration: none;
	padding: 8px 16px;
}
.menuContent ul a:hover {
    color: #fff;
    text-decoration: underline;
}

 .menuContent li:hover {
    background: #eee;
    color: #333;
}






.popoutIcon{
	width: 32px;
	height: 32px;
	position: relative;
	background-image: url('img/down.svg');
	background-repeat: no-repeat;
	background-size: contain;
	padding-top: 25px;
}

.popoutIcon .menuWrapper{
	display: none;
	visibility: hidden;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 9999;
}

.popoutIcon:active .menuWrapper, .popoutIcon .menuWrapper:hover{
	display: block;
	visibility: visible;
}

.menu{
	background: #fff;
	box-shadow: 0 2px 8px 3px rgba(0,0,0,0.2);
	text-align: left;
	padding: 6px;
	min-width: 100px;
	margin-top: 25px;
}

.popoutIcon a{
	white-space: nowrap;
	display: inline-block;
}







.bemandingType{
	text-align: right;
	margin-top: 4px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 4px 50%;
	background-size: 20px 20px;
	display: block;
	padding-left: 24px;
	white-space: nowrap;
	box-sizing: border-box;
	min-height: 32px;
}
.bemandingType:hover{
	background-color: #afa;
	text-decoration: none;
	cursor: pointer;
}
.manglerBemanding{
	color: #ddd;
}
.bemandingType:hover .manglerBemanding{
	color: #fff;
}

.bemandingType img{
	width: 32px;
	height: 32px;
}
.ugyldigRolle{
	background-color: #faa !important;
}

.rolleListe{
	list-style: none;
}

.rolleListe li{
	vertical-align: middle;
}

.rolleListe img{
	width: 24px;
	height: 24px;
}
.rolleListe span img{
	width: 20px;
	height: 20px;
	vertical-align: -18%;
}

.roleRow span{
	display: block;
}

#rsvp-preview td{
	padding: 1px;
}

#rsvp-preview *{
	transition: all 300ms;
	transform-origin: 50% 0%;
}

.rsvpNoteInput{
	font-size: 0.8em;
	width: 100% !important;
	margin-top: 4px;
}

.rsvpNote{
	font-size: 0.8em;
	padding: 4px;
	border: 1px solid #aaa;
	border-radius: 4px;
	background-color: #ffff9f;
	color: #000;
}

.shownRole{
	overflow: visible !important;
	transform: scale(1,1);
	max-height: 600px;
	opacity: 1;
}

.hiddenRole{
	max-height: 0 !important;
	overflow: hidden;
	transform: scale(1,0);
	opacity: 0;
}


.alleredeMeldtPaa{
	background-color: #44f;
	border-radius: 4px;
	color: #fff;
	padding: 2px;
}

.status{
	position: fixed;
	bottom: 0px;
	left: 10%;
	right: 10%;
	display: block;
	padding: 16px;
	margin: 0;
	background: #a3ff91;
	text-align: center;
	box-shadow: 0 0 32px #000;
	z-index: 99999999;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}

.errorline{
	margin: 0;
	width: 100%;
	-moz-box-shadow:inset 0px 1px 0px 0px #fabebe;
	-webkit-box-shadow:inset 0px 1px 0px 0px #fabebe;
	box-shadow:inset 0px 1px 0px 0px #fabebe;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e35656), color-stop(1, #cc5454));
	background:-moz-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-webkit-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-o-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:-ms-linear-gradient(top, #e35656 5%, #cc5454 100%);
	background:linear-gradient(to bottom, #e35656 5%, #cc5454 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e35656', endColorstr='#cc5454',GradientType=0);
	background-color:#e35656;
	border:1px solid #c21b1b;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;
}

.eventMonthHeaderRow{
	background: transparent !important;
}
.eventMonthHeaderRow td{
	padding: 0 0 5px 0;
}

.eventMonthHeader h2{
	padding-top: 4px;
	padding-bottom: 4px;
	margin: 0;
	color: #fff;
	text-transform: uppercase;
	background: #000;
	text-align: center;
	border-radius: 6px;
}
#kalenderTable tr:nth-of-type(2) .eventMonthHeader h2{
	margin-top: 0;
}

@media print{
	.eventMonthHeader h2{
		margin-top: 10px;
		margin-bottom: 0px;
		color: #aaa;
		font-size: 1.2em;
	}
	#kalenderTable td{
		padding: 2px;
	}
	.noprint{
		display: none;
		visibility: hidden;
	}
	.editbutton{
		display: none;
		visibility: hidden;
	}
}

.existingWarning{
	color: #ff4444;
	font-weight: bold;
}

#eventRettigheder{
  width: 100%;
}

.taggle_list {
  padding: 0;
  margin: 4px 0 4px 0;
  width: 100%;
}

.taggle_input {
  outline: none;
  font-size: 16px;
  font-weight: 300;
  border: 0;
}
.taggle_input:focus{
	background-color: #efe;
}

.taggle_list li {
  float: left;
  display: block;
  white-space: nowrap;
  font-weight: 500;
  margin-bottom: 5px;
}

.taggle_list .taggle {
  margin-right: 8px;
  background: #E2E1DF;
  padding: 5px 20px 5px 20px;
  border-radius: 3px;
  border: 1px solid #777;
  position: relative;
  cursor: pointer;
  transition: all .3s;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.taggle_list .taggle_hot {
  background: #cac8c4;
}

.taggle_list .taggle .close {
  font-size: 1.1rem;
  position: absolute;
  top: 10px;
  right: 3px;
  text-decoration: none;
  padding: 0;
  line-height: 0.5;
  color: #ccc;
  color: rgba(0, 0, 0, 0.8);
  padding-bottom: 4px;
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.tag_small{
  background: #E2E1DF;
  padding: 2px;
  border-radius: 3px;
  border: 1px solid #777;
  font-size: 0.8em;
}

.taggle_list .taggle:hover {
  padding: 5px 25px 5px 15px;
  background: #ccc;
  transition: all .3s;
}

.taggle_list .taggle:hover > .close {
  display: block;
}

.taggle_list .taggle .close:hover {
  color: #990033;
}

.taggle_placeholder {
  position: absolute;
  color: #CCC;
  top: 12px;
  left: 8px;
  transition: opacity, .25s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.taggle_input {
  padding: 8px;
  padding-left: 0;
  float: left;
  margin-top: -5px;
  background: none;
  width: 100%;
  max-width: 100%;
}

.taggle_sizer {
  padding: 0;
  margin: 0;
  position: absolute;
  top: -500px;
  z-index: -1;
  visibility: hidden;
}

.guideImg{
	display: block;
	width: 95%;
	max-width: 500px;
	margin: 10px auto 10px auto;
	border: 1px solid black;
	box-shadow: 0px 0px 16px black;
}

#rsvp-preview{
	font-size: 0.5em;
}
#rsvp-preview h1{
	margin-top: 10px;
	margin-bottom: 3px;
}

.rsvp{
	border-radius: 8px;
	border: 1px solid #aaa;
	min-height: 32px;
	white-space: nowrap;
}
.rsvp a img{
	height: 16px;
	transition: transform 0.5s ease;
}
.rsvp a{
	display: inline-block;
	text-align: center;
	width: 33.33%;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #fff;
	transition: all 0.3s ease;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.2) 100%);
}
.rsvp a:first-of-type{
	border-top-left-radius: 7px;
	border-bottom-left-radius: 7px;
}
.rsvp a:last-of-type{
	border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
}

.rsvpKanGodt:hover, .rsvpVedIkke:hover, .rsvpKanIkke:hover, .rsvpnotSelected:hover{
	color: #fff;
}

.rsvpKanGodt{
	background-color: #d4fb7f;
}

.rsvpVedIkke{
	background-color: #fffc2f;
}

.rsvpKanIkke{
	background-color: #faa;
}

.rsvpNotSelected{
	background-color: #dadada;
	filter: contrast(50%) brightness(150%) grayscale(100%);
	
}
.rsvpNotSelected:hover{
	filter: contrast(100%) brightness(100%) grayscale(0%);
}



.forum{
	margin-top: 8px;
	margin-bottom: 32px;
	background-color: #fff;
	border-radius: 4px;
	border-spacing: 0;
}

.forum th, .postTableHeaderLookalike{
	text-align: center;
	font-size: 1.3em;
	text-decoration: none;
	padding-top: 8px;
	padding-bottom: 8px;
	background-color: #000;
	color: #fff;
	padding: 5px;
	font-weight: bold;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	position: relative;
}
.postTableHeaderLookalike{
	margin-top: 16px;
}
.forumThreadMark{
	color: #f55;
}
.forum th input, .postTableHeaderLookalike input{
	color: #000;
}
.threadLockedIcon{
	width: 32px;
	position: absolute;
	left: 0;
	top: 3px;
}


.forum col:nth-child(2){
	width: 20%;
}

.categoryName, .threadName{
	padding: 12px;
}

.categoryName a, .threadName a{
	font-size: 1.2em;
}

.categoryName img, .threadName img{
	height: 32px;
	margin-right: 8px;
}

.hasUnread{
	color: #f00;
	font-weight: bold;
}

.postContainer{
	perspective: 1000px;
	transition: 	width 0.2s ease,
					height 0.2s ease,
					margin 0.2s ease,
					transform 0.2s ease,
					padding 0.2s ease,
					height 0.2s ease,
					max-height 0.2s ease,
					background-color 0.2s ease;
	height: auto;
	margin-bottom: 4px;
}

.postContainer *{
	transition: 	width 0.2s ease,
					height 0.2s ease,
					margin 0.2s ease,
					transform 0.2s ease,
					padding 0.2s ease,
					height 0.2s ease,
					max-height 0.2s ease,
					left 0.2s ease,
					right 0.2s ease,
					background-color 0.2s ease;
	position: relative;
}

.postHeader{
	padding-bottom: 2px;
    border-bottom: 1px solid #ddd;
}

.post{
	border: 1px solid #aaa;
	padding: 8px 8px;
	transform: rotateX(0deg);
	transform-origin: 50% 28px;
	height: auto;
	background: #fff;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.postContainer .billedeBrugernavn{
	display: inline-block;
	width: 100px;
}

.rightPart{
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px 0 0 0;
	font-size: 0.8em;
}

.postTime{
	display: inline-block;
}

.postOptions{
	width: 18px;
	height: 18px;
	text-align: right;
	padding: 0px 4px 2px 16px;
	display: inline-block;
	margin-right: 4px;
	cursor: pointer;
	overflow: hidden;
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: 3px 50%;
	background-image: url('img/edit.png');
	vertical-align: top;
	text-decoration: none;
}
.postOptions:hover{
	width: 70px;
	background-color: #efe;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.postOptions:hover:after{
	content: "Rediger";
	white-space: nowrap;
	color: #000;
}

.editThreadContainer{
	position: absolute;
	right: 0px;
	top: 3px;
	margin-right: 8px;
}
.editThreadContainer *{
	transition: 1s ease;
}
.threadOptions ul{
	transition: 1s ease;
}

.editThreadContainer .threadOptions{
	position: absolute;
	display: none;
	visibility: hidden;
	top: 0px;
	right: 0px;
	z-index: 99;
	width: 250px;
}
.editThreadContainer:active .threadOptions, .editThreadContainer .threadOptions:hover{
	visibility: visible;
	display: block;
}
.editThreadContainer .threadOptions > ul{
	opacity: 0;
}
.editThreadContainer:active .threadOptions > ul, .editThreadContainer .threadOptions:hover > ul{
	opacity: 1;
}


.editingTitle input{
	width: 100%;
	text-align: center;
}
.editingTitle .editThreadContainer, .editingTitle .forumThreadMark, .editingTitle .threadLockedIcon{
	display: none !important;
	visibility: hidden !important;
}

.editThreadContainer .threadOptions > ul{
	width: 250px;
	margin-top: 32px;
	background-color: #fff;
	border: 1px solid #888;
	box-shadow: 0 1px 16px rgba(0,0,0,0.2);
	color: #000;
	font-size: 0.7em;
	text-align: left;
	list-style: none;
	padding: 5px;
}

.emailNotifyCheckbox{
	float: right;
	transform: scale(1.2) !important;
	margin-top: 2px !important;
	margin-right: 2px !important;
}

.threadOptions > ul a{
	cursor: pointer;
}

.fileDrop{
	border: 3px dashed #bbb;
	width: 100%;
	text-align: center;
}


.uploadManagerContainer{
	position: relative;
	min-height: 32px
}

.uploadManagerContainer input[type="file"]{
	display: none;
	visibility: hidden;
}
.uploadManagerContainer input[type="checkbox"]{
	margin-bottom: 4px;
}

.uploadManagerList{
	list-style: none;
	margin: 0px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-right: 40px;
	padding: 0;
}
.uploadManagerList li{
	flex: 0 1 64px;
	margin-right: 8px;
	margin-bottom: 8px;
	border: 1px solid #ccc;
	box-shadow: 0 1px 4px #aaa;
}
.uploadManagerList li img{
	object-fit: cover;
	width: 100%;
	max-height: 100px;
}
.uploadManagerList li span{
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: 100%;
	display: block;
	padding: 4px;
}

.note-group-select-from-files {
  display: none;
}

.uploadAddFile{
	box-shadow:inset 0px 1px 0px 0px #d9fbbe;
	background:linear-gradient(to bottom, #b8e356 5%, #a5cc52 100%);
	background-color:#b8e356;
	border:1px solid #83c41a;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 6px;
	text-decoration:none;
	text-shadow:0px 1px 4px #000000;

	background-image: url('img/paperclip.svg');
	background-position: 50% 50%;
	background-size: 24px 24px;
	background-repeat: no-repeat;
	height: 32px;
	width: 32px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
}


.lukket .postOptions {
	display: none;
}

.lukket .post{
	transform: rotateX(-20deg);
	height: 28px;

	border-bottom: 0px;
	cursor: pointer;

	overflow: hidden;
	margin-left: 4px;
	margin-right: 4px;
	margin-bottom: -8px;

	padding: 0px;
	padding-right: 4px;

	background-color: #fff;
	background: linear-gradient(to bottom, #fff 0%,#ccc 100%); /* W3C */
}

.lukket .postContent{
	color: #888;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 0.8em;
	white-space: nowrap;
	position: absolute;
	top: 0px;
	max-height: 20px;
	left: 125px;
	right: 200px;
	padding: 5px 0 0 0;
}
.lukket .postContent img{
	display: none;
	visibility: hidden;
}

.attachmentIndicator{
	display: none;
	visibility: hidden;
}
.lukket .attachmentIndicator{
	height: 16px;
	margin-right: 8px;
	display: inline-block;
	visibility: visible;
}

.lukket .postAttachments{
	display: none;
	visibility: hidden;
}

.postAttachments{
	text-align: left;
}
.postAttachments a{
	display: inline-block;
	margin-right: 8px;
	margin-bottom: 8px;

}
.attachmentImage{
	border: 1px solid #ccc;
	box-shadow: 0 1px 4px #aaa;
	vertical-align: top;
}

.attachmentFile{
	border: 1px solid #ccc;
	box-shadow: 0 1px 4px #aaa;
	vertical-align: top;
	padding-right: 8px;
}

.lukket br{
	display: none;
}
.lukket p{
	margin: 0;
	padding: 0;
}

.placeholderContainer
{
	height: 26px;
	transition: height 0.2s ease, margin 0.2s ease;
}

.closed{
	overflow: hidden;
	height: 7px;
	background-color: #ddd;
	border: 1px solid #aaa;
	border-bottom: 0;
	margin-bottom: 0;
	margin-left: 3%;
	margin-right: 3%;
	cursor: pointer;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	margin-bottom: -3px;
}

.timeline{
	position: relative;
	z-index: 2;
	margin-bottom: 12px;
	height: 64px;
	border-radius: 10px;
	box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
}
.timeline canvas{
	border-radius: 10px;
	border: 1px solid #777;
	height: 64px;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.timelineDateFieldContainer{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 8px;
}

.timelineCurrentDate{
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0px;
	width: 2px;
	background: #0f0;
}

.timelineIntervalWindow{
	position: absolute;
	top: -5px;
	bottom: -5px;
	border-radius: 6px;
	border-top: 5px solid #000;
	border-bottom: 5px solid #000;
}

.timelineLeftHandle, .timelineRightHandle{
	position: absolute;
	top: 0;
	bottom: 0;
	width: 20px;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: ew-resize;
}

.timelineLeftHandle{
	left: -20px;
	background-image: url('img/timelineLeft.png');
}

.timelineRightHandle{
	right: -20px;
	background-image: url('img/timelineRight.png');
}

#gridEditorLayout{
	display: grid;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	grid-template-columns: auto;
	grid-template-rows: auto auto 1fr;
}

#gridEditorLayout > table{
	grid-area: 1 / 1 / span 1 / span 1;
}
#pageLinkContainer{
	grid-area: 2 / 1 / span 1 / span 1;
}

#gridEditor{
	grid-area: 3 / 1 / span 1 / span 1;
	display: grid;
	grid-template-columns: 200px auto 200px;
	grid-template-rows: 100px 1fr 1fr; 
}

#gridPreview{
	border: 1px dashed #555;
	padding: 8px;
	min-height: 32px;
	max-height: 100%;
}

#gridPreview *{
	min-width: 32px;
	min-height: 32px;
	border: 1px dashed #555;
}

#gridTree{
	grid-area: 1 / 1 / span 3 / span 1;
}

#gridConfigurations{
	grid-area: 1 / 2 / span 1 / span 1;
	background-color: red;
}

#gridOptions{
	grid-area: 1 / 3 / span 2 / span 1;
	background-color: purple;
}

#gridPreview{
	grid-area: 2 / 2 / span 2 / span 1;
	overflow-y: scroll;
}

#gridLibrary{
	grid-area: 3 / 3 / span 1 / span 1;
	background-color: yellow;
}

#gridTree ul{
	min-height: 16px;
	border: 1px dashed #aaa;
}

#gridTree details summary{
	margin-left: -8px;
}

#gridTree details{
	padding-left: 8px;
}

.templateCell{
	background-color: rgba(100,100,255,0.5);
}


.pageCover{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.6);
	z-index: 999999;
	backdrop-filter: blur(10px);
}

.dialog iframe{
	border: 0px;
	border-radius: 10px;
	width: 100%;
	height: 100%;
}

.dialog{
	padding: 0;
	margin: 0;
	background-color: #fff;
    box-shadow: 0px 3px 12px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 12px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 3px 12px 4px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
	position: fixed;
	top: 164px;
	bottom: 64px;
	right: 15%;
	left: 15%;
	line-height: 0;
	font-size: 0;
	-webkit-overflow-scrolling: touch;
	overflow: scroll;
}

.websiteGrid .mce-tinymce{
	height: calc(100% - 40px) !important;
	min-height: 500px;
}
.websiteGrid .mce-edit-area{
	position: absolute !important;
	top: 70px;
	left: 0;
	right: 0;
	bottom: 0;
}

#loadMore{
	text-align: center;
	background-color: #aaf;
	padding: 4px;
	cursor: pointer;
}

@supports not (-webkit-overflow-scrolling: touch){
	.dialog{
		overflow: auto;
	}
}
@supports (-webkit-overflow-scrolling: touch){
	.dialog{
		bottom: 0;
	}
	.dialog iframe{
		height: calc(100% + 1px);	/* Fixer mærkelig iOS bug med webkit-overflow-scrolling */
	}
}

@media only screen and (min-width:500px) and (max-width:1000px){
	.dialog{
		right: calc(30% - 150px);
		left: calc(30% - 150px);
	}
}
@media only screen and (max-width:500px){
	.dialog{
		right: 0;
		left: 0;
	}
}


.progressBar{
	position: relative;
}
.progressBar .progress{
	height: 25px;
	border: 1px solid #333;
	margin-bottom: 0;
	border-radius: 3px;
}
.progressBar .bar{
	background: linear-gradient(to bottom, #9dd53a 0%,#a1d54f 50%, #80c217 51%, #7cbc0a 100%);
	border-radius: 3px;
	height: 25px;
}
.progressBar span{
	position: absolute;
	display: inline-block;
	top: 3px;
	bottom: 3px;
	left: 0;
	right: 0;
	text-align: center;
}


#webcamOuterWrapper{
	position: fixed;
	top: 8%;
	bottom: 8%;
	left: 8%;
	right: 8%;
	z-index: 1000;
	text-align: center;
	background: #555;
	box-shadow: 0 0 128px #000;
	border-radius: 5px;
}

#webcamWrapper{
	width: 100%;
	height: calc(100% - 50px);
	position: relative;
	text-align: center;
}

#webcam{
	width: 100%;
	height: 100%;
}

#slideshowEditor{
	display: grid;
	grid-gap: 10px;
	grid-template-columns: 375px auto;
	grid-template-rows: calc(100vmin - 300px) auto;
	width: 100%;
	height: calc(100% - 64px);
}

#eventTags{
	grid-area: 2 / 1 / span 1 / span 2;
	background-color: #fff;
	border-radius: 8px;
	padding: 8px;
}

#slideshowItems{
	grid-area: 1 / 1 / span 1 / span 1;
	background-color: #eee;
	overflow: auto;
	border-radius: 8px;
	position: relative;
	height: 100%;
	max-height: 100%;
}

.slideshowDuration{
	float: right;
	color: #aaa;
}

#slideshowProperties{
	grid-area: 1 / 2 / span 1 / span 1;
	background-color: #fff;
	border-radius: 8px;
	position: relative;
	overflow: auto;
}
.slideshowPropertiesInner{
	padding: 8px;
	text-align: center;
}

#slideshowItemsList{
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	box-shadow: 0 0 8px rgba(0,0,0, 0.3);
}
#slideshowItemsList li{
	background: #fff url('img/reorder.png') no-repeat 8px 50%;
	background-size: 20px 12px; 
	padding: 6px 6px 6px 38px;
	cursor: move;
}

#slideshowItemsList li a{
	margin-right: 8px;
	cursor: pointer;
}

.slideshowToolbar{
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	height: 45px;
	padding: 6px;
	background-color: #888;
	text-align: center;
}
.slideshowDeleteButton{
	float: right;
	border-radius: 4px;
	background-color: #f33;
	color: #fff;
	padding: 5px;
}

.slideshowToolbar a{
	cursor: pointer;
	margin-left: 10px;
	margin-right: 10px;
	border-radius: 8px;
	background-color: #ddd;
	padding: 4px;
	user-select: none;
	display: inline-block;
}

.slideshowCurrent{
	background-color: #ddf !important;
}
.slideshowTextContainer{
	width: 100%;
	padding: 4% 4%;
	text-shadow: 1px 1px 3px #000;
}
.slideshowTextContainer h1{
	margin-top: 0;
}

.slideshowEventOversigt{
	text-align: left;
	table-layout: auto;
	width: min-content;
	white-space: nowrap;
	display: inline-block;
}
.slideshowEventOversigt td{
	padding: 1%;
}
.slideshowEventOversigt img{
	height: 1em;
	margin-right: 0.4em;
}


.imageUploaderContainer{
	max-width: 600px;
	text-align: center;
	margin: auto;
}
.imageUploaderDrop{
	border: 2px dashed #ccc;
	text-align: left;
	color: #ccc;
	cursor: pointer;
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-color: #000;
	width: 100%;
	height: 0;
	padding-bottom: 56%;	/* 16:9 aspect ratio */
}
.slideshowPropertiesInner textarea{
	font-size: 0.8em;
}

.slideshowTextSetupContainer{
	position: relative;
}
.slideshowTextboxContainer{
	position: absolute;
	left: 0;
	right: 40%;
}
.slideshowTextPropertiesContainer{
	position: absolute;
	right: 0;
	left: 60%;
}

.slideshowTextboxContainer textarea{
	height: 100%;
	min-height: 200px;
}




.segmentedControl{
	border: 1px solid #aaa;
	background-color: #ddd;
	border-radius: 8px;
	margin-top: 8px;
	margin-bottom: 8px;
	display: inline-block;
	overflow: hidden;
}

.segmentedControlSegment{
	display: inline-block;
	border-right: 1px solid #aaa;
}
.segmentedControlSegment:last-of-type{
	border-right: none;
}

.segmentedControl input{
	display: none;
	visibility: hidden;
}

.segmentedControl label{
	display: block;
	padding: 4px;
	width: 100%;
	height: 100%;
	margin: 0;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	background-color:#ededed;
	cursor:pointer;
	color:#3a8a9e;
	font-size:17px;
	text-decoration:none;
	text-shadow:0px 1px 0px #e1e2ed;
}
.segmentedControl input:checked + label{
	background-color:#79bbff;
	cursor:pointer;
	color:#ffffff;
	font-size:17px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px 1px 0px #528ecc;
}
.segmentedControl input:checked + label img{
	filter: invert(100%);
}






.selectoid_container time{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	padding-right: 5px;
	line-height: 24px;
	z-index: 2;
	width: 100px;
	vertical-align: middle;
	text-align: right;
	background-image: url('clock.svg');
	background-repeat: no-repeat;
	background-position: 30px 50%;
	background-size: 16px 16px;
	font-family: monospace;
	font-size: 1.1em;
}
.selectoid_currentItem time, .selectoid_currentItemFLOAT time{
	line-height: 40px;
}
.selectoid_currentItem time{
	right: 30px;
}

.selectoid_item:nth-child(even) time{
	background-image: url('clock.svg');
	background-repeat: no-repeat;
	background-position: 30px 50%;
	background-size: 16px 16px;

	background: url('clock.svg') no-repeat 30px 50% / 16px 16px,  -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,1) 100%);
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px, -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 30%,rgba(255,255,255,1) 100%);
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px, linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 30%,rgba(255,255,255,1) 100%);
}
.selectoid_item:nth-child(odd) time{
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px, -moz-linear-gradient(left, rgba(245,245,245,0) 0%, rgba(245,245,245,1) 30%, rgba(245,245,245,1) 100%);
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px, -webkit-linear-gradient(left, rgba(245,245,245,0) 0%,rgba(245,245,245,1) 30%,rgba(245,245,245,1) 100%);
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px, linear-gradient(to right, rgba(245,245,245,0) 0%,rgba(245,245,245,1) 30%,rgba(245,245,245,1) 100%);

	background: url('clock.svg') no-repeat 30px 50% / 16px 16px,-moz-linear-gradient(left, rgba(238,238,238,0) 0%, rgba(238,238,238,1) 30%, rgba(238,238,238,1) 100%);
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px,-webkit-linear-gradient(left, rgba(238,238,238,0) 0%,rgba(238,238,238,1) 30%,rgba(238,238,238,1) 100%);
	background: url('clock.svg') no-repeat 30px 50% / 16px 16px,linear-gradient(to right, rgba(238,238,238,0) 0%,rgba(238,238,238,1) 30%,rgba(238,238,238,1) 100%);
}

.selectoid_open:focus{outline: initial;}

.selectoid_container{
	position: relative;
	width: 100%;
	min-height: 40px;
	font-size: 14px;
	text-align: left;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
}

.selectoid_floater{
	position: absolute;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 100;
	overflow: hidden;
	box-shadow: 0 0 32px 0px rgba(0,0,0,0.9);
	border: 1px solid #777;
	border-radius: 4px;
	transition: top 0.2s ease, opacity 0.2s ease;
}

.selectoid_currentItem{
	min-height: 40px;
	z-index: 90;
	width: 100%;
	transition: top 0.2s ease;
	border: 1px solid #999;
	border-radius: 4px;
	background-color: rgba(255,255,255, 0.75);
	color: #000;
	padding-right: 26px;
}
.selectoid_openable{
	cursor: pointer;
	background-color: rgba(255,255,255, 1);
}
.selectoid_openable:after{
	content: '▼';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 10px 8px;
	font-size: 16px;
	color: #000;
	text-align: center;
	box-sizing: border-box;
}


.selectoid_currentItemFLOAT{
	position: absolute;
	min-height: 40px;
	width: 100%;
	background-color: #fff;
	z-index: 99;
	color: #000;
	padding-right: 6px;
	box-shadow: 0 0 4px 1px rgba(0,0,0,0.5);
}


.selectoid_items{
	z-index: 98;
	position: absolute;
	left: 0;
	right: 0;
	background-color: #fff;
	color: #000;
	overflow-x: hidden;
	overflow-y: scroll;
	transition: top 0.2s ease;
}

.selectoid_item{
	padding: 5px 0 5px 5px;
	border-left: 0px solid #fff;
	transition: border-left 0.2s ease;
}
.selectoid_item:nth-child(odd){
	background-color: #eee;
}

.selectoid_hovered{
	border-left: 10px solid #aaf;
}

.tippy-box{
	filter: drop-shadow(0px 2px 4px #ffffff);
}

.halfNhalfContainer{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 16px;
}

@media only screen and (max-width:1200px ){
	.halfNhalfContainer{
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		grid-gap: 16px;
	}
}




.DialogContentContainer{
	font-size: 2vmin;
}


.BarListDialog{
	width: 95vw;
	height: 95vh;
	padding: 0;
	border-radius: 8px;
	outline: none;
	user-select: none;
}

.BarListDialog::backdrop{
	background-color: rgba(0,0,0, 0.25);
}

.BarListContainer{
	display: grid;
	height: 100%;
	width: 100%;
	grid-template-columns: 1fr calc( max(30vw,350px));
	grid-template-rows: auto 1fr auto;
	grid-template-areas: "header itemTypes" 
						 "barlist itemTypes"
						 "options close";
}

.BarListHeader{
	grid-area: header;
	background-color: #ffffff;
	padding: 8px;
	display: grid;
	grid-template-columns: auto 1fr auto auto auto;
	grid-template-rows: auto auto;
	grid-template-areas: "image name other wardrobe lockerkey"
						 "image memberNo other wardrobe lockerkey";
	gap: 2px 16px;
	align-items: center;
	> img{
		grid-area: image;
	}
	> h1{
		grid-area: name;
	}
	> h3{
		margin: 0;
		grid-area: memberNo;
	}
	.PopoverOuterContainer{
		grid-row: 1 / 3;
	}
}
.BarListHeader .PopoverButton{

}
.BarListHeader .PopoverContents{
	min-width: 50vw;
}
.BarListHeader h1{
	margin: 0;
} 
.BarListContents{
	grid-area: barlist;
	background-color: #dfdfdf;
	padding: 8px;
	overflow-y: auto;
	font-size: 2vmin;
}
.BarListContents h2{
	margin: 0;
}
.BarListClose{
	grid-area: close;
	padding: 8px;
	background-color: #dbdbdb;
}
.BarListClose button{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 24px;
	font-size: 2em !important;
}

.BarListItemTypes{
	grid-area: itemTypes;
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(8, 1fr);
	grid-auto-flow: column;
	gap: 8px;
	padding: 8px;
	background-color: #dbdbdb;
	overflow-y: auto;
}
.BarListItemTypeButton{
	padding: 2px;
	border-radius: 4px;
	border: 1px solid #aaa;
	font-size: 1.1em;
	box-shadow: 0 5vmin 32px #ffffff47 inset;
	font-size: 1.7vmin;
}
.invertedIcon img{
	filter: invert(100%);
}
.BarListItemTypeButton img{
	height: 4vmin;
	display: block;
	margin: auto;
	margin-bottom: 0.3vmin;
}
.BarListOptions{
	background-color: #dbdbdb;
	padding: 8px;
	display: flex;
	gap: 16px;
}
.BarListPendingItemsTable{
	border-radius: 8px;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid #fff;
	width: 100%;
}
.BarListPendingItemsTable tr{
	position: relative;
	animation: bounceNewItem 200ms ease 0s 1 normal none;
}
.BarListPendingItemsTable td{
	padding: 4px;
}
@keyframes bounceNewItem {
  0% {left: 0px;}
  50% {left: -8px;}
  100% {left: 0px;}
}




.BarListButton{
	background-color: #00283d;
	color: #fff;
	border-radius: 8px;
	padding: 16px;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
	font-size: 1.7vmin;
	border: 0;
}
.BarListButton.yellow{
	background-color: #6f5c00;
}
.BarListButton.red{
	background-color: #6f0000;
}
.BarListButton.checkoutButton{
	background-color: #005ed1;
}
.BarListButton.checkoutButton img{
	filter: invert(100%);
}
.BarListButton img{
	height: 4vmin;
}

.settledRow td{
	background-color: #7bdf7b;
	opacity: 0.4;
}

.GridSelectorTable{
	min-width: 500px;
	margin-top: 8px;
	border-spacing: 8px;
	border-collapse: separate;
}


.GridSelectorTable td{
	width: 32px;
	height: 32px;
	color: #fff;
	font-size: 2em;
	text-align: center;
	margin: 8px;
	border-radius: 8px;
	background-color: #005989;
	cursor: pointer;
	padding: calc(6vmin - 44px) 4px
}
.GridSelectorTable .SelectedCell{
	background-color: #00a6ff;
}

.GridSelectorTable .UsedCell{
	background-color: #969600;
}
.GridSelectorTable .GridSelectorDisabledCell{
	opacity: 0.25;
	cursor: not-allowed;
}

.numberCircle{
	display: inline-block;
	background-color: #fff;
	color: #000;
	border-radius: 100%;
	padding: 4px;
	aspect-ratio: 1 / 1;
	width: 3vmin;
    height: 3vmin;
	vertical-align: middle;
}
.strikeThroughAmount{
	color: #aaa;
	text-decoration: line-through;
	padding: 0px 4px;
}
.currentAmount{
	color: #000000;
	padding: 0px 4px;
}



.PopoverOuterContainer{
	position: relative;
}

.PopoverOuter{
	position: relative;
}

.Popover{
	position: relative;
	opacity: 1;
	scale: 1;
	transition: opacity 200ms ease, scale 200ms ease;
	padding: 8px;
	z-index: 9999;
	color: #fff;
}
.Popover.hidden{
	opacity: 0;
	scale: 0.9;
	pointer-events: none;
	.PopoverInner{
		background-color: #1f2e3d;
	}
}
.PopoverInner{
	padding: 16px;
	padding-bottom: 28px;
    border: 1px solid #4d5865;
    background: #1f2e3d;
    box-shadow: 0px 8px 32px #000, inset 0px 0px 16px #324e6a;
    border-radius: 8px;
	transition: background-color 200ms ease;
	transition-delay: 200ms;
}

.PopoverReferenceElement{
	position: relative;
	cursor: pointer;
}

.PopoverArrow,
.PopoverArrow::after {
	position: absolute;
	width: 10px;
	height: 10px;
}

.PopoverArrow {
	visibility: hidden;
	z-index: 19;
}

.PopoverArrow::after {
	content: '';
	visibility: visible;
	transform: rotate(45deg);
	border-top: 1px solid #4d5865;
	border-right: 1px solid #4d5865;
	background:linear-gradient(45deg, transparent, transparent 45%, #1f2e3d 50%, #3f5e7e);
	z-index: 19;
	scale: 1;
	transition: scale 500ms ease;
}


.Popover[data-placement^='top'] > .PopoverArrow {
	bottom: 3px;
	&::after{
		transform: rotate(135deg);
	}
}

.Popover[data-placement^='bottom'] > .PopoverArrow {
	top: 3px;
	&::after{
		transform: rotate(315deg);
	}
}

.Popover[data-placement^='left'] > .PopoverArrow {
	right: 3px;
	&::after{
		transform: rotate(45deg);
	}
}

.Popover[data-placement^='right'] > .PopoverArrow {
	left: 3px;
	&::after{
		transform: rotate(225deg);
	}
}

.NumberInputControl{
	min-width: 100px;
	color: #000;
	background-color: #fff;
}







input.apple-switch {
	position: relative;
	display: inline-block;
	appearance: none;
	outline: none;
	width: 44px;
	height: 24px;
	background-color: #ffffff;
	border: 1px solid #B4B4B4;
	border-radius: 50px;
	transition-duration: 200ms;
	vertical-align: middle;
	margin: 0;
	transform: scale(1);
}

input.apple-switch:after {
	content: "";
	transition-duration: 200ms;
	position: absolute;
	top: 1px;
	left: 1px;
	width: 21px;
	height: 21px;
	background-color: transparent;
	border-radius: 50%;
	box-shadow: 2px 0px 6px rgb(0 0 0 / .4);
}

input.apple-switch:checked {
	border-color: #4ED164;
	background-color: #4ED164;
}

input.apple-switch:checked:after {
	left: 21px;
	background-color: #FFF;
	box-shadow: -2px 0px 6px rgb(0 0 0 / .4);
}




.swal2-container{
	overflow: visible !important;
}
.swal2-popup.swal2-toast{
	box-shadow: 0 2px 64px #000 !important;
}
body.swal2-toast-shown .swal2-container {
	width: calc(max(350px, 50vw)) !important;
	max-width: 80vw !important;
}

.BarListItemColor{
	width: 4vmin;
	height: 4vmin;
	border-radius: 4px;
	text-align: center;
	padding: 2px;
	border: 1px solid #aaaa;
}
.BarListItemColor img{
	width: 26px;
}

.NumberInputContainer{

	input{
		width: 100%;
		font-size: 3em;
		display: block;
		padding: 2vmin 8px;
		text-align: center;
		margin-bottom: 8px;
	}
	.NumberInputNumberButtons{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr;
		gap: 8px;

		button{
			padding: 2vmin 8px;
			color: #fff;
			border-radius: 8px;
			font-size: 2em;
			background-color: #005989;
		}

		.deleteButton{
			grid-column: 2 / 4;
		}
	}
}


.SegmentedButton{
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px #0004;
	display: inline-block;
	white-space: pre;
	button{
		border: 0px;
		padding: 8px 16px;
		border-right: 1px solid #aaa;
	}
	
	button:first-child{
		border-top-left-radius: 8px;
		border-bottom-left-radius: 8px;
	}
	button:last-child{
		border-top-right-radius: 8px;
		border-bottom-right-radius: 8px;
		border-right: none;
	}
	.selected{
		background-color: #005ed1;
		color: #fff;
	}
}