/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */
body {
    font-family: "proxima-nova", Arial, sans-serif;
    font-size: 16px;
    color: #222; /*#222*/
    background: #121f47;
    overflow-x: hidden;
}


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

/* Sections */
section {
    padding: 0 0;
    text-align: center;
}

section#map {
    position: relative;
    z-index: 2000;
    padding: 50px 10px;
    background-color: #e5e5e5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23c6c6c6' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

section#sect2 {
    background-color: #a03223;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23f8ab42' fill-opacity='0.2' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

section#intro {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 150px;
    background: #121f47;
}

section#footer {
    min-height: 50vh;
    background: #121f47;
    color: #fff;
    overflow: auto;
}

progress {
  /* Positioning */
  position: fixed;
  left: 0;
  top: 0;

  /* Dimensions */
  width: 100%;
  height: 5px;

  /* Reset the appearance */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;

  /* Get rid of the default border in Firefox/Opera. */
  border: none;

  /* Progress bar container for Firefox/IE10+ */
  background-color: #121f47;

  /* Progress bar value for IE10+ */
  color: #a03223;
  z-index: 1500;
}

progress::-webkit-progress-bar {
  background-color: #121f47;
}

progress::-webkit-progress-value {
  background-image: -webkit-linear-gradient(0deg, #fbb040, #a03223);
}

progress::-moz-progress-bar {
  background-image: -moz-linear-gradient(0deg, #fbb040, #a03223);
}

#overview_head {
    font-family: 'al-fresco', sans-serif;
    font-size: 6em;
    color: #f8ab42;
    line-height: 1;
    padding: .5em 0 0 0;
    z-index: 1001;
}

#overview_text {
    font-size: 2em;
    color: #fff;
    padding: 1em;
    font-weight: 300;
    z-index: 1001;
}

#overview_text b {
    font-weight: 600;
}

#overview_text b span {
    color: #f8ab42;
    text-transform: capitalize;
}

/* Map Containers */
#map_wrapper {
    text-align: center;
    padding: 0 0;
}

#map_outer {
    position: relative;
    display: block;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    width: 100%;
    max-width: 1500px;
    height: 700px;
    border: 5px solid #e5e5e5;
    overflow: hidden;
    box-sizing: border-box;
}

#map_container {
    position: relative;
    top: 0px;
    left: 0px;
    width: 75%;
    height: 700px;
    overflow: hidden;
    background: #e5e5e5;
}

#map_legend {
    position: absolute;
    top:0;
    left: 75%;
    width: 25%;
    height: 700px;
    overflow: hidden;
    background: #686868;
}

#map_unit_list {
    position: relative;
}

#map_unit_list ul {
    list-style-type: none;
    margin: 0;
    padding: 1.25em 1.25em 0 1.25em;
}

#map_unit_list ul:last-child {
    padding: 1.25em;
}

#map_unit_list ul li {
    position: relative;
    border-left: 1.5em solid #e5e5e5;
    background: transparent;
    line-height: 1.2em;
    padding: 1em 1em 1em 2.5em;
    background: #fafafa;
    transition: background .2s;
    cursor: pointer;
}

#map_unit_list ul li span.u_lab {
    position: absolute;
    display: block;
    line-height: 1.2em;
    top: 1em;
    width: 1.5em;
    left: .5em;
    text-align: left;
    font-weight: 600;
}

#map_unit_list ul li div.details_stat, #map_unit_list ul li div.details {
    max-height: 0px;
    width: auto;
    padding: 0;
    font-size: .825em;
    line-height: 1em;
    font-weight: 400;
    display: block;
    overflow: hidden;
}

#map_unit_list ul li div.details_stat.open, #map_unit_list ul li div.details.open {
    max-height: 300px;
    padding: .5em 0;
}


#map_unit_list ul li.active {
    background: #fff;
    font-weight: 700;
}

#map_unit_list ul li:hover {
    background: #fff;
}

#map_unit_list ul#icon_legend li {
    padding-left: 3.75em;
    border-left: 0em solid #fff;
    font-weight: 700;
}

#map_unit_list ul#icon_legend li span {
    
}


#map_unit_list ul#map_sect_1 li {
    border-color: #00cc35;
}

#map_unit_list ul#map_sect_2 li {
    border-color: #7406bc;
} 

#map_unit_list ul#map_sect_3 li {
    border-color: #dd0099;
}

#map_unit_list ul#map_sect_4 li {
    border-color: #ffce00;
}

#map_unit_list ul#map_sect_5 li {
    border-color: #ff7f00;
}

#map_unit_list ul#map_sect_6 li {
    border-color: #065aef;
}

