body {
	margin-bottom: 63px;
}

.clearfix {
	clear: both !important;
	float: none !important;
}

h1, .h1 {
	font-size: 26px;
	font-weight: bold;
}

h2, .h2 {
	font-size: 22px;
	bold;
}

h3 {
	font-size: 16px;
	font-weight: bold;
}

h1, h2, h3 {
	margin-top: 10px;
	margin-bottom: 10px;
}

h5 {
	font-weight: bold;
}

h2.editable {
	cursor: pointer
}

textarea {
  resize: none; 
}

h2.editable:hover {
	text-decoration: underline;
}

#page-container.top-margin {
	padding-top: 32px;
}

#page-container #team-logo {
	width: 250px;
  height: 37px;
	margin-left: auto;
	margin-right: auto;	
}

#login-box,
#activation-box {
	margin-left: auto;
	margin-right: auto;	
	margin-top: 30px;
	margin-bottom: 30px;
	border-radius: 6px;
	padding: 15px;
	color: inherit;
	background-color: #eee;
	max-width: 380px;
}

.loading-spinner {
	width: 50px;
	height: 60px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20%;
}

/* Action icons */

.action-icon-container i {
	width: 28px;
	height: 20px;
	cursor: pointer;
	text-align: center;
}

.action-icon-container.disabled i {
	cursor: default;
	color: #ccc;
}

/* General adepts */
.page-header {
	margin-top: 0px;
}

.page-header .adept-name-header {
	float: left; 
	margin-top: 20px; 
	margin-left: 20px;
}

/* Columns */
div.area-divider {
	
}

div.area-divider div.column {
	width: 50%;
	float: left;
}

div.area-divider div.column.left {
	padding-right: 32px;
}
div.area-divider div.column.right {
	padding-left: 32px;
}

/* Schedules */

#page-container .schedule-container {
	margin-top: 16px;
	max-width: 720px;
  margin-right: 1px;
}

.year-spinner {

}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.spinner {
  cursor: pointer;
  width: 32px;
  text-align: center;
}

.spinner-left {
  float: left;
}

.spinner-right {
  float: right;
}

.spinner-title {
  margin: 0 32px 0 32px;
  text-align: center;
}

.desktop-calendar {
  display: none;
}

.calendar-wrapper .week-calendar-table {
  
}

.calendar-wrapper .week-calendar-table td {
  border: 1px solid black;
  width: 32px;
  padding: 4px;
  text-align: center;
}

.calendar-wrapper .week-calendar-table td.week-cell {
    cursor: pointer;
    user-select: none;
}

.calendar-wrapper .week-calendar-table td.week-cell.selected {
	  background-color: #ff8c5c;
}

.calendar-wrapper .week-calendar-table td.week-cell.current {
    background-color: #ccf;
}

.calendar-wrapper .week-calendar-table td.week-cell.disabled {
    background-color: #888;
    cursor: default;
}

.calendar-wrapper .week-calendar-table td.week-cell.selected.current {
	  background-color: #faa;
}

input.week-label {
    background-color: #fff !important;
    cursor: pointer !important;
}

#page-container .schedule-section {
	margin-bottom: 20px;	
}
#page-container .schedule-section .weekly-schedule {
	background-color: #eee;
	border: 1px solid #ddd;
	border-radius: 6px;
}

#page-container .schedule-section .weekly-schedule table {
	width: 100%;
}

#page-container .schedule-section .schedule-row {
	border-top: 1px solid #ddd;
	height: 45px;
}

#page-container .schedule-section .schedule-row:first-of-type {
	border-top: none;
}

#page-container .schedule-section .schedule-row.today {
  background-color: #ccf;
}

#page-container .schedule-section .row-header {
	padding-left: 10px;
	font-weight: bold;
	width: 32px;
}

