/* here you can put your own css to customize and override the theme */
.page-sidebar .page-sidebar-menu .sub-menu li > a, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu .sub-menu li > a {
    padding: 6px 15px 6px 25px;
    font-size: 13px;
    font-weight: 300;
}





/**************

Fake input for video upload

***************/
#jsHiddenFileInput {
	display: none;
}
.fake-input {
	border: 1px #e5e5e5 solid;
	height: 34px;
	padding: 0 8px;
	cursor: default;
	position: relative;
	user-select: none;
}
.fake-input p { 
	user-select: none;
	line-height: 32px;
}
.fake-input .progress-bar {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 0%;
	height: 3px;
	background-color: #333;
}







/*
	PORTLET COMPONENT WITH TABS
	Add tabs to the portlet component
*/
.portlet-tabs-text-cells {
    font-size: 14px;
    background-color: #d8d8d8;
    font-weight: bold;
}


.portlet-tabs .tab-container {
	padding: 0 10px;
	margin-bottom: 14px;
}
.portlet-tabs .tab-content {
	display: none;	
}
.portlet-tabs .tab-content.active {
	display: block;
}
.portlet-tabs .tab {
	color: #ffffff;
	padding: 10px 16px;
	opacity: .7;
}
.portlet-tabs .tab:hover {
	text-decoration: none;
	border-bottom: 4px #bbb solid;
}
.portlet-tabs .tab.active {
	/* font-weight: 700; */
	border-bottom: 4px #fff solid;
	opacity: 1;
}
.portlet-tabs .tab span.bold {
	display: inline-block;
	margin-right: 4px;
}
.portlet-tabs .table-scrollable.tab-content.active {
	border-width: 0px;
	margin: 0 !important;
}
/* Fixes very wide profilepictures */
.portlet-tabs table tr td:first-child {
	width: 50px;
}

/*
    INLINE DATEPICKES
*/


/** 
	SIDEMENU
	This adds styles for the settings cog in the sidemenu
**/
.page-sidebar-menu a.has-settings i.settings-icon {
	float: right;
	margin-top: 3px;
}

.inline-datepicker>div {
   float: right;
}

/* Adds support for very long name */
div.page-sidebar>ul.page-sidebar-menu>li>a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
div.page-sidebar>ul.page-sidebar-menu>li>a>span.title { 
	flex-grow: 1;
	padding: 0 4px;
}
.page-sidebar-menu a.has-settings span.arrow {
	min-width: 38px;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}
.page-sidebar .page-sidebar-menu > li.active > a > .selected {
	top: 50%;
	transform: translateY(-50%);
}





/*
	DROPDOWN
	Fixes weird spacing and background-colors on the dropdown
	Tested on the dropdown found in Admin_News.asp
*/
/* Fixes alignment issues and background-color*/
.dropdown-menu li a.btn.default {
    text-align: left;
    background-color: rgba(0,0,0,0);
}
/* Fixes spacing problems with last element in the dropdown. Somehow they had a 
   specified height but i couldn't find any declaration for it. Not even 
   nth-child and by magic this fixes it*/
.dropdown-menu li {
	line-height: 0;
}
/* Aligns the icon a little better with the text */
.dropdown-menu li a i {
	vertical-align: text-top;
	font-size: 16px;    
	margin: 0 2px 0 -2px;
}
/* Adds hover-effect*/
.dropdown-menu li:hover {
	background-color: rgba(0,0,0,0.08);
}
/* Fixes problem with spacing above and below divider. It had way too much margin*/
.dropdown-menu .divider {
	margin: 6px 0;
}
.dropdown-toggle {
	padding: 10px 16px;
	color: #333;
}
.btn-group.open .dropdown-toggle {
	box-shadow: 0 0 0;
}



/* 
	GENERAL TABLES
*/

