/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

@font-face {
  font-family: "bfg fonts";
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Luxurian Pro AOE.otf'), url('../fonts/Luxurian Pro AOE.eot?#iefix') format('embedded-opentype');
       /*url('../fonts/Luxurian Pro AOE.otf.woff2') format('woff2'),
       url('../fonts/Luxurian Pro AOE.otf.woff') format('woff'), 
       url('../fonts/Luxurian Pro AOE.otf.ttf')  format('truetype'),
       url('../fonts/Luxurian Pro AOE.otf.svg#svgFontName') format('svg'); /* Legacy iOS ;*/
}

@font-face {
  font-family: 'EdGothic';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ed-gothic-webfont.eot#iefix') format('embedded-opentype'), url('../fonts/ed-gothic-webfont.woff') format('woff'), url('../fonts/ed-gothic-webfont.ttf') format('truetype'), url('../fonts/ed-gothic-webfont.svg#EdGothic') format('svg');
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#container  {
  width: 100%;
  margin: 0 auto; 
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  text-shadow: none !important;
}
#pageone {
            z-index: 99999999;
        }
.wrapper {
  width: 980px;
  margin:0 auto;
}
/* =============================
   Header
   ============================= */
header {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px;
  position: relative;
  text-align: left;
  z-index: 1000
}

header .header-title {
  background: none repeat scroll 0% 0% #1A4F8A;
  height: 29px;
  width:auto;
  min-width: auto;
  line-height: 29px
;  position: relative;
}

header .header-title .wrapper {
  display: block;
}


header .header-title .bfg-branding{
  position: absolute;
  left: 0px;
  width: 33%;
}

header .header-title .bfg-branding .bfg-tagline{
  color: #FFF;
  font-family: 'EdGothic' ,Arial,sans-serif;
  font-weight: normal;
  font-size: 20px;
  margin-left: 116px;
  position: absolute;
  white-space: nowrap;
}

header .header-title .bfg-user-nav {
  float: right;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px;
  text-align: left;
}

header .header-title .bfg-user-nav ul {
  list-style: outside none none;
  margin: 0px;
  padding: 0px;
}

header .header-title .bfg-user-nav .nav-list > li {
    float: left;
    position: relative;
}

header .header-title .bfg-user-nav .nav-list {
  float: right;
  font-size: 11px;
  line-height: 30px;
  margin-right: 2em;
}


header .header-title .bfg-user-nav a {
    color: #FFF;
    font-weight: normal;
    text-decoration: none;
}

header .header-title  .bfg-user-nav .nav-list > li > a {
    border-left: thin solid #FFF;
    padding: 0px 7px 1px;
}

header .header-title .bfg-user-nav li:first-child > a {
    border: medium none;
}


header .header-menu {
  top: 0px;
  left: 0px;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
  height: 42px;
  width:auto;
  min-width: auto;
  max-height: 60px;
  background: #f2f8ff; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YyZjhmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5Y2I4ZGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #f2f8ff 0%, #9cb8dd 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f8ff), color-stop(100%,#9cb8dd)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #f2f8ff 0%,#9cb8dd 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #f2f8ff 0%,#9cb8dd 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #f2f8ff 0%,#9cb8dd 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #f2f8ff 0%,#9cb8dd 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f8ff', endColorstr='#9cb8dd',GradientType=0 ); /* IE6-8 */
  position: relative;
}

header .header-menu ul {
  list-style: outside none none;
  margin: 0px;
  padding: 0px;
}

header .header-menu .bfg-primary-nav{
  float: left;
  height: 42px;
  line-height: 36px;
  margin-left: 117px;
}

header .header-menu .bfg-primary-nav > li {
    background: url("../img/icon_sprite.png") no-repeat scroll left top transparent;
    float: left;
    font-family: EdGothic,Arial,sans-serif;
    font-weight: normal;
    font-size: 17px;
}

header .header-menu .bfg-primary-nav a {
    color: #039;
    font-weight: normal;
    text-decoration: none;
}

header .header-menu .bfg-nav-toggle a {
    position: relative;
    z-index: 2;
}


header .header-menu .bfg-primary-nav > li a {
    padding: 4px 15px 2px;
    display: inline-block;
}

header .header-menu .bfg-primary-nav > li:last-child a {
    background: url("../img/icon_sprite.png") no-repeat scroll 100% -42px transparent;
}

