@import url('https://fonts.googleapis.com/css?family=Anton');
html, body {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	font-family: 'Anton', sans-serif;
}

*, *:before, *:after {
	box-sizing: border-box;
}

#wrapper {
	width: inherit;
	height: inherit;
	position: relative;
	transition: all 500ms;
	background-color: white;
	overflow: hidden;
}
#wrapper.days {
	background-color: #ff5134;
}
#wrapper.hours {
	background-color: #0e78cc;
}
#wrapper.mins {
	background-color: #689a2f;
}
#wrapper.secs {
	background-color: #d2b01a;
}

#img-wrapper {
	height: 78%;
	margin: 0;
}

#img-wrapper #gif-img {
	display: block;
	margin: 0 auto;
	height: 100%;
}

#time {
	width: 100%;
	height: 22%;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	bottom: 0;
}
#time .time-slot {
	width: 25%;
	height: 100%;
	float: left;
	color: white;
	font-size: 100px;
	position: relative;
	overflow: hidden;
}
#time .time-slot .number {
	position: relative;
	z-index: 4;
	text-shadow: 1px 1px #555;
}
#time .time-slot .text {
	position: absolute;
	top: 0;
	left: 20px;
}
#time .time-slot#days {
	background-color: #ff755e;
}
#time .time-slot#days .text {
	color: #ff5134;
}
#time .time-slot#hours {
	background-color: #2196f3;
}
#time .time-slot#hours .text {
	color: #0e78cc;
}
#time .time-slot#mins {
	background-color: #8bc34a;
}
#time .time-slot#mins .text {
	color: #689a2f;
}
#time .time-slot#secs {
	background-color: #fdd835;
}
#time .time-slot#secs .text {
	color: #d2b01a;
}

.clickable {
	position: absolute;
	cursor: pointer;
}

#time #minimise {
	top: -30px;
	right: 10px;
}

#time #search {
	top: -30px;
	right: 80px;
}

#time #change-date {
	top: -30px;
	right: 150px;
}

#time #congrats {
	position: absolute;
	width: 100%;
	height: 100%;
	font-size: 23px;
	background-color: coral;
	color: #fff;
	text-shadow: 1px 1px #555;
	display: none;
}

#overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 5;
	background-color: rgba(225, 225, 225, 0.5);
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
}

.overlay-input {
	width: 75%;
	font-family: inherit;
	border: none;
	outline: none;
	text-transform: uppercase;
	font-size: 50px;
	padding: 10px;
	box-shadow: 4px 4px #bbb;
	margin: 100px auto 35px auto;
	display: block;
}

#overlay-search-input::-webkit-input-placeholder, #overlay-change-date-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ddd;
}
#overlay-search-input::-moz-placeholder, #overlay-change-date-input::-webkit-input-placeholder { /* Firefox 19+ */
  color: #ddd;
}
#overlay-search-input:-ms-input-placeholder, #overlay-change-date-input::-webkit-input-placeholder { /* IE 10+ */
  color: #ddd;
}
#overlay-search-input:-moz-placeholder, #overlay-change-date-input::-webkit-input-placeholder { /* Firefox 18- */
  color: #ddd;
}

#overlay #close {
	top: 10px;
	right: 10px;
}

#overlay .tip, #overlay #errors {
	font-size: 30px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
}
#overlay #errors {
	color: rgba(255, 99, 71, 0.8);
}

#overlay #gif-loading {
	display: none;
	font-size: 30px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
}

#overlay #search-overlay, #overlay #change-date-overlay {
	opacity: 0;
	visibility: hidden;
}

#overlay #change-date-overlay {
	position: relative;
	top: -275px;
}