body {
	min-height: 100vh;
}

#department {
	opacity: 0.6;
	pointer-events: none;
}

#user-data-fields-intro h3 {
	margin: 0;
}

#user-data-fields-intro p {
	margin: 5px 0 0 0;
}

.alert {
	color: #d63638;
}

#dashboard-wrapper {
	margin-top: 60px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

#dashboard-wrapper > div {
	margin-top: 5px;
}

#master-sync-btn, #sync-projects-btn, #rev-sync-btn, #rev-setup-btn, #master-delete-btn, #toggle-maintenance-btn, #sync-users-btn, #sync-single-user-btn, #check-unsynced-projects, #delete-reminders-btn, #sync-stragglers-btn {
	position: relative;
	color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
    vertical-align: top;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 3px 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    margin-left: 5px;
    transition: 0.2s;
}

#admin-export-options-wrapper {
	margin-top: 50px;
}

#toggle-maintenance-btn {
	width: 168px;
	text-align: center;
}

#toggle-maintenance-btn.btn-on {
	color: #ab080e;
	border-color: #ab080e;
}

#master-sync-btn.loading, #sync-projects-btn.loading, #sync-users-btn.loading, #sync-users-btn.disabled, #rev-sync-btn.loading, #rev-sync-btn.disabled, #rev-setup-btn.loading, #rev-setup-btn.disabled, #master-delete-btn.loading, #sync-single-user-btn.loading, #check-unsynced-projects.loading, #master-delete-btn.disabled {
	pointer-events: none;
	opacity: 0.5;
}

#master-sync-btn #loading-gif, #sync-projects-btn #loading-gif, #rev-sync-btn #loading-gif, #sync-users-btn #loading-gif, #rev-setup-btn #loading-gif, #master-delete-btn #loading-gif, #sync-single-user-btn #loading-gif, #check-unsynced-projects #loading-gif, #toggle-maintenance-btn #loading-gif {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block !important;
}

.loading-gif-sales-status {
	position: fixed;
	left: 145px;
	bottom: 27px;
}

.loading-gif-sales-status.new {
	left: 70px;
}

#list-forms {
	width: 90%;
	max-width: 385px;
}

#master-sync-btn:hover, #sync-projects-btn:hover, #sync-users-btn:hover, #sync-single-user-btn:hover, #check-unsynced-projects:hover, #rev-sync-btn:hover, #rev-setup-btn:hover, #master-delete-btn:hover, #toggle-maintenance-btn:hover, #delete-reminders-btn:hover, #sync-stragglers-btn:hover {
	filter: brightness(90%);
}

.sales-form .ipt_uif_column:not(.ipt_fsqm_container_container) {
	opacity: 0.5;
}

.sales-form .ipt_uif_column:not(.ipt_fsqm_container_container), .sales-form .ipt_uif_column:not(.ipt_fsqm_container_container) * {
	pointer-events: none;
	transition: 0.2s;
}

.sales-form .edit-enabled:not(.reverse), .sales-form .edit-enabled:not(.reverse) * {
	opacity: 1 !important;
	pointer-events: auto !important;
}

.hide-loading {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.ipt-eform-material-button-container:not(.ipt_fsqm_form_button_container) {
	/*display: none;*/
}

@media screen and (max-width: 700px) {
	.ipt_fsqm_form_button_container {
		margin-bottom: 70px !important;
	}
}

.ipt_uif_mother_wrap .ipt_uif_column.ipt_uif_column_full.edit-enabled:first-child {
	/*display: none;*/
}

.show-forms-wrapper, .filter-wrapper {
	width: 100%;
	margin: auto;
}

.show-forms-wrapper {
	overflow-x: auto;
	position: relative;
	transition: 0.2s;
	max-height: 80vh;
}

.show-forms-wrapper.few-results {

}

.filter-wrapper .date-range {
	position: relative;
	transition: 0.2s;
}

.filter-wrapper .date-range:before {
	content: "\f073";
	position: absolute;
	left: 15px;
	top: 20px;
	transform: translate(0, -50%);
	font-family: "Font Awesome 5 Free";
}

.filter-wrapper .date-range input {
	padding-left: 35px;
	font-size: 13px;
	height: 38.5px;
	cursor: pointer;
}

.filter-wrapper .date-range.disabled {
	opacity: 0.6;
}

.daterangepicker td {
	border-radius: 0 !important;
}

.daterangepicker td:hover {
	border-radius: 0 !important;
}

.daterangepicker td.in-range {
	background: #ececec !important;
}

.daterangepicker td.active, .daterangepicker td.start-date, .daterangepicker td.end-date {
	background-color: #fff !important;
	border: solid 2px #5e964e !important;
	border-top: solid 2.5px #5e964e !important;
	border-radius: 0 !important;
	padding: 0;
	color: #000 !important;
}

.daterangepicker .drp-buttons .btn {
	margin: 0 !important;
	background: #e3e3e3 !important;
}

.daterangepicker .drp-buttons .applyBtn {
	background: #5e964e !important;
	margin-left: 5px !important;
	color: #fff !important;
}

.daterangepicker .drp-selected {
	display: none !important;
}

.filter-wrapper.map {
	max-width: none;
    width: 100%;
    position: fixed;
    top: 100px;
    left: 50px;
    z-index: 4;	
}

.filter-wrapper.map .filter {
	width: 100%;
	max-width: 250px;
}

.filter-wrapper.map .filter input {
	font-size: 14px !important;
}

.gm-style-iw.gm-style-iw-c {
	max-width: 200px !important;
}

.gm-style-iw.gm-style-iw-c button {
	top: 0 !important;
	right: 0 !important;
}

.gm-style-iw.gm-style-iw-c .map-status {
	margin-top: 10px;
}

.gm-style-iw.gm-style-iw-c .sale-marker-info > div {
	margin-bottom: 5px;
}

#show-forms {
	border-top: solid 2px #fafafa;
	width: 100%;
}

