/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
	background-color: #f8f8f8;
}

#wrapper {
	width: 100%;
	height: 100%;
}

#page-wrapper {
	padding: 0 15px;
	min-height: 568px;
	background-color: #fff;
}

#init-page-wrapper {
	padding: 0 15px;
	min-height: 568px;
	background-color: #fff;
}

#pageLoading {
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	position: absolute;
	display: block;
	top: 0px;
	left: 0px;
	z-index: 999999;
}

@media(min-width:768px) {
	#page-wrapper {
		position: inherit;
		margin: 50px 0 0 250px; /* 50px is Top nav size*/
		padding: 0 30px;
		border-left: 1px solid #e7e7e7;
	}
	
	#init-page-wrapper {
		position: inherit;
		margin: 50px 50px 50px 50px;
		padding: 30px 30px;
		border: 1px solid #e7e7e7;
	}

	.navbar-header {
		float: none;
	}


}

@media(max-width:768px) {
	.navbar-fixed-top {
		position: relative;
	}
	.sidebar-toggler {
		display: none;
	}
}

/*
.nav>li>a {
	padding: 10px 10px;
}
*/

.navbar-top-links {
	margin-right: 0;
	float: right;
}

.navbar-top-links li {
	display: inline-block;
}

.navbar-top-links li:last-child {
	margin-right: 15px;
}

.navbar-top-links li a {
	padding: 15px;
	min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
	display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
	margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
	padding: 3px 20px;
	min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
	white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
	width: 310px;
	min-width: 0;
}

.navbar-top-links .dropdown-messages {
	margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
	margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
	margin-left: -123px;
}

.navbar-top-links .dropdown-user {
	right: 0;
	left: auto;
}

/*
 * Side menu toggler
 */
.menu-toggler {
	position: relative;
	float: left;
	margin: 14px 0px 8px 15px;
	background-color: transparent;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
}

.menu-toggler .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: #888;
	margin-top: 4px;
}


/*
 * Sidebar
 */

.sidebar .sidebar-nav.navbar-collapse {
	padding-right: 0;
	padding-left: 0;
}

.sidebar .sidebar-search {
	padding: 9px;
	height: 50px;
}
.sidebar .sidebar-search .search-icon {
	display: none;
}

.sidebar .arrow {
	float: right;
	margin-top: 2px;
}

.sidebar .fa.arrow:before {
	content: "\f105";
}

.sidebar .active>a>.fa.arrow:before {
	content: "\f107";
}

.sidebar .sidebar-nav .nav li i {
	#font-size: 1.3em;
	font-size: 18px;
}

.sidebar .nav-second-level li a {
	padding-left: 37px;
}

.sidebar .nav-third-level li a {
	padding-left: 52px;
}


/*
 * Sidebar-closed
 */
@media(min-width:768px) {

	body.sidebar-closed #wrapper #sidebar li .nav-second-level,
	body.sidebar-closed #wrapper #sidebar li a .side-menu-title,
	body.sidebar-closed #wrapper #sidebar li a .arrow {
		display: none;
	}

	body.sidebar-closed #wrapper .sidebar .nav-second-level li a {
		padding-left: 20px;
	}

	body.sidebar-closed #wrapper .sidebar .nav-third-level li a {
		padding-left: 35px;
	}


	body.sidebar-closed #wrapper #page-wrapper {
		margin: 50px 0 0 37px;
	}

	body.sidebar-closed #wrapper .sidebar {
		width: 37px;
	}
	body.sidebar-closed #wrapper #sidebar li:hover {
		width: 250px;
	}
	body.sidebar-closed #wrapper #sidebar li:hover > a > .side-menu-title {
		display: inline !important;
		padding-left: 20px;
	}
	body.sidebar-closed #wrapper #sidebar li:hover a .arrow {
		#position: absolute;
		#left: 270px;
		#top: 14px;
		display: inline !important;
		#z-index: 1100;
	}

	body.sidebar-closed #wrapper #sidebar li.sidebar-search:hover .custom-search-form {
		display: table;
	}
	body.sidebar-closed #wrapper #sidebar li.sidebar-search:hover .search-icon {
		display: none;
	}

	body.sidebar-closed #wrapper #sidebar li:hover > ul > li:hover {
		width: 203px;

	}

	body.sidebar-closed #wrapper #sidebar .sidebar-search .custom-search-form {
		display: none;
	}

	body.sidebar-closed #wrapper #sidebar .sidebar-search .search-icon {
		display: table;
		padding-top: 8px;
	}

	body.sidebar-closed #wrapper #sidebar li:hover > ul.nav-second-level {
		display: block !important;
		position: absolute;
		z-index: 1000;
		height: auto;
		overflow: visible;
		top: 38px;
		left: 38px;
		width: 212px;
	}
	body.sidebar-closed #wrapper #sidebar li:hover > ul.nav-second-level > ul.nav-third-level {
		display: block !important;
		position: absolute;
		z-index: 1000;
		height: auto;
		overflow: visible;
		top: 40px;
		left: 0px;
		width: 203px;
	}

}


