﻿html {
	height: 100%;
}
body {
	background: #f1f3f5;
	font-family: "Malgun Gothic","Apple SD Gothic Neo","Meiryo UI","NanumGothic",Lucida Grande,"Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	height: 100%;
	overflow: hidden;
}


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}


#app {
	height: 100%;
}

/*::-webkit-datetime-edit { padding: 1em; }*/
/*::-webkit-datetime-edit-fields-wrapper { background: silver; }*/
::-webkit-datetime-edit-text { color: #bbb; padding: 0 0.05em; }
::-webkit-datetime-edit-month-field { color: black; }
::-webkit-datetime-edit-day-field { color: black; }
::-webkit-datetime-edit-year-field { color: black; }
input[type=date]::-webkit-inner-spin-button { display: none; }
input[type=date]::-webkit-clear-button { display: none; }
::-webkit-calendar-picker-indicator { display: inline-block; opacity: 1; padding-right: 0; }
input[type=number]::-webkit-inner-spin-button {
	display: none;
}
.num {
	font-family: Verdana, sans-serif;
}
.code {
	font-family: Consolas, monospace;
}
.sub {
	color: #868e96;
    font-size: 10px;
    font-weight: normal;
    white-space: nowrap;
}
.small {
    font-size: 10px;
    font-weight: normal;
}
.sub-wrap {
	color: #868e96;
    font-size: 10px;
    font-weight: normal;
}
.btn-group > .btn {
	min-width: 90px;
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-weight: bold;
}

input.code {
	text-align: right;
}
.input-group-addon.transparent {
	background: transparent;
	border-right: none;
	font-family: Consolas, monospace;
}

.pagination {
	margin: 0;
	border: 1px solid #aaa;
}
.pagination span,
.pagination a {
	border-top: none !important;
	border-bottom: none !important;
	font-family: Verdana;
}
.pagination > li:first-child > a, 
.pagination > li:first-child > span {
	border-left: none !important;
}
.pagination > li:last-child > a, 
.pagination > li:last-child > span {
	border-right: none !important;
}
.pagination-text {
	font-size: 10px;
}
.alert > li {
	margin-left: 15px;
}
.panel-inverse {
	border: none;
}
.panel-inverse > .panel-heading {
	background-color: #8a939b;
	color: #f1f3f5;
	border-bottom: 1px solid #868e96;
}
.panel-inverse > .table > thead > tr > th {
	background-color: #dce1e5;
	color: #666;
	border-color: #bbb;
}
th.cate-id { 
	width: 70px;
}
th.cate-site {
	width: 70px;
}
th.cate-code {
	width: 70px;
}
th.cate-text {
    width: auto;
}
th.cate-auto {
	width: 70px;
}
th.cate-domu {
	width: 70px;
}
th.cate-page {
	width: 50px;
}
th.cate-create-date {
	width: 100px;
}
th.cate-update-date {
	width: 100px;
}

.fa-pulse {
  -webkit-animation: fa-spin .6s infinite steps(7);
		  animation: fa-spin .6s infinite steps(7);
}
.loader {
	text-align: center;
	padding-top: 200px;
}
.loader > .text {
	display: block;
	font-size: 16px;
	color: #999;
	margin-top: 20px;
}
.loader > .fa {
	font-size: 60px;
	color: #666;
}
.table {
	font-size: 12px;
}
.table > tbody + tbody {
    border-top: 1px solid #ddd;
}
.table.single-item th,
.table.single-item td {
	text-align: center;
	vertical-align: middle;
}
.table.multi-items th,
.table.multi-items td {
	text-align: center;
	vertical-align: middle;
}
.input-group-xs > .input-group-addon {
	font-size: 10px;
	padding: 4px;
	height: 24px;
}
.input-group-xs > .input-group-addon > .fa {
	font-size: 14px;
}
.input-group-xs > .form-control {
	font-size: 11px;
	padding: 2px 3px;
	height: 24px;
}
.format-help {
	font-size: 12px;
}

a:hover, a:focus {
	text-decoration: none;
}
#sidebar {
	position: absolute;
	background-color: #495057;
	top: 60px;
	left: 0;
	bottom: 0;
	width: 70px;
	overflow: hidden;
}
#sidebar > ul {
	margin: 0;
	padding: 0;

}
#sidebar > ul > li > a {
	display: block;
	width: 100%;
	text-align: center;
	color: #adb5bd;
	padding: 9px 0 8px;
	font-size: 11px;
}
#sidebar > ul > li > a > i {
	display: block;
	font-size: 32px;
	margin-bottom: 1px;
}
#sidebar > ul > li.active > a {
	background-color: #343a40;
	color: #dee2e6;
}
#sidebar > ul > li > a:hover {
	color: #dee2e6;
}