#show-forms *, #show-forms td {
	font-size: 12px;
}

#show-forms td {
	padding: 5px 10px 5px 0;
	cursor: default;
}

#show-forms .td-status span {
	padding: 5px 12px;
    border-radius: 50px;
    background: #e3e3e3;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    border: solid 1px #c3c3c3;
    font-size: 11px;
}

#show-forms .td-status {
	min-width: 285px;
	max-width: 285px;
}

#show-forms .td-checkbox {
	min-width: 100px;
	max-width: 100px;
}

#show-forms .td-created {
	white-space: nowrap;
}

#show-forms tr {
	padding: 0;
}

#show-forms th {
	font-size: 12px;
	text-transform: initial;
	padding: 10px 15px 10px 0;
}

.filter-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.filter-wrapper .filter {
	flex: 1;
	margin-right: 10px;
}

.filter-wrapper .filter:last-child {
	margin-right: 0;
}

.filter-wrapper select {
	box-shadow: none;
}

@media screen and (max-width: 768px) {
	.filter-wrapper .filter {
		width: 100%;
	}
}

.filter-wrapper label {
	display: none;
}

#show-forms .warning {
	position: relative;
}

#show-forms .warning:hover {
	cursor: default;
}

#show-forms .warning .wrapper {
	display: flex;
}

#show-forms .warning .wrapper .icon {
	padding-left: 10px;
	color: #ab080e;
	margin-left: auto;
	align-self: center;
}

#show-forms .warning .wrapper .icon.yellow {
	color: #e3b03b;
}

#show-forms .delete-submit {
	background: #ab080e;
	padding: 5px 10px 7px 10px;
	font-size: 11px;
	color: #fff;
	cursor: pointer;
	transition: 0.2s;
	white-space: nowrap;
	border-radius: 50px;
}

#show-forms .delete-submit:hover {
	filter: brightness(90%);
}

#show-forms .warning .wrapper .info-box {
	display: none;
	position: absolute;
	right: 14px;
	top: -10px;
	background: #ab080e;
	padding: 5px;
	font-size: 10px;
	color: #fff;
}

#show-forms .warning .wrapper .info-box.yellow {
	background: #e3b03b;
}

#show-forms.invalid td {
	padding: 10px 10px 10px 0;
}

#show-forms.invalid th {
	text-align: left;
}

#show-forms .commission-checkbox {
	text-align: center;
	transition: 0.2s;
	position: relative;
}

#show-forms .commission-checkbox input {
	text-align: center;
	pointer-events: none;
	opacity: 0.5;
}

#invalid-title {
	margin-top: 50px;
}
#show-forms.invalid {
	border-top: none;
}

.ipt_uif_front .file-disable {
	/*opacity: 0.5 !important;*/
}

.ipt_uif_front .file-disable, .ipt_uif_front .file-disable * {
	/*pointer-events: none !important;*/
}

.sticky-commission {
	position: fixed;
    bottom: 0;
    right: 0;
    background: #5e964c;
    z-index: 9999;
    color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    border-radius: 25px 0 0;
    text-transform: uppercase;
    font-size: 13px;
}

.sticky-commission .warning {
	background: #98070d;
	color: #fff;
	padding: 5px 5px;
	font-size: 10px;
	margin-bottom: 10px;
	display: inline-block;
	margin-top: 5px;
	text-transform: initial;
}

.sticky-commission .loading-gif {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

.sticky-commission .select-wrapper div {
	width: 100%;
}

.sticky-commission #project-number {
	width: 100%;
	padding: 15px 8px;
	margin-left: 0 !important;
	cursor: default;
}

.sticky-commission span, .sticky-commission label {
	text-align: left;
	display: block;
	width: 100%;
	color: #fff;
	font-weight: 500;
	font-size: 13px;
}

.sticky-commission .commission-wrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 15px;
}


.sticky-commission input {
	height: 15px;
    width: 15px;
    margin: 0;
    border-radius: 0;
    margin: 0 !important;
    margin-left: 7px !important;
}

.role-administrator .sticky-commission {
	display: flex;
	flex-wrap: wrap;
	max-width: 300px;
}

.role-administrator #show-forms .commission-checkbox input, .role-projektadmin #show-forms .commission-checkbox input {
	pointer-events: all;
	opacity: 1;
}

.role-projektledare:not(.mine) .toggle-sales-status {
	pointer-events: none !important;
	opacity: 0.8 !important;
}

.role-projektledare .mine .toggle-sales-status:not(.disabled) {
	pointer-events: all !important;
	opacity: 1 !important;
}

.role-projektledare #show-forms .edit-submit-link {
	pointer-events: none;
	opacity: 0.5;
}

.role-projektledare #show-forms .mine .edit-submit-link {
	pointer-events: all;
	opacity: 1;
}

#show-forms tr:not(.mine) .edit-icon {
	display: none;
}

.role-administrator #show-forms tr .edit-icon, .role-projektadmin #show-forms tr .edit-icon {
	display: inline-block;
}

body:not(.role-projektledare) #show-forms .toggle-sales-status .edit-icon {
	display: inline-block;
}

