@import  "https://fonts.googleapis.com/css?family=Lato:400,700,900";
@import  "https://fonts.googleapis.com/css?family=Merriweather:400,700,400italic";
@import  "https://fonts.googleapis.com/css?family=Open+Sans:400,800,700,600";

@media(max-width:767px) {
.seven-cols .col-xs-1,.seven-cols .col-md-1,.seven-cols .col-sm-1,.seven-cols .col-lg-1 {
    width: 14.285714285714%;
}
}

@media (min-width: 768px) {
.seven-cols .col-md-1,.seven-cols .col-sm-1,.seven-cols .col-lg-1 {
    width: 14.285714285714%;
}
}

@media (min-width: 992px) {
.seven-cols .col-md-1,.seven-cols .col-sm-1,.seven-cols .col-lg-1 {
    width: 14.285714285714%;
}
}

@media (min-width: 1200px) {
.seven-cols .col-md-1,.seven-cols .col-sm-1,.seven-cols .col-lg-1 {
    width: 14.285714285714%;
}
}

html,body {
    font-family: 'Lato',sans-serif;
    height: 100%;
    padding: 0;
    margin: 0;
}

.container-fluid {
    padding: 15px;
    margin-top: 30px;
    position: relative;
    max-width: 850px;
    width: 850px;
    background: #B2B6B8;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.nopadding-right {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

#map {
    min-height: 460px;
}

.filter {
    border-top: 15px solid #B2B6B8;
    background: #CDD2D4;
    margin: 0;
    padding: 20px 0;
}

.filter h3 {
    font-weight: bolder;
    font-family: 'Open Sans',sans-serif;
    margin: 0 13px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #DC3522;
}

.filter h5 {
    color: #C25B56;
    margin-left: 13px;
    font-family: 'Open Sans',sans-serif;
    margin-bottom: 25px;
    margin-top: 4px;
}

.layer-text {
    font-size: 12px;
    text-align: right;
    display: block;
    color: #DC3522;
}

.layer-text .emp {
    margin-top: 3px;
    font-size: 16px;
    display: block;
    font-weight: 900;
    line-height: 20px;
}

.event-toggle {
    position: relative;
    float: left;
    width: 100%;
    font-size: .9em;
    font-weight: 700;
}

.event-toggle .event-text {
    display: table;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: thin dotted #000;
    min-height: 45px;
    line-height: 17px;
    position: relative;
}

.event-toggle .event-text .img {
    display: table-cell;
    vertical-align: middle;
    padding-right: 10px;
}

.event-toggle .event-text .event-name {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    margin-right: 8px;
    padding-right: 8px;
    font-weight: 700;
}

.event-toggle .event-switch {
    position: relative;
    margin-left: 30%;
}

div.cartodb-legend {
    max-width: 135px;
    padding: 10px;
    bottom: 30px;
    right: 15px;
    z-index: 10 !important;
    font: 400 13px 'Open Sans',sans-serif !important;
}

div.cartodb-legend .legend-title {
    text-transform: none;
    text-align: right;
    line-height: 14px;
}

div.cartodb-legend ul {
    text-align: right;
}

div.cartodb-legend.category ul li .bullet,div.cartodb-legend.color ul li .bullet,div.cartodb-legend.custom ul li .bullet {
    float: right;
    border-radius: 0;
    padding: 3px;
    margin-left: 8px;
}

div.cartodb-legend.category ul li,div.cartodb-legend.color ul li,div.cartodb-legend.custom ul li {
    margin: 0 0 4px;
    text-align: right;
    text-transform: none;
}

#buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

#buttons .btn {
    float: left;
    margin-left: 6px;
    box-shadow: rgba(0,0,0,.2) 0 0 2px 1px;
}

p {
    /*font-size: 17px;*/
    margin-bottom: 10px;
}

/* https://proto.io/freebies/onoff/ */
.event-toggle .onoffswitch {
    position: relative;
    width: 44px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.event-toggle .onoffswitch-checkbox {
    display: none;
}

.event-toggle .onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

.event-toggle .onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin .3s ease-in 0;
}

