* {
	box-sizing: border-box;
	font-family: Lato;
}

::selection {
	background: #00ccff;
	text-shadow: none;
}

body {
	background: #232F53;
	background-size: cover;
	font-family: Helvetica, sans-serif;
	color: #fff;
	overflow: hidden;
}

.force-visible {
	display: block !important;
	visibility: visible !important;
}

.force-hidden {
	display: none !important;
	visibility: hidden !important;
}

#page-wrapper {
	background-image: url(../images/background_city.png),  url('../images/background.png');
	background-position: bottom, center;
	background-size: auto, auto;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;
}

#page-wrapper .container {
	z-index: 2;
	position: relative;
}

@media (max-width:900px) {
	#page-wrapper .container {
		display: none;
	}
}

#captainform_cape {
	position: absolute;
	bottom: -30px;
	left: 0;
	z-index: 1;
}

@media (min-width: 768px)
{
	.navbar-right {
		margin-right: -5px;
    		margin-top: 15px;
	}

	.navbar-nav>li>a {
	    padding-top: 7px;
	    padding-bottom: 7px;
	    border: 1px solid white;
	    margin: 10px;
	    border-radius: 4px;
	    font-size: 12px;
	    color: #fff;
	}
	
	.navbar-nav>li>a:hover {
	    color: #3272AF;
	}
}

a {
	color: #3272AF;
}

.navbar-nav>li.captainform-game-helper>a{
	border: none;
	padding: 0;
}

.navbar-nav>li.captainform-game-helper>a:hover {
	background-color: transparent;
}

.navbar-brand {
	    position: relative;
	    height: 70px;
	    font-size: 12px;
}

.navbar-brand span,
.navbar-brand:hover span {
	color: #fff;
	padding-right: 25px;
	font-style: italic;
	font-weight: 600;
}

#logo-text {
	position: absolute;
	bottom: 0;
	right: 0;
}

.captainform-game-helper img {
	cursor: pointer;
}

hr {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid rgba(238, 238, 238, 0.2);
}

h2 {
	margin: 10px auto 5px auto;
	font-size: 20px;
	font-weight: 400;
}

.blue-text {
	color: #3272AF;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	background: rgba(0, 0, 15, .85);
	z-index: 9999;
	display: none;
	padding: 20px;
	text-align: center;
}

.popup-content {
	margin: auto;
	text-align: center;
	font-size: 20px;
}

.pause-bar {
	display: inline-block;
	background: #fff;
	height: 100px;
	width: 25px;
	margin: 10px;
	margin-bottom: 30px;
}

#reached-discount-congrats {
	font-size: 40px;
}

#reached-discount-amount {
	font-size: 68px;
	font-weight: 700;
}

#game-reached-step-buttons {
	margin-top: 10px;
	font-size: 14px;
}

#game-reached-step-buttons button {
	border-radius: 3px;
	border: none;
	padding: 10px;
	color: #3272AF;
	background: #fff;
	margin-right: 10px;
	margin-left: 10px;
}

#game-reached-step-buttons button.blue {
	background: #3272AF;
	color: #fff;
}

#game-reached-step-disclaimer {
	margin: auto;
	margin-top: 30px;
	font-size: 12px;
	text-align: left;
	display: inline-block;
	width: 380px;

}

#game-reached-step-disclaimer p {
	padding: 0;
	margin: 0;
}

#game-reached-step-email-error {

}

/*GAME INFO*/
#game-info-content {
	width: 50%;
	overflow: auto;
	max-height: 100%;
	padding: 20px;
}

#game-info-title {
	text-align: left;
}

#game-info-image {
	margin-top: 30px;
	margin-bottom: 30px;
}

#game-info-terms {
	text-align: left;
}

#game-info-terms .term {
	margin-top: 15px;
	font-size: 14px;
}

#game-info-terms .term .term-title {
	font-weight: 600;
	text-transform: uppercase;
}

#game-info-terms a {
	color: #fff;
	text-decoration: underline;
}

#game-mobile-version-content .logo,
#game-old-browser-version-content .logo {
	padding-bottom: 20px;
}
/*GAME INFO END*/

#game {
	width: 100%;
	height: 100%;
	min-height: 500px;
	display: block;
}

#captainform-game-score-info {
	padding-right: 40px;
}

#score {
	font-weight: bold;
	font-size: 65px;
	line-height: 55px;
}

#captainform-game-next-shape-section h2 {
	margin-bottom: 10px;
}

#lines {
	font-size: 35px;
	font-weight: bold;
	line-height: 35px;
}

#captainform-next-shape-canvas-holder {
	background-color: rgba(30, 30, 30, .5);
	border: 2px solid #fff;
	width: 150px;
	height: 150px;
	padding: 30px;
	border-radius: 10px;
	float: right;
	position: relative;
}

#captainform-next-shape-canvas {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

#captainform-game-discount-section ul {
	float: right;
}

#captainform-game-discount-section ul li span {
	font-weight: 700;
}

#captainform-game-discount-section div {
	text-align: right;
}

#restart-game-buttons {
	margin-top: 10px;
}

#restart-game-buttons button {
	margin: 5px;
}

#cancel_restart_game {
	color: #000;
}

#game-first-screen-content .logo {
	margin-top: 20px;
	margin-bottom: 100px;
}

#game-first-screen-content .instructions {
	margin-bottom: 100px;
}

#game-first-screen-content #start_game {
	padding-left: 50px;
	padding-right: 50px;
}

.popup .close-popup {
	position: absolute;
	top: 10%;
	right: 10%;
	cursor: pointer;
	width: 36px;
	height: 36px;
	background-image: url('../images/close_button.png');
}

