:root {
    --input-border-color: #bbddee;
    --input-border-color-active: #007ee5;
    --input-placeholder-color: #555;
    --mis-color-success: #3adb76;
    --mis-color-alert: #cc4b37;
    --mis-color-warning: #ffae00;
    --input-radio-button-checked-color: #1779ba;
    --input-radio-button-unchecked-color: #e6e6e6;
}

body, html {
    width: 100%;
    height: 100%;
    margin:0;
    padding: 0;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1.1rem;
}

.center-page {
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}

.right {
    text-align: right;
}

#loginbox {
    display: table-cell;
    vertical-align: middle;
}

#loginbox div {
    display: inline-block;
    width: 300px;
}

#loginbox input[type="text"], #loginbox input[type="password"] {
  appearance: none;
  border: 0;
  outline: 0;
  border: 0;
  border-bottom: 1px solid var(--input-border-color);
  font-size: 0.9rem;
  box-shadow: none;
  width: 19rem;
  height: auto;
}

#loginbox input[type="text"]:focus, #loginbox input[type="password"]:focus {
  appearance: none;
  border: 0;
  outline: 0;
  border: 0;
  border-bottom: 1px solid var(--input-border-color-active);
  font-size: 0.9rem;
  box-shadow: none;
}

#loginbox input[type="text"]::placeholder, #loginbox input[type="password"]::placeholder{
    color: var(--input-placeholder-color);
}

a {
    font-size: 0.9rem;
}

#reset_password {
    margin-top: 2px;
    float: right;
    line-height: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
}

#remember_me_wrapper {
    display: inline-block;
    float: left;
}

#remember_me_wrapper input {
    margin-top: 6px;
}

/* top menu */
.no-js .title-bar {
  display: none;
}



#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

main.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    position: absolute;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background:#fff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    box-shadow: inset -1px 0px 0px 0px #DDDDDD;

}


main.toggled #sidebar-wrapper {
    width: 250px;
    height: 100%;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

main.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li div.menuRow {
    display: flex;
}

.sidebar-nav li div.menuRow div{
    flex: 1;
}

.sidebar-nav li a {
    text-indent: 0;
    display: inline-block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    font-weight: bold;
}

.sidebar-nav li div.right a{
    margin-right: 20px;
    color: var(--mis-color-success);
}

.sidebar-nav li.active a {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.sidebar-nav li.active {
    background-color: #0084ff;
}
.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #000;
    background: none;
}

.sidebar-nav .sidebar-nav {
    display: none;
    margin-left: 10px;
}

@media(min-width:768px) {
    main {
        padding-left: 250px;
    }

    main.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    main.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    main.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

#sidebar-wrapper li.active > a:after {
    content: "";
    display: inline-block;
    position: absolute;
    right: -1px;
}

.sidebar-brand {
    border-bottom: 1px solid rgba(102, 97, 91, 0.3);
}

.sidebar-brand {
    padding: 18px 0px;
    margin: 0 20px;
}

.navbar .navbar-nav > li > a p {
    display: inline-block;
    margin: 0;
}
p {
    font-size: 16px;
    line-height: 1.4em;
}

btn-menu {
    border-radius: 3px;
    padding: 4px 12px;
    margin: 14px 5px 5px 20px;
    font-size: 14px;
    float: left;
}

.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* dashboard */
#systemStatus {
    text-align: center;
}

em.abcd {
    color: var(--alert-color);
    font-weight: bold;
}

/* devices widget */
#deviceWidgetContainer {
    margin: 15px;
    display: inline-block;
    position: relative;
    z-index: -1;
}

#deviceWidget {
	display:  block;
	margin: 0;
	padding: 0;
    float: left;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1000;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

.deviceSlotRow {
	display:table-row;
	max-height: 9.5%;
}

.deviceSlotColumn {
	display:table-cell;
    width: 100%;
    padding-bottom: 0;
 }

.deviceSlotColumn2 {
	float: left;
	display:table-column;
    width: 40.7%;
}

.deviceSlotColumn3 {
	float: left;
	display:table-column;
    width: 33%;
}

.deviceSlotColumn4 {
	float: left;
	display:table-column;
	width: 22.5%;
}





