/*Copyright 2017 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/

body{
    background: url("background2.png");
    background-size: cover;
    color: #333;
    font-family: 'Alegreya Sans SC', sans-serif;
}
.holder{
    padding-top: 250px;
    width: 1200px;
    margin: 180px auto 5px auto;
    background: url("holder_background.png");
    background-size: cover;
    border: 10px solid #333;
    min-height: 550px;
    position: relative;
}

.holder p{
     margin: 0 50px;
}

.report{
    position: absolute;
    left: 20px;
    top: -180px;
    width: 600px;
    height: 400px;
    padding-top: 110px;
    transition: color 0.2s ease;
    font-family: 'Rye', cursive;
    font-size: 2.8rem;
    color: #222;
    text-align: center;
    background: url("sign.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.report span{
    margin: 0 100px;
    display: block;
}

.scoreboard{
    width: 300px;
    height: 200px;
    padding-top: 55px;
    font-family: 'Rye', cursive;
    font-size: 1.4rem;
    color: #222;
    text-align: center;
    background: url("sign.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top: -100px;
}
.scoreboard table{
    margin: 0 60px;
}
.scoreboard th{
    text-align: right;
}
.scoreboard td{
    font-size: 2rem;
}

.pods{
    cursor: url("cursor_inactive.png"), auto;
    margin: 0px 50px 0 50px;
    display: block;
    position: relative;
    z-index: 25;
    user-select: none;
}



.pod{
    cursor: url("cursor.png"), pointer;
    width: 78px;
    height: 83px;
    margin: 5px 5px 35px 5px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    cursor: url("cursor.png"), pointer;
    text-align: center;
    vertical-align: bottom;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 1.5rem;
    position: relative;
    user-select: none;
}

.pod span{
    position: absolute;
    bottom: -25px;
    width: 100%;
    display: block;
    left: 0;
    text-align: center;

}


.pending {
    background-image: url("pending.png");
    color:yellow;
}

.running {
    background-image: url("running.png");
    color:#555;
}

.terminating {
    background-image: url("terminating.png");
    color:red;
}

#bomb{
    width: 200px;
    height: 199px;
}

.bombpanel{
    display:none;
    position: absolute;
    right: 0;
    top: 50%;
    width: 50%;
}

.bombpanel p{
    position: absolute;
    top: 40px;
    right:0;
    width: 60%;
    font-size: 2rem;
}    

.alert{
    position: absolute;
    right:15%;
    top: -15%;
    width: 50%;
    background: url("alert.png");
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Rye', cursive;
    font-size: 1.8rem;
    width: 571px;
    height: 526px;
    margin: 5px auto;
    text-align: center;
    color: #444;
    z-index: 50;
    display: none;
}

.alert .msg{
    position: absolute;
    top: 180px;
    margin: 0 140px 0 140px; 
}

.overlay{
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    background-color: #ccc;
    border: 1px solid red;
    display: none;
}

.overlay p{
    margin: 10px;
    padding: 10px;
}

.overlay table{
    margin: 10px;
    padding: 10px;
}


.overlay th{
    text-align: left;
    font-weight: 500;
}

.overlay th, .overlay td{
    padding: 2px 4px;
}

.overlay td.number{
    text-align: right;
    font-weight: 900;
}


.overlay-report{
    position:absolute;
    top: -180px;
    left: 40px;
    width: 550px;
}

.overlay-pods{
    position: absolute;
    width: 620px;
    right: 20px;
    top: 110px; 

}

.overlay-scoreboard{
    position: absolute;
    width: 320px;
    right: 20px;
    top: -180px;

}

.explain{
    position: fixed;
    right: 0;
    top: 0;
    margin: 5px;
    padding: 5px;
    background-color: #ccc;
    border: 1px solid red;
    opacity: 0.5;
    cursor: pointer;

}

.explain-show{
    background-color: #fff;
    border: 1px solid red;
    opacity: 1;

}

.pods-table{
    margin: 0px 50px 0 50px;
    cursor: url("cursor_inactive.png"), auto;
}

.modal{
    min-height: 100%;
    width: 100%;
    background-color: rgba(66,66,66,.5);
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 98;
}

.modal-message{
    font-family: 'Source Code Pro', monospace;
    height: 300px;
    width: 600px;
    background-color: #fff;
    margin: 200px auto;
    padding: 20px;
    border: 3px solid #333;
    z-index: 99;
}

.modal-message code{
    background-color: #000;
    color: #0f0;
    display: block;
    margin: 3px 0;
    padding: 2px;
    border: 1px solid #999;
}

