
body {background-color: #bacf97}


.flex {
	display: flex; 
	flex-direction: column; 
}

@media (min-width: 768px) { 
	
	.flex {
		display: flex;
		flex-direction: row; 
	}

}

.ad-block {
	margin-bottom: 20px;
	
}

.ad-block .alignleft {
	display: flex;
    justify-content: center;
}

.main-container {
	
	/*background-color: #bacf97;*/
	
	} 
	
.main-container-index {
	
	background-color: #FFF;
	
	} 	

.navbar {
	margin-bottom: 0px; /*overrides default 20px from bootstrap*/
	
	}
	
.jumbotron {margin-top: 20px;}

.btn-primary {margin-top: 10px;}

.how-it-works {
	padding-top: 0px;
	padding-bottom: 80px;
	border-bottom: 1px solid #CCC;
	}
	
p.how-to-info {padding: 10px 0;}	
	
.how-it-works h2 {
	font-size: 3em;
	padding-top: 10px;
	padding-bottom: 30px;
	
	}	

.dice-wrapper { 
	padding: 50px;
	min-height: 250px;
	}	

img.white, img.red {
	display:block; 
	margin: 0 auto;
	
	}
	

img.white {
	padding-top: 25px; 
	padding-bottom: 25px; 
	}


.button-row {
	padding-top: 20px; 
	padding-bottom: 20px;
	
}

.row.previous-roll {
  margin: 30px 0 0 0;
  font-size: 24px;
}
	
button.apba-roll {
	background-color: #ed1c24;
	border-radius: 10px;
	color: #FFF;
	display: block; 
	font-size: 2em;
	margin: 0px auto;
	padding: 20px;
	text-transform: uppercase; 
	width: 200px;
	}

@media (min-width: 992px) { 
	
	
button.apba-roll:active,  button.apba-roll:hover {	
	background-color: #D31920;
	color: #FFF;

	}
	
}
	
	
@media (max-width: 991px) { 
	
	
button.apba-roll:active {	
	background-color: #D31920;
	color: #FFF;

	}
	
}	
	
button.apba-roll:visited {background-color: #ed1c24; color: #FFF;}	

div.out-wrapper {
	width: 190px; 
	margin: 40px auto;
	
	}


.out {
	display: inline-block;
	border: 2px solid #FFF; 
	border-radius: 50%;
	margin: 0px 5px; 
	width: 50px;
	height: 50px;
	text-align:center;
	padding-top: 10px;
	font-size: 1.4em;
	color: #555;
	cursor: pointer;
	}
	
	
.outs-title {
	color: #555;
	text-align: center;
	}	
	
footer {
	padding-top: 10px; 
	padding-bottom: 10px;
	font-size: .9em;
	
	}	

footer p {margin:0;}

/* strat-o-matic */


.dice-wrapper-strat { 
	padding: 0px 0px;
	min-height: 320px;
	}

.split-container {
	
	padding: 0;
	/*height: 250px;*/
	min-width: 160px;
	position: relative;
	display: flex;
  flex-direction: column;

	}
	
.split-wrap {
	width: 100%;
	/*position: absolute;*/
	top: 50%;
	bottom:0;
	left: 0;
	right: 0;
	margin: auto;
	padding-top: 0px;
	
	
	}
	
@media (max-width: 767px) { 

.split-container {
	
	padding: 0;
	/*height: 250px;*/
	min-width: 160px;
	position: static;

	}
	
	
.split-wrap {
	width: 100%;
	position: static;
	margin-top: 40px;
	margin-bottom: 40px;

	
	}
	
.jumbotron {text-align: center;}	

}
	
.split-card {
	
	margin: 10px auto;
	width: 150px;
	height: 150px;
	background-color: #f8f8f8;
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0, .1);
  	-moz-box-shadow: 0px 3px 3px rgba(0,0,0, .1);
	box-shadow: 0px 3px 3px rgba(0,0,0, .1); 
	
	}	

@media (min-width: 768px) { 
	.top-wrapper {
    padding-top: 30px;
	}	
}
	
div#past_split_wrap {
  padding-right: 30px;
  padding-left: 30px;
  font-size: 16px;
}

button.splits-roll {
	background-color: #555;
	border-radius: 10px;
	color: #FFF;
	display: block; 
	font-size: 1em;
	margin: 20px auto;
	padding: 20px;
	text-transform: uppercase; 
	width: 100px; 
	}
	
button.splits-roll:hover, button.splits-roll:active  {background-color: #333;}	
	
.split-result {
	display: inline-block;
	width: 150px;
	margin: 20px auto; 
	color: #555; 
	font-size: 5em;
	text-align:center;
	
	}	
	
.special {display: none;}	/* This hides the honeypot field on the contact form. */	

div.email-send-message {
	text-align: center; 
	
	}	

div.social{width: 250px; position:relative;}

@media (max-width: 767px) {div.social{margin: 20px auto;} }	
	
div.fb-like	{display: inline-block; width: 125px; height: 30px; position:absolute; top:0; bottom:0; left: 0; right: 0; }
div.tweet	{display: inline-block; width: 125px; height: 30px; position:absolute; top:0; bottom:0; left: 130px; right: 0; }