body {
  height: 100vh;
  margin: 0;
  position: relative;
}


h1 {
  font-family: 'Montserrat';
  font-weight: 700;
}


.h1, .h2, .h3, h1, h2, h3 {
  margin-top: 0;
}

a {
  color: #333;
  text-decoration: none;
}





/* SETTINGS MODAL ------------------------------------------------------------*/

#settings {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 1000;
}

#settings a i {
  font-size: 20px;
  color: #000;
}

.modal-content {
  border-radius: 3px;
}


.modal-header {
  background-color: #5aac41;
  background-image: linear-gradient(to bottom, #53a93f, #65b045);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
}

.panel-group {
  margin-bottom: 10px;
}
    
.panel-footer {
  position: relative;
}
    
.controls {
  position: absolute;
  right: 10px;
  top: 10px;
}

.modal .form-control {
  height: 40px;
}

.modal .btn {
  /*padding: 9px 12px;*/
}

 .modal-footer {
  text-align: left;
}  

.form-control:focus {
  border-color: #617b2c;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(125, 158, 61, 0.6);
  outline: 0 none;
}

.panel-title {
  text-transform: capitalize;
}


.form-horizontal .control-label {
  text-align: left;
}



/* SIGNIN SCREEN ------------------------------------------------------------*/

#signin {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-align: center;
       -ms-flex-align: center;
          align-items: center;
    -webkit-box-pack: center;
       -ms-flex-pack: center;
     justify-content: center;
     margin: 0;
     padding: 0;
}

#signin h1 {
  font-size: 30px;
}

#signin h1 span, h1 span {
  font-weight: normal;
}

#signin .version {
  font-size: 10px;
}
 
#signin form {
  margin: 0 auto;
  max-width: 330px;
  padding: 15px;
  text-align:center;
}

#signin .error {
  color: #333;
  font-size: 11px;
}


/* VIEWER BUTTONS ------------------------------------------------------------*/

header .controller {
  margin-top: -20px;
}

header .btn-group {
  margin-top: 20px;
}


.btn {
  border-radius: 3px;
}  
    

header .btn-default.active,
header .btn-default:focus,
header .btn-default.active,
header .btn-default.active.focus, 
header .btn-default.active:focus, 
header .btn-default.active:hover, 
header .btn-default.focus:active, 
header .btn-default:active:focus,
.btn-primary,
.btn-primary:hover,
.btn-primary:active:focus {
  background-color: #5aac41;
    background-image: linear-gradient(to bottom, #53a93f, #65b045);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-default.active i,
.btn-default:focus i,
.btn-default:active i,
.btn-default.active.focus {
    color: #fff;
}
   

.btn.active, .btn:active {
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.125);
    outline: 0 none;
}


/* GLOBAL LAYOUT -------------------------------------------------------------*/


.jumbotron {
  padding-bottom: 60px;
  padding-top: 60px;
}

    
    
.thumb img.stream {
  background: #ffffff url("../img/preloader.gif") no-repeat scroll center center;
}    
   
   
.thumb { /* Masonry bricks or child elements */
  float: left;
  padding: 15px;
}    




.small .thumb {
    width: 33.3%;
}

.medium .thumb {
   width: 50%;
}

.large .thumb {
    width: 100%;
}


  
  


/*   
    
.thumb.small, .thumb.medium, .thumb.large {
  float: left;
  padding-left: 15px;
  padding-right: 15px;
}
    
.thumb.small {
  width: 33.3%;
}
  
.thumb.medium {
  width: 50%;
}
  
.thumb.large {
  width: 100%;
}
    
*/
    

    
 

  
 