html { 
    font-size:100%; 
}
/* Default is mobile view! Following are adjustments for PC */
@media (min-width:800px) { 
    body {
        font-size:1rem;
    }
    .Table
    {
        width: 500px;
    }

    .thumbnail {
        width: 180px;
        height: 135px;
    }
    .model {
        font-size: 15px;
    }
} 
body {
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    font-family: Arial,Helvetica,"Helvetica Neue",Tahoma,sans-serif;
    font-size: 1rem;
    color: #1e313b;
}

.device-title {
    font-size: 2rem;
    font-weight: bold;
}
.device-schedule {
    font-size: 1.85rem;
}
.device-status {
}
.history-on-ok {
    color: #069c16;
}
.history-on-failed {
    color: #850606;
}
.history-off-ok {
    color: #747474;
}
.history-off-failed {
    color: #850606;
}

.info-box {
    border-radius: 30px;
    border: 2px solid #047ae9;
    margin: 8px;
    padding: 10px;
    max-width: 600px;
}

.device-box-aktiivne {
    border-radius: 30px;
    background: #b3f1b7;
    margin: 8px;
    padding: 10px;
    max-width: 600px;
}
.device-box-peatatud {
    border-radius: 30px;
    background: #d6d6d6;
    margin: 8px;
    padding: 10px;
    max-width: 600px;
}
.form-submit-button {
    background: #047ae9;
    color: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-shadow:none;
    padding: 10px;
    font-size: 1.5rem;
}
.form-submit-button:hover {
    background: #033f78;
    color: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-shadow:none;
    font-size: 1.5rem;
}

.form-button-enable {
    background: #047ae9;
    color: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-shadow:none;
    padding: 10px;
    font-size: 1.5rem;

}
.form-button-enable:hover {
    background: #033f78;
    color: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-shadow:none;
    font-size: 1.5rem;
}

.form-button-disable {
    background: #047ae9;
    color: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-shadow:none;
    padding: 10px;
    font-size: 1.5rem;

}
.form-button-disable:hover {
    background: #033f78;
    color: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    text-shadow:none;
    font-size: 1.5rem;
}


.main-container
{
    text-align: center;
}




.list-container
{
    width: 100%;
    display: flex;
    justify-content: center;
}
.layer {
    font-size:1rem;
    width: 300px;
    position: fixed;
    line-height: 40px;
    top: 50%; 
    left: 50%;
    margin-top: -180px;
    margin-left: -150px;
    background-color: #f0f0f0;
    border: 2px solid gray;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    z-index: 11; /* 1px higher than the overlay layer */
    display: none;
}
.layer-input {
    font-size:1.6rem;
}
