/**
 * RtVision base styles
==============================================================================*/

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body,
.page {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {
	position: relative;
	font-family: "Open Sans", sans-serif;
	font-size: 1em;
	line-height: 1.4em;
	color: #555;
	background: #f9f9f9;
}
a {
	color: #1e7bed;
	text-decoration: none;
}
a:hover,
a:focus {
	/*text-decoration: underline;*/
}
a:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
h3 {
	margin: 1em 0 0 0;
}
p {
	margin: 0;
	font-size: 0.8rem;
}
figure {
	margin: 0;
}
img {
	vertical-align: middle;
}
.img-responsive,
.thumbnail > img,
.thumbnail a > img {
	display: block;
	max-width: 100%;
	height: auto;
}
hr {
	border: 0;
	margin: 0 0 3em 0;
}

/**
 * Page title
==============================================================================*/
.page-title {
	margin: .8rem 1rem 0 3.5rem; /* space for menu icon */
	padding: 0;
	display: inline-block;
	font-size: 1.75rem;
	letter-spacing: -2px;
	line-height: 1;
}
.page-title a {
	color: #555;
	text-decoration: none;
}

/**
 * Page breadcrumbs
==============================================================================*/
.breadcrumbs {
	padding: 0 1em;
	font-size: .8em;
	color: #aaa;
}
.breadcrumbs a {
	border-bottom: 1px solid #999;
}
.breadcrumbs a,
.breadcrumbs b {
	color: #555;
}

/**
 * Page overlay
==============================================================================*/
.overlay {
	z-index: 1020;
	position: fixed;
	margin: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.75);
}

/**
 * Page layout
==============================================================================*/
.page {
	z-index: 1;
	position: absolute;
	min-width: 320px;
	height: 100%;
	width: 100%;
	margin-top: 0;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	overflow-x: auto;
	overflow-y: scroll;
}
.page .content {
	position: relative;
	background: #f9f9f9;
	height: 100%;
}
.page-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.75);
	content: '';
	opacity: 0;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
	-webkit-transition: opacity 0.2s, -webkit-transform 0s 0.1s;
	transition: opacity 0.2s, transform 0s 0.1s;
}
.show-menu .page,
.show-menu .page-overlay {
	-webkit-transform: translate3d(15em,3.25em,0) !important;
	transform: translate3d(15em,3.25em,0) !important;
}
.show-menu .menu-button {
	-webkit-transform: translate3d(5.1em,1.15em,0);
	transform: translate3d(5.1em,1.15em,0);
}
.show-menu .page-overlay {
	opacity: 1;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.page-main,
.page-footer {
	padding: 0 1em 1em;
}
.page-banner {
	margin: 1rem 0;
	text-align: center;
}
.page-banner img {
	max-width: 100%;
	height: auto;
}
/*TODO responsive left/right styles without absolute positioning*/
.page-sidebar-left,
.page-sidebar-right {
	padding: 1em;
}
.page-sidebar-left {
	float: left;
}
.page-sidebar-right {
	float: right;
}
.page-footer .powered-by {
	font-size: 11px;
	line-height: 10px;
	text-align: right;
}
.page-footer a.rtvision_logo img {
	position: relative;
	top: -5px;
	width: 150px;
}
.page-footer .powered-by {
	font-size: 11px;
	text-align: right;
}

/**
 * Admin join group
 * TODO: rename to join-group. no camel classes!
==============================================================================*/
.joinGroup {
	position: relative;
	width: 100%;
	padding: 1em 0 0;
	clear: both;
	font-size: .8em;
}
.joinGroup h4 {
	margin: 0;
	padding: 0;
	clear: both;
	font-size: 1.3em;
	font-weight: bold;
}
.joinGroup h4 span {
	display: block;
	text-decoration: underline;
}
.joinGroup h4 span.left {
	float: left;
}
.joinGroup h4 span.right {
	float: right;
	cursor: pointer;
}
.joinGroup ul.join {
	display: block;
	width: 100%;
	height: 150px;
	min-height: 150px;
	overflow: auto;
	list-style-type: none;
}
.joinGroup ul.join li input {
	margin-right: .25em;
	cursor: pointer;
}
.joinGroup ul.join li {
	display: block;
	padding: .25em;
}
.joinGroup ul.join li label {
	background: transparent;
	cursor: pointer;
}
.joinGroup ul.join li label i {
	display: block;
	font-weight: normal;
	padding-left: 1.5em;
}
.joinGroup ul.join label.disabled input {
	border: none;
}

/*misc to organize*/

#License_Agreement_Link {
	display: inline-block;
	margin-top: 1rem;
}
.alert.browser-feature-warning {
	margin-bottom: 1rem;
}
.hidden {
	display: none !important;
}
.right {
	text-align: right;
}
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.text-small {
	font-size: 0.8rem;
}
.text-large {
	font-size: 1.2rem;
}
.margin-top {
	margin-top: 1rem !important;
}
.margin-bottom {
	margin-bottom: 1rem !important;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}

/**
 * Print styles
==============================================================================*/
@media Print {
	html,
	body,
	.page {
		overflow: visible !important;
	}

	.noView,
	.noPrint,
	.no-print,
	.page-header,
	.menu-button,
	.box__title .show,
	.box__title .hide {
		display: none !important;
	}
}

