::placeholder {
    color: #bbc;
}

.ui-datepicker {
    width: 440px;
}
.ui-datepicker-calendar td span,
.ui-datepicker-calendar td a {
    width: 54px;
    height: 50px;
    color: transparent !important;
}

.ui-datepicker-calendar td span[data-pre-custom]::before,
.ui-datepicker-calendar td a[data-pre-custom]::before {
    content: attr(data-pre-custom);
    color: black !important;
    display: block;
    position: absolute;
    font-size: small;
    margin-top: 10px;
    margin-left: 10px;
    background: rgba(155, 155, 155, .3);
    height: 2.5em;
    width: 2.5em;
    border-radius: 50%;
    text-align: center;
    padding-top: 0.75em;
    box-sizing: border-box;
}

.ui-datepicker-calendar td span[data-custom]::after,
.ui-datepicker-calendar td a[data-custom]::after {
    content: attr(data-custom);
    color: #246 !important;
    display: block;
    position: relative;
    float: right;
    background: rgba(255, 255, 255, .6);
    border: 1px solid #bbb;
    height: 18px;
    width: 32px;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    font-weight: bold;
    padding-top: 1px;
}

.ui-datepicker-calendar td a.ui-state-active::before {
    color: white !important;
    background: rgba(0, 0, 0, .2);
}

.ui-datepicker-prev .ui-icon,
.ui-datepicker-next .ui-icon {
    text-indent: 0;
    font-weight: normal;
}

.ui-datepicker-prev .ui-icon::before {
    content: '◀';
    margin: 0 10px 0 1px;
}

.ui-datepicker-next .ui-icon::before {
    content: '▶';
    margin: 0 10px 0 3px;
}

html, body { height: 100vh; }

body {
    overflow: hidden hidden;
}

html, body, label, input, select, textarea, button, submit {
    font-family: 'Roboto';
    font-size: 14px;
}

input, select, textarea, button, submit {
    font-size: 1.2em;
}

input, textarea {
    border: 1.5px solid #dde;
    padding: .2rem .4rem;
    outline: none;
}

input:focus, textarea:focus {
    border-color: #99b;
}

input[type='time'] {
    width: 6rem;
}

select {
    margin: 1em;
    padding: 0.2em 0.5em;
}

label {
    display: block;
    text-align: center;
    margin: 2em 0 .5em;
}

.form {
    width: fit-content;
    margin: 0 auto;
}

.formfield {
    width: fit-content;
    margin: 0 auto;
}

.formfield.rent_from {
    float: left;
    margin-right: 2em;
    zoom: .7;
}
.formfield.rent_to {
    float: left;
    zoom: .7;
}

.formfield.rent_location_time,
.formfield.rent_location_endtime {
    text-align: center;
}

button {
    margin-top: 1em;
    padding: 1.5em 3.5em;
    background: #eef;
    border: none;
    font-size: 0.7em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .1em;
}

button:hover {
    background: #ddf;
}

button:active {
    background: #ccf;
}

button[disabled] {
    cursor: no-drop;
    background: #eee;
}

button[disabled]:hover {
    background: #eee;
}

textarea {
    width: 30em;
    height: 3em;
    padding: .5em;
}

.area-button {
    position: fixed;
    bottom: 3em;
}

.prev-area-button {
    left: 3em;
}

.next-area-button {
    right: 3em;
}

.top-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.5em;
    z-index: 1;
}

.top-area a {
    text-decoration: none;
    opacity: 0.5;
}

.top-area a:hover {
    opacity: 1;
}

.title {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.info-text {
    margin-top: 0.5em;
    color: #66c;
}

#rent_amount {
    width: 70px;
}

.device {
    position: relative;
    float: left;
    margin: 1em 0.5em;
    width: 360px;
    max-width: 100px;
    padding: 0.5em;
    border-radius: 10px;
    cursor: pointer;
    transition: max-width 270ms;
    overflow: hidden;
}

.device.active {
    max-width: 360px;
}

.device:hover {
    background: #e6e6ff;
}

.device.active {
    background: #d9d9ff;
}

.device_sub1 {
    float: left;
    width: 100px;
}

.device_sub2 {
    position: absolute;
    top: 1.8em;
    left: 120px;
    width: 230px;
    max-height: 100px;
    overflow: hidden;
}

.device_name {
    font-size: 0.6em;
    font-weight: bold;
    text-align: center;
    margin-bottom: .3em;
}

.device_image {
    width: 100px;
    height: 100px;
    background-color: #F4F5F7;
    background-size: 80px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.device_text {
    line-height: 1.6em;
    font-size: 0.6em;
}

.rent_area {
    transform: scaleX(1.1) scaleY(1.1);
    transform-origin: 50% 50%;
    overflow: hidden;
    transition: transform 200ms, opacity 120ms;
    position: fixed;
    opacity: 0;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.rent_area.visible {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: all;
}

#summary {
    width: 400px;
    margin: 0 auto;
}

.summary-row {
    margin: 0.2em 0;
}

.summary-label {
    display: inline-block;
    width: 80px;
    font-size: 0.7em;
    color: #999;
    text-align: right;
    padding-right: 0.5em;
    vertical-align: 2px;
}

.summary-text {

}

.copyright {
	font-size: .55em;
    text-align: center;
    position: absolute;
    bottom: 4em;
	left: 200px;
	right: 200px;
	line-height: 2em;
	color: #aaa;
}

.copyright a {
	background: #eef;
	color: black;
	text-decoration: none;
	display: inline-block;
	padding: 0 6px 0 2px;
	border-radius: 10px;
	line-height: 1.8em;
	transition: all 120ms;
}

.copyright a:hover {
	background: #ddf;
	color: black;
}

.copyright a:active {
	transform: scale(.95);
}