/*!
 * G + P styles
 * Copyright 2013 G + P Glanzer + Partner Werbeagentur GmbH
 */

#mappy {
    display: block;
    min-height: 500px;
    position: relative;
}

.gp-map-container {
    min-height: 500px;
    height: 100%;
    width: 100%;
}

.gp-map-container .gm-style-cc a {
    font-weight: normal;
}

/**
 * Panel
 */

.gp-panel,
.gp-list,
.gp-infowindow,
.gp-directions-container {
    background: #fff;
    color: #888888;
    font-family: 'Roboto', Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5em;
}

.gp-panel {
    overflow: hidden;
    position: absolute;
    bottom: 20px;
    left: 20px;
    top: 20px;
    width: 290px;
    z-index: 1;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
}

.gp-panel-content {
    overflow: auto;
    padding: 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.gp-panel-title {
    background: #5090ff;
    color: #ffffff;
    display: block;
    font-family: 'Roboto', Verdana, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 150%;
    line-height: 2em;
    margin: 0;
    padding: 2px 10px;
    border-radius: 5px 5px 0 0;
}

.gp-panel-hl {
    border-bottom: 1px solid #dddddd;
    color: #333333;
    display: block;
    font-family: 'Roboto', Verdana, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 1em;
    margin: 0;
    padding: 38px 10px 10px 10px;
}

.gp-intro {
    display: block;
    padding: 10px;
}

/**
 * InfoWin
 */

.gp-infowindow {
    width: 300px;
}

.gp-infowindow .gp-list-element {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.gp-infowindow .gp-list-element dt {
    border-bottom: 1px solid #dddddd;
    padding: 2px 0;
}

.gp-infowindow .gp-list-element dd {
    width: 50%;
}

.gp-infowindow .gp-list-element .gp-list-address {
    width: 120px;
}

.gp-infowindow .gp-list-element .gp-list-contact {
    width: 180px;
}

/**
 * Form
 */
.gp-form-container {
    background: #fff;
    width: 100%;
}

.gp-form input,
.gp-form select {
    background: #f4f4f4;
    border: 1px solid #dddddd;
    color: #5090ff;
    display: block;
    width: 100%;
    padding: 10px;
    text-shadow: 0 1px rgba(255, 255, 255, 0.19);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.gp-form input[type=checkbox] {
    display: inline-block;
    width: auto;
}

/**
 * Remove the google logo since we use it in conjunction with the google map
 * https://developers.google.com/maps/documentation/javascript/places#LogoRequirements
 *     "Logo Requirements
 *     If your application displays Places API data on a map,
 *     that map must be provided by Google.
 *
 *     If your application displays Places API data on a page
 *     or view that does not also display a Google Map, you must
 *     show a "Powered by Google" logo with that data. For example,
 *     if your application displays a list of Places on one tab,
 *     and a Google Map with those Places on another tab, the first
 *     tab must show the "Powered by Google" logo."
 */

.pac-container:after {
    content: none !important;
    display: none;
}

.pac-item-selected,
.pac-item:hover {
    background: #5090ff;
    color: #ffffff;
}

.pac-item-selected .pac-item-query,
.pac-item:hover .pac-item-query {
    color: #ffffff;
}

.gp-form-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.gp-form-list li {
    display: block;
    border-top: 1px solid #dddddd;
    padding: 18px 10px 20px 10px;
}

.gp-form-label {
    display: block;
    font-size: 90%;
    margin: 0 0 10px 0;
    text-align: center;
    text-transform: uppercase;
}

.gp-button {
    background: #f4f4f4;
    border: 1px solid #dddddd;
    color: #5090ff;
    display: inline-block;
    font-size: 110%;
    line-height: 1.4em;
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    text-shadow: 0 1px rgba(255, 255, 255, 0.19);
    vertical-align: middle;
    white-space: nowrap;
    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05), 0 -2px 0 0 rgba(0, 0, 0, 0.01) inset;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05), 0 -2px 0 0 rgba(0, 0, 0, 0.01) inset;
}

.gp-button:hover,
.gp-button:focus {
    color: #5090ff;
    cursor: pointer;
    text-decoration: none;
}

.gp-button:active,
.gp-button.active {
    background: #dddddd;
    color: #5090ff;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/**
 * Directions
 */

.gp-directions-container {
    background: #f4f4f4;
    color: #888888;
    max-height: 2000px;
    overflow: hidden;
    position: relative;
    -webkit-transition: max-height 0.8s;
    transition: max-height 0.8s;
}

.gp-directions {
    padding: 18px 20px;
}

.gp-directions .adp-placemark {
    background: transparent;
    border: none;
    border-top: 1px solid #dddddd;
}

.gp-directions #adp-placemark {
    border: none;
    border-bottom: 1px solid #dddddd;
}

.gp-directions .adp-summary,
.gp-directions .adp-directions {
    margin-left: 28px;
}

.gp-directions .adp-directions tr:hover {
    background: #fff;
}

.gp-directions .adp-legal {
    color: #dddddd;
    font-size: 75%;
    text-align: right;
}

.gm-style .gm-iw {
    color: #888888;
}

.gp-directions-close {
    font-weight: bold;
    line-height: 1em;
    position: absolute;
    top: 10px;
    right: 20px;
}

/**
 * List
 */

.gp-list-container {
    background: #f4f4f4;
    color: #888888;
}

.gp-list {
    background: #f4f4f4;
}
.gp-list[data-results="init"] {
    display: none;
}

.gp-list-noresults {
    margin: 0;
    padding: 18px 20px;
}

.gp-list-element {
    border-bottom: 1px solid #dddddd;
    margin: 0;
    overflow: hidden;
    padding: 18px 20px;
}

.gp-list .gp-list-element:hover {
    background: #fff;
}

.gp-list-element:hover {
    cursor: pointer;
}

.gp-list-element dt {
    color: #5090ff;
    font-size: 120%;
    margin: 0 0 5px 0;
    padding: 0;
}

.gp-list-element dd {
    display: block;
    float: left;
    margin: 0;
    width: 33%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.gp-list-element span {
    display: inline-block;
    width: 40px;
}

.gp-list-element a,
.gp-list-element a:active,
.gp-list-element a:hover,
.gp-list-element a:focus,
.gp-list-element a:visited {
    color: #5090ff;
    font-weight: normal;
    text-decoration: none;
}

.gp-list-element a:hover {
    text-decoration: underline;
}
