@import "default.css";

main .content {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(12, 1fr);
}

.content > article:nth-child(1) {
    grid-row: 1;
    grid-column: 1 / span 3;
}

.content > article:nth-child(2) {
    grid-row: 1;
    grid-column: 4 / span 3;
}

.content > article:nth-child(3) {
    grid-row: 1;
    grid-column: 7 / span 2;
}

.content > article:nth-child(4) {
    grid-row: 2 / span 2;
    grid-column: 1 / span 8;

    min-width: 900px;
}

.content > article:nth-child(5) {
    grid-row: 1;
    grid-column: 9 / span 4;

    min-width: 410px;
}

.content > article:nth-child(6) {
    grid-row: 2;
    grid-column: 9 / span 4;
}

.content > article:nth-child(7) {
    grid-row: 3;
    grid-column: 9 / span 4;
}

.content > article {
    width: calc(100% - 2vh);
    height: calc(100% - 2vh);
    margin: 1vh;
}

.checkBoxCon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /*grid-template-rows: repeat(2, 1fr);*/
    grid-template-rows: 1fr;
}

.margin_left_200 {
    margin-left: 120px;
}

.margin_left_300 {
    margin-left: 210px;
}

.checkBoxCon > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.powerImg {
    width: 40px;
    height: auto;
}

.sensorImg {
    width: 40px;
    height: auto;
}

.checkBoxCon > .control {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.checkBoxCon1 > .control {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;

    position: absolute;
    top: -50px;
    right: 20px;
}

.simulImg {
    width: 120px;
    height: 120px;
}

/*.checkBoxCon > div:nth-child(1) {*/
/*    grid-row: 1 / span 2;*/
/*    grid-column: 1;*/
/*}*/
/*.checkBoxCon > div:nth-child(2) {*/
/*    grid-row: 1;*/
/*    grid-column: 2;*/
/*    align-items: flex-end;*/
/*}*/
/*.checkBoxCon > div:nth-child(3) {*/
/*    grid-row: 2;*/
/*    grid-column: 2;*/
/*    align-items: flex-start;*/
/*}*/

/*.checkBoxCon > div:nth-child(4) {*/
/*    grid-row: 1 / span 2;*/
/*    grid-column: 3;*/
/*}*/
/*.checkBoxCon > div:nth-child(5) {*/
/*    grid-row: 1;*/
/*    grid-column: 4;*/
/*    align-items: flex-end;*/
/*}*/
/*.checkBoxCon > div:nth-child(6) {*/
/*    grid-row: 2;*/
/*    grid-column: 4;*/
/*    align-items: flex-start;*/
/*}*/

article > section.prodValueCon {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    /*grid-template-columns: 25% 75%;*/
    padding: 0;
    width: 100%;
    height: 100%;
}

/*
.prodHead:before {
    content: "";
    height: 100%;
    width: 4px;
    background: #01C980;
    border-radius: 2px;
}

.prodValueCon > * {
    padding: 2vh;
    width: calc(100% - 4vh);
    height: calc(100% - 4vh);
    position: relative;


}

.prodHead > .mark {
    background: #01C980;
}

.prodVal {
    box-shadow: 0 1px 1px #000, inset 0 0 1px #7E869B;
}

#faultValue + .prodVal {
    box-shadow: 0 1px 1px #000, inset 0 0 1px #7E869B;
    border-bottom-right-radius: 1vh;
}

.prodHead > p {
    margin-left: 1.5vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.prodHead > p:nth-child(2) {
    font-size: 2.2vh;
    color: #01C980;
    height: 20%;
}

.prodHead > p:nth-child(3), .prodHead > p:nth-child(5) {
    color: #7E869B;
    font-size: 1.8vh;
    height: 20%;
    align-items: flex-end;
}

.prodHead > p:nth-child(4), .prodHead > p:nth-child(6) {
    color: white;
    font-size: 0.5vw;
    height: 20%;
    align-items: flex-end;
}
@media all and (min-width:1800px) {
    .prodHead > p:nth-child(4), .prodHead > p:nth-child(6) {
        color: white;
        font-size: 1vw;
        height: 20%;
        align-items: flex-end;
    }
}

.prodHead > .realVal:after {
    margin-left: 0.5vw;
    font-size: 2vh;
}

.prodHead > .realVal:after {
    content: attr(data-value) "%";
    color: #01C980;
    font-size: 15px;
}

.prodHead > .realVal.up:after {
    content: attr(data-value) "% ▲";
    color: #fe0000;
    font-size: 0.5vw;
}

.prodHead > .realVal.down:after {
    content: attr(data-value) "% ▼";
    color: #3263f0;
    font-size: 0.5vw;
}


.prodVal.tNhCon {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);

    min-width: 530px;
}*/

.prodHead:before {
    content: "";
    height: 100%;
    width: 4px;
    background: #01c980;
    border-radius: 2px;
}

.prodValueCon > * {
    padding: 2vh;
    width: calc(100% - 4vh);
    height: calc(100% - 4vh);
    position: relative;
}

.prodHead > .mark {
    background: #01c980;
}

.prodVal {
    box-shadow:
        0 1px 1px #000,
        inset 0 0 1px #7e869b;
}

#faultValue + .prodVal {
    box-shadow:
        0 1px 1px #000,
        inset 0 0 1px #7e869b;
    border-bottom-right-radius: 1vh;
}

