html, body {
	margin:0px;
	padding:0px;
	height:100%;
	font-family: sans-serif;
	font-size:0.95em;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.aTxt {
	color: #000;
}

h2 {
	margin: 8px 0px 8px 0px;
}

input {
	padding: 6px;
	border-radius: 6px;
	border: 1px solid #AAACAE;
}
input:hover, select:hover {
	border: 1px solid #00adef;
}

select {
	padding-top: 6px;
	padding-bottom: 6px;
	border-radius: 6px;
	border: 1px solid #AAACAE;
	background-color: white;
}

#mainLoader {
	animation:loaderkf 6s infinite;
	display:none;
	position:fixed;
	height:5px;
	width:20%;
	z-index:5000;
	background:lightblue;
	left:0px;
}
@keyframes loaderkf {
	0%   {background:lightblue; left:0px;}
	100% {background:blue; left:100%;}
}

.helpicon {
	color: #A8CF45;
	text-decoration: none;
	font-size: 120% !important;
}
.helpicon:hover {
	color: #53A514;
	text-decoration: none;
}

#main {
	position: relative;
	min-height: calc(100% - 76px);
}

#main > #content {
	position: absolute;
	padding: 0px;
	left: 18%;
	width: 82%;
	min-height: 100%;
}

#main > #nav {
	position: absolute;
	left: 0px;
	right: 82%;
	top: 0px;
	padding: 0px;
	background: #737476;
	min-height: 100%;
}

#togglemenu {
	float: left;
	cursor: pointer;
	color: #eee;
	border: 1px solid transparent;
	padding: 4px 10px;
	margin-right: 8px;
	font-size: 18px;
	border-radius: 4px;
}

.noscroll {
	overflow: hidden;
}

.clickoverlay {
	display: none;
	position: fixed;
	background-color: rgba(0,0,0,0.7);
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 900;
}

#header {
	display: block;
	border-bottom: 4px solid #00adef;
	height: 72px;
}

#trail {
	color: #ABD046;
	font-size: 85%;
	font-weight: bold;
	background-color: #f4f9e6;
	padding: 0px;
	margin: 0px -20px 0px -20px;
}

#trail a {
	text-decoration: none;
	color: #ABD046;
}

#trail a:hover {
	text-decoration: underline;
}

label.error {
	display: block;
	color:red;
	font-style:italic;
	padding-bottom: 5px;
}

hr {
	border: 1px solid #00adef;
	height: 0px;
	width:100%;
}

.sectionDesc {
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color:#fafafa;
	padding: 10px !important;
}

.sectionDesc .ui-grid-row {
	background-color: white;
	margin-bottom: 1px;
	padding: 3px;
}

.sectionIcon{
	color: #00adef;
	font-size: 140%;
}
.sectionSubtitle {
	color: #00adef;
}
.sectionmenu {
	display: inline-block;
	vertical-align: 4px;
	min-width: 150px;
}
.sectionmenu button {
	background-color: #737476;
	color: #fff;
	border: 0px;
	border-radius: 3px;
	padding: 4px 8px;
	font-size: 65%;
}
.sectionmenu button:hover {
	color: #D8FF75;
}
.sectionmenu .current {
	background-color: #BDBFC1;
}
.sectionmenu .current:hover {
	color: #fff;
}

.bold {
	font-weight: bold;
}

.small {
	font-size: 80%;
}

.bg-highlight:hover {
	background-color: #ECF4D7;
	transition: background-color ease-out 1s;
}

#pm {
	color:white;
	padding:5px;
	padding-top: 15px;
	cursor: default;
}
#pm .mi-text {
	font-weight: bold;
	padding-left:8px;
}
#pm .fa-chevron-down, #pm .fa-chevron-up {
	float: right;
}
#pm div:hover {
	background-color: #666;
}
#pm .pm-pm {
	padding: 8px;
}
#pm .pm-pm:hover, #pm .pm-sb div:hover {
	color: #20cdff;
	transition: color ease-out 0.8s;
}
.pm-sb {
	overflow: hidden;
	padding: 0px;
	color: white;
	font-size: 90%;
}
.pm-sb div {
	padding: 5px 0px 3px 20px;
}
.pm-sb div::before {
	font-family: FontAwesome;
	content: "\f101";
}

