/* Tampilan aplikasi paket PSB: tiruan tata letak ramasakti di atas Bootstrap 3.3. */

html,
body {
	height: 100%;
}

body {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #646464;
	background-color: #f5f5f5;
}

a {
	color: #ff6b6b;
	transition: color .12s ease-out;
}

a:hover,
a:focus {
	color: #ff3838;
}

h1, h2, h3, h4, h5, h6 {
	color: #545454;
}

.text-primary { color: #ff6b6b; }
.text-white { color: #fff; }
.text-gray { color: #999; }
.bg-primary { background-color: #ff6b6b; color: #fff; }
.bg-gray-lighter { background-color: #f9f9f9; }
.bg-white { background-color: #fff; }
.bg-white-op { background-color: rgba(255, 255, 255, .075); }
.font-w300 { font-weight: 300; }
.font-w600 { font-weight: 600; }
.font-s12 { font-size: 12px; }
.push-5-t { margin-top: 5px; }
.push-10-t { margin-top: 10px; }
.push-15-t { margin-top: 15px; }
.push-30-t { margin-top: 30px; }
.push-10 { margin-bottom: 10px; }
.push-20 { margin-bottom: 20px; }
.push-50 { margin-bottom: 50px; }
.remove-margin { margin: 0 !important; }

/* Kontainer halaman */

#page-container {
	margin: 0 auto;
	width: 100%;
	min-width: 320px;
	min-height: 100%;
	background-color: #f5f5f5;
}

#main-container {
	background-color: #f5f5f5;
	overflow-x: hidden;
}

.header-navbar-fixed #main-container {
	padding-top: 60px;
	min-height: calc(100vh - 44px);
}

.content {
	margin: 0 auto;
	padding: 16px 14px 1px;
	max-width: 100%;
}

.content .block,
.content .items-push > div {
	margin-bottom: 16px;
}

.content-mini {
	margin: 0 auto;
	padding: 13px 14px 1px;
}

.content-mini.content-mini-full {
	padding-bottom: 13px;
}

@media (min-width: 768px) {
	.content {
		padding: 30px 30px 1px;
	}

	.content .block,
	.content .items-push > div {
		margin-bottom: 30px;
	}

	.content-mini {
		padding: 13px 30px 1px;
	}

	.content-mini.content-mini-full {
		padding-bottom: 13px;
	}
}

.content.bg-gray-lighter {
	padding-bottom: 1px;
}

/* Sidebar */

#sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1032;
	width: 230px;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #333;
	transform: translateX(-100%);
	transition: transform .28s ease-out;
	-webkit-overflow-scrolling: touch;
}

.sidebar-o-xs #sidebar {
	transform: translateX(0);
}

.sidebar-backdrop {
	display: none;
}

.sidebar-o-xs .sidebar-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1031;
	display: block;
	background-color: rgba(0, 0, 0, .3);
}

.side-header {
	margin: 0 auto;
	min-height: 60px;
}

.side-content {
	margin: 0 auto;
	padding: 13px 20px 1px;
	max-width: 100%;
	overflow-x: hidden;
}

.side-header.side-content {
	overflow: visible;
}

.side-header > a {
	display: inline-block;
	line-height: 34px;
	text-decoration: none;
	white-space: nowrap;
}

.side-header img {
	display: inline-block;
	margin-top: -4px;
	margin-right: 6px;
}

.side-header .h4 {
	color: #fff;
	font-size: 18px;
}

.side-header .btn-link {
	padding: 6px 0;
}

.nav-main {
	margin: 0 -20px;
	padding: 0;
	list-style: none;
}

.nav-main .nav-main-heading {
	padding: 22px 20px 6px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .3);
	white-space: nowrap;
}

.nav-main a {
	display: block;
	padding: 10px 20px;
	color: rgba(255, 255, 255, .5);
	white-space: nowrap;
	text-decoration: none;
}

.nav-main a:hover,
.nav-main a:focus {
	color: rgba(255, 255, 255, .5);
	background-color: rgba(0, 0, 0, .2);
	text-decoration: none;
}

.nav-main a > i {
	width: 16px;
	margin-right: 15px;
	text-align: center;
	color: rgba(255, 255, 255, .2);
}

.nav-main a:hover > i,
.nav-main a:focus > i,
.nav-main a.active,
.nav-main a.active > i {
	color: #fff;
}

