@media (min-width: 768px) {
  .navbar-right {
    margin-right: inherit;
  }
}
html {
	/* Prevent scroll on narrow devices */
	overflow-x: hidden;
}

body {
	background-color:#1E1E1E;
	background-image:url('../imgs/header.png');
	background-repeat:no-repeat;
	background-position:50% 35px;
	background-attachment:fixed;
}

footer {
	padding: 30px 0;
}

.browsehappy {
	margin: 0;
	text-align: center;
}

.navbar {
	border-radius: 0;
}

.btn-user {
  background-color: #6441A5;
  border: medium none;
  padding: 5px 5px 5px 10px !important;
  color: #ffffff !important;
  margin: 10px 0;
  height: 30px;
}

.btn-user:hover, .btn-user:active, .btn-user:focus {
  background-color: #6F4CB0 !important;
}

.btn-twitch, .btn-twitch:active {
	background-color: #6441A5;
	background-image: url("../imgs/twitch_glitch_icon_white.png");
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 26px auto;
	border: medium none;
	padding: 5px 20px 5px 35px !important;
	color: #ffffff !important;
	margin: 10px 0;
  /*height: 30px;*/
  white-space: normal;
}

.btn-twitch:hover, .btn-twitch:active, .btn-twitch:focus {
	background-color: #6F4CB0 !important;
}

.navbar .avatar {
  height: 22px;
  width: 22px;
  margin: -2px 5px 0;
  border-radius: 22px;
}

label.answer {
	width: 100%;
}

.chart-label {
	color: #fff;
	text-align: center;
}

.chart-label-percent, .chart-tooltip-header {
	font-size: 150%;
}

.highcharts-tooltip span {
	z-index: 9999;  
}

.progress {
	height: 10px;
}

.well .row {
	padding: 2px 0;
}

.tt-suggestions {
	max-height: 300px;
	overflow: auto;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	word-wrap: break-word;
}

.answer .form-control {
	display: table;
	table-layout: fixed;
	word-wrap: break-word;
}
.btn-popskyy {
    background-color: rgb(111, 76, 176);
    border-color: rgb(109, 65, 30);
    color: rgb(255, 255, 255);
}
.btn-popskyy:hover, .btn-popskyy:focus, .btn-popskyy:active, .btn-popskyy.active, .open .dropdown-toggle.btn-popskyy {
    background-color: rgb(140, 97, 223);
    border-color: rgb(138, 86, 199);
    color: rgb(255, 255, 255);
}

.box {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border:1px solid #000000;
	background-color:#E3E0D8;
	margin-top: 200px;
}

.box2 {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color:#E3E0D8;
	padding: 20px;
	margin: 10px;
	text-align: initial;
}

.box3 {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-align: initial;
	background-image: linear-gradient(to bottom,#FFFFFF 0,rgba(0, 166, 81, 0.03) 100%);
	padding: 10px;
	margin: 10px 5px;
	border: none;
}

.loginInfo {
    float: right;
    padding-top: 5px;
}

#hidethisbox1 {display: none;}
#hidethisbox2 {display: none;}

.affbuildingcontainer {
  width: 100%;
  margin: 10px auto;
  text-align: center;
}

.affbuildingblock { 
  display: inline-table;
  max-width: 350px;
  min-width: 250px;
  padding: 5px;
  margin: 0px 15px 5px;
}

.affinfobox {
  -webkit-border-radius: 0px 0px 30px 30px;
  -moz-border-radius: 0px 0px 30px 30px;
  border-radius: 0px 0px 30px 30px;
  border:1px solid #000000;
  border-top: none;
  background-color:#CCCAB6;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.flex-container_sub {
  padding: 0;
  margin: 0;
  list-style: none;
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.flex-item_sub {
  background: #999;
  padding: 15px;
  width: 350px;
  height: 250px;
  margin: 10px 0;
  
  line-height: 24px;
  color: white;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
}

.flex-item_moola {
  padding: 15px;
  width: 300px;
  height: 130px;
  margin: 10px 0;
  
  line-height: 24px;
  font-weight: bold;
  font-size: 1.5em;
  text-align: center;
}



.button-bottom-store {
  position: absolute;
  bottom: 0px;
}

.media {
  margin-top: 0px;
}

.media-heading {
  margin: 10px 0;
}

.media-left {
  padding-right: 20px;
}

.storemargin {
  margin: 10px 0;
}

div.navlinkurl a,
div.navlinkurl div {
  text-decoration: none;
  color: #333;
  cursor:pointer;
 }
 
 .text-center {
    text-align: center;
}
 
 .text-bold {
	font-weight: 700;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}


.center-row-moola {
	display:table;
	text-align: center;
}
.center-moola {
	display:table-cell;
    vertical-align:middle;
    float:none;
}

@media (min-width: 768px) {
  .table-row-moola {
    display: table;
    table-layout: fixed;
  }

  .table-row-moola [class^="col-"] {
    display: table-cell;
    float: none;
  }
}
  
.iteminventory {
    font-size: 0.9em;
    height: 150px;
    padding: 5px 10px 10px 10px;
    word-wrap: break-word;
    background-color: rgb(229, 216, 185) !important;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12);
    border: 1px rgba(222,222,222,0.45) solid;
 }
 
.itemoutbox {
    height: 100%;
    position: relative;
}

.iteminfo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.blur-text {
	color: transparent;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

/* Moola2 page */

/* Workshop */
.wsitemflex {
	display: flex;
	flex-wrap: wrap;
	background: white;
    margin: 0 10px;
    padding: 10px;
}

.wsitemrow {
    width: 100%;
    text-align: center;
	align-self: flex-end;
    display: flex;
    align-items: baseline;
	flex-grow: 1;
}

.wsitemcontent {
	/*flex-grow: 1;*/
}

@media (max-width: 768px) {
	.dispact {
		display:none;
	}
	.butts {
		padding: 0 0 15px 10px;
	}
}

.infotop {
	position: absolute;
	bottom: 8px;
	right:  8px;
}

.infobot {
	position: absolute;
	bottom:-7px;
	right:  8px;
}
.infomoola:after { 
    content: "\00a0\00a0\00a0\00a0";
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../imgs/moola.svg);
}