#map_unit_list ul#map_sect_7 li {
    border-color: #994c00;
}

#map_unit_list ul#map_sect_8 li {
    border-color: #ff0000;
}

#map_unit_list ul#map_sect_9 li {
    border-color: #8e0000;
}

#map_base {
    overflow: hidden;
    position: relative;    
    width: 1875px;
    height: 1825px;
    background: #e5e5e5;
    opacity: 0;
    will-change: width, height;
    /* transition: width .5s, height .5s; */
}

#map_container.zoom1 #map_base {
    width: 1875px;
    height: 1825px;
    /* transform: translate(-45%,-30%) scale(.5); */
}

#map_container.zoom2 #map_base {
    width: 3750px;
    height: 3650px;
}

#label_map_init {
    visibility: hidden;
}

/*
#map_content {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    padding-top: 97.333333%;
}
*/

#crossings_map {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    z-index:0;
    overflow: hidden;
}

#logo_outer {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 75%;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
    transform: translate(-50%,0);
}

/* Logo Animations */

#mc_logo, .logo_container {
    position: relative;
    width: 100%;
    padding: 64% 0 0 0;
}

.logo_parts, .logo_act_parts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 64% 0 0 0;
    list-style: none;
    margin: 0;
}

.logo_parts li, .logo_act_parts li {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 63.64% 0 0 0;
    overflow: hidden;
    background: url('../img/mc_blu_sign_logo_parts.svg') no-repeat 50% 0%;
    background-size: 100% 900%;
    visibility: visible;
    opacity: 1;
}

/* Logo Pieces */

.logo_parts li.lp_base_plate {
    background-position: 50% 0%;
}

.logo_parts li.lp_base_plate_shad {
    background-position: 50% 12.5%;
}

.logo_parts li.lp_main_lettering_mack {
    background-position: 50% 37.5%;
}

.logo_parts li.lp_main_lettering_cross {
    background-position: 50% 50%;
}

.logo_parts li.lp_bridge {
    background-position: 50% 25%;
}

.logo_act_parts li.lp_act_bag {
    background-position: 50% 62.5%;
}

.logo_act_parts li.lp_act_fork {
    background-position: 50% 75%;
}

.logo_act_parts li.lp_act_note {
    background-position: 50% 87.5%;
}

.logo_act_parts li.lp_act_mask {
    background-position: 50% 100%;
}


/* Fade In */
.logo_container,
.logo_parts li.lp_main_lettering_mack, 
.logo_parts li.lp_main_lettering_cross,
.logo_parts li.lp_base_plate_shad, 
.logo_act_parts {
    visibility: hidden;
    opacity: 0;
}

#finish {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#finish h2 {
    text-transform :uppercase;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
}

#finish p {
    font-size: 1em;
    text-align: center;
}

/* Bezier */
#scene2 {
    text-align: center;
    margin: 0 auto;
}

#path_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 64% 0 0 0;
}

#mpaths {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    overflow: visible;
}

#mpath1 {
    /*
    stroke: #f49021;
    */
    fill: none;
}

.cls-2 {
        fill: url(#radial-gradient);
}

.cls-3 {
        fill: url(#radial-gradient-2);
}

#spark {
    opacity: 0;
}

/* Map Icons */
#locator, .icon_locator {
    position: absolute;
    top:0;
    left:0;
    display: block;
    width: 2em;
    padding-top: 2em;
    background: url('../img/map_icon_locator.svg') no-repeat 0 0;
    background-size: 100% 100%;
    z-index: 50;
    cursor: pointer;
    /* opacity: 0; */
}

.icon_locator {
    top: -30%;
    left: 25%;
    transform: translate(0,-50%) scale(2);
}

#leg_locator {
    position: absolute;
    top:-2em;
    left:1.25em;
    display: block;
    width: 1.5em;
    height: 1.5em;
    background: url('../img/map_icon_locator.svg') no-repeat 0 0;
    background-size: 100% 100%;
    z-index: 5;
    cursor: pointer;
    opacity:0;
}


.map_icon {
    position: absolute;
    /*
    width: 1.94%;
    padding-top: 1.94%;
    */
    width: 3.88%;
    padding-top: 3.88%;
    z-index:10;
    background: url('../img/map_icon_sprites.svg') no-repeat 0 0;
    background-size: 100% 600%;
    will-change: transform;
    /* transform: translate(-50%,-50%) */;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: scale3d(.5) translate(-50%,-50%);
    -moz-transform: scale(.5) translate(-50%,-50%);
    -ms-transform: scale(.5) translate(-50%,-50%);
    -o-transform: scale(.5) translate(-50%,-50%);
    transform: scale(.5) translate(-50%,-50%);
    cursor: pointer;
}

