﻿@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome.eot');
    src: url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'),url('../fonts/fontawesome.woff') format('woff'),url('../fonts/fontawesome.ttf') format('truetype');
}

body, html {
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: #fff;
    font-family: tahoma, arial;
    color: #fff;
    font-size: 15px;
    -webkit-user-select: none; /* Chrome all / Safari all */
    -moz-user-select: none; /* Firefox all */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

.btn {
    text-transform: uppercase;
    border: none;
    outline: none;
    color: #fff;
    padding: 18px 28px;
    font-size: 24px;
    cursor: pointer;
    background: #00a651;
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(0,0,0,.4);
}

    .btn:active, .btn:hover, .sorting a:active {
        background: #007539;
        box-shadow: 0 2px 9px rgba(0,0,0,.9);
    }

#splash_background, #exporting-overlay {
    position: absolute;
    top: 0;
    -moz-transition: top ease-in 1s;
    -o-transition: top ease-in 1s;
    -webkit-transition: top ease-in 1s;
    transition: top ease-in 1s;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    text-align: center;
    line-height: 100vh;
}

#splash, #exporting {
    line-height: normal;
    display: inline-block;
    vertical-align: middle;
}

    #splash #logo {
        width: 424px;
        height: 125px;
        background: url(../img/arbor-ventures-logo.svg) 100% 100% no-repeat;
        text-indent: -9999px;
        margin: 0 auto 30px auto;
    }

    #splash section, #exporting section {
        background-color: #151817;
        padding: 50px 50px 20px 50px;
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 2px 20px #000;
        border-radius: 4px;
    }

    #exporting section {
        padding: 50px;
    }

    #splash div {
        margin-bottom: 20px;
    }

    #splash #splash_error {
        color: red;
        padding-top: 10px;
    }

#container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#header {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
}

    #header a {
        float: left;
        margin: 7px;
        width: 51px;
        height: 49px;
        text-indent: -9999px;
        box-shadow: 0 1px 3px rgba(0,0,0,.4);
        border-radius: 100%;
        -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        -moz-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        -o-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        -ms-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

        #header a:hover {
            width: 71px;
            height: 68px;
            margin: 0 -3px;
            box-shadow: 0 2px 9px rgba(0,0,0,.5);
        }

#icon {
    background: url(../img/arbor-ventures-icon.svg) 100% 100% no-repeat;
}

#legend.off {
    background: #fff url(../img/icon-legend-none.svg) 100% 100% no-repeat;
}

#legend.legend {
    background: #fff url(../img/icon-legend-legend.svg) 100% 100% no-repeat;
}

#legend.labels {
    background: #fff url(../img/icon-legend-labels.svg) 100% 100% no-repeat;
}

#export {
    background: url(../img/icon-export.svg) 100% 100% no-repeat;
}

#geochart {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
}

#filters {
    z-index: 100;
    position: absolute;
    bottom: 11px;
    left: 190px;
    right: 190px;
    text-align: right;
}

    #filters .filter {
        display: inline-block;
        background: rgba(0,166,81,.8);
        color: rgba(255,255,255,.9);
        padding: 4px 25px 4px 7px;
        font-size: 12px;
        font-weight: 300;
        margin: 2px 1px 2px 1px;
        position: relative;
    }

    #filters .company, #filters .category {
        float: left;
        width: 13px;
        height: 13px;
        margin: 1px 6px 0 0;
        border-radius: 100%;
        border: 2px solid;
    }

    #filters .filter em {
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        bottom: -10px;
        cursor: pointer;
    }

        #filters .filter em:after {
            display: inline-block;
            content: "\00d7";
            width: 16px;
            height: 16px;
            line-height: 14px;
            text-align: center;
            border-radius: 9px;
            opacity: .5;
            font-size: 16px;
            position: absolute;
            right: 4px;
            top: 15px;
        }

#categories {
    left: 10px;
    width: 420px;
    height: 650px;
}

#companies {
    right: 10px;
    width: 230px;
    top: 10px;
}

#categories, #companies {
    z-index: 100;
    position: absolute;
    pointer-events: none;
    bottom: 0;
}

    #categories.active ul, #companies.active ul {
    }

