@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300italic,300,100italic,400italic);

body {
	font-size: 1.4em;
}
h1,h2,h3,h4,h5,h6 {
	font-family: 'Roboto', sans-serif;
}
h1,h2,h3 {
	font-weight: 100;
}
h1 small,h2 small,h3 small,h4 small,h5 small,h6 small {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}
h1.panel-title,h2.panel-title,h3.panel-title {
	font-weight: 300;
}

a[data-toggle="collapse"] {
	font-weight: 400;
	text-decoration: none !important;
}

input[type=checkbox].large {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	appearance: none;
	padding: 10px;
	background-color: #fff;
	border-radius:3px;
	border: 1px solid #fff;
	outline: 1px solid gray;
}
input[type="checkbox"].large::before {
	content: " ";
	display: block;
	position: absolute;
	top: 5px;
	left: 5px;
	width: 10px;
	height: 10px;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	transform: scale(0);
	transform-origin: bottom left;
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em #FFF;
	/* Windows High Contrast Mode */
	background-color: #fff;
}
input[type="checkbox"].large:checked::before {
  transform: scale(1);
}
input[type=checkbox].large:checked {
	background-color: gray;
}

.striped > * {
	padding: 5px;
	border-radius: 6px;
}
.striped > *:nth-child(even) {
	background-color: #f2f2f2;
}
.striped > *:nth-child(odd) {
	background-color: #cecece;
}
.striped > *:hover {
	background-color: #bbb !important;
}

.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
@media (min-width: 768px) {
	.modal-dialog {
	    margin: 60px auto;
	}
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
.white-text {
	color: #fff;
}

html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}

/*
 * Base structure
 */
.page-header {
	margin: 0 0 10px 0;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.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%;
}

.loader-icon, .loader-icon-small {
	display: inline-block;
	color: #ccc;
	font-size: 120px;
	line-height: 120px;
	text-align: center;
	-webkit-animation:spin 4s linear infinite;
	-moz-animation:spin 4s linear infinite;
	animation:spin 4s linear infinite;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
@-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); } }
.loader-icon:after, .loader-icon-small:after {
	content: "\e019";
}
.loader-icon-small {
	font-size: inherit;
	font-size: 130%;
	line-height: inherit;
	line-height: 130%;
	color: inherit;
	margin-right: 10px;
}


.split-input > input:first-child, .split-input > select:first-child {
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: none;
}
.split-input > input:last-child, .split-input > select:last-child {
	-webkit-border-top-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-bottomleft: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: none;
}
.split-input > input, .split-input > select {
	width: 50%;
	float: left;
}
.split-input.right > input, .split-input.right > select > option {
	text-align: right;
}
.split-input.tight > input, .split-input.tight > select {
	padding-left: 4px;
	padding-right: 4px;
}
.split-input.date-split > .year {
	width: 35%;
	padding-right: 0px;
	text-align: right;
}
.split-input.date-split > .month {
	width: 35%;
	padding-right: 0px;
}
.split-input.date-split > .day {
	width: 30%;
	padding-right: 0px;
	text-align: right;
}


.mixed-case {
	text-transform: none !important;
}
.no-margin {
	margin: 0px !important;
}

