html, body { margin: 0; padding: 0; }
body {
    color:#075eff;
    background-color: #ffecb3;
    font-size:12px;
    font-family: "Roboto","helvetica neue", helvetica, arial, sans-serif;
}

h1 {
  text-align: center;
}

h2 {
  color: #5f7d8b;
  margin-bottom: 0;
}

* {
  /* transition: all .5s ease-out; */
}

*:hover {
  /* transition: all .0s ease; */
}

#content {
  background-color: white;
  padding: 20px;
  /* padding-top: 50px;
  padding-bottom: 50px; */
}

#menubutton {
  position: absolute;
  left: 3px;
  top : 3px;
  height: 32px;
  width: 32px;
  background-image: url('../img/menu.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  transition: 0.2s;
  z-index: 10001;
}

#menubutton:hover {
  transform: scale(1.1);
  transition: 0.1s;
  cursor: pointer;
}

#menupan {
  display: inline-block;
  position: absolute;
  left:0;
  top:0;
  background-color: rgba(240,240,240,0.95);
  padding: 10px;
  user-select: none;
  max-height: 100vh;
  /* width: 50%; */
  overflow: auto;
  z-index: 10000;
}

#menupan hr {
  border: none;
  background-color: #CCC;
  height: 1px;
}

#menupan ul {
  margin-left: 0;
  padding-left: 30px;
}
#menupan > ul {
  margin: 0;
  margin-left: 32px;
  padding-left: 0;
  list-style-type: none;
  user-select: none;
}

#menupan li {
  line-height: 20px;
  font-size: 18px;
  color: #607d8b;
  user-select: none;
  list-style-type: none;
}

#menupan li img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}
#menupan li > span {
  background-color: #607d8b;
  color: #ffecb3;
  display: block;
  text-transform: uppercase;
  font-weight: bolder;
  padding: 2px;
}
#menupan li.lock, #menupan li.lock > span  {
  text-decoration: line-through;
  color: #CCC;
}

#menupan li a {
  text-decoration: none;
  color: #607d8b;
}
#menupan li a:hover {
  color: #ffc107;
}

#menupan .folder:hover {
  cursor: zoom-in;
}

#menupan li > span a {
  color: #ffecb3;
}

#menupan a.goto {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('../img/goto.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
}

/* #menupan li.folder::before {
  display: inline-block;
  content : "📁"
} */


#title {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

#title h1 {
  color: #ffc107;
  font-size: 20px;
  margin: 0;
  padding: 0;
  line-height: 100px;
  font-size: 64px;
  font-weight: lighter;
  vertical-align: middle;
  height: 100px;
}

#title h1 img {
  vertical-align: middle;
  max-width: 100%;
}

#title h1 span {
  color: #ffc107;
  vertical-align: bottom;
}

#title p {
  color: #CCC;
  font-size: 12px;
  margin: 0;
  padding: 0;
  margin-top: -10px;
}

#title p a {
  color: #CCC;
  text-decoration: none;  
}

#tilemenu {
  text-align: center;
  /* margin-bottom: 50px; */
}


#tilemenu h1 a {
  color: #ffc107;
  text-decoration: none;
}

#ariane {
  font-size: 20px;
  text-align: center;
  color: #607d8b;
  text-decoration: none;
}

#ariane a {
  color: #82681b;
  text-decoration: none;
}

#tilemenu .tile {
  text-align: center;
  border: 1px solid #5f7d8b40;
  background-color: #EEE;
  border-radius: 7px;
  padding: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 23px;
  line-height: 50px;
  color: #5f7d8b;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  /* max-width: 80%; */
}

#tilemenu .tile.dbl {
  text-align: left;
}
#tilemenu .tile.dbl .second {
  display: block;
  font-size: 10px;
  line-height: 12px;
  margin-top: 5px;
  color: #AAA;
}

#tilemenu .tile.admin {
  border: 1px solid #ffc107;
}

#tilemenu a.tempext {
  background-color: #636;
  color: white;
}
#tilemenu a.tempext:hover {
  cursor: default;
  background-color: #636;
  /* background-color: #969; */
  color: white;
}

#tilemenu .tile:hover {
  background-color: #ffecb3;
  color: #5f7d8b;
}

#tilemenu .align {
  display: inline-block;
  text-align: left;
}

#tilemenu .tile.locked {
  opacity: 0.5;
  filter: grayscale(1);
}
#tilemenu .tile.locked:hover {
  cursor:not-allowed;
}