.prodHead > p {
    margin-left: 1.5vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.prodHead > p:nth-child(2) {
    font-size: 2.2vh;
    color: #01c980;
    height: 20%;
}

.prodHead > p:nth-child(3),
.prodHead > p:nth-child(5) {
    color: #7e869b;
    font-size: 1.8vh;
    height: 20%;
    align-items: flex-end;
}

.prodHead > p:nth-child(4),
.prodHead > p:nth-child(6) {
    color: white;
    font-size: 0.5vw;
    height: 20%;
    align-items: flex-end;
}

@media all and (min-width: 1800px) {
    .prodHead > p:nth-child(4),
    .prodHead > p:nth-child(6) {
        color: white;
        font-size: 1vw;
        height: 20%;
        align-items: flex-end;
    }
}

.prodHead > .realVal:after {
    margin-left: 0.5vw;
    font-size: 2vh;
}

.prodHead > .realVal:after {
    content: attr(data-value) "%";
    color: #01c980;
    font-size: 15px;
}

.prodHead > .realVal.up:after {
    content: attr(data-value) "% ▲";
    color: #fe0000;
    font-size: 0.5vw;
}

.prodHead > .realVal.down:after {
    content: attr(data-value) "% ▼";
    color: #3263f0;
    font-size: 0.5vw;
}

.prodVal.tNhCon {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);

    min-width: 530px;
}