#map_container.zoom2 #map_base .map_icon {
    width: 1.94%;
    padding-top: 1.94%;
    -webkit-transform: scale3d(.5);
    -moz-transform: scale(.5);
    -ms-transform: scale(.5);
    -o-transform: scale(.5);
    transform: scale(.5);
}

.leg_icon {
    position: absolute;
    top: .6em;
    left: 1em;
    width: 2em;
    height: 2em;
    z-index:2;
    background: url('../img/map_icon_sprites.svg') no-repeat 0 0;
    background-size: 100% 600%;
}

.map_icon_rr, #leg_icon_rr .leg_icon {
    background-position: 0% 0%;
}

.map_icon_food, #leg_icon_food .leg_icon {
    background-position: 0% 20%;
}

.map_icon_music, #leg_icon_music .leg_icon {
    background-position: 0% 40%;
}

.map_icon_play, #leg_icon_play .leg_icon {
    background-position: 0% 60%;
}

.map_icon_laser, #leg_icon_laser .leg_icon {
    background-position: 0% 80%;
}

.map_icon_park, #leg_icon_park .leg_icon {
    background-position: 0% 100%;
}

/* Icon Placement */

#food_1 {left: 43.23%;top: 38.38%;}
#food_2 {left: 79.41%;top: 5.23%;}
#food_3 {left: 88.37%;top: 57.56%;}
#food_4 {left: 52.19%;top: 86.25%;}
#rr_1 {left: 40.72%;top: 33.73%;}
#rr_2 {left: 52.83%;top: 90.11%;}
#rr_3 {left: 64.96%;top: 91.45%;}
#music_1 {left: 55.20%;top: 37.97%;}
#music_2 {left: 80.40%;top: 88.41%;}
#play_1 {left: 35.12%;top: 38.49%;}
#laser_1 {left: 53.01%;top: 37.97%;}
#park_1 {left: 15.81%;top: 44.03%;}
#park_2 {left: 57.79%;top: 46.47%;}
#park_3 {left: 54.51%;top: 65.07%;}
#park_4 {left: 44.05%;top: 77.34%;}


#map_unit_list .d_info {
    padding-bottom: 1em;
}

#map_unit_list .details a, #map_unit_list .details_stat a {
    color: #606060;
    text-decoration: none;
    transition: color .2s;
}

#map_unit_list .details a:hover, #map_unit_list .details_stat a:hover {
    color: #8c8c8c;
    text-decoration: underline;
}

#map_unit_list .d_phone, #map_unit_list .d_url {
    position: relative;
    padding: .5em 0 .5em 2em;
    margin-right: 1.5em;
    display: inline-block;
}

#map_unit_list .d_phone::before, #map_unit_list .d_url::before {
    position: absolute;
    top: .25em;
    left: 0;
    content: "";
    display:block;
    width:  1.5em;
    height: 1.5em;
    background: url('../img/map_detail_icons.svg') no-repeat 0 0;
    background-size: 100% 400%;
}

#map_unit_list .d_phone::before {
    background-position: 0 0;
}

#map_unit_list .d_url::before {
    background-position: 0 100%;
}


/* Unit Identifiers */

.u_mark {
    position: absolute;
    z-index: 2;
    padding: 0 .375em;
    font-family: "proxima-nova", Arial, sans-serif;
    font-size: .65em;
    line-height: 1.25em;
    font-weight: 500;
    background: #fff;
    color: #000;
    border-radius: .5em;
    transform: translate(-50%,-50%);
    text-align: center;
    cursor: pointer;
}

.u_mark.rev {
    background: #fff;
    color: #000;
}

.unit_hover {
    opacity:.6 !important;
}

.map_icon.unit_hover {
    opacity:1 !important;
}

/* Zoom */ 

#zoom {
    position: absolute;
    top: 0;
    left:0;
    background: #686868;
    color: #fff;
    width: 2em;
    height: 2em;
    z-index: 100;
    text-transform: uppercase;
    cursor: pointer;
}


#zoom::before {
    position: absolute;
    top: .5em;
    right:.5em;
    content:'';
    display: block;
    background: url('../img/map_icon_zoom.svg') no-repeat 0 0;
    background-size: 100% 200%;
    width: 1em;
    height: 1em;
}

#map_container.zoom1 #zoom::before {
    background-position: 0% 0%;
}

#map_container.zoom2 #zoom::before {
    background-position: 0% 100%;
}

/* Z-indexing */

.z1 {
    z-index: 10;
}

