body, html {
    height: 100%;
    margin: 0;
}

#background-video{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}
.bgimg {
    background-image: url('../resources/images/us+wall_cropped2.jpg'); 
    height: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    color: white;
    font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
    font-size: 35px;
    background-color:rgba(0,0,0,0.3);
    background-blend-mode:multiply;
}
.topleft {
    position: absolute;
    top: 0;
    left: 16px;
}

.topright {
    position: absolute;
    top: 15px;
    left: 90%;
    font-size: 60%;
}

#logout{
    display: none;
}

.bottomleft {
    position: absolute;
    bottom: 0;
    left: 16px;
}

.bottommiddle {
    position:absolute;
    bottom: 0;
    left:50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 15px;
}

.middle {
    display:inline-block;
    position:relative;
    text-align: center;
    max-height:80%;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    overflow-y:auto;
}

.bottomleft, .bottommiddle{
    padding-bottom: 15px;
}

.middletext {
  position:relative;
  display:inline-block;
  max-height:90%;
  left: 27%;
  text-align: left;
  background-color:rgba(0,0,0,0.5);
  background-blend-mode:multiply;
  overflow-y:auto;
  padding:3%;
  margin:2%;
  border-radius:20px;
  box-sizing: border-box;
  width:40%;
}

.middlecontain {
  position:absolute;
  top:200px;
  bottom:100px;
  width:100%;
}

#forms::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #9e9a98;
}

#forms::-webkit-scrollbar
{
  width: 12px;
  background-color: #f5f5f500;
}

#forms::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #555;
}

#non-login::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #9e9a98;
}

#non-login::-webkit-scrollbar
{
  width: 12px;
  background-color: #f5f5f500;
}

#non-login::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #555;
}

.firstname{
    font-family: 'Lovers Quarrel', cursive;
    font-size:200%;
    margin-right:30px;
}

.secondname{
    font-family: 'Miss Fajardose', cursive;
}

.logo{
    text-align: center;
    padding-top: 15px;
}

.warning{
    width: 100%;
    padding: 20px;
    font-size:70%;
    background-color: rgba(255, 153, 0, 0.5);
    background-blend-mode: multiply;
}

.left-align{
    text-align: left;
    padding: 20px;
}

hr {
    margin: auto;
    width: 40%;
}

a:link{
    color:white;
}
a:visited{
    color:white;
}
a.firstname:hover{
    /* font-size:230%; */
}

.registryItem{
    height: 150px;
    width: 150px;
    padding: 50px;
    margin: 10px;
    display: inline-block;
}

.registryItemImg{
    max-width: 100%;
    max-height:100%
}

.itemText{
    font-size: 50%;
}

#forms{
    max-width: 90%;
}

.registryItems{
    width:85%;
}

#navbar{
    background-color: rgba(68, 86, 114,0.8);
    width:100%;
    overflow:auto;
}

.centered-overlay{
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    text-align: center;
}

#edit-button {
    margin: 20px;
    display: block;
    position: relative;
    left: 50%;
    transform: translate(-70%,0);
}

ul {
    position:relative;
    left:50%;
    transform: translate(-50%,0);
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 70%;
    width:45%;
    max-width:1000px;
}

li {
    width:25%;
    float: left;
    font-size: 70%;
    min-width:160px;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover {
    font-size:120%;
}

p{
    font-size:50%;
    line-height: 1.25em;
}

h3{
    font-size:70%;
}

input[type="checkbox"] {
  -webkit-transform: scale(1.5);
}

input{
    font-size:20px;
    margin-left:20px;
    margin-right:20px;
}

table, tr, td, th{
  border: solid 2px white;
  border-collapse: collapse;
}

table{
   border-spacing: 5px;
   font-size: 60%;
   width: 80%;
}

th{
  background-color:rgba(68, 86, 114,0.8);
}

td{
  font-size:90%;
}

td > input{
  width: 90%;
}

#rsvp-form, #rsvp-welcome-dinner-form, #access-code-request{
    text-align: center;
}

#dietary-form{
    text-align: center;
}

.right-space{
    margin-right: 20px;
}

.heading{
    border-bottom:solid;
    border-width: 1px;
}

/* button style created from https://css-tricks.com/examples/ButtonMaker/#  */
.button {
   width:100px;
   cursor: pointer;
   border-top: 1px solid #22a1f0;
   border-bottom: none;
   border-left: none;
   border-right: none;
   background: #445572;
   background: -webkit-gradient(linear, left top, left bottom, from(#379cc4), to(#445572));
   background: -webkit-linear-gradient(top, #379cc4, #445572);
   background: -moz-linear-gradient(top, #379cc4, #445572);
   background: -ms-linear-gradient(top, #379cc4, #445572);
   background: -o-linear-gradient(top, #379cc4, #445572);
   padding: 7px 14px;
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 15px;
   /*font-family: Helvetica, Arial, Sans-Serif;*/
   text-decoration: none;
   vertical-align: middle;
   }
.button:hover {
   border-top-color: #28597a;
   background: #28597a;
   color: #ccc;
   }
.button:active {
   border-top-color: #70d4ff;
   background: #70d4ff;
   }

#music {
  width: 80%;
}

#rsvp-button {
  font-size: 1.5em;
}