html {
    height: 100%;
    font-family: Calibri, Verdana, sans-serif;
}

body {
    background-color: #26313b;
    margin: 0 auto;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    position: relative;
}
table {
    border-spacing: 0;;
}

td {
    height: 19px !important;
}

#mapContainer {
    position: relative;
    overflow: hidden;
}

#cesiumContainer {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.cesium-viewer {
    font-family: sans-serif;
    font-size: 16px;
    overflow: hidden;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cesium-viewer-bottom {
    display: none !important;
}
.page { 
    margin: 0 auto;
    text-align: center;
    display: none;
    position: relative;
    height: calc(100% - 61px);
    padding-top: 28px;
    padding-bottom: 33px;
    overflow: auto;
    background-color: #26313b;
}

#toolbar {
	display: inline-block;
}

#selections {
	display: inline-block;
	position: absolute;
	left: 5px;
	top: 50px;
	height: 30px;
	width: 150px;
}

.cesium-timeline-bar {
    width: 100%;
}


::-webkit-scrollbar-thumb {
    background-color: #00b4e5;
    outline: 3px solid #2dc2d6;
}

::-webkit-scrollbar {
    width: 4px;
    background-color: #26313b;
}


button {
    width: 75px;
    height: 50px;
    padding: 0;
    margin: 0 auto;
    vertical-align: top;
    border: 1px rgb(51, 51, 51) solid;
    font-size: 12px;
    border-radius: 3px;
    overflow: hidden;
}

.playbutton {
    background-color: rgb(21, 109, 21);
    color: white;
}

.large-button {
    width: 125px;
    height: 100px;
}

.stopbutton {
    background-color: rgb(182, 7, 7);
    color: white;
}

.pausebutton {
    background-color: rgb(251, 255, 13);
}

#finddevices {
    left: 50%;
}

.opacity {
    opacity: .6;
}

.opacity:hover,
.opacity:active {
    opacity: 1;
    cursor: pointer;
}

#sidebar {
    width: 150px;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #3a424a;
    margin-right: 5px;
    position: fixed;
    text-align: center;
    transition: all .2s;
    z-index: 100;
}

#sidebarlist {
    height: calc(100% - 205px);
    overflow-y: auto;
    overflow-x: hidden;
}

ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    position: relative;
    text-align: center;
}

li {
    list-style: none;
    margin: 0 auto;
    padding: 0 auto;
    border: 0;
    position: relative;
    size: 40px;
    width: calc(100% - 5px);
    height: 30px;
    text-align: left;
    padding-top: 10px;
    padding-left: 10px;
    cursor: pointer;
    border-bottom: 1px black solid;
    color: white;
}

li:hover,
li:active {
    background-color: #00b3e536 !important;
}


#sidebar img {
    width: 60%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    margin-bottom: 5px;
    margin-top: 5px;
}

#menuimage {
    position: fixed;
    padding: 0;
    border: 0;
    left: 20px;
    z-index: 102;
    top: 35px;
    cursor: pointer;
    transition: all .5s;
}

#loadingpage {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 102;
    background-color: rgba(100, 120, 120, .8);
    margin: 0 auto;
    text-align: center;
}

#loadingpage img {
    width: 100%;
    position: relative;
}


#homePage {
    display: block;
    text-align: center;
}

#homePage>img {
    width: 60%;
    position: relative;
    max-width: 800px;
}

.pages {
    margin: 0 auto;
    text-align: center;
    display: none;
    padding-left: 155px;
    transition: all .2s;
    position: relative;
    height: calc(100% - 61px);
    padding-top: 28px;
    padding-bottom: 33px;
    overflow: auto;
    background-color: #26313b;
}



.pages h2 {
    display: inline;
    /*width: 180px;*/
    margin: 0px;
    color: white;
    vertical-align: bottom;
    line-height: 24px;
}

h3 {
    color: white;
}

.pages span {
    color: rgb(199, 199, 199);
    margin-left: 5px;
    vertical-align: bottom;
}

.pages div {
    display: inline-block;
    text-align: left;
}

.refreshbutton {
    width: 60px;
    height: 20px;
    color: black;
    /*background-color: #2dc2d6;*/
    margin-left: 10px;
    vertical-align: middle;
}

#soundContainer {
    display: none;
}

#videoContainer {
    height: calc(100% - 80px);
}

#camerastream {
    width: 100%;
    height: 95%;
}

.nodes {
    /*background-color: rgba(24,24,24,.8);*/
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: block;
    margin: 5px;
    padding: 5px;
    position: relative;
}

#maintitle {
    margin: 0 auto;
    padding: 0;
    padding-right: 10px;
    top: 0;
    border: 0;
    position: fixed;
    background-color: rgba(0,0,0,.4);
    color: white;
    display: inline-block;
    width: calc(100% - 10px);
    text-align: right;
    font-size: 20px;
    z-index: 101;
}

