html,
body {
    height: 100%;
    font-size: 13px;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, "Open Sans";
    color: #676a6c;
    background-color: #fff;
    overflow: hidden;
}

h1 {
    font-size: 2.3rem;
    font-weight: 400;
}
h2 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3em;
}
h3 {
    font-size: 1.5rem;
    font-weight: 400;
}
h4 {
    font-size: 1.2rem;
    font-weight: 600;
}
h5 {
    font-size: 1rem;
    font-weight: 600;
}
h6 {
    font-size: .9rem;
    font-weight: 400;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

a,
a:hover,
a:focus {
    color: #003E90;
    text-decoration: none;
}


input[type=text],
input[type=date],
textarea {
    padding: 3px 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #333;
    font-weight: 400;
    background-color: #fff;
}

select {
    padding: 3px 30px 3px 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #333;
    font-weight: 400;
    background: transparent url('../assets/images/arrow-down.svg') no-repeat;
    background-position: right 10px center;
    background-size: 1em 1em;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type=text]:hover,
input[type=text]:focus,
input[type=date]:hover,
input[type=date]:focus,
textarea:hover,
textarea:focus,
select:hover,
select:focus {
    border-color: #003E90;
    outline: none;
}

input[type=text]:disabled,
input[type=date]:disabled,
textarea:disabled,
select:disabled {
    border-color: #ddd;
}


input[type=checkbox] {
    accent-color: #003E90;
}


button,
button.btn-default {
    padding: 3px 10px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: #333;
    font-weight: 400;
    text-wrap: nowrap;
    background-color: transparent;
}
button:hover,
button:focus,
button.btn-default:hover,
button.btn-default:focus {
    color: #000;
    background-color: #fff;
    border-color: #003E90;
}

button > i,
button.btn > i {
    vertical-align: middle;
    float: none !important;
}
button > i:not(:last-child),
button.btn > i:not(:last-child) {
    margin-right: .5rem;
}
button > span,
button.btn > span {
    vertical-align: middle;
}

button.small {
    padding: 3px 8px;
    border-radius: 2px;
    font-size: .9rem;
    line-height: 1em;
}
button.btn-xs {
    padding: 2px 5px;
    border-radius: 2px;
    font-size: .9rem;
    line-height: 1em;
}

button.primary,
button.primary:hover,
button.primary:focus,
button.btn-primary,
button.btn-primary:hover,
button.btn-primary:focus {
    color: #fff;
    border-color: #003E90;
    background-color: #003E90;
}
button.btn-primary:disabled,
button.btn-primary:disabled:hover,
button.btn-primary:disabled:focus {
    color: #fff;
    background: #999;
    border-color: #999;
}

button.btn-info,
button.btn-info:hover,
button.btn-info:focus {
    color: #000;
    border-color: #003E90;
    background-color: #fff;
}
button.btn-danger,
button.btn-danger:hover,
button.btn-danger:focus {
    color: #fff;
    border-color: #d63e2a;
    background-color: #d63e2a;
}
button.btn-info:disabled,
button.btn-info:disabled:hover,
button.btn-info:disabled:focus {
    color: #999;
    border-color: #999;
    background-color: #fff;
}


.splash-background {
    position: absolute;
    width: 100%;
    height: 100%;
}
.splash-lightlinx {
    background-color: #003E90;
}

.splash {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.splash .logo {
    width: 100%;
}
#logo-lightlinx {
    width: 600px;
    max-width: 80%;
    filter: invert(100%);
}
#logo-elias {
    max-width: 80%;
}

.splash .fa-spinner {
    text-align: center;
    display: inline-block;
    font-size: 72px;
    color: #808080;
    margin-top: 50px;
}

#content {
    margin: 0 20px;
    flex-grow: 1;
}

.wrapper {
    height: 100%;
}

.main {
    height: calc(100dvh - 125px) !important;
}
  
.is-left {
    text-align: left;
}
.is-center {
    text-align: center;
}
.is-right {
    text-align: right;
}


