/* GENERAL */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	font-family: "Montserrat", sans-serif;
	font-size: 10px;
	color: #333;
	line-height: 1.5;
}
body {
	background-color: #f7f7f7;
	font-size: 1.6rem;
}
main {
	background-color: #fff;
	overflow: hidden;
}
.inner {
	margin: 0 auto;
	max-width: 120rem;
}
p {
	margin-bottom: 2rem;
	line-height: 1.5;
}
strong {
	font-weight: 600;
}
a {
	text-decoration: none;
	color: #09f;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}
small {
	font-size: 80%;
}
td,
input,
textarea,
button,
select {
	font-family: "Montserrat", sans-serif;
}
button {
	cursor: pointer;
}
hr {
	clear: both;
	margin: 2rem 0;
	height: 1px;
	border: 0;
	border-bottom: 1px solid #ccc;
	background-color: #ccc;
}
hr::after {
	content: '';
	clear: both;
	display: table;
}
#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(2px);
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}
@media screen and (max-width:1200px) {
	.inner {
		padding: 0 1.5rem;
	}
}
@media screen and (max-width:768px) {
	html {
		font-size: 8px;
	}
}

/* HEADER */
header {
	background-color: #f7f7f7;
	border-bottom: 1px solid #ddd;
}
header::after {
	content: '';
	clear: both;
	display: table;
}
header h1 {
	float: left;
}
header h1 a {
	display: block;
	padding: 1rem;
	width: 15rem;
}
header h1 img {
	width: 100%;
}

/* FOOTER */
footer {
	border-top: 1px solid #ddd;
}
footer p {
	padding: 2rem;
	font-size: 1.4rem;
	color: #666;
	text-align: center;
}

/* MAIN NAV */
.main-nav {
	padding: 1rem 0.5rem;
	overflow: hidden;
}
.main-nav > li {
	float: left;
	width: 20%;
	padding: 0.5rem;
}
.main-nav > li a {
	display: block;
	padding: 1.5rem;
	background-color: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 1rem;
	text-align: center;
	font-size: 2rem;
}
.main-nav > li a.active {
	background-color: #09f;
	border-color: #09f;
	color: #fff;
}

/* SECTION */
section {
	padding: 2rem 0;
}
section h2 {
	margin-bottom: 2rem;
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.5;
}
section::after {
	content: '';
	clear: both;
	display: table;
}