#sidebar > ul.bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

#home-link {
	width: 70px;
	height: 60px;
	background-color: #ced4da;
	border-bottom: 1px solid #343a40;
	border-right: 1px solid #adb5bd;
	color: #343a40;
	text-align: center;
	display: block;
	padding-top: 16px;
	line-height: 14px;
	font-size: 13px;
}
#header {
	position: absolute;
	background-color: white;
	border-bottom: 1px solid #ced4da;
	top: 0;
	left: 70px;
	right: 0;
	height: 60px;
	padding: 9px;
}
#header > .title {
	color: #495057;
	margin: 6px 0 0 6px;
	float: left;
	font-size: 26px;
}
.header-buttons {
	position: fixed;
	top: 12px;
	right: 16px;
}
#main {
	position: absolute;
	top: 60px;
	left: 70px;
	right: 0;
	bottom: 0;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
body.noscroll #main {
	overflow: hidden;
}

.main-content {
	padding: 20px;
}


@media only screen and (max-width: 440px) {
	
	#sidebar {
		width: 50px;
		top: 40px;
	}
	#sidebar > ul > li > a {
		display: block;
		width: 100%;
		text-align: center;
		color: #adb5bd;
		padding: 8px 0 7px;
	}
	#sidebar > ul > li > a > span {
		display: none;
	}
	#sidebar > ul > li > a > i {
		display: block;
		font-size: 24px;
		margin-bottom: 2px;
	}
	#home-link {
		width: 50px;
		height: 40px;
		padding: 7px 0;
		font-size: 10px;
		line-height: 12px;
	}
	#header {
		left: 50px;
		height: 40px;
		padding: 4px;
	}
	#header > .title {
		font-size: 18px;
	}
	#main {
		left: 50px;
	}
}
.main-wrapper {
	height: 100%;
	position: relative;
}
.template-categories {
	width: 300px;
	background: white;
	border-right: 1px solid #ddd;
	height: 100%;
	position: relative;
}
.template-categories > .sidebar-title {
	height: 74px;
}
.template-categories > .sidebar-title > h5 {
	margin: 0;
	padding: 10px;
	font-size: 16px;
	background: #666;
	color: white;
}
.sidebar-title > .toolbar {
	background: #f3f3f3;
	padding: 6px 10px;
	border-bottom: 1px solid #aaa;
}
.sidebar-title > .toolbar > .btn {
	height: 24px;
}
.category-list {
	position: absolute;
	width: 100%;
	top: 74px;
	bottom: 0;
	margin: 0;
	padding: 0;
	overflow-y: scroll;
	list-style: none;
}
.category-list > li {
	border-bottom: 1px solid #ddd;
}
.category-item {
	display: block;
	padding: 15px 10px 10px;
	cursor: pointer;
	position: relative;
}
.category-item:hover {
	background: #f3fef0;
}
.category-list > li.active > a {
	background: #e4ffdc;
}

