/* General */

	* {
		box-sizing: border-box;
	}

	body {
		font-family: 'Lato', Arial, Helvetica, sans-serif;
		font-size: 16px;
	}
	
	h1 {
		font-weight: 300;
	}
	
	a {
		color: #D94837;
	}
	
	a.block {
		z-index: 100;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
		width: 100%;
		height: 100%:
	}
	
	a.btn {
		display: inline-block;
		padding: .5em 1em;
		background-color: #D94837;
		color: #FFF;
		border: 0;
		text-decoration: none;
	}
	
	a.btn span {
		margin-right: .5em;
	}
	

/* Mini Colors */
	
	.minicolors-theme-default .minicolors-swatch {
		top: 7px;
		left: 7px;
		width: 25px;
		height: 25px;
	}
	
	.minicolors-theme-default .minicolors-input {
		padding-left: 36px;
	}
	

/* Forms */

	input[type="text"],
	input[type="password"],
	select,
	textarea {
		font-family: inherit;
		padding: .5em 1em;
	}
	
	input[type="checkbox"],
	input[type="radio"] {
		vertical-align: middle;
		margin-top: -3px;
		margin-right: 3px;
	}
	
	input[type="submit"],
	input[type="button"] {
		font-family: inherit;
		padding: .5em 1em;
		background-color: #D94837;
		color: #FFF;
		border: 0;
	}
	
	.content .form .row {
		margin-bottom: 1em;
	}
	
	.content .form .row:after {
		display: table;
		content: '';
		clear: both;
	}
	
	.content .form .label {
		float: left;
		width: 200px;
		font-weight: 600;
		text-align: right;
		padding-right: 1em;
		padding-top: .5em;
		line-height: 1;
	}
	
	.content .form .field {
		float: left;
		width: calc( 100% - 200px );
	}
	
	.content .form .field input[type="text"],
	.content .form .field textarea {
		width: 500px;
		max-width: 100%;
		margin-bottom: .25em;
	}
	
	.content .form .field input[type="file"],
	.content .form .field select {
		max-width: 100%;
		margin-bottom: .25em;
	}
	
	.content .form .field textarea {
		height: 150px;
	}
	
	.content .form .field input.timepicker {
		width: 100px;
		text-align: center;
	}
	
	.content .form .field input.datepicker {
		width: 130px;
		text-align: center;
	}
	
	.content .form .field input.colorpicker {
		width: 130px;
	}
	
	.content .form .field .note {
		color: #666;
		margin-bottom: 5px;
	}
	

/* Login */

	.login_container {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
	}
	
	.login_container .left {
		top: 0;
		left: 0;
		bottom: 0;
		width: 50%;
	}
	
	.login_container .right {
		top: 0;
		right: 0;
		bottom: 0;
		width: 50%;
		background-color: #D94837;
	}
	
	.login_container .right .logo {
		top: 50%;
		transform: translateY(-50%);
		text-align: center;
		color: #FFF;
	}
	
	.login_container .right .logo img {
		display: inline-block;
		max-width: 70%;
	}
	
	.login_container .login {
		top: 50%;
		width: 50%;
		transform: translateY(-50%);
		margin: auto;
		text-align: center;
	}
	
	.login_container input[type="text"],
	.login_container input[type="password"] {
		font-size: 1.25em;
		width: 100%;
		border: 2px solid #CCC;
	}
	
	.login_container input[type="submit"] {
		font-size: 1.25em;
	}
	

