/* 
    Created on : 10-May-2021, 16:06:09
    Author     : Just Checking
*/


@media only screen and (max-width: 1000px) {
	#menu {
		width: 300px;
		visibility: hidden;
	}
	#content {
		left: 0px;
		padding: 10px 0px; 
	}
	.only-mobile {
		visibility: visible;
	}
	.only-desktop {
		visibility: hidden;
		display: none;
	}
	
	h1 {
		font-size: 24px;
		font-weight: normal;
		padding: 5px 0 5px 0;
		margin: 0;
		color: #888;
	}

	h2 {
		font-size: 21px;
		font-weight: normal;
		padding: 5px 0 5px 0;
		margin: 0;
		color: #888;
	}

	h3 {
		font-size: 18px;
		font-weight: normal;
		padding: 5px 0 5px 0;
		margin: 0;
		color: #888;
	}
	
	h4 {
		font-size: 14px;
		font-weight: normal;
		padding: 5px 0 5px 0;
		margin: 0;
		color: #888;
	}
	
	.form-line span.form-label {
		display: block;
		margin-bottom: 3px;
	}
	
	input[type="text"].short,
	input[type="text"].datepicker,
	input[type="password"].short,
	input[type="time"],
	input[type="date"],
	input[type="number"] {
		width: 100px;
	}
	
	.form-line textarea {
		width: calc(100% - 24px);
	}
	
	select {
		max-width: 320px !important;
	}
	
	#menu a,
	#menu a:visited {
		margin: 0px 5px;
		padding: 10px 0px;
	}
		
}

@media only screen and (min-width: 1001px) {
	#menu {
		width: 300px;
	}
	#content {
		left: 305px;
		padding: 20px 50px; 
	}
	.only-mobile {
		visibility: hidden;
		display: none;
	}
	.only-desktop {
		visibility: visible;
	}
	
	h1 {
		font-family: sans-serif;
		font-size: 40px;
		font-weight: bold;
		padding: 5px 0 5px 0;
		margin: 0;
		color: #888;
	}

	h2 {
		font-size: 32px;
		font-weight: normal;
		padding: 0px 0 5px 0;
		margin: 0;
		color: #888;
	}

	h3 {
		font-size: 24px;
		font-weight: normal;
		padding: 0px 0 5px 0;
		margin: 0;
		color: #888;
	}
	
	h4 {
		font-size: 16px;
		font-weight: normal;
		padding: 0px 0 5px 0;
		margin: 0;
		color: #888;
	}
	
	.form-line span.form-label {
		display: inline-block;
		vertical-align: middle;
		min-width: 200px;
	}
	
	
	
	.form-line input[type="text"],
	.form-line input[type="password"],
	.form-line span.autocomplete-list {
		display: inline-block;
		width: 350px;
	}
	
	input[type="text"].short,
	input[type="text"].datepicker,
	input[type="password"].short,
	input[type="number"] {
		width: 100px !important;
	}
	
	input[type="time"] {
		width: 80px;
	}
	
	.form-line textarea {
		width: 350px;
	}
	
	.form-line .inline-block {
		/*margin-top: -8px;*/
	}
	
	
	#menu a,
	#menu a:visited {
		margin: 0px 10px;
		padding: 20px 0px;
	}

}

@font-face {
  font-family: 'ITCAvantGardeGothicProBook';
  src: url('../fonts/itcavantgardepro-bk-webfont.ttf')  format('truetype'); /* Safari, Android, iOS */
}

html, body {
	
	margin: 0;
	padding: 0;
	font-family: ITCAvantGardeGothicProBook,"Century Gothic",Arial,Helvetica,Verdana,sans-serif;
	font-size: 16px;
	
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"] {
	border-radius: 8px;
	border-width: 1px;
	border-color: #CAE6FD;
	border-style: solid;
	padding: 8px 12px;
	font-family: Arial, Verdana, sans-serif;
	font-size: 16px;
	color: #2A9BFB;
	width: calc(100% - 24px);
	margin: 3px 0px;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
}

input[type="time"] {
	width: 80px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus {
	background-color: #F1F9FF;
	outline: none;
}

input[type="text"]:active,
input[type="password"]:active,
input[type="date"]:active,
input[type="time"]:active {
	background-color: #F1F9FF;
	outline: none;
}

input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="date"]:disabled,
input[type="time"]:disabled, 
input[type="submit"]:disabled,
input[type="button"]:disabled,
select:disabled {
	background-color: silver !important;
	color: gray !important;
}


input[type="submit"],
input[type="button"],
button {
	padding: 12px 40px;
	color: white;
	background-color: #2A9BFB;
	border: 0;
	font-size: 14px;
	font-family: 'ITCAvantGardeGothicProBook', Arial, Verdana, sans-serif;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
	cursor: pointer;
	background-color: #50ACFC;
}


