/* Custom Stylesheet */
/**
 *
 * Made By Joash Pereira
 * Thanks for MaterializeCSS.com
 */
html, body {
    font-family: "微軟正黑體" , "Microsoft JhengHei", arial, helvetica, sans-serif;
}

.default_color{background-color: #2196F3 !important}

.default_color_text{color: #2196F3 !important}
strong { 
    font-weight: bold;
}
.icon-block {
    text-align:center;
}
.superlarge {
  font-size: 10rem;
}
#intro, #work, #team {padding-top: 4rem;}

.left-padd{
padding-left: 1.2rem;
    font-size: 1.8rem;
}
/*iframe自動縮放功能，記得外面加if */
.if {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
.if iframe,
.if object,
.if embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#card-title-p h4{
margin-top: -0.2rem;
}
#index-banner {
    min-height: 200px;
    max-height: 400px;
    position: relative;
    background-color: #2196F3;
}

#nav_f{
    box-shadow: none !important; 
    -webkit-box-shadow:none !important;
}
.nav-drop-f{
  margin-top: 4.3rem;
}

.text_h {
    padding: 15% 0;
    font-size: 6.0em;
    font-weight: 100;
    color:white;
}

.brand-logo{
    position: absolute;
    color: #fff;
    display: inline-block;
    font-size: 2.1rem;
    font-style: normal;
    font-weight: 100;
    padding: 0;
	
    letter-spacing: 0px;
}

.brand-logo img{
    width: 1.6em;
    height: 1.6em;
    vertical-align: middle;
}
#bookbanner{
 height:250px;
 overflow: hidden;
 }
#index-1 {
 height: 12rem;
 margin-top:1em;
}
#index-2 {
margin-top:1em;
 height: 12em;
overflow:hidden;
}
#index-2 a:hover {
	color: #2196F3;
}

#index-title {
bottom:0;
position: absolute;
*position : none; 
    
}

.index-title1 {
       margin-top: -0.1em;
      
}
.collapsible.popout {
  border: none;
  box-shadow: none; }
  .collapsible.popout > li {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transform: scaleX(.92) translate3d(0, 0, 0);
    transition: margin .35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform .35s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    .collapsible.popout > li:hover {
      will-change: margin, transform; }
  .collapsible.popout > li.active {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    margin: 16px 0;
    transform: scaleX(1) translate3d(0, 0, 0); }
   .collapsible-header {
   height:60px;
   }

.text_h2 {font-weight: 100;margin-bottom: 4%; line-height: 4.5rem;}

.span_h2 {font-weight: 300;color: #2196F3;}

.text_b{color: #2196F3;}

.in{font-weight: 400 !important; font-style: normal !important;}
.darkblue-text{
color: #0d47a1 !important; 
}
.promo i {
    color: #2196F3;
    font-size: 7rem;
    display: block;
}
#banner-title {
  position: relative;
  padding-top: 4rem;
}
.card-content a {color: #2196F3;}

.card-content a:hover {color: #2196F3;}
.truncate {
 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis; 
  }

  .truncate-1 {
 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 14em;
  text-overflow: ellipsis; 
  }
#group-truncate {
display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 20em;
  text-overflow: ellipsis;
}
#work, #team{background: rgb(247, 247, 247);}

.text_pink{color:#EF9A9A;}
#book-card-image img{
 max-width: 15em;
 max-height: 40em;
}
.index-title h6{
  font-size: 1.6em;
 
}
span .whie-text .cneter-align{
    margin-right: 10em;
}
nav ul a {
    font-size: 1.2rem;
    color: #FFF;
    letter-spacing: 2px;
    display: block;
    font-weight: 300;
    padding: 0px 20px;
}

.cd-headline.type .cd-words-wrapper {
    vertical-align: top;
    overflow: hidden;
}

.cd-headline.type .cd-words-wrapper::after {
    /* vertical bar */
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    height: 90%;
    width: 1px;
    background-color: #aebcb9;
}

.cd-headline.type .cd-words-wrapper.waiting::after {
    animation: cd-pulse 1s infinite;
}
.cd-headline.type .cd-words-wrapper.selected {
    background-color: #FFF;
}

.cd-headline.type .cd-words-wrapper.selected::after {
    visibility: hidden;
}

.cd-headline.type .cd-words-wrapper.selected b {
    color: #2196F3;
}

.cd-headline.type b {
    visibility: hidden;
}

.cd-headline.type b.is-visible {
    visibility: visible;
}

.cd-headline.type i {
    position: absolute;
    visibility: hidden;
}
.cd-headline.type i.in {
    position: relative;
    visibility: visible;
}
#index-banner {
    font-size: 80%;
}
#lesson {
 height: 80px;
    width: 18rem;
    font-size: 1.8rem;
  line-height: 84px; }
  .btn-large i {
    font-size: 2.25rem; }
}
.slider ul.slides li img{
height: 30em;
}
.slider ul.slides {
background-color: #fff;
}
/*********************
      modal fix
**********************/
.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  background-color: #fafafa;
  padding: 0;
  max-height: 70%;
  width: 55%;
  margin: auto;
  overflow-y: auto;
  z-index: 1000;
  border-radius: 2px;
  -webkit-transform: translate(0);
  -moz-transform: translate(0);
  -ms-transform: translate(0);
  -o-transform: translate(0);
  transform: translate(0);
  will-change: top, opacity; }
  @media only screen and (max-width : 992px) {
    .modal {
      width: 80%; } }
  .modal h1, .modal h2, .modal h3, .modal h4 {
    margin-top: 0; }
  .modal .modal-content {
    padding: 24px; }
  .modal .modal-footer {
    border-radius: 0 0 2px 2px;
    background-color: #fafafa;
    padding: 4px 6px;
    height: 56px;
    width: 100%; }
    .modal .modal-footer .btn, .modal .modal-footer .btn-large, .modal .modal-footer .btn-flat {
      float: right;
      margin: 6px 0; }

