/*
 * Theme Name: Campus Map
 * Theme URI: http://web.vanderbilt.edu/wordpress/
 * Description: Campus Map theme for Vanderbilt University.
 * Version: 1.0
 * Author: Vanderbilt University Division of Communications, Digital Strategies Team
 * Author URI: http://web.vanderbilt.edu/
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: hidden;
}

strong{
    font-weight: bold;
}

em{
    font-style: italic;
}
#map {
    height: 100%;
    width: calc(100%-250px);
    margin-left: 250px;
}

#leftnav{
    position: absolute;
    padding: 15px;
    box-sizing: border-box;
    z-index: 1000;
    background: #333;
    width: 250px;
    height: 100%;
}

#leftnav h1{
    text-align: center;
}

#leftnav p{
    font-size: 12px;
    color: #999;
    line-height: 135%;
    margin-top: 20px;
}

#leftnav p a{
    color: #BBB;
    border-bottom: 1px dotted #CCC;
    text-decoration: none;
}

#leftnav img{
    max-width: 100%;
    height: auto;
}

div.layer_toggle, label {
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    display: block;
    clear: both;
    padding: 5px 5px 5px 0;
    margin-bottom: 0px;
}

div.gm-style-iw > div > div > div > div:nth-child(1){
    background: #333;
    color: white;
    padding: 5px;
    font-size: 18px;
    margin-bottom: 5px !important;
}

h1{
    line-height: 150%;
    margin-bottom: 25px;
}

#leftnav h2 {
    color: #D8AB4C;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    line-height: 125%;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 200;
    -webkit-font-smoothing: antialiased;
}

label{
    margin-bottom: 0;
}

div.layer_toggle {
    background: url(img/unchecked.png) no-repeat right center;
    color: black;
    background-size: auto 50%;
}

div.layer_toggle.active {
    background: url(img/checked.png) no-repeat right center;
    color: black;
    background-size: auto 50%;
}

#leftnav input {
    background: #DDD;
    border: 0;
    color: #222;
    width: 100%;
    font-size: 16px;
    padding: 8px 10px;
    margin-bottom: 25px;
    box-sizing: border-box;
    border-radius: 5px;
}

p.breadcrumbs{
    color: white;
    font-size: 12px;
    margin-bottom: 15px;
    margin-top: 0 !important;
}

p.breadcrumbs a{
    color: white;
    text-decoration: none;
    border-bottom: 1px dashed white;
}

.locations {
    line-height: 145%;
    margin-bottom: 25px;
    font-size: 14px;
}

.locations a{
    color: white;
    text-transform: capitalize !important;
    text-decoration: none;
}
.info-box{
    background: #fff;
    padding: 0;
}

.info-box h3 {
    color: black;
    font-weight: normal;
    margin-top: 15px;
    line-height: 125%;
    font-family: "Roboto", sans-serif;
    font-size: 1.75em;
    -webkit-font-smoothing: antialiased;
}

.info-box .entry{
    padding: 15px 0;
}

.info-box p{
    margin-bottom: 15px;
    line-height: 175%;
    font-size: 14px;
}

.info-box p.omega{
    margin-bottom: 0;
}

.no-results{
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    background: rgba(0,0,0,0.75);
    padding: 15px;
    margin-left: -75px;
}

.no-results p{
    color: white;
}

div.navToggle{
    display: none;
    position: absolute;
    top: 50px;
    left: 10px;
    z-index: 9999;
    color: white;
}

div.navToggle.open{
    top: 13px;
}

.logged-in div.navToggle {
    top: 100px;
    left: 10px;
}

.logged-in div.navToggle.open{
    top: 58px;
}

#map-more-info{
    max-width: 100%;
}

a.map-help{
    font-size: 14px;
    display: block;
    margin-bottom: 0px;
    color: white !important;
    text-decoration: none;
    color: #D8AB4C !important; 
    border: 0 !important; 
}

.page {
    padding: 20px 20px 20px;
    box-sizing: border-box;
    height: 92%;
}

.page .entry h1,
.page .entry h2,
.page .entry h3,
.page .entry h4,
.page .entry h5,
.page .entry h6,
.page .entry p{
    font-family: "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: initial;
    line-height: initial;
}

.page .entry p{
    font-size: 13px;
    margin-bottom: 20px;
}

.page .entry h1{
    font-size: 24px;
    margin-bottom: 20px;
}

.page-entry h2{
    margin-bottom: 15px;
}

h2.page-title{
    font-size: 18px;
    margin-bottom: 16px;
}

body.page{
    overflow-y: auto;
}

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

    #lightcase-overlay {
        background: white !important;
    }

    #lightcase-nav a[class*='lightcase-icon-'], #lightcase-nav a[class*='lightcase-icon-']:focus {
        color: black !important;
    }

}

/* Icon 1 */

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
    width: 35px;
    height: 45px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    cursor: pointer;
    z-index: 9999;
}

#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background: #000;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
    top: 0px;
}

#nav-icon1 span:nth-child(2) {
    top: 12px;
}

#nav-icon1 span:nth-child(3) {
    top: 24px;
}

#nav-icon1.open span:nth-child(1) {
    top: 18px;
    color: white;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

#nav-icon1.open span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* Icon 2 */

#nav-icon2 {
}

#nav-icon2 span {
    display: block;
    position: absolute;
    height: 9px;
    width: 50%;
    background: #d3531a;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
    left: 50%;
    border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
    left:0px;
    border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
    top: 0px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
    top: 18px;
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
    top: 36px;
}

#nav-icon2.open span:nth-child(1),#nav-icon2.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),#nav-icon2.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
    left: 5px;
    top: 7px;
}

#nav-icon2.open span:nth-child(2) {
    left: calc(50% - 5px);
    top: 7px;
}

#nav-icon2.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
    left: 5px;
    top: 29px;
}

#nav-icon2.open span:nth-child(6) {
    left: calc(50% - 5px);
    top: 29px;
}

/* Icon 3 */

#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
    top: 12px;
}

#nav-icon3 span:nth-child(4) {
    top: 24px;
}

#nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
    background: white;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background: white;
}

#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background: white;
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
    background: white;
}

/* Icon 4 */

#nav-icon4 {
}

#nav-icon4 span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
    top: 18px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
    top: 36px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

#nav-icon4.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 39px;
    left: 8px;
}

@media screen and (max-width: 767px) {
    #leftnav {
        position: absolute;
        left: -100%;
        box-sizing: border-box;
        background: #333;
        width: 250px;
        height: 100%;
        transition: .2s all ease;
        -webkit-transition: .2s all ease;
    }
    #leftnav.open{
        left: 0;
    }
    #map{
        width: 100%;
        margin-left: 0;
    }
    div.navToggle{
        display: block
    }
    #leftnav img {
        max-width: 80%;
        height: auto;
        float: right;
    }
    #layer_toggles{
        padding-top: 25px;
    }
}