.role-projektledare #show-popup {
	pointer-events: none;
	opacity: 0.8;
}

.mine #show-popup {
	pointer-events: all;
	opacity: 1;
}

#show-forms .project-number-input {
	border: none;
	box-shadow: none;
	width: 100%;
	height: 12px;
	background: none;
	padding: 10px 0 !important;
}

#show-forms .project-no-td {
	min-width: 125px;
	max-width: 125px;
}

#show-forms .th-last-edit {
	white-space: nowrap;
}

#show-forms .last-edit-timestamp {
	white-space: nowrap;
}

.status-popup {
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 99999;
    display: none;
    width: 95%;
    max-width: 600px;
    max-height: 95vh;
    overflow: auto;
    flex-wrap: wrap;
    height: 800px;
}

.status-popup #sales-status-popup.disabled {
	pointer-events: none;
	opacity: 0.5;
}

.status-popup #project-status, .status-popup input, .status-popup textarea, .status-popup select {
	box-shadow: none;
}

.status-popup input {
	padding: 15px 10px !important;
	margin-bottom: 0 !important;
}

.status-popup textarea {
	margin-bottom: 0 !important;
}

.status-popup .warning {
	background: #98070d;
	color: #fff;
	padding: 5px 5px;
	font-size: 10px;
	margin-bottom: 10px;
	display: inline-block;
}

.status-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	z-index: 88888;
	display: none;
}

.select-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.select-wrapper > div {
	width: 48%;
}

.status-popup .select-wrapper .project-status-wrapper, .status-popup .sales-status-wrapper, .status-popup #return-wrapper {
	width: 100%;
}

.status-popup #return-wrapper {
	display: none;
}

.status-popup #return-wrapper.show {
	
}

.status-popup #project-title {
	margin-top: 10px;
}

.status-popup, .status-popup p, .status-popup label, .status-popup select {
	font-size: 12px;
}

.status-popup label[for="commission-deduction"] {
	display: inline-block;
}

#commission-deduction {
	margin: 0;
	margin-right: 5px;
	height: 20px;
}

#project-number, #project-number-to-show {
	outline: none;
	border: none;
	box-shadow: none;
	padding: 3px 0;
	display: block;
	margin-bottom: 5px;
	cursor: default;
}

@media screen and (max-width: 768px) {
	.select-wrapper div {
		width: 100%;
	}
}

.button-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding: 40px;
	position: relative;
	z-index: -1;
}

.button-wrapper button {
	width: 90%;
	max-width: 120px;
	outline: none;
	border: none;
	box-shadow: none;
	font-weight: 400;
	transition: 0.2s;
}

.button-wrapper button:hover {
	filter: brightness(90%);
}

.button-wrapper #save-popup {
	background-color: #5e964c;
	color: #fff;
	padding: 18px 5px;
	line-height: 0;
	opacity: 0.6;
	pointer-events: none;
}

.role-administrator .button-wrapper #save-popup, .role-projektadmin .button-wrapper #save-popup {
	opacity: 1;
	pointer-events: all;
}

.button-wrapper #answer-popup {
	background-color: #5e964c;
	color: #fff;
	padding: 18px 5px;
	line-height: 0;
}


#seller-anwser, #seller-anwser {
	pointer-events: all;
	opacity: 1;
}

/*
.role-projektadmin #seller-anwser, .role-administrator #seller-anwser {
	pointer-events: none;
	opacity: 0.8;
} */

.button-wrapper #cancel-popup {
	background-color: #e3e3e3;
	color: #000;
}

.commission-deduction-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.status-popup .commission-deduction-wrapper .addon-wrapper {
	width: 100%;
	margin-top: 15px;
}

.status-popup .commission-deduction-wrapper .addon-wrapper label {
	margin-bottom: 10px;
}

.commission-deduction-wrapper p {
	width: 100%;
	color: #000;
}

.project-comment-intern-wrapper {
	display: none;
}

.role-projektadmin .project-comment-intern-wrapper, .role-administrator .project-comment-intern-wrapper {
	display: block;
}

.status-confirm-wrapper {
	display: flex;
	align-items: center;
	width: 100%;
	padding-left: 40px;
	margin-top: 40px;
	margin-bottom: -30px;
}

.status-confirm-wrapper label, .status-confirm-wrapper input {
	padding: 0 !important;
	margin: 0;
}

.status-confirm-wrapper input {
	margin-right: 5px !important;
}

.commission-deduction-wrapper label {
	margin: 0;
}

.disabled {
	pointer-events: none;
	opacity: 0.5;
}

.project-status {
	cursor: pointer !important;
}

.project-td {
	position: relative;
	min-width: 125px;
	max-width: 125px;
}

.project-td span {
	display: flex;
	justify-content: flex-start;
	align-items: center;

}

.role-projektadmin .project-td, .role-administrator .project-td {
	cursor: pointer;
}

.role-administrator .project-td .project-number-input {
	cursor: pointer !important;
}

#show-forms .edit-icon {
	width: 10px;
	height: 10px;
	transition: 0.1s;
	opacity: 0.6;
}

.project-td .edit-icon {
	display: none;
}

.role-projektadmin .project-td img, .role-administrator .project-td img {
	display: inline-block;
}

.loading-gif-global {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loading-gif-global.infinite {
	top: auto;
	bottom: 20px;
}

.show-forms-wrapper {

}

#search-form {
	width: 100%;
	margin: auto;
	position: relative;
	display: flex;
	margin-bottom: 10px;
	align-items: center;
}
.role-administrator .project-td .project-number-input
#search-form #loading-search {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translate(0, -50%);
}

