@font-face {
	font-family: 'Teko';
	src:	url('fonts/Teko-Light.woff2') format('woff2'),
			url('fonts/Teko-Light.woff') format('woff'),
			url('fonts/Teko-Light.ttf')  format('truetype'),
			url('fonts/Teko-Light.svg#svgFontName') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Teko';
	src:	url('fonts/Teko-Medium.woff2') format('woff2'),
			url('fonts/Teko-Medium.woff') format('woff'),
			url('fonts/Teko-Medium.ttf')  format('truetype'),
			url('fonts/Teko-Medium.svg#svgFontName') format('svg');
	font-weight: bold;
	font-style: normal;
}

::-webkit-scrollbar {
    display: none;
}
body * {
	scrollbar-width: none;  /* Firefox */
}
.ui-effects-transfer { border: 2px dotted gray; }
body {
	font-family: Helvetica, Arial, Opensans, sans;
	font-size: 14px;
}
hr {
	border: none;
	height: 1px;
	background-color: #aaa;
}
input::placeholder {
  font-style: italic;
}
[contenteditable=true]:empty:before {
	content: attr(placeholder);
	font-style: italic;
	color: #aaa;
}
input[type=range] {
	width: 100%;
	background: transparent;
}
.ui-tooltip {
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
	border: 1px solid #7a7a7a !important;
}

#ajaxstatus {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 112px;
  margin-left: -70px;
  margin-top: -56px;
  text-align: center;
  vertical-align: middle;
  z-index: 120;
  text-shadow: 0px 0px 10px #000000;
  display: none;
}

#login {
	width: 260px;
	text-align: center;
	margin: 14% auto 0 auto;
	background: rgb(53,64,68);
	background: linear-gradient(135deg, rgba(53,64,68,1) 0%, rgba(166,184,190,1) 100%);
	border: 2px solid #93adba;
	border-radius: 15px;
	box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.5);
}
#login input {
	border: 1px solid #405460;
	padding: 4px 8px;
	font-weight: bold;
	border-radius: 2px;
}
#version {
  font-size: 9px;
	color: #bbb;
	position: fixed;
	bottom: 10px;
	right: 10px;
	text-shadow: -1px 0 2px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.7), 1px 0 2px rgba(0, 0, 0, 0.7), 0 -1px 2px rgba(0, 0, 0, 0.7);
  text-align: center;
}

#search {
	background-color: #363636;
	padding: 10px;
	height: 255px;
}
#searchclose {
	position: absolute;
	bottom: 4px;
	right: 4px;
}
#searchbody {
	height: 235px;
	overflow-y: auto;
}
.searchbox .fas {
	color: white;
	float: left;
	margin-right: 10px;
	width: 14px;
}
.searchbox {
	margin-bottom: 4px;
}
.searchbox label, .searchbox input {
	color: #373737;
	font-size: 12px;
	margin: 0 4px 4px 0;
	font-weight: normal;
	padding: 2px 4px 0px 4px !important;
	cursor: pointer;
	display: inline-block;
	text-transform: uppercase;
}
.searchbox .task {
	background-color: #ffd4b3;
	border: 1px solid #bbb;
}
.searchbox .crew {
	background-color: #f9eccf;
	border: 1px solid #bbb;
}
.searchbox .attr {
  background-color: #ddf4ff;
  border: 1px solid #bbb;
}
.searchbox .text {
  font-size: 13px;
}

#report {
  font-size: 12px;
}

