:root {
    --bs-link-color: #212529;
    --bs-link-hover-color: #212529;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /* background-color :#eeeeee!important; */
  background-color: #eee!important;
}

.container-fluid.no-padding {
    padding: 0;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

text {
    font: 12px sans-serif;
}

.footer {
    margin-top: 20px;
}

#login {
    background: white;
    margin: 25px 0 25px 0;
    border-radius: 10px;
    padding: 20px;
}

.navbar-brand {
    font-size: 16px;
}

.table .thead-light th {
    background-color: #c3c3c3;
    border-color: black;
}

h3 {
    font-family: 'Roboto', sans-serif;
}

.bg-secondary{
    background-color: rgb(255, 166, 0)!important;
}

.btn-xs {
    height: 22px;
    font-size:13px;
    padding: 0px 8px 4px 8px;    
}

.card {
    box-shadow:0 3px 7px 0 rgba(59,65,94,.1), 0 1px 3px 0 rgba(0,0,0,.07);
}
*:focus {
    outline: none !important;
}
/* ---------------------------------------------------
    CHARTS
----------------------------------------------------- */
svg.nvd3-svg {
    height: 400px!important;
    width: 100%;
    display: block;
    background: white;
    border: 1px solid rgba(14, 37, 153, 0.1);;
}

.chartTitle {
    width: 100%;
    background: white;
    text-align: center;
    color:  rgba(55, 56, 61, 0.5);
    font-family: 'Roboto', sans-serif;
    margin-top: 5px;
    padding:2px;
    border: 1px solid rgba(14, 37, 153, 0.1);;
    border-bottom: 2px inset rgba(55, 56, 61, 0.1);
}

.chartTitle h2{
    margin: 0;
}

/* ---------------------------------------------------
    NAVIGATION
----------------------------------------------------- */
.navbar {
    border-bottom: 1px solid #4e4e52;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.c-login {
    color:white;
    font-size: 14px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    text-transform: uppercase;
    padding-right: 75px;
}
.c-login a {
    margin-left: 20px;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    min-width: 150px;
    max-width: 150px;
    background: #eeeeee;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -150px;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul.my-submenu li a{
    background: #626a74; 
    font-size: 1em;
    padding-left: 30px;
}

#sidebar ul li a {
    padding: 3px 5px 3px 15px;
    font-size: 1.1em;
    display: block;
    background: #343a40; 
    margin: 0 0px 2px 0;
    box-shadow: inset 0 0 1px rgb(112, 112, 112), -2px 1px 2px #343a40;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

a[data-bs-toggle="collapse"] {
    position: relative;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 95%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

#content-public {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 650px) {
    #sidebar {
        margin-left: -150px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    .c-login {
        padding: 0;
        margin: 0;
    }
    .navbar-brand {
        margin-left:auto;
        margin-right:auto;
    }
    .c-small {
        margin-left:auto;
        margin-right:auto;
    }
}

/* ---------------------------------------------------
   Admin dashboard
-------------------------------------------------- */
#bulk_actions {
    display: none;
    padding-bottom: 8px;
  }
  
#scope {
    margin-bottom: 0;
    width: 160px;
    height: 29px;
    font-weight: 400;
    font-size: 12px;
  }

a.sort:after {
    content: '\f0dc';
    font-family: "Font Awesome 5 Free"!important;
    margin-left: 6px;
    color: #BBB;
}

a.asc:after {
    content: '\f0dd';
    font-family: "Font Awesome 5 Free";
    margin-left: 6px;
    color: #444;
}

 a.desc:after {
    content: '\f0de';
    font-family: "Font Awesome 5 Free";
    margin-left: 6px;
    color: #444;
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}


/* ---------------------------------------------------
    Toggler
----------------------------------------------------- */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
  }
  
/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}
 
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ---------------------------------------------------
    STATISTICS FORMS
----------------------------------------------------- */

.fstatistics {
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 420;
}

.fstatistics .form-control:not(.modalArea) {
    height:30px!important;
    font-size: 0.9rem;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: #f8f8f8;
}

.fstatistics #location {
    padding-top: 3px;
}

.fstatistics .mb-3 {
    margin-bottom: 0 !important;
}

.fstatistics label {
    margin-bottom: 0.05rem;
    font-weight: 700;
}

.fstatistics .switch label {
    position: relative;
    bottom: 26px;
}

.fstatistics .switch {
    margin-left: 30px;
    margin-right: 10px;
}

.fstatistics .checkbox {
    margin-bottom: -18px;
}

.fstatistics #filter {
    height: 28px;
    padding: 1px 6px;
    font-size: 0.9rem;
    margin-bottom: -13px;
}

.fstatistics span{
    color: grey;
}

.fstatistics .icon-btn {
    margin: 0 0px -5px 30px;
}

.fstatistics .trenn {
    display: none;
    margin: 10px 0 15px 0;
}

@media (max-width:650px) {
    .fstatistics .switch {
        margin: 0 25px 10px 5px!important;
    }
    .fstatistics .trenn {
        display: inline;
    }
}