/* Tabs */
.tabs-container .panel-body {
    position: relative;
    padding: 20px;
}
.panel-body {
    margin-top: -20px;
    padding-top: 40px;
    border: 1px solid #d6d6d6;
    border-top: none;
    border-radius: 2px;
}
.tabs-container .nav-tabs {
    margin: 0;
    padding: 0;
    border: none;
    border-top: 1px solid #d6d6d6;
    list-style: none;
}
.tabs-container .nav-tabs > li {
    margin: 0;
    padding: 0;
    float: left;
}
.tabs-container .nav-tabs > li > a,
.tabs-container .nav-tabs > li > div {
    margin: 0;
    padding: 10px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    color: #000;
    font-weight: normal;
}
.tabs-container .nav-tabs > li a:hover,
.tabs-container .nav-tabs > li div:hover {
    background: none;
    cursor: pointer;
}
.tabs-container .nav-tabs > li > a:hover,
.tabs-container .nav-tabs > li > a:focus,
.tabs-container .nav-tabs > li > div:hover,
.tabs-container .nav-tabs > li > div:focus {
    color: #003E90;
}
.tabs-container .nav-tabs > li.active > a {
    color: #000;
    font-weight: 600;
}
.tabs-container .nav-tabs > li.active > a,
.tabs-container .nav-tabs > li.active > a:hover,
.tabs-container .nav-tabs > li.active > a:focus,
.tabs-container .nav-tabs > li.active > div,
.tabs-container .nav-tabs > li.active > div:hover,
.tabs-container .nav-tabs > li.active > div:focus {
    border: none;
    border-bottom: 2px solid #003E90;
    cursor: pointer;
}
.tabs-container .tab-content {
    padding-top: 30px;
}
      
/* Tables */

.well {
    display: block;
    margin: 0 0 20px 0;
    padding: 20px 10px;
    /*background-color: #eee;*/
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    box-shadow: none;
}

.table {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: collapse;
}

.table > thead > tr > th {
    border-bottom: 1px solid #d6d6d6;
    vertical-align: middle;
    padding: 0 10px 10px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table > tbody > tr > td {
    border: none;
    padding: 10px;
    vertical-align: top;
    line-height: 1.3em;
    vertical-align: baseline;
}

.table > thead > tr > th:first-child,
.table > tbody > tr > td:first-child {
    padding-left: 5px;
}
.table > thead > tr > th:last-child,
.table > tbody > tr > td:last-child {
    padding-right: 5px;
}

.table-striped > tbody > tr:last-child > td{
    border-bottom: 1px solid #d6d6d6;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #eee;
}

.table-middle > tbody > tr > td {
    vertical-align: middle;
}

.table td.narrow {
    width: 1px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.table td.wide {
    min-width: 20dvw;
}
.table td.nowrap {
    text-wrap: nowrap;
}
.table td.check input[type=checkbox] {
    margin: 0;
    vertical-align: middle;
}
.table td.action {
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
}

.table td.editable {
    position: relative;
    padding-right: 40px;
}
.table td.editable:last-child {
    padding-right: 5px;
}
.table td.editable > button {
    display: none;
    position: absolute;
    top: min(50% - 10px, 10px);
    right: 10px;
}
.table tr:hover td.editable > button,
.table tr:focus td.editable > button {
    display: block;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 800px) {
    .table td.wide {
        min-width: 33dvw;
    }

    .table-responsive {
        border: none;
    }
}


/* PAGINATIN */
.pagination {
    margin: 1.5rem 0 0 0;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    border-color: #003E90;
    background-color: #fff;
    color: #676a6c;
    cursor: default;
    z-index: 2;
}

.pagination > li > a,
.pagination > li > span {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #676a6c;
    float: left;
    line-height: 1.42857;
    margin-left: -1px;
    padding: 4px 10px;
    position: relative;
    text-decoration: none;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: #e7e7e7;
    border-color: #ccc;
    color: #676a6c;
}


/* PAGES */
.top-border {
    border-top: 1px solid #d6d6d6;
}

.page-content {
    margin: 0 15px 15px 15px;
    padding-top: 2rem;
}

.page-content hr {
    margin: 1rem 0 2rem 0;
    border-top: 1px solid #d6d6d6;
}

.page-content > h2,
.page-content > h3 {
    margin-top: 1rem;
    padding: 2rem 0 1rem 0;
    border-top: 1px solid #d6d6d6;
}

.button-container {
    padding: 2rem 0 1rem 0;
    text-align: center;
}

.button-container button,
.button-container button.btn {
    margin: 0 .5rem;
    padding: .5em 1em;
    vertical-align: top;
}

@media (max-width: 800px) {
    .button-container button:not(:last-child),
    .button-container button.btn:not(:last-child) {
        margin-bottom: .75rem;
    }
}


/* BUTTON-GROUP (SELECT BUTTONS) */
.btn-group .btn {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #676a6c;
    margin-left: -1px;
    padding: 4px 10px;
    text-decoration: none;
}

.btn-group .active,
.btn-group .active:hover,
.btn-group .active:focus {
    background-color: #fff;
    border-color: #003E90;
    z-index: 3 !important;
    box-shadow: none;
}

.btn-group .btn:hover,
.btn-group .btn:focus,
.btn-group .active:hover,
.btn-group .active:focus {
    background-color: #e7e7e7;
}

/* Dialogs */

ux-dialog-overlay.active {
    background-color: black !important;
    opacity: .5 !important;
}

ux-dialog {
    width: 500px !important;
    padding: 5px !important;
}

ux-dialog > ux-dialog-body {
    padding: 1.25rem !important;
}

ux-dialog > ux-dialog-body > h2 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
ux-dialog > ux-dialog-body > h2 > i {
    margin-right: .5em;
}

ux-dialog > ux-dialog-body .span-flex {
    width: fit-content;
}

ux-dialog > ux-dialog-footer {
    padding: .5rem !important;
    border-color: #d6d6d6 !important;
}

ux-dialog > ux-dialog-footer button {
    padding: 3px 10px !important;
    border: 1px solid #003E90 !important;
    border-radius: 2px !important;
    color: #333 !important;
    font-weight: 400 !important;
    background-color: #fff !important;
}
ux-dialog > ux-dialog-footer button:hover,
ux-dialog > ux-dialog-footer button:focus {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #003E90 !important;
}
ux-dialog > ux-dialog-footer button.btn-primary,
ux-dialog > ux-dialog-footer button.btn-primary:hover,
ux-dialog > ux-dialog-footer button.btn-primary:focus {
    color: #fff !important;
    border-color: #003E90 !important;
    background-color: #003E90 !important;
}
ux-dialog > ux-dialog-footer button.btn-danger,
ux-dialog > ux-dialog-footer button.btn-danger:hover,
ux-dialog > ux-dialog-footer button.btn-danger:focus {
    color: #fff !important;
    border-color: #d63e2a !important;
    background-color: #d63e2a !important;
}

/* Toasts */

#toast-container > .toast {
    background-image: none !important;
    background-color: #fff;
    color: #000;
    border: solid #999;
    border-width: .25rem 1rem;
}
#toast-container.toast-middle-center {
	top: 120px;
	right: calc(50vw - (100vw - 100%) - 150px);
}

