﻿:root {
	--font: 'Open Sans', sans-serif;
	--lightGrey: #d3d3d3;
	--fontColour: #4b4b4b;
	--headingColour: #4b4b4b;
	--darkGreen: #29716F;
	--highlightGreen: #359A97;
	--darkRed: #EC482A;
	--highlightRed: #ff1d1d;
	--asd: #1B5A5A;
	--interactiveHoverColour: #e5e5e5;
	--faintLine: #e9ecef;

	--appPadding: 3rem;
	--lineSlim: 2px;
	--lineMed: 3px;
	--lineThicc: 4px;
	--lineGrey: var(--lightGrey);
	--brad: 4px;

	--navCircleSize: 2.5rem;
	--tabPadding: 1rem;
	--loginTextWidth: 20rem;
	--applicationSpacing: 1rem;
	--supportTileSpacing: 1rem;
	--documentTileSpacing: 1rem;
	--profileSpacing: 1rem;
	--questionFontSize: 0.8rem;
	--questionEleBorderWidth: var(--lineSlim);
	--standardBorder: var(--questionEleBorderWidth) solid var(--lineGrey);
	--questionEleHeight: calc(2.7rem + calc(var(--questionEleBorderWidth) * 3));
}

:root {
	--buttonColour: var(--darkGreen);
	--buttonHover: var(--highlightGreen);
}

.text-right {
    text-align: right !important;
}

.text-middle {
    vertical-align: middle;
}

.text-absolute-right {
	position: absolute;
    right: 0;
}

.clickable-cursor {
	cursor: pointer;
}

/*nav {
    position: absolute;
    padding: 20px;
    margin-top: 40px;
    max-width: 250px;
}

nav a {
    display: block;
}

nav a,
nav a:visited,
nav a:hover,
nav a:active {
    color: black;
    text-decoration: none;
    padding: 1px;
    padding-left: 10px;
}*/

.logout-link, .logout-link:hover {
	margin-top: 1.5rem;
    padding-left: 0;
}

.logout-link.nospace {
	margin-top: initial;
}

.logo-link {
}

.logo {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Modal, based on bootstrap */
.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
	background-color: rgba(0, 0, 0, 0.3);
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 0.5rem;
	pointer-events: none;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 500px;
		margin: 1.75rem auto;
	}
}

.modal-content {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 0.3rem;
	outline: 0;
}

.modal-header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 1rem;
	border-bottom: 1px solid #e9ecef;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}

.modal-title {
	margin-bottom: 0;
	line-height: 1.5;
	margin-top: 0;
	font-weight: normal;
}

.close:not(:disabled):not(.disabled) {
	cursor: pointer;
}

.modal-header .close {
	padding: 1rem;
	margin: -1rem -1rem -1rem auto;
}

button.close {
	padding: 0;
	background-color: transparent;
	border: 0;
	-webkit-appearance: none;
}

.close {
	float: right;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .5;
}

.modal-body,
.modal-message {
	position: relative;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1rem;
	white-space: pre-line;
	font-size: 14px;
	overflow-y: auto;
	max-height: 200px;
}

.modal-message {
	font-weight: bold;
	text-align: center;
	white-space: normal;
}

.modal-footer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: 1rem;
	border-top: 1px solid #e9ecef;
}

.modal-footer button, .modal-footer a, .btn {
	background: var(--buttonColour);
	display: inline-block;
	padding: 1rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	border-radius: var(--brad);
	color: #FFF;
	cursor: pointer;
	border: 2px solid var(--buttonColour);
}

a.btn {
	text-decoration: none;
}

.dialog-error .modal-header {
	background-color: var(--darkRed) !important;
	color: white;
}

.modal li:not(.nav-item) {
	padding-bottom: 7px;
}

.dialog-error .close {
	color: white;
	opacity: 1;
}

.dialog-error button, .dialog-error .modal-footer a, .btn-danger {
	background-color: var(--darkRed) !important;
	border-color: white;
}

.dialog-error button[disabled], .dialog-error a[disabled], [disabled].btn-danger {
	background: var(--lightGrey) !important;
}

.btn-danger-outline {
	background-color: white;
	border: 1px solid var(--darkRed) !important;
	color: var(--darkRed) !important;
}

