.fl {
	float: left;
}

.fr {
	float: right;
}

.bold {
	font-weight: 600;
}

.col-centered {
    margin: 0 auto;
    float: none;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

h1 {
    font-weight: 300;
    font-size: 36px;
    margin-top: 0px;
	display: block;
	float: none;
	border: none;
}

h1:hover {
	background-color: transparent;
}

.nofloat {
	float: none;
}

.coords {
	color: #737373;
	font-weight: 500;
}

/* Start of Tables */
.level-1{margin-left:15px;}
.level-2{margin-left:30px;}
.level-3{margin-left:45px;}
.level-4{margin-left:60px;}
.level-5{margin-left:75px;}

.history-index .list-view .item:nth-of-type(2n+1) {
	background-color: #F9F9F9;
}

.history-index .list-view .item {
	display: inline-block !important;
	width: 100%;
	padding: 8px;
}

/* Write over jQuery UI table */
.table-bordered {
	border: 1px solid #DDD !important;
}
.materials_form,.materials-form, .model-tags-form, .users-form {
	max-width: 300px;
}
.materials-view .table {
	width: 50%;
}

.variation-property-values-index, .texture-index {
	max-width: 700px;
}

.model-tags-index, .model-tags-view {
	max-width: 500px;
}

.model-tags-index tr td:nth-child(2) {
	max-width: 100px;
}

td {
    word-wrap: break-word;
}

td > div {
	padding: 0;
}

.block-cell {
	width: 100px;
}

div.field-materials-material_rgb {
	display: table;
}

div.field-materials-material_rgb > .control-label {
	display: table-row;
}

div.field-materials-material_rgb > #materials-material_rgb {
	display: table-cell;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

div.field-materials-material_rgb > span > i {
	display: inline-block;
	height: 16px;
	width: 16px;
	cursor: pointer;
	vertical-align: text-top;
	background-color: #00aabb;
}

.has-success .input-group-addon {
	background-color: #eeeeee;
}

.materials-index table.table tbody tr td:nth-child(8) {
	padding: 0;
}

.materials-index table.table thead .filters td:nth-child(5) {
	text-align: center;
}

.materials-index table.table thead .filters td:nth-child(2) input {
	width: 100%;
}
.materials-index .materials-save {
	float: right;
}

div.color span {
	padding: 14px;
	background-color: #eeeeee;
	float: left;
	border-right: 1px solid #dddddd;
}

div.color span i {
	display: inline-block;
	height: 16px;
	width: 16px;
}

div.color .color-hex {
	float: left;
	padding: 5% 0 0 5%;
}

.materials-index .table tbody tr td:nth-child(2) {
	width: 90px;
}

.materials-index .table tbody tr td .icon {
	margin: 0 auto;
}

.material-assigned-prop-vals {
	font-size: 12px;
}

.modelcatviewoptions {
	display: inline;
	width: 30px;
	margin-right: 8px;
}

.notvisible {
	color: #A4A4A4;
}

.form-cell {
	padding: 0px !important;
}

.form-cell .btn {
	margin: 3px;
}



td.form-cell form {
	display: inline;
}

.tooltip-inner {
	max-height: 100px;
}

.bootstrap-tagsinput {
	width: 100%;
}

.historyButton {
	margin-right: 5px;
	color: rgb(51, 122, 183);
	cursor: pointer;
}

.historyButton:hover {
	color: #000;
}

.editButton {
	margin-left: 5px;
}
/* End of Tables */

.mleft {
	margin-left: 5px;
}

.editor-view label {
	font-weight: normal;
}

.editor-view .well {
	float: left;
	width: 300px;
}

.editor-view table.editor {
	float: left;
	border: 0px solid white;
	margin-left: 30px;
	margin-bottom: 30px;
}

.editorbuttons {
	clear: both;
	margin-left: 30px;
}

.editor-view .well .list-group .row .icon {
	clear: left;
	width: 4em;
}

.editor-view .well .list-group span {
	float: left;
	position: relative;
	top: -40px;
	left: 260px;
	color: red;
}

.editor-view  .editor td {
	padding: 0;
	margin: 0;
}

.editor-view .editor tr {
	line-height: 0;
}

.well .twitter-typeahead {
	width: 100%;
}

.mname {
	font-weight: bold;
}

.matid {
	font-weight: 700;
	width: 4em;
}

.jumbotron {
	padding-top: 0;
}

.panel-default {
	border-color: none;
	border: none;
}

/*Model form */
.formthumbs {
	margin-bottom: 10px;
}
.formthumbs .imgclose{
	color: red;
	position: absolute;
	right: -7px;
	top: -7px;
	cursor: pointer;
}

.modelformimgcnt {
	display: inline-block;
	position: relative;
	margin-right: 10px;
	cursor: pointer;
}

/*Ajax loading */
/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.blueprint {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('/img/ajax-loader.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
.loading {
    overflow: hidden;   
}

.extranotice {
	display: none;
}

.loadingwarning {
	position: fixed;
	z-index: 1001;
	top:52%;
	width:100%;
	height:100%;
	text-align: center;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
.loading .blueprint {
    display: block;
}

div#loading {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('/img/ajax-loader2.gif') 
                50% 50% 
                no-repeat;
}
div#loading * {
    opacity: .8;
}

/*ModelUpdate*/
  #sortable { list-style-type: none; margin: 0; padding: 0; width: 100%; }
  #sortable li { margin: 3px 30px 3px 0; padding: 1px; float: left; width: 230px; height: 180px; font-size: 1em; text-align: center; }

.ui-state-highlight { height: 190px; line-height: 190px; }

.field-models-model_yt_link:not(:first-of-type)
{
    margin-top: 10px;
}

div.field-models-model_yt_link > .control-label {
    display: table-row;
}

div.field-models-model_yt_link {
    display: table;
}

div.field-models-model_yt_link > #models-model_yt_link {
    display: table-cell;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

form#popup .modal-footer {
	clear: both;
}
form#popup .field-models-survival_mode {
	float: left;
}
form#popup .field-models-creative_mode {
	float: left;
	clear: left;
}
form#popup .details-popup-thumbs {
	float: right;
}
.details-popup-thumbs #sortable{
	width: auto;
}
.details-popup-thumbs #sortable li {
	width: auto;
	float: left;
}
.details-popup-thumbs .modelformimgcnt > img {
	height: 90px;
}
.details-popup-thumbs #sortable li {
	height: auto;
	margin: 3px 0px 3px 30px;
}
.details-popup-thumbs .imgclose {
	display: none;
}