#lean-overlay {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 115%;
  width: 100%;
  background: #000;
  display: none;
  will-change: opacity; }

.modal.modal-fixed-footer {
  padding: 0;
  height: 40%; }
  .modal.modal-fixed-footer .modal-content {
    position: fixed;
    max-height: 100%;
    padding-bottom: 64px;
    width: 100%;
    overflow-y: auto; }
  .modal.modal-fixed-footer .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0; }

.modal.bottom-sheet {
  top: auto;
  bottom: -100%;
  margin: 0;
  width: 100%;
  max-height: 45%;
  border-radius: 0;
  will-change: bottom, opacity; }
/*********************
      sidebar
**********************/

.sidebar.left {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    
    z-index: 99999;
}

.sidebar.right {
    margin-top: 4.2rem;

    top: 0;
    right: 0;
    width: 30rem;

     background: #FFF;
    z-index: 99999;
   
}

.sidebar.bottom {
    left: 0;
    right: 0;
    bottom: 0;
    height: 270px;
    background: #FFF;
    z-index: 99999;
}

.sidebar.top {
    left: 0;
    right: 0;
    top: 0;
    height: 270px;
   
    z-index: 99999;
}

.sidebars > .sidebar {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.64);
    position: absolute;
    color: black;
    padding: 2px;
    font-size: 2em;
    text-align: center;
}
/*********************
  multi-select css
**********************/
.ms-container{
  background: transparent url('img/switch.png') no-repeat 50% 50%;
  width: 370px;
}

.ms-container:after{
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  font-size: 0;
  clear: both;
  min-height: 0;
  visibility: hidden;
}

.ms-container .ms-selectable, .ms-container .ms-selection{
  background: #fff;
  color: #555555;
  float: left;
  width: 45%;
}
.ms-container .ms-selection{
  float: right;
}

.ms-container .ms-list{
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  position: relative;
  height: 200px;
  padding: 0;
  overflow-y: auto;
}

.ms-container .ms-list.ms-focus{
  border-color: rgba(82, 168, 236, 0.8);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  outline: 0;
  outline: thin dotted \9;
}

.ms-container ul{
  margin: 0;
  list-style-type: none;
  padding: 0;
}

.ms-container .ms-optgroup-container{
  width: 100%;
}

.ms-container .ms-optgroup-label{
  margin: 0;
  padding: 5px 0px 0px 5px;
  cursor: pointer;
  color: #999;
}

.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection{
  border-bottom: 1px #eee solid;
  padding: 2px 10px;
  color: #555;
  font-size: 14px;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background-color: #08c;
}

.ms-container .ms-selectable li.disabled,
.ms-container .ms-selection li.disabled{
  background-color: #eee;
  color: #aaa;
  cursor: text;
}
/*********************
      File Input
**********************/
.file-field {
  position: relative; }
  .file-field input.file-path {
    margin-left: 100px;
    width: calc(100% - 100px); }
  .file-field .btn, .file-field .btn-large {
    position: absolute;
    top: 0;
    left: 0;
    height: 3rem;
    line-height: 3rem; }
  .file-field span {
    cursor: pointer; }
  .file-field input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0); }