.list {
    position: relative;
    height: 100%;
}

    .list > div {
        pointer-events: auto;
    }

    .list > ul, .list > .filter-container {
        pointer-events: auto;
        position: absolute;
        left: 0;
        bottom: 50px;
        right: 0;
        background: rgba(0,0,0,.95);
        max-height: calc(100% - 55px);
        overflow: auto;
        padding: 8px 0;
        overflow-x: hidden;
        box-shadow: 0 2px 11px rgba(0,0,0,.8);
        border-radius: 1px;
    }

    .list > .filter-container {
        overflow: hidden;
        padding: 0;
    }

.has-sorting .list ul {
    bottom: 100px;
    max-height: calc(100% - 105px);
}

.list ul li {
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 6px 18px 8px 7px;
    position: relative;
    cursor: pointer;
    width: 100%;
    /*-moz-transition: top ease-in-out 0.3s;
    -o-transition: top ease-in-out 0.3s;
    -webkit-transition: top ease-in-out 0.3s;
    transition: top ease-in-out 0.3s;
    */
}

    .list ul li:hover {
        background: rgba(255,255,255,.1);
    }

#categories .list ul li h2, #categories .list ul li h3 {
    margin-left: 18px;
}

#categories .list ul li:after, .details-list li a:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 2px solid;
    background: #000;
}

.company .details-list li a:after {
    border: 7px solid;
    width: 0;
    height: 0;
}

.list ul li:active, .sorting a:active, nav a:active, .details-list li a:active {
    background: #178d4e !important;
}

.list ul li h2 {
    display: block;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    margin-bottom: 1px;
}

.list ul li h3 {
    color: rgba(255,255,255,.5);
    font-size: 11px;
    display: block;
}

    .list ul li h3 b {
        display: inline-block;
        font-weight: bold;
        padding-right: 5px;
        color: rgba(255,255,255,.7);
    }

.list ul li.empty h2, .list ul li.empty h3, .list ul li.empty h3 b {
    color: #555;
}

.list ul li.empty {
    border-bottom-color: #222;
    display: none;
}

.list ul li .meter {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
}

.meter span {
    position: absolute;
    height: 5px;
    border: 1px solid;
    background-color: black;
    width: 0;
    -moz-transition: width ease-in-out 0.25s;
    -o-transition: width ease-in-out 0.25s;
    -webkit-transition: width ease-in-out 0.25s;
    transition: width ease-in-out 0.25s;
}

#companies .meter span {
    border-top: 4px solid;
}

.sorting {
    background: rgba(0,0,0,.9);
    position: absolute;
    bottom: 50px;
    right: 0;
    left: 0;
    height: 50px;
    padding: 5px;
    vertical-align: top;
}

    .sorting a {
        display: inline-block;
        line-height: 36px;
        margin: 2px;
        width: 29%;
        color: #fff;
        text-decoration: none;
        text-align: center;
        background: rgba(255,255,255,.2);
        position: relative;
        height: 36px;
        vertical-align: top;
    }

        .sorting a:after {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            font-family: FontAwesome;
            font-size: 14px;
        }

        .sorting a.top:after {
            content: "\f080";
        }

        .sorting a.date:after {
            content: "\f073";
        }

        .sorting a:before, .sorting a:before {
            position: absolute;
            width: 12px;
            top: 2px;
            right: 1px;
            bottom: 0;
            font-family: FontAwesome;
            font-size: 12px;
        }

        .sorting a.desc:before {
            content: "\f175";
        }

        .sorting a.asc:before {
            content: "\f176";
            top: 1px;
        }

.selector {
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    background: rgba(0,0,0,1);
    text-decoration: none;
    line-height: 45px;
    margin: 5px 0 0 0;
    font-size: 15px;
    width: 125px;
    color: #fff;
}

.active .selector, .list ul li.active, .sorting a.active {
    background: rgba(255,255,255,.2);
}


.active .selector, .sorting a.active {
    box-shadow: inset 2px 2px 0 rgba(0,0,0,.6);
}

