html {
    font-size: 80%;
}

table.dataTable tr .widgetGatekeeper i{
    visibility: hidden;
}
table.dataTable tr:hover .widgetGatekeeper i{
    visibility: visible;
}

.webcamModalContent {
    height: 100vh;
}
.webcamModalContent .modal-body {
    max-height:calc(100vh - 120px);
}

#singleSignOnHolder>div:first-child {
    margin: 1.5em 0;
    height: 1px;
    width: 100%;
    border-top: 1px solid black;
    text-align: center;
    position: relative;
}
#singleSignOnHolder>div:first-child span {
    position: relative;
    top: -.7em;
    background: #E9ECEF;
    display: inline-block;
    padding: 0 1em;
}
#singleSignOnHolder .sso {
    width: 16em;
    padding: 12px;
    margin: 0 auto;
}
#singleSignOnHolder .sso img {
    margin-right: 12px;
    height: 2em;
}

.clientSelectorFullName {
    font-size: 80%;
    padding-left: 0.5em;
}

.generalDetailsHidden .generalDetail {
    display: none;
}

.switchesContainer .col-sm-4 .col-sm-4 {
    max-width: 66.6%;
    width: 66.6%;
    flex: 0 0 66.6%
}

.switchesContainer .col-sm-4 .col-sm-8 {
    color: red;
    max-width: 33.3%;
    width: 33.3%;
    flex: 0 0 33.3%
}

.nav-tabs {
    background-color: #F8F9FA;
    border-color: #dee2e6;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
}

.tab-pane {
    padding-top: 1em;
    border-color: #dee2e6;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    border-top: 0px;
    margin-top: -2px;
    overflow-x: auto;
}

span.dropdownSearchable > div.dropdown-menu {
    overflow-y: scroll;
    max-height: 20em;
}

.dropdown-menu {
    z-index: 1002;
}

.fakedSelect {
    overflow-y: scroll;
}

.fakedSelect div {
    padding: 0.2em;
    font-size: 1.2rem;
}

body:not(.disableBigControlsPage) .bigControlsPage .fakedSelect div {
    font-size: 1.5rem;
}

.fakedSelect .selected {
    background-color: #14348b;
    color: white;
}

.dataTables_wrapper .dataTables_processing {
    top: 100px;
    z-index: 1;
    background-color: #E9ECEF;
}
table.dataTable tfoot {
    color: #6c757d;
    display: table-header-group;
}

table.dataTable tfoot tr td {
    border-top: 0;
}

.searchboxSticker {
    background-color: #e9ecef;
}

.mono {
    font-family: monospace;
}

.jumbotron {
    padding: 1em;
}

.jumbotron.importLayout {
    overflow-x: scroll;
}

.form-group {
    margin-bottom: 0.4rem;
}

.form-control, .input-group-text {
    padding: 0.1rem 0.3rem;
}

body:not(.disableBigControlsPage) .bigControlsPage .resetBigControlsPage button {
    font-size: 1rem;
    padding: .375rem .75rem;
}
table.dataTable thead th, table.dataTable thead td, table.dataTable tbody th, table.dataTable tbody td, body:not(.disableBigControlsPage) .bigControlsPage .resetBigControlsPage table.dataTable thead th, body:not(.disableBigControlsPage) .bigControlsPage .resetBigControlsPage table.dataTable thead td, body:not(.disableBigControlsPage) .bigControlsPage .resetBigControlsPage table.dataTable tbody th, body:not(.disableBigControlsPage) .bigControlsPage .resetBigControlsPage table.dataTable tbody td {
    padding: 2px;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    padding: 2px 5px 2px 2px;
}

.tablesBordered table.dataTable thead th, .tablesBordered table.dataTable thead td, .tablesBordered table.dataTable tbody th, .tablesBordered table.dataTable tbody td, .tablesBordered table.dataTable tfoot td {
    padding: 1px;
    border-left: 1px solid #6C757C;
}

.tablesBordered table.dataTable thead th:first-child, .tablesBordered table.dataTable tbody td:first-child, .tablesBordered table.dataTable tfoot td:first-child {
    border-left: 0px;
}

.tablesBordered table.dataTable tbody th, .tablesBordered table.dataTable tbody :not(.additionalDataRow) td {
    border-top: 1px solid #6C757C;
}

table.dataTable tfoot tr td div {
    color: #5A6267;
}

