@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700);

html,
body
{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #0e76bc;
}

.crosshair {
    cursor: crosshair;
}

#thenavigator li a{
    font-size: 20px;
}

#map {
    height: 100%;
    width: 100%;
    left: 0;
    position: absolute;
    top: 0;
    z-index:0;
    background: #0e76bc !important;
}


#panel {
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #FFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    left: 50%;
    width: 500px;
    margin-left: -253px;
    background: rgba(0, 0, 0, 0.6);
    top: 10px;
    text-align: center;
    padding: 3px;
    /*margin-top: 60px;*/
    display: none;
}

#dialog {
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    color: black;
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.9);
    left: 50%;
    width: 500px;
    margin-left: -250px;
    top: 50%;
    margin-top: -172px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    z-index: 100000;
    /*display: none;*/
}

#dialog header{
    font-weight: bold;
    font-size: 1.8em;
    margin: 0px 0px 10px 0px;
}

#dialog p{
    font-size: 1.1em;
}

#dialog .form-group label{
    font-size: 1.1em;
    text-align: left;
}

#dialog #form_starting{
    margin-top: 20px;
}

#dialog #form_starting .form-group{
    margin-bottom: 10px;
}

#dialog #form_starting #start_button{
   margin: 0 auto;
   margin-top: 15px;
   font-size: 1.2em;
}
#dialog .error_list{
    margin-top: 5px;
}


#dialog .error_list .bg-danger{
    padding: 5px 5px 5px 15px;
    border-radius: 5px;
}


#dialog_message{
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.4em;
    top: 50%;
    color: #FFF;
    width: 100%;
    background: #404040;
    height: 120px;
    margin-top: -60px;
    text-align: center;
    display: none;
}

#dialog_message .next_question{
    border: 1px solid #FFF;
    cursor: pointer;
    display: inline-block;
    padding: 5px 80px;
}

#dialog_finish{
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    color: #000;
    left:0;
    width: 100%;
    top: 180;
    height: auto;
    background-color: #fff;
    z-index: 1000;
    text-align: left;
    display: none;
}

#dialog_finish #stats{
    font-size: 1.3em;
}

#dialog_finish .row{
    margin-top: 0px;
}

#dialog_finish{

}

#dialog_finish #results{

}

#dialog_finish #maphover_logo{
    width: 300px;
    height: 61px;
    background: url('./images/maphover_logo.png') top left no-repeat;
    margin: 20px 0px 30px 0px;
}


#dialog_finish #results h2{
    font-size: 2.5em;
    margin: 0px 0px 40px 0px;
}

#dialog_finish #results .percentage{
    border-top: 5px solid #4a7ebb;
    border-bottom: 5px solid #4a7ebb;
    display: inline-block;
}

#dialog_finish #results .percentage h1{
    font-size: 3.5em;
    display: inline-block;
    margin: 10px 0px 15px 0px;
}

#dialog_finish #stats{
    margin-top: 30px;
    font-size: 1.4em;
}

#dialog_finish #back_to{
    margin-top: 30px;
    font-size: 2.2em;
    line-height: 2.2em;
}

#dialog_finish #back_to a,
#dialog_finish #back_to a:hover,
#dialog_finish #back_to a:visited{
    color: #0070c0;
    display: inline-block;
    margin-left: 10px;
    text-decoration: none;
}

#dialog_finish .table_row{
    margin-top: 110px;
}
#dialog_finish .table{
    font-size: 0.9em;
}

#dialog_finish .table td{
    paddding: 1px;
}

#dialog_finish .table td:first-child{
    text-align: left;
}

#dialog_finish .table td:last-child{
    text-align: right;
}

/* Bars */

#dialog_finish #charts{

}

#dialog_finish #charts .header{
    font-size: 1.7em;
    margin-top: 30px;
    margin-bottom: 10px;
}

#dialog_finish #charts .bars{
    /*width: 460px;
    height: 300px;*/
    color: #000;
}

#dialog_finish .ct-series-a .ct-bar {
    stroke: #585A59;
    stroke-width: 45px;
}

#dialog_finish .ct-series-a .ct-bar:first-child{
    stroke: #DD6F07;
}

#dialog_finish .bars  .ct-series-a .ct-barlabel {
    font-size: 1.6em;
}

#dialog_finish .bars .ct-labels{
    color: #000;
    text-align: center;
}

#dialog_finish  .ct-labels .ct-label{
    color: #000;
    font-size: 1.4em;
    text-align: center;
}

