:root {
    --bs-font-sans-serif: 'Noto Sans', 'Roboto', 'Open Sans', 'Lato', Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: var(--bs-font-sans-serif);
    margin-bottom: 60px;
}

main {
    background-color: rgba(255,255,255, 0.88);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
}

footer {
    background-color: #6a6a6a;
    line-height: unset !important;
}

h2 {
    position: relative;
    padding: 1rem .5rem;
}

    h2:before,
    h2:after {
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        content: '';
        background-image: -webkit-gradient(linear, right top, left top, from(#30cfd0), to(#330867));
        background-image: -webkit-linear-gradient(right, #30cfd0 0%, #330867 100%);
        background-image: linear-gradient(to left, #30cfd0 0%, #330867 100%);
    }

    h2:before {
        top: 0;
    }

    h2:after {
        bottom: 0;
    }

.form-narrow {
    width: 100%;
    max-width: 480px;
    padding: 15px;
    margin: auto;
}

input.input-validation-error, select.input-validation-error {
    border-color: red;
}

table {
    caption-side:top;
}
.narrow-table {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.table .btn {
    width:100%;
}

.grouped-table > :not(:first-child) {
    border-top: 0;
}

.menuitem {
    display: block;
    border-radius: 10px;
    border: 1px solid #e3e3e3;
    padding-top: 8px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: inset 0 0 0 1px #FAFAFA;
    -moz-box-shadow: inset 0 0 0 1px #FAFAFA;
    box-shadow: inset 0 0 0 1px #FAFAFA;
    background: -moz-linear-gradient(top,rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(30,87,153,0.2)),color-stop(100%,rgba(125,185,232,0)));
    background: -webkit-linear-gradient(top,rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
    background: -o-linear-gradient(top,rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
    background: -ms-linear-gradient(top,rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
    background: linear-gradient(to bottom,rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#331e5799',endColorstr='#007db9e8',GradientType=0);
}

.menuitem img {
    width: 64px;
    height: 64px;
}

.accordion-right-button {
    position: absolute;
    right: .25rem;
    top: .5rem;
    z-index: 99;
}

.fitwidth {
    width:1%;
    white-space:nowrap;
}

.table-layout-fixed {
    table-layout:fixed;
}


.chartcontainer {
    position: relative;
}

.ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 3.5rem;
    line-height: 1.5rem;
    margin-top: 1rem;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    padding: 0;
    text-shadow: #fff 1px 1px 0px, #fff -1px 1px 0px, #fff 1px -1px 0px, #fff -1px -1px 0px;
}

    .ttl .capacity {
        display: inline-block;
        width: 100%;
        font-size: 1.35rem;
        text-align: right;
    }

    .ttl .battery {
        display: inline-block;
        width: 100%;
        font-size: 1.35rem;
        text-align: center;
        color: black;
    }


#powerButton {
    margin-top: 5px;
}

    #powerButton:hover {
        margin-top: 0;
        filter: drop-shadow(2px 10px 10px black);
    }

    #powerButton:active {
        margin-top: 5px;
        filter: brightness(150%);
    }


/*@media screen and (min-width: 600px) {
    .ttl {
        font-size: 5rem;
    }
}*/

.Danger {
    color: #EAA8BF;
}

.Caution {
    color: #FFEE55;
}

.Normal {
    color: #9ACDE7;
}

.Enough {
    color: #007AB7;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #6b6c84;
    overflow: hidden;
    z-index:-1;
}

.delivery .background {
    background: #4CACBC;
}

    .background li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        animation: animate 30s linear infinite;
    }

        .background li:nth-child(0) {
            left: 64%;
            width: 102px;
            height: 102px;
            bottom: -102px;
            animation-delay: 1s;
        }

        .background li:nth-child(1) {
            left: 9%;
            width: 162px;
            height: 162px;
            bottom: -162px;
            animation-delay: 1s;
        }

        .background li:nth-child(2) {
            left: 29%;
            width: 144px;
            height: 144px;
            bottom: -144px;
            animation-delay: 6s;
        }

        .background li:nth-child(3) {
            left: 4%;
            width: 146px;
            height: 146px;
            bottom: -146px;
            animation-delay: 10s;
        }

        .background li:nth-child(4) {
            left: 23%;
            width: 121px;
            height: 121px;
            bottom: -121px;
            animation-delay: 17s;
        }

        .background li:nth-child(5) {
            left: 16%;
            width: 78px;
            height: 78px;
            bottom: -78px;
            animation-delay: 25s;
        }

        .background li:nth-child(6) {
            left: 8%;
            width: 159px;
            height: 159px;
            bottom: -159px;
            animation-delay: 22s;
        }

        .background li:nth-child(7) {
            left: 25%;
            width: 152px;
            height: 152px;
            bottom: -152px;
            animation-delay: 2s;
        }

        .background li:nth-child(8) {
            left: 7%;
            width: 76px;
            height: 76px;
            bottom: -76px;
            animation-delay: 7s;
        }

        .background li:nth-child(9) {
            left: 58%;
            width: 69px;
            height: 69px;
            bottom: -69px;
            animation-delay: 10s;
        }

        .background li:nth-child(10) {
            left: 7%;
            width: 69px;
            height: 69px;
            bottom: -69px;
            animation-delay: 26s;
        }

        .background li:nth-child(11) {
            left: 9%;
            width: 139px;
            height: 139px;
            bottom: -139px;
            animation-delay: 2s;
        }

        .background li:nth-child(12) {
            left: 8%;
            width: 108px;
            height: 108px;
            bottom: -108px;
            animation-delay: 38s;
        }

        .background li:nth-child(13) {
            left: 17%;
            width: 160px;
            height: 160px;
            bottom: -160px;
            animation-delay: 11s;
        }

        .background li:nth-child(14) {
            left: 20%;
            width: 133px;
            height: 133px;
            bottom: -133px;
            animation-delay: 45s;
        }

        .background li:nth-child(15) {
            left: 44%;
            width: 104px;
            height: 104px;
            bottom: -104px;
            animation-delay: 4s;
        }

        .background li:nth-child(16) {
            left: 80%;
            width: 145px;
            height: 145px;
            bottom: -145px;
            animation-delay: 44s;
        }

        .background li:nth-child(17) {
            left: 80%;
            width: 74px;
            height: 74px;
            bottom: -74px;
            animation-delay: 34s;
        }


.flash {
    animation: flashAnimation 6s ease-in-out 1 alternate backwards;
}

@keyframes flashAnimation {
    0% {
        background-color: inherit;
    }

    10%, 90% {
        background-color: #ffb606;
    }

    100% {
        background-color: inherit;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .modal-dialog {
        max-width: 560px;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #888;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #2ab934;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(55px);
}

.slider:after {
    content: 'Vô hiêu hoá';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 60%;
}

input:checked + .slider:after {
    content: 'Đang sử dụng';
    left: 40%;
}

.google-doc {
    height: 80vh;
}

.google-doc iframe {
    width: 780px;
    height: 100%;
}
/*@media (min-width: 768px) {
    .google-doc div {
        padding: 72px !important;
    }
}*/
/*.google-doc iframe {
    width:100%;
    height:100%;
}*/

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}