/* FORM */
form .form-row {
	margin-bottom: 1.5rem;
}
form .form-row:last-child {
	margin-bottom: 0;
}
form .form-group {
	position: relative;
}
form .form-group label {
	position: absolute;
	top: 1.5rem;
	left: 1rem;
	padding: 0.5rem 1rem;
	cursor: text;
	color: #777;
	letter-spacing: 1px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
form .form-group.select-field label {
	position: relative;
	top: initial;
	left: initial;
	display: block;
}
form input {
	outline: none;
}
form input[type=text],
form input[type=email],
form input[type=password] {
	display: block;
	width: 100%;
	padding: 2.25rem 2rem 0.8rem;
	border: 1px solid #ccc;
	border-radius: 1rem;
	font-size: 2rem;
}
form input:focus {
	border-color: #888;
}
form input:focus + label,
form input:not(:placeholder-shown) + label {
	top: 0.4rem;
	left: 1rem;
	font-size: 1.2rem;
	color: #999;
	letter-spacing: 0;
}
form .form-group .field-icon {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 4rem;
	background-color: #888;
	border-top-left-radius: 1rem;
	border-bottom-left-radius: 1rem;
	color: #fff;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
form .form-group .field-icon i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
form .form-group.field-with-icon label {
	left: 5rem;
}
form .form-group.field-with-icon input[type=text],
form .form-group.field-with-icon input[type=email],
form .form-group.field-with-icon input[type=password] {
	margin-left: 4rem;
	width: calc(100% - 4rem);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.btn-show-hide-password {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	padding: 2rem;
	cursor: pointer;
	background: none;
	border: 0;
	color: #999;
}
form .form-row.has-error input {
	border-color: #c00;
}
form .form-row.field-success input {
	border-color: #0c0;
}
form .form-row.has-error .field-icon {
	background-color: #c00;
}
form .form-row.field-success .field-icon {
	background-color: #0c0;
}
form .field-required-badge {
	display: block;
	position: absolute;
	top: 1px;
	right: 1px;
	padding: 0.75rem 1rem;
	background-color: rgba(0, 0, 0, 0.1);
	border-top-right-radius: 1rem;
	border-bottom-left-radius: 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: #666;
}
.form-err {
	display: block;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background-color: #c00;
	border-radius: 1rem;
	color: #fff;
	line-height: 1.5;
}
.form-suc {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background-color: #0c0;
	border-radius: 1rem;
	color: #fff;
	line-height: 1.5;
}
.form-msg {
	margin: 0.75rem 0 2rem;
}
.form-msg-err {
	display: none;
	color: #f00;
}
form .form-row.has-error .form-msg-err {
	display: block;
}
.btn-add-data-modal {
	display: inline-block;
	margin-top: 2rem;
	padding: 1.5rem 2rem;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 1rem;
	font-size: 1.6rem;
	font-weight: 600;
	color: #666;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}
.btn-add-data-modal i {
	margin-right: 1rem;
}
.btn-add-data-modal:hover {
	border-color: #999;
	color: #000;
}
@media screen and (max-width:768px) {
	form .form-group label {
		top: 1.6rem;
	}
	.btn-add-data-modal {
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* CARD */
.card {
	display: block;
	margin-bottom: 2rem;
	padding: 1.5rem 2rem;
	border: 1px solid #ddd;
	border-left: 1rem solid #09f;
	border-radius: 1rem;
	line-height: 1.5;
}
.card-data-name {
	position: relative;
	font-size: 2rem;
	font-weight: 600;
}
.card-data-name .online-indicator {
	position: absolute;
	top: 0.1rem;
	right: -2.75rem;
	width: 2rem;
	height: 2rem;
	border-radius: 1rem;
	background-color: #ddd;
}
.card-data-name .online-indicator.active {
	background-color: #0c0;
}
.card-options {
	float: right;
	overflow: hidden;
}
.card-options li {
	float: left;
	margin-left: 0.5rem;
}
.card table {
	width: 100%;
}
.card table td {
	vertical-align: top;
}
.card-warning { border-color: #fc0; }
.card-danger { border-color: #c00; }
@media screen and (max-width: 768px) {
	.card-options li .mr-2 {
		margin-right: 0 !important;
	}
	.card-options li a span {
		display: none;
	}
}

/* MODULE DETAILS */
.module-details {
	display: table;
	width: 100%;
	line-height: 1.5;
	overflow: hidden;
}
.module-details > div {
	display: table-cell;
	width: 50%;
	vertical-align: top;
}
@media screen and (max-width:768px) {
	.module-details > div {
		display: block;
		width: 100%;
	}
}

/* TAB CONTENT */
.tab-content {
	display: none;
}
.tab-content.active {
	display: block;
}

/* TABLE */
.table-calendar {
	clear: both;
	margin-top: 2rem;
	width: 100%;
}
.table-calendar th,
.table-calendar td {
	padding: 0.5rem;
	border: 1px solid #ccc;
	vertical-align: middle;
}
.table-calendar th {
	font-size: 1.4rem;
	font-weight: 600;
}
.table-calendar td {
	font-size: 1.4rem;
}
.table-calendar tbody tr:nth-child(even) td {
	background-color: rgba(0,0,0,0.05);
}

/* MODAL */
.modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1010;
	min-width: 64rem;
	transform: translate(-50%,-50%);
	background-color: #fff;
	border: 1px solid #999;
}
.modal .form-err {
	display: none;
}
.modal > div {
	position: relative;
}
.modal-header {
	padding: 2rem;
	border-bottom: 1px solid #ccc;
	font-size: 2rem;
	font-weight: 600;
}
.modal-header a.btn-modal-close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	padding: 1.5rem 2rem;
}
.modal-body {
	padding: 2rem;
}
.modal-footer {
	padding: 2rem;
	border-top: 1px solid #ccc;
	text-align: right;
}
.modal-footer-options {
	overflow: hidden;
}
.modal-footer-options > * {
	margin-left: 0.5rem;
}
@media screen and (max-width:768px) {
	.modal {
		left: 0;
		right: 0;
		transform: translateY(-50%);
		min-width: 100%;
	}
	.modal-footer {
		text-align: center;
	}
	.modal-footer-options > * {
		display: block;
		margin-left: 0;
		text-align: center;
	}
	.modal-footer-options > *:first-child {
		float: left;
		width: calc(40% - 0.5rem);
	}
	.modal-footer-options > *:last-child {
		float: right;
		width: calc(60% - 0.5rem);
	}
}

/* BUTTONS */
.btn {
	position: relative;
	display: inline-block;
	padding: 1rem 2rem;
	border: none;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 1rem;
	font-size: 2rem;
	font-weight: 600;
	color: #333;
	text-transform: uppercase;
	line-height: 1.5;
	outline: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.btn:hover,
.btn:focus {
	opacity: 0.75;
}
.btn-block {
	display: block !important;
	width: 100%;
}
.btn-primary {
	background-color: #09f;
	border-color: #09f;
	color: #fff;
}
.btn-info {
	background-color: #4db4d7;
	border-color: #4db4d7;
	color: #fff;
}
.btn-success {
	background-color: #0c0;
	border-color: #0c0;
	color: #fff;
}
.btn-danger {
	background-color: #c00;
	border-color: #c00;
	color: #fff;
}
.btn-sm {
	padding: 0.8rem 1.6rem;
	border-radius: 0.8rem;
	font-size: 1.6rem;
}
.btn-lg {
	padding: 1.6rem 2.4rem;
	border-radius: 1.2rem;
	font-size: 120%;
}
.btn .icon-loading {
	display: none;
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	height: 4rem;
}
@media screen and (max-width:768px) {
	.btn {
		text-align: center;
	}
	.btn .mr-2 {
		margin-right: 0 !important;
	}
	.btn span {
		display: none;
	}
}

/* FLOAT */
.float-right { float: right !important; }
.float-left { float: left !important; }
.float-none { float: none !important; }

/* CLEAR */
.clear-both { clear: both !important; }
.clear-left { clear: left !important; }
.clear-right { clear: right !important; }

/* TEXT ALIGN */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-none { text-align: none !important; }

/* TEXT COLOR */
.text-primary { color: #09f !important; }
.text-info { color: #4db4d7 !important; }
.text-success { color: #0c0 !important; }
.text-warning { color: #fc0 !important; }
.text-danger { color: #c00 !important; }

/* POSITION */
.top-0 { top: 0 !important; }
.top--1 { top: -0.5rem !important; }

/* MARGIN */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 2.5rem !important; }
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.5rem !important; }
.ml-2 { margin-left: 1rem !important; }
.ml-3 { margin-left: 1.5rem !important; }
.ml-4 { margin-left: 2rem !important; }
.ml-5 { margin-left: 2.5rem !important; }
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.5rem !important; }
.mr-2 { margin-right: 1rem !important; }
.mr-3 { margin-right: 1.5rem !important; }
.mr-4 { margin-right: 2rem !important; }
.mr-5 { margin-right: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }