main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.start-marker {
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
}
.leaflet-routing-alt.input-group {
    position: relative;
    overflow: visible;
    box-shadow: 3px 2px 3px 1px gray;
}
#searchCityDistancebutton {
	margin-left: 40px;
	margin-bottom: 10px;
}

#suggestionsListTo,
#suggestionsListFrom {
	display: none;
    position: absolute;
	padding: 5px;
    z-index: 9999;
    width: 100%;
    background: white;
    box-shadow: 1px 7px 7px 2px #4d4d4d;
    top: 100%;
	max-height: 250px;
	overflow-y: auto;
}
#suggestionsListTo ul,
#suggestionsListFrom ul {
    padding: 5px;
}
#suggestionsListTo li,
#suggestionsListFrom li {
	cursor: pointer;
}
.leaflet-routing-container.leaflet-bar.leaflet-control {
	position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
	box-shadow: none;
}
.leaflet-routing-container.leaflet-bar.leaflet-control input {
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	height: 36px;
}
#searchCityDistancebutton {
	color: #fff;
    background-color: #7dbb00;
    text-transform: uppercase;
    border-color: #7dbb00;
    box-shadow: 3px 2px 3px 1px gray;
    opacity: 1;
}
#map-wrap {
	position: relative;
}
#searchCityDistancebutton[disabled],
#change_input_to_button[disabled] {
	opacity: .6;
}
.leaflet-routing-alternatives-container {
	display: none
}
.leaflet-routing-wrap {
	display: grid;
	grid-template: 'button from' auto
					'button to' auto
					/ 36px 1fr;
	gap: 5px;
	margin-bottom: 10px;
}
#clear_input_from_button,
#clear_input_to_button {
	display: none;
	border-left: 1px solid #ced4da;
}
#change_input_to_button {
	grid-area: button;
	display: flex;
	flex-flow: column;
	justify-content: center;
	row-gap: 10px;
}
#change_input_to_button::before,
#change_input_to_button::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	transition: transform .5s ease;
}
#change_input_to_button::before {
	border-bottom: 10px solid #3bb1ce;
}
#change_input_to_button::after {
	border-top: 10px solid #8989c9;
}
#change_input_to_button:hover::before {
	transform: rotate(180deg) translateY(-20px);
}
#change_input_to_button:hover::after {
	transform: rotate(180deg) translateY(20px);
}
.leaflet-from {
	grid-area: from;
}
.leaflet-to {
	grid-area: to;
}
.info-route-map-div {
	display: none;
}
.leaflet-control-container div.leaflet-top.leaflet-left {
	right: 2%;
	top: 80%;
	left: auto;
}
.leaflet-left div.leaflet-control {
	margin-left: 0;
	margin-top: 0;
}

@media (max-width: 640px) {
	#searchCityDistancebutton {
		display: block;
		margin: 0 auto 10px;
	}

	.leaflet-routing-container.leaflet-bar.leaflet-control {
		position: static;
	    padding-top: 25px !important;
	    float: none;
	    max-width: 400px;
	    margin: 0 auto !important;
	}

	.leaflet-control-container .leaflet-top.leaflet-left {
		right: 10px;
		left: auto;
	}

	.info-route-map-div {
		margin: 0;
	}
}

table.table.table-striped.table-bordered {
    border: 2px solid gray;
    box-shadow: 1px 2px 11px gray;
}
table.table.table-striped.table-bordered > thead > tr > th,
#averagespeedTable th {
	color: white;
    background: #5798bf;
    text-align: center;
}
table.table.table-striped.table-bordered > thead > tr > th > a {
    color: #fff;
    text-decoration: none;
}
#averagespeedTable tbody tr {
	font-size: 0.8em;
}
.margin-top-30{margin-top:30px}

.margin-bottom-30{margin-bottom:30px}

.bg-white{background:#fff}

ul.pagination {
    justify-content: end;
    column-gap: 20px;
}

ul.pagination li.prev.disabled,
ul.pagination li.next.disabled {
    display: none;
}

ul.pagination li a {
    text-decoration: none;
    color: black;
    font-weight: 600;
}
ul.pagination li {
    display: inline-flex;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 10px;
}

ul.pagination li.active {
    background: #29aae0;
    min-width: 30px;
    box-shadow: 2px 2px 3px gray;
}

ul.pagination li.active a {
    color: white;
}

.table.table-striped.table-bordered tbody {
    font-size: 0.8em;
}

/* #input_city_from, #input_city_to {
    height: auto;
} */

.form-control:focus {
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.input-group-prepend {
    padding: 0;
    max-width: 57px;
}

span.input-group-text {
	font-size: 14px;
    line-height: 1.42857143;
    background: none;
    border: none;
    color: white;
    font-weight: 600;
	padding: 0;
}

.info-route-map-p {
	margin-bottom: 10px;
}

#map-wrap {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
}

.btn,
.btn:hover,
.btn:first-child:active,
.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
	padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
	cursor: pointer;
	user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
	color: #6c757d;
	background-color: #ededed;
}
.btn-link {
	text-decoration: none;
	border: none;
	background: none;
	text-align: start;
}
.grid-view table.items th,
.grid-view table.items td {
	font-size: 0.9em;
	border: 1px white solid;
	padding: 0.3em;
}

.grid-view table.items th a {
	color: black;
	font-weight: bold;
	text-decoration: none;
}

table.table.table-striped.table-bordered {
	background: white;
	border-collapse: collapse;
	width: 100%;
	border: 1px #D0E3EF solid;
}

.grid-view {
	padding: 15px 0;
}

.padding-top-30 {
	padding-top: 30px;
}

.padding-bottom-20 {
	padding-bottom: 20px;
}

#yw0 table tr td {
	color: #666666 !important;
	vertical-align: middle;
}

.main-section h1 {
	font-size: 36px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
	margin-bottom: 30px;
}

.breadcrumb {
	margin-bottom: 10px;
	height: auto;
	line-height: 2em;
}

.breadcrumb a {
	background-color: #EFEFEF;
}

.breadcrumb a, .breadcrumb span {
	padding: 3px 5px;
	border-radius: 3px;
	border: 1px solid #ddd;
	text-decoration: none;
	display: inline-block;
	line-height: 1em;
}

.breadcrumb span {
	background-color: #F5F5F5;
}

.breadcrumb-item + .breadcrumb-item::before {
	content:"\2039";
	transform: rotate(180deg);
    padding-left: 10px;
    padding-right: 0;
}

a.asc:after {
	border-bottom-color: #fff;
}

footer {
	width: 100%;
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	align-items: center;
	justify-content: space-evenly;
	background: #29aae070;
	border-top: 2px solid white;
	padding: 20px;
}

footer.fixed {
	position: fixed;
	bottom: 0;
}

footer a {
	text-decoration: none;
	font-weight: 700;
}

@media (max-width: 991px) {
	.col-md-6 {
		width: 100%;
	}
}

@media (max-width: 991px) {
	.container-sm, div.container {
		max-width: 100%;
	}
}

