/*! 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;
}

.top-group-label {
    position: relative;
    color: #888;
    display: block;
    font-size: 10px;
    line-height: 10px;
    text-align: center;
    width: 100%;
}

.top-group-label2 {
    position: relative;
    margin-top: 4px;
    margin-left: 10px;
    color: #888;
    display: block;
    font-size: 9px;
    line-height: 9px;
}

.left-separator {
    margin-left: 0px;
    padding-left: 0px;
    border-left: none;
}

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


nav li.link-head a {
    color: #09f;
    margin-bottom: 0px;
    font-weight: normal;
}

nav li.link-head a:hover, nav li.link-head a:visited {
    color: #09f; 
}

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

.top-item {
    position: relative;
}

.sub-col {
    width: 100%;
    float: none;
    line-height: 15px;
    margin-top: 20px;
}

.sub-col li {
    display: block;
    width: 48%;
    float: left;
}

.sub-narrow-col {
    width: 100%;
    float: left;
}

nav li.link-head {
    width: 100%;
    float: none;
}

nav li a.top-buffer {
   margin-top: 24px; 
}

.no-link:hover {
    text-decoration: none !important; 
}

/* - - 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: auto;
  font-weight: bold;
  display: block;
}

.second-level {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 1em;
  font-size: 14px;
  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: 5px;
  float: left;
  color: #0000ff;
  background-color: #efefef;
}

.wide-menu {
  width: 100%;  
}

.medium-menu {
  width: 100%; 
}

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


/* ==========================================================================
   415 media query
   ========================================================================== */

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

    .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 a {
        float: left;
        width: 100%;
        margin: 0 2px;
        padding: 10px 10px;
        margin-bottom: 0;
        text-align: center;
    }

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

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

/* - - ie styles - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

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


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

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

/* - - Tablet 1: CSS3 Effects - - - - - - - - */

    #kiosk-details {
      width: 70%;
      display: inline-block;
    }
   
    .wrapper {
      width: 480px;
    }
    
    header.wrapper {
      width: 100%;      
    }
    
   nav ul.first-level > li {
      position: relative;
      display: inline-block;
      width: 26%;
      text-align: left;
      margin-bottom: -10px;
   }

/* - - 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: 130px;
      background-color: transparent;
    }

    .sub-col {
        width: 130px;
        float: left;
    }
    
    .sub-narrow-col {
        width: 120px;
        float: left;
    }
    
    .main {
        padding: 30px 15px;
    }
   
    .top-group-label {
        position: absolute;
        top: 4px;
        left: 8px;
        color: #888;
        display: block;
        font-size: 10px;
        line-height: 10px;
        text-align: left;
    }    
    
    nav ul.first-level li {
      width: auto; 
    }

    nav li a.top-buffer {
       margin-top: 0px; 
    }
        
    .wide-menu {
      width: 550px;  
    }
    
    .medium-menu {
      width: 500px; 
    }
    
}



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

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

    .wrapper {
      width: 768px;
    }

    header.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: 82%;
        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;
   }
    
    .top-group-label2 {
        position: relative;
        margin-top: 4px;
        margin-left: 10px;
        color: #888;
        display: block;
        font-size: 9px;
        line-height: 9px;
    }
         
    .left-separator {
        margin-left: 5px;
        padding-left: 15px;
        border-left: 1px solid #bcbcbc;
    }
      
    #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 {
      padding-top: 10px;
      padding-bottom: 10px;      
    }

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

    .wide-menu {
      width: 650px;  
    }
    
    .medium-menu {
      width: 90%; 
    }
    
    .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;
    }
}