a {
    text-decoration: none !important;
}

.section-block {
    /* width: 1020px; */
    max-width: 100%;
    display: inline-block;
}

.section-block .row {
    /* justify-content: center; */
}

@media (max-width: 960px) {
    .section-block {
        width: 650px;
    }
}

@media (max-width: 680px) {
    .section-block {
        width: 500px;
    }
}

#homepage{
    background: none;
}

#banner-top {
    background-image: url('/assets/images/events/events_banner.png');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    width: 100%;
    height: 280px;
    position: relative;
}

.banner-container {
    display: inline-block;
    position: absolute;
    top: 25%;
    left: 175px;
}

.banner-title {
    font-size: 40px;
    letter-spacing: 2px;
    color: #e37004;
}

.banner-sub-title {
    text-align: center;
    font-size: 28px;
    letter-spacing: 1px;
    color: #000000;
}

#desk {
    /* padding: 0 100px; */
    /* padding-bottom: 60px; */
}

.container-menu {
    flex: 0 0 400px;
    /* padding-right: 20px; */
    padding: 0 20px 20px 100px;
    background: #f6f8f8;
}

.container-list {
    flex: 0 0 calc(100% - 400px);
    /* background-color: blueviolet; */
    padding: 60px 100px 60px 30px;
    max-width: 80%;
}

.bread_crumbs {
    margin: 16px 0;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 600;
}

.bread_crumbs img {
    width: 20px;
}


.bread_crumbs a {
    color: #666666 !important;
    vertical-align: middle;
}

,
.bread_crumbs span {
    font-size: 17px;
    vertical-align: top;
    color: #666666 !important;
}

.l-menu {
    border-top: 10px solid #e37004;
    border-radius: 7px;
    min-height: 400px;
    padding: 10px 0;
    background: white;
    box-shadow: 0px 2px 9px 0px #06060661;
}

.menu-list {
    list-style: none;
    padding: 0 12px;
}

.menu-list>li {
    border-bottom: 1px solid #b1b1b1;
}

.menu-list>li>a {
    color: #979797 !important;
    font-weight: 600;
    display: inline-block;
    width: 100%;
    padding: 9px 24px;
    font-size: 17px;
}

.menu-list>li>a:hover {
    color: #992626 !important;
    transition: 0.8s;
}

.menu-list>li>a.active {
    color: #e37004 !important;
}

/*  */
.events-block {
    font-size: 17px;
    border-bottom: 1px solid #b1b1b1;
    padding-bottom: 10px;
}

.events-date {
    font-size: 19px;
    font-weight: 600;
    margin: 22px 0;
    color: #1ba8e2;
}

.events-block-href:first-child .events-date {
    margin-top: 0;
}

.events-date-text {
    vertical-align: text-top;
    margin-left: 3px;
}

.event-list-title {
    color: #e37004;
    font-weight: 600;
    font-size: 23px;
}

