.primary {
    background-color: #27293d;
}

.secondary {
    background-color: #ccddee;
}

.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%;
}

.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.6);
    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;
    border-bottom: 3px solid #FF0000;
    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.65vmax;
    position: relative;
}
@media (max-width: 1018px) {
    .verticalChart .ispu-category {
        font-size: 0.85vmax;
    }
}
.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;
}
.keterangan {
    padding: 0;
    overflow-y: scroll;
    position: relative;
    height: 100%;
}
.keterangan div {
    padding: 10px;
    margin: 0;
}

.keterangan div p:first-child {
    font-weight: bold;
    font-size: 1.2em;
    text-shadow:
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
}
.keterangan .category-ts p:first-child {
    text-shadow:
            -1px -1px 0 #FFF,
            1px -1px 0 #FFF,
            -1px 1px 0 #FFF,
            1px 1px 0 #FFF !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: gray !important;
    color: #fff !important;
}

.title-category {
    padding: 3px 5px;
}
.stasiun-title {
    font-weight: bold;
    font-size: 1.1em;
}

.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;
}

.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: 4px;
    grid-row-gap: 4px;
    grid-template-columns: repeat(5, 1fr);
}

.grid-container div {
    text-align: center;
}

.grid-container div span{
    font-weight: bold;
    padding: 3px 0;
    display: block;
    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;
}

.grid-container div p{
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    font-style: italic;
}

.grid-container-full {
    display: grid;
    grid-auto-rows: 1fr;
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    grid-template-columns: repeat(10, 1fr);
}

.grid-container-full div {
    text-align: center;
}

.grid-container-full div span{
    font-weight: bold;
    padding: 3px 0;
    display: block;
}

.grid-container-full div p{
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    font-style: italic;
}

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;
}

.ispumap-container {
    height: 100%; position: relative;
}

.ispumap-container .ispumap-container-child-left,  .ispumap-container .ispumap-container-child-right {
    height: 100%; position: relative;
}

@media (max-width: 1200px) {
    .ispumap-container .ispumap-container-child-left {
        height: 80%;
    }

    .ispumap-container .ispumap-container-child-right {
        height: 20%;
    }

    .keterangan div {
        padding: 3px;
        font-size: 0.9em;
        margin: 0;
    }
}
@media (max-width: 1284px) {.grid-container-full {grid-template-columns: repeat(9, 1fr);}  }
@media (min-width: 726px) and (max-width: 996px) {.grid-container-full {grid-template-columns: repeat(7, 1fr);}  }
@media (min-width: 508px) and (max-width: 723px) {.grid-container-full {grid-template-columns: repeat(5, 1fr);}  }
@media (min-width: 308px) and (max-width: 505px) {.grid-container-full {grid-template-columns: repeat(3, 1fr);}  }

@media (min-width: 1338px) and (max-width: 1527px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1335px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 670px) and (max-width: 990px) {
    .grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 504px) and (max-width: 670px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 340px) and (max-width: 502px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .topbar p {
        font-size: .8em;
    }
}

@media (max-width: 338px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .login-box {
        margin: 100px auto !important;
    }
}

#map {
    height: 100%;
    position: relative;
}

.popup {
    color: #ffffff;
    z-index: 9999;
    margin: auto;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,0.8);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.0);
    display:none;
}

.popup-content {
    position: relative;
    height: 100%;
    width: 100%;
}

.lds-roller {
    display: block;
    position: absolute;
    width: 80px;
    height: 80px;
    top: 0; left: 0; bottom: 0; right: 0;
    margin: auto;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.status-maintenance {
    background-color: yellow;
    color: red;
}

.status-update {
    background-color: green;
    color: white;
}

.status-inactive {
    background-color: lightgrey;
    color: dimgrey;
}

.percentile-valid {
    color: green !important;
}

.percentile-invalid {
    color: darkred !important;
    font-weight: bold;
}
.category-bordered {
    border: 1px solid #fff;
}
.small-act {
    font-size: .7em;
    color: #555;
    display: block;
}