.tNhCon > article.bc {
    width: calc(100% - 2vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

article.bc > div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #01c980;
    font-size: 0.9vw;
}

article.bc > div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

article.bc p.value {
    font-size: 1vw;
    color: white;
    margin-bottom: 1vw;
}

article.bc > div:nth-child(2) {
    height: calc(10vh) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

article.bc p.value:after,
article.bc p.compare:after {
    content: attr(data-unit);
}

article.bc p.compare {
    font-size: 1vw;
    margin-top: 0.5vw;
}

article.bc p.compare.up {
    color: #fe0000;
}

article.bc p.compare.up:before {
    content: "▲";
    margin-right: 0.5vh;
}

article.bc p.compare.down:before {
    content: "▼";
    margin-right: 0.5vh;
}

article.bc p.compare.down {
    color: #3263f0;
}

article.bc .divide:after {
    content: "지난 1시간 평균 대비";
    color: #7e869b;
    font-size: 0.7vw;
}

article > header.isUnit:after {
    font-size: 1.2vh;
    content: "(" attr(data-unit) ")";
    margin-left: 0.5vh;
}

.control h5 {
    color: white;
    font-weight: normal;
    margin: 0 0 0.5vh 0;
}

.control > input[type="checkbox"] {
    display: none;
}

.control > input[type="checkbox"] + label {
    margin-top: 1vh;
    height: 2vh;
    width: 7.2vh;
    background: black;
    border-radius: 2vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.5vh;
}

.control > input[type="checkbox"] + label > div {
    height: 2vh;
    width: 2.5vh;
    border-radius: 1vh;
    background: #7e869b;
}

.control > input[type="checkbox"]:checked + label {
    justify-content: flex-start;
}

.control > input[type="checkbox"]:checked + label > div {
    background: #01c980;
}

c-select#prodValSelect {
    right: 2vh;
    width: 25vh;
    top: 1.5vh;
    height: 4vh;
}

c-select:not(#prodValSelect) {
    right: 2vh;
    top: 1.5vh;
    height: 4vh;
    width: 30vh;
}

/*section.prodValueCon > #faultValue:hover {
    background-color: rgba(200, 200, 200, .2);
    border-bottom-left-radius: 1.5vh;
    cursor: pointer;
}*/

/*section.prodValueCon > #faultValue:active {
    transform: translateY(.1vh);
}*/

.prodHead > p.line:after {
    content: attr(data-after);
    margin-left: 0.5vh;
}

.prodHead > p.realVal {
    position: relative;
}

.prodHead > p.realVal:before {
    position: absolute;
    /*    content: "/ " attr(data-unit);*/
    margin-left: 0.5vw;
    bottom: 0;
    right: 0%;
    font-size: 0.5vw;
}

input[type="checkbox"].connState + label {
    pointer-events: none;
}

.new_title {
    /*    box-shadow: 0 0 3px #000, inset 0 0 1px #7E869B;
        z-index: 1;
        font-size: 2vh;
        color: #F9F9FA;
        padding: 2.5vh;
        width: calc(100% - 5vh);
        height: calc(100% - 17vh);
        position: absolute;
        top: 1px;
        left: 0px;*/
}

.prod_title {
    position: absolute;
    top: 20px;
}

.prod_row1_1 {
    position: absolute;
    top: 65px;
}

.prod_row1_2 {
    position: absolute;
    margin-top: 40px;
    top: 65px;
}

.prod_row2_1 {
    position: absolute;
    right: 40px;
    top: 65px;
}

.prod_row2_2 {
    position: absolute;
    right: 40px;
    margin-top: 40px;
    top: 65px;
}

#boncProdSimpleCont:not(.normal) #equipTemProdValCon {
    justify-content: flex-start;
}

#boncProdSimpleCont:not(.normal) #equipTemProdValCon > div {
    width: 100%;
    height: 8vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 1fr;
    place-items: center;
    grid-gap: 1vh;
    font-size: 0.8vw;
}

#boncProdSimpleCont:not(.normal) #equipTemProdValCon > div:before {
    content: attr(data-c);
    color: white;
    font-size: 0.9vw;
}

#boncProdSimpleCont #envTemProdValCon {
    padding: 1vh;
    width: calc(100% - 2vh);
    height: 12vh !important;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    grid-gap: 1vh 0;
}

#boncProdSimpleCont .subCOnTable {
    padding: 2vh 0;
    width: calc(100%);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 2fr;
    place-items: center;
    grid-gap: 0 2px;
}

#boncProdSimpleCont .subCOnTable > div {
    color: white;
    width: calc(100%);
    height: calc(100%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(200, 200, 200, 0.1);
}

/*#boncProdSimpleCont .subCOnTable > p:last-of-type {*/
/*    border-top-right-radius: 1vh;*/
/*}*/

/*#boncProdSimpleCont .subCOnTable > p:first-of-type {*/
/*    border-top-left-radius: 1vh;*/
/*}*/

/*#boncProdSimpleCont .subCOnTable > div:last-of-type {*/
/*    border-bottom-right-radius: 1vh;*/
/*}*/

/*#boncProdSimpleCont .subCOnTable > div:first-of-type {*/
/*    border-bottom-left-radius: 1vh;*/
/*}*/

#boncProdSimpleCont .subCOnTable > p {
    background-color: rgba(200, 200, 200, 0.2);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#boncProdSimpleCont .rr > p {
    color: red;
}

.selContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.selContainer > input {
    display: none;
}

.selContainer > input + label {
    font-family: oneMobR;
    color: #aaa;
    padding: 0.5vh;
    width: 8vh;
    border: 2px solid #aaa;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.selContainer > label:first-of-type {
    border-top-left-radius: 2vh;
    border-bottom-left-radius: 2vh;
    margin-right: 5px;
}

.selContainer > label:last-of-type {
    border-top-right-radius: 2vh;
    border-bottom-right-radius: 2vh;
}

.selContainer > input:checked + label {
    color: white;
    border-color: #01c980;
    background-color: #01c980;
}

#boncProdSimpleCont #envTemProdValCon > p {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: white;
    font-size: 3vh;
}

#boncProdSimpleCont #envTemProdValCon > p:after {
    content: "g";
    color: #01c980;
    font-size: 0.9vw;
}

#prodChartTitle {
    position: absolute;
    top: 1.5vh;
    left: 2vh;
    color: white;
}

main .content > article > #namdo1ProdWating {
    overflow-y: scroll;
    padding: 0 10px;
    width: calc(100% - 40px);
    height: 170px;
    margin: auto;
}

main .content > article > #namdo1ProdWating::-webkit-scrollbar {
    width: 0.5vh;
}

main .content > article > #namdo1ProdWating::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 0.25vh;
}

main .content > article > #namdo1ProdWating::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0.25vh;
}

.npw_row {
    width: 100%;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 3fr 2fr 1fr;
    height: 4vh;
    grid-gap: 2px;
    margin-top: 2px;
    scroll-margin-top: 4vh;
}

.npw_row.head {
    margin-top: 0;
    position: sticky;
    top: 0;
    background-color: #51545c;
}

.npw_row.cpl > p:last-of-type {
    color: #aaa;
}

.npw_row.now > p:last-of-type {
    color: #01c980;
}

.npw_row.wait > p:last-of-type {
    color: #dad55e;
}

.npw_row > p {
    display: grid;
    place-items: center;
    background-color: rgba(200, 200, 200, 0.1);
    color: white;
}

.npw_row.head > p {
    background-color: rgba(200, 200, 200, 0.2);
    color: #01c980;
}

#namdo1ProdProgress {
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*flex-direction: column;*/
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 4vh);
    position: relative;
}

#namdo1ProdProgressTrack {
    width: 100%;
    height: 3vh;
    background-color: #25282f;
    border: 3px solid #aaa;
    position: relative;
    overflow: hidden;
}

#namdo1ProdProgressTrack > .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(1, 201, 128, 0.8);
    overflow: hidden;
    transition: width 1s;
}

#namdo1ProdProgressTrack > .item:before {
    /*width: ;*/
    width: 5px;
    height: 100%;
    background-color: #01c980;
    content: "";
    display: block;
    box-shadow: 0 0 5px 3px #01c980;
    position: absolute;
    left: 0;
    animation: progressLight 1s infinite linear;
}

#namdo1ProdProgressTrack > .item:after {
    /*width: ;*/
    width: 5px;
    height: 100%;
    background-color: #01c980;
    content: "";
    display: block;
    box-shadow: 0 0 5px 3px #01c980;
    position: absolute;
    left: 0;
    animation: progressLight 1s 0.5s infinite linear;
}

@keyframes progressLight {
    from {
        left: 0;
    }
    to {
        left: 100%;
    }
}

#namdo1ProdProgressTrack > #namdo1ProdProgressItem1 {
    width: 0%;
}

#namdo1ProdProgressTrack > #namdo1ProdProgressItem2 {
    width: 0%;
}

#namdo1ProdProgressTrack > .title {
    width: 100%;
    height: 2vh;
    position: absolute;
    top: calc(50% - 1vh);
    left: 0;
    text-align: center;
    color: white;
    font-size: 2vh;
}

#namdo1ProdProgress .timeBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#namdo1ProdProgress > p {
    height: 2vh;
    color: white;
    width: 100%;
}

#namdo1ProdProgress > h5 {
    height: 2vh;
    color: white;
    position: absolute;
    top: 3vh;
    right: 2vh;
    margin: 0;
}

