/*---------------------------------------------------------------*/
/* Font */
/*---------------------------------------------------------------*/
/* Font awesome */
@font-face {
    font-family: 'FontAwesome';
    src: url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/fonts/fontawesome-webfont.eot?v=4.4.0);
    src: url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/fonts/fontawesome-webfont.eot?#iefix&v=4.4.0) format('embedded-opentype'), url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/fonts/fontawesome-webfont.woff2?v=4.4.0) format('woff2'),url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/fonts/fontawesome-webfont.woff?v=4.4.0) format('woff'),url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/fonts/fontawesome-webfont.ttf?v=4.4.0) format('truetype'),url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular) format('svg');
    font-weight: normal;
    font-style: normal
}

/* Proxima Nova */
@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Thin.otf"), url("fonts/ProximaNova-Thin.eot") format("embedded-opentype");
    font-weight: 100; }

@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Light.otf");
    font-weight: 300; }

@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Reg.otf"), url("fonts/ProximaNova-Reg.eot") format("embedded-opentype");
    font-weight: 400; }

@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Sbold.otf"), url("fonts/ProximaNova-Sbold.eot") format("embedded-opentype");
    font-weight: 600; }

@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Bold.otf"), url("fonts/ProximaNova-Bold.eot") format("embedded-opentype");
    font-weight: 700; }

@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Xbold.otf");
    font-weight: 800; }

@font-face {
    font-family: ProximaNova;
    src: url("fonts/ProximaNova-Black.otf");
    font-weight: 900; }

/*---------------------------------------------------------------*/
/* General */
/*---------------------------------------------------------------*/
html, body {
    margin: 0;
    font-family: "ProximaNova", sans-serif;
    overflow: hidden;
}

.row {
    margin: 0;
}

.bold {
    font-weight: bold;
}

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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*:focus {
    outline: 0!important;
}