#search-form input {
	margin: 0;
    border: none;
    box-shadow: none;
    outline: none;
}

#search-form #search-icon {
	height: 39px;
	width: 20px;
	position: relative;
}

#search-form #search-icon svg {
	height: auto;
	width: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	fill: #777;
}

#show-forms .sale-status-outer {
	display: none;
	width: 350px;
	z-index: 9999999 !important;
}

#show-forms .sale-status-outer.sales-status-history {
	width: 220px !important;
}


#show-forms .sale-status-outer * {
	font-size: 11px !important;
}

#show-forms .sale-status-outer .sale-status {
	position: relative;
	width: 350px;
	padding: 10px 10px 5px 10px;
	border-radius: 10px;
	background: #fff;
	color: #777;
	margin-left: 15px;
	text-align: left;
	border: 1px solid #ddd;
}

#show-forms .sale-status-outer.sales-status-history .sale-status {
	width: 200px;
	left: -10px !important;
}

#show-forms .sale-status .sale-status-inner {
	overflow: hidden;
	max-height: 200px;
	width: 330px;
}

#show-forms .sales-status-history .sale-status-inner {
	width: 190px;
}

#show-forms .sale-status .sale-status-inner .sale-status-content {
	overflow: auto;
	padding-right: 22px;
	max-height: 200px;
	width: 350px;
}

#show-forms .sale-status-outer.sales-status-history .sale-status-inner .sale-status-content {
	width: 200px;
}

#show-forms .sale-status-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#show-forms .sale-status-title:after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    transition: 0.2s;
    font-weight: 900;
    font-size: 6px;
    margin-left: 3px;
    margin-top: 1px;
}

#show-forms .sale-status-title.show:after {
	transform: rotate(180deg);
	margin-top: -5px;
}

#show-forms .sale-status .history {
	margin-bottom: 5px;
}

#show-forms .sale-status .history .history-inner {
	display: none;
}

#show-forms .sale-status .history .history-inner .single-inner {
	background: #e3e3e3;
	padding: 5px;
	border-radius: 7px;
	margin: 3px 0;
}

#show-forms .sale-status .history .history-inner .inner-content {
	margin-top: 2px;
}

#show-forms tr:last-child .sale-status-outer, #show-forms tr:nth-last-child(2) .sale-status-outer, #show-forms tr:nth-last-child(3) .sale-status-outer, #show-forms tr:nth-last-child(4) .sale-status-outer, #show-forms tr:nth-last-child(5) .sale-status-outer {
	/* top: auto;
	bottom: 0; */
}

#show-forms .sale-status:before {
    content: "";
    position: absolute;
    bottom: auto;
    top: 8.5px;
    left: -9px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #ddd;
    z-index: 9999991;
    transform: rotate(-90deg);
}

#show-forms .sale-status:after {
	content: "";
	position: absolute;
	top: 10px;
	left: -6px;
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-bottom: 6px solid #fff;
	z-index: 9999992;
	transform: rotate(-90deg);
}

#show-forms .sales-status-history .sale-status:before {
    right: -9px;
    left: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #ddd;
    transform: rotate(90deg);
}

#show-forms .sales-status-history .sale-status:after {
	right: -6px;
	left: auto;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-bottom: 6px solid #fff;
	transform: rotate(90deg);
}

#show-forms tr:last-child .sale-status:after, #show-forms tr:nth-last-child(2) .sale-status:after, #show-forms tr:nth-last-child(3) .sale-status:after, #show-forms tr:nth-last-child(4) .sale-status:after, #show-forms tr:nth-last-child(5) .sale-status:after {
	/* top: auto;
	bottom: 10px; */
}

#show-forms tr:last-child .sale-status:before, #show-forms tr:nth-last-child(2) .sale-status:before, #show-forms tr:nth-last-child(3) .sale-status:before, #show-forms tr:nth-last-child(4) .sale-status:before, #show-forms tr:nth-last-child(5) .sale-status:before {
	/* top: auto;
	bottom: 9px; */
}

#show-forms .sale-status p:nth-child(3) {
	margin-top: 7px;
}

#show-forms .info-on-hover {
	position: relative;
}

#show-forms .project-td {
	position: relative;
}

#show-forms .project-td span {
	padding: 0 10px;
    border-radius: 50px;
    background: #e3e3e3;
    text-align: center;
    white-space: nowrap;
    border: solid 1px #c3c3c3;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#show-forms .project-td .warning {
	position: absolute;
	top: -33px;
	left: 0;
	background: #98070d;
	color: #fff;
	padding: 5px 5px;
	font-size: 10px;
	z-index: 9999999;
	border-radius: 0;
	text-align: left;
	white-space: normal;
	border: none;
}

#show-forms .project-status img {
	height: 10px;
}

#show-forms .project-status span {
	display: inline-block;
	vertical-align: middle;
	padding: 5px 10px;
	position: relative;
}

#show-forms .project-status .edit-icon {
	margin-top: -4px;
	margin-left: 7px;
}

#show-forms .td-total, #show-forms .td-commission, #show-forms .td-versions {
	min-width: 100px;
	max-width: 100px;
}

#show-forms .td-sales-date, #show-forms .td-seller, #show-forms .td-office, #show-forms .td-created {
	min-width: 150px;
	max-width: 150px;
}

#show-forms .td-form-name {
	min-width: 160px;
	max-width: 160px;
}