@media(min-width:768px) {
	.sidebar {
		z-index: 5;
		position: absolute;
		width: 250px;
	}

	.navbar-top-links .dropdown-messages,
	.navbar-top-links .dropdown-tasks,
	.navbar-top-links .dropdown-alerts {
		margin-left: auto;
	}
}

.btn-outline {
	color: inherit;
	background-color: transparent;
	transition: all .5s;
}

.btn-primary.btn-outline {
	color: #428bca;
}

.btn-success.btn-outline {
	color: #5cb85c;
}

.btn-info.btn-outline {
	color: #5bc0de;
}

.btn-warning.btn-outline {
	color: #f0ad4e;
}

.btn-danger.btn-outline {
	color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
	color: #fff;
}

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

.chat li {
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
	margin-left: 60px;
}

.chat li.right .chat-body {
	margin-right: 60px;
}

.chat li .chat-body p {
	margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
	margin-right: 5px;
}

.chat-panel .panel-body {
	height: 350px;
	overflow-y: scroll;
}

.login-panel {
	margin-top: 25%;
}

.flot-chart {
	display: block;
	height: 400px;
}

.flot-chart-content {
	width: 100%;
	height: 100%;
}

.dataTables_wrapper {
	position: relative;
	clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled,
table.dataTable tfoot .sorting,
table.dataTable tfoot .sorting_asc,
table.dataTable tfoot .sorting_desc,
table.dataTable tfoot .sorting_asc_disabled,
table.dataTable tfoot .sorting_desc_disabled {
	background: 0 0;
}

table.dataTable thead .sorting_asc:after,
table.dataTable tfoot .sorting_asc:after {
	content: "\f0de";
	font-family: fontawesome;
	flaot: right;
}

table.dataTable thead .sorting_desc:after,
table.dataTable tfoot .sorting_desc:after {
	content: "\f0dd";
	font-family: fontawesome;
}

table.dataTable thead .sorting:after,
table.dataTable tfoot .sorting:after {
	content: "\f0dc";
	font-family: fontawesome;
	color: rgba(50,50,50,.5);
}

.btn-circle {
	width: 30px;
	height: 30px;
	padding: 6px 0;
	border-radius: 15px;
	text-align: center;
	font-size: 12px;
	line-height: 1.428571429;
}

.btn-circle.btn-lg {
	width: 50px;
	height: 50px;
	padding: 10px 16px;
	border-radius: 25px;
	font-size: 18px;
	line-height: 1.33;
}

.btn-circle.btn-xl {
	width: 70px;
	height: 70px;
	padding: 10px 16px;
	border-radius: 35px;
	font-size: 24px;
	line-height: 1.33;
}

.show-grid [class^=col-] {
	padding-top: 10px;
	padding-bottom: 10px;
	border: 1px solid #ddd;
	background-color: #eee!important;
}

.show-grid {
	margin: 15px 0;
}

.huge {
	font-size: 40px;
}

.panel-green {
	border-color: #5cb85c;
}

.panel-green .panel-heading {
	border-color: #5cb85c;
	color: #fff;
	background-color: #5cb85c;
}

.panel-green a {
	color: #5cb85c;
}

.panel-green a:hover {
	color: #3d8b3d;
}

.panel-red {
	border-color: #d9534f;
}

.panel-red .panel-heading {
	border-color: #d9534f;
	color: #fff;
	background-color: #d9534f;
}

.panel-red a {
	color: #d9534f;
}

.panel-red a:hover {
	color: #b52b27;
}

.panel-yellow {
	border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
	border-color: #f0ad4e;
	color: #fff;
	background-color: #f0ad4e;
}

.panel-yellow a {
	color: #f0ad4e;
}

.panel-yellow a:hover {
	color: #df8a13;
}


.btn-sq {
  width: 100px !important;
  height: 100px !important;
  font-size: 14px;
  padding: 10px;
}

.btn-sq>span{
	font-size: 36px;
}



.navbar-brand {
	width: 250px;
	margin: 0;
}

.menu-toggler {
	margin: 6px 0px 0px 0px;
	padding: 7px 10px 10px 10px;
	border: 1px solid transparent;
    border-radius: 4px;
    border-color: #ddd;
}

.menu-toggler:hover,
.menu-toggler:focus {
  background-color: #ddd;
}


#sidebar>li>a {
	padding: 0px;
}