input.filter-btn {
	border-color: #2A9BFB;
	background-color: white; 
	border-radius: 5px; 
	color: #2A9BFB; 
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
}

input.filter-btn:hover {
	background-color: white;
	border-color: #50ACFC;
}



textarea {
	font-family: Arial, Verdana, sans-serif;
	border-radius: 8px;
	border-width: 1px;
	border-color: #CAE6FD;
	border-style: solid;
	padding: 8px 12px;
	color: #2A9BFB;
	vertical-align: top;
}

textarea:active,
textarea:focus {
	background-color: #F1F9FF;
	outline: none;
}

select {
  /*display: block;*/
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 400;
  color: #2A9BFB;
  line-height: 1.3;
  /*padding: .6em 1.4em .5em .8em;*/
  padding: 8px 1.8em 8px 8px;
  /*width: 100%;*/
  max-width: 380px; /* useful when width is set to anything other than 100% */
  box-sizing: border-box;
  margin: 2px 0;
  border: 1px solid #CAE6FD;
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  border-radius: .5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}

select::-ms-expand {
  display: none;
}
select:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="date"]:hover ,
input[type="time"]:hover,
textarea:hover {
  border-color: #50ACFC;
}
select:focus {
  border-color: #50ACFC;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #2A9BFB;
  outline: none;
  background-color: #F1F9FF;
}
select option {
  font-weight:normal;
  color: #2A9BFB;
}
select:disabled, 
select[aria-disabled=true] {
  color: graytext;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #eee 0%,#eee 100%);
}

select:active {
	outline: none;
}

select:disabled:hover, 
select[aria-disabled=true] {
  border-color: #ddd;
}

a, 
a:visited {
	color: #2A9BFB;
	text-decoration: none;
}

a:hover {
	color: #50ACFC;
	cursor: pointer;
}

table {
	padding: 0px;
	margin: 0px;
	border: 0;
	border-collapse: collapse;
	width: 100%;
}

table th {
	font-weight: normal;
	text-align: left;
}

table tr.clickable-row:hover td,
table.clickable-rows tr:hover td {
	background-color: #F1F9FF;
	cursor: pointer;
}




.center {
	text-align: center;
}

.form-label {
	color: #50ACFC;
	font-size: 14px;
	font-weight: bold;
	margin: 4px 0px;
}

.form-line span.form-inner-label {
	display: inline-block;
	color: #50ACFC;
	vertical-align: middle;
	font-size: 14px;
	font-weight: bold;
	/*margin: 0;*/
}


.form-line .inline-block {
	vertical-align: top;
	display: inline-block;
	width: 400px;
}

.extra-margin-top {
	margin-top: 10px;
}

.extra-margin-top-20 {
	margin-top: 20px;
}

.extra-margin-top-30 {
	margin-top: 30px;
}

.extra-margin-left-right {
	margin: 0 10px;
}

.extra-margin-left-right-20 {
	margin: 0 20px;
}

.extra-margin-left {
	margin-left: 10px;
}

.error {
	color: #ff253a;
}

.hidden {
	display: none !important;
}


.center-panel {
	width: 300px;
	margin: 50px auto;
}

.float-right {
	float: right;
}

.blue {
	color: #2A9BFB !important;
}

.blue-btn {
	
	margin: 10px;
	padding: 15px 30px;
	background-color: #2A9BFB;
	color: white;
	font-size: 12px;
	text-decoration: none;
}

a.blue-btn {
	color: white;
}

.red {
	color: #F9502A !important;
}

a.red:hover {
	color: #F79883 !important;
}

.red-bg {
	background-color: #F9502A;
}

.amber {
	color: orange !important;
}

.gray {
	color: gray !important;
}

.green {
	color: #20C13E !important;
}

.green-bg {
	background-color: #20C13E;
}

.bold {
	/*font-size: 20px;*/
	font-weight: bold;
}

.smaller {
	font-size: 0.7rem;
}

.italic {
	font-style: italic;
}

.purple {
	color: purple !important;
}

.inline-block {
	display: inline-block;
	vertical-align: top;
}


#header {
	
	background-color: #EEE;
	background-image: url("../images/jr-header.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto 30px;
	height: 30px;
	padding: 10px 0;

}

#menu {
	background-color: #2A9BFB;
	color: white;
	font-size: 14px;
	position: fixed;
	top: 50px;
	left: 0px;
	bottom: 0px;
	width: 315px;
	overflow-y: auto;
	
}


 /* Hide scrollbar for Chrome, Safari and Opera */
#menu::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#menu{
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}


#menu a,
#menu a:visited {
	/* Margin and padding are set in the media blocks above*/
	display: block;
	color: white;
	font-size: 14px;
}

#menu a:hover,
#menu a:active {
	color: #EEE;
}

#menu i.fa {
	display: inline-block;
	min-width: 35px;
}