#tilemenu .tile img {
  width: auto;
  height: 40px;
  vertical-align: middle;
  margin-right: 5px;
}

#footer {
  background-color: #ffecb3;
  padding-top: 20px;
  text-align: center;
}

#status {
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 5px;
}
.status {
  display: inline-block;
}

p.warning {
  color: #607d8b;
  font-size: 16px;
  text-align: center;
}

p.warning span {
  display: inline-block;
  border: 1px solid #ffc107;
  border-radius: 7px;
  padding: 5px;
  background-color: #FFC10710;
}

p.warning span strong {
  font-weight: bolder;
  color :red;
}

@media only screen and (max-width: 800px) {
  #content {
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #title {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  #tilemenu {
    margin-bottom: 10px;
  }
}

@media print {
  #menubutton, #menupad {
    display: none !important;
  }
}



#schedform {
  display: inline-block;
}

.week, .spec {
  min-height: 30px;
  position:relative;
  padding: 5px;
  padding-left: 40px;
  /* border: 1px solid #5f7d8b; */
  background-color: #5f7d8b30;
  border-left: 5px solid #5f7d8b;
  border-right: 5px solid #5f7d8b;
  color: #666;
  font-size: 14px;
  text-align: right;
  border-radius: 7px;
}

.week .offset, .spec .offset {
  display: inline-block;
  position:absolute;
  top: 0;
  left: 0;
  line-height: 40px;
  width: 20px;
  padding-right: 5px;
  height: 40px;
  text-align: center;
  background-color: #607d8b40;
  border-radius: 50%;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.week.on .offset, .spec.on .offset {
  background-color: #ffc10780;
}

.week input, .spec input {
  font-size: 14px;
  text-align: center;
  border-radius: 3px;
}

.week.on, .spec.on {
  background-color: #FFC10750;
  border-left: 5px solid #ffc107;
  border-right: 5px solid #ffc107;
  color: black;
}

.week:hover, .spec:hover {
  background-color: #607d8b60;
}

.timedropper {
  width: 40px;
}

.datedropper {
  width: 100px;
}

#legend {
  display:inline-block;
  line-height: 30px;
}

#legend h2 {
  font-weight: thin;
}

#submit {
  color: #000;
  background-color: #FFC10750;
  /* border-left: 5px solid #ffc107;
  border-right: 5px solid #ffc107; */
  font-size: 14px;
  border-radius: 7px;
  padding: 5px;
}

#submit:hover {
  cursor: pointer;
  background-color: #ffc107;
}



div.checkboxbox {
 display: inline-block;
 vertical-align: middle;
 margin: 2px;
 margin-top: -5px;
 padding-bottom: 5px;
}

label {
  display: block;
  margin:0;
  margin-bottom: 4px;
  padding:0;
  text-align: center;
  color : #666;
  font-size: 9px;
  text-transform: uppercase;
}

input[type="checkbox"] {
  display: block;
  margin:0;
  margin-left:10px;
  margin-right:5px;
  position:relative;
  width:40px;
  height:12px;
  -webkit-appearance: none;
  background: linear-gradient(0deg, #333, #000);
  outline: none;
  border-radius: 6px;
  box-shadow: 0 0 0 2px #353535, 0 0 0 3px #3e3e3e, inset 0 0 3px rgba(0,0,0,1);
  opacity: 0.5;
}

input:checked[type="checkbox"] {
  background: linear-gradient(0deg, #ffc107, #ffc10780);
  box-shadow: 0 0 0 2px #353535, 0 0 0 3px #3e3e3e, inset 0 0 3px rgba(0,0,0,1);
  opacity: 1;
}


input[type="checkbox"]:before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:12px;
  height:12px;
  background: linear-gradient(0deg, #000, #999);
  border-radius: 6px;
  box-shadow: 0 0 0 1px #232323;
  transform: scale(.98,.96);
  transition:.5s;
}

input:checked[type="checkbox"]:before {
  left:28px;
}

input[type="checkbox"]:after{
  content:'';
  position:absolute;
  top:calc(50% - 2px);
  left:20px;
  width:2px;
  height:2px;
  background: linear-gradient(0deg, #6b6b6b, #000);
  border-radius: 50%;
  transition:.5s;
}

input:checked[type="checkbox"]:after {
  display: none;
  left:40px;
}
