* {
    padding: 0px;
    margin: 0px;
    font-family: 'Arial';
}

#main_container {
    width: 672px;
    height: 504px;
    /* border:1px solid red;*/
    background-color: #08598C;
    position: relative;
}

#activityPageHead {
    position: absolute;
    width: 670px;
    height: 53px;
    top: 0px;
    font-size: 10pt;
    color: #FFFFFF;
    /*border:1px solid red;*/
}

input[type=button] {
    padding: 3px;
    font-size: 8pt;
    color: #FFFFFF;
    background-color: #009900;
}

input[type=button]:hover {
    color: #000000;
    background-color: #1ACD1A;
}

#runProcess,#stopProcess, #overview, #help, #question, #time, #acBalance {
    position: absolute;
    bottom: 0px;
    margin: 5px;
    cursor: pointer;
}

#runProcess {
    width: 80px;
    left: 0px;
    border: 2px solid;
    border-color: transparent;
}

#stopProcess {
    width: 80px;
    left: 90px;
    display: none;
}

#overview {
    width: 70px;
    left: 200px;
}

#help {
    width: 50px;
    left: 280px;
}

#question {
    width: 70px;
    left: 340px;
}

#time {
    top: 5px;
    right: 25px;
    display: none;
}

#acBalance {
    right: 0px;
}

#activityPage {
    position: absolute;
    width: 668px;
    height: 445px;
    bottom: 0px;
    background-color: #D1E8EF;
    border: 2px solid #85ACC4;
}

#activityMenuHead {
    /*position: absolute;*/
    width: auto;
    height: 150px;
    /*border: 0.25px solid red;*/
}

.menulist {
    position: relative;
    width: 127px;
    height: 152px;
    float: left;
    margin: 3px;
    /*border: 0.25px solid red;*/
}

.menutitle {
    position: relative;
    width: 125px;
    height: 60px;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
    background: #78bcfe;
    /* Old browsers */
    background: -moz-linear-gradient(top, #78bcfe 1%, #359afd 50%, #359afd 50%, #359afd 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #78bcfe 1%,#359afd 50%,#359afd 50%,#359afd 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #78bcfe 1%,#359afd 50%,#359afd 50%,#359afd 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78bcfe', endColorstr='#359afd',GradientType=0 );
    border: 1px solid #000000;
    padding: 0px 6px;
    box-sizing: border-box;
}

.buyBox {
    position: relative;
    width: 120px;
    height: 35px;
    border-radius: 8px;
    margin: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 9px;
    cursor: pointer;
    color: #FFFFFF;
    background-color: #18AA18;
    border: 1px solid #D1E8EF;
    line-height: 14px;
    padding-top: 3px;
    box-sizing: border-box;
}

.sellBox {
    position: relative;
    width: 120px;
    height: 35px;
    border-radius: 8px;
    margin: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 9px;
    cursor: pointer;
    color: #FFFFFF;
    background-color: #EE6B5B;
    border: 1px solid #D1E8EF;
    line-height: 14px;
    padding-top: 3px;
    box-sizing: border-box;
}

.buyBox:hover {
    color: #000000;
    background-color: #3FF53F;
    border: 1px solid #000000;
}

.sellBox:hover {
    color: #000000;
    background-color: #FF3131;
    border: 1px solid #000000;
}

#activityMenuBody {
    /*position: absolute;*/
    width: auto;
    height: 295px;
}

.waferQueueLayer {
    position: relative;
    width: 50px;
    height: 180px;
    float: left;
    margin: 2px;
    border: 0.25px solid red;
}

.waferQueueListLayer {
    position: relative;
    width: 119px;
    height: 280px;
    float: left;
    margin: 2px;
    opacity: 0;
}

.waferQueue {
    position: relative;
    width: 35px;
    height: 170px;
    margin: 2px;
    background-color: #BBD3FF;
    border: 1px solid #000000;
    float: right;
    padding: 15px 4px 4px 4px;
    box-sizing: border-box;
}

.waferQueueValue {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    text-align: center;
    color: #090;
    font-weight: bold;
    font-size: 11px;
    padding-top: 1px;
}

.waferQueueCont {
    position: relative;
    width: 100%;
    height: 100%;
}

.waferQueueBar {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 0%;
    background-color: #090;
    min-height: 1px;
}

.waferQueueLabel {
    font-size: 8px;
    text-align: center;
    position: absolute;
    left: 0px;
    width: 33px;
    font-weight: bold;
    top: 70px;
    z-index: 10;
}

.queueImageCont {
    position: relative;
    float: left;
    height: 277px;
    overflow: hidden;
    padding-top: 2px;
}

.deviceCont {
    height: 263px;
    overflow: hidden;
}

.scroll {
    display: none;
}

.scrollTopBtn {
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: #333;
    top: 0px;
    cursor: pointer;
    font-size: 12px;
    line-height: 10px;
    color: #fff;
    text-align: center;
}

.scrollBottomBtn {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 10px;
    background-color: #333;
    cursor: pointer;
    font-size: 12px;
    line-height: 10px;
    color: #fff;
    text-align: center;
}

.waferQueueImage {
    width: 75px;
    height: 70px;
    right: 0px;
    margin-top: 1px;
    text-align: center;
    line-height: 70px;
    padding: 2px;
    box-sizing: border-box;
}

.waferQueueImage img {
    border: 2px solid;
    border-color: transparent;
    max-width: 95%;
    max-height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.waferQueueCaption {
    width: 75px;
    height: auto;
    right: 0px;
    margin-top: 8px;
    font-size: 8px;
    font-weight: bold;
}

#process_0 {
    width: 40px;
}

.disableButton {
    pointer-events: none;
    opacity: 0.5;
}

.panel {
    position: absolute;
    left: -100%;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    font-size: 15px;
    line-height: 1.2;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -moz-transition: all 0.5s;
	z-index:100;
}

.panel_box {
    position: absolute;
    background-color: #fff;
    width: 520px;
    height: 360px;
    margin: auto;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    border: 12px solid #090;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 5px 5px 0px rgba(204, 204, 204, 0.54);
}

.panel_close {
    position: absolute;
    right: -10px;
    font-weight: bold;
    font-size: 19px;
    width: 10px;
    height: 10px;
    line-height: 0px;
    cursor: pointer;
    top: -5px;
}

.panel_body {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.panel_title {
    text-align: center;
    font-size: 14px;
    margin-bottom: 9px;
}

.finalMsg {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    display: none;
    z-index: 200;
}

.finalMsgBox {
    position: absolute;
    background-color: #fff;
    font-weight: bold;
    font-size: 21px;
    text-align: center;
    padding: 10px;
    margin: auto;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 500px;
    height: 80px;
    border: 1px solid #333;
    line-height: 1.3;
}

#replayBtn {
    position: absolute;
    width: 50px;
    border: none;
    color: #fff;
    background-color: #ca9e1c;
    left: 0px;
    right: 0px;
    margin: auto;
    top: 110px;
    cursor: pointer;
}

#replayBtn:hover {
    background-color: #f9ba00;
}

.activate {
    border-color: rgba(255,0,0,1);
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: blinkingBorder;
    -webkit-animation-timing-function: ease;
    animation-direction: normal;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-name: blinkingBorder;
    animation-timing-function: ease;
}

@keyframes blinkingBorder {
    0% {
        border-color: rgba(255,0,0,1);
    }

    50% {
        border-color: rgba(255,0,0,0);
    }

    100% {
        border-color: rgba(255,0,0,1);
    }
}
