/*
Theme Name: EMSTheme
Theme URI: https://chrisolesen.net
Author: Chris Lehmann Olesen
Author URI: https://chrisolesen.net
Description: Blank Theme
Tags: 
Version: 2.7.1
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: emstheme

*/

html,
body {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

*,
*:before,
*:after {
	box-sizing: inherit;
	font-family: inherit;
}

p {
	margin: 0;
}

p+p {
	margin-top: 1em;
}

.login-as-user {
	right: 0;
	left: initial !important;
	width: 500px !important;
	box-shadow: -1px 1px 3px 0px rgba(0, 0, 0, 0.5);
}

#header,
main {
	padding: 16px 70px;
}

main {
	padding-top: 84px;
	padding-top: 110px;
}

#header {
	background: white;
	z-index: 2;
	width: 100%;
	position: fixed;
	box-shadow: 0 0 5px 2px rgb(0 0 0 / 33%);
}

#branding {
	float: left;
}

#header a.text-logo {
	color: #7B8B77;
	font-weight: 600;
	font-style: normal;
	font-size: 32px;
	line-height: 52px;
	letter-spacing: 0px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	color: rgb(0, 0, 0);
}

@media all and (min-width:1000px) {

	.pods-field__container {
		display: grid;
		grid-template-columns: 150px auto;
		padding: 0 0 1em;
	}
}

.pods-field__container+.pods-field__container {
	margin-top: 1em;
}

nav#menu {
	float: right;
}

nav#menu li:hover a {
	border: 2px solid #507B44;
	border-radius: 5px;
	color: #507B44;
}

nav#menu li a {
	color: rgb(0, 0, 0);
	border: 2px solid white;
	transition: all .4s;
	font-weight: 600;
	font-size: 14px;
	line-height: 160%;
	float: left;
	text-transform: uppercase;
	text-decoration: none;
	list-style: none;
	padding: 0.3em 1em;
}

nav#menu li {
	transition: all .4s;
	font-weight: 600;
	font-size: 14px;
	line-height: 160%;
	float: left;
	text-transform: uppercase;
	text-decoration: none;
	list-style: none;
}

nav#menu li+li {
	margin-left: 1em;
}

div.dt-buttons {

	float: right;

	margin-top: 30px;

	margin-left: 80px;

}

div.taskstatus {

	float: left;

	margin-left: 50px;

}

.taskwrapper {

	display: none;

}

.pod-page-opgave-w .header-wrapper {

	display: none;

}

.pod-page-opgave-w .navigation-bar {

	display: none;

}

.pod-page-fastopgave-w .header-wrapper {

	display: none;

}

.pod-page-fastopgave-w .navigation-bar {

	display: none;

}

.pod-page-notes-w .header-wrapper {

	display: none;

}

.pod-page-notes-w .navigation-bar {

	display: none;

}

.pod-page-tasks-w .header-wrapper {

	display: none;

}

.pod-page-tasks-w .navigation-bar {

	display: none;

}

.pod-page-kontrakter-w .header-wrapper {

	display: none;

}

.pod-page-timesheets-w .header-wrapper {

	display: none;

}


.dataTables_length {

	width: 80px;

}

#site-title * {
	color: #507B44 !important;
}

.navigation_link {
	color: rgb(0, 0, 0);
	border: 2px solid white;
	transition: all .4s;
	font-weight: 600;
	font-size: 14px;
	line-height: 160%;
	text-transform: uppercase;
	text-decoration: none;
	list-style: none;
	padding: 0.3em 1em;
}

.navigation_link:hover {
	border: 2px solid #507B44;
	border-radius: 5px;
	color: #507B44;
}

.ems-task-label {

	text-align: left;

	vertical-align: top;

	width: 1%;

	white-space: nowrap;

	font-weight: bold;

	min-width: 150px;
}

.ems-task-section {

	background-color: #ffffff;

	padding: 10px;

	margin: 0;

	border-radius: 8px;

}

.ems-task-section td {
	border-bottom: 1px dashed black;
}

.ems-task-section+.ems-task-section {
	margin-top: 20px;
}

.ems-task-section table {

	margin: 0;

}

.gallery {

	margin: 0
}

.taskname {

	font-size: 2em;

	font-weight: 500;

}

.approvedtasks th {

	background-color: red;

}

.approvedtasks tfoot {

	background-color: red;

}

.nottaken th {

	background-color: red;

}

.nottaken tfoot {

	background-color: red;

}

