html,
body {
    height: 100%;
    font-family: "Roboto";
}

*:focus,
input {
    outline: 0 !important;
    box-shadow: none !important;
}

select[readonly] {
    background: #eee;
    pointer-events: none;
    touch-action: none;
}

a {
    text-decoration: none;
    color: #1b187f;
}

.non-stretched-link {
    position: relative;
    z-index: 2;
}

.underline-link {
    border-bottom: 1px dashed #aaa;
}

.navbar-brand {
    color: #bcc4c8 !important;
    font-weight: bold;
    text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
}

.navbar-brand img {
    height: 26px;
    position: relative;
    top: -1px;
    margin-right: 5px;
}

.bg-dark,
.dropdown-menu-dark {
    background-color: #1b187f !important;
}

.dropdown-header {
    color: #FFF;
}

.bg-light {
    background: #fbf9f8 !important;
}

.hidden {
    display: none !important;
}

.w-1 {
    width: 1% !important;
}

.nav-pills .nav-link {
    padding: 5px 10px;
}

.breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.page-link {
    color: #1b187f;
}

.active > .page-link,
.page-link.active {
    background-color: #1b187f;
    border-color: #1b187f;
}

.btn-primary {
    background-color: #1b187f;
    border-color: #1b187f;
}

.btn-xs {
    padding: 0.10rem 0.4rem;
    font-size: .775rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.form {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.form a {
    text-decoration: none;
}

.form .invalid-feedback {
    display: block;
}

.form .input-normal {
    width: 100%;
    max-width: 350px;
}

form .custom-checkbox .form-check-input:checked {
    background-color: #1b187f;
    border-color: #1b187f;
}

.filter {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

.filter .form-control.is-invalid,
.filter .was-validated .form-control:invalid {
    background-image: none !important;
    padding-right: 0.5rem !important;
}

.filter .input-active {
    background: #eefded;
}

.filter .f-error {
    margin: 0;
    font-size: 0.8rem;
}

.filter .f-error-block {
    margin-top: 0.3rem;
}

.filter .input-min {
    max-width: 100px;
    width: 100%;
}

.filter .input-miner {
    max-width: 150px;
    width: 100%;
}

.filter-scroll {
    max-height: 200px;
    overflow-y: auto;
}

.table .fa,
.table-icon {
    text-decoration: none !important;
    color: #a5a5a5;
    font-size: 1.2rem;
    position: relative;
    top: 3px;
    margin-right: 2px;
}

.table th {
    color: #5c636a;
    font-size: 0.9rem;
}

.table-light {
    border-color: inherit;
}

.fa.default-icon {
    font-size: 1rem;
    top: 0;
    color: #e0cbcc;
}

.f-required {
    color: #E5052B;
    font-weight: bold;
    margin-left: .15rem;
}

.text-date {
    font-size: .875em;
    color: #5c636a;
    text-align: center;
    white-space: nowrap !important;
}

#f-loader {
    width: 46px;
    height: 46px;
    position: fixed;
    top: 50%;
    left: 50%;
    background: #000 url("../img/f-loader.gif") no-repeat center center;
    margin: -23px 0px 0px -23px;
    z-index: 2010;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    opacity: 0.6;
    filter: alpha(opacity=60);
    display: none;
}

#f-loader:after {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    content: " ";
    background: transparent;
}

.sceditor-group {
    background: none !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    border-right: 1px solid #ddd !important;
    padding-right: 5px !important;
}

.sceditor-group:last-child {
    border: 0 !important;
}

@media (max-width: 768px) {

    .hidden-sm {
        display: none !important;
    }
}

/* TODO: */

.device-image-block {
    text-align: center;
}

.device-image-block > div {
    max-height: 500px;
}

.device-image-block #device-image-preview {
    max-height: 500px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.image-item {
    display: inline-block;
    text-align: center;
    font-size: 11px;
    vertical-align: top;
    margin-bottom: 15px;
}

.image-item.image-main-1 .image-update {
    display: none;
}

.image-item-add a {
    text-decoration: none !important;
    border-bottom: 1px dashed;
    position: relative;
    top: 4px;
    color: #6f7071 !important;
    font-size: 13px;
}

.image-item .img-thumbnail {
    max-height: 300px;
    max-width: 300px;
    display: inline-block;
    margin-bottom: 0 !important;
    border-radius: 0;
    position: relative;
}

.image-item.image-main-1 .img-thumbnail {
    border: 1px solid #c41414;
}

.image-item .img-thumbnail img {
    display: block;
    max-width: 100%;
}

.image-item .icon-block {
    position: absolute;
    right: 4px;
    top: 4px;
}

.image-item .icon-block a {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #000;
    opacity: 0.7;
    color: #FFF !important;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-decoration: none !important;
}

.image-gallery img {
    max-width: 100%;
}

.image-gallery .img-thumbnail {
    padding: 2px;
}

.image-gallery .image-thumbnails a {
    display: inline-block;
    width: 150px;
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {

    .image-gallery .image-thumbnails a {
        width: 80px;
        margin-bottom: 3px;
    }
}

.image-gallery .img-item:not(:first-child) {
    display: none;
}

.text-base {
    line-height: 1.3rem;
}

.selectize-input.focus {
    box-shadow: none !important;
}

.selectize-control.multi .selectize-input {
    padding-left: .75rem !important;
}

::-webkit-scrollbar-button {
    background-repeat: no-repeat;
    height: 0;
    width: 100%;
}
::-webkit-scrollbar-track {
    position: absolute;
}
::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: .125rem;
    width: .375rem;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #7f7f7f;
}
::-webkit-resizer {
    background-repeat: no-repeat;
    height: 0;
    width: .5rem;
}
::-webkit-scrollbar {
    max-width: .625rem;
    width: .625rem;
    max-height: 0.625rem;
}