﻿.troubleinfo-fire {
    margin-right: 5px;
    font-size: 6rem;
}

.digital-container {
    background-color: #212529;
    font-size: 20px;
    color: #ffc107;
}

.troubleinfo-person {
    margin-left: 45px;
}

.troubleinfo-person-child {
    width: 400px;
    margin-right: 50px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.troubleinfo-name {
    font-size: 3rem;
    color: #ffc107;
}

.digital-ul {
    margin: 30px auto;
    padding: 0;
    width: 400px;
    height: 110px;
    display: flex;
    list-style: none;
    justify-content: space-around;
    transform: skewX(-5deg);
}

.digital-li {
    width: 18%;
    height: 100%;
}

.bar {
    border: 5px solid #212529;
    position: relative;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1200px) {
    .troubleinfo-fire {
        margin-top: -15px;
        font-size: 5rem;
    }

    .troubleinfo-name {
        font-size: 2rem;
        color: #ffc107;
    }

    .troubleinfo-person {
        margin-top: 15px;
        margin-left: 10px;
    }

    .troubleinfo-person-child {
        width: 250px;
        margin-right: 50px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .digital-ul {
        margin: 10px auto;
        padding: 0;
        width: 350px;
        height: 110px;
        display: flex;
        list-style: none;
        justify-content: space-around;
        transform: skewX(-5deg);
    }
}

@media screen and (max-width: 992px) {
    .troubleinfo-fire {
        margin-top: -15px;
        font-size: 5rem;
    }

    .troubleinfo-name {
        font-size: 2rem;
        color: #ffc107;
    }

    .troubleinfo-person {
        margin-top: 15px;
        margin-left: 0px;
    }

    .troubleinfo-person-child {
        width: 380px;
        margin-right: 50px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .digital-ul {
        margin: 0px 0px 10px 55px;
        padding: 0;
        width: 350px;
        height: 90px;
        display: flex;
        list-style: none;
        justify-content: space-around;
        transform: skewX(-5deg);
    }
}

.top,
.middle,
.bottom,
.left-top,
.left-bottom,
.right-top,
.right-bottom {
    position: absolute;
    display: none;
    background-color: #ffc107;
    transition: all 0.5s ease-in-out;
}

.top,
.middle,
.bottom {
    left: 7%;
    width: 86%;
    height: 10px;
    clip-path: polygon(12.5% 0, 87.5% 0, 100% 50%, 87.5% 100%, 12.5% 100%, 0% 50%);
}

.left-top,
.left-bottom,
.right-top,
.right-bottom {
    height: 45%;
    width: 10px;
    clip-path: polygon(50% 0, 100% 10%, 100% 90%, 50% 100%, 0 90%, 0 10%);
}

.top {
    top: 0;
}

.middle {
    top: calc(50% - 5px);
}

.bottom {
    bottom: 0;
}

.left-top {
    top: 5%;
    left: -2.5%;
}

.left-bottom {
    bottom: 5%;
    left: -2.5%;
}

.right-top {
    top: 5%;
    right: -2.5%;
}

.right-bottom {
    bottom: 5%;
    right: -2.5%;
}

.zero .bar div:not(.middle) {
    display: block;
}

.one .bar .right-top,
.one .bar .right-bottom {
    display: block;
}

.two .bar .top,
.two .bar .middle,
.two .bar .bottom,
.two .bar .left-bottom,
.two .bar .right-top {
    display: block;
}

.three .bar .top,
.three .bar .middle,
.three .bar .bottom,
.three .bar .right-top,
.three .bar .right-bottom {
    display: block;
}

.four .bar .middle,
.four .bar .left-top,
.four .bar .right-top,
.four .bar .right-bottom {
    display: block;
}

.five .bar .top,
.five .bar .middle,
.five .bar .bottom,
.five .bar .left-top,
.five .bar .right-bottom {
    display: block;
}

.six .bar div:not(.right-top) {
    display: block;
}

.seven .bar .top,
.seven .bar .right-top,
.seven .bar .right-bottom {
    display: block;
}

.eight .bar div {
    display: block;
}

.nine .bar div:not(.left-bottom) {
    display: block;
}

.colon {
    width: 5%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.colon-top,
.colon-bottom {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background-color: #ffc107;
}

.confirm {
    width: 320px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.time {
    width: 30%;
}

.check {
    width: 70%;
}

@media (max-width: 768px) {
    .digital-container{
        width: 100%;
    }
    .troubleinfo-person {
        width: 100%;
        margin: auto;
    }
    .troubleinfo-person-child {
        max-width: calc(100vw - 100px);
    }
    .troubleinfo-fire {
        font-size: 3.5rem;
        margin-top: -5px;
    }
    .troubleinfo-name{
        font-size: 1.5rem;
    }
    .digital-ul {
        margin: auto;
        width: 310px;
        height: 75px;
    }
    .complain-row {
        margin-bottom: 15px;
    }

    .fire {
        background: #ff9999;
        animation: none;
    }
}