@font-face {
    font-family: 'cwTeXYen';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/cwTeXYen-zhonly.ttf') format('truetype');
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Calibri, Arial, serif, 'Microsoft JhengHei', '微軟正黑體';
    color: #101010;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    font-size: 16px;
}

@media (max-width: 980px) {
    body {
        font-size: 14px;
    }
}

/*---------------------------------------
    Typorgraphy              
-----------------------------------------*/
h1,h2,h3,h4,h5,h6 {
  font-weight: 600;
}

h3,h5 {
  font-weight: 500;
}

h1 {
    font-size: 38px;
    letter-spacing: 1px;
}

h2 {
  font-size: 30px;
  /*text-transform: uppercase;*/
}

h3 {
  line-height: 36px;
}

h5 {
    letter-spacing: 1px;
    padding-top: 10px;
}

p {
    color: #707070;
    font-size: 16px;
    line-height: 24px;
}

a {
  text-decoration: none !important;
  outline: none;
}

p label {
    font-weight: 800;
}

p label:after {
    content: ":";
    display: inline-block;
    font-weight: 700;
}

@media (max-width: 980px) {
    p {
        font-size: 14px;
    }
}

/*---------------------------------------
    General               
-----------------------------------------*/
.section-title {
    margin-top: -30px;
    margin-bottom: 10px;
}

#intro,
.register,
#errorpage {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.common-div a h3:before {
    content: '';
    display: block;
    margin-top: -80px;
    height: 80px;
    visibility: hidden;
}


#intro h3,
#agenda h3,
.register h3 {
    padding-bottom: 12px;
}

#home .btn,
.register .btn {
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    padding: 14px 42px;
    margin-top: 42px;
    margin-right: 12px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#home .btn-danger,
.register .btn-danger {
    background: #f2545f;
    border-color: transparent;
}

#home .btn-danger,
.register .btn-danger {
    background: #f2545f;
    border-color: transparent;
}

.register .btn {
    border-radius: 100px;
}

.register .btn-danger:hover {
    background: #222;
}


#home .btn-danger:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

#home .btn-default:hover {
    background: #ffffff;
    color: #333333;
    border-color: transparent;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}



/*---------------------------------------
    Preloader section              
-----------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fefefe;
    z-index: 99999;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
}

.loaded {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../images/preloading.gif);
    background-repeat: no-repeat;
    background-position: center;
    -moz-background-size: cover;
    background-size: cover;
    margin: -20px 0 0 -20px;
}

.sk-rotating-plane {
    /*width: 50px;
  height: 50px;
  background-color: #222;
  -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
          animation: sk-rotatePlane 1.2s infinite ease-in-out;*/
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../images/preloading.gif);
    background-repeat: no-repeat;
    background-position: center;
    -moz-background-size: cover;
    background-size: cover;
    margin: -20px 0 0 -20px;
}

@-webkit-keyframes sk-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
            transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
            transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
            transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }

@keyframes sk-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
            transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
            transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
            transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }



/*---------------------------------------
    Navigation Links section              
-----------------------------------------*/
.custom-navbar {
    margin-bottom: 0;
    background-color: #101010;
}

.custom-navbar .navbar-brand img {
    margin-top: 0px;
    width: 300px;
}

.custom-navbar .navbar-brand .sky {
    margin-top: -23px;
}

.custom-navbar .nav li a {
    /*color: #ddd;*/
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 40px;
    transition: all 0.4s ease-in-out;
    font-weight: bold;
}

.custom-navbar .nav li a small {
    font-size: 10px;
}

.custom-navbar .nav li a:hover {
    background: transparent;
    color: #66ccff;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active > a {
    background-color: transparent;
    color: #66ccff;
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
}

.custom-navbar .navbar-toggle {
    background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
    background: #ffffff;
    border-color: transparent;
}

@media (max-width: 980px) {
    .custom-navbar .nav li a {
        font-size: 16px;
    }

    .custom-navbar .navbar-brand img {
        width: 200px;
        margin-top: -10px;
    }

    .custom-navbar .nav li a {
        font-size: 16px;
        line-height: 10px;
    }
}

@media (max-width: 768px) {
    .custom-navbar .navbar-brand img {
        width: 120px;
        margin-top: -5px;
        /*margin-top: -10px;*/
    }
    .custom-navbar .navbar-brand .sky {
        margin-top: -14px;
    }
}

