/* CSS Document */


/* 01 - General Styles & Typography
/* ------------------------------------------ */

body,
html {
    /*height: 100%;*/
    font-family: 'Microsoft JhengHei', sans-serif;
    color: #565656;
    margin-top: 25px;
    scroll-behavior: smooth;
    font-size: 16px;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0px;
    font-weight: 600;
}

h1,
h2 {
    color: #073e6d;
}

h3,
h4,
h5,
h6 {
    color: #333;
}

h1 {
    font-size: 24px;
    line-height: 55px;
}

h2 {
    font-size: 22px;
    line-height: 40px;
}

h3 {
    font-size: 20px;
    line-height: 20px;
}

h4 {
    font-size: 17px;
    line-height: 14px;
    margin-top: 15px;
}

h5 {
    font-size: 16px;
    line-height: 12px;
}

h6 {
    font-size: 14px;
    line-height: 10px;
}

p {
    font-size: 16px;
    line-height: 25px;
    color: #565656;
    font-weight: 400;
    margin-bottom: 15px;
}

.indent {
	text-indent: 2em;
}

span {
    color: #073e6d;
}

a {
    color: #073e6d;
}

a:hover,
a:focus {
    color: #428795;
    text-decoration: none;
    outline: none
}

.navbar-default {
    background-color: #E5DCC1;
}

.intro p, ul {
    font-weight: 500;
    font-size: 15px;
    list-style-position: outside;
    line-height: 28px;
    text-align: justify;
    text-justify:distribute;
}

.intro ul {
    margin-top: 20px;
    background-color: rgba(235, 236, 220, 0.5);
    padding-top: 10px;
    padding-bottom: 10px;
}

.intro li {
    margin-bottom: 5px;
}

@media (max-width: 991px) {
    .container-fluid,
    .row {
        margin: 0;
        padding: 0;
    }
}

/* Titles */

.title-section {
    font-size: 42px;
}

.title-underline {
    height: 3px;
    width: 70px;
    background-color: #073e6d;
    margin-top: 5px;
    margin-bottom: 30px;
    margin-left: 0px;
}

.title-underline-center {
    height: 3px;
    width: 70px;
    background-color: #073e6d;
    margin-top: 5px;
    margin-bottom: 30px;
}


/* Alternate Text-Styles */

.text-center {
    text-align: center;
}

.imgtitle{
	margin:0px auto;
  padding: 0px;
  text-align:center;
  position:absolute;
  bottom: 11px;
  left: 0px;
  right: 0px;
  color:#fff;
  font-size: 14px;
}


/* Nav Tabs */

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #ff5800;
    color: #fff;
}

.tabs .nav-tabs li.active a {
    color: #fff;
}

.tab-pane {
    padding: 15px 0;
}


/* 03 - General Section Stylings
/* ------------------------------------------ */

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.img-responsive {
    width: 100%;
    height: auto;
}

.divider {
    margin: 0;
    border-top: 1px solid #eee;
}

.page-section {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.section-grey {
    background-color: #eee;
    -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);
}

.page-section-no-padding {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.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;
}


