﻿#canvas-wrap {
    height: 100%;
    overflow: hidden;
    background: url(art_assets/spider_game_bg.png) no-repeat;
    background-size: cover;
}

#canvas-resources {
    display: none;
}

#ui-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.lite-red {
    color: #fff2f2;
}

.lite-green {
    color: #e4ffe5;
}

.lite-yellow {
    color: #fcfedf;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
}

/* MODAL */

.modal {
    /*opacity: .7;*//
    display: inline-block;
    pointer-events: auto;
}

/* .modal:hover {
    opacity: 1;
}
 */
.modal-controls, .modal-control, .modal-title, .modal-left, .modal-right {
    display: inline-block;
}

/* MODAL - left */

/* MODAL -left - top */

.modal-left-top, .modal-right-top {
    font-size: .8em;
    vertical-align: bottom;
    position: relative;
    z-index: 5;
    opacity: .6;
    color: #e7f2c3;
    border-radius: .5em .5em 0 0;
}

.modal-left-top {
    background-color: #333333;
    border: black solid .1em;
}

.modal-left-top, .modal-title {
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.modal-left-top:active, .modal-title:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

/* .modal-left-top:hover, modal-right-top:hover {
    opacity: 1;
} */

.modal-title {
    float: left;
    color: lightgray;
    padding: 0 .1em;
}

.modal-controls {
    cursor: default;
    text-align: center;
    float: right;
    margin: 0 0 .1em .25em;
}

.modal-control {
    cursor: default;
    text-align: center;
    vertical-align: bottom;
    opacity: .8;
    padding: 0 .1em;
    margin: 0 .1em;
}

.modal-control:hover {
    opacity: 1;
    color: black;
    background-color: white;
}

/* MODAL - left - bottom 

.modal-left-bottom {
    padding: .2em .35em;
    background: black;
    opacity: 0.8;
    color: white;
    border-radius: 0 0 .4em .4em;
}

.modal-left-bottom:hover {
    opacity: 1;
}*/

/* MODAL - right */
.modal-right {
    vertical-align: top;
    opacity: 0.7;
    color: #ffffff;
}

.modal-right:hover {
    opacity: 1;
}

/* MODAL - right - top */
.modal-right-top {
    min-height: 1.45em;
}

/* MODAL - right - bottom */

.modal-right-bottom {
    background-color: black;
    border-top-right-radius: .4em;
    border-bottom-right-radius: .4em;
}

.modal-drag-handle {
    width: .55em;
    height: 1.3em;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.modal-drag-handle:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.modal-btn {
    cursor: default;
}

/* MODAL */

/* Global Options Dlg */

#global-settings-open-wrap {
    position: absolute;
    background: black;
    opacity: 0.8;
    border-radius: .5em;
    pointer-events: auto;
    bottom: 1em;
    right: 1em;
}

#global-settings-open-wrap:hover {
    opacity: 1;
}

#global-settings-open-btn {
    font-size: 1.5em;
}

#dim-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    z-index: 1000;
    pointer-events: auto;
}

#global-options-dlg {
    opacity: 0.9;
    position: absolute;
    width: 11em;
    height: 23em;
    z-index: 1001;
    background: black;
    border-radius: .75em;
    padding: .3em;
    color: white;
    border: #191919 solid .15em;
    box-shadow: #3b3b3b .1em .1em;
    pointer-events: auto;
}

#global-options-header {
    width: 100%;
    height: 1.5em;
    position: relative;
    background-color: #161600;
    border-top-left-radius: .75em;
    border-top-right-radius: .75em;
    padding: 0 .2em;
    margin: -.2em -.2em -.2em -.2em;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

#global-options-header:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#global-options-close-btn {
    cursor: default;
    border-radius: .3em;
    padding: 0.1em;
}

#global-options-close-btn:hover {
    background: white;
    color: black;
}

.global-options-section {
    border-radius: .5em;
    margin-bottom: -.25em;
    padding: .4em;
}

.global-options-section legend {
    font-size: 1em;
    color: white;
    display: block;
}

.global-options-section button {
    width: 100%;
}

/* Global Options Dlg */

