
/* Resetter
-----------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	line-height: 1;
	list-style-type: none;
	box-sizing: border-box;
	background-repeat: no-repeat;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
  	transition: all 0.5s ease;
  	font-size: 13px;
  	font-weight: 500;
}


/* Html and Body
-----------------------------------------------*/

html, body {
	height: 100%;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: #414761;
	background-color: #F4F4F7;
}

h1 {
	font-size: 25px;
	margin-bottom: 20px;
	line-height: 130%;
}

h2 {
	font-size: 18px;
	margin-bottom: 20px;
	line-height: 130%;
}

p {
	line-height: 130%;
	margin: 20px 0;
}

b {
	line-height: 130%;
}

a {
	color: #F30F30;
	line-height: inherit;
}

a:hover {
	opacity: 0.7;
}


.wrapper {
	display: flex;
	min-height: 100%;
}

.main {
	flex: 1;
}

strong, b {
	font-weight: 600
}


/* Toolbar
-----------------------------------------------*/

.toolbar {
	background-color: #414761;
	width: 90px;
	flex: 0 1 90px;
}

.toolbar__logo {
	display: block;
	background-image: url('../svg/be.svg');
	background-position: center;
	height: 65px;
}


/* Nav
-----------------------------------------------*/

.mainnav__list__item__link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 90px;
}

.mainnav__list__item__link:hover, .mainnav__list__item__link--active {
	background-color: #383D56;
}


.secondarynav {
	margin-top: 30px;
}

.secondarynav__list {
	display: flex;
}

.secondarynav__list__item {
	margin-right: 30px;
}

.secondarynav__list__item__link {
	display: block;
	color: inherit;
	padding: 0 5px 10px;
}

.secondarynav__list__item__link--active {
	border-bottom: 2px solid #F30F30;
}

/* Top Bar
-----------------------------------------------*/

.topbar {
	background-color: #FFF;
}

.topbar__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.15);
	padding: 0 40px;
	height: 70px;
	font-size: 14px;
}

.topbar__body {
	padding: 35px 40px 57px 40px;
}

.toolbar__body--withnav {
	padding-bottom: 0;
}

.topbar__body__title {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.topbar__body__title__heading /* H1 */{
	font-size: 25px;
	margin: 0;
}


.topbar__other {
	display: flex;
	align-items: center;
}

.topbar__other__appswitcher {
	background-image: url('../svg/apps.svg');
	width: 25px;
	height: 25px;
	cursor: pointer;
	opacity: 0.5;
	margin-right: 20px;
}

.topbar__other__appswitcher:hover {
	opacity: 1;
	transform: rotate(-90deg);
}







.topbar__back {
	display: inline-block;
	margin-bottom: 20px;
}

.topbar__back::before {
	content: ' < ';
}

/* Canvas
-----------------------------------------------*/

.canvas {
	margin: 40px;
}




/* Caption
-----------------------------------------------*/

.caption {
	margin: 20px 0;
	line-height: 140%;
}

.caption__value {
	font-weight: 600;
	color: #000;
	margin: 0 3px;
}


/* Table
-----------------------------------------------*/

.table {
	width: 100%;
	background-color: #FFF;
	border: 1px solid #E1E2E6;
	border-collapse: collapse;
}


.table tr th, .table tr td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #E1E2E6;
	border-right: 1px solid #E1E2E6;
	line-height: 130%;
}

.table tr th {
	font-weight: 600;
	padding-top: 10px;
	padding-bottom: 10px;
}

.table tbody tr:nth-child(even)
{
	background-color: #F4F4F7;
}

.table__thumbnail {
	display: inline-block;
	width: 150px;
	height: 100px;
	background-size: cover;
}

.table tfoot th, .table tfoot td {
	text-align: right;
	font-weight: 600;
}

.table__cell--align-right {
	text-align: right !important;
}

.table__cell--colour-blue {
	color: #4A90E2 !important;
}


.table__cell--textsize-large {
	font-size: 17px;
	font-weight: 600;
}

/* Section
-----------------------------------------------*/

.section {
	background-color: #FFF;
	border: 1px solid #ECECF0;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,0.10);
	margin-bottom: 20px;
}

.section__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ECECF0;
	padding: 20px 40px;
}

.section__header__heading {
	font-weight: 600;
}

.section__body {
	padding: 40px;
}


/* Status Loz
-----------------------------------------------*/

.status {
	display: inline-block;
	background-color: #414761;
	padding: 5px;
	color: #FFF;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
	border-radius: 2px;
}

.status--backgroundcolour-red {
	background-color: #D0021B;
}

.status--backgroundcolour-green {
	background-color: #7ED321;
}

.status--backgroundcolour-orange {
	background-color: #F5A623;
}


/* Flex Layout
-----------------------------------------------*/

.flex {
	display: flex;
}

.flex__item {
	margin-right: 30px;
}

.flex .flex__item:last-child {
	margin-right: 0;
}

.flex__item--flex-1 {
	flex: 1;
}

.flex__item--flex-2 {
	flex: 2;
}

.flex__item--flex-3 {
	flex: 3;
}

.flex__item--flex-4 {
	flex: 4;
}


/* Buttons
-----------------------------------------------*/

.button {
	display: inline-block;
	background-color: #555;
	color: #FFF;
	font-weight: 600;
	border-radius: 4px;
	padding: 10px;
	font-size: inherit;
	border: 0;
}

.button--colour-orange {
	background-color: #F5A623;
}

.button--colour-red {
	background-color: #F30F30;
}

.button--size-large {
	font-size: 18px;
	padding: 15px;
}



/* Form
-----------------------------------------------*/

.form__field {
	margin: 15px 0;
}

.form__field__label {
	display: block;
	margin: 5px 0;
}

.form__field__label--size-large {
	font-size: 20px;
	margin-bottom: 30px;
}

.form__field__input {
	width: 100%;
	max-width: 700px;
	border: 1px solid #CCC;
	font-size: 15px;
	padding: 10px;
	border-radius: 4px;
	outline: 0;
}

.form__field__input--size-half {
	width: 50%;
	max-width: 200px;
}

textarea.form__field__input {
	line-height: 130%;
}

select.form__field__input {
	height: 40px;
}

.form__field__input--error {
	border: 1px solid #F30F30;
}

.form__field__input--height-large {
	height: 500px;
}

.form__field__hint {
	margin-top: 5px;
	opacity: 0.6;
}

.form__submit {
	margin-top: 20px;
}

.form__field__error {
	color: #F30F30;
	margin-top: 3px;
}

.form__error {
	background-color: #FCEACC;
	padding: 15px;
	margin: 0 0 20px 0;
	max-width: 600px;
	line-height: 140%;
}



.overlay {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(65, 71, 97, 0.5);
	z-index: 8;
}


.appswitcher__dialog {
	position: fixed;
	display: flex;
	top: 50px;
	right: -500px;
	padding: 20px;
	border-radius: 4px;
	background-color: #FFF;
	width: 500px;
	margin-top: 30px;
	z-index: 10;
}

.appswitcher__dialog--active {
	right: 50px;
}

.appswitcher__dialog__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100px;
	height: 100px;
	padding: 20px;
	line-height: 140%;
	text-align: center;
	background-color: #414761;
	color: #FFF;
	border-radius: 4px;
	margin: 0 20px 0 0;
}

.appswitcher__dialog__item img {
	display: block;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 5px;
}


.ghost {
	opacity: 0.6;
}