* {
	box-sizing: border-box;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */  
}

*::-webkit-scrollbar {
        display: none;
}	


body {
    width: 100vw;
    margin:0;
	padding:0;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
}

.form {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	height: 40vh;
	width: 100vw;
	background-color: rgb(255, 228, 181);
}

form input,.subm {
	height: 36px;
	font-size: 18px;
	font-family: 'Quicksand', sans-serif;
	border: none;
	appearance: none;
	outline: none;
	border-radius: 10px;
	background-color: white;
	padding: 2px 2px 2px 10px;
}

@media (orientation: landscape) {
	form input,.subm {
		width: 35vw;
	}
}

@media (orientation: portrait) {
	input,.subm {
		width: 90vw;
	}
}

.subm {
	background-color: royalblue;
	cursor: pointer;
	text-align: center;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	color: rgb(255, 228, 181);	
}
@media (hover:hover) {
	.subm:hover {
		color: rgb(65,225,105);
	}	
	.header > div:hover, .header > a:hover {
		background-color: rgba(0,0,0,0.15);
	}
}

.dn {
	display: none;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: auto;
	display: flex;
	padding: 0;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;	
	background-color: rgba(0,0,0,0.05);
}

.header > div,a{
	cursor: pointer;
	padding: 10px;
	width: calc((100% - 76px) / 4);
	text-align: center;
	height: 38px;
}


.home {
	width: 38px !important;
}
.logo {
	height: 18px;
	width: 18px;
}

.cont {
	width: 100vw;
    margin:0;
	padding-top: 40px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	overflow: scroll;
}
.cont3 {
	width: 100vw;
    margin: 0;
	padding-top: 43px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	overflow: scroll;
}

.cont2 {
	width: 100vw;
    margin:0;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: start;
	overflow: scroll;
}

.theader {
	position: fixed;
	height: 28px;
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction: row;
	font-weight: bold;
}
.tbody {
	position: fixed;
	margin-top: 28px;
	overflow: scroll;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
}


.trow {
	height: 28px;
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction: row;
}

.tcello {
	width: calc(3em + 10px);
	text-align: right;
}

.tcelln1 {
	width: calc(50vw - 10px - 3em - 10px);
}
.tcelln1r {
	width: calc(75vw - 10px - 3em - 10px);
}
.tcelln21 {
	width: calc((100vw - 20px - 6em - 30px) / 2.5);
}
.tcellr21 {
	width: calc((100vw - 20px - 6em - 30px) / 5);
}

.tcellr1 {
	width: calc(50vw - 10px);
}
.tcellr1r {
	width: calc(25vw - 10px);
}
.tcellr4 {
	width: calc((50vw - 10px) / 4);
}

.tcelln2 {
	width: calc((100vw - 20px - 4em - 20px) / 2);
}

.tcellt {
	width: calc(1em + 10px);
}

.tcell {
	height: 28px;
	border: solid white 1px;
	padding: 4px;
	overflow: scroll;
	cursor: default;
}

.tcol {
	width: 6vw;
	height: 16px;
	border-radius: 8px;
	border: solid black 1px;
}

.tcell0 {
	background-color: rgba(255, 228, 181,0.2);
}

.tcell1 {
	background-color: rgba(255, 228, 181,0.4);
}
.thcell {
	background-color: rgba(255, 228, 181,0.7);
}
.tbl {
	position: relative;
	font-family: 'Cutive Mono', monospace;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	margin-top: 10px;
}

.tbl1a {
	height: calc(28px + 20vh);
	width: calc(((100vw - 20px - 6em - 28px) / 2.5) + (3em + 10px));
	margin-left: 10px;
}

.tbl1b {
	height: calc(28px + 20vh);
	width: calc(((100vw - 20px - 6em - 28px) / 2.5) + (3em + 10px) + ((100vw - 20px - 6em - 30px) / 5));
	margin-left: 9px;
}

.tbl2 {
	height: calc(100vh - 58px - 40px - 20vh);
	width: calc(100vw - 20px);
}

.tbody1 {
	height: 20vh;
}

.tbody2 {
	height: calc(100vh - 48px - 38px - 40px - 20vh);
}
.dn {
	display: none !important;
}
.vh {
	visibility: hidden !important;
}
.bo {
	font-weight: bold;
}
.tmenuedit {
	width: 100vw;
	height: calc(100vh - 50px);
	overflow: scroll;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}

.editform {
	position: relative;
	margin-top: 10px;
	border-radius: 9px;
	padding: 10px;
}