header .header-menu .bfg-nav-toggle {

}

header .header-menu .wrapper .buttons
{
  display: none;
}


header .bfg-logo {
  background: url("../img/bfg_logo.png") no-repeat scroll left top transparent;
  position: absolute;
  top: 6px;
  left: 20px;
  margin:0;
  padding:0;
  z-index: 40;
}

header a.logo {
  text-decoration: none;
  width: 90px;
  height: 90px;
  text-indent: -999px;
  display: block;
}

/* =============================
   Nav-Menu
   ============================= */
.haed-nav { 
  display:none;
}

header .header-menu .haed-nav { 
  display:none;
}

#slider_container {
  display: none;
}

#normal_container {
  display: block;
  background-color: #80b9e9;
}

.main-nav {
    background-color: #80b9e9;
}

.menu-set {
  height: 45px;
  padding: 30px 21px 22px 21px;
  vertical-align: middle;
}


* { margin: 0; padding: 0; }
#normal_container {}
#normal_container ul li { float: left; list-style-type: none; margin: 0 5px; }
#normal_container ul li a { background: #004b98; color: white; width: 124px; height: 35px; padding-top: 10px; display: block; 
  font-family: "bfg fonts", arial, sans-serif; text-decoration: none;   -webkit-border-radius: 9;  -moz-border-radius: 9;  border-radius: 9px;}
#normal_container ul li a:hover { background: #0069d4; }
#normal_container ul li a.selected { background-color: #f7941d; }

/* =============================
   Main
   ============================= */
main {
  width: 100%;
  text-align: center; 
  min-height: 1170px;
  margin-bottom: -65px;
  
}

.preview
{
  height: auto;
  
    
}

.preview .hero
{
  width:100%;
  height: auto;
}

.preview .hero-img {
  height: 270px;
  width: 533px;
  margin: 34px 0 0 0px;
  float:left;
  position: relative;
}

.preview .hero-img img {
  max-width: 100%;
  width:533px;
  height:auto;
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity:0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=0.5);
}

.preview .hero-img img.opaque {
  opacity:1;
  display: inline;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=1);
}

.preview .hero-img iframe {
  max-width: 100%;
  width:533px;
  height: 288px;
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity:0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=0.5);
}

.preview .hero-img iframe.opaque {
  opacity:1;
  display: inline;
  z-index: 1;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=1);
}

.preview .hero-review {
  height: 270px; 
  width: 417px;
  margin: 34px 0 0 24px;
  border: 3px solid #80b9e9;
  -webkit-border-radius: 15;
  -moz-border-radius: 15;
  border-radius: 15px;
  background-color: #3471bf;  
  float:left;
}

.preview .hero-review .review_wrap {
  width: 90%;
  margin: 0 auto;
}

.preview .hero-review .review_wrap .review_img{
  width: 100%;
  margin-top:15px;
  height: auto;
}

.preview .hero-review .review_wrap .review_desc p.game_title{
  color: #FFF;
  padding: 10px 0 8px 0;
  margin-left: 6px;
  text-align: left;
  font-family: "bfg fonts", arial, sans-serif;
  font-size: 200%;
}


.preview .hero-review .review_wrap .review_play p.game_play {
  color: #FFF;
  padding: 12px 0 0 0;
  margin-left: 8px;
  text-align: left;
  font-size: 140%;
  font-family: "bfg fonts", arial, sans-serif;
}

.preview .hero-review .review_wrap .review_desc p.game_desc{
  color: #FFF;
  width: 96%;
  text-align: left;
  font-size: 100%;
  margin: 0 auto;
  font-family: arial, sans-serif;
}

