html {	width: 100%;
	height: 100%;
}

body {
	min-height:100%;
	min-width: 340px;
	position:relative;
	padding-top: 0;
	margin: 0;
	font-family : Verdana;
}
/*
p {	padding: 0;
	margin: 0;
}*/

header {	width: 100%;
	height: 50px;
	line-height: 50px;
	margin-bottom: 10px;
	position: fixed;
	top: 0px;
	z-index: 1;
}

img {	border: none;
	max-width: 100%;
}

header a.lang {	position: absolute;
	left: 10px;
	top: 10px;
	height: 32px;
	line-height: 32px;
}

#color {
	display: inline-block;
	width: 10px;
	height: 10px;
	text-decoration: none;
	cursor: pointer;
}

.logo {	padding-left: 50px;
	font-size: 20px;
	float: left;
}

.logo > h1 {
	padding: 5px;
	margin: 0px;
	display: inline-block;
	font-weight: normal;
}

.logo > span {	cursor: pointer;
}

#menu {	float: right;
	padding-right: 10px;
	display: block;
}

#menu a {
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

#menu a:hover, #menu a.cur, #mobmenu:hover {	border-radius: 5px;
	text-decoration: none;
}

#mobmenu {
	float: right;
	display: none;
	margin: 5px;
    padding: 0px 5px;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 41px;
    z-index: 2;
}

#mobmenu:before {
	content: "";
	position: absolute;
	left: 8px;
	top: 10px;
	width: 25px;
	height: 0.2em;
}

main {
	min-width: 900px;
	width: 95%;	margin: 0px auto;
	padding: 10px;
	border-radius: 5px;
	display: block;
}

body:before {	content: "";
	display: block;
	padding-top: 60px;
}

body:after {	display: block;	height: 35px;
	width: 100%;
	content: "";
}

footer {	width: 100%;
	height: 25px;
	text-align: center;
	position:absolute;
	font-size: 12px;
	bottom:0;
	left:0;
	line-height: 25px;
}

footer #old {
	position: absolute;
	left: 10px;
	font-size: 9px;
}

footer .text {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding: 0px 10px;
	font-weight: bold;
	line-height: 25px;
	display: inline-block;
}

.panel-title {
	margin: 0px -15px;	padding: 5px;
	padding-left: 10px;
	border-radius: 3px;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.panel:after {
	content:"";
	display:block;	margin-bottom: 30px;
}

.panel:last-child:after {	margin: 0;
}

a {	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

input[type="submit"] {
	border: none;
	border-radius: 3px;
	padding: 3px;
	cursor: pointer;
}

 /*
.vertical {	position: relative;
}

.vertical div {
	transform: rotate(90deg);
	transform-origin: left bottom 10;
}

.vertical::after {
	content: '';
	display: block;	clear: both;
}*/

.tbl-cont {
	width: 100%;
	margin-bottom: 20px;
}

.tbl-cont::after {	content: '';
	clear: both;
	display: block;
}

.tbl-cont .left {
	overflow-x: scroll;
	width: 85%;
	float: left;
}

.tbl-cont .right {
	width: 15%;
	float: right;
}

.tbl-border {	border-collapse: collapse;
	overflow: hidden;
	/*width: 100%;*/
}

.tbl-border td, .tbl-border th {	border: 1px solid #ccc;
	width: 80px;
	min-width: 80px;
}

.tbl-border th > div {	padding: 5px;
}

.tbl-border td.gray {	background: #46FF27;
}

.tbl-border th {	font-weight: normal;
	font-size: 11px;
}

.button {	font-weight: bold;
	font-size: 16px;
	padding: 3px 15px !important;
}

/*
#dialog-form {	display: none;
}*/

body > .date-picker-wrapper {	z-index: 2000 !important;
}

.tbl-border .busy-cont {	position: relative;
	height:43px;
}

.tbl-border td {	cursor: pointer;
	height: 44px;
}

.tbl-border .busy {
 	z-index: 1;
 	overflow: hidden;
 	background: #FF0000;
 	border-radius: 15px;
 	box-shadow: 1px 1px 3px #000;
 	cursor: pointer;
 	height: 43px;
 	top:0px;
 	color: #fff;
}

.t-room {	position: relative;
	top: 8px;
	font-weight: bold;
}

.tbl-border .busy > span {	padding: 0px 5px;
}

#dialog-info p {	margin: 3px 0px;
}

.book-add input {	padding: 3px 5px;
	background: #fff !important;
}

@media all and (max-width:930px){
    body {
    	min-width: 320px;
    	width: 100%:
    }
    main {
    	min-width: initial;
    	width: 100%;
    	padding: 0;
    	max-width: 100%;
    }
    .panel-title {
    	margin: 0;
   		border-radius: 0;
    }
}

@media all and (max-width:780px) {	.logo {		padding-left: 10px;
	}
	#menu {		display: none;
		z-index: 1;
		/*opacity: 0;
		transition: 0.3s ease;*/
		position: fixed;
		padding-top: 38px;
		right: 0px;
		width: 300px;
		height: 100%;
		text-align: center;
	}
	#menu a {		margin: 10px;
		padding: 0px;
		display: block;
	}
    #mobmenu {    	display: block;
    }
    #main-lang a {
		margin: 20px;
	}
}

/* old browser fix */
header, nav, section, article, footer, main {
   display:block;
}