body {
 margin: 8px 48px;
}
#navMenuToggle {
 top: 24px;
 left: 8px;
}
div#context-menu {
 visibility: hidden;
 width: 150px;
 line-height: 30px;
 position: absolute;
 padding-left: 10px;
 border: 1px solid black;
 background-color: #EEEEEE;
}
div#nsl-header {
 width: calc(100% - 168px);
 padding: 20px 80px 0 75px;
 text-align: left;
 margin: 0 auto;
 position: relative;
}
div#nsl-footer {
 width: calc(100% - 52px);
 padding: 5px 20px;
 text-align: center;
 margin: 5px auto;
}
td.nsl-footer-cell:first-child {
 text-align: left;
}
td.nsl-footer-cell:last-child {
 text-align: right;
}
div.main-content {
 padding: 0;
 border-width: 0;
 width: 100%;
}
#pagetitle {
 max-width: 62%;
 white-space: nowrap;
 overflow: hidden;
}
.page-menu .page-menu-item {
 width: 24.5%;
}
#thumbnail-block {
 margin: 0px 5px;
 padding: 15px 20px 5px 20px;
 min-height: 18px;
 text-align: center;
 clear: both;
 position: relative;
}
#current-view {
 margin: 5px;
 padding: 5px 20px;
 text-align: center;
 height: 600px;
 position: relative;
 z-index: 1;
}
#camera-title>a {
 margin-left: 8px;
 position: relative;
 top: 2px;
}
#camera-title>a>img {
 width: 20px;
 height: 20px;
}
#camera-block {
 width: 60%;
 float: left;
}
#camera-block-image {
 width: 100%;
 height: 100%;
}
#map-block {
 width: 40%;
 float: right;
}
#camera-block, #map-block {
 display: table-cell;
 height: 540px;
 padding: 0px;
 text-align: center;
}
#camera-block .max-btn {
 display: none;
 height: 16px;
 width: 16px;
 position: absolute;
 top: 2px;
 right: 14px;
 padding: 4px;
 z-index: 90;
 background-color: #fff;
 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
 border: 1px solid #ddd;
 border-radius: 4px;
 opacity: 0.9;
 cursor: pointer;
}
#camera-block .max-btn:hover {
 color: #fff;
 border-color: #eee;
 opacity: 1;
}
#camera-block .max-btn img {
 fill: white;
}
#camera-block .close-btn {
 display: none;
 position: absolute;
 top: 2px;
 right: 2px;
 z-index: 10;
 color: #ccc;
 border: 1px dotted transparent;
 border-radius: 4px;
 font-size: 20px;
 padding: 0 4px;
 transition: all 0.2s;
 font-family: Arial, Helvetica, sans-serif;
 cursor: pointer;
}
.resizable {
 height: 100%;
 padding: 0;
 display: block;
 float: left;
 position: relative; 
}
.ui-resizable-handle.ui-resizable-e { 
 cursor: e-resize;
 cursor: col-resize; 
 display: block !important;
 width: 12px; 
 right: 0; 
 top: 0; 
 bottom: 0;
 background-color: rgb(0, 23, 46);
} 
.ui-resizable-handle.ui-resizable-e:after {
 content: ' ';
 display: block;
 height: 80px;
 margin: 230px 0 0 2px;
 transform: scaleX(.5);
 opacity: 0.7;
 background: url('../images/v-splitter-bg.png') repeat-y;
}
.ui-resizable-handle.ui-resizable-e:hover {
 background-color: rgb(0, 40, 80);
}
.ui-resizable-handle.ui-resizable-e:hover:after {
 opacity: 0.9;
}
div.thumbNail {
 color: #ffffff;
 background-color: #000000;
 padding: 2px;
 text-align: center;
 display: inline-block;
 overflow: hidden;
 cursor: pointer;
 border: 1px solid transparent;
}
div.thumbNail.currentItem {
 border: 1px solid #ffbe00;
}
.popThumb {
 width: 100px;
 cursor: pointer;
}
p.camLabel {
 color: #ffbe00;
 text-align: left;
 margin-top: 1px;
 margin-bottom: 2px;
 padding-left: 5px;
 font-family: Verdana, Geneva, sans-serif;
}
#loc-ctrl-container {
 display: inline-block;
 background-color: white;
 border-radius: 4px;
 position: absolute;
 top: 86px;
 right: 30px;
 width: 28px;
 height: 28px;
 padding: 4px;
 z-index: 90;
 cursor: pointer;
 font-family: Verdana, Ariel, sans-serif;
 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
