﻿/*
@font-face {
	font-family: 'OpenSans-Bold';
	src: url('fonts/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
}
*/
	
body {                                          /* colow1=E4E4E4   color2=A7A7A7  */
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color:#FFF;
    background-image:linear-gradient(top, #FFF3C4 0%, #FFF 51%);
    background-image:-webkit-linear-gradient(top, #FFF3C4 0%, #FFF 51%);
    background-image:-ms-linear-gradient(top, #FFF3C4 0%, #FFF 51%);
    background-image:-webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #FFF3C4),
        color-stop(0.51, #FFF)
    );
    background-attachment:fixed;
    font-family: OpenSans-Bold, sans-serif;
    font-size:12px;
    height:100%;
    margin:0;
    padding:0;
    width:100%;
}

canvas {
    -ms-touch-action:none;
}

img {
border:0;}


.page {
    display:none;       /* hide page at start */
    /*margin:20px auto;*/      /* centers page */
    //margin:0px auto;
    //width:90%;
    /*max-width:760px;*/
    max-width:800px;
    /*background-color:lightgray;*/
    //padding-bottom:10px;
    position:relative;
}

.logo {
    display:block;
    margin:0 auto 6% auto;
    width:394px;
    height:186px;
}
/*.logo {
    display:block;
    margin:0 auto 6% auto;
    width:90%;
    max-width:340px;
    height:auto;
}*/

.tt {
    font-size:9px;
    font-weight:normal;
    margin-left:20px;
}


.button {
  -webkit-tap-highlight-color:rgba(0,0,0,0);   /* prevents objects such as canvas highlighting on tap */
  color: #000;
  font-size: 1.2em;
  padding: 10px;
  text-decoration: none;
  -webkit-border-radius: 6px;
  /*-moz-border-radius: 10px;*/
  /*-webkit-box-shadow: 0px 1px 3px #999;*/
  /*-moz-box-shadow: 0px 1px 3px #666666;*/
  border-radius: 3px;
  background: #FF9933;
  text-align:center;
  max-width:300px;
  line-height:2em;
  margin: 10px auto;
  display:block;
  font-weight:bold;
  font-size:15px;
  cursor: pointer;
}

.button.short {
    line-height:1em;
}
.button.red {
    background: #FF6666;
	color:#000;
}
.button.black {
    background: #555;
    color:#fff;
}
.button.grey {
    background: #ccc;
	color:#000;
}
.button.trans {
    background: transparent;
	text-shadow:none;
	color:#000;
}

#gamelist {
    /*width:90%;*/
    /*max-width:800px;*/
    max-width:720px;
    margin:0 auto;
}
.listview {
    /*height:480px;*/
    height:100%;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
}

.listview li {
    display:inline-block;
	width:280px;
    line-height: 1.6em;
	max-height: 2.9em;
    list-style:none;
    padding:10px;
    /*background: #E0C1A3;*/
    border:1px solid #FFFFCC;
    margin:4px;
    font-size:1.4em;
    font-weight:bold;
    cursor: hand;
	cursor: pointer;
    box-sizing: content-box;
}
.listview li div{
 text-overflow: ellipsis; 
    display: block; 
    overflow: hidden; 
    white-space: nowrap;   
}

#wsGrid {
    background:#FFF;
}


.smBtn {
    line-height:2em;
    font-size:1.4em;
    background:#ccc;
    border:1px solid #555;
    padding:4px 16px;
    color:#555;
    border-radius:8px;
    cursor: hand; cursor: pointer;
    text-align: center;
}





/*  GROWL/Dialog Styles*/

.growlGrowl{
    position:absolute;
    top:200px;
    left:50%;
    width:400px;
    margin-left:-200px;
    padding:14px;
    background-color:#666;
    border-radius:.3em;
    color:#EFEFEF;
    font-weight:bold;
    z-index:9999;
    display:none
}
.growlDialog{
    position:absolute;
    top:20px;
    left:50%;
    width:460px;
    /*height:500px;*/
    height:400px;
    margin-left:-240px;
    padding:24px 14px;
    background-color:#666;
    border-radius:.3em;
    color:#FFF;
    font-weight:bold;
    z-index:9999;
    display:none
}

/* END */













.switchSelect select  {
     width: 116px;
     padding: 5px;
     border: 0;
/*     height: 38px;
     line-height: 38px;*/
     padding:4px;
     border-radius: 3px;
     text-align:center;
     /*-webkit-appearance: none;*/
     background: #4fc9ee;
     /*background-image: -webkit-linear-gradient(top, #4fc9ee, #2F97C4);
     background-image: linear-gradient(top, #4fc9ee, #2F97C4);*/
     font-size: 11px;
     font-weight:bold;
     text-shadow: 0 1px rgba(255, 255, 255, 0.25);
}
.switchSelect {
    width: 116px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    margin-left: 20px;
    border-radius: 3px;
    padding:2px;
}




.switch  {
  position: relative;
  margin-left: 20px;
  height: 26px;
  width: 120px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}



.switch-label {
  position: relative;
  z-index: 2;
  float: left;
  width: 58px;
  line-height: 26px;
  font-size: 11px;
  color: #FFF;
  text-align: center;
  /*text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);*/
  cursor: pointer;
}
.switch-label:active {
  font-weight: bold;
}

.switch-label-off {
  padding-left: 2px;
}

.switch-label-on {
  padding-right: 2px;
}

/*
 * Note: using adjacent or general sibling selectors combined with
 *       pseudo classes doesn't work in Safari 5.0 and Chrome 12.
 *       See this article for more info and a potential fix:
 *       http://css-tricks.com/webkit-sibling-bug/
 */
.switch-input {
  display: none;
}
.switch-input:checked + .switch-label {   /* Selected label */
  font-weight: bold;
  color: #000;
  text-shadow: 0 1px rgba(255, 255, 255, 0.25);
  -webkit-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
}
.switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 60px;
  /* Note: left: 50% doesn't transition in WebKit */
}

