#statusbox {
    padding: 50px 10px;
    text-align: center;
    color: white;	
}
#statusbox h2 {
	color:white;
	padding:0;
	font-size:30px;
}
#statusbox .button {
	margin:20px 10px;
}
#statusbox.green {
	background-color:#4caf50;
}
#statusbox.orange {
	background-color:#ff9800;
}
#statusbox.red {
	background-color:#ff5722;
}
#statusbox.blue {
	background-color:rgba(4,120,156,1);
}
#statusbox .icon {
	height: 32px;
    display: block;
    margin: 0px auto 14px;
}
#statusbox p {
	margin-bottom:0;
}
#belowstatusbox {
	margin-top: 20px;
    text-align: center;
}
#belowstatusbox:after {
	content: "";
    display: block;
    clear: both;
}
#belowstatusbox #locationsettings, #belowstatusbox #statussettings {
	width:40%;
	float:left;
	padding:0 5%
}
#belowstatusbox #locationsettings select, #belowstatusbox #statussettings select, #belowstatusbox #locationsettings input, #belowstatusbox #statussettings input {
	width:100%
}
#belowstatusbox #statussettings select {
	height:47px;
}
#belowstatusbox h2.notmonitoring {
	color:#ff9800;
}
#belowstatusbox h2 .icon {
	height: 20px;
    margin: 0 0 0 10px;
    position: relative;
    top: 1px;
}
.monitoringcompanylogo {
	height:85px;
}
#headerstatus {
	margin:0 0 20px;
	padding:0;
	list-style:none;
	text-align:center;
}
#headerstatus li {
	display:inline-block;
	width:19.2%;
	color:#fff;
	padding:10px 0 15px;
	margin:0 0.5%;
	background-color: rgba(76,175,80,1);
}
#headerstatus li:first-child {
	margin-left:0;
}
#headerstatus li:last-child {
	margin-right:0;
}
#headerstatus li p {
	margin:0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#headerstatus li p:first-child { 
	font-size:45px;
}
#headerstatus li.red {
    background-color: rgba(255,87,34,1);
	transition:all 0.5s ease-in-out;
	animation:blinkred normal 1.5s infinite ease-in-out;
}
@keyframes blinkred {
    0% {   background-color: rgba(255,87,34,1) }
    50% {  background-color: rgba(255,87,34,0.6) }
    100% { background-color: rgba(255,87,34,1) }
}
#headerstatus li.orange {
    background-color: rgba(255,152,0,1);
}
#headerstatus li.blue {
    background-color: rgba(4,120,156,1);
}
#informationbox {
	background-color: #40a5d4;
    padding: 20px 10px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
	display:none;
}



.grid {
  max-width: 100%;
  box-sizing:border-box;
  margin: -2px;
}

.grid-item {
  float: left;
}

/* item is invisible, but used for layout */
.grid-item,
.grid-item-content {
  width: 300px;
  height: 80px;
  box-sizing:border-box;
}

/* item-content is visible, and transitions size */
.grid-item-content {
  width: 300px;
  height: 80px;
  border: 2px solid #fff;
  transition: width 0.4s, height 0.4s;
  padding:10px;
  position:relative;
  overflow:hidden;
}