/* ---------------------------------------------------
    Location Pills
----------------------------------------------------- */
#locationFilter {
    background-color: white;
    margin-top: 2px;
}

/* ---------------------------------------------------
    LOADING
----------------------------------------------------- */

#loading {
    display: none;
    position: absolute;
    top: 35%;
    left: 50%;
    height: 100px;
    width: 200px;
    background: rgb(180, 180, 180);
    opacity: 0.7;
    border-radius: 20px;
    padding: 34px;
}

#loading>div {
    width:120px;
    height:32px;
    margin: 0 14px;
}

#loading>div>div{
    font-size: 1.1rem;
    height: 24px;
    margin-top: 4px;
    margin-left: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

/* ---------------------------------------------------
    DASHBOARD
----------------------------------------------------- */
.progressTitle {
    font-size:1.05rem;
    font-weight: 450;
    overflow:hidden;
    padding-right: 0;
}
.progressBody {
    padding-left:0;
    padding-top:5px;
}

.progress-bar {
    color: black;
    padding-left: 15px;
    padding-bottom:2px;
    text-align: left;
    font-weight: 700;
    background-color: #51a2fa;
    font-size: .85rem;
}

.progress-container {
    position: relative;
}

.progress-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap;
}

.row {
    margin-bottom: 5px;
}

.live-body img {
    width: 100%;
    max-height: 200px;
    border-radius: 5px;
}

.live-body .progress-bar {
    font-size: 15px;
}

.live-body .tag {
    font-size: 13px;
    background-color: #007bff;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
    margin-top:1px;
    color: white;
}

.support-live {
    max-width:300px;
}

.support-live h4 {
    margin: 0;
}
.support-live .card-header {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}
.support-live-body {
    padding:1rem;
}

.support-live-body img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.support-live-body .progress-bar {
    font-size: 12px;
}
.support-live-body .progress {
    height: 1.1rem;
}
.support-live-body .tag {
    font-size: 12px;
    background-color: #007bff;
    border-radius: 8px;
    font-weight: 450;
    white-space: nowrap;
    margin-top:1px;
    color: white;
}

.tvrh {
    margin: 10px 40px 10px 40px;
}

.tvrh-nav .nav {
    position: sticky;
    top: 50px;
}

.tvrh-cards .card{
    margin-left: 10px;
    margin-bottom: 10px;
}

.tvrh-table {
    margin-left:10px;
}

.tvrh-nav {
    background-color: white;
    border-radius: 5px;
    margin-bottom: 20px;
}

.tvrh-cards .card-link {
    background-color: rgb(187, 187, 187);
    border-radius: 10px;
    padding: 1px 5px;
}

.tvrh-nav > div {
    padding: 5px;
}

.tvrh-nav .list-group-item {
    padding: 3px 10px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
}

.typeForm .form-row {
    margin: 10px 5px;
}

.deviceTypes .card {
    margin: 10px 5px;
}

.typeForm input {
    margin-bottom:2px;
}

.hidden {
    display: none;
}

.flash-header {
    font-size: 13px;
    margin: -12px -20px 6px;
    padding: 3px 5px;
    border-bottom: 1px groove;
    border-left: 3px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-weight: 400;
}

.comment-content {
    font-size: 15px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-weight: 400;
    color:black!important;
}

.sort-devices { 
    border: none; 
    text-decoration: none;
    background-color: #c3c3c3;

}

.sort-devices:hover { 
    text-decoration: none; 
    text-shadow: 1px 0px 0px;
}

.sort-devices:focus { 
    outline: none; 
}

.sort-devices:after {
    font-weight:900;
    content: '\f0dc';
    font-family: "Font Awesome 5 Free";
    margin-left: 6px;
    color: rgb(110, 110, 110);
}

.sort-devices.asc:after { 
    font-weight:900;
    content: '\f0dd';
    font-family: "Font Awesome 5 Free";
    margin-left: 6px;
    color: #444;
}

.sort-devices.desc:after { 
    font-weight:900;
    content: '\f0de';
    font-family: "Font Awesome 5 Free";
    margin-left: 6px;
    color: #444;
}

input.search {
    border:solid 1px #ccc;
    border-radius: 5px;
    padding:7px 14px;
    margin-bottom:10px;
    height: 24px;
    font-size: 12px;
}

.accordion a[aria-expanded="true"]{
    background-color: #007bff;
}


.accordion a[aria-expanded="true"] span{
    color: #fff!important;
}

#accordionTypes .card{
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)!important;
    border-bottom: 1px solid rgba(0,0,0,.125)!important;
}

.filter .active {
    border-radius: .25rem;
}

.filter .nav-item {
    min-width: 200px;
}

.filter .nav-link {
    white-space: nowrap;
    background-color: white;
    margin: 2px;
    border: 1px solid rgba(0,0,0,.125);
}

.filter .nav-link.active:hover {
    background-color: #007bff;
}