#menu p {
	
	margin: 0;
}

#menu p:hover {
	background-color: #50ACFC;
}

#menu-expand,
#menu-collapse {
	display: inline-block;
	padding: 8px 8px;
	vertical-align: middle;
	font-size: 24px;
	cursor: pointer;
	color: #2A9BFB;
	background-color: transparent;
	position: fixed;
	top: 4px;
	left: 5px;
}

#menu-collapse {
	border-radius: 40px;
	background-color: #2A9BFB;
	color: white;
}

#content {
	position: fixed;
	top: 50px;
	bottom: 0px;
	right: 0px;
	min-width: 320px;
	overflow-y: auto;
	overflow-x: hidden;
}


#add-reminder-btn {
	display: inline-block;
	margin-top: 30px;
}

#menu-filters {
	
	background-color: #50ACFC;
	margin: 10px 0px;
	min-height: 100px;
	padding: 10px 5px;
	
}

#menu-filters-title {
	font-size: 18px;
	text-align: center;
}

#menu-filters input[type="date"] {
	display: inline-block;
	width: 115px;
	background-color: white;
}

#menu-filters input[type="time"] {
	background-color: white;
}

#menu-filters p {
	margin-top: 10px;
}

#menu-filters select {
	max-width: 265px;
}




.ui-widget-header {
	border: 1px solid #CAE6FD !important;
	background-color: #F1F9FF !important;
	color: #2A9BFB !important;
}

.ui-state-default {
	border: 1px solid #CAE6FD !important;
	background-color: white !important;
	text-align: center !important;
}

.ui-state-active {
	background-color: #CAE6FD !important;
	font-weight: 700 !important;
	color: black !important;
}

.ui-state-hover {
	background-color: #F1F9FF !important;
}


.form-line .autocomplete {
	display: inline-block;
	height: 40px;
	vertical-align: middle;
}

.form-line input.autocomplete:active,
.form-line input.autocomplete:focus {
	background-color: transparent;
}

.form-line .autocomplete-list {
	display: inline-block;
	vertical-align: middle;
	border-radius: 8px;
	border-width: 1px;
	border-color: #CAE6FD;
	border-style: solid;
	padding: 1px 1px;
	font-family: Arial, Verdana, sans-serif;
	font-size: 16px;
	color: #2A9BFB;
	width: calc(100% - 24px);
	margin: 6px 0px;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
}

.form-line .autocomplete-dropdown {
	display: inline-block;
	vertical-align: top;
	margin-top: -10px;
	padding-top: 3px;
	max-height: 40px;
	overflow: hidden;
	width: 200px;
	
	border-radius: 10px;
}


.form-line .autocomplete-dropdown-inner {
	display: block;
	vertical-align: top;
	margin-top: 5px;
	overflow-y: auto;
	max-height: 300px;
}


.form-line .autocomplete-dropdown-active {
	background-color: #F1F9FF;
	border: 1px solid #CAE6FD;
	max-height: 450px;
	position: absolute;
	z-index: 999;
}

.form-line .autocomplete-dropdown input {
	background-color: white;
	/*width: 180px;*/
	width: calc(100% - 38px);
	margin-left: 6px;
	margin-bottom: 10px;
	position: relative;
}

.form-line .autocomplete-dropdown .autocomplete-dropdown-item {
	padding: 2px 5px;
}

.form-line .autocomplete-dropdown .autocomplete-dropdown-item:hover,
.form-line .autocomplete-dropdown .autocomplete-dropdown-item-selected {
	cursor: pointer;
	background-color: white;
}

.form-line .autocomplete-entry {
	padding: 5px 5px;
	background-color: #50ACFC;
	color: white;
	border-radius: 20px;
	vertical-align: middle;
	margin-right: 5px;
}

.form-line .autocomplete-entry i {
	color: white;
	border-radius: 20px;
	padding: 3px 5px;
	margin-left: 5px;
}

.form-line .autocomplete-entry i:hover {
	background-color: #CAE6FD;
}

.back-button {
	color: #2A9BFB;
}

.back-button:hover {
	color: #CAE6FD;
	cursor: pointer;
}

i {
	vertical-align: middle;
}

#toast-messages {
	display: none;
	position: fixed;
	bottom: 40px;
	text-align: center;
	left: 315px;
	right: 0px;
	
}

#toast-messages .toast-message {
	display: inline-block;
	padding: 10px 30px;
	background-color: #2A9BFB;
	color: white;
	border: 1px solid #888;
	border-radius: 30px;
	vertical-align: middle;
}

.dev-version {
	margin: 2px 5px;
	padding: 3px 5px;
	background-color: yellow;
	display: inline-block;
}

.dev-version.only-mobile {
	position: fixed;
	right: 3px;
	top: 6px;
	padding: 5px 5px;
}

.switch-btn {
	width: 200px;
}