@media (min-width: 992px) {
	#sidebar {
		transform: translateX(0);
	}

	#page-container.sidebar-o {
		padding-left: 230px;
	}

	.sidebar-o-xs .sidebar-backdrop {
		display: none;
	}

	#page-container.sidebar-mini {
		padding-left: 60px;
	}

	.sidebar-mini #sidebar {
		transform: translateX(-170px);
	}

	.sidebar-mini #sidebar .sidebar-content {
		width: 230px;
		transform: translateX(170px);
		transition: transform .28s ease-out;
	}

	.sidebar-mini #sidebar:hover,
	.sidebar-mini #sidebar:hover .sidebar-content {
		transform: translateX(0);
	}

	.sidebar-mini #sidebar .sidebar-mini-hide {
		opacity: 0;
		transition: opacity .28s ease-out;
	}

	.sidebar-mini #sidebar:hover .sidebar-mini-hide {
		opacity: 1;
	}
}

/* Header */

#header-navbar {
	min-height: 60px;
	background-color: #fff;
}

#header-navbar:before,
#header-navbar:after {
	content: " ";
	display: table;
}

#header-navbar:after {
	clear: both;
}

.header-navbar-fixed #header-navbar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .02);
}

@media (min-width: 992px) {
	.header-navbar-fixed.sidebar-o #header-navbar {
		left: 230px;
	}

	.header-navbar-fixed.sidebar-mini #header-navbar {
		left: 60px;
	}
}

.nav-header {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-header:before,
.nav-header:after {
	content: " ";
	display: table;
}

.nav-header:after {
	clear: both;
}

.nav-header > li {
	float: left;
	margin-right: 12px;
}

.nav-header.pull-right > li {
	margin-right: 0;
	margin-left: 12px;
}

.nav-header > li > a,
.nav-header > li > form > .btn {
	display: block;
	height: 34px;
	padding: 0 12px;
	line-height: 34px;
	font-weight: 600;
}

.nav-header > li > form {
	margin: 0;
}

.nav-header > li.header-label {
	padding-top: 5px;
	font-size: 16px;
	line-height: 1;
}

.nav-header > li.header-label > a {
	height: auto;
	padding: 0;
	line-height: 1;
	text-decoration: none;
}

.nav-header .header-label .label {
	display: inline-block;
	padding: 8px 10px;
}

/* Judul halaman */

.page-heading {
	margin: 0;
	color: #545454;
	font-size: 28px;
	font-weight: 400;
}

.page-heading small {
	display: block;
	margin-top: 5px;
	color: #777;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.page-heading small {
		display: inline;
		margin-top: 0;
		line-height: inherit;
	}
}

.breadcrumb {
	padding: 0;
	margin-bottom: 0;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: #999;
	background-color: transparent;
}

.breadcrumb > li + li:before {
	display: inline-block;
	width: 20px;
	padding: 0;
	font-family: "FontAwesome";
	color: rgba(0, 0, 0, .5);
	text-align: center;
	content: "\f105";
}

/* Blok konten */

.block {
	margin-bottom: 30px;
	background-color: #fff;
	box-shadow: 0 2px rgba(0, 0, 0, .01);
}

.block-header {
	padding: 15px 20px;
}

.block-header:before,
.block-header:after {
	content: " ";
	display: table;
}

.block-header:after {
	clear: both;
}

.block-header.bg-primary .block-title,
.block-header.bg-primary a {
	color: #fff;
}

.block-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.block-title small {
	font-size: 13px;
	font-weight: normal;
	text-transform: none;
}

.block-options {
	float: right;
	margin: -3px 0 -3px 15px;
	padding: 0;
	list-style: none;
}

.block-options > li {
	display: inline-block;
	margin-left: 10px;
}

.block-content {
	margin: 0 auto;
	padding: 20px 20px 1px;
	max-width: 100%;
}

.block-content.block-content-full {
	padding-bottom: 20px;
}

.block-content p,
.block-content .table,
.block-content .form-group {
	margin-bottom: 20px;
}

/* Tabel */

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
	padding: 12px 10px;
	border-top: 1px solid #f0f0f0;
	vertical-align: middle;
}

.table > thead > tr > th {
	padding: 16px 10px 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	border-bottom: 1px solid #ddd;
}

