/*!
 * Start Bootstrap - 4 Col Portfolio HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/**************************************
 * BASIC STYLES
**************************************/
body {
	position: relative; /* Required for scrollspy */
	font-family: 'PT Sans', Tahoma, sans-serif;
	font-display: fallback;
	border-top: 51px solid #fafafa; /* Required padding for .navbar-fixed-top. */
}

@media (min-width: 480px) {
	body {
		height: 100vh; /* Required for sticky footer */
		display: flex; /* Required for sticky footer */
		flex-direction: column; /* Required for sticky footer */
		border-top-width: 81px;
	}

	.main-content {
		flex-basis: auto;
		flex-grow: 1;
		flex-shrink: 0;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Trebuchet MS';
	font-weight: bold;
}

h2 {
	font-size: 1.8em;
	margin-bottom: 20px;
}

h3 {
	font-size: 1.2em;
	margin-bottom: 20px;
}

.text-bold {
	font-weight: bold;
	color: #555;
}

.position-left {
	margin-right: 6px;
}

.position-right {
	margin-left: 6px;
}

.vertical-align-text-top {
	vertical-align: text-top;
}

.account h3 {
	text-transform: uppercase;
}

.table a {
	color: #333;
}

.table .form-control,
.table .input-group {
	width: 100%;
}

.table a .glyphicon {
	color: #CCC;
	transition: color 0.4s ease;
}

.table a:focus .glyphicon,
.table a:hover .glyphicon {
	color: #000;
}

div.dataTables_wrapper div.dataTables_processing {
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	font-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 0;
}

form {
	margin-bottom: 15px;
}

form .checkbox--horizontal input[type=checkbox] {
	margin: 2px 8px;
}

form .table {
	margin-bottom: 0;
}

input[type=number].number-stepper {
	-moz-appearance: textfield;
}

input[type=number].number-stepper::-webkit-inner-spin-button, 
input[type=number].number-stepper::-webkit-outer-spin-button { 
	-webkit-appearance: none; 
	margin: 0;
}

blockquote {
	position: relative;
	font-size: 1em;
	margin: 0;
	padding: 5px 15px;
	border: 0;
	quotes: '„' '“';
}

blockquote p {
	text-align: justify;
}

blockquote:before,
blockquote:after {
	position: absolute;
	font-size: 3em;
	color: #DFDFDF;
}

blockquote:before {
	left: -5px;
	bottom: -10px;
	content: open-quote;
}

blockquote:after {
	right: -5px;
	top: -10px;
	content: close-quote;
}

fieldset {
	margin-bottom: 15px;
}

.mt-0 {
	margin-top: 0;
}

.mt-5 {
	margin-top: 5px;
}

.mt-10 {
	margin-top: 10px;
}

.mt-15 {
	margin-top: 15px;
}

.mt-20 {
	margin-top: 20px;
}

.mb-0 {
	margin-bottom: 0;
}

.mb-5 {
	margin-bottom: 5px;
}

.mb-10 {
	margin-bottom: 10px;
}

.mb-15 {
	margin-bottom: 15px;
}

.mb-20 {
	margin-bottom: 20px;
}

.btn-default {
	color: #555;
	background-color: #FFF;
}

.btn-dropdown {
	display: block;
	width: 100%;
	text-align: left;
	background-color: transparent;
	border-radius: 0;
}

.btn-dropdown:hover {
	border-bottom-width: 4px;
	margin-top: 0;
	background-color: #f5f5f5;
}

.btn-xs {
	text-transform: uppercase;	
}

.btn-xxl {
	font-size: 22px;
	padding: 10px 30px;
}

.panel {
	transition: border 0.4s ease;
}

.panel:hover,
.panel:focus {
	border-color: #CCC;
}

.label-default {
	font-weight: normal;
	background-color: #CCC;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.tooltip-inner {
	max-width: 250px;
	width: 250px;
	text-align: left;
}

.nav-tabs > li.active > a {
	color: #fff;
	border-color: #2e6da4;
	background-color: #337ab7;
}

.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
	color: #fff;
	border-color: #204d74;
	background-color: #286090;
}

.tab-content > .tab-pane {
	padding-top: 20px;
}

h1 .text-muted,
h2 .text-muted,
h3 .text-muted {
	color: #CCC;
}

.alert a {
	text-decoration: underline;
}