#namdo1ProdProgress .timeBar p:not(.title) {
    height: 2vh;
    /*position: absolute;*/
    /*bottom: -3vh;*/
    color: white;
}

#namdo1ProdProgress .timeBar .endTime {
    text-align: right;
}

#namdo1TotalProdInfo {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 2vh;
}

#namdo1TotalProdInfo > div {
    /*background-color: rgba(200,200,200,.1);*/
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: 1fr;
    border: 3px solid #e5e5e5;
    border-radius: 1vh;
    padding: 1vh;
    width: calc(100% - 2vh - 6px);
    height: calc(100% - 2vh - 6px);
    grid-gap: 1vh;
}

#namdo1TotalProdInfo > div > .title {
    color: white;
    display: grid;
    place-items: center;
}

#namdo1TotalProdInfo > section {
    grid-row: span 2;
}

#namdo1TotalProdInfo > div > p {
    text-align: center;
    color: #01c980;
}

#namdo1TotalProdInfo > div #dProdPercentView {
    font-size: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #01c980;
}

#namdo1TotalProdInfo > div #dProdPercentView:after {
    content: "%";
}

#namdo1TotalProdInfo > div #dProdPercentView:empty:before {
    content: "-";
}

#namdo1TotalProdInfo > div #envMoreGoodGuideLine {
    display: grid;
    place-items: center;
    font-size: 0.75vw;
}

article#namdo2WideArticle {
    grid-row: 1 / span 2;
}

article#namdo2WideArticle + article {
    grid-row: 3;
}

article#namdo2WideArticle > section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 2vh;
}

article#namdo2WideArticle > section > section:nth-of-type(1) {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 1.5fr) repeat(3, 1fr);
}

article#namdo2WideArticle > section > section:nth-of-type(1) > p {
    padding: 0 1vh;
    width: calc(100% - 2vh);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

article#namdo2WideArticle > section > section:nth-of-type(1) > p:not(:nth-of-type(6)):before {
    content: attr(data-c);
    color: #01c980;
    margin-right: 1vh;
}

article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(1),
article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(2) {
    grid-column: span 2;
    font-size: 1.2vw;
}

article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(6) {
    grid-column: 2;
    grid-row: 3 / span 3;
    font-size: 1.5vw;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    border-top: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
}

article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(6):after {
    content: "좌표";
    color: #01c980;
    font-size: 0.9vw;
    margin-top: 1vh;
}

article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(2),
article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(3),
article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(4),
article#namdo2WideArticle > section > section:nth-of-type(1) > p:nth-of-type(5) {
    border-top: 1px solid #aaaaaa;
}

article#namdo2WideArticle > section > section:nth-of-type(2) {
    grid-row: span 2;
    display: grid;
    grid-template-rows: repeat(15, 1fr);
    grid-template-columns: 1fr;
    overflow: hidden;
}

article#namdo2WideArticle > section > section:nth-of-type(2) > p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1vh;
    width: calc(100% - 2vh);
}

article#namdo2WideArticle > section > section:nth-of-type(2) > p:not(.title):before {
    content: attr(data-c) " :";
    color: #01c980;
}

article#namdo2WideArticle > section > section:nth-of-type(2) > p.title {
    background-color: rgba(200, 200, 200, 0.2);
    justify-content: center;
}

article#namdo2WideArticle > section > section:nth-of-type(3) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
}

article#namdo2WideArticle > section > section:nth-of-type(3) > p {
    text-align: right;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1vh;
    width: calc(100% - 2vh);
}

article#namdo2WideArticle > section > section:nth-of-type(3) > p:before {
    content: attr(data-c) " :";
    color: #01c980;
    position: absolute;
    left: 1vh;
}

article#namdo2WideArticle > section > section:nth-of-type(3) > p:not(.notUnit):after {
    content: attr(data-unit);
    margin-left: 1vh;
}

#powerRulerCon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 2vh;
}

#powerRulerCon > section {
    position: relative;
}