.table-bordered {
	border: 1px solid #e9e9e9;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
	border: 1px solid #f0f0f0;
}

.table-bordered > thead > tr > th {
	border-bottom-color: #e9e9e9;
}

.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #fcfcfc;
}

.table-hover > tbody > tr:hover {
	background-color: #f9f9f9;
}

/* Tombol, label, form */

.btn {
	font-weight: 600;
	border-radius: 2px;
	transition: all .15s ease-out;
}

.btn-default { color: #545454; background-color: #f5f5f5; border-color: #e9e9e9; }
.btn-default:hover, .btn-default:focus, .btn-default:active { color: #545454; background-color: #e1e1e1; border-color: #c9c9c9; }
.btn-primary { color: #fff; background-color: #ff6b6b; border-color: #ff3838; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active { color: #fff; background-color: #ff3838; border-color: #fa0000; }
.btn-success { color: #fff; background-color: #46c37b; border-color: #34a263; }
.btn-success:hover, .btn-success:focus, .btn-success:active { color: #fff; background-color: #37a967; border-color: #2a8350; }
.btn-info { color: #fff; background-color: #70b9eb; border-color: #43a3e5; }
.btn-info:hover, .btn-info:focus, .btn-info:active { color: #fff; background-color: #48a9e6; border-color: #1d86d0; }
.btn-warning { color: #fff; background-color: #f3b760; border-color: #efa231; }
.btn-warning:hover, .btn-warning:focus, .btn-warning:active { color: #fff; background-color: #f0a73f; border-color: #e18c10; }
.btn-danger { color: #fff; background-color: #d26a5c; border-color: #c54736; }
.btn-danger:hover, .btn-danger:focus, .btn-danger:active { color: #fff; background-color: #c9503f; border-color: #9e3a2c; }

.label-default { background-color: #999; }
.label-primary { background-color: #5c90d2; }
.label-success { background-color: #46c37b; }
.label-info { background-color: #70b9eb; }
.label-warning { background-color: #f3b760; }
.label-danger { background-color: #d26a5c; }

.form-control {
	color: #646464;
	border: 1px solid #e6e6e6;
	border-radius: 3px;
	box-shadow: none;
	transition: all .15s ease-out;
}

.form-control:focus {
	border-color: #ff8f8f;
	box-shadow: none;
}

.has-error .form-control,
.has-error .form-control:focus {
	border-color: #d26a5c;
	box-shadow: none;
}

.has-error .help-block,
.has-error .control-label {
	color: #d26a5c;
}

label {
	font-weight: 600;
}

.alert {
	border: 0;
	border-radius: 2px;
	box-shadow: 0 2px rgba(0, 0, 0, .02);
}

.alert-success { color: #3c763d; background-color: #e0f5e9; }
.alert-info { color: #31708f; background-color: #e3f4fc; }
.alert-warning { color: #8a6d3b; background-color: #fdf3e5; }
.alert-danger { color: #a94442; background-color: #fae9e8; }

/* Notifikasi flash */

.flash-notifikasi {
	position: fixed;
	top: 70px;
	right: 20px;
	z-index: 1040;
	width: 420px;
	max-width: calc(100% - 40px);
}

/* Footer */

#page-footer {
	overflow-x: hidden;
	color: #999;
}

/* Login */

.login-page {
	background-color: #fff;
}

.login-box {
	padding-top: 60px;
}

.login-box .login-logo {
	width: 56px;
	height: 56px;
}

.login-box label {
	font-size: 13px;
}

.login-box .form-control {
	height: 36px;
	padding-right: 0;
	padding-left: 0;
	border: 0;
	border-bottom: 1px solid #e6e6e6;
	border-radius: 0;
}

.login-box .form-control:focus {
	box-shadow: 0 2px 0 #ff6b6b;
}

.login-footer {
	margin-top: 30px;
	text-align: center;
}

/* Iframe cetak tersembunyi */

#print {
	position: absolute;
	width: 0;
	height: 0;
	border: 0;
	visibility: hidden;
}

.block-link {
	display: block;
	color: inherit;
	transition: box-shadow .15s ease-out;
}

.block-link:hover,
.block-link:focus {
	color: inherit;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

#page-footer .pull-right {
	margin-left: 15px;
}

.form-aksi {
	display: inline-block;
	margin: 0;
}