#show-forms .td-edit, #show-forms .td-show {
	min-width: 80px;
	max-width: 80px;
}

#show-forms .td-edit a {
	display: block;
}

#show-forms .project-status .sale-status * {
	color: #777 !important;
}

#show-forms .sale-status p, #show-forms .sale-status strong {
	font-size: 10px;
	padding: 0;
	margin: 0;
	white-space: normal !important;
}

#show-forms .name-data {
	min-width: 200px;
	max-width: 200px;
}

#map {
	height: 100vh;
    width: 100vw;
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 1;
}

#show-popup {
	position: fixed;
	right: 15px;
	bottom: 15px;
	background: #5e964c;
	font-size: 13px;
	z-index: 50;
	padding: 10px 15px;
	color: #fff;
	border-radius: 50px;
	text-transform: uppercase;
	cursor: pointer;
}

.toggle-sales-status.single {
	position: fixed;
	left: 15px;
	bottom: 15px;
	background: #5e964c;
	font-size: 13px;
	z-index: 50;
	padding: 10px 15px;
	color: #fff;
	border-radius: 50px;
	text-transform: uppercase;
	cursor: pointer;
}

@media screen and (max-width: 700px) {
	#show-popup {
		width: 90%;
		left: 0;
		right: 0;
		margin: auto;
		bottom: 70px;
		text-align: center;
	}
}

.back-to-top {
	bottom: 75px !important;
}

.loading-gif-single {
    position: fixed;
    right: 85px;
    bottom: 32px;
    z-index: 9999999;
}

#db-stats {
	margin-top: 50px;
}

#db-stats h1 {
	margin-bottom: 20px;
}

#db-stats p:not(#stragglers-result) {
	margin: 5px 0;
}

#not-authorized {
	text-align: center;
	margin-top: 150px;
}

.status-popup .status-popup-input-wrapper {
	flex: 1;
	padding: 40px 40px 0 40px;
}

.status-popup .history {
	margin-bottom: 15px;
}

.status-popup input, .status-popup textarea, .status-popup select, .status-popup label {
	pointer-events: none;
	opacity: 0.6;
}

.status-popup #sales-status-popup, .status-popup #return-comment, .status-popup #return-reason, .status-popup label[for="sales-status-popup"], .status-popup label[for="return-reason"], .status-popup label[for="return-comment"] {
	pointer-events: all;
	opacity: 1;
}

.status-popup .commission-deduction-wrapper input[type="radio"], .status-popup .commission-deduction-wrapper label:not([for="addon"]) {
	opacity: 0.6;
}

.commission-deduction-wrapper strong {
	opacity: 0.6;
}

.role-administrator .commission-deduction-wrapper strong, .role-projektadmin .commission-deduction-wrapper strong {
	opacity: 1;
}

.role-administrator .status-popup input, .role-administrator .status-popup label, .role-projektadmin .status-popup label,  .role-administrator .status-popup textarea, .role-administrator .status-popup select, .role-projektadmin .status-popup input, .role-projektadmin .status-popup textarea, .role-projektadmin .status-popup select {
	pointer-events: all;
	opacity: 1;
}

.role-administrator .status-popup .commission-deduction-wrapper input[type="radio"], .role-administrator .status-popup .commission-deduction-wrapper label:not([for="addon"]), .role-projektadmin .status-popup .commission-deduction-wrapper input[type="radio"], .role-projektadmin .status-popup .commission-deduction-wrapper label:not([for="addon"]) {
	opacity: 1;
}

.status-popup .history p {
	margin-bottom: 0;
}


.status-popup label[for="seller-anwser"] {
	margin-top: 10px;
	pointer-events: none;
	opacity: 0.6;
}

.status-popup #seller-anwser {
	pointer-events: none;
	opacity: 0.6;
}

/*

.role-administrator .status-popup label[for="seller-anwser"], .role-projektadmin .status-popup label[for="seller-anwser"] {
	opacity: 0.6 !important;
} */

.status-popup .history .history-inner {
	display: none;
	margin-bottom: 10px;
}

.status-popup .history .history-inner > div {
	margin-bottom: 10px;
	background: #e3e3e3;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 10px;
}

.status-popup .timestamp, .status-popup .username {
	font-weight: 800;
}

.status-popup .history .toggle-history {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	margin-top: 5px;
	cursor: pointer;
}

.status-popup .history .toggle-history:after {
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	transition: 0.2s;
	font-weight: 900;
    font-size: 10px;
    margin-left: 3px;
}

.status-popup .history .toggle-history.show:after {
	transform: rotate(180deg);
}

.eform-button-container-inner {
	align-items: center !important;
}

#download-all-files {
	cursor: pointer;
	background-color: #5e964d;
	color: #fff;
	border-radius: 0;
	padding: 15px 15px;
	transition: 0.2s;
	width: 185px;
	text-transform: uppercase;
	font-size: 12px;
	text-align: center;
	line-height: 12px;
	margin-bottom: 0;
}

#download-all-files:hover {
	filter: brightness(90%);
}

input.ipt_uif_slider {
	width: 45px !important;
}

.ipt_uif_slider_div.ui-slider.ui-slider-horizontal {
	margin-left: 15px !important;
}

#show-forms .set-project-status-wrapper {
	position: relative;
}

/* Red */
#show-forms .set-project-status-wrapper[class*="komplettering-efterfragas-"] {
	background: #ab080e;
	color: #fff;
	border-color: #98070d;
}

