/* CSS Document */

/*          Custom
/* ------------------------------------------ */
@media print {
  a[href]:after {
    content: none !important;
  }
}

.input_long {
    width: 500px;
}

.exam ul {
    border-bottom: 1px dotted #999999;
    margin: 5px 0;
    padding-bottom: 5px;
    padding-left: 0px;
}

.exam li {
    list-style: none;
    margin: 5px 0 15px 0;
}

.btn-exam {
    display: inline;
    padding: 0px 4px 2px 4px;
    font-size: 13px;
    vertical-align: middle;
    border-radius: 4px;
}

#tabpanel {
    margin-top: 20px;
    padding: 30px;

}

.header-content {
    background-color: rgba(255, 255, 255, 0.91);
    margin-bottom: 20px;

}


/*@media (max-width: 768px) {
    #tabpanel {
    margin-top: 130px;
    }
} nav fix cancel*/

.grid-2columns {
    display: grid;
    grid-template-columns:  50% 50%;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.grid-3-7columns {
    display: grid;
    grid-template-columns:  30% 70%;
    grid-column-gap: 20px;
    grid-row-gap: 10px;
}

.grid-newmedia-columns {
    display: grid;
    grid-template-columns:  repeat(6, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 10px;
}

.grid-publication-columns {
    display: grid;
    grid-template-columns:  repeat(5, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.grid-topmedia-columns {
    display: grid;
    grid-template-columns:  repeat(5, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

@media (max-width: 992px) {
    .grid-newmedia-columns, .grid-publication-columns, .grid-topmedia-columns {
    grid-template-columns:  repeat(4, 1fr);
    }
}

.quicklink-grid-columns {
    display: grid;
    grid-template-columns:  100%;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding-top: 10px;
}

@media (max-width: 1199px) {
    .quicklink-grid-columns {
    margin-top: 30px;
    }
}

.highlight {
    background: rgb(85, 128, 164, 0.15);
    border: 1px solid rgb(85, 128, 164);
    margin: 10px auto 15px auto;
    padding: 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.highlight p {
    margin: 0.5em;
}

.content-block {
    display: table;
    width: 100%;
    margin-bottom: 10px;
}

.quicklink {
    font-size: 20px;
    text-align: center;
    padding: 17px 3px;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    background-color: #94142d;
}

.quicklink a, .quicklink a:hover {
    color: #fff;
}

.quicklink a:focus {
    color: #fff;
}

.realtime {
    display: inline-block;
    vertical-align: top;
    padding-bottom: 30px;
}

.ntnulibfamily {
    font-size: 16px;
    padding-bottom: 10px;
}

.ntnulibfamily .fab, .ntnulibfamily .fas, .ntnulibfamily .fa {
    color: #94142d;
}

.realtime .fa, .realtime .fas {
    font-size: 80px;
    color: #94142d;
    margin-right: 10px;
    min-width: 80px;
    min-height: 100px;
}

.fab.social-logo {
    font-weight: 400;
    font-size: 16px;
}

.no-gutters {
  padding-right: 0;
  padding-left: 0;
}

.login {
    padding: 20px 20px 0 40px;
    margin-bottom: 30px;
}

.login ul li {
    margin: 7px 0 13px 0;
    list-style: none;
}

.block {
    padding-right: 20px;
}

@media (max-width: 991px) {
    .block {
    padding-right: 0px;
    }
}

.alignR {
    text-align: right;
}

.alignC {
    text-align: center;
}

.login_block {
    border: 1px solid #c8c5c5;
    padding: 30px 50px 20px 50px;
    background-color: #eee;
    max-width: 500px;
    margin: auto;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    font-size: 14px;
}

.contact ol {
    padding-left: 18px;
    margin-bottom: 0;
}

.contact_e ol {
    padding-left: 18px;
    margin-bottom: 0;
}

.contact_e, .contact_e li {
    font-size: 14px;
}

.contact-name {
    width: 70px;
}

.contact-title {
    width: 55px;
}

.contact-tel {
    width: 60px;
}

.contact th, .contact td {
    padding: 5px 7px;
}

.openinghours-floor {
    width: 60%;
}

.rss i {
    font-size: 30px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #fff;
    background-color: #94142d;
    box-shadow: 1px 1px 2px 1px #7d7c7c;
    margin-bottom: 10px;
    margin-top: 10px;
}

.bold {
    font-weight: 600;
}

.rules ul > li {
    list-style: none;

}

em {
    font-style: normal;
}

img {
    max-width: 100%;
}


.img-content {
    max-height:200px;
    display: inline-block;
    margin-bottom: 4px
}

.page-header {
    margin: 0;
    min-height: 50px;
    padding: 20px 0;
    position: relative;
    text-align: left;
    border: 0;
}

.page-header .breadcrumb {
    background: 0 0;
    margin: -3px 0 0;
    padding: 0;
}

.page-header h1 {
    display: inline-block;
    font-weight: 600;
    margin: 20px 0 -25px;
    font-size: 36px;
    padding: 0 0 17px;
}

/*  newbook */
.newbook p {
    text-align: center;
}
/*  profile */

.profile h3 {
    background-color: #94142d;
    color: #fff;
    padding-left: 10px;
}

.profile a {
    color: #5e5e5e;
}

.profile {
    margin-top: 40px;
}

/*  catalog */

.catalogsearch table {
    width: 100%;
}

.catalogsearch td {
  border: 0px;
}

.catalogsearch option {
  background-color: #fff;
}

.catalogsearch table tr:hover td {
    background-color: #eee;
}

.catalogsearch select {
    margin-bottom: 15px;
}

.catalogsearch input {
    margin-bottom: 15px;
}

.catalogsearch {
    border: 1px solid #c8c5c5;
    padding: 30px 30px 20px 30px;
    background-color: #eee;
    max-width: 700px;
    margin: auto;
}


.jumppage a:hover {
    color: #FFFFFF;
    text-decoration: none;
    background-color: #94142d;
}

.jumppage a {
  color: #94142d;
/*  background-color: #94142d;*/
  margin: 5px;
  padding: 5px;
  /*border: 1px solid #4c060a;*/
}

.jumppage {
    margin-bottom: 20px;
}

.options {
    text-align: center;
    padding: 15px;
    background-color: #eee;
}

.options a {
  color: #94142d;
/*  background-color: #94142d;*/
  margin: 5px;
  padding: 5px;
  /*border: 1px solid #4c060a;*/
}

div.options a:hover {
  background: #94142d;
  color: #FFFFFF;
  text-decoration: none;
}


.re-search, .adv-search {
  background: #eee;
  border: 1px solid #c8c5c5;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.re-search p {
    text-align: center;
}

.re-search input {
    margin-top: 5px;
}

td.td_divider {
  border-bottom: 1px solid #666666 !important;
}

.booksList {
    width: 100%;
/*    text-align: justify;
    text-justify: distribute;*/
}

.booksList td {
    border: 0;
    /*min-width: 100px;*/
}

#simple {
    color: inherit;
}

.search_result a {
    color: #5e5e5e;
}

.search_result {
    width: 100%;
}

.qrcode {
    width: 20%;
}

.collection_info {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
    margin-top: 50px;
}

.no_border_bottom {
    border-bottom: none;
}

.rating img {
    max-width: none;
}

/*  multimedia */

.newmovie {
    padding-right: 20px;
    margin-bottom: 10px;
}

.newmovie p {
    font-size: 15px;
    margin-bottom: 5px;
}

.topbanner {
    padding: 3px;
    background-color: #94142d;
    color: #fff;
}
/*  sitemap */

@media (max-width:1200px) {
    .display_none_1200px {
        display: none;
    }
}

@media (max-width:1200px) {
    .clearfix_1200px::before, .clearfix_1200px::after{
  content: " ";
  display: table;
}

.clearfix_1200px::after{
  clear: both;
}
}

@media (max-width:768px) {
    .display_space {
        display: none;
    }
}

@media (min-width:992px) {
    .display {
        display: none;
    }
}

.sitemap ul {
    padding-left: 20px;
}
/*  GO TO TOP */

#scrollToTop {
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-indent: -99999em;
    display: none;
    cursor: pointer;
    z-index: 2;
    background: #92242A url(../images/go-to-top.png) center center no-repeat;
}
#scrollToTop:hover {
    text-decoration: none;
    background-color: #CA757A;
}

/*  slide */

#bscarousel {
    max-height: 300px;
    max-width: 360px;
    margin: auto;
  }

@media (max-width: 1200px) {
    #bscarousel {
        max-height: 720px;
        max-width: 720px;
        margin-bottom: 10px;
    }
}

.carousel-control.right, .carousel-control.left {
    background-image: none;
}

.clearfix::before, .clearfix::after{
  content: " ";
  display: table;
}

.clearfix::after{
  clear: both;
}

/*  exhibit */

.exhibit_info {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}
.exhibit_info img {
    border: 1px solid #333333;
}

.exhibit_info ul {
    list-style: none;
    margin: 0 0 0 10px;
    padding: 0;
}


/*  table */

table {
    width: 100%;
    margin-bottom: 20px;
}

.width100 table {
    width: 100%;
}

.width70 table {
    width: 80%;
}

.width100 {
    width: 100%;
}

.width70 {
    width: 70%;
}


@media (max-width: 992px) {
    table {
        width: 100%;
    }
}

td, th {
    padding: 10px 10px;
    border-bottom: 0.3px solid #cecece;
}

th {
    background-color: #94142d;
    color: #fff;
}

.w25 {
    width: 25%;
}

.w20 {
    width: 20%;
}

.w15 {
    width: 15%;
}

.w10 {
    width: 10%;
}

.w75 {
    width: 75%;
}

.w75 {
    width: 70%;
}

@media (max-width: 767px) {
    td.timebreak {
        word-break: break-all;
        font-size: 12px;
        min-width: 30px;
    }
}

/*table tr:hover td {
    background-color: #E8E8E8;
}*/

.application table {
    width: 100%;
}

.application td {
    background-color: #FFF7F7;
    padding: 10px 20px;
}

.application th {
    text-align: center;
    max-width: 150px;
}

.application td, th {
    border-bottom: 1px solid #fff;
}

.application td input[type="password"] {
    margin-top: 5px;
}

/*.application tr:hover td {
    background-color: #FFF7F7;
}*/

.orcid th {
    width: 20%;
}

.orcid input[type="button"] {
    color: #5e5e5e;
}

td.app_submit {
    text-align: center;
    background-color: unset !important;
}

textarea#comment {
    display: block;
    overflow: hidden;
    overflow-y: hidden;
    resize: none;
    width: 100%;
    height: 100px;
}

.librarian-td {
    width: 40%;
}

.wordbreak {
    word-break: break-all;
}

@media (max-width: 992px) {
    .librarian-td {
        width: 30%;
    }
}

/* press */

.publication {
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.04);
}

