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

html {
    color: #aaa;
    font-size: 1em;
    line-height: 1.4;
    box-sizing: border-box;    
}

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

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

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

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

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

textarea {
    resize: vertical;
}

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

label {
    display: block; 
}

/* - - body styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 320px;
    margin: 0 auto;
    padding: 0;
}

/* - - gray  - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.header-container {
    margin: 0;
    padding: 0;
    width: 100%;
    border-bottom: 2px solid #ccc;
}

.footer-container,
.main aside {
    border-top: 2px solid #dedede;
}

.header-container, .main aside {
    background: #ddd;
}

.title {
    margin: 0.3em 0 0 0;
    text-align: center;
}

h1 .link-to {
    color: #766;
    text-decoration: none;
    cursor: pointer;
}


/* - - mobile styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

nav ul {
/*    position: relative; */
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

nav ul.first-level > li {
    position: relative;
    
}


nav ul ul li.no-link {
    display: block;
    width: 160px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: -5px;
    padding-left: 10px;
    color: #bbb;
    z-index:20;
}

nav a {
    position: relative;
    display: block;
/*    margin-bottom: 10px; */
    padding: 10px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: #00F;
    background: #DDD;
}

nav a:hover,
nav a:visited {
    color: #00F;
}

nav a:hover {
    text-decoration: underline;
}

.has-sub, .link-to {
    cursor: pointer; 
}

.top-item {
    position: relative; 
}


.sub-col {
    width: 160px;
    float: left;
}


/* - - main content - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.main {
    padding: 30px 5px;
    box-sizing: border-box;        
}

.main article h1 {
    font-size: 2em;
}

.footer-container footer {
    color: #000;
    padding: 20px;
}


/* - - ie fix - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.ie7 .title {
    padding-top: 20px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */
/* - - custon styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

#location-bar {
  margin: 0;
  padding: 5px 0;
  width: 100%;
  font-size: 14px;
  line-height: 15px;
  background-color: #ffc;
  color: #000;
  clear: both;
}

#kiosk-intro {
  position: absolute;
  top: 5px;
  left: 0px;
  margin-left: 10px;
  cursor: pointer;
}

#display-kiosk {
  position: relative;
  padding: 24px 10px 10px 10px;
  clear: both;
}

#remove-kiosk {
  position: absolute;
  top: 5px;
  right: 20px;
  margin-left: 20px;
  cursor: pointer;
}

#kiosk-details {
  width: 70%;
  font-weight: bold;
  display: inline-block;
}

.second-level {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 1em;
  background-color: #efefef;
  border: none;
  border-top: none;
  overflow: visible;
  transition: height 1s linear;
  z-index: 10000;
}

.second-level li a {
  display: block;
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 10px;
  float: left;
  color: #0000ff;
  background-color: #efefef;
}

.locations-sub {
  text-align: left;
  color: #000;
}

.locations-sub h3 {
  margin: 10px 0 0 0;
  padding: 0;
  font-weight: normal;
  color: #888;
}

.locations-sub h4 {
  margin: 20px 0 0 0;
  padding: 0;
  font-weight: normal;
  color: #888;
}

#location-search {
  border: 1px solid #999; 
}

.findLocationsBtn {
  margin: 0;
  padding: 6px 6px 5px 6px;
  font-size: 12px;
  line-height: 12px;
  background-color: #555;
  color: #fff;
  border: none;
  border-radius: 4px;
}

.location-info {
  display: block;
  clear: both;
}

.location-info p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 14px;
}

.location-address {
  margin-bottom: 20px;
  width: 55%;
  float: left;
}

.location-address h5 {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 14px;
}

.location-actions {
  margin: 0;
  padding: 0;
  width: 35%;
  float: right;
}

.browse-box {
  margin: 0px 0 0 0;
  padding: 6px 6px 5px 6px;
  font-size: 12px;
  line-height: 12px;
  background-color: #06c;
  color: #fff;
  border: none;
  border-radius: 4px;  
}

a.show-map {
  margin: 10px 0 0 0;
  padding: 0;
  background-color: transparent;
  color: #339;
  font-size: 12px;
  line-height: 14px;
  cursor: default;
  text-align: left;
}

a.show-map:hover {
  color: #339;
  text-decoration: none;
}

.right-col {
  width: 100%;
  float: none;
  clear: both;
}

.left-col {
  width: 100%;
  float: none;
  clear: both;
}

#show-filters {
  cursor: pointer;
  margin: 0;
  padding: 9px 9px 7px 9px;
  font-size: 12px;
  line-height: 12px;
  width: 9em;
  background-color: #06c;
  color: #fff;
  border-radius: 4px;  
}

#show-filters:hover {
  background-color: #08d;
}

.filter-block {
  position: relative;
  margin: 0;
  padding: 10px;
  font-size: 14px;
  width: auto;
  float: none;
  color: #00f;
}

.filter-block h3 {
  margin: 0;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
  clear: both;
  color: #000;
}

.filter-list {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  column-count: 3;
  column-width: 0.28vw;
  clear: both;
}

.filter-block label {
  position: relative;
  display: inline-block;
  text-indent: -16px;
  margin-left: 16px;
  line-height: 15px;
  width: 95%;
  clear: left;
  cursor: pointer;
}

.msgBox {
  position: absolute;
  display: none;
  margin: 1em 0 0 0;
  padding: 0.5em 1em;
  background-color: #ffffcc;
  border-radius: 6px;
  color: #960;
  width: auto;
  z-index: 11000;
}


/* ==========================================================================
   380 media query
   ========================================================================== */