/* Fixes height of buttons in action-drawer in the table-view */
.tools a.btn {
	height: auto !important; 
}
/* Removes vertical border between cells */
.table tbody tr td,
.table thead tr th {
	border-width: 1px 0 0 0;
	min-width: 35px;
}
/* Removes sorting arrows inserted as background images.
   They are instead inserted as :after-pseudo-elements
*/
.table thead tr th {
	background-image: none !important; 
}
.table thead tr th.no-width {
	width: 1px !important;
	padding: 0px;
	margin: 0 0 0 -16px; 
}
/* Makes spacing for first elements to the left in the table.
   For good looks only */
.table thead tr th:first-child,
.table tbody tr td:first-child {
	padding-left: 15px;
}

/* Rips out filters and places them in the top-bar */
.dataTables_wrapper .row:nth-child(1) {
	float: right;
    margin: -36px -12px 0px 0;
    color: #fff;
    min-width: 460px;
}
.portlet.box.jobportal .dataTables_wrapper .row:nth-child(1) {
	float: right;
    margin: 10px 0px;
    color: #333;
    min-width: 460px;
} 
/* If there is both settings and the filters on the same page, push the filters aside */
.show-datatables-and-filters .dataTables_wrapper .row:nth-child(1) {
    margin: -36px 100px 0px 0;
}
/* Styles height of inputs and labels to make them look somewhat similar */
.dataTables_wrapper .row:nth-child(1) label input {
    height: 26px;
    margin: 0 0 0 6px;
}
.dataTables_wrapper .row:nth-child(1) label {
	height: 30px;
	line-height: 30px;
	float: right;
	position: relative;
}
/* Adds search icon to the search-input*/
.dataTables_wrapper .row:nth-child(1) div:nth-child(2)  label:after { 
	width: 18px;
	height: 30px;
	display: block;
	right: 0;
	top: 0;
	color: #333;
	content: '\f002';
	font-family: FontAwesome;
	position: absolute;
}
/* action-drawer layout (Add this class to the action-drawer) */
.action-drawer {
	background-color: #f5f5f5 !important;
	border-color: #d6dadb;
	border-width: 1px 0 0 0;
	border-style: solid;
    padding-bottom: 3px !important;
}
/* Inserts the sorting arrows as :after-pseudo-elements after the text*/
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after { 
   	font-family: FontAwesome;
	width: 20px;
	height: 20px;
	vertical-align: bottom;
	display: inline-block;
	text-align: center;
}
table.dataTable thead .sorting:after {
	content: '\f0dc';
	opacity: 0.2;
}
table.dataTable thead .sorting_asc:after {
	content: '\f0de';
	opacity: 1;
}
table.dataTable thead .sorting_desc:after {
	content: '\f0dd';
	opacity: 1;
}
table.dataTable thead .no-sorting:after {
	content: '';
}

/* Collapses table into the container */
.portlet-body.portlet-expand {
	padding: 0px !important;
	margin-top: -10px;
	margin-bottom: -20px;
}
.portlet-body.portlet-expand .table-bordered{
	border-width: 0 0 1px 0;
}
.portlet-body.portlet-expand  .table-responsive {
	overflow-x: initial;
}
/* Fix options-button to have a decent clickable area */
.portlet-body.portlet-expand .actions [data-toggle="dropdown"] {
	padding: 8px 16px;
	font-weight: 400;
	color: #000;
}
.portlet-body.portlet-expand .actions [data-toggle="dropdown"]:hover {
	opacity: 0.7;
}


/* Adds some spacing to the bottom row (the on with pagination and info about results) */
.dataTables_wrapper .row:last-child {
    margin: 0;
    padding-top: 0px;
    padding-bottom: 24px;
    opacity: .7;
		margin-right: -5px;
		margin-bottom: 20px;
}
.dataTables_wrapper .row:last-child .pagination>li>a {
	padding: 4px 6px;
}
.dataTables_wrapper .row:last-child .pagination>li>a>i {
	margin-top: 0px;
}
.table .btn {
	margin-right: 0px;
}







/*
 *
 *  OPRETTELSES-FLOW 
 *	
 */

