/**
 * Show relations on the map (Google Maps)
 *
 * There is a bit of javascript which scrolls to the Google Maps container when
 * a result is clicked. This to make sure it works logically on mobile devices
 */

#informationcontainer,
#googlemaps {
    float: none !important;
    width: 100% !important;
}

/**
 * Information container
 */

#informationcontainer {
    margin-bottom: 1em;
}

#tablinks_informationwindow_search {
    display: inline-block !important;
}

#searchform fieldset {
    margin-bottom: 0;
}

#searchform input[type='text'] {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    line-height: 30px;
}

#searchform button {
    margin-right: 0;
}

#search_result_box {
    width: 100% !important;
    height: auto !important;
}

#searchbox,
.searchresult {
    width: 100% !important;
}

#googlemapscontainer .proFormList {
	overflow: hidden;
}

/*
	Itemlists - styles for itemlists
	--------------------------------------------------
*/
table.searchresult {
	margin: 1em 0;
}

table.searchresult thead tr th {
	border: 1px solid #DDDDDD;
}

table.searchresult thead tr th.distance {
	text-align: right;
}

table.searchresult tbody tr.clickable td {
	cursor: pointer; /* needed for IE7: gets even slower when changing cursor on hover states */
	border: 1px solid #DDDDDD;
}

/* row hover */
table.searchresult tbody tr.clickable:hover td {
	background-color: #f2f2f2;
}

table.searchresult tbody tr td.distance {
	text-align: right;
}

table.searchoptions thead tr th {
	border: 1px solid #DDDDDD;
}

table.searchoptions tbody tr.active td {
	background-color: #f2f2f2;
}

table.searchoptions tbody tr.clickable td {
	cursor: pointer; /* needed for IE7: gets even slower when changing cursor on hover states */
	border: 1px solid #DDDDDD;
}

/* row hover */
table.searchoptions tbody tr.clickable:hover td {
	background-color: #f2f2f2;
}

table.routedescription tbody tr.fromaddress th {
	padding: 5px 2px;
}

table.routedescription tbody tr.fromaddress th.print {
	text-align: center;
}

table.routedescription tbody tr.fromaddress th.print img:hover {
	cursor: pointer; /* needed for IE7: gets even slower when changing cursor on hover states */
}

table.routedescription tbody tr.clickable td {
	border-top: 1px solid #DDDDDD;
}

table.routedescription tbody tr.clickable td {
	cursor: pointer; /* needed for IE7: gets even slower when changing cursor on hover states */
	padding: 5px 2px;
}

table.routedescription tbody tr.clickable:hover td {
	background-color: #f2f2f2;
}

table.routedescription tbody tr td.distance {
	text-align: right;
}

table.routedescription tbody tr.last {
	border-bottom: 1px solid #DDDDDD;
}

table.routedescription tbody tr.toaddress td {
	padding: 5px 2px;
}

/**
 * Google maps
 */

#googlemaps {
    height: 350px !important;
}

.google-infowindow a:focus {
    outline: none;
}

/*
@media screen and (min-width: 800px) {
    !**
     * Information container
     *!

    #googlemapscontainer {
        overflow: hidden;
        width: 100%;
    }

    #informationcontainer {
        float: left !important;
        width: 35% !important;
        padding-right: 3%;
    }

    !**
     * Google maps
     *!

    #googlemaps {
        float: right !important;
        width: 65% !important;
        height: 500px !important;
    }
}*/