#captainform-game-holder {
	width: 100%;
	height: 100%;
	max-height: 500px;
	position: relative;
	display: block;
	vertical-align: top;
	border: 2px solid #fff;
	border-radius: 10px;
	margin: auto;
	padding: 10px;
	background-color: rgba(30, 30, 30, .5);
}

#captainform_game_canvas {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
}

#captainform-game-social {
	float: right;
	position: fixed;
	bottom: 0px;
	right: 0;
	width: 100%;
	text-align: right;
	z-index: 2;
}

#captainform-game-social-content {
	background: #000;
	padding: 15px;
}

#black-skew-wrapper {
	background-image: url('../images/black_skew.png');
	background-repeat: no-repeat;
	background-size: cover;
	height: 72px;
}

#captainform-game-social #social-share-buttons {
	display: inline-block;
	padding-left: 10px;
}

#captainform-game-social #social-share-buttons .social_text {
	display: inline-block;
	padding: 0 10px;
}

#captainform-game-social #social-share-buttons .counter {
	border-radius: 0;
	line-height: 34px;
	height: 100%;
	display: inline-block;
	padding-right: 15px;
	padding-left: 15px;
}
#captainform-game-social #social-share-buttons .share {
	padding-right: 0;
	border: 0;
	border-radius: 0;
	padding: 0;
	height: 40px;
	display: inline-block;
	cursor: pointer;
}

#captainform-game-social #social-share-buttons .s_facebook {
	background: #3E599A;
}

#captainform-game-social #social-share-buttons .s_facebook .counter {
	background: #4665AF;
}

#captainform-game-social #social-share-buttons .s_twitter {
	background: #4B8CBE;
	line-height: 37px;
}

#captainform-game-social #social-share-buttons .s_twitter .counter {
	background: #5E9ECF;
	display: none;
}

#captainform-game-social #social-share-buttons .s_plus {
	background: #B8382E;
}

#captainform-game-social #social-share-buttons .s_plus .counter {
	background: #D24238;
}

#menu {
	display: inline-block;
	vertical-align: top;
	position: relative;
}

#menu p {
	margin: 0.5em 0;
	text-align: center;
}

#menu p a {
	text-decoration: none;
	color: black;
}

/*nicu*/
.blockrain-game-over-holder,
.blockrain-start-holder,
.blockrain-game-paused-holder{
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: rgba(0, 0, 0, 1);
	/*background-image: url('../images/captainform_game_controls_arrows.png');	`
	background-repeat: no-repeat;
	background-size: 95%;
	background-position: center;
	*/
	-webkit-background-size:;
	width: 100% !important;
	height: 100% !important;
	text-align: center;
	border-radius: 0.4em;
}

.blockrain-start a,
.blockrain-start a:hover,
.blockrain-start a:active {
	color: #fff !important;
}

.blockrain-start a:hover {
	opacity: .8;
}

.blockrain-start-holder,
.blockrain-game-paused-holder {
	background-color: rgba(0, 0, 0, .5);
}

.blockrain-game-over-holder,
.blockrain-game-paused-holder {
	background-image: none;
}

#captainform-game-holder a:hover{
	text-decoration: none;
}

.blockrain-game-over-msg,
.blockrain-game-paused-msg,
.blockrain-start{
	margin-top: 55%;
	font-size: 50px;	
}
.blockrain-start{
	cursor: pointer;
	text-decoration:none;
}

.blockrain-btn.blockrain-game-over-btn,
.blockrain-game-paused-btn{
	font-size: 20px;
	cursor: pointer;
}
.blockrain-score-holder{
	display:none !important;
}

/*redeem code */
#continue_playing_box{
	display:none;
	max-width: 400px;
	margin: 0 auto;
	margin-top:20px;
}
#continue_playing_box input[type="email"]{
	padding: 5px;
    max-width: 300px;
    height: 40px;
    color: #000;
	display:inline-block;
}

#game-reached-step-email-error {
	color: #D61B17;
}

#game-reached-step-email-success {
	font-size: 24px;
}

/* touch */
/* Touch Controls */
.blockrain-touch {
  position: absolute;
  width: 50px;
  height: 50px;
  display: none;
  border-radius: 100%;
  border: 1px solid white;
  background: rgba(255,255,255,0.2);
  z-index: 10;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  line-height: 50px;
  text-align: center;
  color:#FFF;
}
.blockrain-touch:active {
  background: rgba(255,255,255,0.3);
}

.blockrain-touch-left {
  left: -60px;
  bottom: 10px;
}
.blockrain-touch-left::after {
  content: "<";
}
.blockrain-touch-right {
  right: -60px;
  bottom: 10px;
}
.blockrain-touch-right::after {
  content: ">";
}

.blockrain-touch-rotate-left {
  left: -60px;
  bottom: 80px;
}
.blockrain-touch-rotate-left::after {
  content: "<o";
}

.blockrain-touch-rotate-right {
  right: -60px;
  bottom: 80px;
}
.blockrain-touch-rotate-right::after {
  content: "o>";
}

.blockrain-touch-drop {
  left: 50%;
  margin-left: -25px;
  bottom: -60px;
}
.blockrain-touch-drop::after {
  content: ".";
}

#game-info-content::-webkit-scrollbar {
	width: 12px;
}

#game-info-content::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
	border-radius: 10px;
}

#game-info-content::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
}

.nav>li>a:focus {
    background-color: transparent;
	color: #ffffff;
}

.nav>li>a:hover {
    background-color: #eee;
	color: #3272AF;
}