.ce1 {
	border: solid royalblue 2px;
	background-color: rgba(65, 105, 225,0.05);
}
.ce2 {
	border: solid rgb(65, 225, 105) 2px;
	background-color: rgba(65, 225, 105,0.05);
}

.ce3 {
	border-radius: 0 ! important;
	background-color: rgba(225, 65, 105,0.05);
	margin-left: -10px;
	margin-right: -10px;
}

.flag {
	position: absolute;
	top: 10px;
	left: 10px;
}

.menuinput2 {
	width: 2em;
	height: 30px;
	text-align: right;
	font-size: 15px;
	font-family: 'Cutive Mono', monspace;
	border-bottom: solid rgb(220,220,220) 1px;
	border-top: none;
	border-left: none;
	border-right: none;
	appearance: none;
	outline: none;
	background-color: transparent;
	padding: 2px 2px 2px 10px;
	vertical-align: baseline;
	margin-left: 5px;
}

.menuinput4 {
	width: 4em;
	height: 30px;
	text-align: right;
	font-size: 15px;
	font-family: 'Cutive Mono', monspace;
	border-bottom: solid rgb(220,220,220) 1px;
	border-top: none;
	border-left: none;
	border-right: none;
	appearance: none;
	outline: none;
	background-color: transparent;
	padding: 2px 2px 2px 10px;
	vertical-align: baseline;
}


.menuinput1 {
	height: 30px;
	text-align: left;
	font-size: 15px;
	font-family: 'Cutive Mono', monspace;
	border-bottom: solid rgb(220,220,220) 1px;
	border-top: none;
	border-left: none;
	border-right: none;
	appearance: none;
	outline: none;
	background-color: transparent;
	padding: 2px 2px 2px 10px;
	vertical-align: baseline;
}

.menudelbut {
		display: inline-block;
		width: 1em;
		text-align: center;
		height: 30px;
		font-size: 15px;
		font-family: 'Cutive Mono', monospace;
		vertical-align: baseline;
		color: rgb(255,0,0,0.5);
		cursor: default;	
		margin-left: 5px;
}
.menuaddbut {
		display: inline-block;
		width: 1em;
		text-align: center;
		height: 30px;
		font-size: 15px;
		font-family: 'Cutive Mono', monospace;
		vertical-align: baseline;
		color: rgb(0,128,0,0.5);
		cursor: default;	
		margin-left: 5px;
}

.savebut {
	display: inline-block;
	font-family: 'Cutive Mono', monospace;
	border-bottom: solid transparent 1px !important;
	width: 4em !important;
	cursor: pointer;
	color: rgb(0,128,0,0.7) !important;
}
.deletbut {
	display: inline-block;
	font-family: 'Cutive Mono', monospace;
	border-bottom: solid transparent 1px !important;
	width: 6em !important;
	cursor: pointer;
	color: rgb(128,0,0,0.7) !important;
}
.undeletbut {
	display: inline-block;
	font-family: 'Cutive Mono', monospace;
	border-bottom: solid transparent 1px !important;
	width: 8em !important;
	cursor: pointer;
	color: rgb(0,0,128,0.7) !important;
}

@media (orientation: landscape) {
	.header > div {
		font-size: 15px;
	}
	.menuspan {
		width: 45vw;	
		display: inline-block;
		font-family: 'Cutive Mono', monospace;
	}
	.menuinput1 {
		width: calc(30vw - 5em - 20px);
	}
	.tmenuedit {
		flex-direction: row; 
		vertical-align: baseline;
		align-items: start;
		justify-content: space-evenly;
	}
	.menuinput {
		width: 30vw;
		height: 30px;
		text-align: left;
		font-size: 15px;
		font-family: 'Cutive Mono', monspace;
		border-bottom: solid rgb(220,220,220) 1px;
		border-top: none;
		border-left: none;
		border-right: none;
		appearance: none;
		outline: none;
		background-color: transparent;
		padding: 2px 2px 2px 10px;
		vertical-align: baseline;
	}
	.menuinput7 {
		width: calc(30vw - 3em - 10px) !important;
	}
	.menuinputib {
		display: inline-block;
		width: 30vw;
		text-align: left;
		font-size: 15px;
		font-family: 'Cutive Mono', monspace;
		background-color: transparent;
		padding: 2px 2px 2px 10px;
		vertical-align: top;
	}
	.menulabel {
		display: inline-block;
		width: 15vw;
		text-align: right;
		height: 30px;
		font-size: 15px;
		font-family: 'Cutive Mono', monospace;
		vertical-align: baseline;
		color: rgb(50,50,50);
		padding-right: 10px;
		cursor: default;
	}
	.flag {
		max-width: 6vw;
		max-height: 4vw;
	}
}