.event-toggle .onoffswitch-inner:before,.event-toggle .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 26px;
    padding: 0;
    line-height: 26px;
    font-size: 9px;
    color: #fff;
    font-family: Trebuchet,Arial,sans-serif;
    font-weight: 700;
    box-sizing: border-box;
}

.event-toggle .onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: #31B0D5;
    color: #6B6565;
}

.event-toggle .onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: #ADB2A7;
    color: #999;
    text-align: right;
}

.event-toggle .onoffswitch-switch {
    display: block;
    width: 16px;
    margin: 5px;
    background: #FFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    border-radius: 20px;
    transition: all .3s ease-in 0;
}

.event-toggle .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.event-toggle .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
}

.onoffswitch {
    position: relative;
    width: 200px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin .3s ease-in 0;
}

.onoffswitch-inner:before,.onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 36px;
    padding: 0;
    line-height: 36px;
    font-size: 16px;
    color: #fff;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "Toggle All Off";
    padding-left: 21px;
    background-color: #31B0D5;
    color: #FFF;
}

.onoffswitch-inner:after {
    content: "Toggle All On";
    padding-right: 21px;
    background-color: #ADB2A7;
    color: #FFF;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 18px;
    margin: 9px;
    background: #FFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 162px;
    border-radius: 20px;
    transition: all .3s ease-in 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
    background-color: #FFF;
}

#tooltip {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 10px;
    font: 400 13px 'Open Sans',sans-serif;
    color: #858585;
    text-align: left;
    webkit-box-shadow: rgba(0,0,0,.2) 0 0 4px 2px;
    -moz-box-shadow: rgba(0,0,0,.2) 0 0 4px 2px;
    box-shadow: rgba(0,0,0,.2) 0 0 4px 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #999;
    background: #fff;
    z-index: 9999 !important;
    color: #666;
    font-size: 11px;
    width: 165px;
}

#tooltip p {
    margin-bottom: 0;
}

#tooltip h5 {
    font: 400 13px 'Open Sans',sans-serif;
    margin: 0 0 5px;
    font-weight: 700;
    line-height: 16px;
}

#tooltip li {
    padding-bottom: 2px;
}

#tooltip ul {
    margin-bottom: 0 !important;
}

.cartodb-logo {
    display: none !important;
}

div.cartodb-popup.v2 {
    width: 360px;
    padding: 0;
    margin: 0 0 14px;
    -moz-box-shadow: 0 0 0 4px rgba(0,0,0,.15);
    -webkit-box-shadow: 0 0 0 4px rgba(0,0,0,.15);
    box-shadow: 0 0 0 4px rgba(0,0,0,.15);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    z-index: 99999 !important;
}

div.cartodb-popup .jspContainer:after,div.cartodb-popup .jspContainer:before {
    content: '';
    position: absolute;
    left: 0;
    right: 12px;
    display: block;
    height: 10px;
    width: 100%;
    z-index: 5;
}

div.cartodb-popup-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: thin dotted #5F706E;
    display: block !important;
}

div.cartodb-popup h3 {
    font-size: 16px;
    color: #455250;
    line-height: 22px;
}

div.cartodb-popup h4 {
    color: #455250;
    font-size: 13px;
    margin-top: 1px;
    font-weight: 400;
    text-transform: none;
}

div.cartodb-popup div.cartodb-popup-content {
    display: block;
    width: 190px;
    max-width: 190px;
    min-height: 5px;
    height: auto;
    max-height: 250px !important;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden !important;
    outline: 0;
    text-align: left;
}

div.cartodb-popup p {
    display: block;
    width: 190px;
    max-width: 190px;
    margin: 0;
    padding: 0 0 7px;
    font: 400 13px 'Open Sans',sans-serif !important;
    word-wrap: break-word;
    line-height: 18px;
}

div.cartodb-popup p.credit {
    font-size: .9em;
    color: grey;
    line-height: 16px;
}

div.cartodb-popup h1,div.cartodb-popup h2,div.cartodb-popup h3,div.cartodb-popup h4,div.cartodb-popup h5,div.cartodb-popup h6 {
    width: 100% !important;
}

h5.full-width {
    display: block;
    background: #717D8C;
    padding: 12px 13px !important;
    color: #CDD2D4 !important;
    font-size: 1em !important;
}