.z2 {
    z-index: 15 !important;
}

.z3 {
    z-index: 25;
}

/* Footer */
#footer ul {
    list-style-type: none;
    display: table;
    width: 100%;
    margin: 50px 0px;
    padding: 0;
}

#footer ul > li {
    margin: 0;
    padding: 0 5em 1em 3em;
    display: table-cell;
    width: 35%;
    color: #89a6c9;
    text-align: left;
    vertical-align: top;
    border-right: 1px dotted #304168;
} 

#footer ul > li:last-child {
    border-right-width: 0px;
}

#footer ul > li#logo_foot {
    width: 30%;
    text-align: center;
    vertical-align: top;
    font-size: .825em;
    color: #89a6c9;
    padding-right: 0;
    padding-left: 0;
} 


#logo_foot img {
    margin: 0 auto;
    width: 100%;
    display: block;
    max-width: 350px;
}

#logo_foot span {
    display: block;
}

#footer h3 {
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    color: #cae2ff;
    color: #fff;
    margin: 2em 0 .5em 0;
}

#footer ul > li h3:first-child {
    margin: .5em 0;
}

#footer p {
    line-height: 1.2em;
    padding: .5em 0;
    margin: 0;
}

#footer a, #footer a:hover {
    color: #89a6c9;
    text-decoration: none;
    display: block;
}

#footer a span.url{
    color: #cae2ff;
    border-bottom: 1px dotted #89a6c9;
    transition: all .2s;
    text-decoration: none;
}

#footer a:hover span.url {
    color: #fff;
    border-color: #cae2ff;
}  

#footer p.social {
    line-height: 1.2em;
    padding: .5em 0;
    margin: 0;
}

#footer p.social [class^="icon-"]:before, #footer p.social [class*=" icon-"]:before {
    width: 1em;
}

#footer a.social {
    display: inline-block;
    font-size: 2em;
    color: #89a6c9;
    text-decoration: none;
    transition: .2s;
} 

#footer a.social:hover {
    color: #cae2ff;
}

.icon-spacer:before { content: ''; }

/* scroll instruction */

#sc_instr {
    position: absolute;
    top: 70vh;
    left:0;
    right:0;
    width:100%;
    z-index:10;
    text-transform: uppercase;
    font-size: 1.25em;
    font-weight: 400;
    letter-spacing: .25em;
    text-align: center;
    padding: 25px 0;
    color: #fff;
}


#sc_instr:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    width: 25px;
    height: 25px;
    border: 4px solid #fff;
    border-width: 0 4px 4px 0;
    transform: translate(-50%, 10px) rotate(45deg);
}

/* Intro Parallax */

.intro_prlx {
    padding: 100vh 0 0 0;
    color: #fff;
    text-align: center;
    background-color: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.bcg {
    background: url(../img/crossings_entrance.jpg) no-repeat;
    background-position: center top;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    z-index: 0;
    opacity: .05;   
}

/* Loader */

#map_loader.hidden {
    display: none;
}

.loader_h {
    color: #b1b1b1;
    text-align:center;
    padding: 1em;
}

.loader {
  font-size: 1em;
  margin: 50px auto;
  text-indent: -9999em;
  width: 6em;
  height: 6em;
  border-radius: 50%;
  background: #b1b1b1;
  background: -moz-linear-gradient(left, #b1b1b1 10%, rgba(175, 175, 175, 0) 42%);
  background: -webkit-linear-gradient(left, #b1b1b1 10%, rgba(175, 175, 175, 0) 42%);
  background: -o-linear-gradient(left, #b1b1b1 10%, rgba(175, 175, 175, 0) 42%);
  background: -ms-linear-gradient(left, #b1b1b1 10%, rgba(175, 175, 175, 0) 42%);
  background: linear-gradient(to right, #b1b1b1 10%, rgba(175, 175, 175, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #b1b1b1;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #e5e5e5;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Collapsing Tables */

#pic_strip {
    position: relative;
    z-index: 1000;
}

.pic_table {
    width: 100%;
    display: table;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
}

.pic_cont {
    display: table-cell;
    width: 33.33%;
    box-sizing: border-box;
    margin: 0;
}

.pic_box {
    position: relative;
    width: 100%;
    padding: 66% 0 0 0;
    /* border: 1px solid yellow; */
    overflow: hidden;
}

.pic_box img {
    position: absolute;
    width: 100%;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}




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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 1600px) {
.bcg {
    background: url(../img/crossings_entrance_wide.jpg) no-repeat;
    background-position: center top;
    background-size: cover;  
}
}


@media only screen and (max-width: 1200px) {
#footer {
    font-size: 14px;
}
}


@media only screen and (max-width: 1024px) {

#overview_text {
    font-size: 1.5em;
}

#overview_head {
    font-size: 3.5em;
}

section#map {
    padding: 10px 25px 10px 0;
}

#map_outer {
    width: 100%;
    height: 90vh;
}

