.expandible {
	-webkit-transition: height 0.5s ease-out;
	-moz-transition: height 0.5s ease-out;
	-o-transition: height 0.5s ease-out;
	-ms-transition: height 0.5s ease-out;
	transition: height 0.5s ease-out;
	overflow: hidden;
}

.no-transition {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-o-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}

input[type=text], input[type=password], input[type=date], input[type=time], input[type=number], input[type=tel], input[type=email], textarea, select {
	padding: 0 5px;
	border: solid #b3b3b3 1px;
	font-family: 'Lato', sans-serif;
	font-size: 1rem;
	width: 100%;
	height: 32px;
	box-sizing: border-box;
	color: #808080;
}

textarea {
	height: 170px;
}

#header-username {
	padding-left: 5px;
}

#main-page {
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 45px 26px auto;
	grid-template-areas:
	    "toolbar"
	    "breadcrumbs"
	    "main";

	overflow-x: hidden;
	overflow-y: auto;
	position: relative;
}

#main-page.no-toolbar {
	grid-template-rows: 26px auto;
	grid-template-areas:
	    "breadcrumbs"
	    "main";
}

#main-page.no-breadcrumbs {
	grid-template-rows: 45px auto;
	grid-template-areas:
	    "toolbar"
	    "main";
}

#main-page.no-toolbar.no-breadcrumbs {
	grid-template-rows: auto;
	grid-template-areas: "main";
}

#toolbar {
	grid-area: toolbar;
	background: #f2f2f2;
	padding: 5px;
	box-sizing: border-box;
	font-size: 0;
	overflow: hidden;
	white-space: nowrap;
}

#toolbar > * {
	font-size: 1.1rem;
	display: inline-block;
	vertical-align: middle;
	line-height: 35px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.toolbar-button, .toolbar-button:link, .toolbar-button:visited {
	color: #000;
	border-right: solid #CCC 1px;
	height: 35px;
	line-height: 32px;
	padding: 0 10px;
}

#topForm {
	padding: 0 5px;
}

#topForm .flex-fields > div {
	padding-top: 0;
	padding-bottom: 0;
}

#main-content {
	grid-area: main;
	padding: 0 10px;
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s;
	-moz-transition: left 0.3s;
	-o-transition: left 0.3s;
	transition: left 0.3s;
	overflow-y: auto;
}

#main-loading {
	grid-area: main;
	text-align: center;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
}

#main-loading.grey {
	background: rgba(200, 200, 200, 0.5);
}

#main-loading img {
	position: absolute;
	top: 50%;
	margin-top: -0.5em;
}

#breadcrumbs {
	grid-area: breadcrumbs;
	color: #999;
	padding: 5px;
	overflow: hidden;
	font-size: 11px;
}

#breadcrumbs a:link, #breadcrumbs a:visited, #breadcrumbs a:hover {
	color: #999;
}

#breadcrumbs a:first-of-type {
	color: #00ADEF;
}

#results-table-count, #results-table-pages {
	padding-bottom: 10px;
}

#results-table-count {
	float: left;
}

#results-table-count > div:first-of-type {
	display: inline-block;
	font-weight: bold;
}

#results-table-pages {
	float: right;
}

.tools-lightbox {
	position: fixed;
	background: #FFF;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-box-shadow: 3px 3px 6px #333;
	-moz-box-shadow: 3px 3px 6px #333;
	box-shadow: 3px 3px 6px #333;
	z-index: 150;
	border: solid #EEE 1px;
	border-top: none;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 15px;

	-webkit-transition: -webkit-transform 0.2s ease-in;
	-moz-transition: -moz-transform 0.2s ease-in;
	-o-transition: -o-transform 0.2s ease-in;
	-ms-transition: -ms-transform 0.2s ease-in;
	transition: transform 0.2s ease-in;
}

#filtersFormCont {
	margin-top: 10px;
}

input[data-managesearchfields], input[data-customize-column] {
	display: none;
}

input[data-managesearchfields] + label, input[data-customize-column] + label {
	padding: 10px;
	cursor: pointer;
	width: 100%;
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 1);
	-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-ms-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;
	user-select: none;
}

input[data-managesearchfields] + label:hover, input[data-customize-column] + label:hover {
	background-color: rgba(161, 207, 229, 0.3);
}

input[data-managesearchfields]:checked + label, input[data-customize-column]:checked + label {
	background-color: rgba(161, 207, 229, 0.5);
}

input[data-manage-filter-type], input[data-manage-filter-form] {
	display: none;
}

input[data-manage-filter-type] + label, input[data-manage-filter-form] + label {
	padding: 10px;
	cursor: pointer;
	display: inline-block;
	margin: 5px 3px;
	background-color: rgba(255, 255, 255, 1);
	-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-ms-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;
}

input[data-manage-filter-type] + label:hover, input[data-manage-filter-type]:checked + label, input[data-manage-filter-form] + label:hover, input[data-manage-filter-form]:checked + label {
	background-color: rgba(161, 207, 229, 0.5);
}

#history-box {
	position: fixed;
	top: 0;
	width: 15%;
	height: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.9);
	padding: 10px 0;
	transition: right 0.5s ease-out;
	border-left: solid #555 1px;
	z-index: 20;
}

#links-history {
	height: calc(100% - 30px);
	overflow-y: auto;
}

.link-history:link, .link-history:visited {
	display: block;
	padding: 5px 15px;
	color: #000;
	border-bottom: dashed #777 1px;
}

.link-history:hover {
	background: rgba(161, 207, 229, 0.35);
	text-decoration: none;
}

.link-history.disabled {
	color: #888;
}

#main-loading-bar-cont {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 150;
	height: 10px;
}

#main-loading-bar {
	background: #4CD2FF;
	transition: width 0.5s ease-out;
	height: 10px;
}

.admin-tabs {
	border-bottom: solid #e6e6e6 1px;
	font-size: 0;
	font-family: 'Raleway', sans-serif;
}

.admin-tabs > * {
	display: inline-block;
	font-size: 14px;
}

.admin-tabs > a {
	background: #999;
	padding: 5px 10px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	color: #FFF;
	text-decoration: none;
	margin: 0 1px;
	cursor: pointer;
}

.admin-tabs > a.admin-tab:hover, .admin-tabs > a.admin-tab.selected {
	background: #71af71;
	text-decoration: none;
}

[data-subpages] [data-subpage] {
	display: none;
}

@media print {
	#header, #toolbar, #breadcrumbs {
		display: none !important;
	}

	#header {
		overflow: hidden;
	}
}