#page-container .schedule-section .row-contents td.single {
	width: 100%;
}
#page-container .schedule-section .row-contents td.twin {
	width: 50%;
}
#page-container .schedule-section .row-contents td.twin .block-description {
	font-size: 10px;	
}
#page-container .schedule-section .row-contents td.triplet {
	width: 33.3%;
}
#page-container .schedule-section .row-contents td.triplet .block-description {
	font-size: 10px;	
}

#page-container .schedule-section .row-contents td.quadruplet {
	width: 25%;
}
#page-container .schedule-section .row-contents td.quadruplet .block-description {
	display: none;	
}

#page-container .schedule-section .row-contents td.quintuplet {
	width: 20%;
}
#page-container .schedule-section .row-contents td.quintuplet .schedule-block-info {
	display: none;	
}


#page-container .schedule-section .row-contents td.sextuplet {
	width: 16.6%;
}
#page-container .schedule-section .row-contents td.sextuplet .schedule-block-info {
	display: none;	
}

#page-container .schedule-section .row-contents td.septuplet {
	width: 14.28%;
}
#page-container .schedule-section .row-contents td.septuplet .schedule-block-info {
	display: none;	
}

#page-container .schedule-section .row-contents td.octuplet {
	width: 12.5%;
}
#page-container .schedule-section .row-contents td.octuplet .schedule-block-info {
	display: none;	
}

#page-container .day-content .schedule-section {
 border: 1px solid black;
 border-radius: 6px;
 padding-left: 8px;
}

#page-container .day-content .pass-header .sport-icon {
  margin-top: 11px;
  margin-right: 11px;
}

#page-container .schedule-section .schedule-block {
	border: 1px solid black;
	border-radius: 6px;
	text-align: center;
	padding-top: 2px;
	height: 32px;
	overflow: hidden;
	font-size: 11px;
	cursor: pointer;
}

#page-container .schedule-section .schedule-block.static {
	cursor: default;	
}

#page-container .schedule-section .schedule-block .schedule-block-info {
	overflow-x: hidden;
}

#page-container .schedule-section .schedule-block .schedule-block-info .block-description {
	font-weight: normal;
	position: relative;	
	overflow-x: hidden;
}


#page-container .schedule-section .schedule-block .sport-icon {
	float: left;
	margin-top: 6px;
	margin-left: 4px;
	margin-right: 2px;
}

#page-container .schedule-section .schedule-block .block-text {
	padding-top: 6px;
}

#page-container .day-content .schedule-section.cycling,
#page-container .sources-container .source-block.cycling,
#page-container .schedule-section .schedule-block.cycling,
#page-container .schedule-section.cycling .divider {
	background-color: #faa;
	border-color: #d88;
}

#page-container .day-content .schedule-section.running,
#page-container .sources-container .source-block.running,
#page-container .schedule-section .schedule-block.running,
#page-container .schedule-section.running .divider {
	background-color: #afa;
	border-color: #8d8;
}

#page-container .day-content .schedule-section.swimming,
#page-container .sources-container .source-block.swimming,
#page-container .schedule-section .schedule-block.swimming,
#page-container .schedule-section.swimming .divider {
	background-color: #aaf;
	border-color: #88d;
}


#page-container .day-content .schedule-section.strength,
#page-container .sources-container .source-block.strength,
#page-container .schedule-section .schedule-block.strength,
#page-container .schedule-section.strength .divider {
	background-color: #faf;
	border-color: #d8d;
}

#page-container .schedule-section .divider {
  margin: 0px;
}


/* Block Detail Page */

.content-section {
	border-bottom: 1px solid #eee;
	padding-bottom: 16px;
}
.content-section .pass-content {
	border-bottom: 1px solid #eee;
	padding-bottom: 16px;	
	float: none;
}

.content-section .pass-content .key-row {
	font-weight: bold;	
}

.content-section .zones {
	float: none;
}

/* Day Schedule Page */
#page-container .day-content .schedule-section {
  margin-bottom: 2px;
}

