.date-input-small {
    width: 100px;
}

.date-input-mini {
    width: 70px;
}

.input-small {
    max-width: 175px;
    height: 40px;
    color: #333;
    border: 1px solid #ced4da;
    padding: 3px 5px;
}

/*.input-append.date .add-on i,
.input-prepend.date .add-on i {
    display: block;
    cursor: pointer;
    width: 16px;
    height: 16px;
}*/

.coordinate-input-small {
    width: 80px;
}

/*** custom styles for quakes search maps ***/
.small-quake-search-map {
    height:512px;
    width: 100%;
    max-width:480px;
}
.large-quake-search-map{
    height:100%;
    width:100%;
    max-width:none;
    margin-left:0px
}

#mapLegendContainer{
    width:150px;
}
.map-legend {
    height:451px;
}

#large-map-close-button{
    margin-right:50px;
    padding:10px 20px 10px 20px;
    text-transform: none;
    position:relative;
    z-index:100;
}

.btn-primary {
    background-color: #8D0020 !important;
    border-color: #8D0020 !important;
}

.btn-primary:hover {
    background-color:#670017 !important;
}
.text-info {
    color: #17a2b8!important;
}

#map-container{
    padding: 0 1em;
}

#myModal .modal-header{
    background-color:#F5F5F5;
}

.hide {
    display: none;
}

#param-container{
    min-width: 360px;
}
#divLatLon{
   height: 290px;
   min-width: 300px;
}

.map-background{
   background: url('/assets/images/nz_map.png')  70px 80px no-repeat;
}

#area-box {
    border: 1px solid #ddd;
    position: absolute;
    display: inline-block;
    width: 180px;
    height: 183px;
    margin-top: 37px;
    margin-left: 40px;
}

.area-box1 {
    margin-top: 48px;
    margin-bottom: 48px;
    max-width: 415px;
}

.col-region{
    min-width: 200px;
}

.loc-field-centre {
    margin-left: 85px;
}

.row-fields {
    max-width: 330px;
}

/* just for map copyright popover */
.bs-popover-start {
   display: block !important;
   opacity: 0.9 !important;
}

.badge-success  {
    color: #3c763d !important;
    background-color: #dff0d8 !important;
}

li .show {
   outline: none;
}

.popover-header {
   margin-top: 0px !important;
}

/* ESI logo for full screen earthquake map */
#esi {
    background: url("../images/esi_logo_white.png");
    width: 110px;
    height: 42px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Leaflet overrides */
.leaflet-control-zoom > a:hover {
    text-decoration: none;
}

/* START - Extra CSS for GeoNet footer */
.esi-logo {
    object-fit: contain;
    max-width: 180px;
    max-height: 68.7px;
    width: 100%;
    height: 100%
}
/* Bootstrap overrides - this should be changed in the main Bootstrap file at some point*/
#footer .row {
    width: auto !important;
}
.footer {
    margin-top: 20px;
    padding: 20px 0 20px;
    border-top: 1px solid #e5e5e5;
}
/* END */