/* fastbook */

.fastbook a, .fastbook a:hover, .fastbook a:focus {
    color: #fff;
}


/* 01 - General Styles & Typography
/* ------------------------------------------ */

body,
html {
    /*height: 100%;*/
    font-family: 'Microsoft JhengHei', sans-serif;
    color: #5e5e5e;
    /*margin-top: 25px; nav fix cancel*/
    scroll-behavior: smooth;
    font-size: 16px;
}

/*@media (min-width: 768px) {  //header與nav的距離//
    body {
        margin-top: 65px;
    }
}*/


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Microsoft JhengHei', sans-serif;
    margin-top: 0px;
    font-weight: 600;
}

h1,
h2 {
    color: #94142d;
}

h3,
h4,
h5,
h6 {
    color: #333;
}

h1 {
    font-size: 24px;
    line-height: 55px;
}

h2 {
    font-size: 20px;
    line-height: 40px;
}

h3 {
    font-size: 18px;
    line-height: 30px;
}

h4 {
    font-size: 17px;
    line-height: 14px;
}

h5 {
    font-size: 16px;
    line-height: 12px;
}

h6 {
    font-size: 14px;
    line-height: 10px;
}

p {
    font-size: 16px;
    line-height: 30px;
    font-family: 'Microsoft JhengHei', sans-serif;
    color: #5e5e5e;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: justify;
    text-justify: distribute;
}