/* Custom Buttons */
/* http://www.bestcssbuttongenerator.com/ */
button {
    /*border-radius: .3em;
    background-color: #191919;
    color: white;
    border: gray solid .1em;*/
	border:0px;
	vertical-align:super;
	background:none;
}

/*button:hover {
    background-color: black;
}

button:disabled {
    background-color: #4e4e4e;
    color: #797979;
}
*/
/* Custom Buttons */
#bottom_container{
	width:100%;
	position:absolute;
	bottom:0px;
	background-image:url(art_assets/menu/bg.png) ;
	height:46px;
}
#game-ctrls-wrap{
	padding-top:15px;
	width:100%;
}
.inner_div {
    display: inline-block;
    margin-left: 7%;
    width: 700px;
	vertical-align:top;
}
.newgame-btn{
	background-image:url(art_assets/menu/newgame.png) ;
	width:86px;
	height:24px;
	cursor:pointer;
}
.newgame-btn:hover{
	background-image:url(art_assets/menu/newgame_hover.png);
}
.newgame-btn-won{
	background-image:url(art_assets/menu/start_new_game.png) ;
	width:141px;
	height:24px;
	position:absolute;
	bottom:0px;
	margin-left: 171px;
	cursor:pointer;
}
.newgame-btn-won:hover{
	background-image:url(art_assets/menu/start_new_game_hover.png);
}
.restart_btn{
	background-image:url(art_assets/menu/replay.png) ;
	width:132px;
	height:24px;
	cursor:pointer;
}
.restart_btn:hover{
	background-image:url(art_assets/menu/replay_hover.png);
}
.undo_btn{
	background-image:url(art_assets/menu/undo.png) ;
	width:51px;
	height:24px;
	cursor:pointer;
}
.undo_btn:hover{
	background-image:url(art_assets/menu/undo_hover.png);
}
.score, .time, .replay_game, .undo_game, .start_game,.difficult_select,.sound_ctrls{
	display:inline-block;
	vertical-align: top;
}
/* .start_game{
	margin-left:110px;
} */
.difficult_select,.undo_game{
	margin-left:12px;	
}
.score, .time{
	margin-left:18px;
	margin-top:4px;
}
.replay_game{
	margin-left:22px;
}
label{
	display:inline-block;
}
.score_count, .time_count {
    display: inline-block;
	color:#ffffff;
	font-weight:bold;
	font-family:Helvetica;
	font-size:13px;
	vertical-align:top;
}
.footer_label{
	font-size:13px;
	font-weight:bold;
	font-family:Helvetica;
	color:#a9eee9;
	vertical-align: inherit;
}

input{display: none;}

input[type=checkbox]:checked+.soundimage{
	background-image:url('art_assets/menu/sound_on.png');
	background-repeat:no-repeat;
	cursor:pointer;
}
.soundimage{
	margin: 2px; 
	margin-left: 15px; 
	float: left;
	height: 16px;
	width: 19px;
	background-image:url('art_assets/menu/sound_off.png');
	cursor:pointer;
}
.soundlabel{
	height: 10px;
	width: 100%;
	position:relative;
	display:block;
	margin-top: 5px;
	cursor:pointer;
}
.cs-skin-border > span{
    background: transparent none repeat scroll 0 0 !important;
    border: 2px solid #44d7e4 !important;
    border-radius: 12px;
    color: #ffffff !important;
    font-family: helvetica;
    font-size: 11px !important;
    font-weight: bold;
    height: 15px;
    padding: 3px 0 1px 6px !important;
    vertical-align: middle;
}