/* TargetSearch */
#targetSearch {
	position: relative;
}
.center-seperator {
	position: absolute;
	width: 1px;
	height: 100%;
	background-color: #E5E5E5;
	left: 50%;
}
.targetsearch-global-spinner {
	min-height: 400px;
	padding-top: 150px;
	text-align: center;
}

.targets .col-xs-6 {
	min-height: 400px;
}

/* Searh input*/
.targets .input-container input {
	width: 100%;
    padding: 8px;
}
.targets .input-container {
	position: relative;
}
/* Search-icon*/
.targets .input-container:after {
	position: absolute;
    right: 3px;
    top: 6px;
    font-size: 16px;
    line-height: 20px;
    padding-left: 7px;
    padding-right: 7px;
	content: "\f002";
	font-family: FontAwesome;
	background-color: #fff;
}

.targets .input-container.searching:after {
	content: "\f110" !important;
	animation: rotate 1s steps(8) infinite forwards;
	background-color: rgba(0,0,0,0);
	font-family: FontAwesome;
}
@keyframes rotate {
	0% 	 {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.search-result {
	border: #E5E5E5 1px solid;
	position: relative;
	margin-bottom: -1px;
	display: flex;
	justify-content: space-between;
	padding: 12px 8px;
}
.search-result:hover {
	background-color: #f5f5f5;
	cursor: pointer;
}
.search-result.added:hover {
	background-color: initial;
	cursor: initial;
}
/* for results already added */
.search-result.alreadyAdded {
	/* border: 1px red solid !important; */
	color: #333;
}
.search-result.alreadyAdded .result-action {
	color: #1B7E59;
}
.search-result.alreadyAdded:hover {
	background-color: #fff;
	cursor: default;
}


.search-result .icon-left,
.search-result .icon-right {
	width: 25px;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
}

.search-result .icon-left {
	position: absolute;
	left: 10px;
	animation: notAnAnimation 2s linear forwards; /* Fixes rotating icons on ie11... */
}

@keyframes notAnAnimation {
	0% {
		border: 0px transparent none;
	}
	100% {
		/* Fixes rotating icons on ie11. Has to have color! Transparent in both 0% and 100% doesn't
		work. God knows why... */
		border: 0px blue solid; 
	}
}

.search-result .content {
	margin: 0 35px;
	flex-grow: 1;
}

.search-result .icon-right {
	position: absolute;
	right: 10px;
}
.search-result .icon-left i,
.search-result .icon-right i, 
.search-result .icons-right i { 
	font-size: 16px;
}
span.match {
	font-weight: 700;
}

/* For the added search results  */
.search-result.added  {
	border: 0px #fff solid;
}
.added-search-result-container {
	border: #E5E5E5 1px solid;
	position: relative;
	margin-bottom: -1px;
}

.search-result .icons-right {
	display: flex;
	align-items: center;
}
.search-result .icons-right:hover {
	cursor: pointer;
}
.search-result .vertical-seperator {
    width: 1px;
    height: 18px; /* Fixed for IE11 support */
    background-color: #E5E5E5;
    display: inline-block;
}
.search-result .icons-right i,
.search-result .expand-collapse-chevron {
    padding: 14px 10px;
    margin: -38px 0px;
	opacity: 1;
}
.search-result .icons-right i:hover,
.search-result .expand-collapse-chevron:hover {
	opacity: 0.7;
}
.expand-collapse-chevron:after {
	font-family: FontAwesome;
	width: 10px;
	height: 20px;
	display: block;
	text-align: center;
}
.added-search-result-container.expanded .expand-collapse-chevron:after {
	content: '\f078';
}
.added-search-result-container .expand-collapse-chevron:after {
	content: '\f053';
}

/* TABLES  */
.added-search-result-container {
/* 	transition: margin 120ms ease; */
}
.added-search-result-container.expanded {
/* 	margin: 8px 0;
	transition: margin 120ms ease; */
}
.added-search-result-container.expanded .members {
	display: block;
}
.added-search-result-container .members {
	display: none;
}
.added-search-result-container table {
	width: 100%;
}
.added-search-result-container table td {
	padding: 8px;
}
.added-search-result-container table tbody tr {
	border: #E5E5E5 solid;
	border-width: 1px 0 0 0;
}
.added-search-result-container table thead  {
	font-weight: 700;
	
}
.added-search-result-container table tbody  {
	background-color: #f5f5f5;
	border: #E5E5E5 solid;
	border-width: 1px 0 0 0;
}
/* Sorting */ 
#thead_filter1:hover {
	cursor: pointer;
}
#thead_filter1:after {
	font-family: FontAwesome;
	width: 20px;
	height: 20px;
	vertical-align: baseline;
	display: inline-block;
	text-align: center;
	content: '\f0de';
	opacity: 0;
}
#thead_filter1.ascending:after {
	content: '\f0de';
	opacity: 1;
}
#thead_filter1.descending:after {
	content: '\f0dd';
	opacity: 1;
}
/* Checkboxes */
thead td.checkbox-column {
	width: 20px;
}
.custom-checkbox {
	display: block;
	width: 20px;
	height: 20px;
	border: 1px #bbb solid;
	text-align: center;
	line-height: 15px;
	cursor: pointer;
}
.checkbox-row:hover {
	cursor: pointer;
	background-color: #fafafa;
}
.checkbox-row:hover .custom-checkbox,
.custom-checkbox:hover {
	border: 2px #1b7e5a solid;
	color: #1b7e5a;
}
.checkbox-row:hover .custom-checkbox.checked {
	color: #fff;
}
.custom-checkbox i {
	opacity: 0;
	font-size: 12px;
}
.custom-checkbox.checked i {
	opacity: 1;
}
.custom-checkbox.checked {
	background-color: #1b7e5a;
	color: #fff;
	border: 2px #1B7E59 solid;
}