.button.btn-warning {
	color: #000;
    background-color: #f2d15a;
    border-color: #f2d15a;
}

.btn-success-outline {
	background-color: white;
	border: 1px solid var(--highlightGreen) !important;
	color: var(--highlightGreen) !important;
}

.dialog-success .modal-header {
	background-color: var(--highlightGreen) !important;
	color: white;
}

.dialog-success .close {
	color: white;
	opacity: 1;
}

.dialog-success button, .dialog-success a {
	background-color: var(--highlightGreen) !important;
	border-color: white;
}

.dialog-warning .modal-header, .btn-warning {
	background-color: #f2d15a !important;
	color: #343a40;
}

.dialog-warning .close {
	color: #343a40;
	opacity: 1;
}

.dialog-warning button, .dialog-warning a {
	background-color: #f2d15a !important;
	border-color: #343a40;
}

.dialog-info .modal-header {
	display: none;
}

.dialog-info .modal-footer a:first-child {
	background-color: #337ab7 !important;
	border-color: #343a40;
	color: white;
	border: none;
}

.dialog-info .modal-footer a {
	background-color: white !important;
	color: #337ab7;
	border: 1px solid lightgrey;
}

.dialog-info.subject-list .modal-body {
	max-height: calc(100vh - 200px);
}

.dialog-info.subject-list th {
	text-align: left;
}

textarea {
	font-family: var(--font);
	border: var(--standardBorder);
	border-radius: var(--brad);
	resize: none;
	font-size: var(--questionFontSize);
	padding: var(--questionFontSize);
	outline: none;
	color: #000;
	clear: both;
	height: var(--questionEleHeight);
	width: 100%;
	display: block;
}

textarea::placeholder {
	font-family: var(--font);
	font-style: italic;
}

textarea:focus {
	outline: none;
	border-color: var(--darkGreen);
}

input[type=text], input[type=password], input[type=email] {
	font-family: var(--font);
	border: var(--standardBorder);
	border-radius: var(--brad);
	resize: none;
	font-size: var(--questionFontSize);
	padding: var(--questionFontSize);
	outline: none;
	color: #000;
	clear: both;
	height: var(--questionEleHeight);
	display: block;
}

input[type=text]::placeholder, input[type=password]::placeholder {
	font-family: var(--font);
	font-style: italic;
}

input[type=text]:focus, 
input[type=password]:focus,
select.form-control:focus,
select:focus {
	outline: none;
	border-color: var(--darkGreen);
}

select.form-control {
	width: 100%;
	font-family: var(--font);
    border: var(--standardBorder);
    border-radius: var(--brad);
    resize: none;
    font-size: var(--questionFontSize);
    padding: var(--questionFontSize);
    outline: none;
    color: #000;
    clear: both;
    height: var(--questionEleHeight);
    display: block;
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
	appearance: none;
	padding-right: 2.25rem;
}

.text-error {
	font-weight: bold;
	color: var(--darkRed);
}

.text-success {
	font-weight: bold;
	color: var(--highlightGreen);
}

.mt-30 {
	margin-top: 30px;
}

.mt-10 {
	margin-top: 10px;
}

.aligned-table:not(.calign) td, 
.aligned-table:not(.calign) th {
	text-align: left;
	vertical-align: top;
}

.aligned-table:not(.no-padding) th {
	padding-right: 70px;
}

.aligned-table.header-borders {
	width: 100%;
	border-spacing: 0;
}