/* Portal */

	.user_bar {
		z-index: 20;
		top: 0;
		left: 250px;
		right: 0;
		height: 50px;
		line-height: 50px;
		padding: 0 20px;
		background-color: #333;
		color: #FFF;
	}
	
	.user_bar .menu_toggle {
		top: 0;
		left: 0;
		bottom: 0;
		width: 50px;
		text-align: center;
		background-color: rgba(255,255,255,.1);
		display: none;
		cursor: pointer;
	}

	.overlay {
		z-index: 30;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,.75);
		display: none;
	}

	.sidebar {
		z-index: 40;
		top: 0;
		left: 0;
		bottom: 0;
		width: 250px;
		overflow-y: auto;
		background-color: #D94837;
		color: #FFF;
	}
	
	.sidebar a {
		color: inherit;
		text-decoration: none;
		display: block;
		padding: .75em 1em;
	}
	
	.sidebar a.active,
	.sidebar a:hover {
		background-color: rgba(0,0,0,.15);
	}
	
	.sidebar a .fal,
	.sidebar a .fab {
		margin-right: 1em;
	}
	
	.sidebar .logo {
		padding: 20px;
		text-align: center;
	}
	
	.sidebar .logo img {
		width: 50%;
	}
	
	.sidebar .logout {
		left: 0;
		right: 0;
		bottom: 0;
	}
	
	.content {
		z-index: 20;
		top: 50px;
		left: 250px;
		right: 0;
		bottom: 0;
		overflow-y: auto;
		padding: 50px;
	}
	
	.content h1 {
		margin: -50px;
		margin-bottom: 50px;
		background-color: #EBEBEB;
		line-height: 1;
		padding: 25px 50px;
	}
	
	.content p:last-child {
		margin-bottom: 0;
	}
	
	.content .preview_image {
		margin-bottom: 5px;
	}
	
	.content .preview_image img {
		height: 75px;
		border: 1px solid #CCC;
		padding: 5px;
	}
	
	.content .preview_image.with_background img {
		background-color: #333;
	}
	

/* Dashboard */

	.dashboard .tile .icon {
		background-color: #D94837;
		color: #FFF;
		width: 80px;
		height: 80px;
		border-radius: 100%;
		margin: auto;
		line-height: 80px;
		font-size: 35px;
	}

	.dashboard .tile .label {
		margin-top: 1em;
		font-weight: 600;
	}
	