#sidebar>li>a>span {
	padding-left: 5px;
}

#sidebar>li>a>span.fa {
	padding: 10px 10px 10px 0px;
}

#sidebar>li>a>i {
	padding: 9px 28px 9px 8px;
	margin: 1px 0px 1px 0px;
}

.page-header {
	margin: 18px 0 18px;
}

.form-control {
	padding: 0px 6px;
	height: 31px;
}


.table-panel {
	margin-bottom: 20px;
}

.table-panel .panel-heading i {
	font-size: 18px;
}

.table-panel .panel-heading .panel-title {
	float: right;
}

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: #CACACA;         /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

.btn-circle {
    width: 24px;
    height: 24px;
    padding: 2px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}



table.dataTable td.select-checkbox:before {
    content: '\f096';
    margin-top: -10px;
    color: #666;
	font-family: "FontAwesome";
	border: none;
	font-size: 16px;
}

table.dataTable tr.selected td.select-checkbox:after {
    content:"\f046";
    margin-top: -10px;
    margin-left: -6px;
    text-align: center;
	font-family: "FontAwesome";
	font-size: 16px;
	color: #333;
}


@media (min-width: 768px) {
	.modal-dialog {
	    width: 550px;
	}
}

span.alert {
	margin-bottom: 0;
	padding: 10px;
}

a.btn-circle i {
	color: #fff;
}

td.select-checkbox {
	cursor: pointer;
}

div.table-responsive table {
	margin-bottom: 0px;
}

td.processing {
	padding: 10px;
}

i.glyphicon-trash {
	padding-right: 2px;
	padding-top: 2px;
}

.input-group-btn {
	width: auto;
}

.input-group-addon:not(.hyphen) {
	width: auto;
}

.table-responsive {
	overflow-x: visible;
}

.colorpicker .colorpicker-saturation {
	width: 200px;
	height: 200px;
}
.colorpicker .colorpicker-hue,
.colorpicker .colorpicker-alpha {
	width: 30px;
	height: 200px;
}
.colorpicker .colorpicker-color,
.colorpicker .colorpicker-color div{
	height: 30px;
}

div.alert i {
	font-size: 180%;
	display: inline-block;
	float: left;
	padding-right: 10px;
}

div.alert p {
	display: inline-block;
	padding-top: 2px;
}

table div.form-group {
	margin-bottom: 0px;
}

div.help-block {
	margin-top: 0px;
	margin-bottom: 0px;
}

ul.list-unstyled {
	margin-bottom: 0px;
}

table.table label {
	margin-top: 6px;
	margin-bottom: 2px;
}

