/*
* ----------[CRIMEREPORTING]--------*
*/
.red {
    color: red;
}
.green {
    color: green;
}
.blue {
    color: #0000ff;
}
.asterisk {
    font-size: 25px;
    font-weight: 900;
}
.crime_title{
    color:#18bb5c;
}

#crime-map-container {
    display: flex;
    align-items: center;
}
.crime-details-container {
    /*flex: 1;*/
    width: 395px;
    max-width: 35%;
}
#crime-map {
    display: flex;
    flex: 4;
    align-items: flex-start;
}
#crime-map > svg {
    width: 46vw;
    margin: 0 auto;
    max-width: 500px;
    max-height: 500px;
}
#crime-details {
    opacity: 0;
    visibility: hidden;
    /*position: absolute;*/
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,.14);
    /*width: 300px;*/
    /*min-width: 300px;*/
    /*height: auto;*/
    /*top: 50%;*/
    /*left: 0;*/
    /*transform: translate(-50%, -50%);*/
    transition: .4s ease;
}
.crime-headline {
    text-align: center;
}
#crime-details.active {
    opacity: 1;
    visibility: visible;
}
#crime-map-filters {
    flex: 1;
    margin-bottom: 20px;
}
.districts:hover {
    fill: rgb(34, 34, 46);
    opacity: .6;
    cursor: pointer;
}
#most-recent-crime-boss-container
{
    font-family: 'Georgia',Georgia,"Times New Roman",serif;
    border: 2px solid #E14432;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4px;
}
.most-recent-crime-boss-container article {
    text-align: left;
    margin-top: auto;
    padding: 0.7rem;
}
.most-recent-crime-boss-container article .post-content {
    font-size: 12px;
    line-height: 1.5;
}
.most-recent-crime-boss-container a.crime-boss-page-link {
/*    height: 60%;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.most-recent-crime-boss-container .more-crimeboss-link {
    margin-top: auto;
    line-height: 1.4;
    padding: 5px 0;
}
.sponsored-by {
    background-color: #F43022;
    width: 100%;
    color: #fff;
    font-family: var(--warnock);
    padding-bottom: 7px;
}
.sponsored-by span {
    display: block;
    font-size: 18px;
    font-weight: 600;
}
#ad-container-1,
#ad-container-2 {
    margin-bottom: 30px;
    display: none;
}
#ad-container-2 {
    margin-top: 30px;
}
.boss-banner {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4em;
    background-color: #F43022;
    padding: 5px;
    margin-bottom: 0;
    color: #fff;
    width: 100%;
}
.boss-district {
    font-weight: 600;
    font-size: 18px;
    line-height: 1em;
    background-color: #FFFFFF;
    padding: 5px;
    border-left: 1px solid #989898;
    border-right: 1px solid #989898;
}
.district-number {
    text-decoration: underline;
}
.boss-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 1em;
    background-color: #FFFFFF;
    padding: 8px 5px 5px;
    border-left: 1px solid #989898;
    border-right: 1px solid #989898;
}
img.boss-image {
    width: 100%;
}
/*.order-0 > path {
    fill: rgba(0, 0, 0, .05);
}
.order-1 > path {
    fill: rgba(0, 0, 0, .10);
}
.order-2 > path {
    fill: rgba(0, 0, 0, .15);
}
.order-3 > path {
    fill: rgba(0, 0, 0, .20);
}
.order-4 > path {
    fill: rgba(0, 0, 0, .25);
}
.order-5 > path{
    fill: rgba(0, 0, 0, .30);
}
.order-6 > path{
    fill: rgba(0, 0, 0, .35);
}
.order-7 > path{
    fill: rgba(0, 0, 0, .40);
}
.order-8 > path{
    fill: rgba(0, 0, 0, .45);
}
.order-9 > path{
    fill: rgba(0, 0, 0, .50);
}
.order-10 > path{
    fill: rgba(0, 0, 0, .55);
}
.order-11 > path{
    fill: rgba(0, 0, 0, .60);
}
.order-12 > path{
    fill: rgba(0, 0, 0, .65);
}
.order-13 > path,
.active > path {
    fill: rgba(247, 65, 52, 1);
}
.order-13.greyscale > path {
    fill: rgba(0, 0, 0, .75);
}*/
#Graphic-Districts .order-0 {
    fill: rgba(0, 0, 0, .05);
}
#Graphic-Districts .order-1 {
    fill: rgba(0, 0, 0, .10);
}
#Graphic-Districts .order-2 {
    fill: rgba(0, 0, 0, .15);
}
#Graphic-Districts .order-3 {
    fill: rgba(0, 0, 0, .20);
}
#Graphic-Districts .order-4 {
    fill: rgba(0, 0, 0, .25);
}
#Graphic-Districts .order-5 {
    fill: rgba(0, 0, 0, .30);
}
#Graphic-Districts .order-6 {
    fill: rgba(0, 0, 0, .35);
}
#Graphic-Districts .order-7 {
    fill: rgba(0, 0, 0, .40);
}
#Graphic-Districts .order-8 {
    fill: rgba(0, 0, 0, .45);
}
#Graphic-Districts .order-9 {
    fill: rgba(0, 0, 0, .50);
}
#Graphic-Districts .order-10 {
    fill: rgba(0, 0, 0, .55);
}
#Graphic-Districts .order-11 {
    fill: rgba(0, 0, 0, .60);
}
#Graphic-Districts .order-12 {
    fill: rgba(0, 0, 0, .65);
}
#Graphic-Districts .order-13,
#Graphic-Districts .active {
    fill: rgba(247, 65, 52, 1);
}
#Graphic-Districts .order-13.greyscale {
    fill: rgba(0, 0, 0, .75);
}
.crime-meta-container {
    display: flex;
    flex-direction: column;
}
.crime-king-container {
    display: flex;
    justify-content: center;
}
.crime-header {
    /*padding: 7px;*/
    display: flex;
    /*justify-content: space-between;*/
    flex-direction: column;
}
.crime-king-container,
.district-num-name {
    padding: 7px;
}
.crime-king-container {
    background-color: rgba(247, 65, 52, 1);
}
.crime-header h4 {
    /*color: #fff;*/
    padding-bottom: 0;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 32px;
}
.crime-header.crime-king h4 {
    color: #fff;
}
.crime-header svg {
    width: 100%;
    max-width: 50px;
    height: 100%;
    margin-left: auto;
    fill: white;
}
/*.crime-avatar {}*/
.crime-avatar img {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
}
.crime-meta {
    padding: 15px;
    /*color: #fff;*/
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}
span.label {
    text-transform: none;
    font-weight: 400;
}
.distric-number {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: #595959;
    display: inline-flex;
    justify-content: space-between;
    /*margin-bottom: 5px;*/
    border-bottom: 2px solid;
}
.distric-number .ranking {
    text-transform: none;
    font-size: 16px;
    font-weight: 400;
    /*color: #000;*/
}
.distric-number.mobile {
    display: none;
}
.distric-rep-name,
.current-month-score,
.last-years-month-score,
.homicide,
.assault,
.sex-offenses,
.robberytheft,
.other-offenses,
.crime-labels,
.year-over-year-score {
    display: flex;
    justify-content: space-between;
    background: #f1f1f1;
}
.distric-rep-name,
.assault,
.robberytheft,
.crime-labels,
.last-years-month-score {
    background: transparent;
}
.crime-meta span.type {
    flex: 1 0 35%;
}
.crime-meta span.district,
.crime-meta span.city {
    flex: 1 0 20%;
    text-align: center;
}
.crime-meta span.label.district,
.crime-meta span.label.city {
    font-size: 12px;
    text-decoration: underline;
}
.crime-labels .label {
    text-transform: uppercase;
    /*font-size: 12px;*/
}
.distric-rep-name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    flex-direction: column;
    margin-top: 7px;
}
.distric-rep-name span.title {
    /*text-transform: uppercase;*/
    color: #595959;
}
ul#legend-container {
    padding: 0;
    list-style: none;
}
ul#legend-container li {
    display: flex;
}
ul#legend-container li .box {
    width: 50px;
    height: 25px;
}
ul#legend-container li .label {
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
}
.order-1 .box {
    background: rgba(0, 0, 0, .07);
}
.order-2 .box {
    background: rgba(0, 0, 0, .14);
}
.order-3 .box {
    background: rgba(0, 0, 0, .21);
}
.order-4 .box {
    background: rgba(0, 0, 0, .28);
}
.order-5 .box {
    background: rgba(0, 0, 0, .35);
}
.order-6 .box {
    background: rgba(0, 0, 0, .42);
}
.order-7 .box {
    background: rgba(0, 0, 0, .49);
}
.order-8 .box {
    background: rgba(0, 0, 0, .56);
}
.order-9 .box {
    background: rgba(0, 0, 0, .63);
}
.order-10 .box {
    background: rgba(0, 0, 0, .70);
}
.order-11 .box {
    background: rgba(0, 0, 0, .77);
}
.order-12 .box {
    background: rgba(0, 0, 0, .84);
}
.order-13 .box {
    background: rgba(0, 0, 0, .93);
}
.order-14 .box {
    background: rgba(255, 0, 0, 1);
}
#crime-details-list-container {
    padding: 0;
    list-style: none;
    display: none;
}
@media only screen and (max-width: 1024px) {
    /*.crime-header:not(.crime-king),*/
    #crime-map,
    #crime-map-legend,
    .crime-details-container {
        display: none;
    }
    #crime-details-list-container {
        display: flex;
        margin-top: 30px;
    }
    li.crime-details-list {
        margin-bottom: 10px;
        border-bottom: 4px solid #d6d6d6;
        padding-bottom: 20px;
    }
    #crime-details-list-container:not(.unknown) li.crime-details-list.r-15 {
        display: none;
    }
    #crime-map-container {
        flex-direction: column;
    }
    #crime-details-list-container {
        flex-direction:  column-reverse;
    }
    .crime-meta-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .current-ranking {
        font-size: 25px;
        align-self: center;
        font-weight: 900;
        flex: 0 0 50px;
    }
    .crime-avatar {
        flex: 0 0 100px;
    }
    .crime-avatar img {
        height: 100px;
        max-height: 100px;
        object-fit: cover;
        width: 100px;
        max-width: 100px;
    }
    .crime-meta {
        flex: 2;
        padding: 0 15px 15px;
    }
    .district-num-name {
        padding-left: 0;
    }
    .crimes-of-the-week {
        margin-top: 20px;
    }
}
@media only screen and (max-width: 767px) {
    .current-ranking {
        font-size: 16px;
        flex: 0 0 30px;
    }
    .crime-meta-container {
        flex-direction: column;
        align-items: unset;
    }
    .crime-avatar {
        flex: 0 0 75px;
    }
    .crime-avatar .distric-number {
        display: none;
    }
    .crime-meta {
        padding: 0;
        font-size: 14px;
    }
    .distric-number {
        font-size: 16px;
    }
    .distric-rep-name {
        line-height: 1.5;
    }
    /*.crime-header.crime-king h4 {
        font-size: 16px;
    }*/
    .crime-header {
        padding: 0;
    }
    .crime-header svg {
        max-width: 30px;
    }
    .distric-number.mobile {
        /*display: flex;*/
        display: none;
    }
}


.wrapper-tbl-crime-meta{
    padding: 0 12px;
    width: 100%;
}

@media (min-width:768px){
    .wrapper-tbl-crime-meta{
        padding: 0;
    }
}

.tbl-crime-meta{
    border: none !important;
    font-size: 14px;
}

.tbl-crime-meta caption{
    margin: 5px 0 0;
    text-transform: uppercase;
    font-weight: bold;
}

.tbl-crime-meta tbody tr:nth-child(2n-1){
    background-color: #f1f1f1;
}

.tbl-crime-meta tr td,
.tbl-crime-meta tr th{
    padding: 1px;
    border: none;
}

.tbl-crime-meta tr th{
    font-weight: normal;
    color: #000;
}

.tbl-crime-meta thead tr th{
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    font-weight: 700;
    text-decoration: underline;
}

.tbl-crime-meta tr td{
    text-align: center;
    font-weight: bold;
}

.tbl-crime-meta tr td.text-red{
    color: red;
}

.tbl-crime-meta tr td.text-green{
    color: green;
}