/*  Phone preview at settings  */
.phone-preview {
	max-width: 375px;
	width: 100%;
	position: relative;
	user-select: none;
	margin-bottom: 40px;
}

.phone-preview img {
	width: 100%;
	user-select: none;
}
.phone-preview iframe {
    border: 0px;
    width: 90%;
    height: 79%;
    left: 5%;
    top: 10.5%;
	position: absolute;
}





/*** Form elements in targetgroup modal-window ***/

.save-targetgroup-form input, label.custom-radio {
	width: 100%;
	padding: 8px;
}

.save-targetgroup-form input.missing {
	border: 1px #d84a38 solid;
	position: relative;
}

.save-targetgroup-form label.custom-radio {
	display: block;
	position: relative;
}
.save-targetgroup-form p.bold {
	font-weight: 700;
}

.save-targetgroup-form label.custom-radio div.radio {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
}

.save-targetgroup-form label.custom-radio p {
	padding-left: 30px;
	display: inline-block;
	width: 90%;
	margin: 0px;
}

/*  CUSTOM STUFF FIXED TO MAKE TEKNSIK FORESPØRGSEL WORK...  */
/* Styles the selected panel in the top-nav */
a.clsStepNavbarSelected {
    font-weight: bold;
    color: blue; /* <-- ??? */
}
/* Makes question's sortings arrows appear vertical aligned with the accordion title */
.accordion-arrows-container {
	border-width: 0 1px 0 0;
	border-style: solid;
	border-color: rgba(0,0,0,0.2);
	height: 25px;
	margin-top: 6px;
    min-width: 71px;
    padding-top: 2px;
    padding-left: 7px;
    padding-right: 5px;
}
.accordion-arrows-container i,
.accordion-arrows-container .fake-arrow {
	padding: 8px;
	margin-top: -12px;
}
.accordion-arrows-container i:hover {
	opacity: 0.5;
}
.accordion-arrows-container .fake-arrow {
	width: 29px;
	display: inline-block;
}
.accordion-with-arrows {
	display: inline-block !important;
}
.custom-accordion {
    display: flex;
}
.custom-accordion a {
	flex-grow: 1;
}
/* Adjust the collapse / expand icon  */
.accordion-toggle-styled.collapsed:after {
	content: "\f053";
}
.accordion-toggle-styled:after {
	content: "\f078";
   	font-family: FontAwesome;
	position: absolute;
	right: 30px;
	width: 10px;
	height: 100%;
}
.accordion-toggle-styled {
	background-image: none !important;
}