.imenu {
	display: inline;
	line-height: 210%;
}
.imenu button {
	background: #459e00;
	color: #fff;
	border: 1px solid #A9D046 !important;
	padding: 2px;
}
.imenu button:hover {
	border-color: #7BA016 !important;
}
.imenu .p2 {
	background-color: #BDBFC1 !important;
	border-color: #BDBFC1 !important;
}
.imenu .p2:hover {
	border-color: #6B9006 !important;
}
.imenu .p3 {
	background-color: #E6E7E8 !important;
	border-color: #E6E7E8 !important;
	color: #333 !important;
}
.imenu .p3:hover {
	border-color: #ABD046 !important;
}
.imenu-hover .imenu {
	visibility: hidden;
}
.imenu-hover:hover .imenu {
	visibility: visible;
}

.menuLiva1 span {
	padding: 3px 10px;
	color: #BDBFC1;
	border-bottom: 2px solid #BDBFC1;
}
.menuLiva1 span:hover {
	cursor: pointer;
}
.menuLiva1 .selected {
	color: #00adef;
	border-bottom: 2px solid #00adef;
}

.controls, .tools, .colors, .stroke-container {
	margin: 0 5px;
	display: inline-block;
	vertical-align: middle
}
#canvas {
	position: relative;
	margin: 0;
	border-width: 0;
	border-radius: 0
}

.sidebar {
	top: 0;
	left: 0;
	width: 530px;
	padding: 0 10px;
	box-sizing: border-box;
	background-color: #d9d9d9;
	white-space: nowrap;
	user-select: none;
	-webkit-overflow-scrolling: touch;
	transition: all 150ms ease-in-out;
	transition-property: opacity
}

.sidebar * {
	white-space: normal
}

.controls {
	margin-right: 0;
	font-size: 0
}

.controls button:focus {
	box-shadow: none
}

.tool {
	transition-property: border-color, background-color, color, box-shadow
}

.tool.chosen {
	color: #36c
}

.tool.chosen, .tool.chosen:hover, .tool.chosen:hover:active, .tool.chosen:focus
	{
	background-color: #fff
}

.colors {
	width: 150px;
	font-size: 0;
	overflow: hidden
}

.color {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-clip: padding-box;
	white-space: normal;
	cursor: pointer
}

.box {
	display: inline-block;
	width: 60px;
	height: 60px
}

.stroke {
	width: 10px;
	height: 10px;
	background-color: #fff;
	background-clip: padding-box;
	border: solid 1px rgba(0, 0, 0, 0.5);
	border-radius: 50%
}

.slider {
	margin-top: 20px
}

.compliance {
	margin-right:8px;
	padding:10px;
	background-color:green;
	border-radius:20px;
	color:white;
	font-weight:bold;
	text-align:center
}

.ri-answer {
	border: 1px solid gray;
	background-color: #ddd;
	border-radius: 4px;
	min-width: 100px;
	padding: 5px 12px;
}

.ri-answer:hover {
	border: 1px solid #404040;
}

.button {
	width: 70px;
	height: 28px;
	margin: 1px;
	padding: 5px 10px;
	border-radius: 0;
	background-clip: border-box;
	-webkit-appearance: none;
	display: inline-block;
	margin: 2px 0;
	border-radius: 3px;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	font-size: 9pt !important;
	background-color: #E6E7E8;
	background-image: none;
	color: #333;
	border-color: #E6E7E8;
}

.bt-big {
	font-size: 150% !important;
}

.popupOverlay {
	display:none;
	position:fixed;
	background-color:rgba(0,0,0,0.7);
	width:100%;
	height:100%;
	top:0px;
	left:0px;
	z-index:500;
}

.popupOverlayClose {
	float:right;
	cursor:default;
	margin-right:5px;
	padding:5px;
	border-radius:4px;
}
.popupOverlayClose:hover {
	background-color:lightgray;
}

.desktop {
	display: block;
}
.mobile {
	display: none;
}

@media only screen and (max-width: 640px) {

	.compliance {
		display: inline-block;
		margin-bottom: 1px;
		padding: 5px 10px 5px 10px;
	}

	.desktop {
		display: none;
	}
	.mobile {
		display: block;
	}

	#header {
		position:fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		border-bottom: 0px;
		height: 45px;
		background-color:#666;
		overflow: hidden;
		z-index: 1000;
	}

	#main {
		min-height: calc(100% - 45px);
	}

	#main > #content {
		top: 45px;
		left: 0px;
		width: 100%;
	}
	
	#main > #nav {
		font-size: 120%;
		top: 45px;
		left: -280px;
		position: fixed;
		width: 270px;
		height: calc(100% - 45px);
		min-height: calc(100% - 45px);
		overflow: auto;
		box-shadow: 4px 0px 8px #333;
		transition: left .5s ease;
		z-index: 950
	}

	.openmenu {
		left: 0px !important;
	}

	.headerspacing {
		margin-top: 45px;
	}

}