/*material debug class 
*/
.collection {
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  position: relative; }
  .collection .collection-item {
    background-color: #fff;
    line-height: 1.5rem;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0; }
    .collection .collection-item.avatar {
      height: 84px;
      padding-left: 72px;
      position: relative; }
      .collection .collection-item.avatar .circle {
        position: absolute;
        width: 42px;
        height: 42px;
        overflow: hidden;
        left: 15px;
        display: inline-block;
        vertical-align: middle; }
      .collection .collection-item.avatar i.circle {
        font-size: 18px;
        line-height: 42px;
        color: #fff;
        background-color: #999;
        text-align: center; }
      .collection .collection-item.avatar .title {
        font-size: 16px; }
      .collection .collection-item.avatar p {
        margin: 0; }
      .collection .collection-item.avatar .secondary-content {
        position: absolute;
        top: 16px;
        right: 16px; }
    .collection .collection-item:last-child {
      border-bottom: none; }
    .collection .collection-item.active {
      background-color: #26a69a;
      color: #eafaf9; }
  .collection a.collection-item {
    display: block;
    -webkit-transition: 0.25s;
    -moz-transition: 0.25s;
    -o-transition: 0.25s;
    -ms-transition: 0.25s;
    transition: 0.25s;
    color: #26a69a; }
    .collection a.collection-item:not(.active):hover {
      background-color: #ddd; }
  .collection.with-header .collection-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px; }
  .collection.with-header .collection-item {
    padding-left: 30px; }

 /* Component: Info Box
 * -------------------
 */
.info-box {
  display: block;
  min-height:85px;
  background: #fff;
  width: 70%;
  box-shadow: 0 2px 2px rgba(192, 192, 192, 0.1);
  border-radius: 2px;
  margin-bottom: 15px;

}
.info-box small {
  font-size: 12px;
}
.info-box .progress {
  background: rgba(0, 0, 0, 0.2);
  margin: 5px -10px 5px -10px;
  height: 2px;
}
.info-box .progress,
.info-box .progress .progress-bar {
  border-radius: 0;
}
.info-box .progress .progress-bar {
  background: #fff;
}
.info-box-icon {
  border-top-left-radius: 2px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 2px;
  display: block;
  float: left;
  height:85px;
  width: 90px;
  text-align: center;
  font-size: 40px;
  line-height: 90px;
  background: rgba(0, 0, 0, 0.2);
}
.info-box-icon-circle {
border-top-left-radius:  50%;
  border-top-right-radius:  50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius:  50%;
  display: block;
  float: left;
  height: 1.2em;
  width: 1.2em;
  text-align: center;
  font-size: 30px;
  line-height: 40px;
  background: rgba(0, 0, 0, 0.2);
    
}
.user-text-p {
 margin-top: 0.2em;
 
}
.info-box-content {
  padding: 5px 10px;
  margin-left: 10px;
}
.info-box-number {
  display: block;
  font-size: 16px;
}
.progress-description,
.info-box-text {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-box-text {
  text-transform: uppercase;
  font-size:18px;
  font-weight:bold;
}
.info-box-more {
  display: block;
}
.progress-description {
  margin: 0;
}

@keyframes cd-pulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    40% {
        transform: translateY(-50%) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }
}


/*card fix*/
.card-panel {
  padding: 20px;
  margin: 0.5rem 0 1rem 0;
  border-radius: 2px;
  background-color: #fff; }

.card {
  position: relative;
  overflow: hidden;
  margin: 0.5rem 0 1rem 0;
  background-color: #fff;
  border-radius: 2px; }
  .card .card-title {
    color: #fff;
    font-size: 24px;
    font-weight: 300; }
    .card .card-title.activator {
      cursor: pointer; }
  .card.small, .card.medium, .card.large {
    position: relative; }
    .card.small .card-image, .card.medium .card-image, .card.large .card-image {
      overflow: hidden; }
    .card.small .card-content, .card.medium .card-content, .card.large .card-content {
      overflow: hidden; }
    .card.small .card-action, .card.medium .card-action, .card.large .card-action {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0; }
  .card.small {
    height: 300px; }
    .card.small .card-image {
      height: 200px; }
    .card.small .card-content {
      height: 100px; }
  .card.medium {
    height: 400px; }
    .card.medium .card-image {
      height: 330px; }
    .card.medium .card-content {
      height: 70px; }
  .card.large {
    height: 500px; }
    .card.large .card-image {
      /*height: 330px;*/ }
    .card.large .card-content {
      height: 170px; }
  .card .card-image {
    position: relative; }
    .card .card-image img {
      border-radius: 2px 2px 0 0;
      position: relative;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%; }
    .card .card-image .card-title {
      position: absolute;
      bottom: 0;
      left: 0;
      padding: 20px; }
  .card .card-content {
    padding: 20px;
    border-radius: 0 0 2px 2px; }
    .card .card-content p {
      margin: 0;
      color: inherit; }
    .card .card-content .card-title {
      line-height: 30px; }
  .card .card-action {
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    padding: 20px; }
    .card .card-action a {
      color: #ffab40;
      margin-right: 20px;
      -webkit-transition: color .3s ease;
      -moz-transition: color .3s ease;
      -o-transition: color .3s ease;
      -ms-transition: color .3s ease;
      transition: color .3s ease;
      text-transform: uppercase; }
      .card .card-action a:hover {
        color: #ffd8a6; }
  .card .card-reveal {
  
   background-image: url('img/readpen.png');
 background-position:top,center;}
    .card .card-reveal .card-title {
      cursor: pointer;
      display: block; }

	  


/* Preloader */
#preloader {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:1200; /* makes sure it stays on top */
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url(../img/status.gif); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
 }
.silder.siders img {
    translateX(x-px)：-200px;
}

input, textarea {
    border-bottom: 1px solid #fff;
}

nav a.button-collapse {
    left: -25px;
}

.card-avatar .waves-effect {
    text-align: center;
    margin-top: 20px;
}

.card-avatar img {
    height: 150px;
    width: 150px;
    border-radius: 75px;
}

.card-avatar .card-content {
    text-align: center;
}

.card .card-content p {
    margin: 0 0;
}

.card-avatar .card-content i {
   font-size: 1.5rem;
}

.card-avatar .card-content .card-title {
    line-height: 30px !important;
}

.parallax-container {
    max-height: 400px;
}

footer.page-footer {
    margin-top: 22em !important;
 	bottom:0;
	left:0;
}
footer.map {
    margin-top: 0px !important;
 	bottom:0;
	left:0;
}

   

.slider.slides img {
    position: relative;
    left: 0px;
    
}


.slider.slides img {
    position: ;
    left: -200px;
    
}


/*.modal-top-down {

  display: none;
  position: absolute;
    left: 0;
  right: 0;
  background-color: #eee;
  padding: 24px;
  max-height: 100%;
  width: 100%;
  margin-top: 0;
    margin-right: auto;
    margin-left: auto;
  overflow-y: auto;
  z-index: 1000;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-clip: padding-box;
  -webkit-transform: translate(0);
  -moz-transform: translate(0);
  -ms-transform: translate(0);
  -o-transform: translate(0);
  transform: translate(0);
  will-change: top, opacity; }
}*/
@media screen and (min-width: 1800px) {
.dropdown-content{
	margin-left:16em;
}
  #new-title{

 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width:50em;
  text-overflow: ellipsis; 

	  
  }
}
@media screen and (min-width: 1500px) and (max-width: 1790px) {
.dropdown-content{
	margin-left:8em;
}
  #new-title{

 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width:50em;
  text-overflow: ellipsis; 

	  
  }
}
@media screen and (min-width: 1024px) and (max-width: 1490px) {
 #index_img{
max-width:70%
}
    .icon-block {
    text-align:center;
}
  #new-title{

 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width:28em;
  text-overflow: ellipsis; 

	  
  }