select,
button,
input[type="button"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
textarea{
    -webkit-appearance: none;
    -webkit-border-radius:0;
}
body {
    line-height: 1;
}

p{
    margin: 0 0 26px 0;
}
h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: normal;
}
table{
    width:100%
}
blockquote {
    quotes: none;
}
blockquote:before, blockquote:after {
    content: '';
}
del {
    text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
img{
    max-width: 100%;
    height:auto;
    vertical-align:top;
}
a img {
    border: none;
}

/*---------------------------------------------------------------*/
/* Top bar */
/*---------------------------------------------------------------*/
.top-bar {
    height: 80px;
    width: 100%;
    background: #4700a3;
}

.logo {
    background: #4700a3;
    display: flex;
    max-height: 100%;
    padding: 0.5rem;
}

.logo > img {
    max-width: 100%;
    max-height: 100%;
}

/*---------------------------------------------------------------*/
/* Sidebar */
/*---------------------------------------------------------------*/
.sidebar {
    height: calc(100vh - 80px);
    background: #ffffff;
    color: #000000;
    padding: 25px 20px;
    overflow-y: auto;
}

.sidebar-title {
    font-size: 1.5em;
}

.sidebar-title i {
    font-size: 0.8em;
    color: #a1a1a1;
}

.sidebar h1,.sidebar h2,.sidebar h3,.sidebar h4  {
    font-size: 1.1em !important;
    font-weight: bold !important;
}

.controls h3 {
    margin: 0;
}

.select2-container--default {
    position: absolute;
    top: 10px;
    left: 50px;
    z-index: 1000;
    width: 200px !important;
}

.select2-selection--single {
    background: #4700a3 !important;
    border: 1px solid transparent !important;
}

.select2-selection__rendered {
    color: white !important;
}

.select2-search,
.select2-selection__choice,
.select2-results__options {
    background: #4700a3 !important;
    color: white !important;
}

.select2-results__option--highlighted,
.select2-results__option[aria-selected=true] {
    background: #4700a3 !important;
}

.select2-search__field {
    background: #4700a3;
    color: white;
    border: 1px solid white !important;
}

.select2-selection__arrow b {
    border-color: white transparent transparent transparent !important;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #4700a3;
}

::-webkit-scrollbar-thumb {
    background: white;
}

::-webkit-scrollbar-thumb:hover {
    background: white;
}

.form-control-group {
    margin-bottom: 25px;
}

.sidebar input[type="checkbox"] {
    padding-right: 3px;
}

.sidebar .form-control {
    display: flex;
}

.sidebar .form-control > input {
    margin-top: 5px;
}

.sidebar .form-control > label {
    left: 50px;
    font-weight: bold;
}

input[type="checkbox"] {
    border: 1px solid #d3d3d3;
    color: #555;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 20px;
    margin-right: 10px;
    outline: 0;
    padding: 0!important;
    text-align: center;
    vertical-align: middle;
    width: 20px;
    min-width: 20px;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: .05s border-color ease-in-out;
    transition: .05s border-color ease-in-out;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px!important;
    font-size: 16px;
}

input[type="checkbox"]:checked {
    background: white;
    color: black;
    font-weight: bold;
}

input[type="checkbox"]:checked:before {
    content: '\f00c';
    font-family: "FontAwesome";
    font-style: normal;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 9px 1px 0 0;
}

.form-control {
    line-height: 30px;
    font-size: 1.2em;
}

.sub .form-control,
label[for=townships],
label[for=objects] {
    font-weight: 100;
}

.menu-button {
    display: none;
    background: #4700a3;
}

/*---------------------------------------------------------------*/
/* Content */
/*---------------------------------------------------------------*/
.content {
    background: #e1dcff;
    padding-left: 25px;
    padding-right: 25px;
}

.loading {
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    position: relative;
    width: 100%;
    height: 100%;
}

.loading-wrap {
    margin: auto;
}

/* LOADER Spinner */
.loader-spinner {
    position: relative;
}

.loader-spinner:before,
.loader-spinner:after {
    content: '';
    margin: 0;
    padding: 0;
    top: -6px;
    left: -6px;
    display: block;
    position: absolute;
    transform-origin: center;
    width: 41px;
    height: 41px;
    border: 6px solid;
    border-radius: 50%;
    border-color: #4700a3 transparent transparent transparent;
    animation: loadspinner 2s cubic-bezier(0.79, 0.135, 0.2, 0.86) infinite;
}

.loader-spinner:before {
    animation-delay: 0s;
}

.loader-spinner:after {
    animation-delay: 0.13s;
}

@keyframes loadspinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*---------------------------------------------------------------*/
/* Stats */
/*---------------------------------------------------------------*/
.stats {
    height: 100px;
}

.stats .col-lg-4 {
    display: flex;
}

.stats .col-lg-4 > div {
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
}

.stats .col-lg-4 ul {
    list-style: none;
    display: flex;
    padding-left: 0;
}

.stats .col-lg-4 ul li {
    float: left;
    margin: auto;
    padding: 7px;
}

.stats .col-lg-4 ul .first i {
    color: #000000;
    font-size: 1.5em;
}

.stats .col-lg-4 ul .second {
    color: #000000;
    font-size: 1.2em;
}

.stats .col-lg-4 ul .third {
    font-size: 1.5em;
    font-weight: bold;
}

.stats .title {
    display: block !important;
    font-size: 1.5em;
}

.stats .title .outdoor {
    color: #000000;
}

.arrow {
    width: 15px;
    height: 35px;
    margin-top: 50px !important;
    margin-right: 35px;
}

.arrow::before {
    content: '';
    width: 100%;
    height: 100%;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #d8dbe0;
    display: block;
    margin-left: 1px;
    margin-top: -2px;
    transform: rotate(15deg);
}

.arrow:after {
    content: '';
    float: left;
    position: relative;
    top: -100%;
    width: 100%;
    height: 100%;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #d8dbe0;
    transition: .2s ease;
    margin-left: -14px;
    margin-top: 2px;
    transform: rotate(-15deg);
}

.line {
    width: 35px;
    height: 70px;
    transform: rotate(180deg);
}



/*---------------------------------------------------------------*/
/* Map */
/*---------------------------------------------------------------*/
#map {
    width: 100%;
    height: calc(100% - 125px);
    border-radius: 4px;
    box-shadow: 0 5px 5px -5px rgba(0,0,0,.16), 0 5px 10px -5px rgba(0,0,0,.12);
}

.leaflet-bar {
    border: 0 !important;
}