/* Generalized Margins for your needs */

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-35 {
    margin-bottom: 35px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.margin-bottom-60 {
    margin-bottom: 60px;
}

.margin-bottom-82 {
    margin-bottom: 82px;
}

.margin-bottom-130 {
    margin-bottom: 130px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-35 {
    margin-top: 35px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-45 {
    margin-top: 45px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-70 {
    margin-top: 70px;
}

.margin-top-100 {
    margin-top: 100px;
}

.margin-top-130 {
    margin-top: 130px;
}

.margin-top-182 {
    margin-top: 182px;
}


@media (min-width: 768px) {
    body {
        margin-top: 65px;
    }
}

/* Generalized Paddings for smaller Sections */

.padding-30 {
    padding: 30px 0;
}

.padding-60 {
    padding: 60px 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 {
    max-width: 200px;
    height: auto;
}


/* Navbar */

@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;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: initial;
    color: #073e6d;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #073e6d;
}

.navbar-default .navbar-nav > li > a {
    color: #3E3B37;
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .dropdown-menu > li > a {
        color: #565656;
        background-color: initial;
    }
    .dropdown-menu > .active > a,
    .dropdown-menu > .active > a:hover,
    .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #073e6d;
    }
    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        color: #fff;
        background-color: #073e6d;
    }
    .dropdown-menu li a {
        width: 200px;
        padding: 6px 15px;
        font-size: 14px;
        font-weight: 600;
    }
    ul.nav li.dropdown:hover ul.dropdown-menu {
        display: block;
        margin-top: 0px
    }
}

.dropdown-header {
    font-weight: 600;
    padding: 6px 15px;
    font-size: 16px;
    color: #073e6d;
}


/* 05 - Headers
/* ------------------------------------------ */


/* Hero Header */

.hero-header {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    text-align: center;
    color: #fff;
}

.hero-header .intro-text {
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-header .intro-text .intro-lead-in {
    font-style: italic;
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 25px;
}

.hero-header .intro-text .intro-heading {
    font-weight: bold;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 25px;
}

.hero-header {
    margin: 25px 0;
}


@media (min-width: 768px) {
    .hero-header .intro-text .intro-lead-in {
        font-style: italic;
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 25px;
    }
    .hero-header .intro-text .intro-heading {
        font-weight: 700;
        font-size: 75px;
        line-height: 75px;
        margin-bottom: 50px;
    }
}


/* 07 - Page Title & Breadcrumps
-------------------------------------------------- */


/* Page Header */

.page-header {
    background-color: #073e6d;
    border-bottom: 5px solid #428795;
    margin: 0 0 35px 0;
    min-height: 50px;
    padding: 20px 0;
    position: relative;
    text-align: left;
}

.page-header .breadcrumb {
    background: none;
    margin: -3px 0 0;
    padding: 0;
}

.page-header h1 {
    border-bottom: 5px solid #313131;
    color: #FFF;
    display: inline-block;
    font-weight: 600;
    margin: 0 0 -25px;
    font-size: 36px;
    padding: 0 0 17px;
}

.page-header li {
    color: #fff;
}


/*cal-legend*/
.cal-legend .today {
    color: #000;
    position: absolute;
    left: 0;
    display: block;
    height: 20px;
/*  position: absolute;
    left: 0;
    top: 5px;
    display: block;
    width: 15px;
    height: 15px;
    background-color: #83D8FF;
    border: #83D8FF solid 2px;
    border-radius: 999em;*/
}

.cal-legend .closeday {
    color: rgb(195, 37, 37);
    position: absolute;
    left: 0;
    /*top: 5px;*/
    display: block;
    /*width: 20px;*/
    height: 20px;
}

.cal ul {
    list-style-type: none;
    padding-left: 30px;
    font-size: 14px;
}

.cal-legend .partially-open {
    color: #3e80b9;
    position: absolute;
    left: 0;
    /*top: 5px;*/
    display: block;
    /*width: 20px;*/
    height: 20px;
}

.cal-legend li {
    margin-bottom: 5px;
}


/* 08_13 - Footer Primary
-------------------------------------------------- */

footer {
    background-color: #E5DCC1;
    padding: 60px 0;
}

footer p {
    color: #3E3B37;
}

footer a:visited,
footer a:link,
footer a:active,
footer a:hover {
    text-decoration: none;
}


/* Traffic */

.icon {
	font-size: 22px;
	margin-right: 3px;
}

/*  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: #073e6d url(../images/go-to-top.png) center center no-repeat;
}
#scrollToTop:hover {
	text-decoration: none;
	background-color: #428795;
}


/* Portfolio
--------------------------------------------------*/

.portfolio-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.portfolio-item {
  overflow: hidden;
  position: relative;
  padding: 0;
  vertical-align: middle;
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-item h2 {
  color: #ffffff;
  font-size: 12px;
  margin: 0;
  text-transform: capitalize;
  font-weight: 700;
  background: #00000085;
  border: 1px solid #fff;
  padding: 15px;
  /* background: linear-gradient(45deg, #00b1e457 0%, #405ece91 100%); */
}
.portfolio-item h2{
  opacity:0;
}
.portfolio-item:hover h2{
opacity:1;
}
.portfolio-item img {
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  width: 100%;
	height: 260px;
	object-fit: cover;
	margin-top: 10px;
}

.portfolio-item:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.portfolio-info {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


.block {
    border: 0.5px solid #c1c1c1;
    padding: 20px;
    margin: 0 0 10px 0;
    min-height: 400px;
}

@media (max-width: 997px) {
    .block {
            min-height: auto;
        }
}

.col-md-6 {
    padding-right: 5px;
    padding-left: 5px;
}



@media (max-width: 997px) {
    .portfolio-item img {
				height: 400px;
		}
}

@media (max-width: 543px) {
    .portfolio-item img {
				height: 260px;
		}
		table td.time {
				font-size:20px;
		}
		table {
				width:100%;
		}
		table td.time span {
				font-size:12px;
		}
}

/*publication-list*/

.publication-list li {
    display: inline-block;
    width: 20%;
    position: relative;
    vertical-align: top;
}

@media screen and (max-width: 768px) {
  .publication-list li {
    width: 33.33%;
  }
}

@media screen and (max-width: 480px) {
  .publication-list li {
    width: 50%;
  }
}

ul {
    padding: 0;
}

.publication-list .thumb {
    height: 150px;
    margin-bottom: 10px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px #cecece solid;
}

.publication-list p {
    margin: 0 6px;
}

.publication-list img {
    max-width: 92%;
    max-height: 140px;
}

@media screen and (max-width: 997px) {
    .publication-list .thumb {
        height: 150px;
    }
    .publication-list img {
        max-height: 140px;
    }
}

@media screen and (max-width: 480px) {
    .publication-list .thumb {
        height: 100px;
    }
    .publication-list img {
        max-height: 90px;
    }
}

.title {
    padding: 5px;
    position: relative;
    bottom: 10px;
    font-size: 12px;
}

img.downnPDF {
    display: inline-block;
    width:18px;
    height:auto;
    margin: 0 10px 0 0;
    box-shadow: 0.5px 0.5px 5px rgba(0, 0, 0, 0.6);
}
a.pdf {
    font-size:13px;
    }

a.pdf img {
    vertical-align:middle;
}