/*
Global
============================= */

body{
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	color:#666;
	font-size:16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}


p{
	line-height: 24px;
}

#applicationForm p {
	line-height: initial !important;
}
a{color:#188E51;}
a:hover{text-decoration: none;}

.text-primary {
	color: #23985D !important;
}
.text-success-light {
	color: rgba(35, 154, 94, 0.75) !important;
}
.text-warning {
	color: hsl(41, 100%, 51%) !important;
}
.text-danger {
	color: hsl(354, 70%, 54%) !important;
}
.text-secondary {
	color: #6c757d !important;
}

#nav a:not([href]) {
	color: #939393 !important;
}

h1,h2,h3,h4,h5,h6{ font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}

h1{font-size:50px; font-weight: 200; color: #555; margin-bottom: 20px;}
h2{font-size: 30px; font-weight: 300; color:#444; margin: 30px 0}
h3{font-size: 20px; font-weight: 400; margin: 20px 0;}
h4{font-size:18px; font-weight: 400}

/*
BUTTON STYLEs
===========================*/
.btn-success {
	background-color: #23985D;
}

.btn-part-left {
	border-bottom-right-radius: 0px; border-top-right-radius: 0px;
}

.btn-part-right {
	border-bottom-left-radius: 0px; border-top-left-radius: 0px;
}

.white-space-normal {
	white-space: normal !important;
}

/*
HEADER ROW STYLE
===========================*/
#header-row{
	background: #f5f5f5;
	border-bottom:1px solid #eee;
	padding: 15px 0;
}

#header-row .navbar{
	margin:10px 0 10px 0;
}
.cnt-title {
	text-align: center;
}
.caption h1 {
	font-size: 3em;
}
.choose{
	background-color: #00A65A;
	text-align: center;
	padding: 5px;
}
.choose i {
	color: rgba(0,0,0,0.3);
}

/* Divider
==================*/
.hr-divider{
	background: url(../img/slide-bg.png) no-repeat bottom center;
	width:1170px;
	height: 100px;
	margin-bottom: 50px;
	display: block;
	clear: both;}

/*Feature
==========================*/
.feature-box{
	margin-top: 60px;
	text-align: center;
}
.cnt-title { text-align: center; margin-bottom: 50px;}
.cnt-title span {
	font-size: 24px;
	font-weight: 200;
}


/* Page Header
==========================*/

.page-header{
	border-bottom: 1px solid #f5f5f5;
}

.hide-text-overflow {
	overflow: hidden;
	text-overflow: ellipsis;
}

/*Media
========================*/

.media{
	margin-bottom:25px;
}
.strike:after {
	position: absolute;
	content: "|";
	color: red;
	font-weight: 900;
	font-size: 1.7em;
	left: 5px;
	top: -6px;
	transform: translate(-50%, 0) rotate(30deg);
}

.posting{
	padding: 15px;
	border-bottom: 1px solid #9a9595;
	margin-bottom:15px;
}

.posting .media-body {
	word-break: break-word;
}

/*MAP
========================*/
#map-canvas{
	height: 400px;
	border: 15px solid #fff;
	box-shadow:0 0 0 1px #f5f5f5;
}

/*MORE
========================*/

.jumbotron {
	background: url('../img/slider.jpg');
	background-size: cover;
	background-position: center center;
}

.caption {
	color: black;
	padding: 20px;
	background: rgba(255,255,255,0.8);
}

/*Textarea
=========================*/
.textarea-not-resizable {
	resize: vertical;
	min-height: 70px;
}


/*CKEDITOR
========================*/
div.ckeditor-inline {
	border: 1px solid black;
	max-width: 600px;
	margin: 0 auto;
	border-color: #ccc !important;
}

div.ckeditor-inline.ckeditor-inline-modal {
	max-width: 100%;
	max-height: 500px;
	overflow: auto;
}

div.ckeditor-inline div[contenteditable=true] {
	padding: 2em;
}

div.ckeditor-inline h3 {
	border:none;
}
/* Keep the modal/CKEditor containers clean for mouse users, but never hide the keyboard focus. */
div:focus{
	outline: none;
}

div:focus-visible {
	outline: 2px solid #23985d;
	outline-offset: 2px;
}

/*
 * Controls that trigger an action instead of navigating must be a <button> so that they are
 * reachable by keyboard, but they should keep looking like the links they replaced.
 */
.linkButton{
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	text-align: left;
	color: #337ab7;
}

.linkButton:hover,
.linkButton:focus{
	text-decoration: underline;
}

/*
 * The "N zugewiesen" popover trigger on the public todo page (todoPublic.html).
 * The hover/focus color comes from the organization's primary color, set by
 * that template via the --responsible-members-trigger-color custom property.
 */
.responsible-members-trigger{
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	cursor: pointer;
}