#dialog_finish .bars_labels{
    font-size: 1.4em;
    line-height: 1.5em;
    margin-top: 3px;
    width: 100%;
}

#dialog_finish .bars_labels .bar_label{
    display: inline-block;
    text-align: center;
    width: 24%;
    color: #000;
    vertical-align: top;
    overflow: hidden;
    padding-left: 5px;
}

#dialog_finish .averages{
    padding: 25px 0px 0px 0px;
}


#dialog_finish #share_buttons{
    margin: 15px 0px 15px 0px; ;
}

#dialog_finish #share_buttons a:hover{
    color: #fff;
}

.btn-twitter {
    background: #00acee;
    border-radius: 0;
    color: #fff
}
.btn-twitter:link, .btn-twitter:visited {
    color: #fff
}
.btn-twitter:active, .btn-twitter:hover {
    background: #0087bd;
    color: #fff
}
.btn-facebook {
    background: #3b5998;
    border-radius: 0;
    color: #fff
}
.btn-facebook:link, .btn-facebook:visited {
    color: #fff
}
.btn-facebook:active, .btn-facebook:hover {
    background: #30477a;
    color: #fff
}

#points {
    position: absolute;
    top: 7px;
    right: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #fff;
    text-shadow: 0px 1px 0px #000, 0px -1px 0px #000, -1px 0px 0px #000, 1px 0px 0px #000, 0px 2px 2px rgba(0, 0, 0, 0.7);
}
.leaflet-popup-content {
    font-family: 'Roboto Condensed', sans-serif;
font-weight: 400;
font-size: 14px;
}
.leaflet-popup-content table {
    margin: 0;
    margin-top: 3px;
    margin-bottom: 3px;
    border-spacing: 0;
}
.leaflet-popup-content table td {
    padding: 0;
    padding-right: 4px;
}
.leaflet-popup-content a {
    color: #4576b2;
}


#map_footer footer.x-colophon{
   display: none;
}


header.masthead{
   display: none;
}

    @media only screen
        and (min-device-width : 375px)
        and (max-device-width : 667px)
        and (orientation : landscape)
        and (-webkit-min-device-pixel-ratio : 2) {

        #dialog_finish .bars_labels {
            font-size: 1.1em;
            line-height: 1.5em;
            margin-top: 3px;
            width: 100%;
        }

        #dialog_finish .table_row{
            margin-top: 20px;
        }
    }


    @media only screen
    and (min-device-width : 375px)
    and (max-device-width : 667px)
    and (orientation : portrait)
    and (-webkit-min-device-pixel-ratio : 2) {

        #dialog_finish .bars_labels {
            font-size: 1.1em;
            line-height: 1.5em;
            margin-top: 3px;
            width: 100%;

        }
        #dialog_finish .table_row{
            margin-top: 20px;
        }

    }

    @media (max-width: 560px), (max-height: 404px) {
    #dialog {
        font-size: 24px;
    }
    #dialog h1 {
        font-size: 43.2px;
    }
    #dialog button {
        font-size: 1px;
    }
    #panel {
        font-size: 1.2em;
    }
    #dialog {
        left: 0;
        top: 0;
        margin: 0;
        width: 100%;
        padding: 10px;
        border-radius: 0;
    }
    #dialog li {
        margin-bottom: 8px;
    }
    #dialogContent {
        max-width: 430px;
        margin: 0 auto;
    }
    #panel {
        left: 0;
        margin: 0;
        width: 100%;
        border-radius: 0;
    }
    .fa-ul {
        margin-left: 46px;
    }
    .leaflet-control-zoom {
        display: none;
    }
    #github {
        display: none;
    }
    #points {
        top: 45px;
    }

    #dialog_message h1, #dialog_message h2{
        font-size: 1.1em;
    }

    #dialog_finish .bars_labels {
        font-size: 1.1em;
        line-height: 1.5em;
        margin-top: 3px;
        width: 100%;

    }

    #dialog_finish .table_row{
        margin-top: 20px;
    }
}
@media (max-width: 410px), (max-height: 340px) {
    #dialog {
        font-size: 18px;
    }
    #dialog h1 {
        font-size: 32.4px;
    }
    #dialog button {
        font-size: 18px;
    }
    #panel {
        font-size: 23.4px;
    }

    #dialog_finish .bars_labels {
        font-size: 1.1em;
        line-height: 1.5em;
        margin-top: 3px;
        width: 100%;

    }

    #dialog_finish .table_row{
        margin-top: 20px;
    }

}
@media (max-width: 330px), (max-height: 290px) {
    #dialog {
        font-size: 14px;
    }
    #dialog h1 {
        font-size: 25.2px;
    }
    #dialog button {
        font-size: 14px;
    }
    #panel {
        font-size: 18.2px;
    }

    #dialog_finish .bars_labels {
        font-size: 1.1em;
        line-height: 1.5em;
        margin-top: 3px;
        width: 100%;

    }

    #dialog_finish .table_row{
        margin-top: 20px;
    }
}