.page-section li {
    text-align: justify;
    text-justify: distribute;
}

.nav-list li  {
    text-align: left;
}

blockquote {
    font-style: italic;
    font-weight: normal;
    font-size: 15px;
    line-height: 25px;
    color: #7a7c82;
}

span {
    color: #94142d;
    font-weight: 600;
}

a {
    color: rgb(47, 86, 134);
}

a:hover,
a:focus {
    color: #5580a4;
    text-decoration: none;
    outline: none
}

.page-section a[href^="http"]:not([href*="lib.ntnu"]) {
    background: url(../images/ex_link.gif) right 60% no-repeat;
    padding-right: 11px;
    margin-right: 2px;
}

.sitemap a[href^="http"]:not([href*="lib.ntnu"]),
.ntnulibfamily a[href^="http"]:not([href*="lib.ntnu"]),
.carousel-inner a[href^="http"]:not([href*="lib.ntnu"]) {
    background: none;
    padding-right: 0px;
    margin-right: 0px;
}

li {
    line-height: 33px;
    font-size: 16px;
}

/* Titles */

.title-section {
    font-size: 42px;
}

.title-regular {
    font-weight: 500;
    color: #333;
}

.title-underline {
    height: 3px;
    width: 70px;
    background-color: #94142d;
    margin-top: 5px;
    margin-bottom: 30px;
    margin-left: 0px;
}