#adminuser {
	float: right;
	font-size: 12px;
	font-weight: bold;
	margin: 2px 6px 0 6px;
	cursor: pointer;
}
.arrowclose {
	color: white;
	cursor: pointer;
}
#profile {
	background-color: #363636;
	color: #c5c5c5;
}
#profile #profileheader {
	position: fixed;
	width: 100%;
	background-color: #363636;
	padding: 2px 6px;
  z-index: 5;
}
#profile #profilebody {
	overflow-y: auto;
	height: 96%;
	padding: 16px 6px 6px 6px;
}
#profileclose {
	float: left;
}
#profileresponse {
	color: lightgreen !important;
 	display: none;
 	float: right;
 	margin-right: 4px;
}
#profile .title {
	background-color: #1d1d1d;
	color: #959595;
	text-transform: uppercase;
	border-top: 1px solid #5c5c5c;
	border-bottom: 1px solid #5c5c5c;
	margin: 8px 0 8px 0;
	padding: 4px;
	clear: both;
}
#profile .title:hover {
  cursor: pointer;
}
#profile .adminuser {
	float: right;
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 2px;
	padding-right: 10px;
}
#profile input {
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	padding: 2px 4px;
	margin: 0;
}
#profile .row {
	clear: both;
	padding: 2px 0 6px 0;
}
#profile .data {
	color: white;
	font-weight: bold;
}
#profile .sub {
	font-size: 12px;
	line-height: 1.5;
}
#profile i {
	color: #b0b0b0;
}
#profile .timestamp {
	margin-right: 2px;
}
#mainlog {
	width: 300px;
	background-color: #363636;
	font-size: 12px;
	color: #c5c5c5;
	padding: 10px 5px;
	line-height: 1.5;
	overflow: hidden;
}
#logheader {
}
#logbody {
	overflow-y: auto;
	height: 100%;
}
#logclose {
	position: absolute;
	top: 4px;
	right: 4px;
}
#useradmin {
	height: 350px;
	background-color: #363636;
	overflow: hidden;
}
#useradminheader {
	position: fixed;
	top: 40px;
	right: 6px;
}
#useradminclose {
}
#useradminresponse {
	color: lightgreen;
	display: none;
}
#useradminbody {
	padding: 46px 10px 10px 10px;
	color: #c5c5c5;
	font-size: 12px;
	overflow-y: auto;
	height: 290px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
}
#useradminpanel input {
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	padding: 2px 4px;
}
.admin {
	height: 280px;
	max-width: 500px;
	line-height: 1.5;
	border: 1px solid #5c5c5c;
	margin: 4px;
	overflow: hidden;
}
.admin .title {
	background-color: #1d1d1d;
	color: #959595;
	text-transform: uppercase;
	border-bottom: 1px solid #5c5c5c;
	padding: 4px;
}
.admin .body {
	overflow-y: auto;
	max-height: 250px;
	padding: 8px;
}
.admin .body .info {
	color: white;
	font-weight: bold;
}
.admin .body hr {
	float: left;
	margin: 0;
}
.admin .body hr.animated {
  width: 0;
  transition: width 1s  ease-out;
}
.admin td {
	color: #c5c5c5;
	font-size: 12px;
}
i {
	opacity: 0.5;
	margin: 2px 1px 0px 1px;
}
i:hover {
	opacity: 1;
}
#weekdays {
	margin: 0 6px;
	width: 98%;
}
#weekdays td {
	width: 12.7%;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	background-color: #fff8a4;
}
#locations, #places {
	margin: 0 6px;
	width: 98%;
}
#locations td, #places td {
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	background-color: #fff8a3;
}

#day, #cal, #ven, #lst, #tml {
	border-collapse: separate;
	margin: 0 6px;
	width: 98%;
}
#cal td {
	background-color: #eee;
	width: 10%;
	vertical-align: top;
	height: 160px;
}
#day td {
  background-color: #eee;
  line-height: 1.7;
  padding: 2px 4px;
}
#day .month, #cal .month {
	height: 12px;
	text-align: center;
	font-size: 14px;
	background-color: white;
}
.today {
	border: 2px dotted red !important;
}
#cal td > .day {
	float: left;
	margin: 2px 4px;
	font-size: 12px;
	font-weight: bold;
	color: #555;
	background-color: white;
	width: 16px;
	text-align: center;
	border-top: 1px solid #c70008;
	border-bottom: 1px solid lightgrey;
	border-right: 1px solid lightgrey;
	cursor: nw-resize;
}
#cal td > .toolbar, #ven td > .toolbar, #lst td > .toolbar {
	float: left;
	display: none;
}
#cal td > .toolbar > .add, #ven td > .toolbar > .add, #lst td > .toolbar > .add {
	float: left;
	font-size: 9px;
	margin: 2px;
	padding: 0 2px;
	background-color: white;
	color: black;
	border: 1px solid #aaa;
}
#cal td > .toolbar > .add:hover, #ven td > .toolbar > .add:hover, #lst td > .toolbar > .add:hover {
	cursor: pointer;
	background-color: #aaa;
	color: white;
}

#ven .date, #locations .date, #lst .date {
	width: 8%;
	min-width: 8%;
	text-align: center;
	vertical-align: middle;
}
#tml .date, #places .date {
	width: 4%;
	min-width: 4%;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
}
#ven td, #lst td, #tml td {
	background-color: #eee;
	vertical-align: top;
}
#ven .weekday, #lst .weekday, #tml .weekday {
	font-size: 12px;
	display: none;
}
#ven .card {
	position: relative;
	margin: 0 2px;
}
#lst .card {
	min-width: 160px;
	max-width: 260px;
	height: 36px;
	display: inline-block;
}
#tml .card {
	position: relative;
	margin: 0 2px;
	background-color: #2d0356;
	opacity: .25;
	border: 1px solid #000;
}
.weekend {
	background-color: #e1e1e1 !important;
}