.preview .hero-review .review_wrap .review_desc{
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.preview .hero-review .review_wrap .review_devices{
  width: 100%;
  float: left;
}

.preview .hero-review .review_wrap .device{
  float: left;
  width: 22%;
  height: auto;
  padding: 15px 5px;
  color: #FFF;
  font-size: 70%;
}

.preview .hero-mobile {
  display: none;
}

.contents
{
  height: auto;
  position: relative;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1d4665', endColorstr='#3482e7',GradientType=0 ); /* IE6-8 */
}

.elements
{
  width: 100%;
  background-color: #80b9e9;
}

.elements h4 {
  display: none;
}

.element-item {
  width: 99%;
  cursor: pointer;
  position:relative;
  float: left;
  color:#DAFF00;
  width:  21.84%;
  min-height: 156px;
  height: auto;
  margin: 13px 3px 13px 23px;
    transition:height 1s;
    -moz-transition:height 1s; /* Firefox 4 */
    -webkit-transition:height 1s; /* Safari and Chrome */
    -o-transition:height 1s; /* Opera */
}

.elements img {
  width: 100%;
  height: auto;
  z-index: 90;
} 


.elements-select {
  width: 100%;
  height: auto;
  z-index: 99;
  background-color: #22F;
}


.element-item .img {
  
}

.element-item .title {
  font-size: 1.0em;
}

.element-item > * {
  margin: 0;
  padding: 0;
}

.element-item .popup {
  position: absolute;
  width: 100%;
  height: 102%;                
  background-color:rgba(0,84,166,.9);
  z-index:6;
  overflow:visible;
}

.element-item .popup .btn {
  width: 74%;
  height: auto;
  margin: 10% 0 6% 0px;
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  border: 1px solid #FFF;
  font-family: "bfg fonts", arial, sans-serif;
  color: #0054a6;
  font-size: 160%;
  background: #FFF;
  padding: 2%;
  font-weight: 800;
  display: inline-block;
}

.element-item .popup .btn:hover{
  background: #abcfee;
}
.element-item .popup .txt {
  text-align: center;
  color: #fff;
  margin: 2%;
  font-size: 70%;
}

.element-item p.title {
  display:block;
  text-align: center;
  font-family: "bfg fonts", arial, sans-serif;
}

.element-item p.element-content {
  font-size: 12px;
  padding: 0 10px 10px 10px;
  line-height: 19px;
  text-align: justify;
}

.element-item .popup .devices {
  width: 100%;
  height: auto;
}

.element-item .popup .device{
  float: left;
  width: 21%;
  height: auto;
  padding: 2%;
}

.element-item .popup img{

}

.element-item .slide_down {
  width: 99.5%;
  height: auto; 
  text-align: left;
  border: 1px solid black;
  color:#222;
  background-color: #FFF;
  position: absolute;
  display: none;
  z-index: 500;
}

.element-item .graybox { 
  position: absolute;
  width: 100%;
  height: 100%;                
  background-color:rgba(95,95,95,.8);
  z-index:5;
  overflow:visible;
  display: none;
}

.grayscale { background:none;}
.grayscale img {
  opacity: .2;
}

.element-item .graybox { 
  
}

.element-item .popup .devices .pop_iphone{ background: url(../img/pop_iphone.png) center center }
.element-item .popup .devices .pop_ipad{ background: url(../img/pop_ipad.png) center center }
.element-item .popup .devices .pop_laptop{ background: url(../img/pop_laptop.png) center center }
.element-item .popup .devices .pop_android{ background: url(../img/pop_android.png) center center }

.element-item.slot {  }
.element-item.blackjack {  }
.element-item.holdem {  }
.element-item.roulette {  }
.element-item.craps {  }
.element-item.videopoker {  }

.element-item.grayscale {background-color: none;}


/* =============================
   Footer
   ============================= */
footer {
  height: 80px;
  width: 100%;
  background-color: #fff;
  padding-top: 65px;
  font-style: italic;
  color: #ccc;
  font-size: 30px;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
    Media Query for full size screens!
   ========================================================================== */
@media (min-width: 980px) {
    body {
      background: url(../img/bg-sky.PNG) no-repeat center 0 #091438;   
    }
    
    main {
        background: url("../img/bg-playgrids.png") no-repeat 50% 0;
    }
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 767px) and (max-width: 979px) {


.wrapper { width: 100%; max-width: 767px; margin: 0 auto; }

/* =============================
   Header
   ============================= */
header .header-title {
  margin: 0 auto;
  min-width: auto;
}


header .header-menu {
  min-width: auto;
}

/* =============================
   Nav-Menu
   ============================= */

.menu-set {
  height: 45px;
  padding: 30px 3% 22px 3%;
  vertical-align: middle;
}


* { margin: 0; padding: 0; }
#normal_container {}
#normal_container ul li { width: 13%; float: left; list-style-type: none; margin: 0 0.6%; }
#normal_container ul li a { background: #004b98; color: white; width: 100%; height: 30px; padding-top: 10px; display: block; font-size: 90%;
  font-family: "bfg fonts", arial, sans-serif; text-decoration: none;   -webkit-border-radius: 9;  -moz-border-radius: 9;  border-radius: 9px;}
#normal_container ul li a:hover { background: #0069d4; }
#normal_container ul li a.selected { background-color: #f7941d; }

/* =============================
   Main
   ============================= */
main {
  width: auto;
  background-color: #1d4665; /* Old browsers */
  text-align: center;
  
}

.preview
{
  height: auto;
  width: auto;
  max-width: 979px;
  min-width: auto;
  position: relative;
}

.preview .hero-review {
  height: 270px; 
  width: 27.7%;
  margin: 34px 0 0 2%;
  background-color: #3471bf;  
  float:left;
}

.preview .hero-review .review_wrap {
  width: 100%;
  margin: 0 auto;
}


.preview .hero-review .review_wrap .review_img{
  width: 100%;
  margin-top:15px;
  height: auto;
}

.preview .hero-review .review_wrap .review_desc p.game_title{
  color: #FFF;
  padding: 12px 0;
  text-align: center;
  font-size: 140%;
}

.preview .hero-review .review_wrap .review_desc p.game_desc{
  color: #FFF;
  width: 94%;
  text-align: left;
  font-size: 80%;
  margin: 0 auto;
}

.preview .hero-review .review_wrap .review_devices{
  width: 100%;
  float: left;
}

.preview .hero-review .review_wrap .device {
  float: left;
  width: 21%;
  height: auto;
  padding: 2%;
  color: #FFF;
  font-size: 70%;
}

.preview .hero-review .review_wrap .device img{
  width: 80%;
  max-width: 80%;
}
    
.preview .hero-review .review_wrap .device iframe{
  width: 80%;
  max-width: 80%;
}    

.preview .hero-img {
  height: 270px;
  width: 69.49%;
  float:left;
  margin: 34px 0 0 0px;
}

.preview .hero-mobile {
  display: none;
}

.preview .hero-img img {
  width: auto;
  max-height:100%;
  height:100%;
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity:0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=0.5);
}
    
.preview .hero-img iframe {
  width: auto;
    width: 100%;
  max-height:100%;
  height:100%;
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity:0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=0.5);
    }