/* Yellow */
#show-forms .set-project-status-wrapper.komplettering-klar {
	background: #efe577;
	border-color: #c7c069;
}

/* Green */
#show-forms .set-project-status-wrapper.hanterad {
	background: #5e964e;
	border-color: #476d3c;
	color: #fff;
}

#show-forms .set-project-status-wrapper[class*="komplettering-efterfragas-"] img, #show-forms .set-project-status-wrapper.hanterad img {
	filter: invert(1);
}

#sales-status {
	position: fixed;
    left: 15px;
    bottom: 15px;
    font-size: 13px;
    z-index: 50;
    color: #fff;
    border-radius: 10px;
    text-transform: uppercase;
    cursor: pointer;
    width: 275px;
    padding: 0;
    transition: 0.2s;
}

@media screen and (max-width: 700px) {
	#sales-status {
		width: 90%;
		left: 0;
		right: 0;
		margin: auto;
		text-align: center;
	}
}

#sales-status.disabled {
	opacity: 0.8;
}

#show-forms .toggle-sales-status span {
	position: relative;
	transition: 0.2s;
	text-align: left;
}

#show-forms .toggle-sales-status span img {
	margin-left: 5px;
	margin-top: -2px;
}

#show-forms .toggle-sales-status span {
	/* min-width: 65px; */
}

#show-forms .toggle-sales-status.open span {
	min-width: 200px;
	border-radius: 5px 5px 0 0;
	border-bottom-color: #e3e3e3;
}

#show-forms .toggle-sales-status span:after {
	/*
	position: absolute;
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	transition: 0.2s;
	font-weight: 900;
	font-size: 6px;
	right: 9px;
	top: 10px; */
}

#show-forms .toggle-sales-status.open span:after {
	/*
	transform: rotate(180deg);
	top: 6px; */
}

#show-forms .toggle-sales-status {
	position: relative;
	cursor: pointer;
}

#show-forms .toggle-status-inner {
	position: absolute;
	background: #e3e3e3;
	width: calc(100% + 2px);
	display: none;
	top: 25px;
	left: -1px;
	z-index: 9;
	border: solid 1px #c3c3c3;
	border-top: none;
	border-radius: 0 0 5px 5px;
}

#show-forms .toggle-status-inner .toggle-status-option {
	font-size: 11px;
	padding: 5px 12px;
	transition: 0.2s;
}

#show-forms .toggle-status-inner .toggle-status-option:hover {
	background: #fff;
}

#show-forms .toggle-status-inner .toggle-status-option:last-child {
	border-radius: 0 0 5px 5px;
}

#sales-status #selected-status {
	position: relative;
	border-radius: 10px;
	background: #5e964c;
	padding: 10px;
	transition: 0.2s;
}

#sales-status.showing #selected-status {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#sales-status #selected-status:after {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translate(0, -50%) rotate(180deg);
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	font-size: 7px;
	transition: 0.2s;
	font-weight: 900;

}

#sales-status.showing #selected-status:after {
	transform: translate(0, -50%) rotate(0deg);
}

#status-dropdown {
	display: none;
	background: #fff;
	color: #000;
	border-left: 1px solid #ececec;
	border-right: 1px solid #ececec;
	border-top: 1px solid #ececec;
}

#status-dropdown div {
	padding: 10px 15px;
	transition: 0.2s;
}

#status-dropdown div:hover {
	background: #e3e3e3;
}


.edit-form-styling {
	margin-bottom: 15px;
}

#show-forms .download-all-files {
	background: none;
	color: #334862;
	padding: 0;
	font-size: 12px;
	text-transform: initial;
	letter-spacing: 0;
	border: none;
	font-weight: normal;
	font-family: "Montserrat", sans-serif;
	margin: 0;
	line-height: 0;
    min-height: 0;
    height: 10px;
    transition: none !important;
}

#show-forms .remove-sale {
	color: #334862;
	cursor: pointer;
}

#show-forms .remove-sale:hover {
	color: #000;
}

#show-forms .download-all-files:hover {
	background: none;
	box-shadow: none;
	color: #000;
}

#show-forms .td-edit form {
	margin: 0;
}

.custom-invalid input {
	border-color: #f44336 !important;
}

.custom-invalid input:focus {
    box-shadow: 0 0 5px #f44336 !important;
}

.custom-validation-error {
	padding-top: 5px !important;
	font-size: 12px;
	color: #f44336;
}

.disabled-validation {
	pointer-events: none !important;
	cursor: pointer !important;
}

#return-popup-wrapper {
	width: 95%;
	max-width: 400px;
	padding: 25px;
	background: #fff;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999999999999;
	font-size: 12px !important;
}

#return-wrapper, #return-popup-wrapper select, #return-popup-wrapper textarea, #return-popup-wrapper select option, #return-popup-wrapper label {
	font-size: 12px !important;
}

#return-popup-wrapper .invalid.show-red {
	border-color: #f10c14 !important;
	transition: 0.2s;
}

#return-popup-wrapper .button-wrapper {
	display: flex;
	padding: 0;
	z-index: 1;
	position: static;
	justify-content: flex-start;
}

#return-popup-wrapper .button-wrapper #save-return, #return-popup-wrapper #cancel-return {
	padding: 12px 5px;
	width: 90%;
	max-width: 110px;
	outline: none;
	border: none;
	box-shadow: none;
	font-weight: 400;
	transition: 0.2s !important;
	text-align: center;
	color: #fff;
	position: static;
	cursor: pointer;
}

#return-popup-wrapper .button-wrapper #save-return {
	margin-right: 10px;
	background: #5e964e;
}