#powerRulerCon > section > .rotateCon {
    /*transform: rotate(-45deg);*/
    /*transform-origin: 110px 140px;*/
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
#powerRulerCon > section > .rotateCon:after {
    content: attr(data-c);
    margin-bottom: 5vh;
}

#powerRulerCon > section:nth-of-type(2) > .rotateCon:after {
    border-bottom: 2px solid #fff;
}

#powerRulerCon > section > .rotateCon > p {
    position: absolute;
    width: 5px;
    height: 90px;
    background-color: #ef5555;
    top: 40px;
    left: calc(50% - 2.5px);
    transform-origin: 0 119px;
    transform: rotate(-45deg);
}

#powerRulerCon > section > .rotateCon > div {
    position: absolute;
    top: 3vh;
    left: calc(50% - 1px);
    width: 2px;
    height: 10px;
    background-color: #aaaaaa;
    transform-origin: 0 130px;
}

#powerRulerCon > section > .rotateCon > div:nth-of-type(10n + 1) {
    left: calc(50% - 1.5px);
    width: 3px;
    height: 15px;
}

#powerRulerCon > section > .rotateCon > div > p {
    position: absolute;
    top: -2vh;
    width: 10vh;
    left: calc(50% - 5vh);
    text-align: center;
    font-size: 0.5vw;
}

#namdo1TotalProdInfo > .blackInfo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#namdo1TotalProdInfo > .blackInfo > section {
    background-color: #aaaaaa;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 1vh;
    overflow: hidden;
    width: 50%;
    height: 70%;
}

#namdo1TotalProdInfo > .blackInfo > p:nth-of-type(2).blink {
    animation: blink-effect 1s step-end infinite;
}

#namdo1TotalProdInfo > .blackInfo > p:nth-of-type(1).blink {
    animation: blink-effect 2s step-end infinite;
}

@keyframes blink-effect {
    50% {
        border-color: #01c980;
    }
}

#namdo1TotalProdInfo > .blackInfo > section:before {
    content: "";
    background-color: #25282f;
    width: calc(100% - 1vh);
    height: calc(100% - 1vh);
    z-index: 1;
    border-radius: 1vh;
}

#namdo1TotalProdInfo > .blackInfo > section > div {
    width: 1px;
    height: 50px;
    background-color: #01c980;
    box-shadow: 0 0 5px 5px #01c980;
    position: absolute;
}

#namdo1TotalProdInfo > .blackInfo > section > div.up {
    transform-origin: 0 70px;
}

#namdo1TotalProdInfo > .blackInfo > section > div.down {
    transform-origin: 0 -15px;
}

/*#namdo1TotalProdInfo > .blackInfo > section > div.up {*/
/*    left: -10px;*/
/*}*/

/*#namdo1TotalProdInfo > .blackInfo > section > div.down {*/
/*    right: -10px;*/
/*}*/

#namdo1TotalProdInfo > .blackInfo > section > div.up.start {
    animation: plcToServer 1s infinite linear both;
}

#namdo1TotalProdInfo > .blackInfo > section > div.down.start {
    animation: serverToPlc 3s infinite linear both;
}

@keyframes plcToServer {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

@keyframes serverToPlc {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

#namdo1TotalProdInfo > .blackInfo > p {
    position: absolute;
    z-index: 2;
    width: 5vh;
    height: 5vh;
    background-color: #24272f;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.5vw;
    border: 5px solid #aaa;
    border-radius: 1vh;
    text-align: center;
}

#namdo1TotalProdInfo > .blackInfo > p:first-of-type {
    left: 2vh;
}

#namdo1TotalProdInfo > .blackInfo > p:last-of-type {
    right: 2vh;
}