.contents
{
  height: auto;
  width: auto;
  max-width: 979px;
  min-width: auto;
  position: relative;
  background-color: none;
}

.elements
{
  width: 100%;
  background-color: #80b9e9;
}

.elements h4 {
  display: none;
}

.element-item {
  cursor: pointer;
  
  position:relative;
  float: left;
  color:#DAFF00;
  width:  29%;
  height:auto;
  margin: 8px 0.2% 8px 3%;
    transition:height 1s;
    -moz-transition:height 1s; /* Firefox 4 */
    -webkit-transition:height 1s; /* Safari and Chrome */
    -o-transition:height 1s; /* Opera */
}

.elements img {
  width: 100%;
  height: auto;
  z-index: 90;
} 

    
.elements-select {
  width: 100%;
  height: auto;
  z-index: 99;
  background-color: #22F;
}


.element-item .img {
  
}

.element-item .title {
  font-size: 1.0em;
}

.element-item > * {
  margin: 0;
  padding: 0;
}

.element-item .popup {
  position: absolute;
  width: 100%;
  height: 102%;                
  background-color:rgba(0,84,166,.9);
  z-index:6;
  overflow:visible;
}

.element-item .popup .btn {
  width: 74%;
  height: auto;
  margin: 10% 0 4% 0px;
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  font-family: "bfg fonts", arial, sans-serif;
  color: #0054a6;
  font-size: 120%;
  background: #FFF;
  padding: 4%;
  font-weight: 800;
  display: inline-block;
}

.element-item .popup .txt {
  text-align: center;
  color: #fff;
  margin: 3%;
  font-size: 70%;
}

.element-item p {
  display:block;
  text-align: center;
  font-size: 90%;
  font-family: "bfg fonts", arial, sans-serif;
}

.element-item .popup .devices {
  width: 100%;
  height: auto;
}

.element-item .popup .device{
  float: left;
  width: 21%;
  height: auto;
  padding: 2%;
}

.element-item .popup img{

}

.element-item .graybox { 
  position: absolute;
  width: 100%;
  height: 100%;                
  background-color:rgba(95,95,95,.8);
  z-index:5;
  overflow:visible;
}

}



