body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*font-family: Tahoma;*/
    font-size: 14px;
}
.appHeader {
    background: url("../images/top_background.png") repeat-x scroll left top transparent;
    height: 70px;
    margin: 0;
    padding: 0;
    width: 100%;
}
.appHeader .headerLogo {
    float: left;
    left: 30px;
    position: relative;
    top: 8px;
}
.appHeader .headerTitle {
    color: #FFFFFF;
    float: left;
    font-size: 16pt;
    font-weight: bold;
    left: 60px;
    top: 15px;
    position: relative;
}
.appHeader .subHeaderTitle {
    color: #CFCFCF;
    font-size: small;
    padding-left: 20px;
}
.appHeader .search {
    float: left;
    left: 80px;
    position: relative;
    top: 18px;
}
.appHeader .headerLinks {
    float: right;
    color: #FFFFFF;
    position: relative;
    top: 27px;
    right: 10px;
    text-align: right;
}
.appHeader .headerLinks a {
    color: #FFFFFF;
}
#borderContainerOuter {
    position: absolute;
    top: 70px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF
}
#sidebarLeft {
    width: 600px;
    padding: 4px;
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
    border-right: 1px solid #B5BCC7;
}
#sidebarRight {
    width: 300px;
    padding: 4px;
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
    border-left: 1px solid #B5BCC7;
}
#sidebarBottom {
    height: 250px;
    padding: 4px;
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
    border-top: 1px solid #B5BCC7;
}
#sidebarTop {
    height: 50px;
    padding: 4px;
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
    border-bottom: 1px solid #B5BCC7;
}
#mapCenter {
    padding: 0;
    overflow: hidden;
    background: url("../images/noisy_grid.png") #fff;
}
.panetop {
    border-top: 1px solid #B5BCC7;
}
.panebottom {
    border-bottom: 1px solid #B5BCC7;
}
.paneleft {
    border-left: 1px solid #B5BCC7;
}
.paneright {
    border-right: 1px solid #B5BCC7;
}
.HomeButton, .LocateButton {
    margin-bottom: 10px;
}
.titlePaneBottomFix {
    margin-bottom: -1px;
}
.titlePaneRightFix {
    margin-right: -1px;
}
.sidebarCollapseButton {
    position: absolute;
    z-index: 40;
    background-color: white;
    cursor: pointer;
    color: #666666;
    font-size: 1.3em;
}
.sidebarCollapseButtonHorz {
    width: 16px;
    height: 25px;
    top: calc(50% - 12px);
    border-bottom: 1px solid #B5BCC7;
    border-top: 1px solid #B5BCC7;
}
.sidebarCollapseButtonVert {
    width: 25px;
    height: 18px;
    left: calc(50% - 12px);
    border-left: 1px solid #B5BCC7;
    border-right: 1px solid #B5BCC7;
}
.sidebarleftCollapseButton {
    left: -1px;
    border-radius: 0 5px 5px 0;
    border-right: 1px solid #B5BCC7;
}
.sidebarrightCollapseButton {
    right: -1px;
    border-radius: 5px 0 0 5px;
    border-left: 1px solid #B5BCC7;
}
.sidebarbottomCollapseButton {
    bottom: -1px;
    border-radius: 5px 5px 0 0;
    border-top: 1px solid #B5BCC7;
}
.sidebartopCollapseButton {
    top: -1px;
    border-radius: 0 0 5px 5px;
    border-bottom: 1px solid #B5BCC7;
}
.sidebarCollapseButtonHorz .button {
    padding-top: 4px;
    padding-left: 2px;
}
.sidebarCollapseButtonVert .button {
    padding-left: 4px;
    margin-top: -2px;
}
.sidebarleftCollapseButton .open:before {
    content: "\f054";
}
.sidebarleftCollapseButton .close:before {
    content: "\f053";
}
.sidebarrightCollapseButton .open:before {
    content: "\f053";
}
.sidebarrightCollapseButton .close:before {
    content: "\f054";
}
.sidebarbottomCollapseButton .open:before {
    content: "\f077";
}
.sidebarbottomCollapseButton .close:before {
    content: "\f078";
}
.sidebartopCollapseButton .open:before {
    content: "\f078";
}
.sidebartopCollapseButton .close:before {
    content: "\f077";
}
.floatingWidget_underlay {
    display: none
}
#help_parent_underlay {
    display: block;
}

/* dbootstrap overrides*/

.dbootstrap .dijitToolbar .dijitButtonContents {
    padding: 1px !important;
}
.dbootstrap .dijitTitlePane {
    border: 1px solid #DDDDDD;
    margin-bottom: 2px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.dbootstrap .dijitTitlePaneTitle {
    color: #666666 !important;
    border-bottom: none;
    padding: 8px 15px;
    background-color: #E6C850;
}
.dijitSliderBarContainerH {
    z-index: 0 !important;
}
.dbootstrap .dijitTitlePaneContentInner {
    background-color: #FFFFFF;
}
.dbootstrap :focus {
    outline: none !important;
}

/* end dbootstrap overrides*/

/* esri mobile popup overrides */

.esriPopupMobile {
    z-index: 999;
}
.esriMobileNavigationBar {
    background-color: #666666;
    background: url("../images/linen.jpg") repeat-x scroll left top transparent;
    color: #FFFFFF;
}
.esriPopupMobile .titlePane {
    background-color: #666666;
    background: url("../images/linen.jpg") repeat-x scroll left top transparent;
    color: #FFFFFF;
}
.esriPopupMobile .pointer.bottom{
    background:url("../images/pointertop.png");
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.esriPopupMobile .pointer.top {
    background:url("../images/pointertop.png");
}

/* end esri mobile popup overrides */

/*
    media queries bootstrap style
    http://getbootstrap.com/css/#grid-media-queries
*/

@media screen and (max-width: 991px) {
    /* adjust the l/r sidebars on small and extra-small devices. */
    #sidebarLeft {
        width: 204px;
        max-width: 95%;
    }
    #sidebarRight {
        display: none;
        max-width: 95%;
    }
}
@media screen and (max-width: 767px) {
    /* hide the l/r sidebars by default on extra-small devices (phones) */
    #sidebarLeft, #sidebarBottom, #sidebarTop {
        display: none;
    }
    /* no search widget in app header */
    .appHeader .search {
        display: none;
    }
    /* no logo in app header */
    .appHeader .headerLogo {
        display: none;
    }
    /* move the title when no logo */
    .appHeader .headerTitle {
        left: 10px;
    }
}

/* end media queries bootstrap style */