.title-underline-center {
    height: 3px;
    width: 70px;
    background-color: #94142d;
    margin-top: 5px;
    margin-bottom: 30px;
}

.title-light {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}


/* Alternate Text-Styles */

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.text-right {
    text-align: right;
}


/* 02 -  (Bootstrap) Components
/* ------------------------------------------ */


/* Icons */

.social-icon {
    font-size: 24px;
    padding: 0 4px;
}



/* Buttons */

.btn-primary {
    background-color: #94142d;
    /*border-color: #94142d;*/
    color: #FFF;
    outline: none;
    border: 0;
}

.btn-context {
    font-size: 16px;
    padding: 4px 12px;
    margin-bottom: 3px;
}

.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    cursor: pointer;
    outline: none;
}

.btn-primary:hover {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    outline: none;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    outline: none;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.btn-primary:active.focus,
.btn-primary.active.focus {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    outline: none;
}

.btn-default {
    background-color: #94142d;
    border-color: #4c060a;
    color: #FFF;
    outline: none;
}

.btn-default:focus,
.btn-default.focus {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    cursor: pointer;
    outline: none;
}

.btn-default:hover {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    outline: none;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    outline: none;
}

.btn-default:active:hover,
.btn-default.active:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.btn-default:active.focus,
.btn-default.active.focus {
    color: #fff;
    background-color: #4c060a;
    border-color: #94142d;
    outline: none;
}

.button-news {
    margin: 5px 0;
    text-align: right;
}

.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
    padding: 3px 5px;
}

.btn-link {
    color: #94142d;
}


/* Nav Tabs */

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #94142d;
    color: #fff;
}

.tabs .nav-tabs li.active a {
    color: #fff;
}

.tab-pane {
    padding: 15px 0;
}


/* 03 - General Section Stylings
/* ------------------------------------------ */


.img-responsive {
    width: 100%;
    height: auto;
}

.divider {
    margin: 0;
    border-top: 1px solid #eee;
}

.divider2 {
    margin: 0 0 40px 0;
}

.page-section {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

/*.section-grey {
    background-color: #fff9f2;
    -webkit-box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.07);
    -moz-box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.07);
}*/

.index-bg1 {
    background: url(../images/index1.png) top right;
}

.index-bg2 {
    background: url(../images/index2.jpg) center;
}

.index-bg3 {
    background-color: rgba(242, 202, 151, 0.18);
}

.col-centered {
    display: inline-block;
    float: none;
    /* reset the text-align */
    text-align: left;
    /* inline-block space fix */
    margin-right: -4px;
}

.padding-0 {
    padding: 0;
}

.margin-0 {
    margin: 0;
}


@media (max-width: 991px) {
    .container-fluid,
    .row {
        margin: 0;
        padding: 0;
    }
}


/* 04 - Navbar-Header, Navigation, Logo
/* ------------------------------------------ */


/* Normalize  Navbar-Header */

.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border: none;
}


/* Logo (change width here) */

.logo {
    height: auto;
}


/* Navbar */

.navbar-nav > li {
    float: left;
}

.navbar {
    margin-bottom: 0;
    border: 0;
}

.dropdown-toggle  {
  transition: .2s; /* 動畫秒數 */
}


