/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding-top: 0px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 15px;
    padding-left: 15px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.badge-blue {
  color: #fff;
  background-color: #007bff;
}
.warning {
	color: #910000 !important;
}
.grey-highlighter {
	background-color: #ECECEC;
}
.greyColor {
	color: #a6a6a6 !important;
}
.whiteColor {
	color: #fff !important;
}
.blueColor {
	color: #007FFF !important;
}
.activeGreyIcon {
	color: #7B7B7B !important;
}
.selectedIcon {
	color:#BD0000 !important;
}
.mediumGreyIcon {
	color: #999999 !important;
}
.notStarted {
	color:#BFBFBF !important;
}
.inProgress {
	color:#F9A43F !important;
}
.completed_Local {
	color:#6C9BC8 !important;
}
.submitted_Server {
	color:#5DD598 !important;
}


.projectSectionSplit {
	display:flex;
	flex-direction:row;
	width:100%;
}
.projectDetail-left-section {
	display:flex;
	flex-direction:column;
	flex-basis:70%;
	flex-grow:1;
}
.projectDetail-right-section {
	margin-left:10px;
	margin-top:3px;
	flex-basis:25%;
	flex-grow:1;
}
.projectDetail-right-section-mobile {
    margin-left:10px;
	margin-top:3px;
	flex-basis:5%;
	flex-grow:1;
}
.projectDetail-assignee-section-mobile {
    display:none;
}
.projectDetail-assignee-section-mobile {
	padding: 4px 10px 8px 10px;
	border-radius: 3px 3px;
	-webkit-border-radius: 3px 3px;
	-moz-border-radius: 3px 3px;
	width:100%;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
	.projectDetail-right-section {
		display:none;
	}
	.projectDetail-left-section {
		order:1;
		width:100%;
	}
	.projectDetail-right-section-mobile {
		display:block;
		margin-left:10px;
		margin-top:3px;
		flex-basis:5%;
		flex-grow:0;
		align-self:flex-start;
		order:2;
	}
	.projectDetail-assignee-section-mobile {
		display:none;
	}
	.projectDetail-assignee-section-mobile {
		padding: 4px 10px 8px 10px;
		border-radius: 3px 3px;
		-webkit-border-radius: 3px 3px;
		-moz-border-radius: 3px 3px;
		width:100%;
	}
}

.siteDetail-right-section-mobile {
    display:block;
}
.siteDetail-assignee-section-mobile {
    display:none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
	.siteDetail-right-section {
		display:none;
	}
	.siteDetail-right-section-mobile {
		display:block;
	}
	.siteDetail-assignee-section-mobile {
		display:none;
	}
}

.formDetail-assignee-section-mobile {
    display:none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
	.formDetail-right-section {
		display:none;
	}
	.formDetail-right-section-mobile {
		display:table-cell; 
	}
	.formDetail-assignee-section-mobile {
		display:none;
	}
}

.formDetail-mobile-only { display: none; }
.formDetail-desktop-only { display: table-row; }

/* MOBILE VIEW */
@media (max-width: 768px) {
	.formDetail-desktop-only {
		display: none;
	}
	.formDetail-mobile-only {
		display: table-row;
	}
	
	.formDetail-mobile-container-cell {
		padding: 8px 12px;
		background: #fff;
		border-bottom: 1px solid #ddd;
	}
	
	.formDetail-mobile-block {
		margin-bottom: 4px;
		line-height: 1.4;
	}
	
    .formDetail-mobile-buttons span {
		display: inline-block;
		margin-right: 8px;
	}
}