#toast-container > div {
    margin: 0;
    padding: 1rem;
    width: max-content;
    max-width: 80vb;
}
#toast-container > div,
#toast-container > :hover {
    -moz-box-shadow: 0 0 3px rgba(86, 96, 117, 0.7) !important;
    -webkit-box-shadow: 0 0 3px rgba(86, 96, 117, 0.7) !important;
    box-shadow: 0 0 3px rgba(86, 96, 117, 0.7) !important;
    opacity: 1;
    -ms-filter: alpha(opacity=100);
    filter: alpha(opacity=100);
}
.toast-top-full-width {
    margin-top: 1.5rem;
}
.toast-bottom-full-width {
    margin-bottom: 1.5rem;
}

#toast-container .toast-message {
    display: inline;
    vertical-align: middle;
}

#toast-container > .toast:before {
    font-family: FontAwesome;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #333;
    margin-right: 1rem;
    vertical-align: middle;
}

#toast-container > .toast-error:before {
    content: "\f071";
    color: #d63e2a;
}
#toast-container > .toast-warning:before {
    content: "\f0e7";
    color: #f69730;
}
#toast-container > .toast-info:before {
    content: "\f005";
    color: #38aadd;
}
#toast-container > .toast-success:before {
    content: "\f00C";
    color: #72b026;
}

#toast-container > .toast-error {
    border-color: #d63e2a;
}
#toast-container > .toast-warning {
    border-color: #f69730;
}
#toast-container > .toast-info {
    border-color: #38aadd;
}
#toast-container > .toast-success {
    border-color: #72b026;
}

/* Open Street Map OSM */

.open-map-popup-wrapper {
    font-size: 12px;
}

.open-map-popup-wrapper hr {
    margin: 0.8em 0;
    border-top: 1px solid #d6d6d6;
}
