/* Блок таймера */
#timerblock {
	display: none; 
	color: #000000; 
	background-color: #ADD8E6;
	border: 1px dashed #565656;
	border-radius: 0.5em/0.5em;
	position: absolute;
	right: 8px;
	top: 77px;
	z-index: 2;
	padding: 5px;
	font-family: sans-serif;
	font-size: 14px;
	text-align: center;
	width:108px;
}

#timerblock #timer_pause {
	position:absolute;
	top:8px;
	left:102px;
	cursor:pointer;
}

#timerblock #timer_play {
	position:absolute;
	top:8px;
	left:102px;
	cursor:pointer;
	visibility:hidden;
}

#timerblock #timer_stop {
	position:absolute;
	top:8px;
	left:7px;
	cursor:pointer;
}

#timerblock #timespent {
	border: none;
	text-align: center;
	font-weight: bold;
	background: transparent;
	margin-left:6px;
}

/* Затемнение всей остальной страницы и создание focus-lock */
.timer-shadow {
  z-index: 10;
  background: #000;
  opacity: 0.6;
  filter: blur(2px);
  width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}


/* Блок сохранения времени */
#timeQuestionDiv {
  display: none;
  z-index: 15;
  position: fixed;
  top: 5%;
  width: 50%;
  left: 25%;
}

.container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.workTime input[type="text"],
.workTime input[type="email"],
.workTime input[type="tel"],
.workTime input[type="url"],
.workTime textarea,
.workTime button[type="submit"] {
  font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

.workTime {
  background: #F9F9F9;
  padding: 25px;
  margin: 150px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.workTime h3 {
  display: block;
  font-size: 34px;
  font-weight: 300;
  margin-bottom: 10px;
}

.workTime h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgb(255, 64, 64);
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

.workTime input[type="text"],
.workTime input[type="email"],
.workTime input[type="tel"],
.workTime input[type="url"],
.workTime textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

.workTime input[type="text"]:hover,
.workTime input[type="email"]:hover,
.workTime input[type="tel"]:hover,
.workTime input[type="url"]:hover,
.workTime textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

.workTime textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

.workTime button[type="submit"], .workTime__button, .workTime__button--save {
  cursor: pointer;
  width: 100%;
  border: none;
  background: rgb(255, 212, 92);
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

.workTime__button {
  margin-left: 5px;
}

.workTime button[type="submit"]:hover, .workTime__button:hover {
  background: rgb(255, 189, 8);
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.workTime button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
  text-align: center;
}

.workTime__input:focus,
.workTime__button:focus,
.workTime__button--save:focus,
.close:focus {
  outline: 2px solid rgba(82, 157, 236, 0.8);
  box-sizing: border-box;
}

.workTimeInner {
  display: flex;
  margin-top: 0.5rem;
}

.close {
  position: absolute;
  right: 5px;
  top: 0;
  opacity: 0.4;
  cursor: pointer;
  font-size: 48px;
  border: none;
  box-sizing: border-box;
  background: none;
  text-decoration: none;
}

.close:hover {
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}
