﻿/* HTML elemnts */
html, body, form {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-family: Arial;
    font-size: 11pt;
}

/* Openlayers 3 style */
.ol-zoom {
    top: 52px !important;
}

.ol-attribution {
    right: 52px !important;
    bottom: 24px !important;
}

/* Custom class styles */
#map, .fill, html, body, form {
    width: 100%;
    height: 100%;
}

.invisible {
    display: none !important;
}

.center {
    text-align: center;
}

.block-center {
    display: block;
    text-align: center;
}

input[type=text].error, input[type=password].error, input[type=checkbox].error {
    color: #ff0000;
    background-color: #ffffbb;
    border: 1px solid #ff0000;
}

label.error, label.custom-error, div.error {
    color: #ff0000;
}

.button-panel button.close {
}

.button-panel button.k-button {
    line-height: 30px;
}

    .button-panel button.k-button img.k-image {
        width: 32px;
        height: 32px;
        vertical-align: middle;
    }


.small-button-panel button.k-button {
    line-height: 15px;
}

    .small-button-panel button.k-button img.k-image {
        width: 16px;
        height: 16px;
        vertical-align: middle;
    }

.full-width {
    width: 100%;
}

button.logged-in, button.logged-out {
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-both {
    clear: both;
}

.dialog-holder {
    position: relative;
    width: 100%;
    height: 100%;
}

.dialog-fixed-message {
    position: absolute;
    top: 0px;
    height: 48px;
    width: 100%;
}

.dialog-content-panel {
    position: absolute;
    top: 0px;
    bottom: 48px;
    width: 100%;
}

.dialog-middle-content-panel {
    position: absolute;
    top: 48px;
    bottom: 48px;
    width: 100%;
}

.dialog-middle-content-panel-fit-bottom {
    position: absolute;
    top: 48px;
    bottom: 0px;
    width: 100%;
}

.dialog-button-panel {
    position: absolute;
    bottom: 0px;
    height: 48px;
    width: 100%;
}

    .dialog-button-panel > div {
        padding-top: 12px;
    }

    .dialog-button-panel button {
        min-width: 80px;
        white-space: nowrap;
    }

        .dialog-button-panel button.k-button img.small {
            width: 22px !important;
            height: 22px !important;
            vertical-align: middle;
        }

div.table {
    display: table;
}

    div.table div.row {
        display: table-row;
    }

        div.table div.row div.cell {
            display: table-cell;
        }

.scroll {
    overflow: auto;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.wizard-message,
.dialog-message {
    line-height: 48px;
    font-weight: bold;
}

table.padding {
    border-collapse: collapse;
    margin: auto;
}

table.wizard-table {
    border-collapse: collapse;
    margin-left: 6px;
    width: 100%;
}

    table.padding tr td,
    table.wizard-table tr td {
        padding: 6px 3px;
    }

div.k-grid div.k-grid-content table tbody tr.k-grouping-row td p {
    cursor: pointer;
}

.simple-validation span.k-widget.k-tooltip-validation {
    display: inline-block;
    text-align: left;
    border: 0;
    padding: 0px 0px 0px 2px;
    margin: 0;
    background: none;
    box-shadow: none;
    color: red;
}

.simple-validation .k-tooltip-validation .k-warning {
    display: none;
}

a.grid-icon {
    padding: 0px;
}

    a.grid-icon img {
        width: 16px;
    }

.small-text {
    font-size: 10pt;
}

.float-panel {
    position: fixed;
    border-radius: 6px;
    background-color: #ffffff;
    padding: 6px;
    border: 1px solid #cccccc;
    font-size: smaller;
}

div.tree span.k-in {
    line-height: 24px;
}

    div.tree span.k-in input {
        vertical-align: middle;
    }

    div.tree span.k-in img {
        margin: 0px 3px;
        vertical-align: middle;
    }

    div.tree span.k-in span.active {
        font-weight: bold;
    }

div.barrier-diagram {
    display: inline-block;
    position: relative;
    padding: 6px;
    border: 2px solid #000000;
}

    div.barrier-diagram img {
        width: 192px;
        height: 192px;
        border: none;
        margin: 0px;
        padding: 0px;
    }

    div.barrier-diagram input[type=text] {
        width: 20px;
        position: absolute;
    }

button.long-button {
    min-width: 100px;
    width: auto !important;
}

.credit-normal {
    color: #4BA524;
}

.credit-warning {
    color: #E2C501;
}

.credit-danger {
    color: #FF0000;
}

.strong {
    text-decoration: underline;
    font-weight: bold;
}

.attrColumn {
    display: inline-block;
    font-weight: bold;
    color: #0000ff;
    width: 48px;
}

/* Specified elements */
#fixTop {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 48px;
    background-color: #666666;
}

    #fixTop > div {
        padding: 4px;
    }