table.dataTable tfoot th input, table.dataTable tfoot td input {
    padding: 2px;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom: 1px solid #111;
    position: sticky;
    top: 45px;
    background-color: white;
    z-index: 1;
}

table.dataTable > tbody > tr:last-child > td {
    border-bottom: 1px solid #111;
}

table.dataTable th.dt-right {
    text-align: right;
    padding-right: 20px;
}

table.dataTable th.dt-center {
    text-align: center;
}

table.dataTable > tbody > tr:hover {
    background-color: #E8EBEE;
    cursor: pointer;
}

.dataTables_length label select, .dataTables_filter label input {
    display: inline;
    width: auto;
}

.dataTables_wrapper .dataTables_info {
    margin-top: -0.6em;
    margin-left: 1em;
    float: left;
    clear: none;
}

.dataTables_wrapper .buttons-csv, .dataTables_wrapper .buttons-excel {
    display: none;
}

.dataTables_wrapper .dataTables_length {
    float: left;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
}

.listTopSearch table {
    width: 100%;
}

.labelListWidget .badge {
    font-size: 100%;
}
.searchboxWidgetExpand {
    position: absolute;
    z-index: 4;
    width: calc(100% - 30px);
    left: 15px;
    padding: 0 30px 15px 15px;
    background-color: #e9ecef;
}

.searchboxWidgetExpandClose {
    position: absolute;
    z-index: 4;
    margin-left: calc(100% - 60px);
    max-width: 30px;
    left: 15px;
}

#infoHolder {
    background: white;
    width: 100%;
    border: #000 1px solid;
    border-top: unset;
}

#infoHolder.hiddenBorder {
    border: unset;
}

#infoHolder .end {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

#infoHolder .content {
    display: flex;
    justify-content: space-between;
    height: fit-content;
}

#infoHolder img {
    max-width: 50px;
}

.navigation {
    cursor: pointer;
    height: auto;
    display: flex;
    align-items: center;
    padding: 5px;
}

.navigation:hover {
    background-color: rgba(101, 101, 101, 0.11);
}

.dataContainer {
    display: flex;
    height: 100%;
    flex: 1;
    padding: 5px;
}

.dataContainer div {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#markerIcon {
    padding: 0 15px;
}

.radio-inline {
    cursor: pointer;
    margin-right: 0.75em;
}
.radio-inline input {
    margin-right: 0.25em;
}

.clickable, a {
    cursor: pointer;
}

.underlined {
    text-decoration: underline;
}

template {
    display: none;
}

.modal-paged {
    position: static;
    padding-left: 15px;
    padding-right: 15px;
}

.modal.show.modal-paged > .modal-dialog {
    transform: none;
}

.modal-p {
    max-width: 100%;
    margin-top: 0;
}

.modal-p .modal-content {
    border: 0;
}

.modal-p > .modal-content > .modal-body {
    padding: 0;
}

#content {
    padding: 0;
}

.inheritance {
    background-color: #f2f2f2;
}

.dt-buttons {
    float: left;
    margin-right: 1em;
}

.columnInfoOpener {
    margin-left: 0.1em;
}

.fixedBottomRight {
    position: fixed;
    bottom: 3em;
    right: 3em;
    padding: 1em;
    background-color: white;
    border-radius: .3rem;
}

.inlineTable {
    display: inline-table;
}
#webcamModal {
    width: 100%;
    height: 100%;
}

#webcamModal > div {
    width: 100vw;
    height: 100vh;
    margin: 0;
    max-width: 100vw;
}
#webcamModal video {
    max-width: 100%;
    max-height: 100%;
}

.webcamPictureTaken img {
    max-height: 300px;
}

.webcamPictureTaken i {
    position: absolute;
    z-index: 2;
    color: red;
    margin: 1em;
}

* {
    word-wrap: break-word;
}

hr {
    width: calc(100% - 1.8em);
    margin-left: 0.9em;
}

option {
    min-height: 1em;
    padding: 0;
}

