* {
	margin: 0;
	padding: 0;
}

body {
  background-color: #1D1D1D;
  overflow: hidden;
}

@font-face{font-family:Luci;font-style:normal;font-weight:300;src:url(fonts/Lucida.woff) format('woff')}
@font-face{font-family:Vani;font-style:normal;font-weight:300;src:url(fonts/vani-webfont.woff) format('woff')}
@font-face{font-family:AdobeCaslon;font-style:normal;font-weight:300;src:url(fonts/adobe_caslon_pro.woff) format('woff')}

#intro-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8995;
  background-color: #1D1D1D;
  cursor: pointer;
  text-align: center;
}

#intro-overlay.edit {
  display: none;
  cursor: default;
}
  
  #intro-overlay.edit .exit-btn {
    width: 33px;
    height: 33px;
    border-radius: 33px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 3px;
    right: 3px;
    box-sizing: border-box;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(images/cross.png);
    cursor: pointer;
  }
  
  #intro-overlay.edit .edit-button {
    width: 25px;
    height: 25px;
    background-image: url(images/edit.png);
    border-radius: 2px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
  }

  #intro-overlay .content {
    margin: 0 auto;
    display: none;
  }
  
  #intro-overlay p {
    color: #A70C0C;
    text-shadow: 2px 2px #000;
  }

#main {
  width: 742px;
  height: 843px;
  margin: 0 auto;
  position: relative;
}

  #main-content {
    width: 100%;
    min-height: 843px;
    padding-top: 20px;
  }

    #necktie {
      top: 0;
      right: -190px;
      position: absolute;
      z-index: 8990;
      display: none;
    }
    
    #header {
      width: 100%;
      text-align: center;
    }

      .logo-container {
        position: relative;
        display: inline-block;
      }
    
      #header #toplogo {
        margin: 0 auto;
        position: relative;
      }

      #header .edit-button {
        width: 25px;
        height: 25px;
        background-image: url(images/edit.png);
        border-radius: 2px;
        cursor: pointer;
        position: absolute;
        top: 5px;
        right: 5px;
      }
      
      #header #header-text {
        margin: 0px 0 0px 0;
      }
      
        #header #header-text p {
          font: 900 11pt Luci, sans-serif;
          margin-bottom: 10px;
          
          
          font: 900 20pt Luci, sans-serif;
        }
        
      #header #header-image {
        margin-top: 10px;
        width: 617px;
        height: 205px;
      }

    #navbar-edit {
      background-color: #e1e1e1;
      padding: 10px 25px;
      color: #444444;
      font-family: tahoma;
      margin: 0 0 15px 0;
      border-radius: 5px;
      width: 430px;
    }
      
      #navbar-edit .firsttd {
        padding: 0 20px 0 0;
      }
      
    #navbar {
      height: 45px;
      background-color: black;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

      #navbar .navitem {
        height: 45px;
        color: white;
        float: left;
        cursor: pointer;
        text-align: center;
        line-height: 45px;
        font-family: AdobeCaslon;
        font-size: 16px;
        margin-top: 0px;
        width: 106px;
      }

        #navbar .navitem:hover {
          background: #9C0917;
        }
        
    #main-text {
      width: 100%;
      height: 694px;
      line-height: 17px;
      background-color: #FFF;
      color: #444444;
      font-family: tahoma;
      font-size: 9pt;
      display: inline-table;
      padding: 25px 60px 15px 60px;
      -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
      -moz-box-sizing: border-box;    /* Firefox, other Gecko */
      box-sizing: border-box;         /* Opera/IE 8+ */
    }
          
      #main-text .people {
        width: 100px;
        height: 150px;
        margin: 26px 35px;
        float: left;
        z-index: 500;
        position: relative;
        background-size: cover;
        background-position: center;
      }
        
        #main-text .people .das-cover {
          height: 150px;
          width: 100px;
          background-image: url('images/small_das.png');
          background-size: cover;
          background-position: center;
        }
        
        #main-text .people .das-cover.hover {
          background: rgba(0,0,0,0);
        }
        
        #main-text .people .das-cover:hover {
          background: rgba(0,0,0,0);
        }
        
        #main-text .people p {
          margin-top: 3px;
          text-align: center;
        }

      #main-text .album {
        width: 100%;
        display: inline-block;
      }
      
        #main-text .album p {
          width: 100%;
          padding: 4px 0 0 4px;
          box-sizing: border-box;
          font-size: 18px;
          padding-top: 30px;
          text-align: center;
        }
        
        #main-text .album.edit p { cursor: pointer; }
        
        #main-text .album.edit p:hover { background: rgba(0, 0, 0, 0.1); }
        
          #main-text .album.edit .edit {
            float: right;
            margin-left: -78px;
          }
        
      #main-text .album .photo {
        height: 150px;
        margin: 1px;
        float: left;
        position: relative;
        background-size: cover;
        background-position: center;
        cursor: pointer;
      }

      #main-text.edit .album .photo {
        cursor: default;
      }
   
        #main-text .album .photo.add {
          width: 100%;
          height: 60px;
          cursor: pointer;
        }
      
        #main-text .album .photo.add .plus {
          margin: 10px auto;
        }
      
      #main-text.edit {
        padding: 0px;
        display: inline-table;
      }  
        
        #main-text.edit #edit-text {
          display: none;
        }
        
        #main-text.edit #edit-people {
          display: flex;
          padding: 25px 29px;
        }
      
        #main-text.edit .edit-button {
          width: 25px;
          height: 25px;
          background-image: url(images/edit.png);
          border-radius: 2px;
          cursor: pointer;
          position: absolute;
          top: 5px;
          right: 5px;
        }
      
        #main-text.edit .add {
          background: rgba(0, 0, 0, 0.2);
          cursor: pointer;
        }
        
        #main-text.edit .add:hover {
          background: rgba(0, 0, 0, 0.3);
        }
        
          #main-text.edit .add .plus {
            width: 40px;
            height: 40px;
            border-radius: 40px;
            margin: 55px auto;
            padding: 0 1px 1px 0;
            background-color: rgba(0, 0, 0, 0.4);
            background-image: url(images/plus_small.png);
            background-position: center;
            background-repeat: no-repeat;
          }
          
          #main-text .album.add {
            background: rgba(0, 0, 0, 0);
          }
        
          #main-text .album.add p {
            cursor: pointer;
            color: #FF0000;
          }
          
          #main-text .album.add:hover { background: rgba(0, 0, 0, 0.1); }
      
      #header-form {
        display: inline-block;
        margin: 0 0 15px 0;
      }
    #footer {
      width: 100%;
      height: 45px;
      background-color: #9C0917;
      display: inline-table;
      
    }
    
    #footer.edit {
      padding: 0;
    }
    
      #footer p {
        line-height: 45px;
      }
    
      #footer a {
        text-decoration: none;
      }
          
  #main #login-container {
    margin: 100px auto;
    color: white;
  }
        