/* Profile Picture on User Page */
img.profile-picture {
    border-radius: 50% !important;
    width: 24px;
    height: 24px;
}

img.profile-picture-normal {
    border-radius: 50% !important;
    width: 120px;
    height: 120px;
}












/******************

PORTLETS ON ADMIN_DEFAULT.ASP

*******************/

.portlet.portlet-tabs .font-awesome-icon {
	margin: -6px 0;
}
.portlet.portlet-tabs .name {
	font-weight: 700;
}









/******************

DROPDOWN MENUS: Made for job portal: see examples at Admin_Job_Users.asp

*******************/
.custom-dropdown-menu {
	position: relative;
	display: inline-block;
}
.custom-dropdown-menu p {
	margin: 0 4px;
	padding: 0 16px;
	color: #fff;
	font-size: 15px;
	line-height: 53px;
	margin: -10px 0;
	cursor: pointer;
}
.custom-dropdown-menu p i {
	vertical-align: text-top;
	margin-right: 4px;
}

.custom-dropdown-menu:hover p {
	color: #333;
	background-color: #fff;
}

.custom-dropdown-menu:hover .dropdown-content,
.custom-dropdown-menu .dropdown-content:hover  {
	display: block;
}

.custom-dropdown-menu .dropdown-content {
	display: none;
	position: absolute;
	top: 42px;
	right: 0;
	width: 200px;
	z-index: 1;
	background-color: #fff;
	color: #333;
	border: 1px #ccc solid;
	border-top: 0px transparent none;
	padding: 8px;
}

/* Radio and checkboxes in dropdwon */
.custom-dropdown-menu label {
	display: block;
}
/* Radio label */
.custom-dropdown-menu input[type="radio"] + label,
.custom-dropdown-menu input[type="checkbox"] + label
 {
	position: relative;
	padding-left: 24px;
	cursor: pointer;
}
/* Radio label unchecked */
.custom-dropdown-menu input[type="radio"] + label:before, 
.custom-dropdown-menu input[type="checkbox"] + label:before {
	color: #999;
	font-family: FontAwesome;
	display: block;
	position: absolute;
	left: 0px;
	top: 50%;
	font-size: 16px;
	transform: translateY(-50%);
} 
.custom-dropdown-menu input[type="radio"] + label:before {
	content: "\f10c";

}
.custom-dropdown-menu input[type="checkbox"] + label:before {
	content: "\f096";
}
/* Radio label checked */
.custom-dropdown-menu input[type="radio"]:checked + label:before,
.custom-dropdown-menu input[type="checkbox"]:checked + label:before {
	color: #1b7e5a;
}
.custom-dropdown-menu input[type="checkbox"]:checked + label:before {
	content: "\f14a";
}
.custom-dropdown-menu input[type="radio"]:checked + label:before {
	content: "\f058";
}
.custom-dropdown-menu input[type="radio"]:checked + label,
.custom-dropdown-menu input[type="checkbox"]:checked + label {
	color: #1b7e5a;
	font-weight: 700;
}
/* Radio input */
.custom-dropdown-menu input[type="radio"],
.custom-dropdown-menu input[type="checkbox"] {
	display: none;
}





/*******

GENEREL UTILIIES

********/

/* Light grey border*/
.u_b-light-grey {
	border: 1px #E5E5E5 solid;
}
.u_b-none {
	border-width: 0px;
}
.u_not-visible {
	visibility: hidden;
}
.u_f-l {
	float: left;
}
.u_f-r {
	float: right;
}
.u_clearfix {
	clear: both;
	display: block;
}

