/*** Esri Map ***/
/*.map {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 100px;
    max-height: 100%;
    text-align: left;
    overflow: hidden;
}*/

/*** Restyle Esri Zoomin-out ***/
.esriSimpleSlider {
    border: 1px solid #cccccc;
}

.esriSimpleSliderTL {
    bottom: auto;
    right: auto;
    top: 15px;
    left: 15px;
}

.esriSimpleSliderTR {
    bottom: auto;
    right: 15px;
    top: 15px;
    left: auto;
}

.esriSimpleSliderBL {
    top: auto;
    right: auto;
    bottom: 15px;
    left: 15px;
}

.esriSimpleSliderBR {
    top: auto;
    right: 15px;
    bottom: 15px;
    left: auto;
}

.esriSimpleSliderVertical .esriSimpleSliderIncrementButton,
.esriSimpleSliderVertical .esriSimpleSliderDecrementButton{
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
}
.esriSimpleSliderVertical .esriSimpleSliderIncrementButton {
    border-bottom: 1px solid #cccccc;
}

/*** Restyle Esri Popup ***/
.esriPopupWrapper {
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333333;
    width: 350px;
}

/* Easy color control */
.esriPopupWrapper {
    background-color: #fff;
}

.esriPopup .titlePane, .esriPopup .contentPane, .esriPopup .actionsPane,
.esriPopup .pointer, .esriPopup .outerPointer, .esriPopup .pointer.top, .esriPopup .pointer.topLeft,
.esriPopup .pointer.topRight, .esriPopup .pointer.bottomLeft, .esriPopup .pointer.bottomRight {
    background-color: #fff;
}

.esriPopup.light .pointer.top, .esriPopup.light .pointer.topLeft, .esriPopup.light .pointer.topRight {
    background-color: #f7f7f7;
}

/* Soften corners */
.esriPopup.light .esriPopupWrapper, .esriPopup.dark .esriPopupWrapper {
    border-radius: 1em;
    -webkit-border-radius: 1em;
    font-size: 14px;
    font-family: "Microsoft YaHei";
}
.esriPopup.light .titlePane, .esriPopup.dark .titlePane {
    border-radius: 0.3em 0.3em 0 0;
    -webkit-border-radius: 0.3em 0.3em 0 0;
}
.esriPopup.light .actionsPane, .esriPopup.dark .actionsPane {
    border-radius: 0px 0px 0.3em 0.3em;
    -webkit-border-radius: 0px 0px 0.3em 0.3em;

    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    /*padding-top: 5px;*/
}

/* Title Pane font and buttons */
.esriPopup .titlePane, .esriPopup.light .titlePane, .esriPopup.dark .titlePane {
    height: 36px;
    padding: 10px 0 0 10px;
    background-color: #f5f5f5;
    font-size: 14px;
}

.esriPopup.light .titleButton {
    font-size: 16px;
}

.esriPopup.light .titleButton:hover {
    color: #333;
}
.esriPopup.light .titleButton.next, .esriPopup.dark .titleButton.next {
    right: 35px;
}
.esriPopup.light .titleButton.prev, .esriPopup.dark .titleButton.prev {
    right: 60px;
}

.esriPopup.light .titleButton.next, .esriPopup.dark .titleButton.next,
.esriPopup.light .titleButton.prev, .esriPopup.dark .titleButton.prev {
    color: #AAAAAA;
}

.esriPopup.light .titleButton.next:hover, .esriPopup.dark .titleButton.next:hover,
.esriPopup.light .titleButton.prev:hover, .esriPopup.dark .titleButton.prev:hover  {
    color: #666;
}

/* Content Pane */
.esriPopup .contentPane, .esriPopup.light .contentPane, .esriPopup.dark .contentPane {
    max-height: 450px;
    padding: 10px;
    border-top: 1px solid #ebebeb;
}
/**==============================================================
  *以下代码用于修改infowindow样式
  *===============================================================
  */
.esriPopup .contentPane .info-div{

    margin-top: 5px;
    margin-bottom: 12px;
    font-family: "Microsoft YaHei";
    font-size: 14px;
}
.esriPopup.light .titlePane .title, .esriPopup.dark .titlePane .title {
    /*line-height: 16px;*/
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #108ddc;
    padding-left: 5px;
}

/* Hide all ofd these */
.esriPopup .titlePane .spinner {
    display: none;
}
.esriPopup .titleButton.maximize, .esriPopup .titleButton.restore {
    display: none;
}
.esriPopup .actionsPane .actionList {
    display: none;
}

.esriViewPopup .break {
    height: 2px;
}

.esriViewPopup .mainSection .attrTable td.attrName {
    color: #888888;
}

.esriViewPopup .mainSection .attrTable td {
    color: #888888;
}

/*** Restyle Geocoder widget ***/
.simpleGeocoder .esriGeocoderContainer {
    width: 100%;
}

.simpleGeocoder .esriGeocoder {
    border: 1px solid #cccccc;
}

.simpleGeocoder .esriGeocoderResults {
    border: 1px solid #cccccc;
}

.simpleGeocoder .esriGeocoder input {
    width: 73%;
    padding: 7px 0 6px;
    font-size: 14px;
    line-height: 18px;
    color: #555555;
}

.simpleGeocoder .esriGeocoderIcon {
    margin: 9px 0 6px 6px;
}

.simpleGeocoder .esriGeocoderHasValue .esriGeocoderReset {
    margin: 8px 4px 5px 1px;
}

/*** Restyle the Basemap Gallery widget ***/
.esriBasemapGallery * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.esriBasemapGalleryNode {
    width: 75px;
}

.esriBasemapGalleryThumbnail {
    height: 61px;
    width: 75px;
}

.esriBasemapGalleryLabelContainer {
    display: none;
}

.esriBasemapGallerySelectedNode .esriBasemapGalleryThumbnail {
    border: 2px solid #3C7AFF;
}

/*** Fix Bootstrap modal bug ***/
body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0;
    margin-top: 0;
}

/*** Bootstrap extensions and overrides ***/
.panel-fixed {
    position: absolute;
    top: 15px;
    right: 15px;
    margin-left: 60px;
    width: 320px;
    text-align: center;
    z-index: 50;
}

.panel-fixed .panel-body {
    max-height: 350px;
    overflow: auto;
}

.panel-fixed .panel-body .checkbox input[type=checkbox], .panel-fixed .panel-body .btn-toolbar .btn-group, .panel-fixed .panel-body.btn-toolbar .input-group  {
    float: none;
}

.panel-fixed .panel-body>.btn-toolbar+.btn-toolbar {
    margin-top: 10px;
}

.panel-fixed .btn-absolute {
    position: absolute;
    top: 9px;
    right: 9px;
    border: none;
    outline: none;
}

.panel-fixed .btn-absolute:hover,.panel-fixed .btn-absolute:focus,.panel-fixed .btn-absolute:active,.panel-fixed .btn-absolute .active {
    box-shadow: none;
    outline: none;
    background-color: #428bca;
}
.sizer{
    top: 0;
    /*width: 350px;*/
}

.esriPopupWrapper> .sizer{
    width: 350px;
    top: 0px;

}
.esriPopupWrapper a{
    text-decoration: none;
}

/**修复InfoWindow左箭头显示不正常*/
.esriPopup .outerPointer.left{
     left: 15px;
}

.esriPopup .outerPointer.right{
    right: 15px;
}
/*** Media Queries ***/
@media (max-width: 600px) {
    .panel-fixed {
        width: 250px;
    }
}