#loc-ctrl-container.expand {
 width: auto;
 height: auto;
 padding: 8px;
}
#loc-ctrl-container img {
 width: 28px;
 height: 28px;
}
#loc-ctrl {
 display: none;
 margin-top: 10px;
 position: relative;
}
#loc-ctrl .close-btn {
 position: absolute;
 top: -15px;
 right: -2px;
 font-size: 20px;
 font-weight: bold;
 line-height: 8px;
 color: #bbb;
}
#loc-ctrl .close-btn:hover {
 color: #999;
}
#loc-ctrl input[type=text] {
 width: 50px;
 margin-right: 6px;
 border-radius: 3px;
}
#loc-ctrl input[type=text].invalid {
 border-color: #f66;
}
#loc-ctrl-container.expand img {
 display: none;
}
#loc-ctrl-container.expand #loc-ctrl {
 display: block;
}
#mini-busy {
 opacity: 0;
 width: 20px;
 height: 20px;
 top: 6px;
 left: 6px;
 position: absolute;
 transition: opacity .5s ease-in-out;
}
#mini-busy.busy {
 opacity: 1;
}
#mini-busy img {
 width: 100%;
 height: 100%;
}
@media screen and (max-width: 767px) {
 #mini-busy {
  width: 10px;
  height: 10px;
  top: 0;
  left: 2px;
 }
}
body.full-view {
 width: auto;
}
body.full-view a#view-full {
 display: none;
}
/* Mobile devices */
@media screen and (max-width: 767px) {
 body:not(.full-view) {
  margin: 8px 8px;
 }
 body:not(.full-view) #navMenuToggle {
  top: 3px;
  left: 0;
 } 
 body:not(.full-view) div#nsl-header {
  margin: 10px 5px;
  padding: 20px 15px 8px 15px;
  width: calc(100% - 42px);
  text-align: center;
 }
 body:not(.full-view) #masthead {
  float: none;
  width: calc(100% - 68px);
 }
 body:not(.full-view) #masthead a h3 {
  font-size: 16px;
 }
 body:not(.full-view) #masthead a h4 {
  font-size: 11px;
  margin-top: 5px;
 }
 body:not(.full-view) #pagetitle {
  display: none; 
 }
 body:not(.full-view) #tpc-logo {
  display: none; 
 }
 body:not(.full-view) .page-menu .page-menu-item {
  width: 50%;
 }
 body:not(.full-view) .top-menu>a>span.pipe {
  width: 32%;
  padding: 4px 0;
  border: 1px solid #555555;
 }
 body:not(.full-view) #view-full {
  display: block;
 }
 body:not(.full-view) pre#unr-mastlink {
  font-size: 8px;
  margin-top: 7px;
  white-space: pre-wrap;
 } 
 body:not(.full-view) #current-view {
  display: grid;
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
 }
 body:not(.full-view) #current-view.min {
  height: 600px;
 }
 body:not(.full-view) #camera-title button {
  display: block;
  margin: 0 auto;
 }
 body:not(.full-view) #camera-block,
 body:not(.full-view) #map-block {
  display: block;
  width: 100% !important;
  margin-bottom: 10px;
  position: relative;
 }
 body:not(.full-view) #camera-block .ui-resizable-handle {
  display: none !important;
 }
 body:not(.full-view) #camera-block .close-btn {
  display: block; 
 }
 body:not(.full-view) #camera-block .close-btn:hover {
  color: #fff;
  border: 1px dotted #aaa;
 }
 body:not(.full-view) #current-view #camera-block {
  transition: all 0.2s;
 }
 body:not(.full-view) #current-view.min #camera-block {
  opacity: 0;
  height: 1px;
  width: 1px;
 }
 body:not(.full-view) #thumbnail-block {
  padding-left: 10px;
  padding-right: 10px;
 }
 body:not(.full-view) #thumbnail-title {
  font-size: 13px; 
 }
 body:not(.full-view) div.thumbNail {
  max-width: calc(50% - 6px);
  overflow: hidden;
 }
 body:not(.full-view) .camLabel {
  font-size: 12px;
 }
 body:not(.full-view) div#nsl-footer {
  padding: 0 5px;
  margin: 5px;
  width: auto;
 }
 #loc-ctrl-container {
  top: 108px;
  width: 36px;
  height: 30px;
 }
 body:not(.full-view) #loc-ctrl-container {
  top: 120px;
  right: 22px;
 }
}