/* Hide Google Maps Copyright */


/*
a[href^="http://maps.google.com/maps"]{display:none !important}
a[href^="https://maps.google.com/maps"]{display:none !important}

.gmnoprint a, .gmnoprint span, .gm-style-cc {
    display:none;
}
.gmnoprint div {
    background:none !important;
}*/

/***********************************************************************************************
NEW STYLE
***********************************************************************************************/

#navigation {
    float: right;
    padding: 1.7rem 0 0;
    width: auto;
}
#id_header-nav{}
#thenavigator{}
#thenavigator > li:first-child {
    border-left: 0 none;
    margin: 0;
    padding: 0;
}
#thenavigator > li {
    border-left: 1px solid #000000;
    font-family: "Roboto Condensed",sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 0 1rem;
    padding: 0 0 0 1rem;
    text-transform: capitalize;
}
#thenavigator > li > a:link, #thenavigator > li > a:visited, #thenavigator > li > a:active {
    color: #000000;
    padding: 0;
    text-decoration: none;
}
#thenavigator > li > a:hover {
    color: #0e76bc;
    text-decoration: none;
}

#thenavigator > li > .sub-menu {
    background: #ffffff none repeat scroll 0 0;
    top: 150%;
    width: 13rem;
}
#thenavigator > li > .sub-menu > li {
    font-family: "Roboto Condensed",sans-serif;
    font-size: 1rem;
    font-weight: 400;
}
#thenavigator > li > .sub-menu > li > a:link, #thenavigator > li > .sub-menu > li > a:visited, #thenavigator > li > .sub-menu > li > a:active {
    color: #000000;
    padding: 0.5em 0.7em;
    text-decoration: none;
}
#thenavigator > li > .sub-menu > li > a:hover {
    color: #0e76bc;
    text-decoration: none;
}

#thenavigator > li > .sub-menu > li .sub-menu {
    background: #ffffff none repeat scroll 0 0;
    left: 100%;
    width: 13rem;
}
#thenavigator > li > .sub-menu > li .sub-menu li{
    font-family: "Roboto Condensed",sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

#thenavigator > li > .sub-menu > li .sub-menu li > a:link,
#thenavigator > li > .sub-menu > li .sub-menu li > a:visited,
#thenavigator > li > .sub-menu > li .sub-menu li > a:active{
    color: #000000;
    padding: 0.5em 0.7em;
    text-decoration: none;
}

#thenavigator > li > .sub-menu > li .sub-menu li > a:hover{
    color: #0e76bc;
    text-decoration: none;
}

#thenavigator > li.current-menu-item > a:link, #thenavigator > li.current-menu-item > a:visited, #thenavigator > li.current-menu-item > a:active,
#thenavigator > li.current-menu-item > a:hover{color: #0e76bc;}

#thenavigator > li.sfHover > a:link, #thenavigator > li.sfHover > a:visited, #thenavigator > li.sfHover > a:active, #thenavigator > li.sfHover > a:hover{color: #0e76bc;}

#thenavigator > li > .sub-menu > li.sfHover > a:link, #thenavigator > li > .sub-menu > li.sfHover > a:visited, #thenavigator > li > .sub-menu > li.sfHover > a:active,
#thenavigator > li > .sub-menu > li.sfHover > a:hover{color: #0e76bc;}

#thenavigator > li > .sub-menu > li .sub-menu li.sfHover > a:link, #thenavigator > li > .sub-menu > li .sub-menu li.sfHover > a:visited,
#thenavigator > li > .sub-menu > li .sub-menu li.sfHover > a:active, #thenavigator > li > .sub-menu > li .sub-menu li.sfHover > a:hover{color: #0e76bc;}



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

@media only screen and (max-width : 980px ) {
    #logo {
        display: block;
        float: none;
        margin: 0 auto;
        width: auto;
    }
    #navigation {
        float: none;
        margin: 0 auto;
        width: auto;
    }


}