.alert-info a {
	color: #fff;
}

.page-header {
	margin-top: 30px;
}

.center-all {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

.flash-container {
	position: fixed;
	z-index: 10;
	top: 60px;
	right: 10px;
}

@media (min-width: 768px) {
	.flash-container {
		top: 90px;
		transition: top 0.4s;
	}

	.flash-container--aligned {
		top: 60px;
	}
}

/**************************************
 * NAVBAR
**************************************/
.navbar {
	width: 100%;
	background-color: #FFF;
	border: 0;
	transition: padding 0.4s ease;
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

.navbar-brand img {
	height: 50px;
	padding: 5px 15px;
}

.navbar-brand a:focus {
	outline: 0;
}

.navbar-nav > li > p {
	margin-top: 15px;
	margin-bottom: 15px;
	white-space: nowrap;
}

.navbar-inverse {
	background-color: #222;
}

.navbar-inverse .label-default {
	background-color: #999;
}

.navbar-inverse .dropdown .dropdown-toggle {
	color: #eee;
}

.navbar-inverse .dropdown:hover .dropdown-toggle,
.navbar-inverse .dropdown:focus .dropdown-toggle {
	color: #999;
}

.navbar-inverse .navbar-nav > li > a {
	color: #eee;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
	color: #999;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
	color: #eee;
	background-color: #333;
}

@media (min-width: 768px) {
	.navbar-brand,
	.navbar-brand img {
		height: 80px;
		transition: height 0.4s ease;
	}

	.navbar-brand img {
		padding-top: 10px;
		padding-bottom: 10px;
		transition: all 0.4s ease;
	}

	.navbar-nav > li > a {
		text-transform: uppercase;
		padding-top: 30px;
		padding-bottom: 30px;
		transition: padding 0.4s ease;
	}

	.navbar-nav > li > p {
		margin-top: 30px;
		margin-bottom: 30px;
		transition: margin 0.4s ease;
	}

	.navbar-nav .navbar-text {
		margin-left: 15px;
		margin-right: 15px;
	}

	.navbar--shrink .navbar-brand,
	.navbar--shrink .navbar-brand img {
		height: 50px;
	}

	.navbar--shrink .navbar-brand img {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.navbar--shrink .navbar-nav > li > a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.navbar--shrink .navbar-nav > li > p {
		margin-top: 15px;
		margin-bottom: 15px;
	}
}

/**************************************
 * BREADCRUMBS
**************************************/
.breadcrumbs {
	padding: 8px 15px;
	border-bottom: 4px solid #ededed;
	background-color: #fafafa;
}

.breadcrumbs ul,
.breadcrumbs ol {
	margin-bottom: 0;
}

.breadcrumbs li {
	display: inline-block;
}

.breadcrumbs li + li:before {
	padding: 0 5px;
	color: #999;
	content: ">\00a0";
}

.breadcrumbs li.active {
	color: #999;
}

/**************************************
 * FOOTER
**************************************/
.footer {
	flex-basis: auto;
	flex-grow: 0;
	flex-shrink: 0;
	margin-top: 40px;
	padding-bottom: 20px;
}

.footer a {
	color: #555;
	text-decoration: underline;
}

/**************************************
 * ERRORS
**************************************/
.error {
	padding: 0;
	list-style: none;
}

.error li {
	color: #a94442;
	margin-bottom: 20px;
	padding: 15px;
	border: 1px solid #ebccd1;
	border-radius: 4px;
	background-color: #f2dede;
}


/**************************************
 * CLASSES
**************************************/

/* ACCORDION */
.section-account .panel-group {
	margin: 0;
}

.section-account .panel-group .panel {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.section-account .panel-heading {
	padding: 0;
	border-radius: 0;
}

.section-account .page-header a {
	color: #000;
	text-decoration: none;
}

.section-account .page-header a .glyphicon {
	color: #CCC;
	transition: color 0.4s ease;
}

.section-account .page-header a:focus .glyphicon,
.section-account .page-header a:hover .glyphicon {
	color: #000;
}

.section-account .panel-group .panel-heading + .panel-collapse > .panel-body {
	padding: 0;
	border-top: 0;
}

.section:not(:last-child) {
	margin-bottom: 40px;
}

.kpi--big {
	font-size: 3.6rem;
	font-weight: bold;
}

.kpi--medium {
	font-size: 2.2rem;
	font-weight: bold;
}

.kpi--small {
	font-size: 1.4rem;
	font-weight: bold;
}

.class-details {
	list-style: none;
	margin-bottom: 20px;
	padding: 0;
}

.class-details a {
	color: #777;
}

.class-details a:hover,
.class-details a:focus {
	text-decoration: underline;
}

@media (max-width: 479px) {
	.class-details > span {
		display: block;
		margin-bottom: 5px;
	}
}

@media (min-width: 768px) {
	.class-details li {
		display: inline-block;
		margin-right: 15px;
	}
}

/**************************************
 * GALLERY
**************************************/
.gallery {
	margin-left: -5px;
	margin-right: -5px;
}

.gallery-item {
	position: relative;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

.gallery-item-image,
.gallery-item-link {
	display: block;
	height: 0;
	padding-bottom: 66.6666%; /* ratio 3:2 */
	background-color: #ededed;
	transition: background-color 0.4s ease;
}

.gallery-item-image:focus,
.gallery-item-image:hover,
.gallery-item-link:focus,
.gallery-item-link:hover {
	background-color: #ccc;
}

.gallery-item-link .inner-text {
	height: 2em;
	color: #999;
	transition: color 0.4s ease;
}

.gallery-item-link .inner-text .glyphicon {
	vertical-align: -1px;
}

.gallery-item-link:focus .inner-text,
.gallery-item-link:hover .inner-text {
	color: #000;
}

.gallery-item-image img {
	position: absolute;
	left: 0;
	right: 0;
	max-width: 100%;
	max-height: 100%;
	transition: opacity 0.8s;
	opacity: 1;
}

.gallery-item:nth-child(3n-2) .gallery-item-inner img {
	transition-delay: 0;
}

.gallery-item:nth-child(3n-1) .gallery-item-inner img {
	transition-delay: 0.2s;
}

.gallery-item:nth-child(3n) .gallery-item-inner img {
	transition-delay: 0.4s;
}

.gallery-item-image .img-unloaded {
	height: 100%;
	opacity: 0;
}

.gallery-item-image--zoomable img {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.gallery-item-image--zoomable .zoomed {
	position: absolute;
	z-index: 10;
	top: 50%;
	top: calc(50% - 15px);
	left: 50%;
	left: calc(50% - 15px);
	width: auto;
	height: auto;
	border: 15px solid #FFF;
	outline: 1px solid #CCC;
	box-shadow: #333 0 0 40px;
}

.gallery-item .ribbon {
	display: none;
	position: absolute;
	color: #FFF;
	background-color: #333;
	padding: 2px 5px;
}

.gallery-item a.ribbon {
	color: #CCC;
	cursor: pointer;
}

.gallery-item .ribbon-delete {
	padding: 2px 6px;
}

.gallery-item .ribbon-select {
	padding: 2px 7px;
}

.gallery-item .ribbon--visible,
.gallery-item-image:focus ~ .ribbon,
.gallery-item-image:hover ~ .ribbon {
	display: inline-block;
}

.gallery-item .ribbon:focus .glyphicon,
.gallery-item .ribbon:hover .glyphicon {
	color: #FFF;
}

.gallery-item .ribbon--top-right {
	top: 0;
	right: 5px;
}

.gallery-item .ribbon--top-left {
	top: 0;
	left: 5px;
}

.gallery-item .ribbon--bottom-right {
	bottom: 0;
	right: 5px;
}

.gallery-item .ribbon--bottom-left {
	bottom: 0;
	left: 5px;
}

.gallery-item--selected .ribbon-select {
	display: inline-block;
}

/**************************************
 * STUDENTS LIST
**************************************/
.students-list {
	margin-bottom: 15px;
}

/**
 * CART
 */

.cart-gallery .dl-horizontal dt {
	text-align: left;
}

/**************************************
 * FILE UPLOADER
**************************************/
.uploader .dropzone {
	position: relative;
	height: 200px;
	text-align: center;
	line-height: 2;
	margin-bottom: 15px;
	padding: 40px 0;
	border: 2px dashed silver;
	border-radius: 10px;
}

.uploader .file-list {
	max-height: 140px;
	max-height: calc(5 * 28px);
	list-style: none;
	line-height: 2;
	padding: 0;
	overflow: auto;
}

/**************************************
 * MODAL
**************************************/
.modal-backdrop.in {
	opacity: 0.8;
}

.modal-lg {
	height: 100%;
}

.modal-body {
	padding-top: 0;
	padding-bottom: 0;
}

.modal-content {
	border-radius: 0;
}

.photo-modal .corner {
	position: absolute;
	z-index: 2;
	font-weight: normal;
	color: #eee;
	line-height: 28px;
	border: 0;
	background-color: #222;
	opacity: 0.7;
}

.photo-modal .corner:focus,
.photo-modal .corner:hover {
	opacity: 1;
}

.photo-modal .corner:focus .glyphicon,
.photo-modal .corner:hover .glyphicon {
	color: #FFF;
}

.photo-modal .corner-close {
	top: 0;
	right: 0;
	font-size: 32px;
}

.photo-modal .corner-delete {
	bottom: 0;
	right: 0;
	padding: 2px 7px;
	cursor: pointer;
}

.photo-modal .modal-body {
	padding: 0;
}

.photo-modal .loading {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	margin-top: -24px;
	margin-left: -24px;
	border: 16px solid #EEE;
	border-radius: 24px;
	background-color: #EEE;
	opacity: 0.9;
}

.photo-modal .photo {
	position: relative;
	background: #222;
	padding: 0;
}

.photo-modal .photo img {
	max-height: 100%;
	padding: 0;
}

.photo-modal .link-previous,
.photo-modal .link-next {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	font-size: 48px;
	color: #CCC;
	opacity: 0;
	cursor: pointer;
}

.photo-modal .link-previous:focus,
.photo-modal .link-previous:hover,
.photo-modal .link-next:focus,
.photo-modal .link-next:hover {
	opacity: 0.9;
}

.photo-modal .link-previous {
	left: 0;
	width: 30%;
}

.photo-modal .link-next {
	right: 0;
	width: 70%;
	text-align: right;
}

.photo-modal .link-previous .glyphicon,
.photo-modal .link-next .glyphicon {
	position: absolute;
	top: 50%;
	margin-top: -24px;
}

.photo-modal .link-previous .glyphicon {
	left: 30px;
}

.photo-modal .link-next .glyphicon {
	right: 30px;
}

.photo-modal .photo:hover .link-previous,
.photo-modal .photo:hover .link-next {
	opacity: 0.5;
}

.photo-modal .photo-count {
	position: absolute;
	bottom: 0;
	left: 15px;
	right: 15px;
	padding: 5px 15px;
	background: #222;
	background: rgba(34, 34, 34, .2);
}

.photo-modal .photo-count p {
	font-size: 0.9em;
	color: #eee;
	text-align: right;
	line-height: 22px;
	margin: 0;
}

.photo-modal .sidebar {
	position: static;
	min-height: 100px;
	margin-top: 30px;
	margin-left: 15px;
	margin-right: 15px;
	padding-bottom: 30px;
}

.photo-modal .control-label {
	text-align: left;
}

.photo-modal .sidebar h1 {
	font-size: 1.2em;
}

.photo-modal .sidebar h2 {
	font-size: 1.2em;
}

.photo-modal .sidebar footer {
	position: absolute;
	bottom: 0;
}

.photo-modal .sidebar footer p {
	font-size: 0.9em;
	color: #bbb;
	line-height: 30px;
	margin: 0;
}

.photo-modal .alert {
	margin: 10px 0;
	padding: 10px 15px;
}

@media (min-height: 600px) {
	.modal-lg {
		height: 520px;
		margin-top: 40px;
		margin-bottom: 40px;
	}
}

@media (min-height: 740px) {
	.modal-lg {
		height: 580px;
		margin-top: 80px;
		margin-bottom: 80px;
	}
}

@media (min-height: 880px) {
	.modal-lg {
		height: 680px;
		margin-top: 100px;
		margin-bottom: 100px;
	}
}

@media (min-width: 768px) {
	.modal-lg {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.modal-lg {
		width: 970px;
	}

	.modal-content,
	.modal-body,
	.modal-body .row,
	.modal-body .row > div,
	.modal-body .photo {
		height: 100%;
	}

	.photo-modal .photo img {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
	}

	.photo-modal .sidebar {
		margin: 30px 30px 30px 0;
	}
}

@media (min-width: 1200px) {
	.modal-lg {
		width: 1170px;
	}
}
