/* Additional styles */
html, body {
    /* height: 100%; */
    margin: 0;
    padding: 0;
}

#map, #googlemap, #nationalAddrMap{
    width:100%;
    height:100%;
    margin: 0 auto;
    position: relative;
}

.pull-left{
	float:left;
}

.pull-right{
	float:right;
}

.col-half {
	width:50%;
}

.error{
    color: #e0555a;
    font-weight: unset;
}

.success{
    color: green;
}

.remove-border{
    border-bottom: none;
}

.full-height{
    height:100%;
    margin:0;
}

.header-logo img {
    padding-top:10px;
    border-bottom: 0px;
}
.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    /* top: 25%; 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    /* margin-top: 30px; 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #fff;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
    z-index:999;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn{
    position: relative;
    top: 5px;
    
    font-size: 0.8em;
    border: 1px solid #fff;
    border-radius: 0.5em;
    float: right;
    margin-right: 10px;
}
.overlay .closebtn:hover{
    background-color: #fff;
}

.mainclosebtn{
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .mainclosebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

body {
    font-family: 'Noto Sans', sans-serif;
    /* padding: 45px; */
    /* text-align: center; */
}

.map-container {
    position: relative;
    width: 800px;
    height: 500px;
    margin: 0 auto;
}

/* #map {
    margin: auto;
    width: 100%;
    height: 100%;
} */

#pac-input, #nationalAddr-input {
    position: relative;
    left: 10px;
    z-index: 999;
    width: 60%;
    margin: 8px 0;
    display: inline-block;
    color:#fff;
    /* border: 1px solid #ccc; */
    /* box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px; */
    /* -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; */
    padding: 10px;
}

#current, #glatlong, #showAddr, .overlay-header {
    background-color: green !important;
    font-size: 20px;
    color: #fff;
    padding: 15px;
}

#form-messages {
    /* display: inline-block; */
    /* position: fixed; */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    height: 100px;
    margin: auto;
    background-color: #f3f3f3;
    color: green;
    font-size: 2em;
}

.mapbtn {
    margin: 0 0.5em 0.5em 0 !important;
    padding: 6px !important;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

.google-map-btn {
    background-color: #4aa562 !important;
}
.what3words-map-btn {
    background-color: #e11f26 !important;
    background-image: url('/images/w3w_logo.svg');
}

.national-map-btn{
    background-color: #439445 !important;
}

.pick-up-btn {
    background-color: #8b6822 !important;
}

.delivery-btn {
    background-color: #255921 !important;
    color:#90d492 !important;
}

#fade-wrapper{
    background-color: #f1f1f1;
}