#fixBody {
    position: fixed;
    top: 48px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#fixTop button.project-loaded,
#fixTop button.global-loaded,
#fixTop button.normal-loaded,
#secondaryToolbar button.project-loaded,
#secondaryToolbar button.global-loaded,
#secondaryToolbar button.normal-loaded {
}

#secondaryToolbar {
    position: fixed;
    top: 48px;
    left: 0px;
    padding: 0px 4px 4px 4px;
    background-color: #666666;
}

    #fixTop div.seperator,
    #secondaryToolbar div.seperator {
        display: inline-block;
        width: 4px;
        height: 38px;
        background-color: #eeeeee;
        vertical-align: bottom;
        padding: 0px;
    }

#loginDialogLoading,
#loginResetPasswordDialogLoading {
    vertical-align: middle;
    margin: auto;
    padding-right: 12px;
}

#loginForm table tbody tr:last-child td,
#loginResetPasswordForm table tbody tr:last-child td {
    text-align: right;
    vertical-align: middle;
    padding-top: 12px;
}

#loginSubmitButton,
#loginCancelButton,
#loginResetPasswordDialogSubmitButton,
#loginResetPasswordDialogCancelButton {
    min-width: 80px;
}

#layerButtonFloatPanel,
#wizardButtonFloatPanel {
    position: fixed;
    top: 48px;
    left: 0px;
    padding-right: 4px;
    background-color: #666666;
}

    #layerButtonFloatPanel button.k-button,
    #wizardButtonFloatPanel button.k-button {
        margin: 0px 0px 4px 4px;
    }

#messageDialog .dialog-button-panel,
#confirmDialog .dialog-button-panel,
#inputDialog .dialog-button-panel,
#editAttributeDialog .dialog-button-panel {
    text-align: right;
}

#messageDialog .dialog-holder,
#confirmDialog .dialog-holder {
    min-height: 120px;
}

#inputDialog .dialog-holder {
    min-height: 160px;
}

#progressDialogImage,
#messageDialogImage,
#confirmDialogImage {
    padding-left: 12px;
    padding-right: 12px;
}

#progressDialog .dialog-holder table {
    min-height: 80px;
}

    #progressDialog .dialog-holder table tr td {
        vertical-align: middle;
    }

        #progressDialog .dialog-holder table tr td:first-child {
            width: 56px;
            text-align: center;
        }

#projectInfoFloatPanel {
    top: 54px;
    right: 6px;
    min-width: 300px;
}

    #projectInfoFloatPanel table tr td:first-child {
        padding-right: 12px;
    }

#editAttributeTable tr td.short {
    font-size: 10pt;
    font-weight: bold;
    color: #0000ff;
}

#editAttributeTable tr td.long {
    font-size: 10pt;
}

#editAttributeTable tr td.field {
    width: 182px;
}

#editAttributeTable input[type=text].k-textbox {
    width: 360px !important;
}

#editAttributeTable span.k-dropdown-wrap {
    width: 330px !important;
}

#editAttributeTable input[type=text].k-textbox,
#editAttributeTable input[type=text].k-input {
    color: #000000;
}

#editAttributeTable input[type=text][disabled] {
    color: #999999 !important;
}

#editAttributeTable span.k-combobox {
    width: auto !important;
}

#editAttributeTreeOverlay {
    background: #ffffff;
    opacity: 0.5;
}

