/* Default */
body {
	font-family: Roboto,'sans-serif';
	font-size: 0.875rem;
	line-height: 1rem;
	color: #444;
	background-color: #f1f1f1;
}
h1 {
	font-family: Roboto,'sans-serif';
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 1.25rem;
	margin: 0;
	padding: 0;
	text-align: center;
}
.switch-inactive {
	right: 6%;
}
.switch-active {
	left: 11%;
}
h2 {
	font-family: Roboto,'sans-serif';
	font-size: 1.25rem;
	margin: 0;
	padding: 0;
}
h3 {
	font-family: Roboto,'sans-serif';
	font-size: 1rem;
	text-align: center;
	line-height: 1rem;
	font-weight: bold;
	margin: 0;
	letter-spacing: 1px;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: #ff9800;
	color: #fff;
}
h4 {
	font-family: Roboto,'sans-serif';
	font-size: 1rem;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
label {
	text-transform: uppercase;
	color: #777;
	font-weight: bold;
}
.maxwidth300 {
	max-width: 300px;
	margin: 0 auto;
}
figure {
	text-align: center;
	cursor: pointer;
}
.lowercase {
	text-transform: lowercase;
}
input[type=button], input[type=submit],
button, .button {
	display: inline-block;
	background-color: #EE7548;
	margin: 0.1rem;
	font-weight: bold;
}
input[type=button]:hover, input[type=submit]:hover,
button:hover, .button:hover,
input[type=button]:focus, input[type=submit]:focus,
button:focus, .button:focus {
	background-color: #EA5C27;
}
button.toast-close-button:hover,
.button.toast-close-button:hover {
	background: none;
}
@media screen and (min-width: 64em) {
	input[type=button], input[type=submit],
	button, .button {
		margin: auto;
	}
}
input[readonly].noautocomplete {
	background-color: #fff;
	cursor: text;
}
.input-group-label--fix {
	white-space: nowrap;
}
.row {
	max-width: 100%;
}
.top-bar {
	padding: 0;
}
.top-bar, .top-bar ul {
	background-color: #fff;
}
.dropdown.menu>li.opens-right>.is-dropdown-submenu {
	cursor: pointer;
	right: 0;
	left: auto;
}
.dropdown.menu>li.opens-left>.is-dropdown-submenu {
	cursor: pointer;
	padding: 0.25rem 0.5rem;
}
.dropdown.menu a {
	padding: .85rem 1rem;
}
.top-bar.top-bar-mobile .top-bar-left,
.top-bar.top-bar-mobile .top-bar-middle,
.top-bar.top-bar-mobile .top-bar-right {
	width: 33%;
	max-width: 33%;
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 33%;
	-ms-flex: 0 0 33%;
	flex: 0 0 33%;
}
.top-bar.top-bar-mobile .top-bar-middle .menu-text {
	margin: auto;
}
.top-bar.top-bar-mobile .top-bar-right .menu {
	float: right;
	font-size: 0.8rem;
}
.top-bar.top-bar-mobile .dropdown.menu>li.opens-right>.is-dropdown-submenu {
	top: 106%;
	right: -2%;
}
.top-bar.top-bar-mobile .menu.vertical li {
	padding: 0.25rem;
}
.visitasks {
	font-weight: bold;
	color: #585858;
}
.visitasks span {
	color: #ff9800;
}

/* Preload */
.preload {
	display: table;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 999;
	top: 0;
	left: 0;
}
.preload p {
	margin-top: 1rem;
}
.preload .preload-wrapper {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.preload .preload-anim {
	width: 296px;
	display: block;
	position: relative;
	margin: auto;
}
.preload img.preload-logo {
	width: auto;
	height: auto;
	text-align: center;
}
.preload img.preload-loading {
	position: absolute;
	width: 82px;
	left: 107px;
	top: -8px;
	text-align: center;
	-webkit-animation: spin 2s linear infinite;
	-moz-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* Projects menu */
#projects-menu {
	display: none;
	float: left;
	position: fixed;
	width: 265px;
	margin-right: 10px;
	height: 100%;
	background-color: #2196F3;
	overflow: auto;
	overflow-x: hidden;
	z-index: 10;
}
@media screen and (min-width: 40em) {
	#projects-menu {
		display: block;
	}
}
#projects-menu.show-projects-menu {
	display: block;
}
.projectsmenu-button {
	position: relative;
	font-size: 1.5rem;
	padding: 0 1rem;
}
.usermenu-button {
	position: relative;
	font-size: 1.5rem;
	padding: 0 1rem;
}

/* Header */
#header {
	padding: 1rem auto;
	letter-spacing: 1px;
	/*box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);*/
	position: relative;
	z-index: 5;
}
#header .logo {
	text-align: center;
}
#header .logo img {
	max-width: 100%;
}
#header .tools {
	/*width: 60%;
	float: right;*/
	text-align: right;
	color: #777;
}
#header a {
	color: #777;
}
#header a:hover {
	color: #000;
}
#header .logout {
	color: #E55A5A;
}
#header .links {
	color: rgba(0, 0, 0, 0.15);
	padding-bottom: 0.25em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	display: inline;
}
#header .userblock {
	margin-top: 0.5em;
	width: 100%;
	clear: both;
}
#header .userinfos {
	float: right;
}
#header .usericon {
	display: inline-block;
	width: 25px;
	height: 25px;
	margin-top: 0.25em;
	margin-left: 1em;
	background-size: cover;
	background: url('../assets/img/icon-user.png') 0 0 no-repeat;
	float: right;
}
#header .username {
	margin-bottom: -0.25em;
}
.contact {
	text-align: center;
	margin: auto;
}
.contact a {
	display: inline-block;
	margin:auto;
	text-align: center;
	padding: 0.75rem 3rem;
}