.aligned-table.header-borders thead tr th {
	padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

button.disabled {
	background-color: lightgray !important;
	cursor: not-allowed;
}

.modal-processing {
	font-size: 13pt;
}

.clickable {
	cursor: pointer;
}

.miniLoader {
	--loaderSize: 1.5rem;
	width: 100%;
	padding: 2rem;
	background: #FFF;
}

.loadingScreen {
	--loaderSize: 4rem;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 10000;
}

.loadingScreen i,
.miniLoader i {
	color: #FFF;
	position: absolute;
	top: calc(50% - calc(var(--loaderSize) / 2));
	left: calc(50% - calc(var(--loaderSize) / 2));
	font-size: var(--loaderSize);
}

.loadingScreen .loading-text {
	position: absolute;
	top: calc(60% - calc(var(--loaderSize) / 2));
	left: calc(45% - calc(var(--loaderSize) / 2));
	color: white;
	font-weight: bold;
	text-align: center;
}

.miniLoader i {
	color: var(--fontColour);
}

.btn-cancel {
	background-color: var(--headingColour);
}

.addressSelector, .answerSelector, .providerSelector {
	position: absolute;
	left: 0;
	border-radius: var(--brad);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border: var(--standardBorder);
	border-top: none;
	z-index: 1;
	width: 100%;
	top: 65px;
}

.providerSelector {
	left: unset;
	width: unset;
}

.providerSelector.fixed {
	top: unset;
}

.addressSelector {
	top: calc(100% - var(--questionEleBorderWidth));
}

.addressSelector span, .answerSelector span, .providerSelector span {
	display: block;
	width: 100%;
	background: #FFF;
	font-size: 0.8rem;
	padding: 0.4rem 0.8rem;
	cursor: pointer;
}

.addressSelector span:hover, .answerSelector span:hover, .providerSelector span:hover {
	background-color: var(--interactiveHoverColour);
}

.language-bar,
.help-bar,
.mtk-bar {
	display: block;
	position: absolute;
	top: 85px;
	right: 50px;
	z-index: 1000;
}

.mtk-bar {
	top: 40px;
}

.mtk-bar img {
	height: 1rem;
}

.language-bar {
	top: 40px;
	right: 150px;
	font-size: 15px;
	padding-right: 30px;
}

.language-bar a,
.help-bar a,
.mtk-bar a {
	text-decoration: none;
	color: var(--fontColour);
}

.language-bar a.selected {
	font-weight: bold;
}

#HelpModal .modal-body {
	font-size: 1rem;
	overflow-y: unset;
	max-height: none;
	white-space: initial;
}

#HelpModal .modal-body ul {
	margin: 0;
	margin-block-start: 20px;
    margin-block-end: 0px;
}

#HelpModal .modal-body li {
	padding: 5px;
}

a.button[disabled],
button[disabled]{
	background: var(--lightGrey);
	cursor: not-allowed;
}

.select-provider {
	position: absolute;
    margin-left: 250px;
	width: 700px;
	background-color: white;
	border: 1px solid var(--lightGrey);
	z-index: 1000;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	min-height: 395px;
}

.select-provider h4 {
	margin-top: 0;
	margin-bottom: 10px;
}

.select-provider ul {
	padding-left: 10px;
	margin-top: 10px;
}

.select-provider li {
	list-style-type: none;
	padding: 3px;
}

.select-provider table {
	width: 97%;
}

.select-provider table thead th {
	padding-bottom: 10px;
}

#FilterProvider {
	position: absolute;
	bottom: 15px;
	left: 15px;
	width: 670px;
}

.select-provider table colgroup col:first-child {
	width: 80px;
}

.select-provider table colgroup col:last-child {
	width: 300px;
}

.textarea .fa-spinner,
.search-container .fa-spinner {
	position: absolute;
	right: 1rem;
	top: 1rem;
}

.textarea .miniLoader .fa-spinner {
	right: unset;
	top: unset;
}

.spacing-margin-bottom {
	margin-bottom: var(--appPadding) !important;
}

.mb-1 {
	margin-bottom: 1em !important;
}

.mb-2 {
	margin-bottom: 2em !important;
}

.ml-1 {
	margin-left: 1em !important;
}

.mr-1 {
	margin-right: 1em !important;
}

.mr-2 {
	margin-right: 2em !important;
}

/*nav h1, 
nav h2, 
nav h3, 
nav h4, 
nav h5 {
	color: #b5880b;
}

nav a.active {
	font-weight: bold;
}*/

.alert {
	position: relative;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger {
	color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
	color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.hidden {
	display: none;
}

.invisible {
	visibility: hidden;
}

[type="dropdown"][complete="false"] select {
	font-style: italic;
}

[type="dropdown"][complete="false"] select option {
	font-style: normal;
}

.form-floating > label,
[type="dropdown"][complete="true"] label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: var(--questionFontSize);
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
	font-size: var(--questionFontSize);
	font-style: italic;
}

.form-floating > .replaceholder:focus~label, 
.form-floating > .replaceholder:not(:placeholder-shown)~label,
.form-floating > .form-select~label,
[type="dropdown"][complete="true"] label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
	font-style: normal;
}

