﻿
@import url("https://fonts.googleapis.com/css?family=Montserrat");

body, input {
	font-family: Montserrat, Verdana, Tahoma, Geneva, sans-serif;
	font-size: 12px;
}

body {
	margin: 0px;
	padding: 0px;
	background: #bbb;
}

body.vd {
	min-width: 680px;
}


::-webkit-input-placeholder {
   color: gray;
}

::-moz-placeholder {  
   color: gray;  
}

:-ms-input-placeholder {  
   color: gray;  
}

header {
	margin: 0px;
}

body.embed header {
	display: none;
}

header {
	position: relative;
	background-color: #bbb;
	background-image: url(../img/header.png);
	background-image: url(../img/header.png), linear-gradient(to bottom, #eee, #bbb);
	background-position: top right;
	background-repeat: no-repeat;
	background-size: auto 100%;
	border-bottom: 5px solid #d81d29;
	height: 100px;
	box-shadow: 0px 2px 4px #111;
}
header img {
	display: inline-block; 
	position: absolute;
	border: none;
}
header .i1 {
	top: 10%;
	left: 24px;
	height: 80%;
}
header .i2 {
	top: 15%;
	left: 160px;
	height: 70%;
}
header .usr {
	display: inline-block; 
	position: absolute;
	right: 4px;
	bottom: 0px;
	padding: 5px;
	color: #000;
	font-weight: bold;
	font-size: 14px;
}

header .usr a {
	color: #000;
	text-decoration: none;
}

header .usr a:hover {
	text-decoration: underline;
}

#content {
	box-sizing: border-box;
	min-height: 660px;	
	min-height: calc(100vh - 122px);
	margin: 0px;
	padding: 1px 20px 1px 20px;
	background: #fff;
}

footer {
	box-shadow: 0px -2px 4px #222;
	background: #d81d29;
	height: 22px;
	line-height: 20px;
	text-align: right;
	padding-right: 10px;
}

footer a {
	font-size: 8px;
	color: #fff;
	text-decoration: none;
}

body.embed footer {
	display: none;
}



@media only screen and (max-width: 780px) {
	header {
		height: 60px;
	}
	header .i1 {
		left: 8px;
	}
	header .i2 {
		left: 90px;
	}
	#content {
		padding: 1px 8px 1px 8px !important;
		min-height: calc(100vh - 82px);
	}
}

.hide {
    display: none;
}

#filters {
	text-align: center;
	padding: 16px 0 15px 0;
}

#filters input[type=submit], #filters input[type=button] {
	background: linear-gradient(to bottom, #c66, #a44);
	padding: 5px 12px 5px 12px;
	min-width: 32px;
	font-weight: bold;
	color: white;
	border: 1px solid black;
	cursor: pointer;
}

#filters label {
	display: inline-block;
	white-space: nowrap;
	padding-bottom: 10px;
}

#filters .sep {
	display: inline-block;
	width: 16px;
}

#filters a {
	text-decoration: none !important;
}

.join {
	display : inline-block;
	white-space:nowrap;
}

#inpDate, #inpKeywords, #selType {
	width: 180px;
}

#result {
	text-align: center;
}

a.item {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #f5f5f5;
	text-decoration: none;
	color: inherit;
	vertical-align: top;
	white-space: normal;
	text-align: center;
}

a.item:hover {
	background: #ecc;
	border: 1px solid #8ab;
}

a.item img {
	display: block;
	width: 320px;
	height: 180px;
	margin-bottom: 3px;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,0.6);
}

a.item.live .date {
	position: absolute;
	left: 20px;
	top: 20px;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 1pt;
	color: white !important;
	text-shadow: 2px 2px RGBA(0,0,0,0.7);
}

a.item.live .info {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 146px;
	padding: 0 12px 0 12px;
	-ms-transform: translateY(-50%);
	-webkit-transform:translateY(-50%);
	transform: translateY(-50%);
	font-size: 18px !important;
	font-weight: 700 !important;
	letter-spacing: 1pt;
	color: white !important;
	text-shadow: 2px 2px RGBA(0,0,0,0.7);
}

a.item.room .date {
	position: absolute;
	left: 32px;
	top: 32px;
	text-align: left !important;
	font-size: 23px !important;
	font-weight: 700 !important;
	letter-spacing: 1pt;
	color: white !important;
	text-shadow: 3px 3px RGBA(0,0,0,0.7);
}

a.item.room .info {
	position: absolute;
	left: 32px;
	right: 80px;
	bottom: 32px;
	font-weight: normal !important;
	text-align: left !important;
	font-size: 17px !important;
	letter-spacing: 1pt;
	color: white !important;
	text-shadow: 2px 2px RGBA(0,0,0,0.7);
}

a.item.room .type {
    position: relative;
    bottom: 26px;
    font-weight: normal !important;
    text-align: center !important;
    font-size: 14px !important;
    letter-spacing: 1pt;
    color: white !important;
    font-family: arial;
}

a.item div.secret {
	background: url(../img/secret.png) no-repeat top right;
}