@media (orientation: portrait) {
	.header > div {
		font-size: 12px;
	}
	.menuspan {
		width: 90vw;	
		display: inline-block;
		font-family: 'Cutive Mono', monospace;
	}
	.menuinput1 {
		width: calc(60vw - 5em - 20px);
	}
	.tmenuedit {
		flex-direction: column; 
		align-items: center;
		justify-content: start;
	}
	.menuinput {
		width: 60vw;
		height: 30px;
		text-align: left;
		font-size: 15px;
		font-family: 'Cutive Mono', monspace;
		border-bottom: solid rgb(220,220,220) 1px;
		border-top: none;
		border-left: none;
		border-right: none;
		appearance: none;
		outline: none;
		background-color: transparent;
		padding: 2px 2px 2px 10px;
		vertical-align: baseline;
	}
	.menuinput7 {
		width: calc(60vw - 3em - 10px) !important;
	}
	.menuinputib {
		display: inline-block;
		width: 60vw;
		text-align: left;
		font-size: 15px;
		font-family: 'Cutive Mono', monspace;
		background-color: transparent;
		padding: 2px 2px 2px 10px;
		vertical-align: top;
	}
	
	.menulabel {
		display: inline-block;
		width: 30vw;
		text-align: right;
		height: 30px;
		font-size: 15px;
		font-family: 'Cutive Mono', monospace;
		vertical-align: baseline;
		color: rgb(50,50,50);
		padding-right: 10px;
		cursor: default;
	}
	.flag {
		max-width: 12vw;
		max-height: 8vw;
	}
}

.bl {
	font-weight: bold;
	color: royalblue;
}

@media (hover:hover) {
	.trow:hover, .theader:hover {
		background-color: rgba(255,0,0,0.2);
	}
	.menudelbut:hover {
		color: rgba(255,0,0,0.75);
		font-weight: bold;
	}	
	.menuaddbut:hover {
		color: rgba(0,128,0,0.75);
		font-weight: bold;
	}
	.savebut:hover {	
		color: rgb(0,128,0,1);
		font-weight: bold;
	}
	.deletbut:hover {	
		color: rgb(128,0,0,1);
		font-weight: bold;
	}
	.undeletbut:hover {	
		color: rgb(0,0,128,1);
		font-weight: bold;
	}
	.tof:hover {
		background-color: rgba(65, 105, 225, 0.25);
	}
}

.orfi {
	position: fixed;
	background-color: rgba(240,240,240,0.9);
	z-index: 2;
	min-height: 20vh;
	border-top: solid rgb(80,80,80) 2px;
	min-width: 30vw;
	padding: 4px;
	text-align: left;
}




.rw {
	display: flex;
	padding: 0;
	margin: 0;
	justify-content: space-evenly;
	align-items: center;
	width: 100vw;
	height: calc(100vh - 50px);
}	

.cell {
	display: flex;
	width: 100%;
	justify-content: space-evenly;
	align-items: center;
	cursor: pointer;
	margin-top: 2px;
	min-height: 40px;
	border: solid white 2px;
	flex-direction: row;
	flex-wrap: wrap;
}
.pad {
	padding: 1px 4px 1px 4px;
}

.sm {
	font-size: 12px;
}

.tours {
	display: flex;
	padding: 5px;
	flex-direction: column;
}

@media (orientation: landscape) {
	.rw {
		flex-direction: row;
	}
	.tours {
		width: 100vw;
		height: calc(100vh - 50px);
	}
	.cells {
		width: 50%;
	}
	.lst {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: start;
		align-items: start;
	}
}



@media (orientation: portrait) {
	.rw {
		flex-direction: column;
	}
	.tours {
		width: 100vw;
		height: calc(100vh - 50px);
	}
	.cells {
		width: 100%;
	}
	.lst {
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: start;
	}
}

a {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.new {
	height: 65%;
	overflow: scroll;
}

.old {
	height: calc(35% - 5px);
	opacity: 0.5;
	margin-top: 5px;
	overflow: scroll;
}

.miniinput {
	width: 3em;
	height: 30px;
	font-size: 12px;
	font-family: 'Quicksand', sans-serif;
	border: none;	
	appearance: none;
	outline: none;
	background-color: transparent;
	padding: 2px;
	vertical-align: baseline;
}

.cur {
	cursor: default;
	text-align: center;
	background-color: rgba(0,0,0,0.1);
	border: solid white 2px;
	width: 100%;
}	

@media (hover:hover) {
	.celltour:hover {
		border: solid royalblue 2px;
	}
}