.grid-item-content p.objectname {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	font-size:20px;
	margin-bottom:10px;
}
.grid-item-content p.objectphone {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	margin-bottom:0px;
}
.grid-item-content p.objectconnecteduser {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	margin-bottom:0px;
	font-size:20px;
}
.grid-item-content p.nextchecktime {
	font-size:14px;
	margin-right:20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.grid-item-content p.nextchecktime img {
    height:16px;
	position: relative;
    top: 3px;
    margin-right: 5px;
}
.grid-item-content .checkuserdetail {
	position: relative;
}
.grid-item-content .checkuserdetailtxt {
	position: absolute;
    top: 0px;
    left: 50px;
}
.grid-item-content img.connectionicon {
    height: 20px;
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.grid-item-content .profileimage {
	width: 130px;
    height: 130px;
    background-size: cover;
    background-position: center;
    position: absolute;
    right: 70px;
    top: 10px;
    border-radius: 100%;
	display:none;
	z-index:1;
}
.grid-item.is-expanded .profileimage {
	display:block;
}
.grid-item.redalert .profileimage {
	display:block;
}
.grid-item.redalert .displaynames {
    width: 150px;
    height: 40px;
    position: absolute;
    right: 60px;
    bottom: 0;
    text-align: center;
}
.grid-item .profilebackground {
	display:none;
}
.grid-item.redalert .profilebackground {
	height:190px;
	position:absolute;
	width:150px;
	top:0;
	right:60px;
	background-color:rgba(0, 0, 0, 0.15);
	display:block;
}


/* both item and item content change size */
.grid-item.is-expanded,
.grid-item.is-expanded .grid-item-content {
  width: 100%;
  height: 150px;
  min-width: 300px;
}

.grid-item.is-expanded {
  z-index: 2;
}

.grid-item.red .grid-item-content {
    background-color: rgba(255,87,34,1);
	transition:all 0.5s ease-in-out;
	animation:blinkred normal 1.5s infinite ease-in-out;
	color: #fff!important;
}
.grid-item.red,
.grid-item.red .grid-item-content {
  width: 100%;
  min-width: 300px;
}

.grid-item.redalert,
.grid-item.redalert .grid-item-content {
  width: 100%;
  height: 190px;
  min-width: 300px;
}
.grid-item-content span.alert {
	font-size:30px;
	display:block;
	font-weight:bold;
	margin-bottom:5px;
}
.grid-item-content span.alert img {
	height: 25px;
    margin-right: 10px;
    position: relative;
    top: 1px;
}

.grid-item.orange .grid-item-content {
    background-color: rgba(255,152,0,1);
	color: #fff;
}
.grid-item.blue .grid-item-content {
    background-color: rgba(4,120,156,1);
	color: #fff;
}
.grid-item.green .grid-item-content {
    background-color: rgba(76,175,80,1);
	color: #fff;
}

.grid-item:hover .grid-item-content {
  background-color: #57aabb;
  cursor: pointer;
}
.grid-item.redalert:hover .grid-item-content {
  cursor: auto;
}
.grid-item .sidebutton {
	background-color: rgba(47, 47, 47, 0.7);
    height: 22px;
    position: absolute;
    width: 34px;
    border-radius: 10px 0 0 10px;
    right: 0;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .3);
	display:none;
}
.grid-item .sidebutton:hover {
	background-color: rgba(47, 47, 47, 1);
}
.grid-item .sidebutton.infobtn {
	top:10px;
}
.grid-item .sidebutton.ackbtn {
	top:60px;
}
.grid-item.green .sidebutton.ackbtn {
	display:none;
}
.grid-item .sidebutton img {
	height:20px;
}
.grid-item.is-expanded .sidebutton,
.grid-item.redalert .sidebutton {
	display:block;
}

/* Admin pages */
.sitelist {
	list-style: none;
    padding: 0;
    margin: 0px -8px;	
}
.sitelist li {
	display: inline-block;
}
.sitelist li a {
	display: inline-block;
    padding: 15px;
    margin: 8px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2)
}
.sitelist.sortable {
	width:100%	
}
.sitelist.sortable li {
	display: block;
}
.sitelist.sortable li a {
	box-sizing:border-box;
	width:100%;
	margin:0 8px;
	background-color:#fff;
	position:relative;
	padding: 15px 25px 15px 15px;
}
.sitelist.sortable li a span {
	text-decoration:underline;
	text-decoration-color:#ffffff;
}
.sitelist.sortable li a:after {
	content: '\21F3';
    display: block;
    position: absolute;
	right:10px;
	top:6px;
	font-size:24px;
}
.checkhistory, .upcommingchecks {
	list-style: none;
    padding: 0;
    margin: 0px -2px;	
}
.upcommingchecks li {
	display:inline-block;
}
.checkhistory li, .upcommingchecks a {
	display: inline-block;
	margin:2px;
	padding:5px;
	background-color: #ececec;
	width:70px;
	text-align:center;
	text-decoration:none;
}
.upcommingchecks a img {
	display:none;
}
.upcommingchecks a.acknowledged img {
    height: 16px;
    position: relative;
    top: 2px;
    margin-left: 8px;
	display:inline-block;
}
.checkhistorykey span {
	width: 25px;
    height: 25px;
    display: inline-block;
    position: relative;
    top: 6px;
    margin-right: 10px;
	background-color: #ececec;
}
.checkhistorykey img {
    width: 25px;
    position: relative;
    top: 8px;
    margin-right: 10px;
}
.checkhistory li.green, .checkhistorykey .green {
	background-color: #adf1b0;
}
.checkhistory li.red, .checkhistorykey .red {
	background-color: #f7acac;
}
.checkhistory li.blue, .checkhistorykey .blue {
	background-color: #e2f0ff;
}
.checkhistory li img {
    height: 16px;
    position: relative;
    top: 2px;
    margin-left: 8px;
}
.edittimestampboxs {
	list-style:none;
	padding:0;
	margin:-5px;
}
.edittimestampboxs:after {
	content: "";
    display: block;
    clear: both;
}
.edittimestampboxs li {
	float:left;
	margin:0 5px
}
.editshifts {
    padding: 0;
    list-style: none;
}
.editshifts li {
	margin: 0px;
	position:relative;
}
.editshifts .emptyshift {
	display:none
}
.editshifts li:nth-child(even) {
	background-color: #f3f3f3;
}
.editshifts li:nth-child(odd) {
	border-bottom: 1px solid #e8e8e8;
}
.editshifts li {
    padding: 5px 40px 5px 10px;
}
.editshifts select, .editshifts input {
	margin:10px
}
.editshifts input[type='number'] {
	width:80px;
}
.editshifts .deleteshift {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -12px;
}
.editshifts .deleteshift img {
	height: 22px	
}
.duplicatebtn img {
	height: 18px;
    float: right;
    margin-right: 5px;
}

