﻿html, body {
    width: 100%;
    height: 100%;
    min-height: 340px;
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: sans-serif, 'Trebuchet MS', 'Gill Sans', 'Gill Sans MT', Calibri;
}

.view-switcher {
    padding: 0.5em; 
    font-weight: normal;
}

#header {
    position: fixed;
    overflow: hidden;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #575291;
    color: white;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

#content {
    position: fixed;
    overflow-wrap: break-word;
    overflow-y: auto;
    overflow-x: hidden;
    top: 60px;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: white;
    color: #575291;
    z-index: 0;
}

#footer {
    position: fixed;
    overflow: hidden;
    bottom: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
}

#header-item {
    width: 300px;
    margin: 0 auto 0 auto;
}

#header-logo {
    float: left;
    margin-left: 10px;
}

#header-text {
    font-size: 28pt;
    font-weight: bolder;
    margin-top:8px;
    margin-left:65px;
}

#footer-item {
    width: 340px;
    margin: 0 auto 0 auto;
}

.footer-btn {
    float: right;
    width: 60px;
    height: 60px;
    margin: 10px;
}

#content-title {
    text-align:center;
}

#page-content {
    width: 340px;
    margin: 0 auto 90px auto;
}

#page-content p {
    word-wrap: break-word;
}

.menu-item {
    float: left;
    margin: 10px;
    width: 93px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #575291;
    font-weight:bolder;
}

#logo-login {
    margin-top: 15px;
}

#form-login .btn {
    width: 340px !important;
}

#form-login .form-control {
    height: 40px !important;
}

#form-login {
    text-align: center;
}

.form-account {
    text-align:center;
}

.control-form {
    margin-top: 10px;
}

.btn {
    font-weight: bolder;
    background-color: #575291;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    color: #fff;
    margin-top: 10px;
    height: 50px;
    width: 100%;
    line-height: 36px;
    text-align: center;
}

.btn.focus, .btn:focus, .btn:hover {
    text-decoration: none;
    border-color: #204d74;
}

.form-control {
    display: block;
    margin-top: 10px;
    height: 50px;
    width: 100%;
    line-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

#form-contact .multiline {
    height: 100px !important;
}

h1 {
    margin: 0;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
}

.field-validation-valid {
    display: none;
}

input[type="text"].input-validation-error,
input[type="password"].input-validation-error {
    border: solid 1px #e80c4d;
}

.validation-summary-errors, .text-danger {
    color: #e80c4d;
    font-weight: bold;
    font-size: 14px !important;
}

.validation-summary-valid {
    display: none;
}

.btn {
    margin-top: 15px;
    height: 50px !important;
    width: 100% !important;
    font-weight: bold !important;
    line-height: 36px;
    text-align: center;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a {
    background-color: transparent;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a.btn {
    padding-top:15px;
}
.avatarFileUpload {
    display: none;
}
.img-circle {
    border-radius: 50%;
}
.user-data {
    text-align:left;
}
.text-bold {
    font-weight:bold;
}
.separator {
    margin-top:10px;
    margin-bottom:10px;
}
.bg-red {
    background-color: #dd4b39 !important;
    color: #fff !important;
}
.bg-green {
    background-color: #00a65a !important;
}
.bg-yellow {
    background-color: #f39c12 !important;
}
.pull-right {
    float: right !important;
    margin-left: -22px;
}
.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}
.small, small {
    font-size: 85%;
}
.alert-item {
    margin-bottom: 10px;
    position: relative;
    display: block;
    width: 100%;
}

.alert-icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: auto;
    display: block;
    float: left;
    width: 60px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
}

.alert-info {
    margin-bottom: 1px !important;
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 10px 10px 65px;
}

.alert-info a {
    color: white !important;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

.switch input {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-top: -8px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

/* include generated hidden field here */
input[type="checkbox"]:checked + input[type="hidden"] + .slider,
input[type="checkbox"]:checked + .slider {
    background-color: #575291;
}

/* include generated hidden field here */
input[type="checkbox"]:focus + input[type="hidden"] + .slider,
input[type="checkbox"]:focus + .slider {
    box-shadow: 0 0 1px #575291;
}

/* include generated hidden field here */
input[type="checkbox"]:checked + input[type="hidden"] + .slider:before,
input[type="checkbox"]:checked + .slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* include generated hidden field here */
input[type="checkbox"]:disabled + input[type="hidden"] + .slider:before,
input[type="checkbox"]:disabled + .slider:before {
    background-color: #ccc !important;
    box-shadow: 0 0 1px #ccc !important;
}

/* include generated hidden field here */
input[type="checkbox"]:checked:disabled + input[type="hidden"] + .slider:before,
input[type="checkbox"]:checked:disabled + .slider:before {
    background-color: #575291 !important;
    box-shadow: 0 0 1px #575291 !important;
}

.text-red {
    color: #dd4b39 !important;
}

.text-green {
    color: #00a65a !important;
}

.text-center {
    text-align:center !important;
}

.device-button {
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 40px;
}

#device-buttons {
    margin-top: 40px;
    margin-bottom: 40px;
}

#device-remote-buttons {
    margin-top: 40px;
    margin-bottom: 40px;
}

.hide {
    display: none;
}
/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('img/spinner.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}