﻿html {
    background: linear-gradient(to top, white, #E0E0E0) fixed;
}

body {
    background-color: transparent !important;
    margin: auto;
    margin-top: 20px !important;
}

.communitymaps-cityservices-lookup {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
    max-width: 875px;
    margin: 0px auto;
}

    .communitymaps-cityservices-lookup * {
        border-radius: 0px !important;
        box-sizing: border-box;
    }

    .communitymaps-cityservices-lookup a {
        text-decoration: none;
    }

    .communitymaps-cityservices-lookup .panel {
        border-radius: 0px;
        margin: auto;
        margin-bottom: 10px;
    }

        .communitymaps-cityservices-lookup .panel .panel-heading {
            border-top-left-radius: 0px;
            border-top-right-radius: 0px;
            cursor: pointer;
        }

        .communitymaps-cityservices-lookup .panel .panel-title > a > span {
            margin-right: 8px;
        }

    .communitymaps-cityservices-lookup .cmapp-caret {
        float: right;
    }

    .communitymaps-cityservices-lookup .table {
        margin-bottom: 0px;
    }

    .communitymaps-cityservices-lookup .form-group {
        margin-bottom: 0px;
        margin-top: 10px;
        /*margin-left: 10px;*/
    }

        .communitymaps-cityservices-lookup .form-group button.cmapp-search-btn {
            width: 50px;
        }

    .communitymaps-cityservices-lookup .bg-yellow {
        background-color: yellow !important;
    }

    .communitymaps-cityservices-lookup tr:hover {
        background-color: #CEECF5 !important;
    }

    .communitymaps-cityservices-lookup .cmapp-page-header {
        padding: 8px 8px 8px 8px;
        line-height: 30px;
        /*box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.8);*/
    }

        .communitymaps-cityservices-lookup .cmapp-page-header > div {
            display: inline-block;
        }

    .communitymaps-cityservices-lookup .img {
        width: 100px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .communitymaps-cityservices-lookup .cmapp-logo {
        display: block;
        background-image: url(/CommunityMaps/Images/page_header.jpg);
        height: 100px;
        border: 1px solid black;
        background-position: 50% 50%;
        background-size: cover;
        text-align: center;
        /*-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,.3)));
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));*/
    }

    .communitymaps-cityservices-lookup .form-control {
        display: inline-block;
        height: 35px;
        /*padding: 6px 4px;*/
    }

    .communitymaps-cityservices-lookup .font-weight-bold {
        font-weight: bold;
    }

    .communitymaps-cityservices-lookup .gradient-green {
        /*background-color: #00FF00 !important;*/
        background: linear-gradient(to top, white, #00FF00) fixed;
    }

    .communitymaps-cityservices-lookup .gradient-red {
        /*background-color: #FF0000;*/
        background: linear-gradient(to top, white, #FF0000) fixed;
    }

    /* cow blue */
    .communitymaps-cityservices-lookup .communitymaps-cow-blue,
    .communitymaps-cityservices-lookup .cmapp-page-header {
        color: white !important;
        background-color: #367cfe;
        background: -webkit-gradient(linear,left top,left bottom,from(#367cfe),to(#015dff));
        background: -webkit-linear-gradient(to top,#367cfe,#015dff);
        background: -moz-linear-gradient(to top,#367cfe,#015dff);
        background: -ms-linear-gradient(to top,#367cfe,#015dff);
        background: -o-linear-gradient(to top,#367cfe,#015dff);
        background: linear-gradient(to top,#367cfe,#015dff);
    }

        /* cow green */
        .communitymaps-cityservices-lookup .communitymaps-cow-blue:hover {
            color: #1e1e1e !important;
            color: #000000;
            background-color: #bfe096;
            background: -webkit-gradient(linear,left top,left bottom,from(#bfe096),to(#9fd163));
            background: -webkit-linear-gradient(top,#bfe096,#9fd163);
            background: -moz-linear-gradient(top,#bfe096,#9fd163);
            background: -ms-linear-gradient(top,#bfe096,#9fd163);
            background: -o-linear-gradient(top,#bfe096,#9fd163);
            background: linear-gradient(top,#bfe096,#9fd163);
        }

/*footer {
        bottom: 0;
        position: fixed;
        width: calc(100% - 30px);
    }

    .footer {
        height: 100px;
        margin: auto 0px;
        width: 100%;
        text-align: center;
        font-size: 12px;
    }*/

/*#region AutoComplete Styling */
* {
    box-sizing: border-box;
}

body {
    /*font: 16px Arial;*/
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

input {
    border: 1px solid transparent;
    /*background-color: #f1f1f1;*/
    /*background-color: #FFFACD;*/
    padding: 10px;
    font-size: 16px;
}

    input[type=text] {
        /*background-color: #f1f1f1;*/
        /*background-color: #FFFACD;*/
        /* changed width: 100%;*/
    }

    input[type=submit] {
        background-color: DodgerBlue;
        color: #fff;
    }

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        .autocomplete-items div:hover {
            /*when hovering an item:*/
            background-color: #e9e9e9;
        }

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/*#endregion */

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) and (max-width:600px) {
    .communitymaps-cityservices-lookup input[type=text] {
        font-size: 12px;
    }

    .communitymaps-cityservices-lookup .form-group {
        margin-bottom: 0px;
        margin-top: 10px;
        /*margin-left: 0px;*/
    }

    .form-control {
        display: inline-block;
        height: 35px;
        padding: 6px 4px;
    }

    .communitymaps-cityservices-lookup .cmapp-logo {
        text-align: center;
    }

    .body-content {
        width: auto;
    }

    .communitymaps-cityservices-lookup .cmapp-page-header > div:nth-child(2) {
        padding-left: 5px !important;
        padding-top: 5px !important;
    }
}

div.communitymaps-cityservices-lookup {
    background-color: white;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
}

.communitymaps-cityservices-lookup input, .communitymaps-cityservices-lookup button {
    height: 40px !important;
}

/* override */
.communitymaps-cityservices-lookup .alert {
    margin-bottom: 15px;
}

/* override */
.communitymaps-cityservices-lookup input, select, textarea {
    max-width: 100% !important;
}

/* override */
.communitymaps-cityservices-lookup .btn {
    line-height: 1.49999999 !important;
}

/* override */
.communitymaps-cityservices-lookup .panel-body {
    padding: 5px !important;
}

/* override */
.communitymaps-cityservices-noresults-alert.alert {
    margin-bottom: 0px !important;
    border-radius: 0px !important;
    padding: 8px !important;
}

.communitymaps-cityservices-noresults-alert .alert {
    position: relative;
    z-index: 10;
    padding-left: 250px;
    font-size: 14px;
}

    .communitymaps-cityservices-noresults-alert .alert h3,
    .communitymaps-cityservices-noresults-alert .alert .h3 {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 24px;
    }