.navbar-header {
    background-color: #000;
}
.navbar-collapse{
    background-color: #000;
}


@media(min-width:768px) {
    .navbar {
        /*padding: 20px 0;*/
        -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
        transition: background .5s ease-in-out, padding .5s ease-in-out;
    }
    .top-nav-collapse {
        padding: 0;
    }
}

.navbar-nav {
    margin-top: 0;
    font-size: 16px;
}

.navbar-default {
    background-color: #4c060a;
    border-width: 0 0 1px;
    border-radius: 0;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: initial;
    color: #94142d;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #94142d;
}

.navbar-default .navbar-nav > li > a {
    color: #5e5e5e;
    /*font-size: 16px;*/
    font-weight: 600;
    color: #fff;
}

.navbar-right > li > a {
    padding-bottom: 0;
    font-size: 14px;
}

.navbar-right {
    margin-top: 10px;
}

@media (min-width: 992px) {
    .dropdown-menu > li > a,
    .menu-line > ul > li > a {
        color: #5e5e5e;
        background-color: initial;
    }

    .dropdown-menu > .active > a,
    .dropdown-menu > .active > a:hover,
    .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #94142d;
    }
    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        color: #fff;
        background-color: #94142d;
    }
    .dropdown-menu li a {
        width: 224px;
        padding: 7px 15px;
        font-size: 15px;
        font-weight: 600;
    }
    .dropdown-menu-next li a {
        width: 224px;
        padding: 7px 15px;
        font-size: 15px;
        font-weight: 600;
        display: block;
    }

    .menu-line > ul > li > a:hover,
    .menu-line > ul > li > a:focus {
        color: #fff;
        background-color: #94142d;
    }

    ul.nav li.dropdown:hover ul.dropdown-menu {
        display: block;
        margin-top: 0px
    }

    .bar-next > li {
        margin-right: 10px;
    }
}

.dropdown-header {
    font-weight: bold;
    padding: 8px 15px;
    font-size: 17px;
    color: #94142d;
}

.bar-next {
    position: relative;
    width: 100%;
}

.dropdown-menu-next {
    font-size: 14px;
    text-align: left;
    list-style: none;
    padding-left: 0;
}

.dropdown {
    position: static !important;
}

.dropdown-menu {
    width: 100%;
}
.menu-line {
    display: inline-table;
}

.menu-line li {
    line-height: 25px;
}

.bar-small { /*導覽列寬度調整*/
    position: relative !important;
}

.bar-small > ul {
    width: 225px;
}

@media (max-width: 991px) {
    .menu-line > ul > li > a {
        color: #777;
        line-height: 20px;
        padding: 5px 15px 5px 25px;
        display: block;
    }

    .menu-line > ul > li > a:hover, .menu-line > ul > li > a:focus {
        color: #333;
        background-color: transparent;
    }

    .menu-line {
        display: block;
    }

}



/* 06 - Page Layouts
/* ------------------------------------------ */

.sidebar-header {
    color: #94142d;
}

.sidebar .nav > li > a {
    color: #333;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    display: block;
    text-decoration: none;
    line-height: 20px;
}

.sidebar .caret-right {
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-left: 4px solid;
    display: inline-block;
    height: 0;
    vertical-align: middle;
    width: 0;
    margin-right: 5px;
}

.sidebar .widget {
    margin: 0 0 20px 0;
}



/* 08_02 - Intro
-------------------------------------------------- */



.intro label {
    font-size: 18px;
    margin: 0;
}

.intro label strong {
    font-size: 52px;
}


/* 08_13 - Footer Primary
-------------------------------------------------- */

footer {
    background-color: #222;
    padding: 60px 0;
}

footer p {
    color: #fff;
    font-size: 14px;
}

footer a {
    color: #fff;
}

footer ul {
    padding: 0;
}

.footer-logo {
    width: 70px;
    margin-bottom: 30px;
}

.footer-menu h4 {
    color: #fff;
    margin-bottom: 30px;
}

.footer-menu ul li {
    list-style: none;
    padding: 0 0 10px 0;
}

footer a:visited,
footer a:link,
footer a:active,
footer a:hover {
    text-decoration: none;
}

footer .col-md-3 {
    margin-bottom: 35px;
}
