﻿.list-dates {
    float: right;
}

.list-title {
    font-size: 30px;
}

b {
    font-weight: bold;
}

.blog-container {
    background: whitesmoke;
    border-radius: 50px;
    font-family: "adelle-sans", sans-serif;
    font-weight: 100;
    margin-bottom: 25px;
    width: 100%;
}

    .blog-container a {
        color: #4d4dff;
        text-decoration: none;
        -webkit-transition: .25s ease;
        transition: .25s ease;
    }

        .blog-container a:hover {
            border-color: #ff4d4d;
            color: #ff4d4d;
        }

.blog-cover {
    background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/17779/yosemite-3.jpg");
    background-size: cover;
    border-radius: 5px 5px 0 0;
    height: 15rem;
    box-shadow: inset rgba(0, 0, 0, 0.2) 0 64px 64px 16px;
}

.maintenance-t {
    color: orange;
}

.accidents-t {
    color: red;
}

.blog-body {
    margin: 0 auto;
    width: 80%;
}

.video-body {
    height: 100%;
    width: 100%;
}

.blog-title {
    padding-top: 15px;
    text-align: center;
}

.blog-title {
    color: #333;
    font-weight: 100;
    box-shadow: rgba(0, 0, 0, 0.2) 0 4px 2px -2px;
}

.box {
    width: 100px;
    height: 50px;
    margin: 0 var(--w,20px);
    display: inline-block;
    border-radius: 15px;
    background: var(--c,red);
    position: relative;
    color: white;
}

    .box:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: var(--w,20px);
        right: calc(100% - 2px);
        background: radial-gradient(107% 100% at top left,transparent 96%,var(--c,red) 100%) top, radial-gradient(107% 100% at bottom left,transparent 96%,var(--c,red) 100%) bottom;
        background-size: 100% 50.1%;
        background-repeat: no-repeat;
    }

    .box:after {
        left: calc(100% - 2px);
        right: auto;
        transform: scaleX(-1);
    }

.info-container-list {
    margin-bottom: 10px;
}

.str {
    margin: 8px 0 !important;
}

.tab-content > .active {
    width: 100%;
}

.leaflet-map {
    height: 500px;
    width: 100%;
    position: relative;
    border-radius: 15px;
}

.leaflet-draw-section, .leaflet-control-zoom-out, .leaflet-control-zoom-in {
    background-color: white !important;
}

.info-container {
    margin-top: 10px;
}



.info::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
}

#accident-info::before {
    background-color: red;
}

#maintenance-info::before {
    background-color: orange;
}

.controls-container {
    margin-bottom: 15px;
}

.c-orange {
    color: orange;
}

.c-red {
    color: red;
}

.controls-container .dropdown-menu.show {
    z-index: 9999;
}

.from-date {
    padding-bottom: 5px;
}