.category-item > h5 {
	margin: 0 0 6px;
	color: #666;
}
/*.category-item > .label {
	position: absolute;
	top: 10px;
	right: 10px;
}*/
.category-item-contents {
	margin-left: 2px;
}
.category-item-content {
	font-size: 12px;
	color: #999;
}
.content-wrapper {
	position: absolute;
	left: 300px;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 20px;
}
body.noscroll .content-wrapper {
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
.content-header > h1{
	margin-top: 0;
	float: left;
}
.content-header > .content-header-buttons {
	float: right;
}

.container {
	width: auto;
}

/*.table.property-list {
	
}
.table.property-list th {
	background-color: 
}
.table.property-list th,
.table.property-list td {
	width: 50%;
}*/
.table td {
	vertical-align: middle !important;
	padding: 4px !important;
}
.table-xs td {
	padding: 2px !important;
}
td.id, th.id {
	text-align: center;
	white-space: nowrap;
}
td.date, th.date {
	text-align: center;
	white-space: nowrap;
}
td.site, th.site {
	text-align: center;
	white-space: nowrap;
}
td.size, th.size {
	text-align: center;
	white-space: nowrap;
}
td.color, th.color {
	text-align: center;
	white-space: nowrap;
}
td.case-count, th.case-count {
	text-align: center;
	white-space: nowrap;
}
td.app-title, th.app-title {
	text-align: center;
	white-space: nowrap;
}
td.count, th.count {
	text-align: center;
	white-space: nowrap;
}
td.state, th.state {
	text-align: center;
	white-space: nowrap;
}
td.file-type, th.file-type {
	text-align: center;
	white-space: nowrap;
}
td.file, th.file {
	text-align: center;
	white-space: nowrap;
}
td.uniq-name, th.uniq-name {
	text-align: center;
	white-space: nowrap;
}
td.name, th.name {
	text-align: center;
	white-space: nowrap;
}
td.email, th.email {
	text-align: center;
	white-space: nowrap;
}
td.mobile, th.mobile {
	text-align: center;
	white-space: nowrap;
}
td.approve, th.approve {
	text-align: center;
	white-space: nowrap;
}
td.domain, th.domain {
	text-align: center;
	white-space: nowrap;
}
td.url, th.url {
	text-align: center;
	white-space: nowrap;
}
td.order-num, th.order-num {
	text-align: center;
	white-space: nowrap;
}
td.total-price {
	text-align: right;
	white-space: nowrap;
}
th.total-price {
	text-align: center;
	white-space: nowrap;
}
td.action, th.action {
	text-align: center;
	white-space: nowrap;
}
td.machine, td.worker, td.threads {
	text-align: center;
	white-space: nowrap;
}
td.elapsed {
	text-align: right;
}
td.dead {
	color: red !important;
}
td.alive {
	color: rgb(0, 197, 0) !important;
}
.table {
	background-color: white;
	border: none;
}
.table > thead > tr > th {
	background: #495057;
	color: #f1f3f5;
	border: 1px solid #868e96;
	white-space: nowrap;
}

.table > tbody.active {
	border: 2px solid #82c91e;
	background-color: #fffceb;
}

tr.templar-details > td > .templar-selected {
	padding: 10px 10px 0;
}

.templar-selected > div > .panel > .panel-heading {
	padding: 8px 10px;
	background-color: #868e96;
	color: white;
	margin: 0 -1px;
}

.table.detail > thead > tr > th {
	background-color: #e9ecef;
	border-color: #ced4da;
	color: #343a40;
	padding: 4px;
}
.table.detail > tbody > tr > th {
	padding: 4px;
}

.modal-wrapper > h3 {
	margin: 0;

}
.modal-wrapper hr {
	margin: 10px -14px;
	border-color: #ccc;
}
.modal-wrapper .form-btns > .btn {
	min-width: 100px;
}
.ngdialog.ngdialog-theme-default .ngdialog-close {
	top: 6px;
}
.ngdialog.ngdialog-theme-default .ngdialog-close:before {
	font-size: 48px;
}
.ngdialog.ngdialog-theme-default {
	padding: 40px 0 0;
}
.modal-wrapper ul.alert {
	font-size: 13px;
	padding: 8px;
	line-height: 18px;
	margin: 0;
}

.key {
	display: inline-block;
	width: 100px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.copy {
	cursor: pointer;
}
