/* 表單(所有版本都一樣？) */
.list-table {
    width: 100%;
}
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}
.ttd {
    text-align: left;
}
.item-col-h {
    display: block;
    margin: 16px 0 8px;
}
input.item-col-d,
select.item-col-d,
textarea.item-col-d {
    min-height: 32px;
    padding: 2px 6px;
    line-height: 1.5em;
    border: none;
}
input.item-col-60px {
    width: 60px;
    min-height: 32px;
    padding: 2px 6px;
    line-height: 1.5em;
    border: none;
}
.add-btn-box {
    position: relative;
}
.add-btn {
    position: absolute;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}
.reserve-room-table {
    vertical-align: top;
}
.add-room-btn {
    display: block;
    width: 90px;
    margin-top: 4px;    
    font-size: 14px;
    padding: 2px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
}
.reserve-room-table td input,
.reserve-room-table td select {
    width: 100%;
    min-height: 32px;
    padding: 2px 6px;
    line-height: 1.5em;
    border: none;
}
.more-room-tr {
    height: 36px;
}
.more-room-tr td {
    padding-top: 3px;
}
.reserve-room-table .room-select-td select {
    position: relative;
    top: -1px;
}
.reserve-room-table .qty-select-td select {
    text-align: center;
}
.qty-txt-td {
    text-align: center
}
.del-btn-td {
    position: relative;
}
.del-btn {
    position: absolute;
    width: 21px;
    height: 21px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    border-color: #d00;
    background-color: #fff;
    cursor: pointer;
}
.del-btn::before,
.del-btn::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 3px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    background-color: #d00;
}
.del-btn::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}
.del-btn::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}
.captcha-code-input {margin-bottom: 6px;}
#txtCheckinDate, #txtCheckoutDate, #txtRemitAt, .alert-h { cursor: pointer; }
.fake-select, .fake-select-more { cursor: pointer; }
.fake-triangle { top: 13px; }
.fake-triangle-more { top: 16px; }
.room-select-td,
.qty-select-td {
    position: relative;
    cursor: pointer;
}
.fake-triangle,
.fake-triangle-more {
    position: absolute;
    width: 0;
    height: 0;
    right: 7px;
    border-top: 6px solid #555;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    cursor: pointer;
}
.fake-option-list,
.fake-option-list-more {
    display: none;
    position: absolute;
    width: 100%;
    top: 32px;
    left: 0;
    background-color: #FFF;
    color: #000;
    z-index: 10;
}
.fake-option-list li,
.fake-option-list-more li {
    width: 100%;
    padding: 0 2px 0 4px;
    font-size: 14px;
    line-height: 1.5em;
}
.fake-option-list li:hover,
.fake-option-list-more li:hover {
    background-color: #EFEFEF;
}
.fake-select.qty-select~.fake-option-list,
.fake-select-more.qty-select~.fake-option-list-more {
    text-align: center;
}
.fake-option-list.active,
.fake-option-list-more.active {
    display: block;
}
.reserve-room-table tr:first-of-type {
    height: 33px;
}
.alert-block {
    display: none;
    width: 90%;
    margin: 20px auto 0;
    text-align: left;
    line-height: 1.8em;
    color: #ED0000;
    background-color: #FFF;
    padding: 6px;
}
.alert-err {background-color: #E7C4C4 !important;}
.alert-block .alert-h {
    border: 1px solid #ED0000;
    margin-right: 10px;
    padding: 2px;
    cursor: pointer;
}
.red-hl {font-size: 1.2em;}
@media screen and (min-width: 961px) {
    table.reserve-room-table.item-col-d {
        width: 80%;
        max-width: 490px;
    }
    .room-select-td {
        width: 70%;
        max-width: 343px; 
    }
    .qty-txt-td {
        width: 10%;
        max-width: 49px; 
    }
    .qty-select-td {
        width: 10%;
        max-width: 49px; 
    }
    .del-btn-td {
        width: 10%;
        max-width: 49px; 
    }
}
@media screen and (min-width: 768px) {
    .ttr { width: 100%; }
    .ttr::after {
        content: '';
        display: block;
        clear: both;
        height: 0;
    }
    .ttd.col1 { width: 100%; }
    .ttd.col2 {
        float: left;
        width: 50%;
    }
    .item-col-h, .item-col-d { width: 60%; }
    textarea.item-col-d { width: 80%; }
    .add-btn {
        top: 16px;
        right: 41%;
    }
    table.reserve-room-table.item-col-d { width: 80%; }
    .room-select-td { width: 70%; }
    .qty-txt-td { width: 10%; }
    .qty-select-td { width: 10%; }
    .del-btn-td { width: 10%; }
}
@media screen and (max-width: 767px) {
    .ttr, .ttd.col1, .ttd.col2, .item-col-h, .item-col-d { width: 100%; }
    .room-select-td { width: 55%; }
    .qty-txt-td { width: 15%; }
    .qty-select-td { width: 15%; }
    .del-btn-td { width: 15%; }
}