/* Map style */
.container-fluid {
    padding: 0px;   
}

.container-map{
    height: calc(100% - 92px) !important;
}

.map {
    height: calc(100% - 92px) !important;
    display: flex;
    width: 100%;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
    border-bottom: none;
    
    background-image: url("../img/bg.jpg");
    background-size:cover;
}

svg {
    margin: 0px;
}

.background {
    fill: transparent;
    pointer-events: all;
}

.state {
    stroke-width: 1.5px;
    fill: #c2c3b9;
}

.focus {
    stroke: #55595A;
    fill: #eaece3;
}

.basin {
    opacity: 0.9;
    fill: #004895;
    cursor: pointer;
    stroke: #fff;
    stroke-width: 1;
}

.sub-basin {
    fill-opacity: 0.5;
    cursor: pointer;
    stroke: #55595A;
    stroke-width: 0.5;
    stroke-opacity: 1;
}

/* Ivai sub-basin */
.sub-basin.I1 { fill: #b5cf6b }

/* Cinzas sub-basin */
.sub-basin.C1 { fill: #d62728 }

/* Itarare sub-basin */
.sub-basin.IT1 { fill: #ff7f0e }

/* Ribeira sub-basin */
.sub-basin.R1 { fill: #8c6d31 }

/* Tibagi sub-basins */
.sub-basin.T1 { fill: #637939 }
.sub-basin.T2 { fill: #CD6839 }

/* Litoranea sub-basins */
.sub-basin.L1 { fill: #637939 }
.sub-basin.L2 { fill: #d62728 }
.sub-basin.L3 { fill: yellow }

/* Iguacu sub-basins */
.sub-basin.IG3 { fill: #637939; }
.sub-basin.IG2 { fill: #ff7f50; }
.sub-basin.IG1 { fill: #8c6d31; }
.sub-basin.RMC4 { fill: #843c39; }
.sub-basin.RMC3 { fill: yellow; }
.sub-basin.RMC2 { fill: #d62728; }
.sub-basin.RMC1 { fill: #ff7f0e; }
.sub-basin.CH2 { fill: #b5cf6b; }
.sub-basin.CH1 { fill: #CD6839; }

.river { 
    stroke: #1871c9; 
    fill: none; 
    stroke-linejoin: round; 
    stroke-linecap: round;
    stroke-width: 1;
}

a:focus, a:hover, a:active {
    color: #337ab7;
}

.basin-label {    
    font-size: 11px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 0 6px #000000, 0 0 3px #000000;
    fill: #FFFFFF;
    text-rendering: geometricPrecision;
}

.hidden {
    display: none;
}

.station {
    fill: lightgray;
    stroke: gray;
    cursor: pointer;
}

.station-active {
    fill: gray;
    cursor: pointer;
}

.chart {
    width: 100%;
}

svg > g > .basin:hover { 
    filter: url(#drop-shadow); 
}

.tr-forecast {
    background-color: #eee;
}

.modal-dialog {
    overflow-y: initial !important
}

/* Ensure that the demo table scrolls */
th, td { white-space: nowrap; }
div.dataTables_wrapper {
    width: 800px;
    margin: 0 auto;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom: none;
}

table.dataTable.no-footer {
    border-bottom: none;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none;
}