a, p {
    text-decoration: none;
    color: rgb(250, 143, 143);
    font-size: 20px;
}

p {
    margin: 0;
}

span,
input,
select,
td {
    text-align: left;
    border-radius: 0px;
    height: 22px;
    padding: 0 5px 0 5px;;
    border: 1px;
    margin-bottom: 4px;
}

td {
    color: white;
}

input[type=password],
input[type=text] {
}

.port-input {
    width: 50px;
}

.ip-input {
    width: 120px;
}

#optionscontainer p{
    display: inline-block;
}

a:visited {
    color: white;
}

#optionscontainer+button,
#loginpage button {
    display: inline-block;
    vertical-align: top;
    height: auto;
    width: 60px;
    margin-top: 5px;
    background-color: #2dc2d6;
}

#optionscontainer+button:hover,
#loginpage button:hover,
#optionscontainer+button:active,
#loginpage button:active{
    background-color: #00b4e5;
}

.bluebutton {
    display: inline-block;
    vertical-align: middle;
    height: auto;
    width: 60px;
    background-color: #e24f4a;
}
.bluebutton:hover {
    background-color: #dd0700;
}


#optionscontainer+div,
.layout {
    vertical-align: top;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #3a424a;
    width: 220px;
    transition: all .2s;
}

.layout {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    display: inline-block;
}

.layout p {
    width: fit-content;
}

.settingsItemScroll {
    max-height: 260px;
    overflow-y: auto;
    width: 100%;
}


#loginpage div{
    background-color: #3a424a;
    padding: 10px;
    margin: 0 auto;
}

#footer {
    width: 100%;
    height: 25px;
    padding-left: 5px;
    background-color: rgba(0,0,0,.4);
    position: fixed;
    padding-top: 5px;
    vertical-align: bottom;
    bottom: 0;
    left: 0;
    color: white;
    z-index: 101;
    overflow: hidden;
}

#userdetails {
    float: right;
    margin-right: 10px;
}

#serverinfo {
    margin: 0 auto;
    position: absolute;;
    bottom: 5;
    left: 40%;
}

#editconfig span {
    width: 120px;
}

#finddevices #devicesfound {
    width: auto;
    margin: 0;

}


/*style for groups*/


#groupContainer {
    text-align: left;
}

#groupMain {
    vertical-align: top;
    text-align: center;
    position: relative;
    width: calc(100% - 105px);
}

#groupNx {
    text-align: center;
    margin: 0 auto;
    vertical-align: top;
    position: fixed;
    height: calc(100% - 25px);
    width: 93px;
    padding-left: 2px;
    overflow: hidden;
    right: 0;
    top: 23px;
}

#groupStatus {
    height: 100px;
}

#groupNx p {
    margin: 0;
}

#groupNx ul,
#groupNx li {
    width: 95px;
    color: rgb(255,255,255);
}

#groupNx li:first-child {
    border-top: 1px black solid;
}


#groupStart {
    text-align: center;
    position: absolute;
    bottom: 28px;
    right: 0;
    height: 180px;
    width: 100%;
}

#groupStart img {
    height: 80px;
    width: 80px;
    margin-bottom: 10px;
}



#nxvideo {
    background-color: black;
    max-width: 100%;
    max-height: 90%;
}


.item {
    background-color: rgba(10, 10, 10, 0.8);
    margin: 0;
    padding: 5px;
    width: 95%;
    margin-bottom: 5px;
}


/*popup divs*/

#loadingpage div {
    width: 250px;
    margin: 0 auto;
    text-align: center;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -150px;
    position: absolute;
}

.popup {
    width: 300px;
    margin: 0 auto;
    margin-top: 10px;
    border: 1px solid black;
    text-align: center;
    left: 0;
    right: 0;
    top: 30px;
    position: absolute;
    display: none;
    z-index: 103;
    background-color: #3a424a;
    color: rgb(183, 235, 255);
    overflow: hidden;
    transition: all .2s;
}

.popup span {
    position: absolute;
    right: 0;
    top: 0;
    color: white;
    cursor: pointer;
    font-size: 25px;
    margin: 0;
    padding: 0px 8px 0px 8px;
    line-height: 22px;
}

#groupAddEdit {
    width: fit-content;
    max-height: calc(90%-30px);
    overflow-y: auto;
}

.closeButton {
    color: white !important;
    background-color: rgb(80,80,80);
    position: absolute;
    top: 3px;
    right: 3px;
    border-radius: none;
    line-height: 15px;
    vertical-align: middle;
    height: auto;
    padding: 5px;
}

.closeButton:hover {
    transition: all 1;
    background-color: rgb(120,110,110);
    transform: scale(1.2);
    cursor: pointer;
}


#groupTitle:hover,
#groupTitle:active {
    cursor: pointer;
    color: rgb(182, 7, 7);
}