.dislay-wrap{
    display: flex;
    flex-wrap: wrap;
}

.display-left{
    width: 50%;
    padding: 0 20px;
}

.display-right{
    width: 50%;
    padding: 0 20px;
}

.hub-container{
    border: 2px solid #BFBFBE;
    padding: 25px;
    max-width: 510px;
    margin: 0 auto;
}

.hub-container button, .display-container button{
    background: #1173d4;
    color: #fff;
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    border: 0;
    font-weight: 600;
    padding: 15px 22px;
}

.display-container button{
	max-width: 250px;
}

.btn-wrap{
	text-align: center;
	padding: 20px 0;
}

.item-box{
    margin-bottom: 20px;
}

.item-box .name{
    background: #ddd;
    padding: 5px;
	width: 30%;
	text-align: center;
}

.item-box .time, .item-box .status{
	width: 30%;
    text-align: center;
}

.item-box .item{
    border-bottom: 2px solid #222;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
	line-height: 1.5;
}

.item-box .item.warning .name{
    background: #ffeb3b;
}

.item-box .item.zero .name{
    background: #f44336;
    color: #fff;
}

.refresh-btn{
	display: inline-block;
}

.hub-heading{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hub-heading h1{
    width: 49%;
    margin: 10px 0;
}

.hub-heading button{
    width: 49%;
    text-transform: uppercase;
}

button.red-btn{
    background: red;
    color: #000;
}

.modal-fader{
    background: #000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}

.modal-wrap{
    display: none;
    width: 100%;
    max-width: 430px;
    background: #fff;
    position: fixed;
    top: calc(50% - 170px);
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}

.modal-container{
    padding: 20px;
}

.modal-container h3{
    margin: 0 0 10px;
    font-size: 26px;
}

.modal-buttons{
    display: flex;
    justify-content: center;
}

.modal-buttons button{
    margin: 5px;
}

button.modal-no{
    background: #ccc;
    color: #000;
}

.emergency svg{
    width: 20px;
    fill: red;
    cursor: pointer;
    display: none;
}

.display-container .emergency{
    width: 25px;
}

.display-container .emergency.show svg{
    display: inline-block;
}

.item-heading .item-button{
    width: 71%;
    text-align: right;
}

.item-heading .space{
    width: 24%;
}

.item-heading .item-button button{
    width: 100px;
}

.item-heading{
	border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

@media only screen and (max-width: 960px) {
  	.display-left{
    	width: 100%;
	}

	.display-right{
		width: 100%;
		margin-top: 30px;
	}
}