/* Messages */
	
	.sender {
		color: #999;
		font-size: .8em;
		margin-top: .25em;
	}
	
	.threads .thread {
		margin-bottom: 1em;
	}
	
	.threads .thread .identifier {
		z-index: 20;
		top: 0;
		width: 44px;
		height: 44px;
		border-radius: 100%;
		background-color: #D94837;
		color: #FFF;
		font-weight: 600;
    	font-size: 1.2em;
		line-height: 44px;
		text-align: center;
	}
	
	.threads .thread .count {
		z-index: 30;
		top: 38px;
		width: 44px;
		font-size: .8em;
		text-align: center;
	}
	
	.threads .thread .count span {
		display: inline-block;
		border: 1px solid #CCC;
		border-radius: 20px;
		height: 25px;
		min-width: 25px;
		padding: 0 .5em;
		line-height: 23px;
		background-color: #FFF;
	}
	
	.threads .thread .arrow {
		z-index: 10;
		top: 0;
		width: 54px;
		height: 54px;
		background-color: #EBEBEB;
	}
	
	.threads .thread .arrow .inner {
		width: 100%;
		height: 100%;
		background-color: #FFF;
	}
	
	.threads .thread .message .wrap {
		display: inline-block;
		background-color: #EBEBEB;
		padding: 10px 20px;
		border-radius: 10px;
		max-width: 85%;
	}
	
	.threads .thread .message div {
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;	
	}
	
	.threads .thread .date {
		color: #999;
		font-size: .8em;
		margin-top: .25em;
	}
	
	.threads .thread.left {
		padding-left: 54px;
		text-align: left;
	}
	
	.threads .thread.left .identifier,
	.threads .thread.left .arrow,
	.threads .thread.left .count {
		left: 0;
	}
	
	.threads .thread.left .arrow .inner {
		border-radius: 0 16px 0 0;
	}
	
	.threads .thread.left .message .wrap {
		border-radius: 0 10px 10px 10px;
	}
	
	.threads .thread.right {
		padding-right: 54px;
		text-align: right;
	}
	
	.threads .thread.right .identifier,
	.threads .thread.right .arrow,
	.threads .thread.right .count {
		right: 0;
	}
	
	.threads .thread.right .arrow .inner {
		border-radius: 16px 0 0 0;
	}
	
	.threads .thread.right .message .wrap {
		border-radius: 10px 0 10px 10px;
	}
	
	.replies .reply {
		margin-bottom: 1em;
	}
	
	.replies .reply .identifier {
		z-index: 20;
		top: 0;
		width: 44px;
		height: 44px;
		border-radius: 100%;
		background-color: #D94837;
		color: #FFF;
		font-weight: 600;
    	font-size: 1.2em;
		line-height: 44px;
		text-align: center;
	}
	
	.replies .reply .arrow {
		z-index: 10;
		top: 0;
		width: 54px;
		height: 54px;
		background-color: #EBEBEB;
	}
	
	.replies .reply .arrow .inner {
		width: 100%;
		height: 100%;
		background-color: #FFF;
	}
	
	.replies .reply .message .wrap {
		display: inline-block;
		background-color: #EBEBEB;
		padding: 10px 20px;
		border-radius: 10px;
		max-width: 85%;
	}
	
	.replies .reply .date {
		color: #999;
		font-size: .8em;
		margin-top: .25em;
	}
	
	.replies .reply.left {
		padding-left: 54px;
		text-align: left;
	}
	
	.replies .reply.left .identifier,
	.replies .reply.left .arrow {
		left: 0;
	}
	
	.replies .reply.left .arrow .inner {
		border-radius: 0 16px 0 0;
	}
	
	.replies .reply.left .message .wrap {
		border-radius: 0 10px 10px 10px;
	}
	
	.replies .reply.right {
		padding-right: 54px;
		text-align: right;
	}
	
	.replies .reply.right .identifier,
	.replies .reply.right .arrow {
		right: 0;
	}
	
	.replies .reply.right .arrow .inner {
		border-radius: 16px 0 0 0;
	}
	
	.replies .reply.right .message .wrap {
		border-radius: 10px 0 10px 10px;
	}
	

/* Events */
	
	.events .event {
		margin-bottom: 1.5em;
		padding-left: 54px;
	}
	
	.events .event .icon {
		z-index: 20;
		top: 0;
		left: 0;
		width: 44px;
		height: 44px;
		border-radius: 100%;
		background-color: #D94837;
		color: #FFF;
		font-weight: 600;
    	font-size: 1.2em;
		line-height: 42px;
		text-align: center;
		border: 1px solid #CCC;
	}
	
	.events .event .icon.green { 
		background-color: #DFF0D8;
		color: #5CB85C;
		border-color: #5CB85C;
	}
	
	.events .event .icon.red {
		background-color: #F2DEDE;
		color: #D9534F;
		border-color: #D9534F;
	}
	
	.events .event .icon.yellow {
		background-color: #FCF8E3;
		color: #F0AD4E;
		border-color: #F0AD4E;
	}
	
	.events .event .details {
		background-color: #EBEBEB;
		padding: 10px 20px;
		border-radius: 10px;
	}
	
	.events .event .date {
		color: #999;
		font-size: .8em;
		margin-top: .25em;
	}
	
	.edit_event .status .green,
	.edit_event .status .red,
	.edit_event .status .yellow {
		display: inline-block;
		padding: .5em 1em;
		border: 1px solid #CCC;
		border-radius: 20px;
	}
	
	.edit_event .status .fal {
		margin-right: .5em;
	}
	
	.edit_event .status .green {
		background-color: #DFF0D8;
		color: #5CB85C;
		border-color: #5CB85C;
	}
	
	.edit_event .status .red {
		background-color: #F2DEDE;
		color: #D9534F;
		border-color: #D9534F;
	}
	
	.edit_event .status .yellow {
		background-color: #FCF8E3;
		color: #F0AD4E;
		border-color: #F0AD4E;
	}