.leaflet-bar a {
    background: #4700a3;
    border: 0;
    color: white;
    margin-bottom: 1px;
}

.leaflet-div-icon {
    background: unset !important;
    border: unset !important;
    font-size: 2.5em;
}

.icon {
    text-align: center;
    line-height: 20px;
}

/*---------------------------------------------------------------*/
/* Responsive */
/*---------------------------------------------------------------*/
@media only screen and (min-width : 670px) and (max-width : 1200px) {
    .sidebar-title, .title {
        font-size: 1.1em !important;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .sidebar-title, .title {
        font-size: 1.1em !important;
    }

    .stats .col-4 {
        padding: 0;
    }

    .stats .col-4 ul li {
        padding: 3px;
    }

    .outdoor {
        font-size: 0.9em;
    }
}

/* Medium or smaller */
@media (max-width: 767px) {
    .sidebar {
        position: absolute;
        left: -100%;
        z-index: 1002;
    }

    .content {
        height: calc(100vh - 80px);
    }

    .arrow {
        margin-left: -10px;
    }

    .arrow:before {
        margin-right: 13px;
    }

    .line {
        margin-right: 10px;
    }

    .stats .col-lg-4 ul li {
        padding: 2px;
    }

    .menu-button {
        display: block;
    }

    .sidebar {
        transition: left 0.3s ease;
    }

    .sidebar-active {
        transition: left 0.3s ease;
        left: 0;
    }

    .c-hamburger {
        display: block;
        position: absolute;
        top: 7px;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: 96px;
        height: 80px;
        font-size: 0;
        box-shadow: none;
        border-radius: 0;
        border: none;
        cursor: pointer;
        transition: background 0.2s;
        background: transparent;
    }

    .c-hamburger:focus {
        outline: none;
    }

    .c-hamburger span {
        display: block;
        position: absolute;
        top: 32px;
        left: 35px;
        right: 35px;
        height: 2px;
        background: white;
    }

    .c-hamburger span::before,
    .c-hamburger span::after {
        content: "";
        position: absolute;
        display: block;
        left: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: white;
    }

    .c-hamburger span::before {
        top: -8px;
    }

    .c-hamburger span::after {
        bottom: -8px;
    }

    .c-hamburger--htx span {
        transition: background 0s 0.2s;
    }

    .c-hamburger--htx span {
        transition: background 0s 0.2s;
    }

    .c-hamburger--htx span::before,
    .c-hamburger--htx span::after {
        transition-duration: 0.2s, 0.2s;
        transition-delay: 0.2s, 0s;
    }

    .c-hamburger--htx span::before {
        transition-property: top, transform;
    }

    .c-hamburger--htx span::after {
        transition-property: bottom, transform;
    }

    /* active state, i.e. menu open */
    .c-hamburger--htx.is-active span {
        background: none;
    }

    .c-hamburger--htx.is-active span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .c-hamburger--htx.is-active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .c-hamburger--htx.is-active span::before,
    .c-hamburger--htx.is-active span::after {
        transition-delay: 0s, 0.2s;
    }
}

@media only screen and (min-device-width : 510px) and (max-device-width : 1200px) and (orientation : landscape) {
    .arrow {
        margin-right: 15px;
    }

    .arrow:before {
        margin-left: -8px;
        margin-top: 2px;
    }

    .arrow:after {
        margin-left: 0;
        margin-top: 2px;
    }

    .stats .col-lg-4 ul li {
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .arrow {
        display: none !important;
    }

    .line {
        display: none !important;
    }

    .stats .col-lg-4 ul {
        flex-direction: column;
    }

    .stats .col-lg-4 > div {
        margin: auto;
    }
}

.hide {
    display: none;
}


.custom-cluster {
    background-clip: padding-box;
    color: white;
    text-align: center;
    background-color: #FF5800;
    cursor: pointer;
    font-size: 12px;
    width: 40px;
    height: 40px;
    z-index: 507;
    opacity: 1;
    outline: none;
    border-radius: 100%;
    margin-left: -10px;
    margin-top: -10px;
}

.custom-cluster span {
    line-height: 40px;
}

.leaflet-interactive {
    fill: #4700a3;
}