html,
body {
    height: 100%;
    background-color: #FFF;/*#1e1e2f;*/
    color: #ffffff;
    font-family: Rubik, serif;
}

.wrap {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrap > .container {
    padding: 0;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings', serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

section {
    height: 100%;
    position: relative;
}

section > div {
    height: 100%;
}

.primary {
    background-color: #27293d;
}

.secondary {
    background-color: #1e1e2f;
}

.card {
    border :0 ;
    position: relative;
    box-shadow: 0 1px 20px 0 rgba(0,0,0,.1);
    border-radius: .2857rem;
    padding: 10px;
}

.grid-slider .grid-slide > div {
    float: left;
    width: 50%;
    height: 50%;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.grid-slider .grid-slide > div.h100 {
    height: 100% !important;
}

.grid-slide > div > .card {
    box-shadow: 0 1px 10px 0 rgba(0,0,0,.3);
}

.grid-slide > div > div {
    height: 100%;
}

.grid-slide, .grid-slider, .slick-list, .slick-track {
    height: 100% !important;
}

.slick-prev, .slick-next {
    z-index: 9999 !important;
}

.slick-prev {
    margin-left: 25px;
}

.slick-next {
    margin-right: 25px;
}


.left, .right {
    float: left;
    height: 100%;
}
.left {
    width: 10%;
}

.left > div {
    background-color: #222A3F;
    height: 100%;
    text-align: center;
}

.right {
    width: 90%;
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3em;
    margin-bottom: 20px;
    width: 6vw;
    height: auto;
}

.left .block {
    margin-top: 1.5em;
    padding: 5px;
}

.block {
    overflow: hidden;
}

.green-block {
    background: rgb(77,163,89);
    background: -moz-linear-gradient(270deg, rgba(77,163,89,1) 0%, rgba(47,140,106,1) 100%);
    background: -webkit-linear-gradient(270deg, rgba(77,163,89,1) 0%, rgba(47,140,106,1) 100%);
    background: linear-gradient(270deg, rgba(77,163,89,1) 0%, rgba(47,140,106,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4da359",endColorstr="#2f8c6a",GradientType=1);
}

.orange-block {
    background: rgb(252,141,37);
    background: -moz-linear-gradient(270deg, rgba(252,141,37,1) 0%, rgba(246,113,32,1) 100%);
    background: -webkit-linear-gradient(270deg, rgba(252,141,37,1) 0%, rgba(246,113,32,1) 100%);
    background: linear-gradient(270deg, rgba(252,141,37,1) 0%, rgba(246,113,32,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fc8d25",endColorstr="#f67120",GradientType=1);
}

.red-block {
    background: rgb(214,58,60);
    background: -moz-linear-gradient(270deg, rgba(214,58,60,1) 0%, rgba(221,45,42,1) 100%);
    background: -webkit-linear-gradient(270deg, rgba(214,58,60,1) 0%, rgba(221,45,42,1) 100%);
    background: linear-gradient(270deg, rgba(214,58,60,1) 0%, rgba(221,45,42,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d63a3c",endColorstr="#dd2d2a",GradientType=1);
}

.blue-block {
    background: rgb(45,83,142);
    background: -moz-linear-gradient(270deg, rgba(45,83,142,1) 0%, rgba(21,136,255,1) 100%);
    background: -webkit-linear-gradient(270deg, rgba(45,83,142,1) 0%, rgba(21,136,255,1) 100%);
    background: linear-gradient(270deg, rgba(45,83,142,1) 0%, rgba(21,136,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2d538e",endColorstr="#1588ff",GradientType=1);
}

.block-title {
    font-size: 0.85vw;
    display: block;
    color: #EEEEEE;
}

.calendar {
    font-size: 0.8vw;
    display: block;
    color: #FFFFFF;
    font-weight: bold;
}

.big-time {
    display: block;
    font-size: 2.5vw;
}

.big-count {
    display: block;
    font-size: 2.5vw;
    font-weight: bold;
}

.provinsi {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.header-kementerian {
    font-size: 1vw;
    padding: 0 10px;
}

/* CHART */
.verticalChart {
    width: 100%;
    height: 100%;
}
.verticalChart .chart-left, .verticalChart .chart-right {
    float: left;
    height: 100%;
}
.verticalChart .chart-left {
    width: 35%;
}
.verticalChart .chart-right {
    width: 65%;
}
.verticalChart .categoryBar {
    height: 100%;
    margin-right: 5px;
}

.verticalChart .singleBar {
    width: calc(14.25% - 5px);
    float: left;
    margin-right: 5px;
    height: 100%;
}
.verticalChart .singleBar .bar, .verticalChart .categoryBar .bar {
    position: relative;
    height: calc(100% - 30px);
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.verticalChart .singleBar .bar .value, .verticalChart .categoryBar .bar .value {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    color: #ffffff;
}
.verticalChart .singleBar .bar .value span, .verticalChart .categoryBar .bar .value span {
    position: absolute;
    font-size: 12px;
    bottom: 0;
    width: 100%;
    height: 20px;
    color: #dddddd;
    text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, 1px -1px 0 #ffffff;
    display: none;
    text-align: center;
}
.verticalChart .singleBar .bar span.top-position {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    font-size: 1em;
    top: 0;
    width: 100%;
    height: 20%;
    color: #000000;
    font-weight: bold;
    text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, 1px -1px 0 #ffffff;

    text-align: center;
    z-index: 999;
}
.verticalChart .singleBar .bar span.bm-position {
    position: absolute;
    font-size: 1em;
    top: 20%;
    width: 100%;
    color: #000000;
    text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff, 1px -1px 0 #ffffff;
    text-align: center;
    z-index: 999;
}
.verticalChart .singleBar .title, .verticalChart .categoryBar .title {
    margin-top: 5px;
    text-align: center;
    height: 30px;
}
.verticalChart .ispu-category {
    height: 20%;
    color: white;
    font-weight: bold;
    font-size: 0.65vw;
    position: relative;
}
.verticalChart .ispu-category span {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    text-align: center;
}
#stasiun-detail .verticalChart .ispu-category span {
    font-size: 1.5em !important;
}
.category-berbahaya {
    background-color: #000000 !important;
    color: #fff !important;
}
.category-sts {
    background-color: #DD2D2A !important;
    color: #fff !important;
}
.category-ts {
    background-color: #D9D900 !important;
    color: #000 !important;
}
.category-s {
    background-color: #0066CB !important;
    color: #FFFFFF !important;
}
.category-b {
    background-color: #008C00 !important;
    color: #fff !important;
}
.category-w {
    background-color: #999999 !important;
    color: #000000 !important;
    display: none;
}

.category-invalid {
    background-color: transparent !important;
    color: #fff !important;
}

.title-category {
    padding: 3px 5px;
    position: absolute;
    right: 0;
}
.stasiun-title {
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
}

.ispu-summary-title {
    display: block;
}

.ispu-summary-value {
    display: block;
    color: #00f2c3 !important;
    margin-bottom: 0.7vw;
    font-size: 1.6vw;
    font-weight: bold;
    word-wrap: break-word;
}

.sm-summary .ispu-summary-value {
    font-size: 1.3em !important;
}

.sm-summary .ispu-summary-value-2 {
    font-size: 1em !important;
}

.ispu-summary-value-2 {
    display: block;
    color: #00f2c3 !important;
    margin-bottom: 0.7vw;
    font-size: 1.2vw;
    font-weight: bold;
    word-wrap: break-word;
}

.ispu-val {
    font-weight: bold;
    color: #000000 !important;
    display: inline !important;
}

.ispu-height {
    height: calc(100% - 24px) !important;
}

.weather-header {
    text-align: center;
    font-weight: bold;
    color: yellow;
    font-size: 0.9em;
}

.weather-value {
    text-align: center;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.max, .min, .avg {
    display: inline-block;
    margin-right: 5px;
    padding: 0 5px;
    border: 1px solid #000;
    font-size: 0.9em;
    font-weight: bold;
    background-color: rgba(0,0,0,.5);
}

.max {
    color: rgb(255,100,100);
}

.min {
    color: rgb(0,255,0);
}

.avg {
    color: rgb(0,255,255);
}

.last-update {
    padding-top: 10px;
    font-size: 0.9em;
    color: rgba(255,255,255,.5);
}

/* MAP VIEW */

.map-container {
    height: 100%;
}

.remove-padding {
    padding: 0 !important; margin: 0 !important;
}

.full-height {
    height: 100%;
}

.grid-slider2 .grid-slide > div {
    float: left;
    height: 50%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.grid-slider2 .weather-header , .grid-slider2  .weather-value {
    font-size: 0.7em;
}

.marker-div {
    position: relative;
}

.marker-div-top {
    border-radius: 4px;
    padding: 2px 5px;
    height: 24px;
    width: 36px;
    position: absolute;
    text-align: center;
    border:1px solid #000;
}

.marker-div-bottom {
    position: absolute;
    width: 2px;
    height: 14px;
    top: 24px;
    left: 18px;
    border:1px solid #000;
}

.grid-slider2 .verticalChart .singleBar .title, .grid-slider2 .verticalChart .categoryBar .title {
    font-size: 0.9em !important;
}

.maintenance {
    top:0;
    left:0;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(255,255,255,.8);
    border :0 ;
    box-shadow: 0 1px 20px 0 rgba(0,0,0,.6);
    border-radius: .2857rem;
    padding: 10px;
    z-index: 99;
    color: #000000;
}

.maintenance div {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 2.5vw;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 2px #FFFFFF, 0 0 3px #FFFFFF;
}

.maintenance div span {
    color: #990000;
    display: block;
}

/* DETAIL */
.detail-bar {
    height: 60px;
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
    box-shadow: 0 8px 8px -6px rgba(0,0,0,.5);

}

.detail-bar  .block {
    margin-top: 0;
    padding: 5px 15px;
    text-align: center;
}

.detail-bar .bar-header {
    font-size: 2em;
    font-weight: bold;
    padding-top: 7px;
    display: inline-block;
}

.detail-bar .block-title {
    font-size: 0.8em;
    display: block;
    color: #EEEEEE;
}

.detail-bar .calendar {
    font-size: 1em;
    display: block;
    color: #FFFFFF;
    font-weight: bold;
}

.detail-bar .big-time {
    display: block;
    font-size: 1.7em;
    font-weight: bold;
}

.center-div {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.font-big {
    font-size: 2em;
    font-weight: bold;
}

.font-big2 {
    font-size: 1.3em;
    font-weight: bold;
}

.font-big2 span {
    font-size: 0.9em;
    color: white;
    font-weight: normal;
    display: none;
}

.text-yellow {
    color: yellow;
}

.font-bordered-white {
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
}

.font-bordered-black {
    text-shadow:
            -1px -1px 0 #000,
            0   -1px 0 #000,
            1px -1px 0 #000,
            1px  0   0 #000,
            1px  1px 0 #000,
            0    1px 0 #000,
            -1px  1px 0 #000,
            -1px  0   0 #000;
}

.detail-content {
    height: calc(100% - 60px);
    background-color: #ffffff; /*#1e1e2f;*/
}

.stasiun-detail {
    float: left;
    width: 33.3%;
    box-sizing: border-box;
    padding: 10px;
}

.flex-container {
    display: flex;
    flex-flow: column;
    position: relative;
}

.flex-children {
    flex: 0 1 auto;
    margin-bottom: 10px;
}

.flex-title {
    font-size: 1.2em;
    text-align: center;
    display: block;
    padding: 0 10px 15px 5px;
    font-weight: bold;
}

.flex-title2 {
    font-size: 1.8em;
    text-align: center;
    display: block;
    padding: 0 10px 15px 5px;
    font-weight: bold;
}

.category-bm-under {
    background-color: #008C00 !important;
    color: #000 !important;
}

.category-bm-over {
    background-color: #990000 !important;
    color: #FFF !important;
}

.center-align {
    text-align: center;
}

.left-align {
    text-align: left;
}

.kualitas-udara {
    font-size: 4vw;
    font-weight: bold;
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    margin: 20px;
    height: 10vw;
    width: 10vw;
    position: relative;
}

.bottom-bordered {
    border-bottom: 1px dashed #777777;
    padding-bottom: 10px;
}

.card-val, .card-text {
    margin-bottom: 10px;
}

.card-val .title, .card-text .title, .card-val-weather .title {
    display: block;
}

.card-val .body {
    display: block;
    font-size: 2em;
    color: yellow;
    text-align: right;
}

.card-val .end {
    display: block;
    color: #999999;
    font-size: .9em;
    text-align: right;
}

.card-val-weather .body {
    display: block;
    font-size: 2em;
    color: yellow;
    text-align: center;
}

.card-val-weather .end {
    display: block;
    color: #999999;
    font-size: 1em;
    text-align: center;
}

.small-card .card-val .body {
    font-size: 1em !important;
}

.small-card .card-val .end {
    font-size: .8em !important;
}

.small-card .card-val-weather .body {
    font-size: 1em !important;
}

.small-card .card-val-weather .end {
    font-size: .8em !important;
}

.big-font-category {
    font-weight: bold;
    color: white;
    font-size: 2.5em;
}

.card-text .title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.card-text .body {
    font-size: 1.3em;
    display: block;
    color: yellowgreen;
}

.card-text .body .tindakan-item {
    margin-bottom: 5px;
}

.tindakan-item span {
    display: inline-block;
    color: lightseagreen;
    font-weight: bold;
    text-decoration: underline;
}

.max-100-height {
    max-height: 100% !important;
    height: 100% !important;
}

.grid-container {
    display: grid;
    grid-auto-rows: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: repeat(1, 1fr);
}

canvas {
    height: 100% !important;
}

.left-tanggal, .right-tanggal {
    position: absolute;
    display: inline-block;
    border: 1px solid #ffffff;
    padding: 3px 10px;
    font-size: .8em;
    color: #ffffff;
    background-color: rgba(0,0,0,.6);
    top: 0;
    z-index: 999;
}

.left-tanggal {
    left: 0;
}

.right-tanggal {
    right: 0;
}

.kons .singleBar .title {
    font-size: 1.2em !important;
}

.alamat {
    display: none; padding-left: 25px; font-weight: normal; margin-bottom: 6px; font-size: 0.9em;
    font-style: italic;
}