.margin-top-10 { margin-top: 10px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-30 { margin-top: 30px; }
.margin-bottom-10 { margin-bottom: 10px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-bottom-30 { margin-bottom: 30px; }

.small {
	font-size: 12px;
}

.medium {
	font-size: 20px;
}
.large {
	font-size: 24px;
}
.nowrap {
    overflow-x:auto;
    overflow-y:hidden;
    white-space: nowrap;
}

.scroll {
	overflow-y: auto !important;
}

.box-shadow {
	-webkit-box-shadow: 7px 7px 13px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 13px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 13px 0px rgba(50, 50, 50, 0.75);
}

.text-ellipsis {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.updating {
    background-color: #99CC99 !important;
}
.sorted_table tr.dragged {
    background: #99CC99 !important;
}
.sorted_table tr.placeholder {
    display: block;
    background: blue !important;
    position: relative;
    margin: 0;
    padding: 0;
    height: 1px;
    width: 100%;
    border: none;
}
.sorted_table tr.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: blue !important;
    margin-top: -5px;
    left: -5px;
    border-right: none !important;
}
.scroll-body {
	overflow-y: auto;
	padding: 2px 2px 1em 2px;
}

.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}


.animate {
    -webkit-transition: all 0.3s ease;                  
    -moz-transition: all 0.3s ease;                 
    -o-transition: all 0.3s ease;   
    -ms-transition: all 0.3s ease;          
    transition: all 0.3s ease;
}


.has-overlay {
	position: relative;
}
.has-overlay .is-overlay {
	position: absolute;
	top: 0;
	left: 15px;
}
.has-overlay:hover .is-overlay.on-hover {
	display: none;
}
.has-overlay:hover .is-overlay.on-hover {
	display: inherit;
}

.label-lg {
	font-size: 130%;
}

.btn-inline-group {
	white-space: nowrap;
}
.btn-inline-group .btn {
	border-radius: 0px;
}
.btn-inline-group .btn:first-child {
	border-radius: 4px 0px 0px 4px;
}
.btn-inline-group .btn:last-child {
	border-radius: 0px 4px 4px 0px;
}
.modal-max {
	width: 80%;
	max-width: 1600px;
}

/*
PLUPLOAD overrides
*/

.plupload_header_content {
    background: none;
    min-height: 0;
    padding: 10px;
    color: #FFF;
}

.plupload_button, .plupload_button:hover, .plupload_button:active,.plupload_button:visited, .plupload_button.plupload_start:hover {
	font-size: 14px;
	padding: 6px 12px;
	background: none;
	text-decoration: none !important;
}
.plupload_button.plupload_start:not(.plupload_disabled) {
	background: #339900;
	color: #fff !important;
}


.has-loader:before {
	transition: all 0.5s ease;
	content: " ";
	display: inline-block;
	width: 50px;height: 50px;
	vertical-align: middle;
	background: url(https://s3.amazonaws.com/mbspirit/assets/loader-240.gif) no-repeat center center;
	background-size: 50px 50px;
	opacity: 0;
}
.has-loader.btn-lg:before {
	width: 1.5em;height: 1.5em;
	background-size: 1.5em 1.5em;
	line-height: 1.1;
}

.has-loader.showloader:before {
	opacity: 1;
}




/*
Image manager styles
*/
.crop-wrap {
	position: relative;
}
.crop-wrap .crop-overlay {
	position: absolute;
	top: 0; right: 15px;
	z-index: 2;
}
.crop-wrap .crop-save {
	display: none;
}

.profile-pic-wrap .cropped {
	max-width: 100%;
	display: block;
	margin: 0 auto 10px auto;
}
.profile-pic-wrap .profile-pic {
	max-width: 100%;
	max-height: 250px;
	display: block;
	margin: 0 auto;
}
.extra-images-wrap .extra-images {
	height: 265px;
	overflow-y: auto;
	overflow-x: hidden;
}
.extra-images-wrap img {
	width: 100%;
	display: block;
	box-sizing: border-box;
}
.extra-images-wrap .extra-images:empty:before {
	content: "No images in the gallery yet!";
	display: block;
	text-align: center;
	box-sizing: border-box;
}




.flot-container {
	box-sizing: border-box;
	width: 100%;
	height: 450px;
	padding: 20px 15px 15px 15px;
	margin: 15px auto 30px auto;
	border: 1px solid #ddd;
	background: #fff;
	background: linear-gradient(#f6f6f6 0, #fff 50px);
	background: -o-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -ms-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -moz-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -webkit-linear-gradient(#f6f6f6 0, #fff 50px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	-o-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-ms-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.flot-placeholder {
	width: 100%;
	height: 100%;
	font-size: 14px;
	line-height: 1.2em;
}
.flot-placeholder.with-nav {
	height: 340px;
}
.flot-navigator {
	width: 100%;
	height: 80px;
	border: none;
	font-size: 14px;
	line-height: 1.2em;
}

@-webkit-keyframes throb {
	0% { -webkit-transform: scale(1, 1);opacity: 1; }
	50% { -webkit-transform: scale(1.1, 1.1);opacity: .8; }
	100% { -webkit-transform: scale(1, 1);opacity: 1; }
}
@keyframes throb {
	0% { transform: scale(1, 1);opacity: 1; }
	50% { transform: scale(1.1, 1.1);opacity: .8; }
	100% { transform: scale(1, 1);opacity: 1; }
}

.btn-pulse {
	-webkit-animation: throb 1s linear 10000;
	animation: throb 1s linear 10000;
}
.input-flash {
	-webkit-animation: throb .25s linear 2;
	animation: throb .25s linear 2;
}

