@charset "utf-8";
/* CSS Document */
/* Basic styling */


* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {
    font-family: sans-serif;
    font-size: 16px;
}
nav {
    background: #222;
    padding: 0 15px;
}
a {
    color: white;
    text-decoration: none;
}
.menu,
.submenu {   
    list-style-type: none;
}
.logo {
    font-size: 20px;
    padding: 7.5px 10px 7.5px 0;
}
.item {
    padding: 10px;
}
.item.button {
    padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
    color: #ccc;
}

#main {
  height: 100%;
	width: 330px;
	position: fixed;
	z-index: 1;
	margin-top: 65px;
	top: 0;
	left: 0;
	border: 1px solid black;
	overflow: hidden;
	padding-top: 20px;
  
}

.main-button {
	display: flex;
	align-items: center;
	justify-content: space-around
}
#main input {
	padding: 10px 30px;
	border-radius: 5px;
	
}

#main button {
	padding: 10px 20px;
    border-radius: 3px;
}

.main-data {
	    margin: 30px 0 0 0px;
    border-radius: 5px;
    border-top: 1px solid;
    padding: 0 10px;
}
	
	.main-data h5 {
		padding: 3px 5px;
		display: block;
		color: black;
	}
	
	.content {
		margin-left: 330px;
		padding: 0 10px;
	}
	
	



/* Mobile menu */
.menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.menu li a {
    display: block;
    padding: 15px 5px;
}
.menu li.subitem a {
    padding: 15px;
}
.toggle {
    order: 1;
    font-size: 20px;
}
.item.button {
    order: 2;
}
.item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
}
.active .item {
    display: block;
}
.button.secondary { /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}


/* Submenu up from mobile screens */
.submenu {
    display: none;
}
.submenu-active .submenu {
   display: block;
}
.has-submenu i {
    font-size: 12px;
}
.has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900; 
    content: "\f078";
    color: white;
    padding-left: 5px;
}
.subitem a {
    padding: 10px 15px;
}
.submenu-active {
    background-color: #111;
    border-radius: 3px;
}
/* Tablet menu */
@media all and (min-width: 700px) {
    .menu {
        justify-content: center;
    }
    .logo {
        flex: 1;
    }
    .item.button {
        width: auto;
        order: 1;
        display: block;
    }
    .toggle {
        flex: 1;
        text-align: right;
        order: 2;
    }
    /* Button up from tablet screen */
    .menu li.button a {
        padding: 10px 15px;
        margin: 5px 0;
    }
    .button a {
        background: #0080ff;
        border: 1px royalblue solid;
    }
    .button.secondary {
        border: 0;
    }
    .button.secondary a {
        background: transparent;
        border: 1px #0080ff solid;  
    }
    .button a:hover {
        text-decoration: none;
    }
    .button:not(.secondary) a:hover {
        background: royalblue;
        border-color: darkblue;
    }
}
/* Desktop menu */
@media all and (min-width: 960px) {
    .menu {
        align-items: flex-start;
        flex-wrap: nowrap;
        background: none;
    }

    .logo {
        order: 0;
    }

    .item {
        order: 1;
        position: relative;
        display: block;
        width: auto;
    }

    .button {
        order: 2;
    }

    .submenu-active .submenu {
        display: block;
        position: absolute;
        left: 0;
        top: 68px;
        background: #111;
    }

    .toggle {
        display: none;
    }

    .submenu-active {
        border-radius: 0;
    }


    body {
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        margin: 0;
    }

}


.main-data ul > li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border: 1px dashed #cccccc;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px;
}

.km_num {
    align-self: center;
    font-weight: bold;
    font-size: 18px;
    width: 20%;
}

.map_details {
    align-self: flex-start;
    font-weight: normal;
    width: 80%;
}

.map_details h4 a {
    color: #B80D10 !important;
}

@media (min-width: 481px) and (max-width: 767px) {
    .main-button {
        margin-top: 10px;
    }
}
@media (min-width: 320px) and (max-width: 480px) {
    #main {
        height: 45%;
        width: 100%;
    }

    #map {
        width: 100%;
        top: 400px;
        position: absolute;
        overflow: hidden;
        z-index: 99999;
    }

    .content {
        margin-left: 0;
    }

    .main-button {
        margin-top: 10px;
    }
}
	
	


	

