/*
=============================================
DOCUMENT
=============================================
*/

html, body {
	font-family: 'Open Sans', sans-serif;
	color: #111;
	height: 100%;
	background: #f7f7f7;
}

/*
=============================================
STRUCTURAL
=============================================
*/

.header-bar {
	box-sizing: content-box
}

#main > .wf-wrap, #bottom-bar > .wf-wrap, #footer > .wf-wrap {
	width: 100%;
}

#main {
	padding: 50px 0 70px 0;
}

@media screen and (max-width: 778px) {
	#main {
		padding: 0 0 70px 0;
	}

	#main > .wf-wrap {
		padding: 0;
	}
}

.page-title > .wf-wrap {
	flex-flow: row wrap;
}

.page-title > .wf-wrap > .page-title-head {
	padding-left: 15px;
    padding-right: 15px;
}

#contents {
	
}

/*
=============================================
CONTENTS
=============================================
*/

a {
	color: var(--dark-accent);
}

.btn-primary {
	border-color: var(--dark-accent) !important;
	background-color: var(--dark-accent) !important;
}

.btn-info {
	border-color: var(--accent) !important;
	background-color: var(--accent) !important;
	color: #fff;
}

.card-title {
	position: relative;
	width: 50%;
	min-width: 225px;
	padding: 0 15px;
	left: 0;
	background-color: var(--accent);
	text-align: center;
	color: #fff;
	line-height: 2em;
	border-radius: 1em;
	border-bottom-left-radius: 0;
	margin-bottom: -1em;
	z-index: 2;
}

.card-title:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1em;
	width: 1em;
	height: 1em;
	background-color: var(--accent);
	pointer-events: none;
}

.card-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2em;
	width: 2em;
	height: 2em;
	background-color: #fff;
	border-radius: 1em;
	pointer-events: none;
}

.card {
	position: relative;
	border-radius: 12px;
	border: 0;
	background-color: #fff;
	padding: 40px 20px 30px;
	border: 1px solid #eee;
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.05);
	z-index: 1;
}

.label {
	background-color: #f7f7f7;
	padding: 2px 10px;
	text-transform: uppercase;
	font-size: 0.8em;
}

.input-group-text {
	margin-bottom: 10px;
	border-radius: 0;
	border: 1px solid #e9e9e9;
	border-left-width: 0;
	background-color: #fdfdfd;
	color: #999;
}

.form-select {
	border-radius: 0;
	background-color: #fdfdfd;
	border: 1px solid #e9e9e9;
}

.form-select:focus {
	border-width: 1px;
	outline: 0;
	box-shadow: none;
}

.form-control.missing, .form-select.missing {
	border-color: #dd3330;
}

.form-control:read-only {
	background-color: #eee;
}

.toggleable {
	display: none;
}

.pagination {
	display: inline-block;
	position: relative;
	top: 2px;
	border: 1px solid #ddd;
	border-radius: .375rem;
	background-color: #fff;
	margin-bottom: 0;
}

.pagination li {
	margin: 0;
	display: inline-block;
}

.pagination li:not(:last-child) {
	border-right: 1px solid #ddd;
}

.pagination li a.pagi {
	display: block;
	margin: 0;
	padding: 0 12px;
	line-height: 38px;
	text-decoration: none;
	color: var(--dark-accent);
}

.pagination li.active a.pagi {
	background-color: var(--dark-accent);
	color: #fff;
}

.pagination li:not(.active) a.pagi:hover {
	background-color: #eee;
}

.sortable {
	cursor: pointer;
}

.alert {
	position: relative;
	top: -30px;
}

.alert-success {
	margin-top: 30px;
	margin-bottom: -20px;
	border-radius: 0;
	border-color: #3c763d;
	border-width: 2px;
	background-color: #fcfdff;
	font-size: 1.1em;
	font-weight: 600;
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.08);
}

.alert-danger {
	margin-top: 30px;
	margin-bottom: -20px;
	border-radius: 0;
	border-color: #dd3330;
	color: #dd3330;
	border-width: 2px;
	background-color: #fcfdff;
	font-size: 1.1em;
	font-weight: 600;
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.08);
}

.alert-dismissable .btn-close {
	content: "X";
	position: absolute;
	top: 0px;
	right: 0px;
	display: block;
	padding: 0 2px 10px 7px;
	border-radius: 0;
	background: #dd3330 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
	color: #fff;
	opacity: 1;
}

.alert-success.alert-dismissable .btn-close {
	background-color: #3c763d;
}

.alert-warning {
	border-color: #ebdcbf;
}

#primary-menu {
	margin-top: 0;
	margin-bottom: 0;
}

#sidebar-menu {
	margin: 0;
	padding: 0;
}

#sidebar-menu li {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 0 0 10px;
}

#sidebar-menu li:last-child {
	border-bottom-width: 0;
}

#sidebar-menu li a {
	display: block;
	cursor: pointer;
	text-decoration: none;
	color: #111;
	padding: 4px 12px;
	font-weight: bold;
	border-radius: 1em;
}

#sidebar-menu li a.active {
	background-color: #fff;
	border: 1px solid var(--accent);
}

#sidebar-menu li a:hover {
	background-color: #fff;
}

@media screen and (max-width: 778px) {
	#cube-calculation-table input {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}

.table thead.inverse {
	background-color: var(--dark-accent);
	color: #fff;
}

.table-sm {
	font-size: .9em;
}

.table tr.big-stretch td, .table tr.big-stretch th {
	/* padding-bottom: 30px; */
	border-style: dotted;
	border-bottom-width: 2px;
}

.table tr.post-stretch td, .table tr.post-stretch th {
	/* padding-top: 30px; */
}

.pseudo-table .block {
	background-color: #f7f7f7;
	border-radius: 1em;
	padding: 15px;
	margin-bottom: 20px;
}

.pseudo-table .block:last-child {
	margin-bottom: 0;
}

.pseudo-table h2 {
	font-size: 22px;
	font-weight: 300;
	margin: 0;
}

.pseudo-table h3 {
	font-size: 18px;
	font-weight: 700;
	color: var(--dark-accent);
}

.pseudo-table p {
	margin: 0;
}

.pseudo-table .divider {
	position: relative;
	text-align: center;
}

.pseudo-table .divider h2 {
	position: relative;
	display: inline-block;
	padding: 0 20px;
	background-color: #fff;
	line-height: 51px;
	z-index: 2;
}

.pseudo-table .divider:before {
	content: "";
	position: absolute;
	display: block;
	width: 90%;
	height: 0;
	left: 5%;
	top: 25px;
	border-bottom: 1px dotted #aaa;
	z-index: 1;
}

.pseudo-table .checkmate {
	margin-bottom: 5px;
}

.pseudo-table .checkmate label {
	display: block;
	background-color: #ddd;
	border-radius: 1em;
	padding: 2px 0;
}