a.item div:nth-child(2) {
	text-align: center;
	color: #777;
	font-size:9px;
	margin-bottom: 2px;
	font-weight: bold;
}

#pivots {
	margin-bottom: 32px;
}

body.js .pivot {
	overflow-x: hidden;
	white-space: nowrap;
}

.pivot2 .pivot {
	overflow-x: scroll !important;
	overflow-y: hidden;
	margin-bottom:-17px;
	scroll-behavior: smooth;
}

.pivot2 {
	position: relative;
	overflow: hidden;
	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
}


.pname {
	padding: 8px 0 4px 0;
	aborder-bottom: 1px solid #666;
	margin-bottom: -2px;
	font-weight: bold;
	font-size: 19px;
	margin-top: 25px;
	color: #a22;
}

.pname:first-child {
	margin-top: 0px;
}

.left, .right {
	position: absolute;
	display: none;
	width: 24px;
	height: 100%;
	background: rgba(255,255,255,0.5) no-repeat center center;
	opacity: 0.8;
	top: 0px;
	border: 1px solid #ddd;
	box-sizing: border-box;
}

.pivot2:hover .left, .pivot2:hover .right {
	display: inline-block;
}

.left:hover, .right:hover {
	opacity: 1;
}


.left {
	left: 0px;
	background-image: url(../img/left.png);
}

.right {
	right: 0px;
	background-image: url(../img/right.png);
}

.more {
	display: inline-block;
	border: 1px solid #fff;
	width: 120px;
	height: 200px;
	text-decoration: none;
	color: black;
	font-size: 120px;
	line-height: 190px;
	text-align: center;
	margin-right: 24px;
}

.more:hover {
	background: #cde;
	border: 1px solid #8ab;
}

@media only screen and (max-width: 780px) {
	.pivot a.item img {
		width: 280px !important;
		height: 160px !important;
	}
	.pivot2 .pivot {
		margin-bottom:0 !important;
	}
	.more {
		height: 160px !important;
	}

		
	a.item.live .date {
		left: 20px;
		top: 20px;
		font-size: 15px !important;
	}

	a.item.live .info {
		left: 15px;
		right: 15px;
		top: 130px;
		font-size: 15px !important;
	}

	a.item.room .date {
		left: 24px;
		top: 24px;
		font-size: 19px !important;
		text-shadow: 2px 2px RGBA(0,0,0,0.7);
	}

	a.item.room .info {
		left: 24px;
		right: 60px;
		bottom: 24px;
		font-size: 16px !important;
	}

}



h1 {
	line-height: 32px;
}

h1 img {
	vertical-align: top;
	border: none;
	margin-right: 10px;
}


#video {
	position: relative;
	border: 1px solid #000;
	background: #333;
	float: left;
	margin-right: 10px;
}

#video #fallback {
	min-height: 360px;
	background: black;
	text-align: center;
}

#video #fallback object {
	display: inline-block;
}

#video #bad {
	box-sizing: border-box;
	height: 360px;
	background: white;
	text-align: center;
	padding-top: 140px;
	line-height: 24px;
	font-weight: bold;
}

#video #wait {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 120px;
	height: 40px;
	display: inline-block;
	box-sizing: border-box;
	color: white;
	background: black;
	border: 1px solid white;
	padding: 10px;
	visibility: hidden;
}

#video video, #video object, #video embed {
	width: 640px;
	height: 360px;
	margin: 0px;
	display: block;
}

#video .ctrls {
	display: none;
}

.js #video .ctrls {
	display: block !important;
	position: relative;
	margin: 0px;
	border-top: 1px solid #000;
	background: #666;
	background: linear-gradient(to bottom, #666 0%, #555 100%);
	width: 640px;	
	height: 28px;
	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
	user-select: none;
}

#video .ctrls a {
	position: absolute;
	display: inline-block;
	width: 30px;
	height: 28px;
	vertical-align: top;
	background-repeat: no-repeat;
	background-position: 5px 4px;
}

#video .ctrls a:hover {
	background-color: #777;
}


#video #play {
	left: 0px;
	background-image: url(../img/play.png);
	display: none;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
}

#video #pause {
	left: 0px;
	background-image: url(../img/pause.png);
	display: none;
}


#video #play.on, #video #pause.on {
	display: inline-block;
}

#video #mute {
	right: 70px;
	background-image: url(../img/sound.png);
}

#video #mute.on {
	opacity: 0.25;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
}

#video #fullscreen {
	right: 0px;
	background-image: url(../img/fullscreen.png);
}

#video #time {
	position: absolute;
	display: inline-block;
	left: 30px;
	width: 60px;
	line-height: 28px;
	font-weight: bold;
	font-size: 11px;
	color: #eee;
	text-align: center;
	text-decoration: none;
}

#video #seek {
	position: absolute;
	display: inline-block;
	left: 95px;
	right: 105px;
	top: 7px;
	height: 12px;
	background: #888;
	border: 1px solid #aaa;
	border-radius: 6px 6px;
	overflow: hidden;
	padding: 0px;
	cursor: pointer;
}

#video #seek span {
	display: inline-block;
	background: #ccc;
	height: 100%;
	margin: 0px;
}

