* {
box-sizing: border-box;
}
html, body {
margin: 0;
font-family: 'Roboto', sans-serif;
display: flex;
flex-direction: column;
width: 100vw;
height: 100vh;
}
.other {
color: gray;
font-style: italic;
margin-left: 5px;
}
#search {
z-index: 2;
background-color: #F44336;
margin: 0 auto;
width: 100%;
position: absolute;
/*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
/*box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/
box-shadow: 0 0.5px 1.5px rgba(0,0,0,0.06), 0 0.5px 1px rgba(0,0,0,0.12);
}
#search .input-wrapper {
position: relative;
margin: 0 auto;
max-width: 600px;
padding: 10px;
flex-grow: 0;
}
#search input[type='text'] {
display: block;
background-color: #D32F2F;
color: #FFFFFF;
width: 100%;
display: block;
outline: none;
border: 0;
padding: 16px;
font-size: 1.1em;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #FFCDD2;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #FFCDD2;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #FFCDD2;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #FFCDD2;
}
li:hover {
background-color: lightgray;
cursor: pointer;
}
.selected {
background-color: lightgray;
}
#schedule {
flex-grow: 1;
width: 100%; /* IE fix */
border: 0;
}
#search-space-filler {
height: 73px;
}
.autocomplete-wrapper {
background-color: white;
}
.autocomplete {
max-width: 600px;
margin: 0 auto;
padding: 0;
}
.autocomplete li {
list-style: none;
padding: 10px;
}
#week-selector {
z-index: 1;
background-color: #F44336;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
color: white;
}
#week-selector .week-wrapper {
max-width: 600px;
padding: 10px !important;
margin: 0 auto;
display: flex;
padding: 10px 0;
}
#week-selector .current {
flex-grow: 1;
text-align: center;
padding: 5px;
}
#week-selector input[type='button'] {
background: #D32F2F;
color: white;
border: 0px;
padding: 5px 10px;
border-radius: 2px;
}
/*input:hover,*/
input:focus {
outline: none;
background-color: #b71c1c !important;
}
input {
-webkit-appearance: none;
}
#search .material-icons {
position: absolute;
font-size: 1.8em;
color: #FFCDD2;
right: 22.5px;
top: 22.5px;
border: 0;
padding: 0;
background: none;
}
.hidden {
display: none !important;
}