/* Master Styles */

body, p, div {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

body {  
  background: url(images/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  text-align: center;
  padding: 10px;
}

h1 {
  font-size: 50px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}

.cmd {
  position: absolute;
  top: 5px;
  right: 5px;
}

.day.open.today,
.day.today .door {
  /*background: rgba(0, 0, 0, 0.7);*/
  border: 3px dashed rgba(255, 255, 0, 0.7);
}

.day {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);

  display: inline-block;
  width: 200px;
  height: 200px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.day.open:hover {
  transition: background-color 0.2s linear;
  background-color: rgba(0, 0, 0, 0.6);
  /*background-color: rgba(255, 255, 255, 0.3);*/
}

.day .number,
.day .edit {
  position: absolute;
  top: 5px;
  display: none;
  color: #fff;
}

.day .number {
  left: 5px;
}
.day .edit {
  right: 5px;
}

.admin .day .number,
.admin .day .edit {
  display: block;
}

.day .door,
.day .img {
  position: absolute;
  height: 100%;
  width: 100%;
}

.day .img {
  border-radius: 5px;
  opacity:0;
  transition:opacity 1s linear;
}

.day.open .img {
  opacity:1;
  visibility: visible;
}

.day .door {
  /*background: rgba(0, 0, 0, 0.7);*/
  border: 3px dashed rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  color: #fff;
  font-size: 70px;
  padding-top: 45px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
  transition: width 1s ease-in-out, color 0.3s ease-in-out, opacity 1s ease-in-out;
  text-overflow: hidden;
  overflow: hidden;
}

.day:hover .door {
  transition: background-color 0.2s linear;
  background-color: rgba(0, 0, 0, 0.3);
}

.day .img {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.dialog-img {
  background-size: 100% auto;
  background-position-x: 50%;
  background-position-y: 50%;
  width: 500px;
  height: 500px;
}

.day.open .door {
  width: 0px;
  /*height: 0px;*/
  color: #369;
  opacity: 0
}

.day.exists .door {
  /*background-color: red;*/
}

div.upload {
  width: 600px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 30px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}