.switch-selection {
  display: block;
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 2px;
  width: 58px;
  height: 22px;
  background: #65bd63;
  border-radius: 3px;
  background-image: -webkit-linear-gradient(top, #9dd993, #65bd63);
  background-image: linear-gradient(to bottom, #9dd993, #65bd63);

  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
  -webkit-transition: left 0.15s ease-out;
  transition: left 0.15s ease-out;
}
.switch-blue .switch-selection {
  background: #2F97C4;
  background-image: -webkit-linear-gradient(top, #4fc9ee, #2F97C4);
  /*background-image: -moz-linear-gradient(top, #4fc9ee, #2F97C4);
  background-image: -o-linear-gradient(top, #4fc9ee, #2F97C4);*/
  background-image: linear-gradient(to bottom, #4fc9ee, #2F97C4);
}
.switch-yellow .switch-selection {
  background: #c4bb61;
  background-image: -webkit-linear-gradient(top, #e0dd94, #c4bb61);
  /*background-image: -moz-linear-gradient(top, #e0dd94, #c4bb61);
  background-image: -o-linear-gradient(top, #e0dd94, #c4bb61);*/
  background-image: linear-gradient(to bottom, #e0dd94, #c4bb61);
}





/* Drop menu */
/* Example */
/* <ul class="dropmenu"><li>Home</li><li>About</li><li>Portfolio<ul><li>Web Design</li><li>Web Development</li><li>Illustrations</li></ul></li><li>Blog</li><li>Contact</li></ul> */
ul.dropmenu {
  text-align: left;
  display: inline;
  margin: 0;
  padding: 35px 0px 17px 0;
  list-style: none;
  /*-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);*/
}
ul.dropmenu li {
  /*font: bold 12px/18px sans-serif;*/
  display: inline-block;
  /*margin-right: -4px;*/
  position: relative;
  padding: 15px 20px;
  background: #fff;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
ul.dropmenu li:hover {
  background: #555;
  color: #fff;
}
ul.dropmenu li ul {
  padding: 0;
  position: absolute;
  top: 48px;
  right: 0;   /* change to left to make manu open left to right */
  //width: 150px;
  width: 180px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -transition: opacity 0.2s;
  z-index:999;
}
ul.dropmenu li ul li { 
  background: #555; 
  display: block; 
  color: #fff;
  text-shadow: 0 -1px 0 #000;
}
ul.dropmenu li ul li:hover { background: #666; }
ul.dropmenu li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* end drop menu */






/*  Bouncing notification box */

#notify{
    background:#f7b0c0;
    padding:20px;
    margin-top:-10px;
    padding-top:30px;
    width:400px;
    border:1px solid #fcfcfc;
    color:#494848;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    z-index:9999;
}
#notify b {
    text-shadow:1px 1px 0 white;
    font-size:25px;
}
#notify .nBtn {
    display:inline-block;
    background:#23eabc;
    color:#000;
    padding:10px;
    margin:0 10px;
    border:1px solid #404040;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    cursor:pointer;
}
#notify .nBtn.grey {
    background:#ccc;
}

body { 

	//min-height:100%;
	background-image: url(images/background.jpg);
    //background-size: cover;
    //background-repeat: no-repeat;

}