.card {
	overflow: hidden;
	background-color: #ccc;
	padding: 0px;
	margin: 2px;
	border: 1px solid #999;
	clear: both;
}
.card:hover {
	background-color: #ddd;
	cursor: pointer;
}
.card > .title, #day .title {
	font-family: 'Teko', sans-serif;
	font-weight: bold;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
	color: white;
	background-color: #404040;
	padding: 3px 2px 0px 2px;
	overflow: hidden;
}
.card > .location {
	font-size: 10px;
	float: left;
	padding: 1px 2px !important;
}
.card > .datetime {
	font-size: 10px;
	float: left;
	padding: 1px 2px !important;
}
.card > .pm {
	float: left;
	padding: 1px 2px !important;
}
.card > .task {
	font-family: 'Teko', sans-serif;
	font-weight: normal;
	line-height: 0.96;
	white-space: nowrap;
	float: left;
	background-color: #ffd4b3;
	border: 1px solid #bbb;
}
.card > .state {
	font-size: 10px;
	border-radius: 2px;
	padding: 1px 4px;
	float: left;
}
.card > .type {
	font-size: 10px;
	border-radius: 2px;
	padding: 1px 4px;
	float: left;
	text-transform: uppercase;
}
#opencard {
	height: 80%;
	margin: auto;
	background-color: #ddd;
	display: none;
	overflow-y: auto;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	border: 6px solid white;
	box-shadow: 0px 0px 55px rgba(0, 0, 0, .5);
	border-radius: 8px;
	z-index: 100;
	transition: opacity 1s;
	overflow: hidden;
}
[contenteditable="true"] {
	padding: 1px 2px;
}
[contenteditable="true"]:active, [contenteditable="true"]:focus{
	background-color: white;
	outline: 1px solid #ccc;
}
#opencard #header {
	background-color: #404040;
	padding: 4px;
	border-radius: 4px 4px 0 0;
}
#opencard #header [contenteditable="true"]:active, #opencard #header [contenteditable="true"]:focus{
	color: black;
}
#opencard #header i {
	color: white;
}
#opencard #body {
	overflow-y: auto;
	max-height: 86%;
	padding: 10px 6px 10px 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
}
#opencard .block {
	float: left;
	margin: 0 4px 4px 0;
	background-color: #e8e8e8;
	border: 1px solid #bbb;
	border-radius: 4px 4px 0 0;
}
#opencard .block > .header {
	background-color: #797979;
	padding: 2px 4px;
	border-radius: 4px 4px 0 0;
}
#opencard .block > .header > i,
#opencard .block > .header > .itext {
	color: white;
}
#opencard .block > .body {
	padding: 6px 10px;
}
#opencard i {
	color: #999;
}
#opencard select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	border: none;
	outline: none;
	background: transparent;
	position: relative;
	top: 1px;
	cursor: pointer;
	font-size: 14px;
}
#opencard #dateinput {
	cursor: pointer;
	font-size: 14px;
	width: 88px;
}
#opencard #dateinput:disabled {
	font-weight: bold;
	cursor: default;
}
#opencard select:disabled {
	color: black;
	cursor: default !important;
}
#opencard #location_id {
	cursor: pointer;
}
#opencard #state_id {
	font-weight: bold;
	padding: 2px 4px;
	cursor: pointer;
}
#opencard #name {
	font-family: 'Teko', sans-serif;
	font-weight: bold;
	color: white;
	padding: 0 6px;
	font-size: 26px;
	line-height: 26px;
	position: relative;
	top: 5px;
}
#opencard #comment {
	height:52px;
	max-height:52px;
	overflow-y: auto;
}
#opencard .droom {
	margin-bottom: 10px;
	padding: 5px;
	background-color: #f5f5f5;
}
#opencard .task {
	margin-bottom: 2px;
	padding-bottom: 4px;