#baseMapButtonPanel {
    position: absolute;
    padding: 0px 4px 0px 4px;
    background-color: #666666;
}

    #baseMapButtonPanel button {
        margin-bottom: 4px;
        display: block;
    }

#logoOden {
    position: fixed;
    background: url('Images/common.main-logo.png') no-repeat;
    bottom: 4px;
    left: 4px;
    width: 197px;
    height: 77px;
}

#logoHtml5 {
    position: fixed;
    background: url('Images/common.html5.png') no-repeat;
    bottom: 28px;
    right: 4px;
    width: 48px;
    height: 48px;
}

#addressSearchToolbarForm {
    display: inline;
}

#addressSearchDialog table thead th:last-child {
    width: 100px;
    height: 48px;
}

#addressSearchDialog table thead th input[type=text] {
    width: 100%;
}

#addressSearchDialog table thead th button {
    width: 84px;
}

#addressSearchDialog table tbody tr td {
    vertical-align: top;
}

#addressSearchDialogResultPanel {
    overflow-y: auto;
}

    #addressSearchDialogResultPanel div,
    #selectAreaForExtractDialogResultPanel div {
        border-bottom: 1px solid #cccccc;
        padding: 4px 0px;
    }

#editCoordinateDialog input[type=number] {
    text-align: right;
    width: 180px;
}

#includeExcludeBuildingWizardPage5 > div,
#querySearchDialogPage9 > div {
    padding-top: 6px;
}

    #includeExcludeBuildingWizardPage5 > div label,
    #querySearchDialogPage9 > div label {
        font-weight: bold;
        padding: 2px 4px;
    }

    #includeExcludeBuildingWizardPage5 > div button.k-button,
    #querySearchDialogPage9 > div button.k-button {
        margin-left: 3px;
    }

#includeExcludeBuildingWizardPage5 > table tr td:first-child,
#querySearchDialogPage9 > table tr td:first-child {
    padding-left: 36px;
    padding-right: 12px;
    font-weight: bold;
}

#inputDialogMessage {
    line-height: 48px;
}

#extractProjectToolbar,
#createProjectToolbar,
#updateProjectToolbar {
}

#editAdvanceOptionsDialog table thead td {
    border-bottom: 1px solid #cccccc;
}

#legendDialogNoiseTabContent > div,
#legendDialogAirTabContent > div,
#legendDialogSolarTabContent > div {
    padding: 3px 0px;
}

#legendDialogNoiseTabContent div.noise-color,
#legendDialogAirTabContent div.noise-color,
#legendDialogSolarTabContent div.noise-color {
    display: inline-block;
    width: 18px;
    line-height: 18px;
    border: 1px solid #999999;
}

#legendDialogNoiseTabContent span,
#legendDialogAirTabContent span,
#legendDialogSolarTabContent span {
    padding-left: 4px;
}

#deleteAllFeaturesWizardPage0 > div,
#restoreOriginalWizardPage0 > div {
    padding: 6px;
}

#featureContextMenu li span {
    white-space: nowrap;
}

#barrierWizardPage0 div.center div {
    display: inline-block;
    padding: 6px;
    border: 1px solid #666666;
}

#barrierWizardPage0 a img {
    width: 96px;
}

#barrierWizardPage1 div.center button {
    margin: 6px;
}

#uploadDxfWizardDxfLayerHolder {
    height: 240px;
    overflow-y: auto;
    border: 1px solid #cccccc;
    padding: 6px;
}

#selectAreaForExtractDialogSearchPanel1 {
    position: absolute;
    left: 0px;
    right: 96px;
    height: 36px;
    padding-right: 6px;
}

#selectAreaForExtractDialogPage0 div {
    padding-bottom: 6px;
}

#selectAreaForExtractDialogSearchPanel2 {
    position: absolute;
    width: 96px;
    right: 0px;
    height: 36px;
}

#selectAreaForExtractDialogResultPanel {
    position: absolute;
    width: 100%;
    top: 36px;
    bottom: 0px;
}

#projectDialogProjectCredit,
#calculationDialogCalculationCredit {
    font-weight: bold;
    line-height: 32px;
    vertical-align: middle;
    padding-left: 6px;
}
