.main {
    width: 100%;
    margin: 0 auto;
    display: inline-block;
    position: relative;
}

section.tp-banner {
    height: 100%;
    padding-top: 45px;
    background: linear-gradient(to bottom, #E76F8B, #FCD0F1);
}

.form-control {
    font-size: 1rem !important;
    border-radius: 4px !important;
    border: none !important;
}

span.input-group-text {
    position: absolute;
    top: 6px;
    right: 14px;
}

#carouselExampleControls {
    position: relative;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 1%
}

.carousel-control-next {
    right: 1%;
}

#carouselExampleControls .carousel-control-prev {
    left: -60px;
}
#carouselExampleControls .carousel-control-next {
    right: -60px;
}

#carouselExampleControls:hover .carousel-control-prev,
#carouselExampleControls:focus .carousel-control-prev {
    left: 20px;
}

#carouselExampleControls:hover .carousel-control-next {
    right: 20px;
}

#modalCarousel .carousel-control-prev {
    opacity: 0;
}
#modalCarousel .carousel-control-next {
    opacity: 0;
}

#modalCarousel:hover .carousel-control-prev,
#modalCarousel:focus .carousel-control-prev {
    opacity: 1;
}

#modalCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev::before,
.carousel-control-next::before {
    font-family: "FontAwesome";
    font-weight: 100;
    color: #fff;
    font-size: 1.2em;
    line-height: 1;
}

.carousel-control-prev::before {
    content: "\f104";
}

.carousel-control-next::before {
    content: "\f105";
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.carousel-item img {
    height: auto;
}

.carousel-item ul li {
    margin-bottom: 0.5em;
}

.carousel-caption-custom {
    bottom: 10px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    font-size: 1.1rem;
    padding: 0 10px;
}

section.content-wrapper {
    background-color: #F0F0E6;
    padding-top: 1em;
    padding-bottom: 1em;
}

section.content-wrapper .container {
    display: flex;
}

section .left {
    width: 290px;
}

section .right {
    flex: 1;
    margin-left: 1em;
}

.login {
    background: #e97794 url(../../img/login_bg.png) no-repeat 15px 15px;
    overflow: hidden;
    padding-bottom: 1em;
}

.login_title {
    color: #fff;
    font-weight: bold;
    padding: 35px 0px 35px 110px;
    font-size: 1.3em;
}

.control-group {
    padding: 0 1em;
}

.controls {
    clear: both;
    padding-bottom: 0.6em !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controls-label,
.controls-label a{
    color: #fff;
    white-space: nowrap;
}

#loginButton {
    color: #fff;
    border: 1px #FFF solid;
}

#loginButton:hover {
    color: #EC6373;
    background: #FFF;
}

.login_type {
    background: #FFD0E3 !important;
    color: #d75777 !important;
}

.ePaper_type {
    border: 1px solid #F0ECED !important;
    background: #FCF8F9;
}

.bg_w {
    background-color: #fff;
    margin-top: 1em;
    overflow: hidden;
}

.headline {
    font-size: 1.3em;
    font-weight: bold;
    font-family: "Raleway","微軟正黑體";
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    background: #e97794;
    text-align: center;
    line-height: 1.5;
    margin-top: .7em;
    margin-bottom: .7em;
}

.QA .headline {
    width: 280px
}

.blk_line {
    margin: 0;
    border-top: 1px solid #808080;
}

.services-box {
    text-align: center;
    position: relative;
}

.services-box .inner {

}

.services-box .inner:hover > .front{
    z-index: -1;
}

.services-box-animated .front {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    border: 1px solid #eceef0;
    border-radius: 2px;
    padding: 10px 20px;
    background-color: #FFF;
}

.services-box-animated .back {
    position: absolute;
    height: 100%;
    width: 100%;
    color: #FFF;
    background-color: #e97794;
    z-index: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px #FFF solid;
}

h5 {
    font-size: 1em;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
}

.showbiz-navigation {
    float: right;
    margin-bottom: 0.4em;
    display: inline-flex;
    gap: 3px;
}

.sb-navigation-left, .sb-navigation-right {
    width: 25px;
    height: 25px;
    cursor: pointer;
    float: left;
    border-radius: 2px;
    border: 1px solid #d7dce1;
    background-color: #FFF;
    color: #d7dce1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-angle-left:before {
    content: "\f104";
}

.icon-angle-right:before {
    content: "\f105";
}

.btn-subscribe {
    color: #fff !important;
    background: #a0a5aa !important;
    border: unset;
    white-space: nowrap;
    margin-left: 0.2em;
}

.btn-subscribe:hover,
.showbiz-navigation button:hover {
    background-color: #e97794 !important;
    color: #FFF;
}

.epaper_content,
.links_content {
    margin: 10px;
}

.links img {
    width: 100%;
}

.flip_box {
    padding: 0;
    margin: 1em;
    gap: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.nav-link.active {
    font-weight: bold;
    background: #fff!important;
    color: #D72854 !important;
}

.nav-link {
    width: 200px;
    font-size: 1.1em;
    padding: 12px 20px;
    background: #FFEAF2;
    color: #000 !important;
    border-left: 1px solid #ddd !important;
    border-right: 2px solid #EA9FB0 !important;
    border-top: 3px solid #EA9FB0 !important;
}

.tab-content {
    background: #fff;
    overflow: hidden;
    margin-top: -1px;
    border: 1px solid #ddd;
    padding: 0 2em;
}

.know {
    padding: 1em;
}

.know li {
    letter-spacing: 1px;
    border: 1px solid #eeeeee;
    padding: 0.5em;
    margin-bottom: 1em;
    transition: all 0.2s ease-in-out;
}

.know .line {
    text-decoration: none;
    color: #000;
    font-size: 0.9em;
    transition: all 0.2s ease-in-out;
}

.know .line:hover li {
    background: #e97794;
}

.know .line:hover {
    color: #fff;
}

.login-err {
    border-radius: 4px;
    border: 2px solid white;
    background-color: white;
    color: #ff0000;
    padding: 5px;
    width: 100%;
}

.login-err:before {
    font-family: "FontAwesome";
    content: "\f057  ";
}

@media screen and (max-width: 992px) {
    section.tp-banner {
        padding-top: 5px;
    }

    section.content-wrapper .container {
        flex-direction: column;
    }

    section .left {
        width: 100%;
    }

    section .right {
        margin-left: 0;
        margin-top: 1em;
    }

    .QA .headline {
        width: 100%;
    }

    .nav-link {
        width: auto;
    }
}