.locally {
    position: relative;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    right: 0;
    position: absolute;
    transition: all .5s;
    cursor: pointer;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.accident {
    background-color: #ff0000;
}

.maintenance {
    background-color: #ffa500;
}

.affected-region {
    text-align: left;
    font: normal normal 600 24px/30px Akrobat-Regular;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.address-container p {
    text-align: left;
    font: normal normal normal 14px/16px Roboto;
    letter-spacing: 0px;
    color: #101010;
    opacity: 1;
    margin: 0;
}

.locally span, .date-container, .type, .addresses {
    font-size: 1.2em;
}

.leaflet-popup-content-wrapper {
    min-width: 320px;
    word-break: break-word;
}

.addresses, .type {
    margin-top: 1em;
}

.accidents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accident-list {
    background-color: #fff;
    position: relative;
}

    .accident-list:after {
        content: "";
        position: absolute;
        left: 1.5em;
        right: 1em;
        bottom: 0;
        height: 1px;
        border-bottom: 1px solid #C6C6C6;
    }

.accident-title {
    display: flex;
}

    .accident-title h2 {
        font: normal normal 600 1.4em/1.2 Akrobat-Regular;
        color: #000000;
    }

.date-with-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.accident-date {
    position: relative;
    font-size: 0.8em;
    padding: 0.3em 0.6em;
    border-radius: 5px;
    margin-left: 1em;
    z-index: 2;
}

    .accident-date::after {
        content: '';
        width: 0;
        height: 0;
        display: block;
        position: absolute;
        z-index: 2;
        border: 0;
        border-top: 0.3em solid transparent;
        border-bottom: 0.3em solid transparent;
        margin-top: -0.3em;
        top: 50%;
        left: -0.3em;
    }

.red-background.accident-date::after {
    border-right: 0.3em solid #DB2227;
}

.orange-background.accident-date::after {
    border-right: 0.3em solid #EB6F00;
}

.red-background {
    background: #FCECED 0% 0% no-repeat padding-box;
    border: 1px solid #DA2127;
    border-radius: 5px;
    opacity: 1;
    font: 0.9em/1.2 Roboto;
    color: #D12329;
}

.orange-background {
    background-color: #EB6F00;
    background: #ED70000D 0% 0% no-repeat padding-box;
    border: 1px solid #EB6F00;
    border-radius: 5px;
    opacity: 1;
    font: 0.9em/1.2 Roboto;
    color: #EB6F00;
}

.accident-list .calendar-icon {
    width: 24px;
    height: 23px;
}

.accident-addresses {
    text-align: start;
    padding-top: 1em;
}

.accident-legend {
    display: flex;
    column-gap: 1em;
    padding-top: 1em;
}

.locally {
    display: none;
}

.accident-legend div {
    display: flex;
    align-items: center;
}

    .accident-legend div::before,
    .accident-legend div::before {
        content: '';
        display: block;
        height: 0.5em;
        width: 0.5em;
        background-color: #DA2127;
        border-radius: 50%;
        margin-right: 0.3em;
    }

    .accident-legend div:last-child::before {
        background-color: #EB6F00;
    }


.accident-and-repairs-homepage {
    position: relative;
    margin-top: 1.5em;
}

.accidents-and-repairs-list-homepage {
    position: relative;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 10px #0000001A;
    border-radius: 12px;
    opacity: 1;
    margin: auto;
    display: block;
    height: auto;
}

@media (min-width:1221px) {
    .accidents-and-repairs-list-homepage {
        position: absolute;
        display: flex;
        flex-direction: column;
        background: #fff;
        max-height: 430px;
        width: 20em;
        z-index: 999;
        left: 1.5em;
        top: 0.6em;
        border-radius: 0.4em;
    }

    .search-icon {
        right: 3.6em;
        top: 1.1em;
    }

    .search-container input {
        width: auto;
    }

    .accident-list-homepage {
        width: 19.5em;
    }
}

.search-container {
    position: relative;
    padding: 1em 2em;
}

    .search-container input {
        z-index: 999;
        border-radius: 1em;
        height: 2em;
        border: 1px solid #9E9E9E;
        outline: none;
        width: 100%;
        padding: 1em 2.2em 1em 1em;
    }

.search-icon {
    position: absolute;
    right: 2.8em;
    top: 1.3em;
    z-index: 1000;
    cursor: pointer;
}

    .search-icon img {
        width: 1.4em;
        height: 1.4em;
    }

.accident-list-homepage {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5em;
    margin-bottom: 1.5em;
    width: 100%;
}

    .accident-list-homepage .accident-list {
        flex-direction: column;
        align-items: flex-start;
        cursor: pointer;
        border-radius: 0px 10px 10px 0px;
    }

        .accident-list-homepage .accident-list .accident-title {
            flex-direction: column;
            align-items: flex-start;
            padding: 1em 1.5em;
        }

        .accident-list-homepage .accident-list:hover {
            background-color: #DA212715;
        }

        .accident-list-homepage .accident-list .accident-title h2 {
            text-align: start;
        }

        .accident-list-homepage .accident-list .date-with-icon {
            margin-left: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            justify-content: center;
        }

    .accident-list-homepage::-webkit-scrollbar {
        width: 4px;
    }

    .accident-list-homepage::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

    .accident-list-homepage::-webkit-scrollbar-thumb {
        background-color: #DB2227;
        outline: 1px solid #fff;
    }

.leaflet-popup-content .date-with-icon {
    font-size: 1.5em;
}