@media(min-width:768px) {
    .custom-navbar {
        padding: 20px 0;
        border-bottom: 0;
        /*background: 0 0;*/ 
    }
    .custom-navbar.top-nav-collapse {
        background: #101010;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .custom-navbar .navbar-brand img {
        width: 110px;
        margin-top: -5px;
    }

    .custom-navbar .navbar-brand .sky {
        margin-top: -9px;
    }
}

#home {
    background: url('../Images/home-bg.png') 50% 0 repeat-y fixed;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    text-align: center;
}

#home h3 {
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    #home h1 {
        font-size: 30px;
    }

    #home h2 {
        font-size: 24px;
    }
}
/*---------------------------------------
   Intro  section              
-----------------------------------------*/
#intro img {
    position: relative;
    padding-bottom: 32px;
}


/*---------------------------------------
    Regsiter section              
-----------------------------------------*/
.register {
    /*background-color: rgba(255,255,0.2);
    background: url('../Images/home-bg.jpg') 50% 0 repeat-y fixed;*/
    /*background-size: cover;
    background-position: center center;*/
    background-color: #eee;
}

.register .register_des {
    padding-top: 0rem;
    padding-right: 2rem;
    color: #fff;
}

.register .register_des h3 {
    font-weight: 600;
    color: rgb(67, 69, 120); /*#222;*/
}

.register .register_des h3 small {
    font-weight: 600;
    color: rgb(67, 69, 120); /*#222;*/
}

.register .register_des p {
    color: #222;
}

.register .register_detail {
    background: #ffffff;
    padding: 5rem 5rem 10rem 5rem;
}

.register .register_detail h3 {
    font-weight: 600;
    color:rgb(67, 69, 120); /*#222;*/
}

.register .register_detail h3 small {
    font-weight: 600;
    color:rgb(67, 69, 120); /*#222;*/
}

.register .single-line {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #AAA;
    border-radius: 0px;
    box-shadow: none;
    margin-bottom: 16px;
    transition: all 0.4s ease-in-out;
}

.register .single-line:focus {
    border-bottom-color: #AAA;
}

.register textarea {
    border: none;
    border-bottom: 1px solid #AAA;
}

.register input {
    height: 45px;
}

.register input[name="submit"] {
    background: #222;
    border-radius: 100px;
    border: none;
    color: #ffffff;
    letter-spacing: 2px;
    height: 50px;
    margin-top: 30px;
    transition: all 0.4s ease-in-out;
}

.register input[name="submit"]:hover {
    background: #f2545f;
}

@media (max-width: 980px) {
    .register .register_detail {
        background: #ffffff;
        padding: 10rem 3rem 10rem 5rem;
    }
}

@media (max-width: 768px) {
    .register .register_detail {
        margin-top: 82px;
    }
}

/*---------------------------------------
    Agenda section              
-----------------------------------------*/

#agenda {
    margin-bottom: 60px;
}

#agenda h3 {
    font-weight: 600;
    color: rgb(67, 69, 120); /*#222;*/
}

#agenda h3 small {
    font-weight: 600;
    color: rgb(67, 69, 120); /*#222;*/
}

/*---------------------------------------
    Table styles 
-----------------------------------------*/
table{
    width: 100%;
}

table td {
    vertical-align: top;
}

table td label:after {
    /*content: ":";*/
    display: inline-block;
}

#custom-table {
    margin-top: 25px;
    margin-bottom: 25px;
}

#custom-table thead, #custom-table tr {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #222;
}

#custom-table {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #222;
}

#custom-table th {
    padding: 5px 10px;
    color: #fff;
    font-size: 18px;
    font-family: Arial, 'Microsoft JhengHei', '微軟正黑體';
    background:rgba(97, 88, 125, 0.9); /*#eee;*/ 
}

#custom-table td {
    padding: 5px 10px;
    font-size: 16px;
    font-family: Arial, 'Microsoft JhengHei', '微軟正黑體';
    color: #222; /*#707070;*/
}

#custom-table tr:nth-child(even) {
    background: rgba(97, 88, 125, 0.5); /*#eee;*/ 
}

#custom-table tr:nth-child(odd) {
    background: #FFF
}

@media (max-width: 980px) {
    #custom-table th {
        font-size: 16px;
    }
    #custom-table td, #custom-table th {
        font-size: 14px;
    }
}

/*@media (max-width: 767px){
    table.tableMobilize {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    table.tableMobilize tr {
        border: none;
    }
    table.tableMobilize td:first-child {
        border-top: none;
    }
    table.tableMobilize td, table.tableMobilize th {
        border-top: none;
    }
    table.tableMobilize .descktop-head {
        display: none;
    }
    table.tableMobilize th:first-child {
        color: #333;
        font-weight: 800;
        border-bottom: 0px;
    }
    table.tableMobilize td[data-title]:before {
        content: attr(data-title) "：\A";
        color: #222;
        white-space: normal;
    }
}*/