/* 	background-color: #ffd4b3; */
/* 	border: 1px solid #bbb; */
}
#opencard #costs div.cost {
	padding: 3px;
	clear: both;
}
#opencard #costs .partner {
	font-style: italic;
	color: #999999;
	font-size: 12px;
}
#opencard #costs .pricecont {
	float: right;
}
#opencard #crew .textarea {
	margin-top: 2px;
	width: 97%;
	height: 60px;
	resize: none;
	font-family: Helvetica, Arial, Opensans, sans;
	font-size: 12px;
	line-height: 16px;
	padding: 4px;
	border: 1px solid #bbb;
	background-color: white;
	overflow-y: auto;
}
#opencard #files a .input {
	color: #666;
	text-decoration: none !important;
}
#opencard #files {
	overflow-y: auto;
}
#opencard .close {
	color: #999;
}
#opencard .close:hover {
	color: red !important;
}
#opencard > hr {
	clear: both;
}
#opencard .act {
	background-color: #eee;
}
#opencard .textbox {
	border: 1px solid #bbb;
	margin-top: 6px;
	padding: 4px;
	max-height: 150px;
	overflow-y: auto;
}
#opencard #dropzone {
	border: 3px #7a7a7a dashed;
	opacity: 0.5;
	text-align: center;
	margin-bottom: 3px;
}
#opencard .log {
	color:#999;
	font-size: 12px;
	line-height: 1.5;
}
#opencard .timestamp {
	background-color: #aaa;
	color: #eee;
}
.stripe:nth-child(odd) {
	background-color: #f1f1f1;
}
.highlight {
  background-color:rgba(255, 225, 101, 0.751);
  transition: background-color .5s;
}
#opencard .guesttype {
	position: relative;
	top: -1px;
	text-transform: uppercase;
	font-size: 8px;
	color: #fff;
	border-radius: 2px;
}
#profile .guesttype {
  text-transform: uppercase;
  font-size: 8px;
  color: #fff;
  border-radius: 2px;
  padding: 1px 2px 0px 2px;
  min-width: 18px;
  max-height: 11px;
  text-align: center;
}
#opencard span.guesttype {
	padding: 1px 2px 0px 2px;
	margin-left: 2px;
}
#opencard select.guesttype {
	padding: 0 2px;
}
#opencard #chat_messages {
	font-size: 12px;
}
#opencard #chat_comment {
	margin-top: 3px;
}
#opencard #chat_message {
	width: 88%;
}
.user {
	background-color: #77a4b2;
	opacity: .6;
	color: white;
	padding: 1px 3px;
	border-radius: 2px;
	margin: 1px;
	font-size: 12px;
	font-weight: bold;
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
	line-height: 16px;
}
#opencard .color {
	width: 20px;
}
#opencard #wristbands {
	max-height: 206px;
	overflow-y:auto;
}
#opencard .wristband {
	background-color: #f5f5f5;
    height: 30px;
    padding: 3px 2px 0 2px;
    margin-bottom: 3px;
    vertical-align: bottom;
	border-radius: 2px;
	border: 1px solid #bbb;
}
#opencard .ticket.pcs {
	width: 36px;
	float: left;
	text-align: right;
}
#opencard .wband {
	padding-top: 6px;
	float: left;
}
#opencard #log {
	max-height: 250px;
	overflow-y:auto;
}
.active {
	opacity: 1 !important;
	background-color: #f5f5f5;
}
.datetime {
	background-color: #fff4b0;
	border-radius: 2px;
	border: 1px solid #bbb;
	padding: 2px 4px;
	text-align: center;
}
.location {
	background-color: #cfffbf !important;
	border-radius: 2px;
	border: 1px solid #bbb !important;
	padding: 1px 4px !important;
}
.task {
	border-radius: 2px;
	padding: 1px 2px;
}
.type {
	background-color: #ffb8d0 !important;
	border-radius: 2px;
	border: 1px solid #bbb !important;
	padding: 2px 4px;
}
.pm {
	font-size: 10px;
	font-weight: bold;
	background-color: white;
	padding: 1px 2px;
	border-radius: 2px;
	border: 1px solid #bbb;
}
.state {
	background-color: #bcfcff !important;
	border-radius: 2px;
	border: 1px solid #bbb !important;
	text-transform: uppercase;
}
.schedule {
	margin-bottom: 1px;
}
a:link .ibutton, a:active .ibutton {
  color: black;
}
.ibutton:hover {
	cursor: pointer;
}
.ibutton.disabled {
	visibility: hidden;
}
.ibutton.selected {
  opacity: 1;
}
.itext {
	color:#999;
	font-weight:bold;
	font-size: 12px;
}
.timestamp {
	background-color: #8f8f8f;
	color: #363636;
	padding: 1px 3px;
	border-radius: 2px;
}
#lockuser, #timer {
	font-size: 10px;
	font-weight: bold;
	position: relative;
	top: -28px;
}
.locked {
	color: rgba(255, 0, 0, 1) !important;
}
.unlocked {
	color: rgba(0, 255, 0, 1) !important;
}
.stroke {
/* 	-webkit-text-stroke: 1px white; */
	text-shadow: -1px 1px 0 white,
				  1px 1px 0 white,
				 1px -1px 0 white,
				-1px -1px 0 white;
}