.event-brief {
    color: #979797;
    font-weight: 600;
    margin: 10px 0 15px;
    overflow:hidden;
    text-overflow:clip;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.event-bottom {
    display: inline-block;
    width: 100%;
}

.event-class {
    background-color: #e0efc2;
    color: #4d4d4d !important;
    padding: 5px 22px;
    border-radius: 14px;
    font-size: 16px;
    float: left;
    margin-left: 10px;
    border: 1px solid #e0efc2;
    min-width: 120px;
    text-align: center;
}


.event-class-tag{
    background-color: white;
    padding: 5px 22px;
    border-radius: 14px;
    font-size: 16px;
    float: left;
    margin-left: 10px;
    min-width: 120px;
    text-align: center;
}

.event-class-tag-1{
    color: #e37004 !important;
    border: 1px solid #e37004;
}

.event-class-tag-2,.event-class-tag-3{
    color: gray !important;
    border: 1px solid gray;
}

.event-class-tag-4{
    color: #cc5c5c !important;
    border: 1px solid #cc5c5c;
}

.event-class-tag-5{
    color: #1ba8e2 !important;
    border: 1px solid #1ba8e2;
}

.event-more {
    float: right;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 1px;
    margin-top: 2px;
    color: #666666;
}

.event-more:hover {
    color: #992626 !important;
    transition: 0.8s;
}

a:hover {
    color: #992626 !important;
    transition: 0.8s;
}

.event-more img {
    width: 11px;
}


.event-more span {
    vertical-align: middle;
}

/* 頁數 */
.pagination-div {
    /* padding: 12px 0 4px; */
    float: left;
    width: 100%;
    margin:50px 5px;
}

/*  */
.page-container {
    font-size: 17px;
}

.events-date {
    font-size: 19px;
    font-weight: 600;
    margin: 22px 0;
    color: #1ba8e2;
}

.events-block-href:first-child .events-date {
    margin-top: 0;
}

.events-date-text {
    vertical-align: text-top;
    margin-left: 3px;
}

.title-line {
    display: inline-block;
    width: 100%;
    border-top: 2px solid #d7d7d7;
}

.event-title{
    border-left: 5px solid #e37004;
    padding: 3px 0 3px 12px;
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0;
}

/*  */
.event-main-title {
    font-size: 34px;
    font-weight: 600;
    margin: 20px 0 35px;
}

.event-info-contain {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    border-bottom: 1px solid #e1e0e0;
    margin-top: 10px;
    font-size: 18px;
}

.event-info-title {
    flex: 0 0 160px;
    background-color: #f4f4f4;
    padding: 7px 16px 3px;
    font-weight: 600;
    border-right: 3px solid #1ba8e2;
}

.event-info-contain:nth-child(even) .event-info-title {
    border-right: 3px solid #92d2ec;
}

.event-info-text {
    flex: 0 0 calc(100% - 160px);
    font-weight: 500;
    padding: 7px 16px 3px;
}

.events-file{
    border: 1px solid #8dd3f0;
    padding: 20px 25px;
    display: flex;
    border-radius: 15px;
    margin-top: 30px;
    font-size: 18px;
}

.events-file-text{
    color: #999999;
    flex: 0 0 130px;
}

.events-file-list{
    flex: 0 0 calc(100% - 130px);
}

.events-file-list ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.events-file-list ul li{
    margin-bottom: 10px;
}

.events-file-list ul li:last-child{
    margin-bottom: 0;
}

.events-file-list a{
    color: #1ba8e2;
    font-weight: 500;
}

.events-sign-search{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

.events-sign-input{
    flex:0 0 calc(100% - 150px);
}

.events-sign-input input{
    width: 95%;
    padding: 21px 15px;
    margin: 0;
}

.events-sign-button{
    flex:0 0 150px;
}

.events-sign-button button{
    background: white;
    padding: 9px 15px;
    border: 1px solid #e37004 !important;
    color: #e37004;
    width: 100%;
    outline:none;
    transition: 0.3s;
}

.events-sign-button button:hover{
    background: #e37004;
    color: white !important;
}

.events-sign-list{
    margin-top: 70px;
}

.events-sign-list-th{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #cccccc;
    font-weight: 600;
}

.events-sign-list-td{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    color: #333333;
    font-size: 18px;
}

.events-sign-list .events-sign-list-td:nth-child(odd){
    background: #f4f4f4;
}

.events-sign-list-th div,.events-sign-list-td div{
    flex:0 0 28%;
    padding: 0 8px 0 15px;
}

.events-sign-list-th div:last-child,.events-sign-list-td div:last-child{
    flex:0 0 16%;
}

.sign-success{
    color: #e57a15;
}

.events-sign-list table{
    width: 100%;
}

.events-sign-list thead{
    border-bottom: 1px solid #cccccc;
    font-weight: 600;
}

.events-sign-list td{
    padding: 5px 10px;
}

.events-sign-list thead td{
    padding-bottom: 12px;
}

.events-sign-list tbody tr:first-child td{
    padding-top: 20px;
}
.events-sign-list tbody tr:nth-child(even) td{
    background: #f4f4f4;
}

/*  */

.events-sign-box{
    display: flex;flex-wrap: wrap;flex-direction: row;justify-content: flex-start;
}

.events-sign-contain{
    flex:0 0 100%;
}

.form-group,.form-group label{
    text-align: left;
    font-size: 18px !important;
    width: 100%;
    font-weight: 600;
}

.form-group input{
    text-align: left;
    font-size: 18px !important;
    margin: 3px 0 0;
}

.red{
    color: red;
}

.btn-sign-select {
    width: 100%;
    background: #ececec;
    border: 1px solid #999999;
    font-size: 18px;
    padding: 7px .75rem;
}

.events-sign-contain .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

.events-sign-contain-button{
    background: white;
    padding: 9px 15px;
    border: 1px solid #e37004 !important;
    color: #e37004 !important;
    width: 100%;
    outline:none;
    font-size: 18px;
    transition: 0.3s;
}

.events-sign-contain-button:hover{
    background: #e37004;
    color: white !important;
}

.events-signd-contain-button{
    background: gray;
    padding: 9px 15px;
    border: 1px solid gray !important;
    color: white !important;
    width: 100%;
    outline:none;
    font-size: 18px;
    cursor: not-allowed !important;
}

.sharethis-inline-share-buttons{
    float: right;
    margin: 15px 0 0;
}

.bootstrap-select .dropdown-item:focus, .dropdown-item:hover {
    color: black !important;
    text-decoration: none;
    background-color: gray;
}

.event-end{
    margin-top: 30px;
    color: #fa6262;
    font-size: 25px;
    font-weight: 700;
}

.event-sign-no{
    margin-top: 30px;
    color: #fa6262;
    font-size: 25px;
    font-weight: 700;
}

.events-user-label,.events-label{
    width: 100%;
    background: #f4f4f4;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 12px;
    margin: 0 0 20px;
    font-weight: 600;
    border: 1px solid #f4f4f4;
}

.events-user-label.actived,.events-label.actived{
    border: 1px solid #7b7b7b;
}

.events-user-label span:last-child{
    color:#a0a0a0;
    font-size: 15px;
}

.events-label{
    margin: 0 0 20px;
}

.events-user-label img{
    width: 18px;
    vertical-align:baseline;
    margin-right: 6px;
}

.events-label img{
    width: 18px;
    vertical-align: text-top;
    margin-right: 6px;
}

.events-user-label input,.events-label input{
    margin-right: 5px;
}

.active-block-user{
    margin-bottom: 20px;
}

.active-block-user,.active-block-common{
    display: none;
}



#sign-page .container-list {
    padding: 20px 100px 60px 30px;
}


@media only screen and (max-width: 1200px){
    .container-list {
        flex: 0 0 calc(100% - 400px);
        padding: 60px 30px 60px 30px;
        max-width: none;
    }

    .section-block{
        width: 100%;
    }
}

@media only screen and (max-width: 993px){
    .container-menu{
        flex: 0 0 260px;
        /* padding-right: 20px; */
        padding: 0 20px 20px 20px;
    }

    .container-list {
        flex: 0 0 calc(100% - 260px);
    }

    #sign-page .container-list {
        padding: 20px 30px 60px 30px;
    }
}