[type="dropdown"][complete="false"] label {
	display: none;
}

.form-floating > .replaceholder:focus,
.form-floating > .replaceholder:not(:placeholder-shown),
[type="dropdown"][complete="true"] p.questionText.populated {
    padding-top: 1.1rem;
	padding-bottom: 0;
}

.form-floating > input.replaceholder:focus,
.form-floating > input.replaceholder:not(:placeholder-shown),
[type="dropdown"][complete="true"] select {
	padding-bottom: 6px;
}

[texttype="TextArea"] .long.form-floating > .replaceholder:focus,
[texttype="TextArea"] .long.form-floating > .replaceholder:not(:placeholder-shown) {
	padding-top: 2.2rem;
}

textarea.replaceholder::placeholder,
input.replaceholder::placeholder {
	color: transparent !important;
}

.replaceholder::-webkit-input-placeholder,
.replaceholder:-moz-placeholder,
.replaceholder::-moz-placeholder,
.replaceholder:-ms-input-placeholder,
textarea.replaceholder::-webkit-input-placeholder,
textarea.replaceholder:-moz-placeholder,
textarea.replaceholder::-moz-placeholder,
textarea.replaceholder:-ms-input-placeholder,
input.replaceholder::-webkit-input-placeholder,
input.replaceholder:-moz-placeholder,
input.replaceholder::-moz-placeholder,
input.replaceholder:-ms-input-placeholder
{
    color: transparent !important;
}

.sectionContainer.highlight-required div[req="true"][complete="false"] textarea:not(.replaceholder)::placeholder,
.sectionContainer.highlight-required div[req="true"][complete="false"] input:not(.replaceholder)::placeholder,
.sectionContainer.highlight-required div[req="true"][complete="false"] .choice,
.sectionContainer.highlight-required div[req="true"][complete="false"] .form-floating > label {
	color: var(--darkRed) !important;
}

.sectionContainer.highlight-required div[req="true"][complete="false"] input,
.sectionContainer.highlight-required div[req="true"][complete="false"] select {
	color: var(--darkRed) !important;
}

.sectionContainer.highlight-required div[req="true"][complete="false"] select option {
	color: var(--fontColour) !important;
}

fieldset {
	border: none;
	padding: 0;
	padding-inline: 0;
	padding-block: 0;
	margin-inline: 0;
}

/* Common provider detail editing */
.contact-note {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 30px;
}

#ProviderContactTable {
	width: 80%;
}

#ProviderContactTable input:not([type=checkbox]):not(.input-child),
#ProviderOtherContactTable input:not([type=checkbox]):not(.input-child) {
	width: 100%;
}

#ProviderOtherContactTable {
	width: 90%;
}

#ProviderContactTable thead th,
#ProviderOtherContactTable thead th {
	font-size: 0.83em;
	padding-bottom: 12px;
	padding-right: 0;
	text-align: left;
}

#ProviderContactTable colgroup col:first-child {
	width: 5px;
}

#ProviderOtherContactTable colgroup col:first-child {
	width: 50px;
}

#ProviderContactTable colgroup col:nth-child(2) {
	width: 380px;
}

#ProviderOtherContactTable colgroup col:nth-child(2),
#ProviderContactTable colgroup col:nth-child(3),
#ProviderOtherContactTable colgroup col:nth-child(3),
#ProviderOtherContactTable colgroup col:nth-child(4) {
	width: 215px;
}

#ProviderContactTable colgroup col:nth-child(4),
#ProviderOtherContactTable colgroup col:nth-child(5)
{
	width: 175px;
}

#ProviderContactTable colgroup col:nth-child(5),
#ProviderOtherContactTable colgroup col:nth-child(6)
{
	width: 370px;
}

#ProviderContactTable colgroup col:nth-child(6),
#ProviderOtherContactTable colgroup col:nth-child(7)
{
	width: 140px;
}

.btn-disable-contact {
	height: 40px;
	width: 40px;
}

/* MENU */

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/*div.wrapper .left-sidebar {
    position: fixed;
    top: 0;
}*/

div.wrapper[data-layout=vertical][data-sidebar-position=fixed] .left-sidebar {
    position: fixed;
    top: 0;
}