/* Smartphones (portrait and landscape) ----------- */  
@media only screen and (max-width : 767px) {  
/* Styles */  
  .wrapper { width: 100%; max-width: 480px; margin: 0 auto;
}

header {
  width:100%;
  height:auto;
}

header .header-title {
  width: 0;
  height: 0;
  margin: 0 auto;
}
header .header-title .bfg-branding .bfg-tagline{
  display: none;
}

header .header-title .bfg-user-nav {
  display: none;
}

header .header-menu {
  width: 100%;
  height: 54px;
  max-width: 100%;
  min-width: auto;
  background: linear-gradient(to bottom, #F2F8FF, #9CB8DD) repeat scroll 0% 0% #9CB8DD;
  z-index:30;
  position: fixed;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
}

header .header-menu .bfg-primary-nav{
  display: none;
}

header .header-menu .wrapper .buttons
{
  display: block;
  z-index:30;
}

header .header-menu .wrapper .nav-btn a{
  width: 30px;
  height: 30px;
  font-size: 32px;
  color: #0054a6;
  font-weight: bold;
  left:10px;
  top:6px;
  text-decoration: none !important;
  position: fixed;
  float:left;
  z-index:30;
  cursor: pointer;
}

header .bfg-logo {
  background: url("../img/bfg_logo.png") no-repeat scroll left top transparent;
  position:fixed;
}

header a.logo {
  vertical-align: middle;
  width: 90px;
  height: 90px;
}

.haed-nav { 
  display:block;
}


.main-nav {
    background-color: #80b9e9;
    position: relative; 
    overflow: hidden;
}

#normal_container {
  display: none;
}

#slider_container{
  display:block;
  cursor: move;
  width:100%;
  height:52px;
  position:relative; 
  overflow:hidden;
}

/* delete */



#slider_container .menu-set {  
    background: #004b98;
    margin: 0px 0px 0px 0px;
    padding: 0px;
    cursor: move;
    display: block;
    left: 0px; top: 0px; 
    height: 52px;
    width: 100%;
    text-align:center;
    position:absolute;
    overflow: hidden;
}

* { margin: 0 auto;  vertical-align: middle; }
#slider_container div { float: left; pointer-events: none; list-style-type: none; width: 160px; height: 52px; margin: 0 0; }
#slider_container div span { vertical-align:middle; text-align: center }
#slider_container div a { font-size: 90%; color:#00A5FF; padding: 15px 0 0 0; cursor: move; background-color: #004b98; display: block; font-family: "bfg fonts", arial, sans-serif; width: 100%; height: 52px; text-decoration: none; vertical-align:middle;
  -webkit-border-radius: 0;  -moz-border-radius: 0;  border-radius: 0px;}
#slider_container div a.selected { color: #EEE; font-size: 110%;}


#slider_container .left, .right{
    position: absolute;
    cursor: pointer;
    display: block;
    
    overflow: hidden;
    width: 40px; 
    height: 50px;
}
#slider_container .left {
    background: url(../img/arrow_left.png) top right no-repeat;
    opacity:0.5;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=0.5);
}

#slider_container .right {
    background: url(../img/arrow_right.png) top left no-repeat;
    opacity:0.5;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=0.5);
}

#slider_container .left:hover {
    opacity:0.8;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=0.8);
}

#slider_container .right:hover {
    opacity:0.8;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=0.8);
}
/* =============================
   Main
   ============================= */
body {
    background-color: #1d4665; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    position: relative; 
}
    
main {
    width: 100%;
    background: url("../img/bg-playgrids.png") no-repeat 50% 0;
}

#container
{
  background-color: #1d4665;
}

.preview
{
  max-width: 480px;
  min-width: auto;
  height: auto;
  background-color: #f0493e;
  position: relative;
  overflow: hidden;
  padding-bottom: 34px;
  margin: 0 auto;
}


.preview .hero-img {
  display: none;
}

.preview .hero-review {
  display:none;
}

.preview .hero-mobile {
    max-width:100%;
    height:auto;
    margin: 0 auto;
    display: block;
    margin-top: 40px;
    /*background-color: #f0493e;*/
}

.preview .hero-mobile img {
  max-width: 100%;
  height:auto;
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity:0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=0.5);
}


.preview .hero-mobile img.opaque {
  opacity:1;
  display: inline;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=1);
}
    
.preview .hero-mobile iframe {
  max-width: 100%;
  height:auto;
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  opacity:0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=0.5);
}


