html,
body {
    height: 100%;
    overflow: hidden;
    position: fixed;
    font-family: 'Nunito', sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body{
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
}
body *{
  -webkit-backface-visibility: hidden;
  /* -webkit-transform:translateZ(0); */
}
.slideshowPages{
  display: none;
}
.slideshowPages:first{
  display: block;
}

.ui-keyboard{
  background-color: transparent !important;
  border: none !important;
}
.ui-keyboard .ui-keyboard-keyset{
  background-color: #fefefe;
}

#masterShow{
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 15px;
  background-color: rgba(0,0,0,0.4);
  z-index: 10001;
  color: #fff;
  font-size: 20px;
}

.roundLoader, .loaderWrapper{
  text-align: center;
}
.ball-pulse-sync{
  line-height: 1.2;
  font-size: 18px;
}

.contentText{
  display: none;
  width: 100%;
}
#frontendgrid .contentText{
  display: block;
  width: 100%;
}

#slideshowPagination{
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  left: 0;
  z-index: 25;
}
#slideshowPagination .slideshowPageNumber{
  display: inline-block;
  height: 40px;
  width: 40px;
  margin: 10px;
  border-radius: 50%;
  border: solid 1px #444;
  background-color: #444;
  cursor: pointer;
}
#slideshowPagination .active{
  border: solid 1px #ccc;
  background-color: #ccc;
}

img{
  max-width: 100%;
}

.rsSlide{
  background-color: white;
}

.flowCenter{
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.pageLinksWrapper{
  top: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 20;
}
.pageWebsiteLink{
  background-color: #fff;
  width: 80vw;
  height: 80vh;
}

.slideActions, .refresher{
  bottom: 30px;
  right: 20px;
  position: absolute;
  z-index: 50;
}
.slideActions a, .refresher a{
  color: #ccc;
}
.slideActions a:focus, .slideActions a:active, .slideActions a:hover{
  color: #fff;
}

.refresher .deviceSettings{
  display: none;
}

.reloadThePage, .deviceSettings, .logoutPage, .enableScreen, .disableScreen{
  margin-right: 10px;
  font-size: 20px;
  color: #ccc;
  border: solid 2px #ccc;
  border-radius: 50%;
  cursor: pointer;
  padding: 5px 10px;
  display: inline-block;
  background-color: #000;
}
.disableScreen, .deviceSettings{
  display: none;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.mainclientwebsite{
   color: #666;
   font-size: 35px;
   display: inline-block;
   position: absolute;
   z-index: 50;
}
.website-top-left{
   top: 1px;
   left: 10px;
}
.website-top-right{
   top: 1px;
   right: 10px;
}
.website-bottom-left{
   bottom: 1px;
   left: 10px;
}
.website-bottom-right{
   bottom: 1px;
   right: 10px;
}

.slideshowWrapper, .slide, .slideshowFrontend{
  width: 100vw;
  height: 100vh;
}
.slide{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#frontendgrid{
  background-size: cover;
}

.slideshowOverviewPage{
  float: left;
  display: inline-block;
  width: 25%;
  height: auto;
  padding: 30px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  max-height: 24vh;
}

table{
  width: 100%;
}
.productImageTable{
  width: auto;
}
.slideshowWrapper{
  background-color: #fff;
  display: none;
}

.slideshowPages, #slideshowSearchWrapper{
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 100%;
  left: 0;
  background-color: rgba(0,0,0,0.9);
}
.nonSlideshowPages, .productDetailsWrapper{
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.6);
}
.productDetailsWrapper{
  z-index: 10;
}
.nonSlideshowPages{
  background-color: #fff;
}
.nonSlideshowPages .nonslide{
  width: 100vw;
  height: 100vh;
}

#slideshowSearchWrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  top: -120vh;
}
#slideshowSearch{
  background-color: #fff;
  width: 75vw;
  max-height: 85vh;
  overflow-y: auto;
}
#slideshowSearchHeader{
  padding: 25px 15px;
  color: #fff;
  background-color: rgb(0,125,180);
  width: 100%;
}
#slideshowSearchForm{
  display: flex;
  flex-wrap: wrap;
  padding: 25px 15px;
}
#slideshowSearchButton{
  text-align: center;
  width: 20%;
  min-width: 100px;
  padding: 0 5px;
}
#slideshowSearchInput{
  width: 80%;
}
#slideshowProductResults{
  display: none;
  padding: 25px 15px;

}
.slideshowProductResult{
  display: inline-block;
  width: 20%;
  margin: 15px;
  cursor: pointer;
  max-height: 25vh;
}
#slideshowProductResultsPagination .searchPage{
  display: inline-block;
  height: 30px;
  width: 30px;
  margin: 10px;
  border-radius: 50%;
  border: solid 1px #444;
  background-color: #444;
  cursor: pointer;
}
#slideshowProductResultsPagination .active{
  border: solid 1px #ccc;
  background-color: #ccc;
}
#slideshowProductResultsPagination{
  text-align: center;
}

.productDetailsWrapper, .nonSlideshowPages{
  top: 100%;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}


@media(max-height: 1400px){
  .slideshowOverviewPage img{
    max-height: 285px;
  }
}
@media(max-height: 1300px){
  .slideshowOverviewPage img{
    max-height: 260px;
  }
}
@media(max-height: 1200px){
  .slideshowOverviewPage img{
    max-height: 235px;
  }
}

@media(max-height: 1100px){
  .slideshowOverviewPage img{
    max-height: 210px;
  }
}


@media(max-height: 1000px){
  .slideshowOverviewPage img{
    max-height: 185px;
  }
}


@media(max-height: 900px){
  .slideshowOverviewPage img{
    max-height: 160px;
  }
}



@media(max-height: 800px){
  .slideshowOverviewPage img{
    max-height: 135px;
  }
}



@media(max-height: 700px){
  .slideshowOverviewPage img{
    max-height: 110px;
  }
}



@media(max-height: 600px){
  .slideshowOverviewPage img{
    max-height: 85px;
  }
}


@media(max-height: 500px){
  .slideshowOverviewPage img{
    max-height: 60px;
  }
}