#return-popup-wrapper .button-wrapper #cancel-return {
	background: #e3e3e3;
	color: #000;
}

#return-popup-wrapper .button-wrapper #cancel-return:hover {
	background: #d5d4d4;
}

#return-popup-wrapper .button-wrapper #save-return:hover {
	background: #568548;
}

.save-overlay {
	display: none;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	background-color: rgba(0, 0, 0, 0);
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	z-index: 999999;
}

.save-overlay-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 15px;
}


#list-forms-wrapper {
	width: 90%;
	margin: auto;
}

#seller-answer-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 20px;
	z-index: 999999;
	width: 95%;
	max-width: 350px;
}

#save-seller-answer {
	transition: 0.2s;
    background-color: #5e964c;
    color: #fff;
    padding: 18px 5px;
    line-height: 0;
    max-width: 120px;
    outline: none;
    border: none;
    box-shadow: none;
    font-weight: 400;
    transition: 0.2s;
    font-size: 12px;
    text-align: center;
	cursor: pointer;
	
}

#seller-answer-popup label {
	font-size: 12px;
}

#seller-answer-popup textarea {
	font-size: 12px;
}

.seller-answer-link {
	color: #334862;
	cursor: pointer;
}

.seller-answer-link:hover {
	color: #000;
}

#sales-status-popup .role-specific {
	display: none;
}

.role-administrator #sales-status-popup .role-specific, .role-projektadmin #sales-status-popup .role-specific {
	display: block;
}

#user-data-fields {
	display: flex;
	flex-wrap: wrap;
	margin-top: 25px;
}

#user-data-fields #default-user-values {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 15px;
}

#user-data-fields .filler {
	width: 35px;
}

#user-data-fields #default-user-values label {
	font-weight: 600;
}

#user-data-fields #default-user-values > div {
	flex: 1;
	margin-right: 10px;
}

#user-data-fields #default-user-values > div:last-child {
	margin-right: 0;
}

#user-data-fields label {
	display: block;
	margin-bottom: 5px;
	width: 100%;
}

#user-data-fields select {
	width: 100%;
}

#your-profile .submit {
	margin-top: 0 !important;
}

#user-data-fields #historical-fields {
	display: flex;
	flex-wrap: wrap;
	max-width: none;
	width: 100%;
	padding-right: 0;
}

#user-data-fields #historical-fields .historical-field {
	max-width: none;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px !important;
	align-items: center;
	justify-content: space-between;
}

.user-user-login-wrap {
}

.user-user-login-wrap > td {
	padding: 15px 0;
}

.user-user-login-wrap > td .description {
	display: none;
}

#change-username-input {
    width: 100%;
    max-width: 340px;
    margin-bottom: 5px;
}


#show-username-change, #change-username, #add-new-history, #sync-single-user-btn {
	color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
    vertical-align: top;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;

    margin-left: 5px;
}

.form-table tbody {
	display: block;
}

#show-username-change:hover, #change-username:hover, #add-new-history:hover {
	background: #f0f0f1;
	border-color: #0a4b78;
	color: #0a4b78;
}

label[for="change-username-input"] {
	display: block;
	margin-bottom: 15px;
	font-weight: 600;
}

#change-username.disabled {
	pointer-events: none;
	opacity: 0.5;
}

#user-data-fields #historical-fields .historical-field .history-row {
	flex: 1;
	margin-right: 10px;
}

#user-data-fields #historical-fields .historical-field .history-row  label {
	font-weight: 600;
}

#user-data-fields #historical-fields .historical-field > div, #user-data-fields #historical-fields .historical-field > div {

}

#user-data-fields #historical-fields .historical-field .daterange {
	pointer-events: none;
	opacity: 0.7;
}

#user-data-fields #historical-fields .historical-field .daterange input {
	width: 100%;
}

#user-data-fields #historical-fields .historical-field:last-child .daterange {
	pointer-events: all;
	opacity: 1;
}

#user-data-fields #historical-fields .historical-field .daterange.validation-error {
	border-color: #ab080e;
}

#user-data-fields .history-btn-wrapper {
	max-width: none;
	width: 100%;
}

#user-data-fields .remove-btn {
	font-family: "Font Awesome 5 Free";
	cursor: pointer;
	display: flex;
	font-size: 16px;
	margin-top: 20px;
	width: 25px;
	justify-content: center;
	/* opacity: 0.7;
	pointer-events: none; */

}

#user-data-fields #historical-fields .historical-field:last-child .remove-btn {
	opacity: 1;
	pointer-events: all;
}

#profile-page #user-fields-info  h3 {
	margin-bottom: 0;
}


#profile-page #user-fields-info  p {
	margin-top: 10px;
}

#profile-page #user-fields-info {
	margin-bottom: 15px;
}

#admin-pdf-wrapper {
	background: #fff;
	overflow: auto;
	margin-top: 15px;
	transition: 0.2s;
}

#admin-pdf-wrapper.disabled {
	pointer-events: none;
	opacity: 0.7;
}

#admin-pdf {
	border-collapse: collapse;
}

#admin-pdf th {
	padding: 15px;
	background: #5e964d;
	color: #fff;
	border: none;
	text-align: left;
	font-weight: 400;
}

#admin-pdf tr, #admin-pdf td {
	min-width: 110px;
	max-width: 110px;
	text-align: left;
	padding: 15px;
}

#admin-pdf tr:nth-child(even) {
	background: #e3e3e3;
}

#admin-pdf .centered {
	text-align: center;
}


