@font-face {
    font-family: 'FF Unit Pro';
    src: url('fonts/FFUnitProRegular.ttf') format('truetype'),
         url('fonts/FFUnitProRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FF Unit Pro Bold';
    src: url('fonts/FFUnitProBold.ttf') format('truetype'),
         url('fonts/FFUnitProBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
:root {
  --blue: #005396;
}
html, body {
	margin: 0;
	font-family: 'FF Unit Pro';
}
h1, h2, h3, h4, h5, b, strong {
	font-family: 'FF Unit Pro Bold';
}
#preloader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10;
    justify-content: center;
    align-items: center;
    color: white;
}
#preloader img {
	max-width: 20vw;
	max-height: 20vh;
	margin: 0 auto;
    display: block;
}
#preloader p {
	text-align: center;
	font-size: 6vw;
}
#container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #089ED9;
    display: flex;
    align-items: center;
}
#image {
	margin-top: calc((-100vh + (1080 / 1920) * 100vh) / 2) !important;
	width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
header {
	background-color: var(--blue);
	height: 60px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 3;
}
.w50 {
	width: 50%;
}
.w33 {
	width: 33.33%;
}
.w25 {
	width: 25%;
}
.logo {
	margin: 5px auto;
}
.logo img {
	max-width: 100%;
    max-height: 50px;
    display: block;
    margin: 5px auto;
}
.headerlangs {
	display: flex;
	align-items: center;
	justify-content: right;
}
#searchicon {
	height: 30px;
	padding: 15px;
    padding-right: 0;
}
.headerlangs img {
	padding: 15px;
	width: 30px;
}
#sponsors {
	height: 60px;
	background-color: #fff;
	z-index: 3;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	display: flex;
	align-items: end;
}
#partners {
	width: calc(100% - 30px);
	margin: 5px 15px;
}
#partners img {
	margin: 0 auto;
	height: 50px;
	width: auto;
	max-width: 100%;
    object-fit: contain;
}
#openhours {
/*	width: 20vw;
	right: 0;
	bottom: 0;*/
}
#openhours img {
	position: absolute;
    max-height: 7vh;
	object-fit: contain;
	bottom: 0;
	right: 0;
}
#bg {
	background-color: rgba(0, 0, 0, 0.3);
	position: fixed;
	z-index: 4;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	display: none;
}
#popup, #search {
	width: 80vw;
	height: 60vh;
	border: 3px solid var(--blue);
	top: 15vh;
	left: 10vw;
	background-color: #fff;
	z-index: 5;
	position: fixed;
	display: none;
}
#popup {
	z-index: 6 !important;
}
#close-popup, #close-search {
	width: 20px;
    padding: 10px;
    margin-left: calc(100% - 40px);
    cursor: pointer;
}
.dn {
	display: none;
}
hr {
  border: 1px solid #eee;
}
#popup .dn {
	height: calc(100% - 45px - 7vh);
	overflow-y: auto;
}
#popup h3 {
	font-size: 18px;
	text-transform: uppercase;
	color: var(--blue);
	line-height: 0.7;
    margin: 10px 15px;
	margin-bottom: 20px;
}
#popup h3 * {
	margin: 0;
}
#popup .titlebus {
	font-size: 16px;
/*	text-transform: uppercase;*/
	color: var(--blue);
	line-height: 1.1;
    margin: 10px 15px;
	margin-bottom: 20px;
}
#popup .titlebus * {
	margin: 0;
}
#popup .titlebus p b {
	margin-bottom: 5px;
	margin-top: 15px;
	display: block;
	text-transform: uppercase;
}
#popup .hours {
	font-size: 14px;
	text-transform: uppercase;
	color: var(--blue);
	line-height: 1.1;
    margin: 10px 15px;
	margin-bottom: 20px;
	display: none;
}
.uppercase {
	text-transform: uppercase !important;
}
#popup .hours * {
	margin: 0;
	line-height: 1.5;
    word-spacing: 10px;
}
#popup .showhidehours {
	color: var(--blue);
	font-size: 16px;
	font-weight: bold;
	font-family: 'FF Unit Pro Bold';
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: calc(100% - 30px);
	margin: -10px 15px 10px;
	cursor: pointer;
}
#popup .showhidehours img {
	transition: 0.54s;
	width: 16px;
}
#popup .showhidehours.active img {
	transform: rotate(-90deg);
}
#clear-search {
	position: absolute;
    width: 14px;
    left: calc(100% - 40px);
    margin-top: 20px;
    padding: 10px;
    z-index: 1;
    display: none;
}
.busicon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	float: left;
	margin-right: 10px !important;
}
.busdesc {
	border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    padding: 10px 0;
    font-weight: 600;
}
.titlebus.text {
	text-transform: none;
}
.mainphoto {
	width: calc(100% - 30px);
	display: block;
	margin: 10px 15px;
}
.mainphoto.mainphoto3 {
	width: 70%;
	display: block;
	margin: 10px 15px;
}
.mainphoto.mainphoto2 {
	width: 20vw;
	height: 20vw;
	object-fit: contain;
	margin: 0px auto 20px;
}
.busstoppoint p {
	font-size: 18px;
	color: var(--blue);
	text-transform: uppercase;
	width: calc(100% - 30px);
	padding: 10px 0px;
	margin: 0 15px;
	border-bottom: 1px solid #bbb;
}
#searchfield {
	width: calc(100% - 20px);
	margin: 10px;
	font-size: 20px;
	padding: 10px 0;
	border: 0px solid transparent;
	border-bottom: 3px solid var(--blue);
}
#searchfield:focus,
#searchfield:active,
#searchfield:visited {
	outline: none;
}
#results {
	position: relative;
    overflow: auto;
    height: calc(100% - 120px);
    padding-bottom: 10px;
}
.busstoppoint {
	overflow-y: auto;
}




@media(min-width: 1074px){
	header, #sponsors {
		height: 120px;
		display: flex;
        align-items: center;
	}
	#image {
		margin-top: calc((-100vh + (1080 / 1920)* 100vh + 200px) / 2) !important;
	}
	.logo, .logo img, #partners img {
		height: 80px;
		max-height: 80px;
	}
	#searchicon, .headerlangs img {
		min-width: 60px;
		height: 60px;
		padding: 20px 25px;
	}
	#popup h3 {
	    font-size: 32px;
	    margin: 10px 35px;
	    width: calc(100% - 70px);
	}
	#popup .titlebus {
	    font-size: 24px;
	    margin: 10px 35px;
	    width: calc(100% - 70px);
	}
	#popup .showhidehours {
		font-size: 24px;
		margin-left: 35px;
		margin-right: 35px;
		width: calc(100% - 70px);
	}
	#popup .showhidehours img {
		width: 20px;
	}
	#popup .hours {
	    font-size: 24px;
	    margin: 10px 35px;
	    width: calc(100% - 70px);
	}
	#close-popup, #close-search {
	    width: 30px;
	    padding: 10px;
	    margin-left: calc(100% - 50px);
	}
	.mainphoto {
		width: 70%;
		display: block;
		margin: 10px 35px;
	}
	#searchfield {
		font-size: 24px;
	}
}
