html, body, #map {
    height: 100%;
    margin: 0px;
    padding: 0px
}
body{
    background-color: #222;
}

.hidden {
    display: none !important;
}

#map > div {
    background-color: rgb(229, 229, 229) !important;
}

#pac-input {
    width: 400px;
    height: 32px;
    background-color: #fff;
    left: 450px !important;
    margin: 16px 0 0 12px;
    padding: 0 11px 0 13px;
    border: 1px solid transparent;
    border-radius: 0;
    outline: none;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 300;
    text-overflow: ellipsis;
    z-index: 999;
}


#pac-input:focus {
    border-color: #4d90fe;
}

.pac-container {
    font-family: Roboto, sans-serif;
}

#type-selector {
    color: #fff;
    background-color: #4d90fe;
    padding: 5px 11px 0px 11px;
}

#type-selector label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}

#header{
    height: 60px;
    width:100%;
    background-color:#e5e5e5;
}
#header > a img {
    height: 19px;
    margin: 20px 60px;
    float: left;
}
#header .soc {
    float: right;
    margin: 14px 14px 0 0;
}
#header .about {
    position: absolute;
    right: 110px;
    top: 21px;
    font-size: 15px;
    text-decoration: underline;
    cursor: pointer;
    opacity: .7;
}
#header .about-descript {
    position: absolute;
    width: 290px;
    right: 98px;
    top: 59px;
    background: white;
    padding: 15px;
    font-size: 14px;
    line-height: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07);
    display: none;

}
#header .about:hover + .about-descript {
    display: block;
}
#counter{
    top: 10px;
    left: 280px !important;
    bottom: initial !important;
}

#counter h2{
    font-weight: normal;
    padding: 10px 15px 10px 0;
    font-size: 16px;
    margin: 0;
}
#counter h2 span {
    color: #dc322b;
}

#filters p {
    font-weight: 600;
}


#filters label {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#filters .filters-accident, #filters .filters-accident-types {
    padding-left: 18px;
}

/* Hide the browser's default checkbox */
#filters label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 7px;
    left: 0;
    height: 14px;
    width: 14px;
    border: 2px solid #7d7d7d;
}

#filters input:checked ~ .checkmark {
    background-color: #dc322b;
    border: 2px solid #dc322b;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

#filters input:checked ~ .checkmark:after {
    display: block;
}


#filters label .checkmark:after {
    left: 3px;
    top: 0px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.line {
    border-top: 1px solid #e5e5e5;
}

.filter{
    font-size: 20px;
    line-height: 0;
}

.dropbtn {
    position: fixed;
    bottom: 20px;
    left: 35px;
    background-color: #dd524c;
    color: white;
    padding: 10px 5px;
    font-size: 15px;
    border-radius: 0;
    border: none;
    min-width: 220px;
    text-transform: uppercase;
    font-weight: 600;
    display: none;
}

.dropup {
    display: inline-block;
    z-index: 999;
    min-width: 205px;
    width: 280px;
    bottom: 0 !important;
    top: 60px;
    left: 0;
    background-color: #fafafa;
    overflow-y: auto;
}

.dropup-content {
    position: relative;
    font-size: 14px;
    padding: 5% 10%;
}

.dropup-content a {
    color: #ccc;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
}

.dropup-content #filters label {
    line-height: 2rem;
}

.dropup-content a:hover {
    background-color: #3c3f41
}

.dropup:hover .dropbtn {
    background-color: #394557;
}

@media only screen and (min-width: 1001px) and (max-width: 1080px){
    #pac-input {
        width: 350px;
    }
}

@media only screen and (max-width: 1000px) {
    #pac-input {
        width: 95%;
        left: 2.5% !important;
        top: 52px !important;
        margin: 0;
    }
    #header{
        height: 120px;
    }
    #header > a img {
        margin: 18px 0 0 2.5%;
    }
    #header .soc {
        margin: 10px 2.5% 0 0;
    }
    #header .about {
        right: 2.5%;
        top: 92px;
    }
    #header .about-descript {
        top: 120px;
    }
    #counter{
        bottom: initial!important;
        top: 85px;
        left: 2.5% !important;
        line-height: 16px;
    }
    #counter h2 {
        padding: 10px 0;
    }
    .dropup-content a {
        padding: 8px!important;
        font-size: 12px;
    }
    .dropup{
        top: 120px;
        display: none;
    }
    .dropup .close:hover{
        opacity: 1;
    }
    .dropup-content{
        padding: 5% 10%;
    }
    .dropbtn {
        display: block;
    }
    .dropbtn span{
        display: inline-block;
        margin-left: 10px;
        -webkit-transform: rotate(180deg)!important;
        -moz-transform: rotate(180deg)!important;
    }
}

@media only screen and (max-width: 480px) {
    .dropup {
        width: auto;
        top: 0;
    }
    .dropup .close {
        position: absolute;
        right: 15px;
        top: 15px;
        text-align: center;
        line-height: 36px;
        cursor: pointer;
        width: 20px;
        height: 20px;
        background-image: url('../img/close.png');
        background-position: center;
        background-repeat: no-repeat;
        -webkit-background-size: 15px;
        background-size: 15px;
        opacity: .9;
    }
    .dropbtn {
        width: 80%;
        left: 50%;
        transform: translateX(-56%);
    }
    #header .about-descript {
        left: 50%;
        transform: translateX(-50%);
    }
}



.red-dot{
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    color: #e80f00;
    font-size: 20px;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1.0;
    }
}

.bold{
    font-weight: 800;
}

#map_canvas{background-color:#242f3e !important}

#map_canvas div div div div div div img{visibility:hidden}

input[type=text] {
    -webkit-appearance: searchfield;
}

input[type="checkbox"] {
    margin-right:  10px;
}
input[type='submit'] {
    border: none;
    border-radius: 0;
    background: #dd524c;
    color: white;
    padding: 8px 24px;
    margin-top: 1rem;
    -webkit-appearance: none;
}