#admin-pdf .long-field {
	min-width: 180px;
	min-width: 180px;
}

#admin-pdf .flex-wrapper {
	display: flex;
	align-items: center;
}

#admin-pdf .flex-wrapper img {
	width: 10px;
	height: auto;
	margin-left: 5px;
}

#admin-pdf .category-email {
	width: 100%;
	background: none;
	border: none;
	outline: none !important;
	box-shadow: none;
}

#admin-pdf .pdf-td-id {
	max-width: 50px;
	min-width: 50px;
}

#master-interface-wrapper h3 {
	padding: 15px;
	background: #5e964d;
	color: #fff;
	border: none;
	text-align: left;
	font-weight: 400;
	margin: 30px 0 0 0;
}

#master-interface {
	background: #fff;
	padding: 0;
	border-collapse: collapse;
}

#master-interface input {
	background: none;
	border: none;
	outline: none;
	box-shadow: none;
	padding: 0;
}

#master-interface th {
	padding: 15px;
    background: #5e964d;
    color: #fff;
    border: none;
    text-align: left;
    font-weight: 400;
    text-align: left;
}

#master-interface td {
	padding: 15px;
}

#master-interface td span {
	display: flex;
	align-items: center;
}

#master-interface img {
	width: 10px;
	height: auto;
	margin-left: 5px;
}

#profile-page #user-fields-info  h3 {
	margin-bottom: 0;
}


#profile-page #user-fields-info  p {
	margin-top: 10px;
}

#profile-page #user-fields-info {
	margin-bottom: 15px;
}

#master-included-categories-table input, #user-fields-info-table input {

}

#master-included-categories-table, #user-fields-info-table {
	width: calc(100% - 25px);
    border-spacing: 0;
    margin: 15px 0 0 0;
}

#master-included-categories-table td, #user-fields-info-table td {
	padding: 15px;
}

#included-categories-header {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#master-interface-table-wrapper {
	max-height: 80vh;
	overflow: auto;
}

#master-interface-table-wrapper .fieldname-th, #master-interface-table-wrapper .field-comment {
	min-width: 200px;
	max-width: 200px;
}

#master-interface-table-wrapper .new-input-field-td div {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

#master-interface-table {
	width: calc(100% - 25px);
    border-spacing: 0;
    margin: 15px 0;
    opacity: 1;
    transition: 0.2s;
}

#master-interface-table tbody {
	transition: 0.2s;
}

#master-interface-table.disabled-mid-sync {
	opacity: 0.4;
	pointer-events: none;
}

#master-interface-table td {
	padding: 15px;
}

#master-interface-table .field-input-wrapper {
	position: relative;
}

#master-interface-table tr:nth-child(odd) td {
    background: #fff;
}

#master-interface-table .default {
	opacity: 0.6;
	pointer-events: none;
}

#master-interface-table .default .edit-icon {
	display: none;
}

#master-interface-table .update-message {
	position: absolute;
	display: none;
	background: #ab080e;
	font-size: 12px;
	color: #fff;
	padding: 5px 7px;
	margin-left: 20px;
}

#master-interface-table .update-message.valid {
	background: #5e964c;
}

#master-interface-table th {
	background: #e3e3e3;
    padding: 15px;
    font-weight: bold;
    color: #3c434a;
    text-align: left;
}

#master-interface-table th:first-child {
	border-top-left-radius: 5px;
}

#master-interface-table th:last-child {
	border-top-right-radius: 5px;
}

#master-interface-table input {
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
}

#master-interface-table .edit-icon {
    height: 9px;
    width: auto;
    opacity: 0.9;
}

#master-interface-table .save-new-input-field, #master-interface-table .sync-new-field {
	text-align: center;
	cursor: pointer;
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 10px;
    color: #fff;
    background: #5e964c;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

#master-interface-table .save-new-input-field:hover, #master-interface-table .sync-new-field:hover {
	filter: brightness(90%);
}

#master-interface-table .sync-new-field {
	margin-left: 5px;
	padding: 3px 11px;
	background: #fff;
	border: solid 1px #3c434a;
	color: #3c434a;
}

#included-categories-header #filter-form-categories {
	margin-right: 25px;
	font-size: 15px;
}

#user-fields-info-table td span {
	display: block;
	font-size: 10px;
	font-style: italic;
	margin-top: 3px;
}

#user-fields-info-table td {
	line-height: 14px;
}

#master-included-categories-table th, #user-fields-info-table th {
	text-align: left;
}

#master-included-categories-table .center, #user-fields-info-table .center {
	text-align: center;
}

#master-included-categories-table .field-input-wrapper, #user-fields-info-table .field-input-wrapper {
	position: relative;
}

#master-included-categories-table tr:nth-child(odd) td, #user-fields-info-table tr:nth-child(odd) td {
    background: #fff;
}

#master-included-categories-table th, #user-fields-info-table th {
    background: #e3e3e3;
    padding: 15px;
    font-weight: bold;
    color: #3c434a;
    text-align: left;
}

#employee-num-wrapper label {
	display: block;
	cursor: default;
	margin-bottom: 5px;
	font-weight: 600;
}

#project-sync-check h3 {
	margin-bottom: 0;
}

#project-sync-check p {
	margin-top: 5px;
}

#project-sync-check #unsynced-info {
	margin-top: 10px;
}

#delete-reminders-btn, #sync-stragglers-btn {
	margin-left: 0;
}

#reminders.none {
	color: #00a32a;
	font-weight: 600;
}



