@charset "UTF-8";

html,body{
    height: 100%;
}

body {
    color: #666666;
    font-family: 微軟正黑體, "Microsoft JhengHei", sans-serif;
}

ul li {
    margin: 0 auto;
    font-size: 1.7rem;
    width: 80%;
    margin-bottom: 2rem;
}

p {
    margin: 0 auto;
    font-size: 1.7rem;
}

.wrap {
    margin: 0 auto;
    text-align: center;
    height: 100%;
    /*  max-width: 1366px;*/
}

.content {
    margin: 0 auto;
    padding-bottom: 50px;
    /* background: url(../img/BG.png) no-repeat center top; */
    background: url(../../Image/ReservationImg/BG.png) no-repeat center top;
    width: 100%;
    min-height: calc(100% - 132px);
    vertical-align: middle;
    background-size: cover;
}

.logo img {
    width: 360px;
    height: auto;
    margin-top: 75px;
    margin-bottom: 35px;
}

header {
    margin: 0 auto;
}

header h2 {
    color: #ba8563;
    position: relative;
    margin: 0 auto 50px auto;
    font-size: 4rem;
    width: 80%;
    overflow: hidden;
    padding: 0 20px 0 20px;
}

header h2::before {
    content: " ";
    width: 40%;
    position: absolute;
    border-bottom: 2px solid #ba8563;
    top: 20px;
    right: -webkit-calc(60% + 3rem);
    right: calc(60% + 3rem);
}

header h2::after {
    content: "         ";
    width: 40%;
    position: absolute;
    border-bottom: 2px solid #ba8563;
    top: 20px;
    left: -webkit-calc(60% + 3rem);
    left: calc(60% + 3rem);
}

.selection {
    margin: 0 auto;
    width: 80%;
    border: 1px solid #ba8563;
    padding: 2% 0;
}

.sel-1 {
    width: 80%;
    position: relative;
    margin: 20px auto;
    font-size: 2.5rem;
}

.LRbutton {
    display: inline-block;
    width: 40%;
    margin: 0 0 10px;
}

.LRbutton span {
    cursor: pointer;
}

.LRbutton:first-child {
    text-align: left;
}

.LRbutton:last-child {
    text-align: right;
}

.fbox {
    display: block;
    background-color: gray;
    color: #fff;
    padding: 30px 10px;
}

span {
    font-size: 1.9rem;
    text-align: center;
}

/*fit screen*/

@media screen and (max-width: 1170px) {
    header h2::before {
        right: -webkit-calc(65% + 3rem);
        right: calc(65% + 3rem);
    }

    header h2::after {
        left: -webkit-calc(65% + 3rem);
        left: calc(65% + 3rem);
    }
}

@media screen and (max-width: 520px) {
    header h2::before {
        right: -webkit-calc(70% + 3rem);
        right: calc(70% + 3rem);
    }

    header h2::after {
        left: -webkit-calc(70% + 3rem);
        left: calc(70% + 3rem);
    }
}

@media screen and (max-width: 650px) {
    span {
        font-size: 1.9rem;
    }

    .fbox {
        margin: 0;
    }

    .sel-1 {
        width: 100%;
    }

    .calendar {
        margin-bottom: 30px;
    }

    .LRbutton {
        margin: 30px 0 20px 0;
    }

    ul li {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 375px) {
    .selection {
        padding: 10px 0 20px;
        width: 90%;
        margin-top: -20px;
    }

    .LRbutton {
        margin: 20px 0 10px 0;
    }

    .sel-1 {
        width: 100%;
    }

    .logo img {
        width: 80%;
    }

    h2 {
        font-size: 3rem;
    }

    header h2::before {
        top: 15px;
    }

    header h2::after {
        top: 15px;
    }

    span {
        font-size: 1.7rem;
    }
}

/* @media (min-width:768px) {
    .text-sm-right {
        text-align: right;
    }
} */
/*門診預約頁面*/
.reserve-btn {
    display: block;
    text-decoration: none;
    color: #666;
    border-radius: 7px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.reserve-btn:hover,
.reserve-btn:active {
    text-decoration: none;
    color: #fff;
    border-radius: 7px;
    background-color: #ba8563;
}

/* all */
label.lblStyle {
    margin-right: 1.5rem;
}

.modal .signUp-box {
    margin-left: 0;
    margin-right: 0;
}

.modal .signUp-box .title {
    margin-bottom: 2rem;
    color: #ba8563;
    font-weight: bold;
}

.modal .signUp-box .text {
    margin-bottom: 2rem;
    padding-left: 30px;
    text-align: left;
}

@media (max-width:840px) {
    .modal .signUp-box .title {
        margin-bottom: 1rem;
    }

    .modal .signUp-box .text {
        margin-bottom: 1rem;
    }
}

.e-announcement {
    margin: 20px 0 0;
    padding: 0 15px;
    font-size: 1.7rem;
    font-weight: bold;
    color: #ff0000;
}

.e-announcement a {
    text-decoration: underline;
    color: #ff0000;
}