@media only screen and (min-width: 380px) {

    .selected {
        border-bottom: 3px solid #000;
        padding-bottom: 7px;
    }

    .wrapper {
      width: 100%;
    }
    
    .title {
     text-align: center;
     margin: 0.2em auto 0 auto;
    }
    
  
/* - - mobile landscape menu styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

   
   nav ul.first-level > li {
      position: relative;
      display: inline-block;
      width: 24%;
      text-align: left;
      margin-bottom: -10px;
   }
   
    nav a {
        float: left;
        width: 100%;
        margin: 0 1.7%;
        padding: 10px 2%;
        margin-bottom: 0;
        text-align: center;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    
/* - - mobile landscape custon styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */


    .second-level {
      position: absolute;
      top: 56px;
      left: 0;
      width: auto;
      border: 1px solid #ccc;
      border-top: none;
      background-color: #fff;
      overflow: visible;
      transition: height 1s linear, overflow 1s linear;
      -webkit-box-shadow: 3px 3px 5px #ccc;
      -moz-box-shadow: 0 3px 5px #ccc;
      box-shadow: 3px 3px 5px #ccc;
    }
        
    .second-level li a {
      display: block;
      text-align: left;
      width: 170px;
      background-color: #fff;
    }
        
/*
      -webkit-columns: 170px 2; 
      -moz-columns: 170px 2;
      columns: 170px 2;
*/
        
    .main {
        padding: 30px 15px;
    }
   
/* - - ie styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

    .oldie nav a {
        margin: 0 0.7%;
    }
}


/* ====================
    480 media query
   ==================== */

@media only screen and (min-width: 480) {

/* - - Tablet 1: CSS3 Effects - - - - - - - - */
  
    #kiosk-details {
      width: 70%;
      display: inline-block;
    }
   
    .wrapper {
      width: 100%;
    }
  
    .second-level {
      padding-top: 10px;
      padding-bottom: 10px;      
    }  
  
}


/* ====================
    768 media query
   ==================== */

@media only screen and (min-width: 768px) {

    .wrapper {
      width: 768px;
    }
  
    .header-container,
    .main aside {
       -webkit-box-shadow: 0 3px 5px #eee;
       -moz-box-shadow: 0 3px 5px #eee;
       box-shadow: 0 3px 5px #eee;
    }

    .title {
        margin: 0.3em 0;
        padding-left: 10px;
        float: left;
        text-align: left;
    }

    nav {
        float: left;
        width: 60%;
        padding-left: 1em;
    }

    nav a {
       width: auto; 
    }

    
   nav ul.first-level > li {
      position: relative;
      display: block;
      width: auto;
      text-align: left;
      margin-right: 2em;
      margin-bottom: 0;
   }
   
    #display-kiosk {
       padding: 0 20px; 
    }
       
    #kiosk-intro {
      position: relative;
      margin-left: 0;
      cursor: pointer;
      float: left;
    }
    
    #kiosk-details {
      position: relative;
      padding: 5px 10px 10px 10px;
      clear: none;
    }
    
    #remove-kiosk {
      position: relative;
      cursor: pointer;
      float: right;
    }
   
    .second-level {
      position: absolute;
      top: 50px;
      left: 0;
      width: auto;
      border: 1px solid #ccc;
      border-top: none;
      overflow: visible;
      transition: height 1s linear, overflow 1s linear;
    }

    .right-col {
      margin: 0;
      padding: 0;
      width: 560px;
      float: right;
      clear: none;
    }
    
    .left-col {
      margin: 0;
      padding: 0;
      width: 160px;
      float: left;
      clear: none;
    }

    .filter-block {
      margin: 0 0 20px 0;
      padding: 0;
      font-size: 14px;
      width: auto;
      float: left;
    }
    
    .filter-block h3 {
      margin: 0;
      padding: 0;
      color: #000;
      font-size: 16px;
    }
    
    .filter-block label {
      text-indent: -16px;
      margin-left: 16px;
      line-height: 18px;
      display: block;
    }

    .filter-list {
      column-count: auto;
      column-width: auto;
    }

    .main article {
        float: left;
        width: 100%;
    }
            
}


/* ====================
    1140 media query
   ==================== */

@media only screen and (min-width: 1140px) {

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .right-col {
      width: 800px;
    }
    
    .left-col {
      width: 160px;
    }
    
}


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

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

.visuallyhidden {
    position:absolute;
    left:-10000px;
    top:auto;
    padding: 0;
    width:1px;
    height:1px;
    overflow:hidden;
    transition: height .2s linear;
}

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    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;
    }
}