﻿html, body, .mapCanvas {
    height: 95%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: 'Segoe UI', Segoe, 'Segoe WP', Tahoma, Verdana, Arial, sans-serif !important;
    font-size: 12px !important;
}

.dgrid {
    height: auto;
}

.dgrid .dgrid-scroller {
    position: relative;
    overflow: visible;
}

.simpleGeocoder, .simpleGeocoder .esriGeocoderContainer {
    width: 100%;
}

.simpleGeocoder .esriGeocoder input {
    width: 75%;
}

/* Show resize icon in all jquery UI dialogs */
.ui-dialog .ui-resizable-se {
    width: 14px;
    height: 14px;
    right: 3px;
    bottom: 3px;
    background-position: -80px -224px;
}

/* Show inner accordions with less space */
.ui-accordion .ui-accordion-content {
    padding: 4px !important;
}


/*set jsTree icon size*/
i.jstree-icon.jstree-themeicon.jstree-themeicon-custom {
    background-size: 16px !important;
}

/*jsTree check boxes only for leaf nodes
.jstree li.jstree-open > a.jstree-anchor > i.jstree-checkbox, 
.jstree li.jstree-closed > a.jstree-anchor > i.jstree-checkbox { display:none; }
*/

.esriBasemapGalleryNode {
    width: auto !important;
}

.dataTable {
    width: 100%;
    border: 1px solid #B0CBEF;
    border-collapse: collapse !important;

    /*zh*/
    /*white-space: nowrap;*/
    border-width: 1px 0px 0px 1px !important;
    border-spacing: 0px;
    float: left;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;

        /*zh*/
    /*table-layout: fixed*/
}

.dataTable TH {
    background-color: rgb(223, 239, 252) !important;
    color: #2e6e9e !important;
    background-repeat: no-repeat;
    border: 1px solid #9EB6CE;
    height: 25px;
    text-align: center;
    font-weight: normal !important;
    border-width: 0px 1px 1px 0px;
}

.dataTable TD {
    border: 0px;
    padding: 3px 10px;
    border: 1px solid #D0D7E5 !important;
    /*white-space: nowrap;*/
    font-size: 12px;

        /*zh*/
    word-wrap:break-word;   
  overflow: hidden;
     max-width: 320px;
      /*zh*/


}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none;
}

table.dataTable thead th {
    border-bottom: none;
}

.dgrid-cell {
    border-top: 0px solid #D0D7E5 !important;
    border-bottom: 0px solid #D0D7E5 !important;
    border-left: 0px solid #D0D7E5 !important;
    border-right: 1px solid #D0D7E5 !important;
}

.ui-selectmenu-button {
    vertical-align: middle;
}

.helpIconButton {
    background-image: url(../img/help16x16.png) !important;
    vertical-align: middle;
    background: transparent;
    border: 0px;
    width: 16px;
    height: 16px;
    cursor: pointer !important;
}

.cutomHelp {
    background-image: url(../img/c_help.png) !important;
    vertical-align: middle;
    background: transparent;
    border: 0px;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    margin-right: 4px;
}


.customizeButton {
    background: transparent;
    border: 0px;
    text-decoration: underline;
    cursor: pointer;
}

.info-image {
    background: url(../img/info.png);
    width: 32px;
    height: 32px;
    margin-left: 10px;
    margin-top: 8px;
    margin-right: 10px;
    float: left;
}

.info-item {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    font-size: 14px;
    border: 2px solid #999;
    margin: 12px;
}

.warning-image {
    background: url(../img/warning.png);
    width: 32px;
    height: 32px;
    margin-left: 10px;
    margin-top: 8px;
    margin-right: 10px;
    float: left;
}

.warning-item {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    font-size: 14px;
    border: 2px solid #ff6a00;
    margin: 12px;
}

.dgrid-row-table {
    font-weight: normal !important;
}

.ui-tooltip {
    background: #666;
    color: white;
    border: none;
    padding: 0;
    opacity: 1;
}

.ui-tooltip-content {
    position: relative;
    padding: 1em;
}

.ui-tooltip-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    display: block;
    width: 0;
    top: 25%;
    left: -10px;
    border-color: transparent #666;
    border-width: 10px 10px 10px 0;
}

.ui-dialog-buttonpane {
    background-color: white;
}

.expanded-group {
    background: url("../img/minus.png") no-repeat scroll left center transparent;
    padding-left: 18px !important;
}

.collapsed-group {
    background: url("../img/plus.png") no-repeat scroll left center transparent;
    padding-left: 18px !important;
}

td.group {
    background-color: #d5eafd !important;
    border-bottom: 1px solid #94bafd;
    border-top: 1px solid #94bafd;
    font-size: 14px;
    font-weight: bold;
}

/* global cursor change for all ajax calls*/
html.busy, html.busy * {
    cursor: wait !important;
}

.topicTitle {
    font-size: 16px;
}

.dataTables_filter {
    padding-bottom: 5px;
}

.highlight {
    border: 2px solid red;
}