.content-section .day-content .pass-content,
.content-section .day-content {
  border-bottom: none;
}

.day-content .pass-content-container {
  margin-bottom: 5px;
}

.day-content .description-container {
  margin-bottom: 20px;
}


/* Feedback */
.thumbs-container {
	max-width: 700px;
}

.thumbs {
	width: 200px;
	margin-left: auto;
	margin-right: auto;
}

.thumb-button {
	font-size: 64px;
	margin-left: 10px;
	margin-right: 10px;
	cursor: pointer;
}

.thumb-button.inactive {
	color: #ccc;
}


/* Comments */

.comm-log-container {
	max-width: 700px;
}

.comment-section {
	margin-bottom: 6px;
}

.headshot {
	border: 1px solid black;
	border-radius: 7px;
	overflow: hidden;
  width: 100px;
  height: 100px;
}

.headshot.small {
  height: 50px;
	width: 50px;
}

.adept .headshot {
	float: left;
	margin-right: 6px;
}
.coach .headshot {
	float: right;
	margin-left: 6px;
}

.comment-section.coach .comment {

}

.comment-section .comment {
	background-color: #eee;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 6px;
	min-height: 51px;
	overflow: hidden;
	font-size: 12px;
}

.comment-section .comment.comment-new {
	border: 1px solid black;
	background-color: white;
}

.comment-section .post-comment {
	width: 100%;
	border: none;
	resize: none;
	height: 36px;
}

.comment-section .comment .comment-header {
	font-weight: bold;
}

/* Adept list */
.adepts-container .adept-box {
	border-radius: 6px;
	padding: 4px;
	cursor: pointer;
}

.adepts-container .adept-box:hover {
	background-color: #ff8c5c;
	border-color: #ef5929;	
}

/* Blocks */
.sport-icon {
	width: 16px;
	height: 16px;	
}
.sport-icon.large {
	width: 32px;
	height: 32px;	
}

.sport-icon.running {
	background: url('/images/icons/running16.png');
}	

.sport-icon.swimming {
	background: url('/images/icons/swimming16.png');
}	

.sport-icon.cycling {
	background: url('/images/icons/cycling16.png');
}	

.sport-icon.strength {
	background: url('/images/icons/strength16.png');
}	

.sport-icon.running.large {
	background: url('/images/icons/running32.png');
}	

.sport-icon.swimming.large {
	background: url('/images/icons/swimming32.png');
}	

.sport-icon.cycling.large {
	background: url('/images/icons/cycling32.png');
}	

.sport-icon.strength.large {
	background: url('/images/icons/strength32.png');
}	
/* Block Template List */

.template-list .list-template {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 4px;
	padding-left: 8px;
	margin-bottom: 4px;
	cursor: pointer;
  min-height: 100px;
  display: none;
}

.template-list .list-template.private-template {
  background-color: #ccc;
}

.template-list.overview .list-template {
	cursor: move;
}

.template-list.clickable .list-template:hover {
	background-color: #ff8c5c;
}

.template-list .list-template h4 {
	margin-top: 4px;
}

.template-list .list-template .basic-info {
	float: left; 
}
.template-list .list-template .created-by {
	text-align: center;
	width: 120px;
	float: right;
}

.template-list .list-template .created-by .headshot{
	margin: 0 auto;
}

/* Block Template Admin */

#private-checkbox-wrapper {
    margin-right: 32px;
    height: 32px;
    margin-top: 8px;
}

.schedule-section .weekly-header h3 {
	margin-top: 0px;
	float: left;
}

.schedule-section .weekly-header h4 {
	clear: both;
	margin-top: 0px;
	float: left;
}


.schedule-section .weekly-header .action-icon-bar {
    float: right;
}

.schedule-section .weekly-header .action-icon-container {
    float: left;
}

.sources-container .source-block {
	border-radius: 6px;
	min-height: 48px;
	margin: 2px;
	border: 1px solid;
}