@media only screen and (max-width: 736px){
    .container-menu{
        display: none;
    }
    .container-list {
        flex: 0 0 100%;
        max-width: none;
        padding: 60px 30px 60px 30px;
    }

    .banner-container{
        display: none;
    }

    #banner-top{
        height: 180px
    }
}


@media only screen and (max-width: 500px){
    .event-info-title {
        flex: 0 0 100%;
        padding: 7px 12px 3px;
    }

    .event-info-text {
        flex: 0 0 100%;
        padding: 7px 12px 3px;
    }
}
@media only screen and (max-width: 420px){
    .container-list {
        padding: 20px;
    }

    .events-date {
        font-size: 17px;
        margin: 18px 0;
    }

    .event-list-title{
        font-size: 20px;
    }

    .event-more{
        text-align: center;
        display: inline-block;
        width: 100%;
        float: none;
        margin-top: 10px;
    }
    .event-main-title {
        font-size: 28px;
        margin: 15px 0 25px;
    }

    .event-info-contain {
        font-size: 16px;
    }


    .events-file{
        flex-wrap: wrap;
        font-size: 16px;
    }

    .events-file-text {
        flex: 0 0 100%;
    }

    .events-file-list{
        flex: 0 0 100%;
    }

    .events-file-list a {
        margin-bottom: 5px;
    }

    .events-user-label span:last-child {
        width: 100%;
        display: inline-block;
    }

    #sign-page .events-user-label span:last-child {
        display: none;
    }

    .events-sign-input {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .events-sign-input input{
        width: 100%;
    }

    .events-sign-button {
        flex: 0 0 100%;
    }

    .events-sign-list-th div, .events-sign-list-td div {
        padding: 2px;
        flex: 0 0 36%;
    }

    .events-sign-list-th div:last-child, .events-sign-list-td div:last-child {
        flex: 0 0 28%;
    }

    .events-sign-list-hidden{
        display: none;
    }

    .event-class,.event-class-tag{
        width: 100%;
        display: inline-block;
        margin-top: 15px;
    }

}

.mobile-l-menu{
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    background: white;
    z-index: 1000;
    text-align: center;
    display: none;
    overflow-x: auto;
}

.mobile-l-menu .banner-title {
    font-size: 33px;
    margin-top: 40px;
}

.mobile-l-menu .banner-sub-title {
    font-size: 21px;
    margin-top: -5px;
    margin-bottom: 10px;
}


.mobile-l-menu .menu-list>li:first-child {
    border-top: 1px solid #b1b1b1;
}

.mobile-l-menu .menu-list>li>a {
    display: inline-block;
    width: 100%;
    padding: 19px 24px;
    font-size: 18px;
}

.close-menu{
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 26px;
    color: gray;
    cursor: pointer;
}
