body,
html,
#main {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font: 14px Geneva, Arial, Helvetica, sans-serif;
}

#header {
    border: solid 1px #A8A8A8;
    overflow: hidden;
    background-color: #999;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#C0C0C0));
    background: -moz-linear-gradient(top, #fff, #C0C0C0);
    height: 67px;
    margin: 2px 3px;
}

.roundedCorners {
    -o-border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
}

#title {
    padding-top: 0px;
    padding-left: 10px;
    color: #000;
    font-size: 16pt;
    text-align: right;
    text-shadow: 0px 1px 0px #e5e5ee;
    font-weight: 700;
    width: 100%
}

#title #principal {
    float: left;
    width: 40%;
    text-align: left;
    margin-top: 9px;
}

#title #secundario {
    float: right;
    width: 30%;
}

#subtitle {
    font-size: small;
    padding-left: 10px;
    text-shadow: 0px 1px 0px #e5e5ee;
    color: #000;
}

#map {
    padding: 0;
    position: relative;
    border: 1px solid #b5bcc7;
}

#leftPane {
    border: solid 1px #224a54;
    width: 28%;
    margin: 5px;
}

#HomeButton {
    position: absolute;
    top: 108px;
    left: 200px;
    z-index: 50;
}

#rew {
    position: absolute;
    top: 115px;
    left: 65px;
    z-index: 60;
}

#container {
    height: 100%;
    visibility: hidden;
}

#bottomPane {
    height: 100%
}

#grid {
    height: 100%
}

.dgrid {
    border: none;
}

.dgrid-column-0 {
    width: 22px;
}

.field-id {
    cursor: pointer
}

;
.dgrid-row-odd {
    background: #FFFDF3;
}

td div img:hover {
    cursor: pointer;
}


/* Change color of icons to match bar chart and selection symbol */

.esriPopup.dark div.titleButton,
.esriPopup.dark div.titlePane .title,
.esriPopup.dark div.actionsPane .action {
    color: #A4CE67;
}


/* Additional customizations */

.esriPopup.dark .esriPopupWrapper {
    border: none;
}

.esriPopup .contentPane {
    text-align: center;
}

.esriViewPopup .gallery {
    margin: 0 auto;
}