.sources-container .source-block .source-block-icon-container {
	margin-right: 4px;
	padding-top: 8px;
	padding-left: 8px;
}

.sources-container .source-block .source-block-info {
	margin-left: 8px;	
	padding-top: 3px;
	margin-right: 16px;
}

.sources-container .source-block .source-block-info,
.sources-container .source-block .source-block-icon-container {
	float: left;	
}

.sources-container .source-block .title {
	font-weight: bold;	
}

.sources-container .source-block.hidden-block {
    overflow: hidden;
}

.drop-target-td {
	background-color: #ccc;
	height: 45px;
	border-radius: 6px;
}

.sources-container .toolbar {
	border-left: 1px solid #ddd;
	border-radius: 0;
	margin-top: 0;
	margin-bottom: 0;
	background-color: #eee;
}

.source-block-dialog  {
	width: 650px;	
}

.source-block-dialog .import-area {
	display: none;
}

.source-block-dialog .import-area #import-error {
	display: none;
	color: red;
	font-weight: bold;
	margin-bottom: 4px;
}

.source-block-dialog .import-area textarea {
	width: 100%;
	resize: none;
	height: 100px;
	margin-bottom: 5px;
}

.source-block-dialog .content-section {
	width: 100%;
}

.source-block-dialog #group-rows {

}

.source-block-dialog #ungroup-rows {
	display: none;
}

.source-block-dialog input.content-duration {
	width: 60px;
}

.source-block-dialog .pass-content-row td,
.source-block-dialog .pass-content-row-editable td {
	vertical-align: middle;
}

.source-block-dialog .pass-content-row td .grouped-data {
	min-height: 20px;
}

.source-block-dialog .pass-content-row {
	cursor: pointer;
}

.source-block-dialog .pass-content-row.highlight td {
	background-color: highlight;
}
	
.block-content-table td {
    padding: 8px;
}

.block-content-table.key-row,
.source-block-dialog .pass-content-row.key-row {
	font-weight: bold;
	padding: 0px;
}

.source-block-dialog .pass-content-row-editable textarea {
	width: 471px;
	resize: none;
}

.source-block-dialog table.table td,
.source-block-dialog table.table th {
	padding-bottom: 4px;
	padding-top: 4px;
	padding-left: 0px;
	padding-right: 0px;
}

.source-block-dialog .key-content-indicator {
	color: #ccc;
}

.source-block-dialog .key-row .key-content-indicator {
	color: black;
}

/* Adept overview */
.page-header .adept-page-title {
	text-align: center;
}

.page-header .adept-header {
	margin-top: 8px;
}

.year-link {
	margin-top: 10px;
}

.year-header {
    margin-top: 27px;
}

.page-header .adept-header .headshot {
	float: left;
}

.year-schedule table {
	width: 100%;
}

.year-schedule td div {
	border: 1px solid gray;
	background-color: #ddd;
	height: 48px;
	border-radius: 6px;
	
}

.year-schedule tr.week-row.drop-target td.week-contents div {
	background-color: #bbb;
}

.year-schedule tr.week-row.drop-target.not-allowed td.week-contents.with-content div {
	background-color: #faa;
}
.year-schedule tr.week-row.drop-target.allowed td.week-contents.with-content div {
	background-color: #afa;
}


.year-schedule tr.week-row td.week-contents.with-content div {
	background-color: #fff;
	padding-top: 12px;
	padding-left: 16px;
	font-weight: bold;
	cursor: pointer;
}

.year-schedule tr.week-row.hover td.week-contents.with-content div {
	background-color: #ff8c5c;
}

.year-schedule td.week-header {
	width: 48px;
}

.year-schedule td.week-header.current-week div {
  background-color: #99f;
}

.year-schedule td.week-header div {
	border-radius: 6px;
	background-color: #ccc;
	width: 48px;
	text-align: center;
	padding-top: 11px;
	font-size: 16px;
	font-weight: bold;
}