.vertical-center {
    min-height: 100%;
    min-height: calc(100vh - 179px);
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.floatRight {
    float: right;
}

.floatLeft {
    float: left;
}

.hidden {
    visibility: hidden;
}

.centered {
    text-align: center;
}

.rightAligned {
    text-align: right;
}

.invert {
    filter: invert(100%);
}

.justified {
    text-align: justify;
    text-justify: inter-word;
}

.noMargin {
    margin: 0;
}

.fullHeight {
    height: 100%;
}

.fullWidth {
    width: 100%;
}

.verticalAlignMiddle {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.okText {
    color: green;
}

.wrongText {
    color: red;
}

.negativeBalance {
    color: red;
}

.positiveBalance {
    color: green;
}

.fakeToast {
    position: fixed;
    bottom: 40px;
    background-color: grey;
    color: white;
    width: 80%;
    left: 10%;
    text-align: center;
    padding: 1em;
    border-radius: 3em;
    opacity: 0;
    transition: opacity .15s ease-in-out;
    z-index: 999;
}

#versionUpdate {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: red;
    color: white;
    font-size: 1.5em;
    border-top: 2px solid black;
}

#scheduledMaintenance {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: orange;
    color: white;
    font-size: 1.5em;
    border-top: 2px solid black;
}

.labelListVertical {
    overflow-y: auto;
    height: 11em;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.labelListVertical span {
    background-color: white;
    display: block;
    font-size: 100%;
    font-weight: normal;
    color: #495057;

}

body:not(.disableBigControlsPage) .bigControlsPage table.dataTable thead th, body:not(.disableBigControlsPage) .bigControlsPage table.dataTable thead td, body:not(.disableBigControlsPage) .bigControlsPage table.dataTable tbody th, body:not(.disableBigControlsPage) .bigControlsPage table.dataTable tbody td {
    padding-top: 20px;
    padding-bottom: 20px;
}

body:not(.disableBigControlsPage) .bigControlsPage {
    font-size: 1.5rem;
}

body:not(.disableBigControlsPage) .bigControlsPage .btn {
    padding: 1.8rem;
    font-size: 2.5rem;
}

body:not(.disableBigControlsPage) .bigControlsPage input, body:not(.disableBigControlsPage) .bigControlsPage textarea, body:not(.disableBigControlsPage) .bigControlsPage select {
    padding: 0.8rem;
    font-size: 1.5rem;
}

.dataTables_wrapper .btn {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}

.dataTables_wrapper input {
    padding: 0.1rem 0.3rem;
    font-size: 1rem;
}

body:not(.disableBigControlsPage) .bigControlsPage input[type=radio] {
    width: 2rem;
    height: 2rem;
}

.clearEnumFilter {
    float: right;
    margin-top: 0.4em;
}

.enumSelectbox {
    overflow: auto;
    width: 100%;
    position: relative;
}

.floatingSaveButtonSpan {
    z-index: 999;
}

.maxHeight50vh {
    max-height: 50vh;
    overflow: auto;
}

.chartJSLegend {
    text-align: center;
}

.chartJSLegendDataset {
    cursor: pointer;
    margin: 0.3rem;
    white-space: nowrap;
}

.chartJSLegendDatasetDisabled {
    text-decoration: line-through;
}

.chartJSLegendDatasetColor {
    display: inline-block;
    margin-right: 0.2rem;
    width: 1rem;
    height: 1rem;
}

.dropdown a.odd {
    background-color: rgba(0, 0, 0, .05);
}

.bgSilver {
    background-color: silver;
}

.bgYellow {
    background-color: yellow;
}

.bgBlue {
    background-color: blue;
    color: white;
}

.bgAqua {
    background-color: aqua;
}

.dropdown-item.selected {
    background-color: #14348b !important;
    color: white !important;
}

.loader {
    height: 150px;
    width: 150px;
}

#reportLoader {
    position: fixed;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 50px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px 6px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.loaderText {
    margin-top: 50px;
    font-weight: bold;
    font-size: 1.5rem;
}

.reportGeneratingAppNameText {
    margin-bottom: 50px;
    font-weight: bold;
    font-size: 1.5rem;
}

.loader {
    height: 150px;
    width: 150px;
}

#reportLoader {
    position: fixed;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 50px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px 6px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.loaderText {
    margin-top: 50px;
    font-weight: bold;
    font-size: 1.5rem;
}

.reportGeneratingAppNameText {
    margin-bottom: 50px;
    font-weight: bold;
    font-size: 1.5rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.dropdown-menu.show {
    display: block;
}

.nav-item a:hover {
    background-color: #ddd;
}

#overflow * {
    text-align: left !important;
}

#overflow .dropdown-menu {
    top: unset !important;
    left: unset !important;
    transform: none !important;
    position: relative !important;
    width: 100% !important;
    will-change: unset !important;
    float: unset;
}

