﻿/* CONTROLS */

a:link {
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

input {
    width: 150px;
    height: 22px;
    color: #606060;
    background-color: none;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

input[type=datepicker] {
    width: 75px;
    height: 22px;
}

input[type=button] {
    width: 100px;
    height: 22px;
}

input[type=submit] {
    width: 100px;
    height: 22px;
}

input[type=checkbox] {
    width: 12px;
    height: 12px;
}

input[type=radio] {
    width: 12px;
    height: 12px;
}

select {
    width: 150px;
    height: 22px;
    color: #606060;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

select[multiple=multiple] {
    width: 150px;
    height: 100px;
    color: #606060;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

textarea {
    width: 150px;
    height: 100px;
    color: #606060;
    background-color: none;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

/* VALIDATION ERROR */

.field-validation-error {
    color: #f00;
    font-size: 12px;
    display: inline;
}

.validation-summary-errors {
    color: #f00;
    font-size: 12px;
    display: inline;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

input[type="checkbox"].input-validation-error {
    outline: 1px solid #f00;
    background-color: #fee;
}

/* PAGE */
.main-body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    color: #d0d0d0;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    background-color: #1d3847;
}

.main-page {
    width: calc(100% - 100px);
    height: 100%;
    left: 100px;
    position: absolute;
    background-color: #1d3847;
}

.page-head {
    display: table;
    width: calc(100% - 100px);
    height: 58px;
    padding-right: 20px;
    background: linear-gradient(90deg, #1d3847, #314e5c);
    position: fixed;
    text-align: left;
    z-index: 10;
}
.page-head-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    width: 250px;
    color: #f49e47;
    font-size: 26px;
    font-weight: bolder;
    background: none;
}

.page-head-menu {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    background: none;
}

.page-head-logo {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    background: none;
}

.page-body {
    width: 100%;
    height: calc(100% - 25px);
    padding-left: 5px;
    padding-top: 78px;
}

.page-footer {
    display: table;
    width: calc(100% - 100px);
    height: 25px;
    padding-right: 20px;
    background: linear-gradient(90deg, #1d3847, #314e5c);
    position: fixed;
    z-index: 10;
}

.page-footer-copyright {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    background: none;
}

.page-footer-user {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    background: none;
}

/* MAIN MENU */

.main-menu {
    width: 86px;
    height: 100%;
    position: fixed;
    border-right: 1px solid #7c868d;
    background-color: #314e5c;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

.main-menu-item {
    border-right: 1px solid #7c868d;
    border-bottom: 1px solid #7c868d;
}

.main-menu-exit {
    left: 0px;
    bottom: 0px;
    border-right: 1px solid #7c868d;
    border-top: 1px solid #7c868d;
    position: fixed;
}

/* PAGE MENU */

.page-menu {
    display: table;
    vertical-align: middle;
    background: none;
}

.page-menu-section {
    display: table-cell;
    vertical-align: middle;
    background: none;
}

.page-menu-item {
    padding-left: 20px;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    color: #d0d0d0;
    background: none;
}

.page-menu-item-select {
    padding-left: 19px;
    padding-top: 7px;
    padding-right: 19px;
    padding-bottom: 7px;
    color: #f49e47;
    background: #314e5c;
    border-left: 1px solid #7c868d;
    border-top: 1px solid #7c868d;
    border-right: 1px solid #7c868d;
    border-bottom: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
}

.page-menu-separator {
    padding-top: 7px;
    background: none;
}

/* POPUP MENU */

.popup-menu {
    top: 46px;
    position: absolute;
    background: #314e5c;
    border-left: 1px solid #7c868d;
    border-top: 1px solid #7c868d;
    border-right: 1px solid #7c868d;
    border-bottom: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
    visibility: hidden;
    z-index: 3;
}

.popup-menu-item {
    padding-left: 20px;
    padding-top: 8px;
    padding-right: 60px;
    padding-bottom: 8px;
    color: #d0d0d0;
    background: none;
}

.popup-menu-item-select {
    padding-left: 20px;
    padding-top: 8px;
    padding-right: 60px;
    padding-bottom: 8px;
    color: #f49e47;
    background: #476371;
}

.popup-menu-separator {
    padding: 0px;
    margin: 0px;
    border: 0;
    height: 1px;
    background: #7c868d;
}

/* TOOLBAR VIEW */

.toolbar-view {
    width: 100%;
    vertical-align: middle;
    padding: 5px;
    color: #606060;
    font-size: 12px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #d0d0d0;
}

.toolbar-view-icon {
    border: 1px solid #f0f0f0;
}

/* TABLE VIEW */

.table-view {
    display: table;
    background-color: #314e5c;
    width: 100%;
}

.table-view-title {
    display: table-caption;
    vertical-align: middle;
    padding: 5px;
    color: #f0f0f0;
    font-size: 16px;
    background-color: #314e5c;
    border-left: 1px solid #7c868d;
    border-top: 1px solid #7c868d;
    border-right: 1px solid #7c868d;
}

.table-view-navigate {
    display: table-caption;
    text-align: right;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #606060;
    font-size: 14px;
    background-color: #f0f0f0;
    border-left: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}

.table-view-page-current {
    padding-left: 4px;
    padding-right: 4px;
    margin-right: 3px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    color: #606060;
    text-decoration: none;
    cursor: default;
}

.table-view-page-link {
    padding-left: 4px;
    padding-right: 4px;
    margin-right: 3px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

.table-view-page-link:hover {
    padding-left: 4px;
    padding-right: 4px;
    margin-right: 3px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

.table-view-sort-link {
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

.table-view-sort-link:hover {
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

.table-view-icon {
    cursor: pointer;
}

.table-view-column {
    display: table-row;
    color: #606060;
    background-color: #f0f0f0;
}

.table-view-row {
    display: table-row;
    color: #606060;
    background-color: #ffffff;
}

.table-view-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    border-bottom: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
}

.table-view-cell-sort {
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
}

.table-view-link {
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

.table-view-link:hover {
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

/* TAB VIEW */

.tab-view {
    display: table-caption;
    padding-top: 5px;
    color: #606060;
    background-color: #d0d0d0;
}

.tab-view-active {
    display: table-cell;
    padding-left: 10px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    color: #606060;
    font-size: 12px;
    background-color: #e0e0e0;
    border-right: 1px solid #c0c0c0;
    border-top: 1px solid #c0c0c0;
    border-radius: 3px;
}

.tab-view-link {
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

.tab-view-link:hover {
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

.tab-view-item {
    display: table-cell;
    padding-left: 10px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    color: #606060;
    font-size: 12px;
    background-color: #d0d0d0;
    border-right: 1px solid #c0c0c0;
    border-top: 1px solid #c0c0c0;
    border-radius: 3px;
}

.tab-view-link {
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

.tab-view-link:hover {
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

/* FORM VIEW */

.form-view {
    display: table;
    width: 700px;
    padding: 5px;
    background-color: #e0e0e0;
}

.form-view-title {
    display: table-caption;
    vertical-align: middle;
    padding: 5px;
    color: #f0f0f0;
    font-size: 16px;
    background-color: #314e5c;
    border-left: 1px solid #7c868d;
    border-top: 1px solid #7c868d;
    border-right: 1px solid #7c868d;
}

.form-view-row {
    display: table-row;
    color: #606060;
    background-color: #f0f0f0;
}

.form-view-row-alt {
    display: table-row;
    color: #606060;
    background-color: #e0e0e0;
}

.form-view-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    background-color: none;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}

.form-view-link {
    color: #415e6c;
    text-decoration: none;
    cursor: pointer;
}

.form-view-link:hover {
    color: #f49e47;
    text-decoration: none;
    cursor: pointer;
}

.form-view-group {
    width: 100%;
    border-bottom: 1px solid #d0d0d0;
}

.form-view-comment {
    padding: 3px;   
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}

.form-view-footer {
    display: table-row;
    color: #606060;
    background-color: #d0d0d0;
}

/* DIALOG-BOX */

.dialog-box-block {
    width: 100%;
    height: 100%;
    left: 0px;
    right: 0px;
    opacity: 1;
    position: fixed;
    visibility: hidden;
}

.dialog-box {
    width: 350px;
    padding: 0px;
    position: fixed;
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
    visibility: hidden;
}

.dialog-box-title {
    display: table;
    width: 100%;
    height: 58px;
    color: #f0f0f0;
    background-color: #314e5c;
    box-shadow: 0px 8px 8px rgba(0,0,0,0.1);
}

.dialog-box-title-icon {
    display: table-cell;
    padding: 6px;
    position: absolute;
    background-color: #314e5c;
    border-radius: 70px;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.1);
}

.dialog-box-title-text {
    display: table-cell;
    padding-left: 70px;
    vertical-align: middle;
    font-size: 16px;
    font-weight: normal;
    line-height: 18px;
    background: none;
}

.dialog-box-body {
    padding: 10px;
    margin: 10px;
    color: #606060;
    text-align: center;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

/* WIDGET-BOX */

.widget-box-small {
    float: left;
    width: 280px;
    height: 460px;
    padding: 0px;
    margin-right: 20px;
    margin-top: 20px;
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
}

.widget-box-normal {
    float: left;
    width: 580px;
    height: 460px;
    padding: 0px;
    margin-right: 20px;
    margin-top: 20px;
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
}

.widget-box-large {
    float: left;
    width: 580px;
    height: 780px;
    padding: 0px;
    margin-right: 20px;
    margin-top: 20px;
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
}

.widget-box-wide {
    float: left;
    width: 1180px;
    height: 460px;
    padding: 0px;
    margin-right: 20px;
    margin-top: 20px;
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #7c868d;
    box-shadow: 8px 8px 8px rgba(0,0,0,0.1);
}

.widget-box-title {
    display: table;
    width: 100%;
    height: 58px;
    color: #f0f0f0;
    background-color: #314e5c;
    box-shadow: 0px 8px 8px rgba(0,0,0,0.1);
}

.widget-box-title-icon {
    display: table-cell;
    padding: 6px;
    position: absolute;
    background-color: #314e5c;
    border-radius: 86px;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.1);
}

.widget-box-title-text {
    display: table-cell;
    padding-left: 86px;
    vertical-align: middle;
    font-size: 16px;
    font-weight: normal;
    line-height: 18px;
    background: none;
}

.widget-box-body {
    width: calc(100% - 20px);
    height: calc(100% - 78px);
    margin: 10px;
    color: #606060;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

.widget-body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    color: #d0d0d0;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    background-color: #ffffff;
}

.widget-body-table {
    display: table;
    width: calc(100% - 20px);
    font-size: 12px;
    margin: 10px;
    padding: 0px;
    color: #606060;
    text-align: center;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

.widget-body-table-column {
    display: table-row;
    background-color: #f0f0f0;
}

.widget-body-table-row {
    display: table-row;
}

.widget-body-table-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    border-bottom: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
}

.widget-body-section {
    display: table;
    width: 240px;
    font-size: 12px;
    margin: 10px;
    padding: 5px;
    color: #606060;
    text-align: center;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
}

.widget-body-section-row {
    display: table-row;
}

.widget-body-section-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-smoke-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-smoke-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-gaz-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-gaz-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.widget-body-section-water-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-water-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-motion-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-motion-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-switch-icon {
    display: table-cell;
    vertical-align: middle;
    text-align:left;
    padding: 5px;
    cursor: pointer;
}

.widget-body-section-switch-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-temperature-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-temperature-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-humidity-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-humidity-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
    cursor: pointer;
}

.widget-body-section-door-icon {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.widget-body-section-door-text {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