.list-template.drag-source {
	background-color: #f0f0f0;
	opacity: 0.7;
}

#draggable-helper-clone {
	z-index: 5000;
}

.helper-week {
	background-color: white;
	border-radius: 6px;
	border: 1px solid gray;
	padding: 2px 8px; 
	margin: 2px;
	min-width: 100px;
}

/* Adept Menu */
.icon-menu-option {
	text-align: center;
	float: left;
	width: 150px;
	border-radius: 6px;
	cursor: pointer;
	padding-top: 16px;
	padding-bottom: 16px;
}

.icon-menu-option:hover {
	background-color: #ff8c5c;
}

/* Tests */
.test-type {
	border-radius: 6px;
	border: 1px solid gray;
	padding: 16px;
}

.test-type:hover {
	background-color: #ff8c5c;
	cursor: pointer;
}

.test-type .test-header div,
.test-type .test-header h4 {
	float: left;
}
.test-type .test-header h4 {
	margin-left: 16px;	
}

div.ui-box {
	border-radius: 6px;
	border: 1px solid gray;
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 16px;
	margin-bottom: 10px;
}

#leave-results-box.ui-box {

}

#leave-results-box .leave-results-form {
	margin-top: 10px;
}




#zones-box.ui-box {
	
}
	
#graph-box #graph-container {
	height: 360px;
}

/* Zones */
.zone-category {
	border-radius: 6px;
	border: 1px solid gray;
	padding: 16px;
}

.zone-category .zone-header div,
.zone-category .zone-header h4 {
	float: left;
}
.zone-category .zone-header h4 {
	margin-left: 16px;	
}

th.zone-label {
	padding-right: 16px;
	width: 70px;
}
td.zone-interval-to {
	padding-right: 32px;
}

td.zone-interval-divider {
	width: 16px;
	text-align: center;	
}

table.static-zone-table {
  width: 100%;
}

/* Static Zone Table */

table.static-zone-table th,
table.static-zone-table td {
  vertical-align: top;
  padding: 2px 6px;
}

table.static-zone-table tr.zone-table-row {
  background-color: #ff8c5c;
}

.static-zone-table .description-column,
.static-zone-table .effort-column {
  display: none;
}

.static-zone-table .type-column {
  width: 100px;
}

.static-zone-table .inline-description-row td {
  padding-bottom: 8px;
}

.static-zone-table .effort-inline {
  padding-bottom: 4px;
}


/* User Edit */
#user-filter-container {
    background-color: #ff8c5c;
    height: 46px;
}

#user-filter-container .filter-option {
  float: left;
  margin-right: 16px;
  padding: 8px 0px;
  margin-top: 4px;
}

#user-filter-container .filter-option.input[type="text"],
#user-filter-container .filter-option.select {
    float: left;
}

#user-filter-container .filter-option.input-label {
  padding-top: 10px;
}
#user-filter-container .filter-option.with-input {
    padding-top: 2px;
}


#user-filter-container .filter-option.filter-title {
  padding: 13px 16px;
  color: white;
  margin: 0;
  margin-right: 10px;
  background-color: #ef5929;
}


#user-table td {
	vertical-align: middle;
}

#user-table td.fullname {
	font-weight: bold;
}

#user-table tr:hover {
	cursor: pointer;
	background-color: #ff8c5c;
}

#user-table tr:hover td {
	background-color: transparent !important;
}

.user-edit.headshot {
	cursor: pointer;
}

/* User Details */
.activation-link-section {
	margin-top: 45px;
}

/* Notifications */

.notification {
	border-radius: 6px;
	border: 1px solid #ddd;
	padding: 4px;
}

.notification.clickable:hover {
	cursor: pointer;
	background-color: #ff8c5c;
}


.notification .source-image {
	width: 50px;
}
	
.notification .type-icon {
	width: 40px;
	text-align: center;
	padding-top: 5px;
}

