/* main-area */
.quick-view-main-area {
    width: 80%;
    height: 80%;
    position: fixed;
    left: 10%;
    top: 10%;
    color: #989898;
    background: #EDEDED;
    font-size: 13px;
    font-weight: normal;
    padding: 0;
    margin: auto;
    z-index: 99996;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fancybox-close-small:after {
    color: #fff;
}

.top-title {
    color: #fff;
    font-size: 17px;
    text-align: center;
    background: #ed145b;
    padding: 10px 50px 10px 0;
}

.top-title img {
    margin-right: 10px;
}

.top-title img,
.top-title span {
    vertical-align: middle;
}

.appointment-form {
    width: 90%;
    padding: 20px 5%;
}

.remind {
    padding: 10px 0;
}

.form-container {
    margin-bottom: 20px;
}

.appointment-form .left {
    display: inline-block;
    width: 40%;
    vertical-align: top;
}

.appointment-form .right {
    display: inline-block;
    width: 60%;
    vertical-align: top;
}

.circle-box {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #ed145b;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
}

.circle-box .content {
    width: 100%;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    font-size: 10px;
    line-height: 10px;
    margin: auto;
}

.circle-box .content span.num {
    font-size: 15px;
    line-height: 15px;
}

.step-title {
    display: inline-block;
    color: #666666;
    font-size: 18px;
    vertical-align: middle;
    margin-left: 10px;
}

.form-group {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-bottom: 10px;
}

.wAuto {
    width: auto;
}

.w50 {
    width: 50%;
    margin-right: 0;
}

.w46 {
    width: 46%;
    margin-right: 4%;
}

.w36 {
    width: 36%;
    margin-right: 4%;
}

.w20 {
    width: 20%;
    margin-right: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 3px;
    margin-top: 10px;
    border: 1px solid #CBCBCB;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 100px;
}

.form-group input[name=phone] {
    display: inline-block;
    width: 70%;
}

.form-group select[name=phone_prefix] {
    display: inline-block;
    width: 28%;
    margin-right: 2%;
}

.form-group select {
    background:url(../images/appointment_select_arrow.png) no-repeat right #fff;
    background-position-x: 98%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select::-ms-expand {
    display: none;
}

input[name=platform] {
    display: none;
}

input[name=platform] ~ label.platform {
    display: block;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease 0s;
    margin-right: 20px;
}

input[name=platform]:checked ~ label.platform {
    opacity: 1;
}

input[name=platform]:not(:checked) ~ label.platform:hover {
    opacity: 0.8;
}

.form-container.submit,
.form-container.tnc,
.done-container .form-container.done {
    text-align: center;
}

.form-container.submit .submit-btn {
    display: block;
    width: 33%;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    background: #ed145b;
    border-radius: 5px;
    padding: 10px 0;
    margin: auto;
}

.form-container.submit button.submit-btn {
    cursor: pointer;
    border-style: none;
    transition: all 0.2s ease 0s;
}

.form-container.submit button.submit-btn:hover {
    opacity: 0.8;
}

.appointment-form .form-container.tnc {
    color: #808080;
}

.appointment-form .form-container.tnc a {
    color: #ed145b;
    text-decoration: underline;
}

/* done page */
.done-container {
    width: 60%;
    padding: 40px 20%;
}

.done-container .done-icon {
    margin-bottom: 20px;
}

.done-container .form-container.done .success {
    color: #666666;
    font-size: 18px;
    font-weight: bold;
}

.done-container .form-container.done .success-ref-num {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    background: #ed145b;
    padding: 10px 0;
}

.done-container .form-container.done .left,
.done-container .form-container.done .right {
    display: inline-block;
    font-size: 15px;
    text-align: left;
    vertical-align: top;
}

.done-container .form-container.done .left {
    width: 40%;
    color: #999999;
}

.done-container .form-container.done .right {
    width: 60%;
    color: #6B6A69;
}

.done-container .form-container.done .left span,
.done-container .form-container.done .right span {
    display: block;
}

@media screen and (max-width: 1024px) {
    .done-container {
        width: 80%;
        padding: 40px 10%;
    }
}

@media screen and (max-width: 768px) {
    .quick-view-main-area {
        width: 90%;
        height: 90%;
        left: 5%;
        top: 5%;
        font-size: 12px;
    }
    
    .top-title {
        font-size: 15px;
        padding: 10px 30px 10px 0;
    }
    
    .top-title img {
        height: 24px;
    }
    
    .appointment-form .left,
    .appointment-form .right {
        width: 100%;
    }
    
    .appointment-form .left {
        margin-bottom: 10px;
    }

    .circle-box {
        width: 36px;
        height: 36px;
    }

    .circle-box .content span.num {
        font-size: 12px;
        line-height: 12px;
    }

    .step-title {
        font-size: 15px;
        margin-left: 5px;
    }

    .w50, .w46, .w36, .w20 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-right: 0;
    }
    
    input[name=platform] ~ label.platform img {
        height: 40px;
    }

    .form-container.submit .submit-btn {
        width: 50%;
        font-size: 13px;
    }
    
    .done-container {
        width: 96%;
        padding: 20px 2%;
    }

    .done-container .done-icon {
        height: 50px;
    }

    .done-container .form-container.done .success {
        font-size: 15px;
    }

    .done-container .form-container.done .success-ref-num {
        font-size: 13px;
    }

    .done-container .form-container.done .left,
    .done-container .form-container.done .right {
        font-size: 12px;
    }
}