/* Misc */
.imgselector {
	margin-bottom: 1rem;
}
.imgselector img {
	border: 1px solid rgba(0, 0, 0, 0.15);
	padding: 0;
}
.imgselector figcaption {
	max-width: 10em;
	margin: auto;
}
.imgselector.selected img {
	border: 1px solid #EE7548;
}
.roundedcase {
	position: relative;
	text-align: center;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0.5em auto;
}
.roundedcase:before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid #EE7548;
	border-radius: 100%;
	content: '';
}
.imgselector.selected .roundedcase:after {
	position: absolute;
	top: 3px;
	left: 3px;
	display: block;
	width: 14px;
	height: 14px;
	border: 1px solid #EE7548;
	border-radius: 100%;
	content: '';
	background-color: #EE7548;
}

/** Recaptcha **/
#recaptcha-wrapper {
	width:310px;
	margin:auto;
	text-align:center;
	margin-bottom: 1rem;
}
.recaptcha-marginbottom {
	margin-bottom: 1rem;
}

/** Main **/
#main {
	max-width: 100%;
	/*padding-right: 0.8rem;*/
}
#main.hasprojectsmenu {
	margin-left: 0;
}
@media screen and (min-width: 40em) {
	#main.hasprojectsmenu {
		margin-left: 265px;
	}
}

/** Login Box **/
#main .loginbox {
	max-width: 640px;
	margin: 1rem auto;
	padding: 1rem;
}

/** Project List **/
.projects-list {
	background-color: #2196F3;
	color: #fff;
	padding-top: 0.5rem;
	padding-right: 0;
}
.projects-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.projects-list ul li {
	border-left: 3px solid #2196F3;
	padding-left: 0.25rem;
	cursor: pointer;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.projects-list ul li:hover {
	background-color: #2586D2;
}
.projects-list ul li.selected {
	border-left: 3px solid #ff9800;
	background-color: #fff;
	color: #2196F3;
	font-weight: bold;
}
.projects-list ul li.selected:hover {
	border-left: 3px solid #ff9800;
	background-color: #fff;
	color: #2196F3;
	font-weight: bold;
}

/** Taskbar **/
.taskbar {
	position: relative;
	/*margin-top: 1rem;*/
	box-shadow: 0 1px 1px 0px rgba(0,0,0,.1), 0 2px 2px 0 rgba(0,0,0,.1), 0 1px 5px 0 rgba(0,0,0,.1);
}
.taskbar .userslist {
	display: none;
	position: absolute;
	left: 0;
	top: 2.4rem;
	background-color: #fff;
	padding: 0.5rem;
	border: 1px solid #ccc;
	width: 100%;
}
.taskbar .userslist li {
	list-style: none;
}
.taskbar .input-group {
	margin-bottom: 0;
}

/** Issues List */
.section-issues {
	border-right: 1px solid #dededc;
}
.issueslist ul {
	list-style: none;
	margin: 0;
}
.issueslist ul li {
	font-size: 1rem;
	background-color: #f1f1f1;
	padding: 0 0.25rem;
	border-left: 3px solid #f1f1f1;
	cursor: pointer;
}
.issueslist ul li:hover {
	background-color: #fff;
}
.issueslist ul li.selected {
	border-left: 3px solid #ff9800;
	color: #fff;
	background-color: #585858;
}

/** Tasks List */
.section-tasks {
}
.taskslist ul {
	list-style: none;
	margin: 0;
}
.taskslist ul li {
	font-size: 1rem;
	border-bottom: 1px solid #dededc;
}
.taskslist ul li:hover {
	background-color: #fff;
}
.taskslist ul li.selected {
	border-left: 3px solid #ff9800;
	color: #fff;
	background-color: #585858;
}
.taskslist ul li .checked {
	text-decoration: line-through;
	opacity: .5;
}
.taskslist ul li input {
	display: inline;
	width: auto;
	height: auto;
	background: none;
	border: none;
	box-shadow: none;
	border-bottom: 2px solid #ff9800;
	padding: 0;
	margin: 0;
	color: #9c9c9c;
}
.taskslist ul li input:focus {
	background: none;
	border: 0;
	border-bottom: 2px solid #ff9800;
	box-shadow: none;
	color: #000;
}
.task-status, .task-remove {
	display: inline-block;
	cursor: pointer;
}
.task-status {
	font-size: 1.1rem;
	color: #aaa;
	padding: 0.5rem;
}
.task-status.fa-check-circle-o {
	color: #16c116;
}
.task-status:hover:before {
	content: '\f05d';
}
.task-remove {
	padding: 0.5rem;
}
.task-remove:hover {
	color: #ff0000;
}
.task-assigned-to {
	display: block;
	float: right;
	line-height: 2.1rem;
	overflow: hidden;
	font-size: 0.8rem;
	margin-right: 0.5rem;
}

/** Footer **/
#footer {
	padding: 0.25rem 0;
	text-align: center;
	line-height: 1rem;
	position: fixed;
	font-size: 0.7rem;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	border-top: 1px solid #ccc;
}
#footer.hasprojectsmenu {
	padding-left: 0;
}
@media screen and (min-width: 40em) {
	#footer.hasprojectsmenu {
		margin-left: 265px;
		width: calc(100% - 265px);
	}
}

#footer .footersite-author-pp {
	display: block;
	white-space: nowrap;
}
#footer .footersite-author-pp a {
	color: #444;
}
#footer .footersite-author-pp img {
	width: 15px;
	display: inline-block;
	position: relative;
	top: -1px;
	left: 2px;
}