.left-sidebar {
    width: 270px;
    background-color: #fff;
    position: absolute;
    -webkit-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
    /*height: 100%;*/
    z-index: 11;
    border-right: 1px solid rgb(229, 234, 239);
}

.brand-logo {
    min-height: 70px;
    padding: 0 16px;
}

.left-sidebar .scroll-sidebar {
    /*overflow-y: auto;*/
    padding: 0 12px;
    /*height: calc(100vh);*/
    border-radius: 0.25rem;
	height: 100%;
}

.left-sidebar div:first-child {
	height: 100%;
}

.left-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.left-sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

.left-sidebar ul ul ul a {
    font-size: 0.9em !important;
    padding-left: 60px !important;
}

.left-sidebar ul li a {
    padding-bottom: 6px;
    padding-top: 8px;
    padding-left: 4px;
    padding-right: 0;
    font-size: 1.1em;
    display: block;
}

.left-sidebar ul li a svg {
    font-size: 1em;
    margin-right: 10px;
    min-width: 18px;
    color: #144545;
}

.nav-small-cap {
    padding: 5px 2px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 12px;
	text-transform: uppercase;
}

nav .nav-small-cap:first-child {
	font-size: 14px;
	margin-bottom: 10px;
}

.nav-small-cap i {
	margin-left: 10px;
}

.sidebar-nav ul li {
    border-style: solid;
    border-width: 0;
    border-color: transparent;
}

.sidebar-nav ul li:not(.home).active {
    background-color: #7386D5;
    color: #fff;
    border-radius: 26px;
}

.sidebar-nav ul ul li:not(.submenu):hover,
.sidebar-nav ul ul li.submenu a:hover {
    background-color: rgba(115, 134, 213, 0.3);
    border-color: rgba(115, 134, 213, 0.5);
    color: black;
    border-radius: 26px;
}

.sidebar-nav ul .sidebar-item .sidebar-link {
    color: #3a4752;
    display: flex;
    font-size: 15px;
    white-space: nowrap;
    align-items: center;
    line-height: 25px;
    position: relative;
    padding: 10px;
    border-radius: 26px;
    gap: 5px;
    margin-bottom: 2px;
    font-weight: 400;
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link.active, 
.sidebar-nav ul .sidebar-item.selected > .sidebar-link, 
.sidebar-nav ul .sidebar-item > .sidebar-link.active {
    background-color: #29716F;
    color: #fff;
}

.sidebar-nav ul .sidebar-item > .sidebar-link.danger {
	background-color: rgb(236, 72, 42, 0.1) !important;
	color: var(--darkRed);
	border-radius: 0;
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link.danger.active, 
.sidebar-nav ul .sidebar-item.selected > .sidebar-link.danger, 
.sidebar-nav ul .sidebar-item > .sidebar-link.danger.active {
	background-color: var(--darkRed) !important;
	color: white;
	border-radius: 26px;
}

nav ul {
    list-style: none;
    padding-left: 0;
}

nav a {
    text-decoration: none;
}

.sidebar-nav ul .sidebar-item > .sidebar-link.danger:hover {
	background-color: rgb(236, 72, 42, 0.2) !important;
	border-radius: 26px;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover {
    background-color: rgba(41, 113, 111, 0.2);
    color: rgba(41, 113, 111, 1);
}

.ms-3 {
    margin-left: 1rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

nav .logo {
	padding-right: 10px;
    padding-top: 30px;
    padding-left: 5px;
}

nav i {
	color: #144545;
}

nav .active i {
	color: white;
}

.text-center {
	text-align: center;
}

.valdiation-failed {
	border-color: var(--darkRed) !important;
}

#contactsModalContainer .modal-dialog {
    max-width: 80%;
    max-height: 70%;
}

#contactsModalContainer .modal-body {
    white-space: initial;
    max-height: 500px;
	overflow-y: initial;
}

#contactsModalContainer .modal-body p {
    display: flex;
}

#contactsModalContainer .other-contacts-modal-container {
	height: 430px;
	overflow-y: auto;
}

#contactsModalContainer .btn-add-contact {
	float: left;
}

#contactsModalContainer tfoot .btn-add-contact {
	display: none;
	float: none;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), 
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.input-group>.form-control, .input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .btn {
    position: relative;
    z-index: 2;
}