#tv_dialog input {
	margin: 0 0 1px 0;
	padding: 1px;
}

#gcal_dialog .eventcolor {
  width: 25px;
  height: 22px;
  border-width: 1px;
  border-style: solid;
  text-align: center;
  padding-top: 3px;
  float: left;
}

.chart {
  background: #FFFFFF;
  background: -webkit-radial-gradient(top, #FFFFFF, #DEDEDE);
  background: -moz-radial-gradient(top, #FFFFFF, #DEDEDE);
  background: radial-gradient(to bottom, #FFFFFF, #DEDEDE);
  margin: 1%;
  border: 1px solid #acacac;
}

@media only screen and (max-width: 480px) {
	#cal td {
		max-width: 30px;
		height: 60px;
	}
	#ven td, #tml td {
		max-width: 30px;
		height: 60px;
	}
	#lst td {
		max-width: 30px;
		height: 60px;
	}
	.card > .title {
		font-size: 10px;
	}
	.card > .location {
		display: none;
	}
	.card > .datetime {
		display: none;
	}
	.card > .pm {
		display: none;
	}
	.card > .type {
		display: none;
	}
	.card > .state {
		display: none;
	}
	.card > .task {
		display: none;
	}
	#opencard {
		width: 90%;
	}
	#ven .date, #lst .date, #tml .date {
		font-size: 8px;
		font-weight: bold;
	}
}

@media only screen and (min-width: 480px) {
	#cal td {
		max-width: 50px;
		height: 80px;
	}
	#ven td, #tml td {
		max-width: 30px;
		height: 100px;
	}
	.card > .title {
		font-size: 12px;
	}
	.card > .location {
		font-size: 8px;
	}
	.card > .pm {
		font-size: 8px;
	}
	.card > .datetime {
		display: none;
	}
	.card > .type {
		display: none;
	}
	.card > .state {
		display: none;
	}
	.card > .task {
		display: none;
	}
	#ven .date, #lst .date, #tml .date {
		font-size: 12px;
	}
}

@media only screen and (max-width: 600px) {
	.locname {
		display: none;
	}
	.locnameshort {
		display: block;
	}
}

@media only screen and (min-width: 600px) {
	.locnameshort {
		display: none;
	}
	.locname {
		display: block;
	}
	#ven .date, #lst .date {
		font-size: 14px;
	}
}

@media only screen and (min-width: 768px) {
	#cal td {
		height: 100px;
	}
	#ven td, #tml td {
		height: 140px;
	}
	.card > .datetime {
		display: block;
		font-size: 8px;
	}
	.card > .type {
		display: block;
		font-size: 8px;
	}
	.card > .state {
		display: none;
	}
	.card > .task {
		display: none;
	}
}

@media only screen and (min-width: 870px) {
	#ven .weekday, #lst .weekday {
		display: block;
	}
	#ven .date, #lst .date {
		font-size: 16px;
	}
}

@media only screen and (min-width: 992px) {
	#cal td {
		height: 120px;
	}
	#ven td, #tml td {
		height: 180px;
	}
	#lst td {
		height: 60px;
	}
	.card > .type {
		display: block;
		font-size: 8px;
	}
	.card > .task {
		display: block;
		font-size: 11px;
		padding: 1px 2px 0px 2px;
	}
	.card > .state {
		display: block;
		font-size: 8px;
	}
	#opencard {
		max-width: 1000px;
	}
}

@media only screen and (min-width: 1200px) {
	#cal td {
		height: 140px;
	}
	#ven td, #tml td {
		height: 240px;
	}
	#lst td {
		height: 60px;
	}
	.card > .location {
		font-size: 10px;
	}
	.card > .pm {
		font-size: 10px;
	}
	.card > .datetime {
		font-size: 10px;
	}
	.card > .state {
		display: block;
		font-size: 10px;
	}
	.card > .type {
		display: block;
		font-size: 10px;
	}
	.card > .task {
		display: block;
		font-size: 12px;
		padding: 3px 2px 0px 2px;
	}
	#opencard {
		width: 86%;
		max-width: 1200px;
	}
}
