/* Navbar styling */
.navbar-makro {
    background-color: #ff2f92; /* Makro : #ff2f92, PKAS : #ff9300, SSI : #929000 */
}

.navbar-pkas {
    background-color: #ff9300; /* Makro : #ff2f92, PKAS : #ff9300, SSI : #929000 */
}

.navbar-ssi {
    background-color: #929000; /* Makro : #ff2f92, PKAS : #ff9300, SSI : #929000 */
}

.navbar-muo {
    background-color: #28b463; /* Makro : #ff2f92, PKAS : #ff9300, SSI : #929000 */
}

.navbar-brand {
    /*color: blue !important;*/
    font-size: 3em !important;
}

nav > form > input {
    background-color: black;
}

.subsystem {
    color: #ffffff;
    font-size: 1.5em;
    text-align: left;
    width: 100%;
    display: flex;
}

.card-background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 90vh;
}

.transparent {
    background-color: #959cb6ae;
}

.transparent-black {
    background-color: rgba(0, 0, 0, 0.5);
}

.transparent-black p {
    color: #fff;
    text-align: justify;
}

.transparent-black h3 {
    color: #fff;
    text-align: center;
    font-size: 30px;

}

.transparent-blue {
    background-color: #0080ff9f;
}

.transparent-blue p {
    color: #fff;
    text-align: justify;
    font-weight: 400;
}

.transparent-blue h4 {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 550;
    margin: 0;
}

.transparent-blue hr {
    border: 1px solid #fff;
    padding: 0;
}

.transparent h3 {
    text-align: center;
    padding: 15px 10px;
    font-size: 20px;
    font-weight: 700;
    /* color: #fff; */
}

.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #FCA11C;
    box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: none;
}

.button:after {
    content: " ";
    width: 0%;
    height: 100%;
    background: #183153;
    position: absolute;
    transition: all 0.4s ease-in-out;
    right: 0;
}

.active-button {
    background: #183153;
}

.active-button span {
    color: #fff !important;
}


.button:hover::after {
    right: auto;
    left: 0;
    width: 100%;
}

.button span {
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 8px 0px;
    color: #183153;
    font-size: 0.75em;
    font-weight: 500;
    letter-spacing: 0.2em;
    z-index: 20;
    transition: all 0.3s ease-in-out;
}

.button:hover span {
    color: #fff;
    animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.onoff {
    margin-left: -27px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    zoom: 1;
    *display: inline;
    position: relative;
    cursor: pointer;
    width: 68px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.onoff label {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #cd3c3c;
    border-radius: 5px;
    font-weight: bold;
    color: #FFF;
    -webkit-transition: background 0.3s, text-indent 0.3s;
    -moz-transition: background 0.3s, text-indent 0.3s;
    -o-transition: background 0.3s, text-indent 0.3s;
    transition: background 0.3s, text-indent 0.3s;
    text-indent: 27px;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
}

.onoff label:after {
    content: 'TIDAK';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    font-size: 12px;
    color: #591717;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.35);
    z-index: 1;
}

.onoff label:before {
    content: '';
    width: 15px;
    height: 24px;
    border-radius: 3px;
    background: #FFF;
    position: absolute;
    z-index: 2;
    top: 3px;
    left: 3px;
    display: block;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    -o-transition: left 0.3s;
    transition: left 0.3s;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

.onoff input:checked+label {
    background: #378b2c;
    text-indent: 8px;
}

.onoff input:checked+label:after {
    content: 'YA';
    color: #091707;
    margin-left: 10px;
}

.onoff input:checked+label:before {
    left: 50px;
}
