/*!
 * ol-geocoder - v3.0.01
 * A geocoder extension for OpenLayers.
 * https://github.com/jonataswalker/ol-geocoder
 * Built: Mon Nov 27 2017 17:57:32 GMT-0200 (-02)
 * Edits by RMcG OPW Dec 12 2017
 */


.ol-geocoder.gcd-gl-container {
    position: fixed;
    top: 208px;
    left: 449px;
    box-sizing: border-box
}

@media screen and (max-width: 768px) {
 .ol-geocoder.gcd-gl-container {
    position: fixed;
    top: 207px;
    left: -2px;
    box-sizing: border-box
 }
}


.ol-geocoder.gcd-gl-container *,
.ol-geocoder.gcd-gl-container:after,
.ol-geocoder.gcd-gl-container:before {
    box-sizing: inherit
}

#gcd-button-control{
    background-color: rgb(255, 255, 255) !important;        
    border: 1px solid #006c85;
}
.ol-geocoder .gcd-gl-control {
    width: 70px;
    height: 70px;
    background-color: rgba(242, 239, 233, 0);
    border-radius: 0px;
    padding: 0px;
    overflow: hidden;
    transition: width .2s, height .2s
}

.ol-geocoder .gcd-gl-expanded {
    width: 18.625em;
    height: 70px;
}

.ol-geocoder .gcd-gl-input {
    position: absolute;
    z-index: 1;
    top: .25em;
    left: 72px;
    width: 16em;
    padding: 18px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: .875em;
    background-color: #fff;
    color: #222
}

.ol-geocoder .gcd-gl-input:focus {
    border: none;
    outline: none;
    box-shadow: inset 0 0 0 1px #4d90fe, inset 0 0 5px #4d90fe
}

.ol-geocoder .gcd-gl-reset {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 2px;
    width: 1.5625em;
    height: 100%;
    line-height: 1.4;
    border: none;
    background-color: transparent;
    display: inline-block;
    outline: 0;
    cursor: pointer
}

.ol-geocoder .gcd-gl-reset:after {
    content: "\d7";
    display: inline-block;
    color: #333;
    font-size: 1.5em;
    cursor: pointer
}

.ol-geocoder .gcd-gl-btn {
    position: absolute;
    width: 69px;
    height: 65px;
    top: 0;
    left: 0;
    background-image: url(/static/floodmaps/img/icons/magnifier-long-green.png);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center 30%;
}

.ol-geocoder ul.gcd-gl-result {
    position: absolute;
    top: 64px;
    left: 72px;
    width: 16.25em;
    max-height: 18.75em;
    white-space: normal;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(3, 90, 111, 0);
    border-radius: 4px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .8);
    transition: max-height .3s ease-in;
}

.ol-geocoder ul.gcd-gl-result>li {
    width: 100%;
    overflow: hidden;
    border-bottom: 0px solid #eee;
    padding: 10px 4px;
    line-height: 1.2;
}

.ol-geocoder ul.gcd-gl-result>li>a {
    display: block;
    text-decoration: none;
    padding: 3px 5px
}

.ol-geocoder ul.gcd-gl-result>li>a:hover {
    background-color: none;
}

.ol-geocoder ul.gcd-gl-result>li:nth-child(odd) {
    background-color: rgba(16, 148, 180, 0.8);
}

.ol-geocoder ul.gcd-gl-result>li:nth-child(even) {
    background-color: rgba(4, 110, 135, 0.8);
}

.ol-geocoder.gcd-txt-container {
    position: absolute;
    width: 25em;
    height: 4.375em;
    top: .5em;
    left: calc(50% - 12.5em);
    box-sizing: border-box
}

.ol-geocoder.gcd-txt-container *,
.ol-geocoder.gcd-txt-container:after,
.ol-geocoder.gcd-txt-container:before {
    box-sizing: inherit
}

.ol-geocoder .gcd-txt-control {
    position: relative;
    width: 100%;
    height: 4.375em;
    border: 1px solid #ccc;
    background-color: #fff;
    overflow: hidden
}

.ol-geocoder .gcd-txt-input {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px 30px 5px 40px;
    border: none;
    text-indent: 6px;
    background-color: transparent;
    font-family: inherit;
    font-size: .875em
}

.ol-geocoder .gcd-txt-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px #4d90fe, inset 0 0 6px #4d90fe
}

.ol-geocoder .gcd-txt-reset {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 2px;
    width: 2.5em;
    height: 100%;
    line-height: 100%;
    border: none;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    outline: 0;
    cursor: pointer
}

.ol-geocoder .gcd-txt-reset:after {
    content: "\d7";
    display: inline-block;
    color: #333;
    font-size: 2em;
    cursor: pointer
}

.ol-geocoder .gcd-txt-glass {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: inline-block;
    width: 2.5em;
    height: 100%;
    background-size: 1.38889em;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23333' d='M29.156 29.961l-.709.709a2.006 2.006 0 0 1-2.838 0l-5.676-5.674c-.656-.658-.729-1.644-.281-2.412l-3.104-3.102a9.975 9.975 0 0 1-5.965 1.979C5.043 21.461.552 16.97.552 11.43S5.043 1.398 10.583 1.398c5.541 0 10.031 4.491 10.031 10.032 0 2.579-.98 4.923-2.58 6.7l3.035 3.035c.768-.447 1.754-.375 2.41.283l5.676 5.674c.784.785.784 2.056.001 2.839zM18.088 11.389a7.524 7.524 0 0 0-7.524-7.523 7.523 7.523 0 1 0-.001 15.046 7.525 7.525 0 0 0 7.525-7.523z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50%
}

.ol-geocoder ul.gcd-txt-result {
    position: absolute;
    top: 4.575em;
    left: 0;
    width: 25em;
    max-height: 18.75em;
    white-space: normal;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 4px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .8);
    transition: max-height .3s ease-in
}

.ol-geocoder ul.gcd-txt-result>li {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    padding: 0;
    line-height: .875rem
}

.ol-geocoder ul.gcd-txt-result>li>a {
    display: block;
    text-decoration: none;
    padding: 3px 5px
}

.ol-geocoder ul.gcd-txt-result>li>a:hover {
    background-color: #d4d4d4
}

.ol-geocoder ul.gcd-txt-result>li:nth-child(odd) {
    background-color: #e0ffe0
}

.ol-geocoder .gcd-hidden {
    opacity: 0;
    visibility: hidden
}

.ol-geocoder .gcd-pseudo-rotate:after {
    -webkit-animation: a .7s linear infinite;
    animation: a .7s linear infinite
}

@-webkit-keyframes a {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes a {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.gcd-address,
.gcd-road {
    font-size: 15px;
    font-weight: 600;
    color: rgb(255, 255, 255); 
}

.gcd-city {
    font-weight: 400
}

.gcd-city,
.gcd-country {
    font-size: .75em;
    color: #333
}

.gcd-country {
    font-weight: lighter
}