#video #volume {
	position: absolute;
	display: inline-block;
	right: 30px;
	width: 40px;
	height: 28px;
	cursor: pointer;
}

#video #volume span:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;  
	opacity: 0.25;
	background: url(../img/volume.png) no-repeat 0px 4px;
	background: none\9;
}

#video #volume span {
	display: inline-block;
	background: url(../img/volume.png) no-repeat 0px 4px;
	height: 100%;
	width: 40px;
	margin: 0px;
}

#video #attrs {
	border-top: 1px solid black;
	margin: 0px;
	padding: 5px;
}

#video dt {  
	float: left;
	color: white;
	font-size: 10px;
	font-weight: bold;
	padding-right: 8px;
}

#video dd {  
	color: #ccc;
	padding-bottom: 8px;
}
#video dd a {  
	color: #ccc;
}


#indexes {
	background: white;
	height: 600px;
	padding: 3px;
	overflow-x: auto;
	overflow-x: scroll;
	border: 1px solid #bbb;
}

#indexes a {
	display: block;
	border: 1px solid #fff;
	padding: 3px 2px 3px 2px;
	text-decoration: none;
	color: black;
}

.js #indexes a {
	padding-left: 22px;
	background: url(../img/index.png) no-repeat 4px 4px;
	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
	user-select: none;
}

.js #indexes a:hover {
	background-color: #ecc;
	border: 1px solid #b88;
}

.js #indexes div.p {
	margin-bottom: 3px;
}


.js #indexes div.p > a {
	background-image: url(../img/process.png);	
}

#indexes div div a {
	padding-left: 42px !important;
	background-position: 24px 3px !important;
}

.js #indexes i {
	display: none;
}

#indexes i {
	padding-right: 10px;
}

#pages {
	margin: 10px 0 32px 0;
	text-align: center;
	background: white;
	word-wrap: break-word;
}

#pages input[type=submit] {
	display: inline-block;
	line-height: 26px;
	min-width: 32px;
	color: black;
	text-decoration: none;	
	border: 1px solid white;
	cursor: pointer;
}

#pages input[type=submit]:hover {
	background: #cde;
	border: 1px solid #8ab;
}

#pages .curr {
	display: inline-block;
	line-height: 26px;
	min-width: 32px;
	color: black;
	background: white !important;
	border: 1px solid #acd !important;
}

.warning {
	display: inline-block;
	border: 1px solid #ca2;
	background: #ffc;
	padding: 8px 20px 8px 20px;
	font-weight: bold;
}

#gotop {
	display: none;
}

@media only screen and (max-width: 780px) {
	#gotop {
		display: inline-block;
		box-sizing: border-box;
		width: 26px;
		height: 26px;
		position: fixed;
		background: url(../img/top.png) no-repeat;
		bottom: 8px;
		right: 8px;
		opacity: 0.8;
	}
}

body.embed {
	height: 100vh;
	background: red;
}

body.embed #header, body.embed h1, body.embed #attrs, body.embed #footer {
	display: none;
}

body.embed #content {
	padding: 0px;
	min-height: 100%;
}

body.embed #video {
	box-sizing: border-box;
	height: 100vh;
	margin: 0px;
	overflow: hidden;
}

body.embed video {
	height: calc(100vh - 28px) !important;
}


body.embed #indexes {
	box-sizing: border-box;
	height: 100vh;
	margin: 0px;
	overflow-x: auto;
}

body.embed #indexes * {
	font-size: 10px !important;
}

body.live #video {
	width:100%;
}


body.live .ctrls, body.live video {
	width:100% !important;
}

.datePicker {
	border: 1px solid black;
	background: white;
	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
	user-select: none;
}

.datePicker .top  {
	text-align: center;
	padding: 5px 0 3px 0;	
}

.datePicker .top select {
	margin-right: 10px;
}

.datePicker .top .close {
	display: inline-block;
	position: absolute;
	top: 3px;
	right: 0px;
	width: 24px;
	height: 24px;
	font-weight: bold;
	text-decoration: none;
	color: black;
}

.datePicker table {
	
}

.datePicker td {
	border: 1px solid white;
	padding: 3px;
	text-align: center;
}

.datePicker tbody td {
	cursor: pointer;
}

.datePicker .gray {
	color: silver;	
}

.datePicker .today {
	font-weight: bold;
}

.datePicker tbody td:hover {
	background: #cde;
	border: 1px solid #8ab;
}



.divLogin {
	display: inline-block; 
	line-height: normal;
	text-align: center;
	width:400px; 
	height:220px;
	margin-left: calc(50vw - 200px);
	margin-top:  calc(40vh - 160px);
	border: 1px solid #333;
	background: white;
}

.divLogin h1{
	font-weight: bold;
	margin-bottom: 30px;
}

.divLogin div {
	margin-bottom: 20px;
}

.divLogin label {
	margin-right: 20px;
	font-weight: bold;
}

.divLogin input[type=text], .divLogin input[type=password] {
	width: 240px;
}

.divLogin input[type=submit] {
	width: 250px;
	height: 32px;
	font-weight: bold;
}