/*---------------------------------------
    Radio styles
-----------------------------------------*/
.custom-rd {
    display: block;
    position: relative;
    float: left;
    margin-bottom: 10px;
}

.custom-rd input[type=radio] {
    position: absolute;
    margin-left: -20px;
    margin-top: -5px;
}

.custom-rd label {
    display: block;
    position: relative;
    font-weight: 500;
    padding: 0px 0px 5px 10px;
    margin: 5px auto;
    width: 100%;
}

.custom-rd label:after {
    content: "";
}


/*---------------------------------------
    Checkbox styles
-----------------------------------------*/
.custom-ckb {
    display: block;
    position: relative;
    float: left;
    margin-bottom: 10px;
}

.custom-ckb input[type=checkbox] {
    position: absolute;
    margin-left: -30px;
    margin-top: 8px;
}

.custom-ckb label {
    display: block;
    position: relative;
    font-weight: 500;
    padding: 0px 0px 5px 10px;
    margin: 5px auto;
    width: 100%;
}

.custom-ckb label:after {
    content: "";
}

/*---------------------------------------
    Personal section
-----------------------------------------*/
.custom-div {
    width: 100%;
    height: 250px;
    border: 2px #ccc solid;
    overflow: auto;
}

.custom-div p {
    color: #000
}


/*---------------------------------------
   Footer section              
-----------------------------------------*/
footer {
    background: #101010; 
    /*background-attachment: fixed;*/
}

#footer {
    float: left;
    display: inline;
    width: 100%;
    text-align: left;
}

.footer_top {
    float: left;
    display: inline;
    width: 100%;
    padding: 20px 0px;
}

.single_footer_widget {
    display: inline;
    float: left;
    padding: 0 10px;
    width: 100%;
}

#footer h3 {
    font-weight: 500;
    color: #fff;
}

#footer h3 small {
    font-weight: 500;
    color: #fff;
}

#footer p {
    color: #aaa;
}

/* Back top */
.go-top {
    background-color: #222;
    bottom: 2em;
    right: 2em;
    color: #ffffff;
    font-size: 10px;
    display: none;
    position: fixed;
    text-decoration: none;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.go-top:hover {
    background: #f2545f;
    color: #ffffff;
}

/*---------------------------------------
   Responsive styles            
-----------------------------------------*/

@media (max-width: 768px) {

  .register form {
    padding-top: 32px;
  }

  .nav-tabs > li > a {
    font-size: 13px;
  }

}

@media (max-width: 760px) {
    #home {
        height: 100vh;
    }
}

/* ERROR PAGE */
#errorpage{
  float: left;
  display: inline;
  width: 100%;
  padding: 60px 0;
  background-color: #333;
}
.error_page_content {
  display: inline;
  float: left;
  text-align: center;
  width: 100%;
  margin-top: 70px;
}
.error_page_content h1 {
  color: #fff;
  display: inline-block;
  font-size: 100px;
  font-weight: 400;
  position: relative;
  vertical-align: middle;
  margin-bottom: 50px;
}
.error_page_content h1:after, .error_page_content h1:before {
  background: none repeat scroll 0 0 #fff;
  content: "";
  height: 20px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
  -mz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 20px;
}
.error_page_content h1:after {
  right: -60px;
}
.error_page_content h1:before {
  left: -60px;
}
.error_page_content h2 {
  color: #c1c0b4;
  font-size: 50px;
  font-weight: 400;
}
.error_page_content h3 {
  color: #fff;
  font-size: 24px;
  margin-top: 35px;
}
.error_page_content p {
  font-size: 20px;
  line-height: 31px;
  margin: 36px auto 0;
  max-width: 630px;
  padding: 9px 0 8px;
  position: relative;
}
.error_page_content p:before {
  content: "";
  left: 0;
  position: absolute;
  top: 1px;
  width: 100%;
}
.error_page_content p:after {
  bottom: 1px;
  content: "";
  left: 0;
  position: absolute;
  width: 100%;
}
.error_page_content p>a{
  color: #798992;
  text-decoration: none;
}

.error_page_content span {
    font-size: 18px;
    line-height: 31px;
    width: 90%;
    padding: 9px 0 8px;
    position: relative;
}

.required:before {
    color: #e32;
    content: "*";
    display: inline;
    font-size: 20px;
}