.filter .nav-link:hover {
    background-color: rgba(71, 71, 71, 0.192);
}

.disabled:hover {
    background-color: white!important;
    cursor: default!important;
}

.nav-button-green {
    background-color:#28a745!important; 
    color:white; 
    min-width:150px!important;
}
.logfile-body {
    background-color:rgba(243, 243, 243, 0.507);
}

/* ---------------------------------------------------
    Locations tab
----------------------------------------------------- */
.clean-empty, .clean-empty:focus {
    background-image: repeating-linear-gradient(165deg, rgba(255, 132, 132, 0.3), rgb(255, 132, 132, 0.3) 5px, #ff404056 5px, #ff404056 10px)!important;
    border: 1px solid red !important;
    border-radius: 3px;
    background-repeat: repeat!important;
    background-position: 0% 0%!important;
    background-size: auto auto!important;
}
.clean-select {
    font-size: 12px;
    width: 100%;
    padding: 2px 1px 1px 6px;
    max-width: 100%; 
    min-width: 125px;
    box-sizing: border-box;
    margin: 0;
    border: 0px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
      linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
    display: none;
}

.select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222; 
    outline: none;
}
.select-css option {
    font-weight:normal;
}


input.clean {
    -webkit-appearance: none;
    border:none;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

input.clean:focus {
    -webkit-appearance: search;
}

.trash-location {
    color: white;
}

tr:hover .trash-location {
    color: black;
}

td a {display:block;}

.config-table {
    border-radius:3px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    padding: 5px 10px;
    margin: 0 20px 15px 0;
}

.config-table>table>tbody>tr:first-child>td{
    border-top:0;
}

.config-table>table>tbody>tr:first-child>th{
    border-top:0;
}

.config-table>table {
    margin: 0;
}

.config-table.config-small input {
    width: 125px;    
}

.table tbody+tbody {
    border-top: 0px;
}

.config-sub {
    font-size:0.85rem;
}

tr.config-sub td:first-child {
    padding-left: 20px;
}

.TrueVRLog {
    background-color: rgb(255, 255, 255);
    margin: 10px 0;
    padding: 10px;
}

/* ---------------------------------------------------
    TrueVR cards and filters
----------------------------------------------------- */
.tvr-filter {
    background-color: white;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 3px 5px;
    box-shadow:0 3px 7px 0 rgba(59,65,94,.1);
}

.tvr-card {
    background-color: white;
    margin: 5px;
    box-shadow:0 3px 7px 0 rgba(59,65,94,.1), 0 3px 6px 0 rgba(0,0,0,.07);
    border-radius: 10px; 
}

.tvr-sessions-header {
    padding: 10px 20px;
    border-radius: 10px 10px 0 0; 
    border-bottom: 1px solid rgba(0,0,0,.125)
}

.tvr-sessions-header h3 {
    margin: 0;
}

.tvr-sessions-body {
    padding: 10px 20px;
}

.tvr-sessions-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.tvr-sessions-list li {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 5px 5px 3px 3px;
    margin: 5px 0;
    background-color: rgba(194, 194, 194, 0.192);
    box-shadow: 0 1px 1px 0 rgba(59,65,94,.1);
}

.tvr-sessions-item-header{
    margin: 5px 3px;
    font-weight: 450;
}

.tvr-sessions-item-body{
    background-color:white;
    border-radius: 0 0 3px 3px;
    border-top: 1px solid rgba(0,0,0,.125);
    box-shadow:0 7px 14px 0 rgba(59,65,94,.1), 0 3px 6px 0 rgba(0,0,0,.07);
}

/* ---------------------------------------------------
    Dialogs
----------------------------------------------------- */
dialog {
    align-self: center;
    border: 0;
    box-shadow: 0 0 1em rgb(0 0 0 / .3);
}

dialog::backdrop {
    background: rgb(0 0 0 / .4);
}

/* ---------------------------------------------------
    TrueVR support dashboard
----------------------------------------------------- */
.bug-header {
    font-style: normal;
    margin-right: 30px;
    white-space: nowrap;
}

.text-bugs {
    margin-left: 35px;
}

tr.table-orange {
    background-color: rgba(255, 68, 0, 0.4);
}

.tvr-support-table td {
    padding: 10px 5px;
    font-weight: 445;
}

.tvr-support-table th {
    padding: 10px 10px 10px 30px;
    color:rgb(80, 80, 80, 1);
}

.tvr-log-table-even > div:nth-of-type(even) {
    background-color: rgb(226, 226, 226);
}
.tvr-log-table-odd > div:nth-of-type(odd) {
    background-color: rgb(226, 226, 226);
}

.tvr-hide {
    background-color: white;
    color:white;
    border-color:white;
}

.tvr-config-list {
    font-size: 13px;
}
.tvr-alert > div {
    border-radius: 10px;
}
.tvr-alert > div > div {
    margin-left: 10px;
}

/* restores some of the old behavior from before bootstrap 5*/
label {
    display: inline-block;
    margin-bottom: .5rem;
}