.sp-page-title:before {
    background: rgba(0,0,0,0.5);
}


/*.welcome-text, .yih-carousel .sppb-carousel-pro-text {*/
    /*background-color: rgba(140, 198, 66, 0.78);*/
    /*color: #fffdfd;*/
    /*padding: 15px;*/
/*}*/

table.category tbody >tr td {
    vertical-align: middle;
}


/*最新消息模組的padding*/
.itemid-812 #sp-main-body, .itemid-734 #sp-main-body {
    padding: 5px 0;
}
.itemid-812 #sp-gallery, .itemid-734 #sp-gallery {
    padding:40px;
}

/*調整footer文字的位置*/
#sp-footer .sp-copyright {
    text-align: left;
}


/*logo mobile*/

@media screen and (max-width: 767px) and (min-width: 320px) {
    #sp-header #sp-logo .logo .sp-scroll-logo {
        width: 40%;
    }
}

@media only screen and (max-width: 767px) and (min-width: 320px) {
    .sticky-wrapper.is-sticky #sp-header #sp-logo .logo .sp-retinascroll-logo {
        width:40%;
    }

}

.sp-contact-phone {
    white-space: nowrap;
}


/*聯絡資訊修正位置*/
#sp-top1 {
    left: 36px;
}

.input-mini {
    width:78px;
}



/*首頁大圖輪播樣式設定*/

/*.yih-carousel .sppb-item.sppb-item-has-bg {*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*align-content: flex-end;*/
    /*overflow: hidden;*/
/*}*/


.mod-languages .lang-active {
    border-bottom: 1px solid #e5e5e5 !important;

}

.mod-languages a {
    color: #f7fbff !important;
}


/*for 首頁大圖文字手機版*/

@media screen and (max-width: 767px) and (min-width: 320px) {
    .yih-carousel h2 {
        font-size: 15px;
    }

    .yih-carousel p {
        font-size: 11px;
    }

}


.sp-megamenu-parent >li >a {
    font-size: 16px;
}


/*關閉手機版的logo動畫*/

#sp-header #sp-logo .logo img {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}


/*搜尋列樣式調整*/
.yih-search {
    position: relative;
    top: 4px;
    right:50px;
}

.yih-search .button {
    width:30px;
    display: inline-block;
    position: relative;
    top: 10px;
    right: 5px;
}

.yih-search form {
    white-space: nowrap;
}

.yih-search #mod-search-searchword {
    display: inline-block;
}


.yih-search input[type="text"] {
    border-color: #00000044;
}


/*客製化月曆*/

@media (min-width: 1024px) {

    .yih-raw .sppb-addon-content{
        overflow: hidden;
        position: relative;
        width: 640px;
        height: 480px;
    }

    #ntucalendar {
        transform: scale(0.94);
        left: -67px;
        position: absolute;
        top: -52px;
    }
}

@media (max-width: 1024px) {
    #ntucalendar {
        transform: initial;
        left: initial;
        position: initial;
        top: initial;
        width:100%;
    }
}



/*調整選單位置*/

#sp-header .sp-megamenu-parent {
    left: 10px;
    position: relative;
}



/*最新公告模塊加入box-shadow效果*/

#sp-left .sp-module.announce {
    box-shadow: 5px 5px 5px #ccc5;
}



/*行政團隊人名調整*/

.sppb-person-designation {
    font-size: 24px !important;
    font-weight: bold;
}

.sppb-person-name {
    font-size: 16px !important;
}


.dean .sppb-person-designation {
    font-size: 29px !important;
}

.dean .sppb-person-name {
    font-size: 20px !important;
}


.ntu-team .sppb-person-information{
    margin-top: 65px !important;
}


/*手機版對調順序*/

@media only screen and (max-width: 767px) {
.leaders .sppb-row {
    display: flex !important; flex-direction: column !important;
}

.leaders .sppb-row .sppb-col-sm-4:nth-child(1) { order: 2; }
.leaders .sppb-row .sppb-col-sm-4:nth-child(2) { order: 1; }
.leaders .sppb-row .sppb-col-sm-4:nth-child(3) { order: 3; }

}


/*左右導覽列顏色*/

article.item.item-page .pager.pagenav li a {

    background: rgba(139, 0, 13, 0.57) !important;
}


/*logo位置*/
#sp-logo {
    top:5px;
}

@media (max-width:767px) {

    #sp-logo {
        top:10px;
    }
}



/*調整logo大小*/

@media only screen {
    #sp-header #sp-logo .logo  {
        zoom: 0.7;
    }
    .sticky-wrapper.is-sticky #sp-header #sp-logo .logo {
        zoom: 0.7;
    }
}

.latestnewsa .row {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #e8e8e8;
}

#sp-footer1 a
{
    font-family: sans-serif;
    color: rgba(57, 90, 88, 0.8);
}




.helix-social-share-icon .google-plus, .helix-social-share-icon .linkedin {
    display: none;
}


.sp-megamenu-parent >li >a {
    padding: 0 16px;
}

.sp-megamenu-parent >li >a:after {
    border-radius: 5% 5% 50% 50%;
}

html:lang(en-gb) .sp-megamenu-wrapper .sp-menu-item a {
    font-size: 14px;
    padding: 0 11px;

}

html:lang(en-gb) #mod-search-searchword {
    width:133px;
}

html:lang(en-gb) #sp-logo {
    left: -10px;
}


html:lang(en-gb) #sp-header #sp-logo .logo img {
    max-width: 115%;
}


@media only screen and (max-width: 1199px) and (min-width: 992px) {

    html:lang(en-gb) .sp-megamenu-wrapper .sp-menu-item a  {
        padding: 0 7px;
    }

}


#mod-search-searchword {
    border-radius: 26px !important;
    zoom:0.8;
}


/*首頁slider加padding*/

.sppb-carousel-inner .sppb-item.sppb-item-has-bg {
    padding:66px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width: 767px) {
    .sppb-carousel-inner .sppb-item.sppb-item-has-bg {
        padding:0px;
    }
}


/*文章斷行*/


#sp-component article.item li span span {
    /*display: block;*/
    /*word-break: break-word;*/
    white-space: pre-wrap;
}


@media (max-width: 767px) {
    table.responsive tr > td:nth-child(1) {
        width: 100% !important;
    }

    table.responsive td {
        display: block;
    }

    table.responsive td img {
        /*width: 100%;*/
        max-width: unset;
    }

}


/*ex-header */
#sp-extra-header .container {
    width: 100%;
    padding: 0;
}


/*latest news*/

.latestnews div.row span {
    display: none;
}

.latestnews {
    padding:14px;
}

.latestnews .intro-image {
    padding: 0;
    margin-top: 12px;
}

/*group photo*/
@media (max-width: 768px) {
    .group-photo div.st-layer-slider {
        height:200px !important;
    }
}

#sp-left .sppb-col-sm-4 {
    box-shadow: 0 0 5px #BBB;
    margin-top: 15px;
}

#sp-left .sppb-col-sm-8 {
    /*box-shadow: 0 0 5px #BBB;*/
    margin-top: 15px;
}


#sp-left .sppb-col-sm-8 .home-left {
    /*box-shadow: 0 0 5px #BBB;*/
    padding-left:30px;
}


.home-right h3 {
    background: #555;
    padding: 10px;
    color: white;
}

