﻿#gismap {

}

.db-header {
    display: table;
    height: 130px;
    background: #15546a;
    width: 100%;
    color: white;
    border-spacing: 20px 10px;
    border-style: solid;
    border-width: 10px 0 0 0;
    border-color: #15546a;
}

.db-header img{
    height:80px;
    width:80px;
}

    .db-header > div {
        display: table-cell;
        vertical-align: middle;
        background: #0c2f3c;
        padding:0px;
    }

    

    .db-header > div > div{
        display:table;

    }

    .db-header > div > div > div{
        display:table-cell;
        vertical-align:middle;
    }

        .db-header > div > div> div:first-child {
            width: 80px;
        }

    .db-header h1{
        display:inline-block !important;
        color:white !important;
        font-size:40px !important;
        line-height: 20px !important;
        margin-bottom:0 !important;
    }

.db-row {
    background: #15546a;
    display: table;
    width: 100%;
    height: calc(50% - 65px);
    border-spacing: 20px 10px;
}

    .db-row:first-child {
        
    }

    .db-row:last-child {
        padding-bottom: 10px;
    }

.db-cell {
    color:white;
    background: #0c2f3c;
    display: table-cell;
    width: 25%;
    border-style: none;
    border-width: 5px;
    border-color: black;
    vertical-align: middle;
    text-align: center;
    position: relative;
    padding-left:15px;
    padding-right:15px;
}


.db-cell.dispatches{
    width:50%;
}

.db-cell.transports{
    width:50%;
}

#gismap h2{
    font-size:34px !important;
    line-height:38px !important;
    margin-bottom:0 !important;
    text-align:center;
    color:white !important;
}

#gismap h2 .caption{
    font-size:16px !important;
    line-height:20px !important;
    display:block;
}

.db-date{
    font-size:15px;
    font-style:italic;
    padding-top:10px;
}

#gismap h3{
    color:white !important;
    border-style:none !important;
    font-size:30px !important;
    margin-bottom:0px !important;
    font-weight:normal !important;
}

#gismap h3{
    margin-top:10px !important;
}


.db-value{
    font-size:130px;
    font-weight:bold;
    line-height:130px;
    margin-bottom:10px;
}

.overdoses .db-value{
    font-size:100px;
    line-height:100px;
}

#gismap .overdoses h3{
    font-size:22px !important;

}

#gismap .dispatches h2, #gismap .transports h2 {
    font-size: 50px !important;
    line-height:54px !important;
}

.transports .db-value, .dispatches .db-value{

}

.db-value:last-child{
    margin-bottom:0;
}


.db-row:last-child .db-cell:first-child h3 {
    margin-top:0px !important;
}



.transports-values, .dispatches-values, .overdoses-values{
    display:table;
    width:100%;
}

.transports-values > div{
    display:table-cell;
    width:33.33%;
    text-align:center;
}

.dispatches-values > div, .overdoses-values > div {
    display: table-cell;
    width: 50%;
    text-align: center;
}

@media(max-width:1600px){
    .db-value {
        font-size: 100px;
        line-height: 100px;
    }
}

@media(max-width:1300px) {
    #gismap h1{
        font-size:30px !important;
    }

    #gismap h2, #gismap .transports h2, #gismap .dispatches h2 {
       
    }

    .db-value {
        font-size: 100px;
        line-height: 100px;
    }

    .transports .db-value, .dispatches .db-value, .overdoses .db-value{
        font-size:60px;
        line-height:60px;
    }

    #gismap .transports h3, #gismap .dispatches h3 {
        font-size: 22px !important;
    }
}


@media(max-width:1000px){

    #gismap {
        overflow-y: auto !important;
    }

    #gismap h1{
        font-size:24px !important;
        line-height:30px !important;
    }

    .db-row{
        border-spacing:20px 0;
    }

    .db-cell {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-style: solid;
        border-width: 20px 0 0 0;
        border-color: #15546a;
        padding:10px;
    }

    .db-cell.dispatches{
        border-top-width:10px;
    }

    .db-cell.mvc{
        border-bottom-width:10px;
    }

    #gismap .transports h2, #gismap .dispatches h2{
        font-size:34px !important;
        line-height:38px !important;
    }

    
}




@media(max-width:550px){
    .db-header > div > div > div:first-child{
        display:block;
    }

    #gismap h1{
        font-size:20px !important;
        line-height:24px !important;
    }

    #gismap h2, #gismap .transports h2, #gismap .dispatches h2 {
        font-size: 28px !important;
        line-height: 32px !important;
    }

    #gismap h3 {
        font-size: 24px !important;
        line-height: 28px !important;
    }


    .db-value{
        font-size:50px !important;
        line-height:50px !important;
    }

    .transports-values, .transports-values > div, .dispatches-values, .dispatches-values > div {
        display: block;
        width: 100%;
    }

}


@media(max-width:350px){

    .db-header img {
        height: 40px;
        width: 40px;
    }

    .db-header > div > div > div:first-child {
        width:40px;
    }

    #gismap h1 {
        font-size: 18px !important;
        line-height: 22px !important;
    }

    #gismap h3 {
        font-size: 20px !important;
        line-height: 24px !important;
    }
}