body {
    background-color: #E7EAF1;
}

input {
    border-radius: 4px;
}

.btn {
    box-shadow: 0px 10px 20px rgba(75, 82, 140, 0.15), 0px 5px 15px rgba(75, 82, 140, 0.15), 0px 0px 10px rgba(75, 82, 140, 0.15);
}

.form-signin input {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.login-page {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #E7EAF1;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.collapsed-form-caption-chevron::after {
    content: "\f077";
    font-family: "FontAwesome";
    font-size: 18px;
    font-weight: normal;
}

.collapsed .collapsed-form-caption-chevron::after {
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 18px;
    font-weight: normal;
}

button[aria-expanded="true"] .chevron:after {
    content: "\f077";
    font-family: "FontAwesome";
    font-size: 18px;
    font-weight: normal;
}

button[aria-expanded="false"] .chevron:after {
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 18px;
    font-weight: normal;
}

.navbar-button {
    background: 0;
    color: black;
    border: none;
    font-size: 18px;
    font-weight: normal;
    padding-left: 10px !important;
    box-shadow: unset !important;
}

.change-lng-button-text {
    font-weight: bold;
}

.change-lng-menu {
    max-width: 80px !important;
    min-width: 60px !important;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.toast {
    border: 1px solid #3a9dfa;
}

.dropdown-menu {
    border: none;
    z-index: 200500;
}

.prio-btn {
    width: 72px;
    padding-left: 0;
    padding-right: 0;
}

.main-menu {
    border: none;
    z-index: 200500;
}

.menu-icon {
    width: 32px;
}

.sysinfo-div {
    padding: 20px;
    border: none;
    margin-right: 20px;
    border-radius: 10px;
    background-color: white;
    min-width: 300px;
    padding-left: 48px;
    padding-right: 48px;
}

.sysinfo-div:last-child {
    margin-right: 0;
}

.sysinfo-div-caption {
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.navbar-brand {
    font-family: 'Tahoma', sans-serif;
    font-weight: bold;
    color: #295ab1;
    font-size: 28px;
    padding-left: 68px;
    margin-right: 40px;
    padding-top: 0;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                          supported by Chrome, Edge, Opera and Firefox */
}

.device-name {
    color: #858AA0;
    font-size: 28px !important;
    margin-right: 100px;
    text-transform: uppercase;
}

.userpageFrame {
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    height: 88vh;
}

.navbar {
    min-height: 94px;
}

.navbar-text {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
}

.navbar-header {
    border-bottom: 2px solid #9196AA;
}

.tab-pane {
    padding-top: 20px;
}

.modal.fade {
    background: linear-gradient(0deg, #898989 0%, rgba(142, 142, 142, 0) 98.05%);
    backdrop-filter: blur(10px);
}

.modal-body {
    font-size: 18px;
}

.modal-header {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: var(--secondary);
    color: white;
}

.new-operator {
    background: #B2B7CD;
    cursor: pointer;
    margin-left: 0px;
    margin-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    font-size: 18px;
    color: white;
    font-style: normal;
    font-weight: 500;
}

.nav-link {
    color: #858AA0;
    background-color: #E7EAF1;
    margin-right: 8px;
    height: 40px;
    font-size: 18px;
}

.nav-link:hover {
    color: #858AA0;
    background-color: #E7EAF1;
}

.current-page-title {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    padding-left: 86px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.sysinfo-row {
    padding-left: 0;
    padding-right: 0;
}

td {
    height: 40px !important;
    padding-left: 12px;
    vertical-align: middle !important;
}

.content {
    width: 100%;
    height: 100%;
    padding-left: 88px;
    padding-right: 88px;
}

.form-div {
    padding-left: 48px;
    border-radius: 8px;
    background: white;
    padding-bottom: 48px;
    padding-top: 48px;
    padding-right: 48px;
    margin-bottom: 8px;
}

.collapseToggle {
    cursor: pointer;
}

.form-check-input {
    border-radius: 4px !important;
}

.collapsed-form {
    position: relative;
    padding-left: 48px;
    border-radius: 8px;
    background: white;
    padding-bottom: 32px;
    padding-top: 37px;
    padding-right: 48px;
    margin-bottom: 8px;
}

.collapsed-form-caption {
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;
}


/* .collapsed-form-caption::after {
    content: "      \f078";
    color: #333;
    top: -2px;
    position: relative;
    font-family: "FontAwesome"
}

.collapsed-form-caption[aria-expanded="true"]::after {
    content: "      \f077";
} */

.form-div {
    padding-left: 48px;
    border-radius: 8px;
    background: white;
    padding-bottom: 48px;
    padding-top: 48px;
    padding-right: 48px;
    margin-bottom: 8px;
}

.form-div:last-child {
    margin-bottom: 0px;
}

form {
    padding-left: 20px;
}

.center-form {
    width: 100%;
}

.sysinfo-table {
    width: 100%;
    font-size: 18px;
}

.sysinfo-table tr:hover {
    background-color: #E7EAF1;
    border: none;
}

.list-group-item.active {
    z-index: 2;
    color: #4C4B60;
    background-color: #fff;
    border-color: #fff;
}

.software-table td {
    vertical-align: middle !important;
    border: none;
    margin-right: 20px;
}

.software-table {
    width: 100%;
}

.software-table thead:first-child {
    border-radius: 10px 0 0 10px;
    border-collapse: initial;
}

.software-table thead {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
}

.form-button {
    height: 38px;
    padding-top: 0.25rem;
}

.software-table tr:nth-child(even) {
    background-color: #E7EAF1;
    border: none;
}

.sysinfo-value-column {
    font-weight: bold;
}

.sysinfo-header {
    font-weight: bold;
    margin-left: 20%;
}

.sysinfo-header-param {
    width: 50%;
}

.col-form-label {
    color: var(--secondary);
}


/* .sysinfo-header-value {} */

.card-body {
    margin-left: 5%;
}

.package-version {
    color: #f5f5f5;
    font-size: smaller;
}

.packages-name-column {
    width: 70%;
}

.sysinfo-name-column {
    color: var(--secondary);
}

.incell-table {
    width: 100%;
}

.incell-table tr {
    background-color: white;
}

.vetical-align-top {
    vertical-align: top;
}

.permtable-text {
    font-size: 18px;
    color: var(--secondary);
}

.sliderinput {
    width: 100%;
    margin: 8px 0;
    background-color: transparent;
    -webkit-appearance: none;
}

.sliderinput:focus {
    outline: none;
}

.sliderinput::-webkit-slider-runnable-track {
    background: #2461ff;
    border: 0px solid rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 8px;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

.sliderinput::-webkit-slider-thumb {
    margin-top: -13px;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0px 4px 4px rgba(39, 37, 37, 0.25), 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.sliderinput:hover::-webkit-slider-runnable-track {
    background: #487bff;
}

.sliderinput::-moz-range-track {
    background: #B2B7CD;
    border: 0px solid rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 8px;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

.sliderinput::-moz-range-thumb {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.sliderinput::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 12px 0;
    color: transparent;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

.sliderinput::-ms-fill-lower {
    background: #2461ff;
    border: 0px solid rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 16px;
}

.sliderinput::-ms-fill-upper {
    background: #B2B7CD;
    border: 0px solid rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 16px;
}

.sliderinput::-ms-thumb {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
}

input[type="range"]::-moz-range-progress {
    background-color: #2461ff;
    border-radius: 8px;
    width: 100%;
    height: 8px;
}

input[type="range"]:hover::-moz-range-progress {
    background-color: #487bff;
    border-radius: 8px;
    width: 100%;
    height: 8px;
}

.sliderinput:hover::-ms-fill-lower {
    background: #487bff;
}

.sliderinput:hover::-ms-fill-upper {
    background: #B2B7CD;
}


/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/

@supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    .sliderinput {
        margin: 0;
        /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
}

.loadr {
    z-index: 100500;
    background-color: #E7EAF1;
}

.div-add-usergroup {
    padding-top: 0;
    padding-left: 0;
    border: none;
}

.btn-add-usergroup {
    background: #B2B7CD;
    box-shadow: none;
    border-radius: 0;
    height: 40px;
    border: none;
    color: white;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 8px;
}

@media (max-width: 800px) {
    .navbar {
        min-height: 64px;
    }
    .navbar-right-menu {
        border-top: 2px solid gray;
        margin-top: 26px;
        padding-top: 10px;
    }
    .current-page-title {
        padding-left: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 20px;
    }
    .sysinfo-row {
        padding-left: 5px;
        padding-right: 5px;
    }
    .sysinfo-div {
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .navbar-brand {
        font-family: 'Tahoma', sans-serif;
        font-weight: bold;
        color: #295ab1;
        font-size: 28px;
        padding-left: 20px;
        margin-right: 20px;
    }
    .device-name {
        margin-right: 20px;
    }
    .content {
        padding-left: 8px;
        padding-right: 8px;
    }
    form {
        padding-left: 8px;
    }
    .form-div {
        padding-left: 20px;
        padding-bottom: 20px;
        padding-top: 20px;
        padding-right: 20px;
        margin-bottom: 4px;
    }
    .form-div:last-child {
        margin-bottom: 0px;
    }
    .collapsed-form {
        padding-left: 20px;
        padding-bottom: 20px;
        padding-top: 20px;
        padding-right: 20px;
        margin-bottom: 4px;
    }
    .main-menu .dropdown-item {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .nav-tabs {
        border: 0 !important;
    }
    .nav-tabs .nav-item {
        margin-bottom: 4px;
    }
    .nav-tabs .nav-item .active {
        background-color: var(--primary);
        color: white;
    }
    .nav-tabs .nav-link {
        border-radius: 4px;
        margin: unset !important;
        text-shadow: none !important;
    }
    .tab-content {
        margin-top: 8px;
        padding-top: 10px;
        border: 0 !important;
    }
    .col-form-label {
        text-align: left !important;
    }
    .permtable {
        font-size: 14px !important;
        margin: 0 !important;
    }
    .permtable-text {
        font-size: 14px !important;
    }
    .software-table {
        font-size: 14px !important;
    }
    .software-table thead {
        font-family: Roboto;
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
    }
    .software-table td {
        padding: 8px
    }
    #alarms .disablebtn {
        margin-top: 8px;
    }
}

.alarm-badge {
    padding-top: 0.6em;
    padding-bottom: 0.6em;
}

.card-body {
    margin-left: 0;
}

.checkbox[type="checkbox"] {
    display: none
}

.checkbox[type="checkbox"]+label.fa {
    font-size: 25px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.checkbox[type="checkbox"]:checked+label.fa {
    background: #fff;
}

.checkbox[type="checkbox"]+label.fa:before {
    display: inline-block;
    content: "\f096";
    cursor: pointer;
}

.checkbox[type="checkbox"]:checked+label.fa:before {
    content: "\f046";
    position: relative;
}