#categories nav, #companies nav {
    margin-top: -50px;
    position: absolute;
    bottom: 0;
    pointer-events: auto;
    left: 0;
    right: 0;
}

#categories .selector {
    float: right;
}

#companies .selector {
    float: left;
}

.toggler {
    display: inline-block;
    font-size: 13px;
    line-height: 50px;
    background: rgba(0,0,0,.9);
    position: relative;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    padding: 0 10px 0 50px;
    box-shadow: 0 2px 9px rgba(0,0,0,.9);
}

    .toggler.off {
        line-height: 45px;
        margin-top: 5px;
    }

        .toggler.off span.toggler_hide {
            display: none;
        }

    .toggler:not(.off) span.toggler_show {
        display: none;
    }

#categories .toggler {
    float: left;
}

#companies .toggler {
    float: right;
}

.toggler:after {
    position: absolute;
    top: 20px;
    bottom: 0;
    width: 20px;
    height: 13px;
    left: 19px;
    content: " ";
    background-repeat: no-repeat;
}

#categories .toggler:after {
    background: url(../img/icon-legend.svg);
}

#companies .toggler:after {
    background: url(../img/icon-companies.svg);
}

.toggler.off:after {
    opacity: .6;
    top: 17px;
}

.leaflet-bottom.leaflet-right {
    right: 190px;
    bottom: 2px;
}


.leaflet-container .leaflet-control-attribution, .leaflet-container a {
    background: transparent !important;
    color: rgba(255,255,255,.5) !important;
}

.leaflet-control-container {
    display: none !important;
}

.DVSL-leaflet {
    background: rgb(219,219,219) !important;
}

    .DVSL-leaflet:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 50%;
        background: rgb(176, 176, 176);
    }

.leaflet-overlay-pane > div {
    outline: none;
}

#splash a {
    color: rgba(255,255,255,.5);
    font-size: 13px;
    display: block;
    padding: 12px;
}

    #splash a:active, #splash a:hover {
        color: #fff;
    }

/* details block start */

.details {
    position: absolute;
    bottom: 4px;
    left: 190px;
    right: 190px;
    min-height: 100px;
    z-index: 9999;
}

    .details small {
        padding: 10px;
        font-size: 10px;
        color: rgba(255,255,255,.8);
        display: block;
        background: rgba(0,0,0,.9);
    }

    .details nav {
        position: absolute;
        top: -48px;
        right: 0;
    }

        .details nav a {
            line-height: 48px;
            padding: 0 19px;
            color: #fff;
            background: rgba(0,0,0,.9);
            text-decoration: underline;
            font-size: 14px;
            float: right;
        }

            .details nav a.close-details {
                background: #3e61ad;
                text-decoration: none;
            }

                .details nav a.close-details:after {
                    content: "\f00d";
                    font-family: FontAwesome;
                    text-align: center;
                    font-size: 16px;
                }

.details-list {
    max-height: 50vh;
    position: relative;
    background: #000;
    border: 2px solid #3e61ad;
    overflow: auto;
}

    .details-list li {
        border-bottom: 1px solid;
    }

        .details-list li a {
            line-height: 44px;
            padding: 0 44px 0 30px;
            position: relative;
            display: block;
            text-decoration: none;
        }

            .details-list li a strong, .details-list li a span, .details-list li a:before {
                color: #fff;
            }

            .details-list li a:active {
                background: rgb(3,148,251); /* Old browsers */
                background: -moz-linear-gradient(left, rgba(3,148,251,1) 1%, rgba(63,97,173,1) 100%); /* FF3.6-15 */
                background: -webkit-linear-gradient(left, rgba(3,148,251,1) 1%,rgba(63,97,173,1) 100%); /* Chrome10-25,Safari5.1-6 */
                background: linear-gradient(to right, rgba(3,148,251,1) 1%,rgba(63,97,173,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0394fb', endColorstr='#3f61ad',GradientType=1 );
                text-shadow: 0 1px 0 rgba(0,0,0,.4);
            }

            .details-list li a:after {
                top: 15px;
                left: 8px;
            }

            .details-list li a:before {
                font-family: "FontAwesome";
                content: "\f107";
                position: absolute;
                top: 1px;
                right: 16px;
                font-size: 17px;
            }

        .details-list li.expanded a:before {
            content: "\f106";
        }

        .details-list li span {
            float: right;
        }

        .details-list li .table-container {
            overflow: auto;
            background: rgba(255,255,255,.1);
            display: none;
            -webkit-user-select: text; /* Chrome all / Safari all */
            -moz-user-select: text; /* Firefox all */
            -ms-user-select: text; /* IE 10+ */
            user-select: text;
        }

        .details-list li.expanded .table-container {
            display: block;
        }

        .details-list li.expanded table {
            padding: 10px 0;
            width: 100%;
            font-size: 12px;
            color: #666;
        }

            .details-list li.expanded table thead td {
                font-size: 11px;
                padding-bottom: 0;
            }

            .details-list li.expanded table tr {
                border-top: 1px solid rgba(255,255,255,.05);
            }

            .details-list li.expanded table td {
                padding: 6px 8px;
            }

.zero-value {
    color: #333;
}

#exporting-overlay {
    display: none;
}

body.exporting #exporting-overlay {
    display: block;
}