.preview .hero-mobile iframe.opaque {
  opacity:1;
  z-index: 1;
  display: inline;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=1);
}

.preview .hero-mobile .btn {
  width: 40%;
  height: auto;
  margin-top: 30%;
  margin-left: 24%;
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  font-family: "bfg fonts", arial, sans-serif;
  color: #ffffff;
  font-size: 18px;
  background: #0054a5;
  padding: 4%;
  text-decoration: none;
  position: absolute;

  z-index: 5;
  cursor: pointer;
}

.preview .hero-mobile .btn:hover {
  background: #80b9e9;
  text-decoration: none;
}

.contents
{

}

.elements
{
  padding: 16px 0px;
  margin: 0 auto;
}

.element-item {
  color:#DAFF00;
  width: 46%;
  height:auto;
  min-height: 10px;
  margin: 6px 1% 6px 2.5%;
    transition:height 1s;
    -moz-transition:height 1s; /* Firefox 4 */
    -webkit-transition:height 1s; /* Safari and Chrome */
    -o-transition:height 1s; /* Opera */
}

.element-item .popup .btn {
  width: 74%;
  height: auto;
  margin: 8% 0 8% 0px;
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  font-family: "bfg fonts", arial, sans-serif;
  color: #0054a6;
  font-size: 90%;
  background: #FFF;
  padding: 4%;;
  font-weight: 800;
  display: inline-block;
}
.element-item {

}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
       /* text-decoration: underline;*/
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Globals
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
button {
    font-family: "bfg fonts", arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 600;
    width: 100%;
    height: 1000%;
    background: rgba(0, 0, 0, 0.8);
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Toggle Buttons
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
.buttons {
    text-align: center;
    position: absolute;
    width:42px;
    left: 10px;
}
.buttons button {
    display: block;
    margin: 0 0 4px 0;
    padding: 0;
    font-size:32px;
    background-color: #67b5d1;
}
.buttons button:hover,
.buttons button.active {
    background-color: #3184a1
}
.buttons button:focus {
    outline: none
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Menus
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
/* general style for all menus */
nav.menu {
    background-color: #80b9e9;

}
nav.menu ul {
    margin-top:44px;
    padding-top:48px;
    list-style-type: none;
}
nav.menu a {
    font-weight: 300;
    color: #fff;
}


div.close-menu {

}

div.close-menu:focus {
    outline: none
}

/* slide menu left and right, push menu left and right */
nav.slide-menu-left {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: fixed;
    z-index: 15;
    top: 0;
    width: 320px;
    max-width: 320px;
    height: 100vh;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

nav.slide-menu-left li{
    display: block;
    border-bottom: solid 1px #3184a1;
    border-top: solid 1px #b5dbe9;
    text-align: left;
}

nav.slide-menu-left span{
    color: #0054a6;
    margin-left: 10px;
}

nav.slide-menu-left li:hover span{
    color: #38c;
}

nav.slide-menu-left li:first-child{
    border-top: none
}

nav.slide-menu-left li:last-child {

}

nav.slide-menu-left a {
    display: block;
    padding: 3% 0 3% 30px;
    font-size: 16px;
    text-decoration: none !important;
}

nav.slide-menu-left a.small {
    display: block;
    padding: 2% 0 2% 30px;
    font-size: 12px
}

nav.slide-menu-left a.small img{
    width:10%;
    height:auto;
}

nav.slide-menu-left a.margin {
    margin-left : 30px;
}

nav.slide-menu-left div.close-menu {
    width: 30px;
    height: 30px;
    font-size: 32px !important;
    font-weight: bold;
    padding: 0 !important;
    left:10px;
    top:34px;
    text-decoration: none !important;
    text-shadow: none !important;
    position: fixed;
    z-index:41;
}

nav.slide-menu-left {
    left: -140%;
}

body.sml-open nav.slide-menu-left{
    left: 0
}
/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media all and (max-width: 860px) { 
  .buttons br {
      display: none
  }
  .buttons button {
      padding: 10px 20px;
  }
}

@media all and (max-width: 321px) { 
  nav.slide-menu-left{
      top: 0;
      width: 100%;
  }
  nav.slide-menu-left {
      left: -140%
  }
  body.sml-open nav.slide-menu-left {
      left: 0
  }
  #slider_container div a { font-size: 70%}
#slider_container div a.selected { color: #EEE; font-size: 90%;}
}