#upload-form { display: none; }

  #misc-admin {
    width: 100%;
    background-color: #FFF;
    color: #444444;
    font-family: tahoma;
    font-size: 9pt;
    display: inline-table;
    padding: 15px 10px;
    border-top: 1px solid #444444;
    border-bottom: 1px solid #444444;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
  }
  
    #misc-admin form input {
      margin-left: 5px;
    }
    
    #misc-admin form .button {
      float: left;
      margin: 4px 5px;
    }

    #misc-admin #passchange-feedback {
      margin-bottom: 6px;
    }
        
    #misc-admin #edit-intro-button { 
      margin: 5px 5px 15px 0;
      float: none;
    }

      #misc-admin #colorchange-form td.flex {
        line-height: 30px;
        display: flex;
      }
      
        #misc-admin #colorchange-form td.flex span {
          margin: 0 5px 0 0;
        }
        
        #misc-admin #colorchange-form td.flex div {
          margin: 0 10px 0 0;
        }

    .colorSelector {
      width: 28px;
      height: 28px;
      background: url(colorpicker/images/select2.png) center;
      cursor: pointer;
    }
    
#overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9000;
  display: none;
}

  #edit-screen {
    width: 325px;
    height: 120px;
    background: #2F2F2F;
    z-index: 9001;
    margin: auto;
    margin-top: 100px;
    padding: 10px;
    position: relative;
    color: white;
    border-radius: 5px;
    display: none;
    border: 1px solid #000;
  }
    
    #edit-screen h1 {      
      font-weight: 100;
      margin: 0 0 15px 0;
    }
   
    #edit-screen .edit-input {
      width: 235px;
      resize: none;
    }
    
    #edit-screen .edit-input.browse {
      width: 174px;
      margin-right: 2px;
    }
   
    #edit-buttons {
      width: 100%;
      text-align: right;
      margin: 15px 0 0 0;
    }
    
      #edit-buttons input {
        margin: 0 5px 0 0;
      }
 
  #overlay .full-screen {
    z-index: 9001;
    max-width: 80%;
    max-height: 80%;
    margin: 0 auto;
    display: none;
    position: relative;
    text-align: center;
  }
  
    #overlay .full-screen .full-screen-image {
      max-width: 100%;
      max-height: 900px;
    }
    
    #overlay .full-screen .exit-btn {
      width: 33px;
      height: 33px;
      border-radius: 33px;
      background-color: rgba(0, 0, 0, 0);
      position: absolute;
      top: 3px;
      right: 3px;
      box-sizing: border-box;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url(images/cross.png);
      cursor: pointer;
    }
    
    #overlay .full-screen .exit-btn:hover {
      background-color: rgba(0, 0, 0, 0.4);
    }
  
    #overlay .nav {
      width: 10%;
      z-index: 9002;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-color: rgba(0, 0, 0, 0);
      cursor: pointer;
      position: fixed;
      top: 0;
    }
    
    #overlay .nav:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
      #overlay .nav.left {
        left: 0;
        background-image: url(images/left.png);
      }
      
      #overlay .nav.right {
        right: 0;
        background-image: url(images/right.png);
      }
      
.button {
  padding: 4px 10px;
  margin: 5px;
  float: right;
}

.browse-button {
  padding: 0 2px;
}