body.exporting #header {
    display: none;
}

body.exporting #filters {
    display: none;
}

body.exporting .toggler {
    display: none;
}

body.exporting .filter-container, body.exporting .list > ul {
    bottom: 0;
    overflow: hidden;
}

body.exporting .list > ul {
    width: 230px;
    max-height: 100vh;
}

body.exporting #companies {
    right: 0;
}

body.exporting #categories {
    left: 0;
}

/* details block end */

@media only screen and (max-width : 800px) {

    .details-list li {
        font-size: 13px;
    }
}

@media only screen and (max-width : 740px) {

    .details {
        bottom: 8px;
        left: 8px;
        right: 8px;
    }
}

@media only screen and (max-width : 650px) {

    #categories, #companies {
        width: 160px;
    }

    #categories {
        left: 0;
        bottom: 0;
    }

    #companies {
        right: 0;
        bottom: 0;
    }

    .selector {
        width: 105px;
        font-size: 14px;
        line-height: 40px;
    }

    .toggler {
        line-height: 45px;
    }

    .sorting {
        height: 45px;
        bottom: 45px;
    }

        .sorting a {
            margin: 1px;
            line-height: 32px;
            height: 32px;
        }

    .list > ul {
        bottom: 45px;
    }

    .has-sorting .list ul {
        bottom: 90px;
    }

    .list ul li {
        width: 160px;
        padding: 1px 2px 6px 5px;
    }

        .list ul li h2 {
            font-size: 13px;
        }

    .leaflet-bottom.leaflet-right {
        right: 160px;
        bottom: 1px;
        left: 160px;
    }

    #filters {
        bottom: 15px;
        left: 164px;
        right: 164px;
    }

        #filters .filter {
            font-size: 11px;
        }

            #filters .filter em:after {
                top: 13px;
            }

    #splash {
        padding: 20px 20px 10px 20px;
    }
}

@media only screen and (max-width : 526px) {

    #filters {
        bottom: 30px;
        text-align: center;
    }

    .leaflet-bottom.leaflet-right {
        text-align: center;
    }
}

@media only screen and (max-width : 470px) {

    #filters .filter {
        display: none;
    }

        #filters .filter#clear-all-filters {
            display: inline-block;
        }

    .leaflet-bottom.leaflet-right {
        right: 160px;
        bottom: 1px;
        left: 160px;
    }

    #filters {
        bottom: 50px;
    }
}

@media only screen and (max-width : 410px) {

    .leaflet-container .leaflet-control-attribution {
        font-size: 9px !important;
    }

    .toggler {
        width: 40px;
    }

    #companies .selector {
        margin-left: 11px;
    }

    #categories .selector {
        margin-right: 11px;
    }

    .leaflet-bottom.leaflet-right {
        right: 152px;
        left: 152px;
    }

    #filters {
        bottom: 40px;
        right: 151px;
        left: 151px;
    }
}

/* screen height rules below */

@media only screen and (max-height : 650px) {

    #categories, #companies {
        height: 100%;
    }
}