.responsible-members-trigger:hover,
.responsible-members-trigger:focus-visible{
	color: var(--responsible-members-trigger-color, #23985d);
}

.responsible-members-popover {
	max-width: 340px;
	min-width: 260px;
	border: none;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.responsible-members-popover.right {
	margin-left: 16px;
}
.responsible-members-popover .popover-title {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 12px 12px 0 0;
	font-weight: 600;
	padding: 8px 14px 6px;
}
.responsible-members-popover .popover-content {
	max-height: 320px;
	overflow-y: auto;
	padding: 6px 14px 10px;
}
.rm-member {
	padding: 3px 0;
}
.rm-group {
	border-radius: 8px;
	margin-top: 10px;
	padding: 8px 10px;
}
.rm-group-name {
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 4px;
	text-transform: uppercase;
}

span.text-tiny {
    font-size: .7em
}
span.text-small {
    font-size: .85em
}
span.text-big {
    font-size: 1.4em
}
span.text-huge {
    font-size: 1.8em
}
.p-text-small {
    font-size: .85em
}
.p-text-tiny {
    font-size: .7em
}

mark.marker-yellow {
    background-color: #fdfd77;
}
mark.marker-green {
    background-color: #62f962;
}
mark.marker-pink {
    background-color: #fc7899;
}
mark.marker-blue {
    background-color: #72ccfd;
}
mark.pen-red {
    background-color: transparent;
    color: #e71313;
}
mark.pen-green {
    background-color: transparent;
    color: #128a00;
}

/* Sweet Alerts
========================*/
.swal2-popup{
	font-size: 2rem !important;
}

/*Footer
========================*/

footer{
border-top:1px solid #eee;
background: #f5f5f5;
padding: 30px 0;
color: #939393;
margin-top:40px;
}

.applicationFromMarginTop {
	margin-top: 1%;
}

.applicationFromMarginBottom {
	margin-top: 3%;
}

.hrStyling {
	height:1.2px;
	border:none;
	color:#333;
	background-color:#333;
}

/* hijack
========================*/
.alert-hijack {
	border-radius: 0px !important;
	margin: 0px !important;
	text-align: center !important;
}

/* These selects cannot have display: none,
   otherwise there'll be an error that the element is not focusable.
   This is a bit hacky but since the source of the error occurs in some jQuery lib
   I can't change stuff there.
========================*/
#applicationForm select[settingsType='a'] {
	display: block !important;
}

#applicationForm select[settingsType='a']:not(.mobile-device) {
	opacity: 0 !important;
	height: 0px !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Same reason as above for the member group single select: it has an empty
   first option, so a required select without a selection is invalid and must
   not be display: none either.
========================*/
#applicationForm select[name='memberGroups']:not([multiple]) {
	display: block !important;
}

#applicationForm select[name='memberGroups']:not([multiple]):not(.mobile-device) {
	opacity: 0 !important;
	height: 0px !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Make the language select "Go" button look better
========================*/
form.setLanguage .input-group .btn:last-child {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left-width: 0;
}

.help-text {
	color: #939393;
	font-size: 0.9em;
	margin-bottom: 10px;
}

/* Paginations
========================*/
.pagination .curPage,
.pagination .curPage:hover {
	background-color: #23985D;
	color: #ffffff;
}

.pagination .ellipsis,
.pagination .ellipsis:hover {
	background-color: #f2f2f2;
	color: rgba(33, 37, 41, 0.75);
}

.pagination .page-link {
    cursor: pointer;
}
.pagination .disabled .page-link {
    cursor: not-allowed;
}
.pagination .navigatePage {
    cursor: pointer;
}
.pagination .ellipsis {
    cursor: default;
}

/*************************
Styles for inventory details modal and quantity input
*************************/
#inventoryDetails .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
#inventoryDetails .modal-header {
    bottom: 0;
}
#inventoryDetails .modal-body {
    overflow-y: auto;
    flex-grow: 1;
}
#inventoryDetails #customFields {
    display: none;
}
#inventoryQuantity {
    padding-left: 1.0rem;
    padding-right: 1.0rem;
}

.d-inline-block {
	display: inline-block;
}

.ms-3 {
	margin-left: 1rem !important;
}

.ms-2 {
	margin-left: 0.5rem !important;
}

.ms-1 {
	margin-left: 0.25rem !important;
}

.ms-0 {
	margin-left: 0rem !important;
}

.mt-3 {
	margin-top: 1rem !important;
}

.mt-5 {
	margin-top: 3rem !important;
}

.mb-3 {
	margin-bottom: 1rem !important;
}

/*************************
Icon colors
*************************/
.icon-grey {
	color: grey;
}

.icon-orange {
	color: orange;
}

.icon-green {
	color: #5cb85c;
}

/*************************
public/todo.html
*************************/
.todo-open-tasks-box {
	margin-bottom: 5rem;
}

#taskDetail .modal-body {
	max-height: calc(100vh - 250px);
	overflow-y: auto;
}

#taskDetailDescriptionContainer {
	display: none;
	margin-bottom: 1rem;
}

#taskChecklistContainer {
	display: none;
}

.editLabelChecklistItem {
	margin-top: 0.5rem;
}

#taskChecklistAddName,
#textDetailComment {
	margin-bottom: 0.3125rem;
}

#taskDetailCommentsContainer {
	display: none;
	margin-top: 1.5rem;
}

#taskDetailSidebar {
	display: flex;
	flex-direction: column;
}

.edited-note {
	display: block;
	width: fit-content;
	margin-top: 2px;
	font-size: 0.8em;
	color: #999;
}

.edited-note-tooltip .tooltip-inner {
	white-space: nowrap;
	max-width: none;
}

.task-row-actions {
	display: flex;
	align-items: center;
	white-space: nowrap;
	gap: 0.3em;
}

.group-badge-row {
	display: flex;
	align-items: center;
	gap: 0.3em;
}

#taskDetail h4,
#taskDetail h4:hover {
	color: var(--responsible-members-trigger-color, #23985d);
}