.dropdown-toggle::after {
    transform: rotateX(0deg);
    transition-duration: 500ms;
}

.show .dropdown-toggle::after {
    transform: rotateX(180deg);
}

.menu {
    width: 100%;
    margin: 0 auto;
    position: sticky;
    background-color: #f8f9fa;
    top: 0;
    z-index: 1001;
    white-space: nowrap;
}

.dropdown-menu {
    background-color: #F2F2F2;
}

.menu li {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    min-width: 35px;
    text-align: center;
}

#overflow {
    width: 100%;
}

#overflow li {
    display: block;
    width: 100%;
}

#menu_ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
}

#more {
    margin-left: auto;
}

.nav-item {
    flex-shrink: 0;
}

.dropdown-menu .show {
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: unset;
}

.dropdown-menu .show a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #ddd;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    border-bottom: solid 1px #14348b;
}

.menu ul#menu_ul li a.nav-link {
    padding: 1em 0.5rem;
}

.nav-link {
    padding: 0.5rem;
}

.loaderBar {
    width: 100%;
    height: 1px;
    animation-name: loadingBarColorChange;
    animation-duration: 1s;
    background-color: white;
}

@keyframes loadingBarColorChange {
    0% {
        background-color: white;
    }
    50% {
        background-color: #14348b;
    }
    100% {
        background-color: white;
    }
}

.menu .dropdown .dropdown-menu, #clients .dropdown .dropdown-menu, #profile .dropdown .dropdown-menu {
    background-color: #F2F2F2;
    border-color: #213D83;
    margin-top: 0;
    border-radius: 0 0 .25rem .25rem;
}

#clients .dropdown .dropdown-menu .dropdown-item:hover, #profile .dropdown .dropdown-menu .dropdown-item:hover {
    background-color: #E8EBEE;
}

.cookiesNotAccepted {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

#cookieBanner {
    z-index: 9999999999999;
    display: flex;
    flex-direction: column;
    position: fixed;
    padding: 1rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 1rem;
    border: 3px solid black;
}

#cookieBanner h3 {
    margin: 0;
}

#cookieBanner > * {
    margin-top: 1rem;
}

#cookieBanner > *:first-child {
    margin-top: 0;
}

#cookieBanner label {
    margin-left: 5px;
}

#cookieBanner .buttonContainer {
    display: flex;
    justify-content: flex-end;
}

#cookieBanner .buttonContainer > * {
    margin-left: 1rem;
}

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

.table-larger-spaced td {
    padding: 0.5em;
}
.table-striped tbody tr.odd.alert-danger {
    background-color:rgba(248,215,218,.95);
}
.table-striped tbody tr.even.alert-danger {
    background-color:rgba(248,215,218,.5);
}
.table-striped tbody tr.odd.alert-info {
    background-color:rgba(209,236,241,.95);
}
.table-striped tbody tr.even.alert-info {
    background-color:rgba(209,236,241,.5);
}
.phonedDatatable {
    padding-top: 1px;
    background-color: #14348b
}
.phonedDatatable .tableRow {
    padding-bottom: 1px;
    background-color: #14348b;
}
.phonedDatatable .collapsible {
    color: #212529;
    background-color: #f8f8ff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
}
.phonedDatatable .collapsible:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    float: right;
    margin-left: 5px;
}
.phonedDatatable .active:after {
    content: "\f106";
}
.phonedDatatable .rowContent {
    max-height: 0;
}
.phonedDatatable .rowContent {
    padding: 0 18px 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #fff;
}
.columnCSV {
    display: none;
}
.showColumnCSV .columnCSV {
    display: inline-block;
    margin-right: 2px;
}
.minimizedModal {
    width: fit-content;
    margin: 0 auto;
}
#cordovaCloseCam {
    float: right;
    margin: 1em;
    background-color: darkgrey;
    border-radius: 2em;
    line-height: 2em;
    width: 2em;
    text-align: center;
}

/* Google Maps adjustments: */
div.gm-style div.gm-style-moc {
    /* Don't know what this div is for, but it breaks the map on safari devices */
    display: none;
}
.gm-style-iw button:focus {
    outline: 0;
}