.adminboxes {
	list-style:none;
	padding:0;
	margin:0 -10px;
}
.adminboxes:after {
	content: "";
    display: block;
    clear: both;
}
.adminboxes li {
	float: left;
	margin:10px;
}
.adminboxes li a {
	width: 300px;
	display: inline-block;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, .3);
    height: 110px;
    text-decoration: none;
    text-align: center;
	padding:5px;
}
.adminboxes li a h3 {
	padding: 15px 0 0;
}
.adminboxes li a:hover {
	background-color:#e9ffe7;
}

.googlemaps {
	border:0;
	background-color:#f2f1f1;
}

.imgwrapper {
	text-align: left;
    margin: 0;
    padding: 0;
}
.imgwrapper li {
	margin: 0 10px 10px 10px;
	padding: 0;
    display: inline-table;
}
.imgwrapper .profileimage {
	width: 130px;
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: 100%;
	display:block;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ */
	 .imgwrapper img {
		max-width:320px;
	}
}
.imgwrapper p {
	display: table-caption;
	caption-side: bottom;
	font-size: 14px;
	padding: 7px 0px;
	color: #909090;
	text-align:center;
	margin-bottom:0;
}
.openinghoursday {
	width:110px;
	display:inline-block;
}
.profilesectionheader {
	margin-bottom: 5px;
    font-size: 20px;
}
.profilephone {
    font-size: 28px;	
}
.profilephone img {
	height:25px;
	position:relative;
	top:2px;
	margin-right:10px;
}
.profilephonealt {
	margin-top:-10px;	
}