/* Nav tabs */
.nav-tabs {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	border-bottom: 1px solid lightgrey;
	width: 100%;
}

.nav-tabs .nav-link.active, 
.nav-tabs .nav-item.show .nav-link {
    color: #000;
    background-color: #fff;
	border-color: lightgrey lightgrey white lightgrey;
}

.nav-tabs .nav-link {
    margin-bottom: calc(-1* 1px);
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
	cursor: pointer;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 15px;
    color: #29716F;
    text-decoration: none;
    background: none;
    border: 0;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.nav-tabs .nav-link.active:hover, 
.nav-tabs .nav-link.active:focus {
    isolation: isolate;
    border-color: lightgrey lightgrey white lightgrey;
}

.nav-tabs .nav-link:not(.active):hover, 
.nav-tabs .nav-link:not(.active):focus {
    isolation: isolate;
    border-color: lightgrey lightgrey lightgrey lightgrey;
	background-color: rgba(41, 113, 111, 0.2);
}

.tab-content {
	margin-top: 1rem;
}

.tab-content > .tab-pane {
    display: none;
}
.fade:not(.show) {
    opacity: 0;
}

.fade {
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.tab-content > .active {
    display: block;
}

.table-filter-input {

}

table.dataTable > thead > tr.filterable > th {
	padding: 0;
	padding-right: 5px;
}

table.dataTable > thead > tr.filterable > th input,
table.dataTable > thead > tr.filterable > th select {
	border: 1px solid #eee;
	border-radius: 0;
	padding: 5px;
	height: initial;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-left: 5px;
}

table.dataTable > thead > tr.filterable > th select {
	color: rgb(117, 117, 117);
	font-style: italic;
}

.pull-right {
	float: right;
}

.validationErrorMessage {
	font-size: 0.8rem;
	padding-top: calc(var(--questionFontSize) / 2);
	padding-bottom: calc(var(--questionFontSize) / 2);
	padding-left: calc(var(--questionFontSize) * 2.5);
	padding-right: var(--questionFontSize);
	color:var(--darkRed);
	font-weight:bold;
	position:relative;
}
.validationErrorMessage:after {
	content:'';
	position:absolute;
	top:calc(var(--questionFontSize) / 1.2);
	left:calc(var(--questionFontSize) / 3);
	height:1.3rem;
	width:1.3rem;
	background-image: url('alert.svg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.dialog-error a.text-link {
	background-color: unset !important;
}

.clickable-subject {
	cursor: pointer;
}

.clickable-subject:hover {
	background-color: var(--darkGreen);
	color: white;
	border-radius: 5px;
}

/* Collapsed sidebar */
.wrapper.collapsed .left-sidebar {
    width: 50px;
}

.wrapper.collapsed nav {
	padding-left: 7px;
}

.wrapper.collapsed .left-sidebar a.logo-link {
    display: none !important;
}

.wrapper.collapsed .left-sidebar ul li a span {
    font-size: 0 !important;
}

.wrapper.collapsed .left-sidebar ul li {
	width: 35px;
}

.wrapper.collapsed .left-sidebar ul li a.sidebar-link {
    padding-top: 10px;
    padding-bottom: 0px;
	padding-right: 5px;
	border-radius: 15px;
}

.wrapper.collapsed .left-sidebar ul li a i {
    font-size: 1em !important;
    height: 28px !important;
	margin-left: 0 !important;
}

.wrapper.collapsed .left-sidebar .nav-small-cap {
    display: none;
}

.wrapper.collapsed .left-sidebar #sidebarCollapse i:first-child,
.left-sidebar #sidebarCollapse i:last-child {
    display: none;
}

.wrapper.collapsed .left-sidebar #sidebarCollapse i:last-child {
    display: block;
}

.wrapper.collapsed #kuraContainer {
    margin-left: 50px;
}

#sidebarCollapse {
	background: none;
	color: black;
	font-weight: bold;
	font-size: 18px;
	position: absolute;
	right: 0;
	top: 0;
	border: none;
}

.wrapper.collapsed .left-sidebar ul {
	margin-top: 40px;
}

.float-right {
	float: right;
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
	#contactsModalContainer .modal-body {
		overflow-y: unset;
	}

	#contactsModalContainer .other-contacts-modal-container {
		height: 360px;
	}
}