/* forms */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], textarea {
  width: 29rem;
  appearance: none;
  border: 0;
  outline: 0;
  border: 1px solid var(--input-border-color);
  font-size: 0.7rem;
  box-shadow: none;
  height: 1.1rem;
  margin: 0 0 0.2rem 0;
  padding: 0 0 0 0.5rem;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="date"]:focus, textarea:focus {
  appearance: none;
  border: 0;
  outline: 0;
  border: 1px solid var(--input-border-color-active);
  box-shadow: none;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder, input[type="number"]::placeholder, input[type="date"]::placeholder, textarea::placeholder {
    color: var(--input-placeholder-color);
}

select {
  min-width: 29rem;
  width: auto;
  appearance: none;
  border: 0;
  outline: 0;
  border: 1px solid var(--input-border-color);
  font-size: 0.7rem;
  box-shadow: none;
  height: 1.1rem;
  margin: 0 0 0.2rem 0;
}

select:focus {
  appearance: none;
  border: 0;
  outline: 0;
  border: 1px solid var(--input-border-color-active);
  box-shadow: none;
}

.numberWithoutArrows {
    -moz-appearance: textfield !important;
}

input.numberWithoutArrows::-webkit-outer-spin-button,
input.numberWithoutArrows::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

.connectivityBandwidth input {
    display: inline;
    width: 4em;
}

.button-group input {
    display: none;
}

.button-group input:not(:checked) + label{
  background-color: var(--input-radio-button-unchecked-color);
}

.button-group input:checked + label,
.button-group input:checked + label:active {
  background-color: var(--input-radio-button-checked-color);
  color: white;
}

.autocomplete {
         /*the container must be positioned relative:*/
         position: relative;
         display: inline-block;
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}
.autocomplete-selected {
    background: #F0F0F0;
}
.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}
.autocomplete-group {
    padding: 2px 5px;
}
.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

.showAdvanceFormOptionsButton {
    font-size: 0.9em;
    padding-bottom: 1em;
}

.advancedFormOptions {
    max-height: 0;
    transition: max-height 0.3s linear;
    visibility: hidden;
}

.advancedFormOptions.expanded {
    visibility: visible;
    max-height: 900px;
}


/* badge */
.tBadge {
    display: inline-block;
    position: relative;
    border-style: solid;
    border-width: 1px;
    background-color: transparent;
    font-size: 0.6em;
    font-weight: 800;
    padding: 0.3em 0.6em 0.35em;
    text-transform: uppercase;
    letter-spacing: .0714285714em;
    border-radius: .2142857143rem;
    line-height: 1;
    white-space: nowrap;
}

.tBadge--success {
    border-color: var(--mis-color-success);
    color: var(--mis-color-success);
}

.tBadge--alert {
    border-color: var(--mis-color-alert);
    color: var(--mis-color-alert);
}

/* off canvas */
.oc {
    background: #fff;
    min-height: 250px;
        height: auto;


}

.ocContent {
    padding: 5px;
}

/* icons */
.icon--alert {
    color: var(--mis-color-alert);
}

.icon--success {
    color: var(--mis-color-success);
}

td.actionButtons {
    text-align: right;
}

td.actionButtons button{
    cursor: pointer;
}

td.actionButtons a {
    margin: 0;
}

td button.tiny {
    margin-right: 15px;
}

/* button group */
.button-group.modal-button {
    margin-right: 30px;
}

/* pages styles */
#locationAddressInputs, #locationGPSInputs, #locationBuildingInputs {
    display: none;
}

/* loader/spinner */

#page-loader {
    left: 50%;
    top: 30%;
    position: absolute;
    margin-left: -50px;
    width: 100px;
    height: 100px;
    background-color: #eee;
    text-align: center;
    border-radius: 5px;
    display: none;
    z-index: 999;
}

.spinner-wave {
    margin: 10px auto;
    width: 100px;
    height: 50px;
    text-align: center;
}
.spinner-wave > div {
    background-color: #126195;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: wave 1.6s infinite ease-in-out;
    -moz-animation: wave 1.6s infinite ease-in-out;
    -o-animation: wave 1.6s infinite ease-in-out;
    -ms-animation: wave 1.6s infinite ease-in-out;
    animation: wave 1.6s infinite ease-in-out;
}

.spinner-wave div:nth-child(2) {
    -webkit-animation-delay: -1.4s;
    -moz-animation-delay: -1.4s;
	-ms-animation-delay: -1.4s;
	-o-animation-delay: -1.4s;
    animation-delay: -1.4s;
}

.spinner-wave div:nth-child(3) {
    -webkit-animation-delay: -1.2s;
    -moz-animation-delay: -1.2s;
	-ms-animation-delay: -1.2s;
	-o-animation-delay: -1.2s;
    animation-delay: -1.2s;
}

.spinner-wave div:nth-child(4) {
    -webkit-animation-delay: -1.0s;
    -moz-animation-delay: -1.0s;
	-ms-animation-delay: -1.0s;
	-o-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner-wave div:nth-child(5) {
    -webkit-animation-delay: -0.8s;
    -moz-animation-delay: -0.8s;
	-ms-animation-delay: -0.8s;
	-o-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes wave {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}
@-moz-keyframes wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1.0); }
}
@-o-keyframes wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1.0); }
}
@-ms-keyframes wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1.0); }
}
@keyframes wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1.0); }
}

#meeportal_modalMessageHeader.info {
    background-color: var(--mis-color-success);
}

#meeportal_modalMessageHeader.error {
    color: white;
    background-color: var(--mis-color-alert);
}

#meeportal_modalMessageHeader.warning {
    background-color: var(--mis-color-warning);
}

.bankAccountInputGroup input {
    display: inline-block;
    width: 20em;
}

.bankAccountInputGroup #bank_code {
    width: 4em;
}

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

#bankAccountAPIFields {
    display: none;
}

.productAvailability {
    display: inline-block;
}

.productAvailability .column{
    float: left;
    margin-right: 20px;
}

.switch {
    clear: right;
}