@font-face {
	font-display: swap; 
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 350;
	src: url('/files/fonts/montserrat-v25-latin_latin-ext-regular.woff2') format('woff2'), 
         url('/files/fonts/montserrat-v25-latin_latin-ext-regular.ttf') format('truetype'); 
}
::-webkit-scrollbar {
	width: auto;
}
::-webkit-scrollbar-track {
	background: #eee; 
}
::-webkit-scrollbar-thumb {
	background: #ccc; 
	border-radius: 10px;
	border-inline: 1px outset #ccc;
}
::-webkit-scrollbar-thumb:hover {
	background: #888; 
	border-inline: 1px outset #888;
}
body {
	font-size: 16px;
    font-family: 'Montserrat',Verdana,Helvetica;
	font-display: swap;
	padding: 0px;
	margin: 0px;
	background: #fff url('/files/mm/background.jpg') top left no-repeat;
}
html {
	min-height: 100%;
	color: #030304;
	
}
a, a:visited {
	text-decoration: none;
	color: #08082c;
}
a:hover {
	color: #667;
}
h1,h2,h3 {
	margin: 5px;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.5em;
}
h3 {
	font-size: 1.33em;
}

.btn, .btn:visited {
	display: block;
	padding: 8px;
	margin: 5px;
	font-size: 1.2em;
	background: #eef;
	border-radius: 5px;
	border: 0.5px solid #888;
	cursor:pointer;
	text-align: center;
	color: #000 !important;
}
.panel {
	border-radius: 5px;
	border: 0.5px solid #dde;
	padding: 10px;
	margin: 12px 10px;
	background: rgb(255, 255, 255, 0.5);
}
.panel-info {
	border-radius: 5px;
	border: 1px solid #ccd;
	padding: 15px;
	margin: 12px 10px;
	background: rgb(231, 231, 231, 0.5);
	color: #080800;
}
.panel-info a,.panel-info a:visited {
	color: #223;
}
.panel-info a:hover {
	color: #666;
}
.panel-tab {
	border: 1px solid #888;
	border-top-left-radius: 10%;
	border-top-right-radius: 10%;
	padding:10px;
	float:left;
	margin-right:10px;
	border-bottom: 0px;
	cursor:pointer;
	background: #eee;
}
.tab-selected {
	background: #dde;
}
.panel-tab:hover, .tab-selected:hover {
	background: #fff;
}
progress {
  display: inline-block;
  vertical-align: baseline;
}
.progress {
  height: 20px;
  margin-bottom: 1px;
  overflow: hidden;
  background-color: #e5e5f5;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
.progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  background-color: #337ab7;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  -webkit-transition: width .6s ease;
       -o-transition: width .6s ease;
          transition: width .6s ease;
}
.progress-bar {
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  -webkit-background-size: 40px 40px;
          background-size: 40px 40px;
}
.flex {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between
}
.rounded-box {
	border-radius: 5px; 
	border: 1px solid black; /* Black outline */
}
input::placeholder {
	color: #aaa;
}
#blackscreen {
	width:99.9%;
	height:99.9%;
	background:#000;
	position:fixed;
	top:0px;
	left:0px;
	z-index:190;
	overflow:hidden;
}
#helpbox {
	background:#fafaff;
	width:90%;
	height:90%;
	position:fixed;
	top:5%;
	left:5%;
	z-index:200;
	overflow:hidden;
	padding:5px;
	margin:0px
}

/* JR Pass Calculator */

.trip_line {
	border-bottom:1px dotted #aaa;
	padding:5px;
}
.trip_line:hover {
	background: #f0f0f0;
}
.trip_day {
	width:34px;
	flex: 0 0 auto;
}
.trip_towns {
	width:40%;
	flex: 0 0 auto;
}
.trip_route {
	border-left: 1px dotted #aaa;
	flex: 1;
}
.trip_delete {
	width:10px;
	flex: 0 0 auto;
	cursor: pointer;
}
.trip_routetype0 { /* JR */
	color: #050;
}
.trip_routetype1 { /* part JR */
	color: #990;
}
.trip_routetype2 { /* not JR */
	color: #500;
}
.trip_line_calendar {
	padding:5px;
	border-radius: 5px; 
	border: 1px solid black; 
}
.trip_calendar_day {
	flex: 1 1 auto;
	text-align: center;
	border-left: 1px dotted #ccc;
}
.trip_line_calendar > .trip_calendar_day:first-child {
	border-left: 0px;
}
.trip_result {
	padding:5px;
	margin: 5px;
	border-bottom:1px solid #aaa;
}
.mobwarning {
	display:none;
}
@media (max-width: 800px) {
	.mobwarning {
		display:block;
	}
	.trip_towns {
		width: auto;
		flex: 1;
	}
}