.form-control-feedback {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.has-error .form-control {
	background-color: #FFE4E1;
}

div.has-success div.selecter div.selecter-options {
	border-color: #3c763d;
}

div.has-success div.selecter span.selecter-selected {
	border-color: #3c763d;
}

div.has-error div.selecter div.selecter-options {
	border-color: #a94442;
}

div.has-error div.selecter span.selecter-selected {
	border-color: #a94442;
}

td.required:before {
  font-family: 'Glyphicons Halflings';
  color: #DA4453;
/*  content:"\e041";*/
  content: "\e251";
  position: absolute;
  margin-top: -14px;
  margin-left: -12px;
  transform: rotate(45deg);
}


.bs-callout {
    padding:10px;
    margin: 0 0 10px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

.bs-callout-danger {
    border-left-color: #DA4453;
}

div.required i {
	color: #DA4453;
	transform: rotate(45deg);
	top: 0px;
}

span.required i {
	transform: rotate(45deg);
	top: 0px;
}

td.operations {
	white-space: nowrap;
}

td.meta_status {
	white-space: nowrap;
}

div.dataTables_length label div{
	vertical-align: middle;
	display: inline-block;
	width: 80px;
	min-width: 80px;
}


table.dataTable thead th {
	word-break: keep-all;
	white-space: nowrap;
	position: relative;
}

table.dataTable thead th span {
	width: 100%;
	display: inline-block;
	padding-right: 10px;
}


table.dataTable thead .sorting:after, table.dataTable tfoot .sorting:after,
table.dataTable thead .sorting_asc:after, table.dataTable tfoot .sorting_asc:after,
table.dataTable thead .sorting_desc:after, table.dataTable tfoot .sorting_desc:after {
	position: absolute;
	width: 20px;
	right: 0px;
	display: inline-block;
}

th.operations {
	width: 1px;
}

th.meta_status {
	width: 1px;
}

div.form-group span.like_field:before {
  font-family: 'Glyphicons Halflings';
  color: #f0ad4e;
  content:"\e251 \e250";
  position: absolute;
  margin-top: 4px;
  margin-left: -45px;
}

div.form-group span.postlike_field:before {
  font-family: 'Glyphicons Halflings';
  color: #f0ad4e;
  content:"\e251";
  position: absolute;
  margin-top: 4px;
  margin-left: -30px;
}

div.form-group span.prelike_field:before {
  font-family: 'Glyphicons Halflings';
  color: #f0ad4e;
  content:"\e250";
  position: absolute;
  margin-top: 4px;
  margin-left: -30px;
}

.file-upload {
    position: relative;
    overflow: hidden;
    font-size: 12px;
}
.file-upload input.file-field {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

span.label {
    padding: .4em .6em .3em;
}

table.sr-only tr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

div.dataTables_paginate {
	text-align: left;
}


.hyphen {
    padding: 6px 6px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;

}

input[type=number].nospin::-webkit-inner-spin-button,
input[type=number].nospin::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number].nospin {
  -moz-appearance:textfield;
}

.input-group .form-control {
	padding-right: 2px;
}

.btn-sm, .btn-group-sm > .btn {
	font-size: 13px;
}

.progress {
  margin-top: 10px;
  margin-bottom: 0px;
}

.password-verdict {
  padding: 0px 10px;
}

table.table-bordered tbody td {
	border-bottom-width: 1px;
}

/*
 * トップに戻るボタン
 */
.pagetop {
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
    z-index: 99999;
}
.pagetop a {
	display: block;
	background-color: #666;
	text-align: center;
	color: #fff !important;
	font-size: 20px;
	text-decoration: none;
	padding: 10px 15px;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
	border-radius: 8px;
}
.pagetop a:hover {
	background-color: #000;
}

td.number_style {
	text-align: right;
}

/*
 * right menu
 */
.right-slidebar .nav>li>a:hover,
.right-slidebar .nav>li>a:focus,
.right-slidebar .nav>li:hover,
.right-slidebar .nav>li:focus,
.right-slidebar .nav>li.active {
	background-color: #eeeeee;
}

.right-slidebar a {
	color: #CACACA;
}

.right-slidebar ul li {
	background-color: #f8f8f8;
	border-color: #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}

.right-slidebar ul li a.active {
	background-color: #e0e0e0;
}

#editModal > .modal-dialog {
	width: 600px;
}

.modal iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

#modal-wrapper {
	padding: 0 15px;
	min-height: 400px;
	background-color: #fff;
	height: 100%;
}

@media(min-width:768px) {
	#modal-wrapper {
		position: inherit;
		margin: 0px;
		padding: 0px 10px;
		border-left: 1px solid #e7e7e7;
	}
}

td.editable span {
	display: inline-block;
	width: 100%;
	cursor: pointer;
	text-decoration: none;
	border-bottom: dashed 1px #0088cc;
}


div.resize-image {
	max-width: 100%;
}

div.resize-image img {
	max-width: 100%;
}

div.dataTables_wrapper {
	font-size: 0px;
	margin-bottom: 20px;
}

div.dataTables_length {
    float: right;
    display: inline-block;
    margin-top: 2px;
	font-size: 14px;
}

div.dataTables_paginate {
    display: inline-block;
}

div.pagination {
	margin: 0;
}

div.dataTables_paginate {
	letter-spacing: -.40em;
	display: inline-block;
}

ul.pagination {
	letter-spacing: normal;
	font-size: 14px;
}

div.dataTables_info {
	float: left;
	font-size: 14px;
	margin-right: 10px;
	letter-spacing: normal;
}

table.dataTable {
	font-size: 14px;
}

body.modal-frame-body {
	background: #FFF;
}

#hash_table {
	width: 100%;
}

#hash_table th:nth-child(1) {
	white-space: nowrap;
}

#hash_table td:nth-child(n+2) {
	text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #333;
}

.select2-container .select2-selection--single {
	height: 34px;
	line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 34px;
	width: 30px;
}

div.wrap-select2 {
	padding-right: 40px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #ddd;
	color: #333;
}

.select2-container--default .select2-results__option[aria-selected=true] {
	background-color: #3bafda;
	color: #fff;
}

span.select2-selection__clear {
	margin-right: 10px;
}