@media screen and (max-width: 1280px) {
    main .content {
        display: grid;
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(3, 1fr) 1.5fr;
        /*background-color: #fff;*/
    }
    .content > article:nth-child(1) {
        grid-column: 1;
    }
    .content > article:nth-child(2) {
        grid-column: 2;
    }
    .content > article:nth-child(3) {
        grid-column: 3;
    }
    .content > article:nth-child(4) {
        grid-column: 1 / span 3;
    }
    .content > article:nth-child(5) {
    }
    .content > article:nth-child(6) {
    }
    .content > article:nth-child(7) {
    }

    .content > article:nth-child(4) {
        grid-row: 2 / span 2;
        min-width: 580px;
    }
    .prodVal.tNhCon {
        display: grid;
        /*grid-template-rows: repeat(2, 1fr);*/
        /*grid-template-columns: repeat(2, 1fr);*/
        grid-template-rows: 1fr;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 2vh;
        /*width: 250px;*/
    }
    article.bc > div:nth-child(2) {
        height: 2vh !important;
    }

    article.bc > *:not(.wide):nth-child(1) {
        height: 1vh;
    }

    .tNhCon > article.bc {
        width: 100%;
    }
    main > header {
        min-width: 950px;
        grid-template-columns: 1fr 1fr 1fr 2fr;
    }
    .content > article:nth-child(7),
    .content > article:nth-child(6),
    .content > article:nth-child(5) {
        min-width: 150px;
        grid-column: span 3;
    }

    main > footer {
        left: 230px;
    }

    main .content > article > header {
        font-size: 16px;
    }

    .tNhCon > article.bc {
        flex-direction: row;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr;
        grid-gap: 2px;
    }

    article.bc > *:not(.wide):nth-child(1) {
        /*border-radius : 1.5vh 0 0  1.5vh;*/
        width: calc(100% - 2vh);
        height: calc(100% - 2vh);
        display: grid;
        padding: 1vh;
        place-items: center;
    }

    article.bc > *:not(.wide):nth-child(2) {
        /*border-radius : 0 1.5vh 1.5vh 0;*/
        width: calc(100% - 2vh);
        height: calc(100% - 2vh) !important;
        padding: 1vh;
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        grid-template-rows: 1fr 1fr;
    }

    article > section.prodValueCon {
        grid-template-rows: 150px 2fr;
    }

    article.bc div.divide {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    article.bc p.compare {
        margin: 0;
        font-size: 0.5vw;
        text-align: right;
    }

    article.bc p.value {
        margin: 0;
        grid-row: span 2;
        text-align: center;
    }

    .prodHead {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    }

    .prodHead > .mark {
        display: none;
    }

    .prodHead:before {
        position: absolute;
        left: 2vh;
        top: 2vh;
        height: calc(100% - 4vh);
    }

    .prodHead > *:not(.mark) {
        position: relative !important;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        margin: 0 0 0 2vh;
    }

    .prodHead > p {
        width: 100% !important;
        height: 100% !important;
    }

    .prodHead > p:nth-child(4),
    .prodHead > p:nth-child(6) {
        font-size: 1.5vw;
    }

    .prodHead > p:nth-child(4),
    .prodHead > p:nth-child(6) {
        align-items: center;
    }

    .prodHead > p:nth-child(3),
    .prodHead > p:nth-child(5) {
        align-items: center;
        font-size: 1vw;
    }

    #namdo1TotalProdInfo > .blackInfo > p:first-of-type {
        left: auto;
        top: 1vh;
        /*display: none;*/
    }
    #namdo1TotalProdInfo > .blackInfo > #repPointRotate {
        width: 85%;
        height: 50%;
    }

    #namdo1TotalProdInfo > .blackInfo > p:last-of-type {
        right: auto;
        bottom: 1vh;
        /*display: none;*/
    }

    #namdo1TotalProdInfo > .blackInfo > section > div.down {
        bottom: -25px;
        right: auto;
    }

    #namdo1TotalProdInfo > .blackInfo > section:before {
        /*display: none;*/
    }

    #namdo1TotalProdInfo > .blackInfo > section > div.up {
        top: -25px;
        left: auto;
    }

    #subLogo {
        display: block;
        width: auto;
        height: 6.5vh;
        margin-left: 1vh;
    }

    main > header > div.eefe {
        align-items: flex-start;
    }

    .checkBoxCon1 header {
        width: 100%;
        height: 100%;
    }
    aside {
        display: none;
    }
    main {
        width: 100%;
    }
}