.cs-skin-border > span::after, .cs-skin-border .cs-selected span::after{
	/*background-image: url("art_assets/menu/select_arrow.png");
    background-position: -5% 30%;
    color: transparent;*/
    content: "";
    /*margin-left: 0 !important;
    padding: 0 !important;
	right: 0.1em !important;
    top: 46% !important;*/
}
.selected{
	background-image: url("art_assets/menu/selected.png");
    background-position: 95% center;
    background-repeat: no-repeat;
	color:#ffffff;
}
.custom_class{
	color: #aaefed;
}
.cs-skin-border .cs-selected span::after{
	background-image: url("art_assets/menu/selected.png");
    background-position: 10% center;
    background-repeat: no-repeat;
    color: transparent;
    content: "✓";
    margin-left: 6px !important;
}
.cs-skin-border .cs-selected span{
	color:#ffffff;
}
.cs-select .cs-options{
    background-image: url("art_assets/menu/options_bg.png");
    border: 0 none;
    border-radius: 11px;
    font-size: 12px !important;
    height: 60px;
    padding-left: 2px;
    padding-top: 6px;
    position: absolute;
    top: -212%;
    width: 70px;
}
.cs-select ul span{
    color: #aaefed;
    padding-bottom: 0 !important;
    padding-left: 7px;
    padding-right: 0px !important;
    padding-top: 2px !important;
}
div.cs-skin-border{
	width:72px;
	background-image: url("art_assets/menu/select_bg.png");
	border:0px;
	border-radius:9px;
}

select {
   width: 72px;
   font-size: 12px;
   border:0px;
   color:#ffffff;
   height:24px;
   font-weight:bold;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
    background: url("art_assets/menu/select_bg.png");
	cursor:pointer;
} 
option{
    background:#3A8843;
	color:#ffffff;
	border-right:2px solid #17CCDB;
	border-left:2px solid #17CCDB;
	padding:3px;
	font-size:11px;	
	outline:0px;
	cursor:pointer;
}
option:first-child{
	border-top:2px solid #17CCDB;
	/*border-top-right-radius:5px;
	border-top-left-radius:5px;*/
}
option:last-child{
	border-bottom:2px solid #17CCDB;
	/*border-bottom-right-radius:5px;
	border-bottom-left-radius:5px;*/
}
.cs-skin-border .cs-options li span:hover,
.cs-skin-border li.cs-focus span {
	background: none !important;
}
#you_won{
	background-image: url("art_assets/celebration.png");
    background-repeat: no-repeat;
    height: 290px;
    left: 21%;
    margin: auto;
    position: absolute;
    top: 135px;
    width: 463px;
}
.showNewGameOverlay{
	background-image: url("art_assets/overlays/bg.png");
    background-repeat: no-repeat;
    height: 207px;
    left: 29%;
    margin: auto;
    position: absolute;
    top: 185px;
    width: 346px;
	z-index:110;
	padding:30px;
}
#overlay_bg{
	background-image: url("art_assets/overlays/bg_overlay.png");
	width:100%;
	height:100%;
	position:absolute;
	z-index:100;
	top:0;
	left:0;
}
.message{
	font-family:helvetica;
	font-weight:bold;
	font-size:15px;
	color:#488450;
	padding:20px;
	width:228px;
	text-align:center;
}
.buttons_pane{
	width:228px;
	text-align:center;
}
.ok{
	background-image: url("art_assets/overlays/ok.png");
    background-repeat: no-repeat;
    height: 25px;	
    width: 58px;
	display:inline-block;
	cursor:pointer;
}
.ok:hover{
	background-image: url("art_assets/overlays/ok_hover.png");
}
.cancel{
	background-image: url("art_assets/overlays/cancel.png");
    background-repeat: no-repeat;
    height: 25px;	
    width: 70px;
	display:inline-block;
	cursor:pointer;
	margin-right:9px;
	margin-left:42px;
}
.cancel:hover{
	background-image: url("art_assets/overlays/cancel_hover.png");
}
#game-ctrls-modal>.modal-left{
	width:100%;
}
#game-ctrls-modal>.modal-right{
	display:none;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  .score_count, .time_count {
	vertical-align: top;
  }
  .difficult_select,.undo_game{
    vertical-align: top;
  }
  .score, .time{
    vertical-align: super;
  }
}

.dropdown{
    padding:10px;
    padding-right:0px;
    border:1px solid #ccc;
    width:190px;
    cursor:pointer;
}
.dropdown span{
     float:right;
    margin-right:10px;
}
.option{
    display:none;
    list-style:none;
    margin-top:-1px;
    border:1px solid #ccc;
    border-bottom:0px;
    width:200px;
   padding:0px;
}
.option li{
    border-bottom:1px solid #ccc;
    cursor:pointer;    
    padding:10px;
}
li a{
    text-decoration:none;
    color:#000;
}
li:hover,a:hover{
    background:#bbb;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	select{
		padding-left:7px;
	}
}