.notification .notification-message {
	font-size: 12px;
}

.notification .notification-message .subject {
	font-weight: bold;
}

.notification .glyphicon {
	font-size: 35px;
}

/* Activation */
.success-splash {
	display: none;
}

/* Responsive helpers */
.mobile-only {
	display: block;
}

.tablet-plus {
	display: none;
}

/* Adds vertical margins */
.vertical-space {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* FolderTree */
.category-tree {
  border: 1px solid gray;
  background-color: #ddd;
  padding: 16px 16px 15px 16px;
  border-radius: 6px;
}

.node {
  cursor: pointer;
}

.node .node-header {
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 1px;
}

.node .node-header.selected {
	background-color: #ff8c5c;
  font-weight: bold;
}

.node .node-header.drop-target {
  background-color: #ff8c5c;
}

.node .node-header.drop-target.selected {
  background-color: #ef5929;
}

.node .node-header .edit-icons {
  display:none;
  float: right;
  padding: 0;
}

.node.editmode .node-header:hover .edit-icons {
  display:block;
}


.node .node-header .expander {
  float: left;
}
.node .node-header div {
  padding: 8px;
}

.nodes {
  margin-left: 0px;
  display: none;
}

.nodes .expander {
  margin-top: 3px;
  width: 25px;
}

.nodes .expander.fa-chevron-down {
  
}

.node .nodes {
  margin-left: 16px;
}

/* Folder select */
.folder-select {
    position: relative;
}

.folder-select.disabled {
    background-color: #ddd
}

.folder-select .selected-category{
  border: 1px solid gray;
  border-radius: 6px;
  padding: 8px;

  cursor: pointer;
}

.folder-select .category-tree {
  display: none;
  position: absolute;
  width: 100%;
  padding: 8px;
}

/* File dialog dialog */
.create-folder-dialog .folder-option,
.file-dialog .folder-option {
  margin: 12px 8px 4px 8px;
  cursor: pointer;
}

.create-folder-dialog .option-label,
.file-dialog .option-label {
  margin: 8px 8px 8px 4px;
  cursor: pointer;
}

.create-folder-dialog .folder-select,
.file-dialog .folder-select {
  margin-left: 32px;
}

.file-dialog .folder-select .selected-category,
.create-folder-dialog .folder-select .selected-category {
  clear: right !important;
}

.file-dialog .folder-select-section {
    display: none;
}

/* Loading */
.dynamic-content .rendered-content {
  display: none;
}

.dynamic-content .pending-content {
  display: block;
}

/* Context Menu */

.coach-context-menu {
	display: none;
	position: absolute;
	z-index: 5000;
}

/* Ribbon */
.wrapper {
  margin: 50px auto;
  width: 280px;
  height: 370px;
  background: white;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 8px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 90;
}

.ribbon-wrapper-color {
  width: 160px;
  height: 140px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
}

#page-container .ribbon-wrapper-color {
  top: 47px;
  right: 0px;
}

.ribbon-color {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 40px;
  width: 220px;
  background-color: #ff0000;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45)); 
  background-image: -webkit-linear-gradient(top, #ff8c5c, #ef5929); 
  background-image:    -moz-linear-gradient(top, #ff8c5c, #ef5929); 
  background-image:     -ms-linear-gradient(top, #ff8c5c, #ef5929); 
  background-image:      -o-linear-gradient(top, #ff8c5c, #ef5929); 
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-color:before, .ribbon-color:after {
  content: "";
  border-top:   3px solid #6e0000;   
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.ribbon-color:before {
  left: 0;
}
.ribbon-color:after {
  right: 0;
}​

.overlay-popup,
.full-width {
    width: 100%;
}
.overlay-headline {
    text-align: center;
}

td.whitespace {
    width: 4px;
}

.filter-alert {
    font-weight: bold;
    display: none;
}

.error-box {
    width: 100%;
    text-align: center;
    color: red;
}