.index-title {
    margin-top: 0em;
}
.index-title h5{
  font-size: 1.4em;
}
.index-title1 {
       margin-top: 0;
    text-align:center;
}
.index-title1 span{
  font-size: 1em;
}

}
@media screen and (min-width: 481px) and (max-width: 1023px) {
	 #new-title{

 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width:16em;
  text-overflow: ellipsis; 

	  
  }
}
@media screen and (min-width: 240px) and (max-width: 480px) {
    .text_h { 
        padding: 4% 0;
        font-size: 5em;
        font-weight: 100;
        color: white;
    }
.modal {
 max-width: 100%;
 padding:5px !important;
}
.icon-block {
   text-align:center;
}

.index-title {
    margin-top: 0em;
}
.index-title1 {
 margin-top:-100px;
text-align:center;
}
.index-title h5{
  font-size: 1.4em;
 
}
.index-title1 {
       margin-top: -0.8em;
 text-align:center;
}
.index-title1 span{
  font-size: 1em;
  
}
#index_img{
max-width:70%
}
h3{
	font-size:2.5em;
}
.slider {
height:15em;
}
.slider ul.slides li img {
height:15em;
	
}
.ms-container{
  background: transparent url('img/switch.png') no-repeat 50% 50%;
  width: 250px;
}
.sidebar.right{
	width:100%
}
  #new-title{

 display : inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width:10em;
  text-overflow: ellipsis; 
font-size:1.2em;
	  
  }

}

@media screen and (max-width: 992px){
.modal.modal-fixed-footer {
	height:70%;
}
}
#read2{display:none;}
#activity2{display:none;}
#hot2{display:none;}
#barbook2{display:none;}
#other2{display:none;}