.u_rotate {
	animation: rotate 1s steps(8) infinite forwards;
	background-color: rgba(0,0,0,0);
}
@keyframes rotate {
	0% 	 {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* margin and padding */
.u_m-t-xs {margin-top:  8px;}
.u_m-t-sm {margin-top: 16px;}
.u_m-t-md {margin-top: 24px;}
.u_m-t-lg {margin-top: 32px;}
.u_m-t-xl {margin-top: 40px;}
.u_m-b-xs {margin-bottom:  8px;}
.u_m-b-sm {margin-bottom: 16px;}
.u_m-b-md {margin-bottom: 24px;}
.u_m-b-lg {margin-bottom: 32px;}
.u_m-b-xl {margin-bottom: 40px;}
.u_m-l-xs {margin-left:  8px;}
.u_m-l-sm {margin-left: 16px;}
.u_m-l-md {margin-left: 24px;}
.u_m-l-lg {margin-left: 32px;}
.u_m-l-xl {margin-left: 40px;}
.u_m-r-xs {margin-right:  8px;}
.u_m-r-sm {margin-right: 16px;}
.u_m-r-md {margin-right: 24px;}
.u_m-r-lg {margin-right: 32px;}
.u_m-r-xl {margin-right: 40px;}
.u_m-x-xs {margin-left:  8px; margin-right:  8px;}
.u_m-x-sm {margin-left: 16px; margin-right: 16px;}
.u_m-x-md {margin-left: 24px; margin-right: 24px;}
.u_m-x-lg {margin-left: 32px; margin-right: 32px;}
.u_m-x-xl {margin-left: 40px; margin-right: 40px;}
.u_m-y-xs {margin-top:  8px; margin-bottom:  8px;}
.u_m-y-sm {margin-top: 16px; margin-bottom: 16px;}
.u_m-y-md {margin-top: 24px; margin-bottom: 24px;}
.u_m-y-lg {margin-top: 32px; margin-bottom: 32px;}
.u_m-y-xl {margin-top: 40px; margin-bottom: 40px;}
.u_p-t-xs {padding-top:  8px;}
.u_p-t-sm {padding-top: 16px;}
.u_p-t-md {padding-top: 24px;}
.u_p-t-lg {padding-top: 32px;}
.u_p-t-xl {padding-top: 40px;}
.u_p-b-xs {padding-bottom:  8px;}
.u_p-b-sm {padding-bottom: 16px;}
.u_p-b-md {padding-bottom: 24px;}
.u_p-b-lg {padding-bottom: 32px;}
.u_p-b-xl {padding-bottom: 40px;}
.u_p-l-xs {padding-left:  8px;}
.u_p-l-sm {padding-left: 16px;}
.u_p-l-md {padding-left: 24px;}
.u_p-l-lg {padding-left: 32px;}
.u_p-l-xl {padding-left: 40px;}
.u_p-r-xs {padding-right:  8px;}
.u_p-r-sm {padding-right: 16px;}
.u_p-r-md {padding-right: 24px;}
.u_p-r-lg {padding-right: 32px;}
.u_p-r-xl {padding-right: 40px;}
.u_p-x-xs {padding-left:  8px; padding-right:  8px;}
.u_p-x-sm {padding-left: 16px; padding-right: 16px;}
.u_p-x-md {padding-left: 24px; padding-right: 24px;}
.u_p-x-lg {padding-left: 32px; padding-right: 32px;}
.u_p-x-xl {padding-left: 40px; padding-right: 40px;}
.u_p-y-xs {padding-top:  8px; padding-bottom:  8px;}
.u_p-y-sm {padding-top: 16px; padding-bottom: 16px;}
.u_p-y-md {padding-top: 24px; padding-bottom: 24px;}
.u_p-y-lg {padding-top: 32px; padding-bottom: 32px;}
.u_p-y-xl {padding-top: 40px; padding-bottom: 40px;}