#scroll-container {
	max-width: 800px;
	height: 30px;
	overflow: hidden;
	word-spacing: -3px;
}
#scroll-container .span {
	background-color: #009DCD; 
	color: #fff; 
	padding: 5px; 
	font-weight: bold;
	display: inline-block;
	vertical-align: top;
	width: 30px;
	height: 100%;
	text-align: center;
}
#scroll-container .span:hover {
	background-color: #0084AD;
	cursor: pointer;
}

#scroll-container #scroller {
	overflow: hidden;
	white-space: nowrap;
	display: inline-block;
	
}
div#end {
	position: relative;
}

#scroller .investor {
	background-color: #cedb00;
}

#scroller .investor:hover {
	background-color: #bac600;
}
/* End of Body */

.message{
    background-size: 40px 40px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%,
                        transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%,
                        transparent 75%, transparent);                                      
     box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
     width: 100%;
     border: 1px solid;
     color: #fff;
     padding: 15px;
     _position: absolute;
     text-shadow: 0 1px 0 rgba(0,0,0,.5);
     animation: animate-bg 5s linear infinite;
}

.info{
     background-color: #4ea5cd;
     border-color: #3b8eb5;
}

.error{
     background-color: #de4343;
     border-color: #c43d3d;
}
     
.warning{
     background-color: #eaaf51;
     border-color: #d99a36;
}

.success{
     background-color: #61b832;
     border-color: #55a12c;
}

.message h3{
     margin: 0 0 5px 0;                                                  
}

.material-add-texture .twitter-typeahead {
	float: none;
	clear: none;
	display: block !important;
	width: 250px;
}

/*
jQuery Mobile advancements
*/
.ui-page-theme-a .ui-body-inherit {
    background-color: #FFF;
    border-color: #DDD;
    color: #333;
    text-shadow: 0px 1px 0px #F3F3F3;
}
.ui-overlay-shadow {
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.6);
}
.ui-corner-all {
    border-radius: 0.3125em;
}
.ui-table-columntoggle-popup fieldset {
    margin: 0px;
}

.ui-page-theme-a .ui-checkbox-on::after {
    background-color: #38C;
    border-color: #38C;
    color: #FFF;
    text-shadow: 0px 1px 0px #059;
}

.ui-btn.ui-checkbox-on::after {
    border-radius: 0.1875em;
}
.ui-btn.ui-checkbox-on::after {
    display: block;
    width: 18px;
    height: 18px;
    margin: -9px 2px 0px;
}
.ui-btn-icon-left::after {
    left: 0.5625em;
}
.ui-btn-icon-left::after, .ui-btn-icon-right::after {
    top: 50%;
    margin-top: -11px;
}
.ui-btn-icon-left::after, .ui-btn-icon-right::after, .ui-btn-icon-top::after, .ui-btn-icon-bottom::after, .ui-btn-icon-notext::after {
    content: "";
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
}
.ui-checkbox input, .ui-radio input {
    position: absolute;
    left: 0.466em;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0px 0px;
    outline: 0px none !important;
    z-index: 1;
}
.ui-page-theme-a .ui-btn, .ui-btn.ui-btn-a{
    background-color: #F6F6F6;
	text-decoration: none;
	font-weight: bold;
    border-color: #DDD;
    color: #333;
    text-shadow: 0px 1px 0px #F3F3F3;
}
.ui-page-theme-a .ui-btn:hover, .ui-btn.ui-btn-a:hover {
    background-color: #EDEDED;
    border-color: #DDD;
    color: #333;
    text-shadow: 0px 1px 0px #F3F3F3;
}
.ui-page-theme-a .ui-btn:focus, .ui-btn.ui-btn-a:focus {
    box-shadow: 0px 0px 12px #38C;
}
.ui-page-theme-a .ui-btn:hover {
    background-color: #EDEDED;
    border-color: #DDD;
    color: #333;
    text-shadow: 0px 1px 0px #F3F3F3;
}
.ui-shadow {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after,
.ui-btn.ui-radio-off:after,
.ui-btn.ui-radio-on:after {
	display: block;
	width: 18px;
	height: 18px;
	margin: -9px 2px 0 2px;
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
	filter: Alpha(Opacity=30);
	opacity: .3;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
	-webkit-border-radius: .1875em;
	border-radius: .1875em;
}
.ui-btn.ui-checkbox-off:after {
	background-color: #666;
	background-color: rgba(0,0,0,.3);
}

.modal-dialog.modal-md {
    width: 700px;
}