#map_container {
    height: 90vh;
    width: 60%;
}

#map_legend {
    position: absolute;
    width: 40%;
    top: 0;
    left: 60%;
    height: 90vh;
    display: block;
}

#logo_outer {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 45%;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
    transform: translate(-50%,0);
}

#zoom {
    width: 3em;
    height: 3em;
}


#zoom::before {
    top: .75em;
    right:.75em;
    width: 1.5em;
    height: 1.5em;
}

#footer {
    font-size: 13px;
}

.br_hide {
    display: none;
}

}


@media only screen and (max-width: 768px){
body{
    font-size: 14px;

}

section#map {
    padding: 10px 25px 10px 0;
}

#overview_text {
    font-size: 1.25em;
}

#overview_head {
    font-size: 3em;
}

#map_wrapper {
    padding: 0 0;
}

#map_base {  
    width: 937px;
    height: 912px;
}

#map_container.zoom1 #map_base {
    width: 937px;
    height: 912px;
    /* transform: translate(-45%,-30%) scale(.5); */
}

#map_container.zoom2 #map_base {
    width: 1875px;
    height: 1825px;
}

#map_container.zoom2 #map_base .map_icon {
    width: 3.88%;
    padding-top: 3.88%;
    -webkit-transform: scale3d(.5) translate(-50%,-50%);
    -moz-transform: scale(.5) translate(-50%,-50%);
    -ms-transform: scale(.5) translate(-50%,-50%);
    -o-transform: scale(.5) translate(-50%,-50%);
    transform: scale(.5) translate(-50%,-50%);
}

#map_unit_list ul {
    padding: .5em .5em 0 .5em;
}

#map_unit_list ul:last-child {
    padding: .5em;
}

#leg_locator {
    left:.5em;
}

#footer {
    font-size: 1.25em;
}

/* Footer */
#footer ul {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 2em;
    box-sizing: border-box;
}

#footer ul > li {
    margin: 0;
    padding: 2em 0;
    display: block;
    width: 100%;
    box-sizing: border-box; 
    border-width: 0;
} 

#footer ul > li:last-child {
    border-width: 0;
} 

#footer ul > li#logo_foot {
    width: 100%;
    box-sizing: border-box;
}

#footer h3 {
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    color: #cae2ff;
    border-top: 1px dotted #304168;
    padding-top: 2em;
    margin: 2em 0 .5em 0;
}

#footer ul li:first-child h3:first-child {
    margin: .5em 0;
    padding-top: 0;
    border-width: 0px;
}

.pic_table {
    width: 100%;
    display: block;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
}

.pic_cont {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}



}

@media only screen and (max-width: 768px)  and  (orientation: portrait) {
#map_outer {
    width: 95%;
}

#map_container {
    height: 55vh;
    width: 100%;
}

#map_legend {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    height: 35vh;
    display: block;
}

#logo_outer {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 75%;
    max-width: 350px;
    text-align: center;
    margin: 0 auto;
    transform: translate(-50%,0);
}

#footer {
    font-size: 1.25em;
}

}

@media only screen and (max-width: 768px)  and  (orientation: landscape) {

#overview_head {
    font-size: 4em;
}

#map_outer {
    width: 100%;
}

#map_container {
    height: 90vh;
    width: 60%;
}

#map_legend {
    position: absolute;
    width: 40%;
    top: 0;
    left: 60%;
    height: 90vh;
    display: block;
}

#logo_outer {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 45%;
    max-width: 350px;
    text-align: center;
    margin: 0 auto;
    transform: translate(-50%,0);
}

#carousel {
    z-index: 1003;
}

}

@media only screen and (max-width: 600px)  and  (orientation: portrait) {
#overview_head span {
    display: block;
    text-align: center;
}

#carousel {
    z-index: 1003;
}

}

@media only screen and (max-width: 480px){
body{
    font-size: 12px;
}

#map_unit_list ul li {
    font-size: 1em;
}

}

@media only screen and (max-width: 480px) and (orientation: portrait) {
body{
    font-size: 16px;
}

#footer {
    font-size:1em;
}

}


@media only screen and (max-width: 320px){
body{
    font-size: 12px;
}

#map_unit_list ul li {
    font-size: 1.2em;
}

}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (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 {
        white-space: pre-wrap !important;
    }
    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;
    }

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

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