.activetasks th {

	background-color: orange;

}

.activetasks tfoot {

	background-color: orange;

}

.fixedactivetasks th {

	background-color: orange;

}

.notfinished th {

	background-color: orange;

}

.notfinished tfoot {

	background-color: orange;

}

.donetasks th {

	background-color: green;

}

.donetasks tfoot {

	background-color: green;

}

#asso-radio {

	font-size: 1.2em;

}

#asso-radio input,
#asso-radio label {

	display: inline;

	font-size: 0.8em;

}

.caretakerwrapper {

	display: none;

}

.ems-form-wrapper {

	margin-right: 20px;

}

.pods-validate-error {

	border: 1px solid red;

}

.pods-submit-button {

	background-color: #507B44;

}

table.dataTable tbody td {

	vertical-align: top;

}

.boardlinks {

	float: right;

}

body {
	/*
	background:#507B44;
	color:white;
	*/
}

input,
select,
textarea {
	padding: 0.5em 1em;
}


.ems_subheader {
	padding: 1em;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5);
	margin-top: -26px;
}

.clear_fix {
	clear: both;
}

td i[title="Anmod om frigivelse"],
td i[title="Afslut opgave"],
td i[title="Tag opgave"],
td i[title="Se opgave"],
td i[title="Tilføj"] {
	cursor: pointer;
	transition: all 0.2s linear;
	margin-right: 0.2em;
}

td i[title="Anmod om frigivelse"]:hover,
td i[title="Afslut opgave"]:hover,
td i[title="Tag opgave"]:hover,
td i[title="Se opgave"]:hover,
td i[title="Tilføj"]:hover {
	cursor: pointer;
	color: #507B44 !important;
}

.force_display_cell {
	display: table-cell !important;
	font-weight: bold;
}

.desp_field p {
	font-size: 0.8em;
}

.desp_field p+p {
	display: none;
}



/*
NYOPGAVE 

background: #A0CB94 !important;
    color: white;

	.pods-field-option label 
	FONT BOLD



	pods-submit-button {
    background-color: #507B44;
    color: white;

	*/

@media all and (min-width:1050px) and (max-width:1510px) {
	main {
		padding-top: 160px;
	}
}

@media all and (min-width:700px) and (max-width:1049px) {
	main {
		padding-top: 190px;
	}
}

@media all and (max-width:699px) {
	main {
		padding-left: 16px;
		padding-right: 16px;
		padding-top: 150px;
	}

	main>h1,
	.task_filter_segment h2 {
		margin: 0.5em 0 0;
	}

	.task_filter_segment input,
	.task_filter_segment select {
		float: left;
		width: 48%;
		margin: 1.5em 1% 1px;
		margin-top: 1.5em;
	}

	#asso-radio {
		display: none;
	}

	#branding,
	#menu {
		display: block;
		width: 100%;
	}

	#header {
		padding: 0.5em 1em;
	}

	#header a.text-logo {
		font-size: 16px;
	}

	#menu-roleactions {
		list-style: none;
		padding-left: 0;
		margin: 0;
	}

	body #menu-roleactions li a {
		font-size: 16px;
		margin-left: 0;
		padding-left: 0;
		padding-right: 0.5em;
	}

	.task_filter_segment:after,
	#menu-roleactions:after {
		content: "";
		display: block;
		clear: both;
	}

	#menu-roleactions .menu-item:nth-child(3) {
		margin: 0;
		clear: both;

	}
}

/* POPUP */
@media all and (max-width:699px) {

	.popup .ems-task-section td {
		display: block;
		border: 0;
		border-left: 2px solid #507B44;
		padding-left: 1em;
	}

	.popup .ems-task-section td.ems-task-label {
		width: 100%;
		margin-top: 2em;
	}
}

.notification_count {
	background: transparent;
	content: "";
	display: block;
	width: 27px;
    height: 27px;
	position: absolute;
	color: white;
	text-align: center;
	line-height: 27px;
	border-radius: 50%;
	left: -10px;
    top: -10px;
}

.view_line_table {
	border-spacing: 0;
	
}
.view_line_table a {
	color:#006D4E;
	text-decoration: none;
}

.view_line_table td,
.view_line_table th {
	padding:1em 2em;
}

.view_line_table thead tr{
background: #507B44 ;
color:white
}
.view_line_table tbody tr:nth-child(2n + 0){
	background: #bbb ;
}
.view_line_table tbody tr:nth-child(2n + 1){
	background: #ddd;
}