@charset "utf-8";

/* CSS Document */
/*===============================================================================================GLOBAL=====*/
.clearfix {
    clear: both;
}

.desktopVer {
    display: block;
}

.mobileVer {
    display: none;
}

.tab button.desktopVer {
    display: block;
}

.tab button.mobileVer {
    display: none;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: Microsoft JhengHei;
    background-image: url("../img/back.jpg");
    background-repeat: repeat;
}

header {
    background-color: #454444;
    height: 100px;
    position: relative;
}

header .backgroundImg {
    background-image: url("../img/16802779-high-resolution-sandpaper-texture.jpg");
    background-repeat: repeat;
    opacity: 0.2;
    height: 100px;
    width: 100%;
    position: absolute;
}

header .header {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

header .logo {
    /*  float:left;*/
    display: inline-block;
}

header .navBar {
    /*  float: right;*/
    display: inline-block;
    vertical-align: bottom;
    position: absolute;
    right: 0;
    bottom: 0;
}

header .navBar ul {
    padding: 0;
    margin: 0;
}

header .navBar ul li {
    list-style: none;
    display: inline-block;
    color: white;
    font-weight: bold;
    margin: 0;
    padding: 0 10px 10px 10px;
}

header .navBar ul li:hover {
    color: #CD8428;
    border-bottom: 3px solid #CD8428;
    padding: 0 10px 7px 10px;
}

header .navBar ul a.active li {
    color: #CD8428;
    border-bottom: 3px solid #CD8428;
    padding: 0 10px 7px 10px;
}

header.header2 {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 111;
}

header.header2 .logo {
    height: 100%;
    transition: 500ms;
}

header.header2 .logo img {
    height: 100%;
    transition: 500ms;
}

header.header2 .backgroundImg {
    height: 50px;
}

header.header2 .header {
    height: 50px;
}

.content {
    margin: auto;
    max-width: 1200px;
    margin: 50px auto;
    font-family: Microsoft JhengHei;
    min-height: calc(100vh - 300px)
}

footer {
    background-color: #454444;
    position: relative;
}

footer .backgroundImg {
    background-image: url("../img/16802779-high-resolution-sandpaper-texture.jpg");
    background-repeat: repeat;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    position: absolute;
}

footer .links {
    position: relative;
    z-index: 102;
    text-align: center;
    padding-top: 20px;
}

footer .footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

footer .footer p {
    color: white;
    margin: 0;
    display: inline-block;
}

.backToTop {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 30px;
    height: 30px;
    z-index: 100;
    color: #CD8428;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    display: none;
}

.backToTop:hover {
    color: #E1AC69;
}

.alignRight {
    text-align: right;
}

p strong {
    font-size: 18px;
}

.rightSide p {
    margin: 20px 0;
}

#homepage #intro a img#keywork1 {
    animation: blinker 4s linear infinite;
    width: auto;
    height: 60%;
    position: absolute;
    bottom: 6vh;
    left: 5vw;
}

#homepage #intro a img#keywork2 {
    animation: blinker2 7s linear infinite;
    width: auto;
    height: 100%;
    position: absolute;
    bottom: 1vh;
    right: 5vw;
}


/* #homepage #intro a img#keywork3 {
  animation: blinker3 3s linear infinite;
  width: auto;
  height: 200px;
  position: absolute;
  top: 0;
  right: 0;
}
#homepage #intro a img#keywork4 {
  animation: blinker4 5s linear infinite;
  width: auto;
  height: 200px;
  position: absolute;
  bottom: 0;
  right: 0;
}
#homepage #intro a img#keywork5 {
  animation: blinker5 3s linear infinite;
  width: auto;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
} */

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

@keyframes blinker2 {
    50% {
        opacity: 0;
    }
}

/* @keyframes blinker3 {
  0% { opacity: 0.5; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes blinker4 {
  0% { opacity: 0.5; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes blinker5 {
  0% { opacity: 0.5; }
  50% { opacity: 0; }
  100% { opacity: 1; }
} */



/*===============================================================================================HOME=====*/
#homepage.content {
    padding: 0 20px;
    margin-bottom: 100px;
}

#homepage #headcontent{
    text-align: center;
    color: white;
    background-color: #cd8428;
    padding: 20px 0;
    margin-bottom: 20px;
}

#homepage #intro a .titleImg {
    position: relative;
}

#homepage #intro a img {
    width: 100%;
}

#homepage #intro a img#homekukai {
    z-index: 106;
    position: absolute;
    top: 0;
    left: 0;
}

#homepage #intro {
    position: relative;
}

#homepage #intro #content {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 40%;
    color: white;
    z-index: 106;
}

#homepage #intro1{
    margin-bottom: 20px;
    position: relative;
}

#homepage #intro1 a .titleImg {
    position: relative;
}

#homepage #intro1 a img {
    width: 100%;
}

#homepage #intro1 #content {
    position: absolute;
    top: 50px;
    width: 100%;
    color: white;
    z-index: 106;
    text-align: center;
}

#homepage #intro1 #content h1{
    font-weight: bold;
    font-size: 72px;
    padding: 10px;
    background-color: rgba(33, 33, 33, 0.8);
}

#homepage .row {
    margin: 20px 0;
}

#homepage .column {
    float: left;
    width: 31%;
    padding: 20px;
    margin: 0 1%;
    position: relative;
    border: 10px #CD8428 double;
}

#homepage .row .column p {
    margin: 20px 0;
}

#homepage .more {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #CD8428;
    font-weight: bold;
    padding: 5px 20px;
    color: white;
}

/* Clear floats after the columns */
#homepage .row:after {
    content: "";
    display: table;
    clear: both;
}

#homepage .flexslider .slides {
    overflow-x: scroll;
}

#homepage .flexslider .slides li {
    float: left;
    max-width: 200px;
    max-height: 200px;
    list-style: none;
    border: 5px solid #CD8428;
}

#homepage .flexslider .slides li img {
    max-width: 100%;
    max-height: 100%;
}

/*
#owl-demo .item{
  margin: 3px;
}
#owl-demo .item img{
  display: block;
  width: 100%;
  height: auto;
}
*/
.owl-carousel {
    height: 300px;
}

.owl-carousel .owl-stage-outer {
    height: 100%;
}

.owl-carousel .owl-stage {
    height: 100%;
}

.owl-carousel .owl-item {
    height: 100%;
    border: 3px solid #CD8428;
}

.owl-carousel .owl-item .item {
    height: 100%;
}

.owl-carousel .owl-stage .owl-item img {
    height: 100%;
    width: auto;
}

.owl-carousel:before {
    content: " ";
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    width: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 300px;
    z-index: 101;
}

.owl-carousel:after {
    content: " ";
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    width: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 300px;
    z-index: 101;
}

.homeGallery {
    position: relative;
    margin: 50px 0;
}

#homepage .homeGallery .more {
    text-align: right;
    bottom: -33px;
    right: 0;
    z-index: 106;
}

.homeTemple {
    position: relative;
    margin: 50px 0 100px 0;
}

#homepage .homeTemple .more {
    text-align: right;
    bottom: -33px;
    right: 0;
    z-index: 106;
}

/*===============================================================================================ABOUT=====*/
#aboutbanner {
    background-position: 0% 81%;
}

#about1 #about1Section1Img {
    width: 35%;
    float: right;
    margin-left: 10px;
    margin-top: 20px;
}

#about1 #about1Section1Img2 {
    width: 50%;
    float: right;
    margin-left: 10px;
}

#about3 table {
    text-align: center;
    position: relative;
}

#about3 table .tableHead2 th {
    outline: 1px solid rgba(0, 0, 0, 0.1)
}

#about3 table tr th {
    background-color: #CD8428;
    color: white;
    border: 1px solid #555;
    padding: 5px;
    position: -webkit-sticky;
    position: sticky;
    ;
    top: 49px;
    background-clip: padding-box;
    z-index: 101;
}

#about3 table tr th:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#about3 table tr td {
    border: 1px solid #cd8428;
    padding: 5px;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

#about3 .table tbody {
    border-bottom: 1px solid #cd8428;
    border-top: 1px solid #cd8428;
}

#about3 table tbody:nth-child(even) {
    /*  background-color: #e0e0e0;*/
}

#about3 table tr td:first-child {
    width: 80px;
}

#about3 table tr td:nth-child(2) {
    width: 100px;
}

#about3 table tr td:nth-child(3) {
    width: 100px;
}

#about3 table tr td:nth-child(4) {
    width: 70px;
}

#about3 table tr td:nth-child(5) {
    text-align: left;
}

#about3 table tr td:nth-child(6) {
    text-align: left;
    width: 150px;
}

#about3 table tr td.cells {
    text-align: left;
}

table tr,
table col {
    transition: all .3s;
}

#about3 table tbody:hover {
    background-color: rgba(205, 132, 40, 0.5);
}

#about3 table tbody:hover tr td {
    border: 1px solid #555;
}

#about3 table col.hover {
    background-color: rgba(205, 132, 40, 0.5);
    position: relative;
    z-index: 105;
}

#about3 table td:hover {
    background-color: #cd8428;
    color: #FFF;
}

.nulltd {
    display: none;
}

#about4 .aboutBook.btn {
    padding: 0px;
    border: 0;
    width: 100%;
    background: none;
}

#about4 .aboutBook.btn img {
    width: 100%;
}

#about4 .col-8 {
    margin: auto;
}

#about5 .col-8 {
    margin: auto;
}

#about5 .aboutBook.btn {
    padding: 0px;
    border: 0;
    width: 100%;
    background: none;
}

#about5 .aboutBook.btn img {
    width: 100%;
}

/*===============================================================================================HISTORY=====*/
.content h4 {
    font-weight: bold;
}

.content .rightSide {
    background-color: #CCC;
    padding: 20px;
    max-width: 1000px;
    width: 100%;
    float: left;
}

.content .tablinks.selected {
    background-color: #CD8428;
    color: white;
}

.contentHeaderImg {
    max-width: 1200px;
    margin-top: -50px;
    height: 300px;
    overflow: hidden;
    margin-bottom: 50px;
    background-image: url("../img/wallpaper004.jpg");
    background-size: cover;
    background-position: 0% 16%;
}

.contentHeaderImg img {
    /*
  width: 100%;
  margin-top: -100px;
*/
}

/*
#modalWindow {
  position: fixed;
  font-family: arial,helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99999;
  opacity:0;
  transition: opacity 400ms linear;
  pointer-events: none;
}
#modalWindow:target {
  opacity:1;
  pointer-events: auto;
}
#modalWindow > div {
  width: 400px;
  height: 240px;
  position: relative;
  margin: 10% auto;
  padding: 20px 20px 13px 20px;
  border: solid;
  border-color: black;
  border-width : 2px;
  background: #DAF7A6;
  border-radius: 10px;
}
*/
#history2 .history2Img2 {
    width: 30%;
    float: left;
    margin-right: 10px;
    margin-top: 20px;
}

#history2 .history2Img1 {
    width: 100%;
    margin-bottom: 10px;
    margin-top: 20px;
}

#history2 .history2Img {
    width: 50%;
    float: right;
    margin-left: 10px;
    margin-top: 20px;
}

#history3 .history3Img1 {
    float: right;
    margin-left: 10px;
    margin-top: 20px;
}

#history3 .history3Img {
    width: 50%;
    float: right;
    margin-left: 10px;
    margin-top: 20px;
}

#history4 {
    text-align: center;
}

#history4 #historyComic.btn {
    padding: 0;
    border: 0;
}

#history6 #topImg {
    margin-bottom: 20px;
}

#history6 .history6Img {
    width: 30%;
    float: right;
    margin-left: 10px;
    margin-top: 0px;
}

#history6 .history6Img div {
    background-color: #FFF;
}

#history6 .history6Img #img1 {
    margin-bottom: 20px;
}

#history6 .history6Img img {
    width: 100%;
}

#history6 .history6Img figcaption {
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

#history6 .section2 {
    margin-bottom: 20px;
}

#history6 .history6Img1 {
    width: 30%;
    float: right;
    margin-left: 10px;
    margin-top: 0px;
    background-color: #FFF;
}

#history6 .history6Img1 img {
    width: 100%;
}

#history6 .history6Img1 figcaption {
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

#history6 .history6Img2 {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: table;
}

#history6 .history6Img2 .table-row {
    display: table-row;
}

#history6 .history6Img2 .table-row .table-cell {
    display: table-cell;
    text-align: center;
    background-color: #FFF;
}

#history6 .history6Img2 .table-row .table-cell img {
    width: 100%;
}

#history6 .history6Img3 {
    width: 30%;
    float: right;
    margin-left: 10px;
    margin-top: 0px;
    background-color: #FFF;
}

#history6 .history6Img3 img {
    width: 100%;
}

#history6 .history6Img3 figcaption {
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

#history6 .history6Img4 {
    width: 100%;
    margin-top: 20px;
}

#history6 .owl-prev,
#history6 .owl-next {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 102;
}

#history6 .owl-prev {
    left: 7px;
}

#history6 .owl-next {
    right: 7px;
}

#history6 .owl-prev span:hover,
#history6 .owl-next span:hover {
    color: #CD8428;
}

#history7 #topImg {
    margin-bottom: 20px;
}

#history7 #founderImg1 {
    margin-bottom: 20px;
}

#history7 .history7Img1 {
    width: 50%;
    float: left;
    background-color: #FFF;
}

#history7 .history7Img1 img {
    width: 100%;
}

#history7 figcaption {
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
    width: 100%;
}

#history7 #founderImg2 {
    margin-bottom: 20px;
    margin-left: 15px;
}

#history7 .history7Img2 {
    background-color: #FFF;
    width: 100%;
}

#history7 .history7Img2 img {
    width: 100%;
}

#history7 .history7Img3 {
    width: 50%;
    float: right;
    margin-left: 10px;
    margin-top: 20px;
    background-color: #FFF;
}

#history7 .history7Img3 img {
    width: 100%;
}

#history7 .history7Img4 {
    width: 30%;
    float: right;
    margin-left: 10px;
    margin-top: 20px;
    background-color: #FFF;
}

#history7 .history7Img4 img {
    width: 100%;
}

#history7 #founderImg3 {
    margin-bottom: 20px;
    margin-left: 15px;
}

#history7 .history7Img5 {
    background-color: #FFF;
    width: 100%;
    padding-top: 20px;
}

#history7 .history7Img5 img {
    width: 100%;
}

#history7 .owl-prev,
#history7 .owl-next {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 102;
}

#history7 .owl-prev {
    left: 7px;
}

#history7 .owl-next {
    right: 7px;
}

#history7 .owl-prev span:hover,
#history7 .owl-next span:hover {
    color: #CD8428;
}
.fancybox-content #tmpContainer {
    display: none;
}

.tmpContainer .fbTopBar {
    display: none;
}

.fancybox-button.fancybox-button--close {
    position: absolute;
    top: 36px;
    right: 36px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
    border: 3px solid #CD8428;
    border-radius: 50%;
    background-color: #333;
}

.fancybox-button.fancybox-button--close:hover {
    background-color: #eee;
    color: #333;
}

.fancybox-button.fancybox-button--close svg {
    width: 36px;
    height: 36px;
    left: -13px;
    top: -13px;
}

.lastp {
    text-align: right;
}

/*===============================================================================================BOOKS=====*/
#booksbanner {
    background-position: center;
}

#book6 .aboutBook.btn {
    padding: 0px;
    border: 0;
    width: 100%;
    background: none;
}

#book6 .aboutBook.btn img {
    width: 100%;
}

#book6 .col-8 {
    margin: auto;
}

#book7 .aboutBook.btn {
    padding: 0px;
    border: 0;
    width: 100%;
    background: none;
}

#book7 .aboutBook.btn img {
    width: 100%;
}

#book7 .col-8 {
    margin: auto;
}

#about5 .aboutBook.btn img {
    width: 100%;
}

#book4>ul {
    margin-bottom: 0;
}

#book4>ul>li {
    float: left;
    margin-bottom: 15px;
    /*  margin-right: 20px;*/
    width: 200px;
}

#book4>ul>li a {
    border: 3px solid #FFF;
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    background-color: #FFF;
}

#book4>ul>li a>img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
    padding: 10px;
}

#book4>ul>li a:hover>img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

#book5>ul {
    margin-bottom: 0;
}

#book5>ul>li {
    margin-bottom: 15px;
    width: 100%;
}

#book5>ul>li a {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#book5>ul>li a>img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}

.book2button {
    list-style: none;
    padding: 0;
}

.book2button li {
    float: left;
    width: 20%;
    margin-bottom: 20px;
}

.book2button li a {
    float: left;
    width: 70%;
    text-align: center;
    background-color: #E0E0E0;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 15%;
    position: relative;
    border: 5px double #555;
}

.book2button li a:hover {
    background-color: #CD8428;
}

.book2button li a:hover p {
    color: white;
}

.book2button li a:before {
    content: " ";
    display: block;
    padding-top: 100%;
}

.book2button li a p {
    position: relative;
    left: -50%;
    color: #000;
    margin: 0;
}

.book2button li a span {
    position: absolute;
    left: 50%;
    top: calc(50% - 24px);
    width: fit-content;
}

#book2 .book2Section {}
}

/*===============================================================================================DREAMS=====*/
#dreamsbanner {
    background-position: center;
}

#dreams1 .section1 {
    margin-bottom: 50px;
}

#dreams1 .section1 #dream1Section1Img {
    width: 35%;
    float: right;
    margin-left: 10px;
    margin-top: 20px;
}

#dreams1 .section2 #dream1Section2Img {
    float: right;
    margin-left: 10px;
    margin-top: 20px;
}

#dreams2 .section1 {
    margin-bottom: 50px;
}

#dreams2 .section1 #dream2Section1Img {
    width: 50%;
    float: right;
    margin-left: 10px;
}

#dreams3 #dream3SectionImg1 {
    width: 50%;
    float: right;
    margin-left: 10px;
}

#dreams3 #dream3SectionImg2 {
    width: 30%;
    float: left;
    margin-right: 10px;
}

/*===============================================================================================GALLERY=====*/
#gallerybanner {
    background-position: center 30%;
}

.gallery>ul {
    margin-bottom: 0;
    margin-top: 20px;
}

.gallery>ul>li {
    float: left;
    margin-bottom: 15px;
    /*  margin-right: 20px;
  width: 200px;*/
    max-height: 250px;
}

.gallery>ul>li a {
    border: 3px solid #FFF;
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    height: 100%;
    width: 100%;
    background-color: #FFF;
    text-align: center;
    display: flex;
}

.gallery>ul>li a .imageDiv {
    /*height: 100%;
  display: inline-block;
  position: relative;
  left: 50%;*/
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    width: 100%;
}

.gallery>ul>li a .imageDiv:before {
    content: " ";
    padding-top: 100%;
    width: 100%;
    display: block;
}

.gallery>ul>li a .imageDiv img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    /*  width: 100%;*/
    /*text-align: center;*/
    margin: auto;
    position: absolute;
    left: -50%;
    right: -50%;
    top: 0;
}

.gallery>ul>li a:hover .imageDiv img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

#gallery5.gallery>ul>li {
    margin-bottom: 50px;
}

#gallery5.gallery>ul>li p {
    text-align: center;
    background-color: white;
    border-radius: 3px;
}

#gallery7.gallery>ul>li {
    margin-bottom: 50px;
}

#gallery7.gallery>ul>li p {
    text-align: center;
    background-color: white;
    border-radius: 3px;
}

#gallery8.gallery>ul>li {
    margin-bottom: 50px;
}

#gallery8.gallery>ul>li p {
    text-align: center;
    background-color: white;
    border-radius: 3px;
}

/*===============================================================================================TEMPLES=====*/
#temple1 .temple1Img1 {
    width: 30%;
    float: left;
    margin-right: 10px;
}

#templesbanner {
    background-position: center 70%;
}

.temple>ul {
    margin-bottom: 0;
    margin-top: 20px;
}

.temple>ul>li {
    float: left;
    margin-bottom: 15px;
    max-height: 200px;
}

.temple>ul>li a {
    border: 3px solid #FFF;
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    height: 100%;
    width: 100%;
    background-color: #FFF;
    text-align: center;
    display: flex;
}

.temple>ul>li a .imageDiv {
    /*height: 100%;
    display: inline-block;
    position: relative;
    left: 50%;*/
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    width: 100%;
}

.temple>ul>li a .imageDiv:before {
    content: " ";
    padding-top: 100%;
    width: 100%;
    display: block;
}

.temple>ul>li a .imageDiv img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    margin: auto;
    height: 100%;
    /* width: 100%; */
}

.temple>ul>li a:hover .imageDiv img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

#temple1 .templesLocation {
    width: calc(60% - 10px);
    float: left;
    margin-right: 10px;
}

#temple1 .templesLocation img.img-responsive {
    width: 100%;
}

#temple1 .locationImg {
    float: right;
    width: calc(40% - 10px);
    margin-left: 10px;
}

#temple1 .locationImg div {
    margin-bottom: 20px;
}

#temple1 .locationImg img {
    width: 100%;
}

.tab button.templeSub {
    font-size: 14px;
    /*  background-color: #E1AC69;*/
}

.templeLocation {
    position: relative;
}

.templeLocation ul {
    z-index: 102;
}

/* .templeLocation ul li {
  float: none;
  width: 110px;
} */
.templeLocation .templelocaImg {
    display: none;
    position: absolute;
    z-index: 102;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    width: auto;
    max-width: 50%;
}

.templeLocation .templeposition .templelocaImg.selected {
    display: block;
}

#temple1a.templeLocation .templelocaImg {
    top: 10px;
    left: 10px;
}

#temple1b.templeLocation .templelocaImg {
    bottom: 10px;
    right: 10px;
}

#temple1c.templeLocation .templelocaImg {
    bottom: 10px;
    right: 10px;
}

#temple1d.templeLocation .templelocaImg {
    bottom: -100px;
    right: 10px;
}

.templeLocation .templeposition {
    width: calc(100% - 150px);
    float: right;
    position: -webkit-sticky;
    position: sticky;
    ;
    top: 100px;
}

.templeLocation .templeposition {}

.templeLocation h4 {
    margin-bottom: 20px;
}

.templeLocation .templeposition img {
    width: 100%;
}

.templeLocation .temple88 div button:hover~img {
    display: block;
}

.templeLocation .temple88 div button {
    border-radius: 10px;
    background-color: #eee;
    border: 0;
}

.templeLocation .temple88>div {
    margin-bottom: 10px;
}

.templeLocation ul li button:hover {
    background-color: #CD8428;
}

.templeLocation .templeposition span {
    width: 5px;
    height: 5px;
    background-color: #555;
    position: absolute;
    transition: 300ms;
}

.templeLocation .templeposition .templeloca.selected {
    background-color: red;
    width: 20px;
    height: 20px;
    margin: -7px -7px -7px -7px;
    transition: 300ms;
    z-index: 110;
    border-radius: 10px;
}

.templeLocation .templeposition span#temple01 {
    right: 21.5%;
    top: 13%;
}

.templeLocation .templeposition span#temple02 {
    right: 23.1%;
    top: 13.5%;
}

.templeLocation .templeposition span#temple03 {
    right: 24.8%;
    top: 13.9%;
}

.templeLocation .templeposition span#temple04 {
    right: 28.5%;
    top: 14.5%;
}

.templeLocation .templeposition span#temple05 {
    right: 28.6%;
    top: 17.5%;
}

.templeLocation .templeposition span#temple06 {
    right: 32.5%;
    top: 20%;
}

.templeLocation .templeposition span#temple07 {
    right: 33.9%;
    top: 20%;
}

.templeLocation .templeposition span#temple08 {
    right: 37.5%;
    top: 18%;
}

.templeLocation .templeposition span#temple09 {
    right: 38%;
    top: 21.8%;
}

.templeLocation .templeposition span#temple10 {
    right: 40.7%;
    top: 20.8%;
}

.templeLocation .templeposition span#temple11 {
    right: 36.3%;
    top: 28.8%;
}

.templeLocation .templeposition span#temple12 {
    right: 40%;
    top: 38%;
}

.templeLocation .templeposition span#temple13 {
    right: 26%;
    top: 31%;
}

.templeLocation .templeposition span#temple14 {
    right: 25%;
    top: 29.7%;
}

.templeLocation .templeposition span#temple15 {
    right: 25.4%;
    top: 28.1%;
}

.templeLocation .templeposition span#temple16 {
    right: 23.8%;
    top: 27%;
}

.templeLocation .templeposition span#temple17 {
    right: 23.2%;
    top: 24.2%;
}

.templeLocation .templeposition span#temple18 {
    right: 16%;
    top: 38.2%;
}

.templeLocation .templeposition span#temple19 {
    right: 13.5%;
    top: 40.2%;
}

.templeLocation .templeposition span#temple20 {
    right: 22%;
    top: 48%;
}

.templeLocation .templeposition span#temple21 {
    right: 20.8%;
    top: 51.8%;
}

.templeLocation .templeposition span#temple22 {
    right: 15.4%;
    top: 56.2%;
}

.templeLocation .templeposition span#temple23 {
    right: 20.9%;
    top: 73.6%;
}

.templeLocation .templeposition span#temple24 {
    right: 7.3%;
    top: 52.2%;
}

.templeLocation .templeposition span#temple25 {
    right: 8.8%;
    top: 49.9%;
}

.templeLocation .templeposition span#temple26 {
    right: 10.2%;
    top: 47.4%;
}

.templeLocation .templeposition span#temple27 {
    right: 19.2%;
    top: 34.4%;
}

.templeLocation .templeposition span#temple28 {
    right: 34.4%;
    top: 24.7%;
}

.templeLocation .templeposition span#temple29 {
    right: 39%;
    top: 24.2%;
}

.templeLocation .templeposition span#temple30 {
    right: 42.2%;
    top: 23.8%;
}

.templeLocation .templeposition span#temple31 {
    right: 42.2%;
    top: 28.2%;
}

.templeLocation .templeposition span#temple32 {
    right: 40.2%;
    top: 29%;
}

.templeLocation .templeposition span#temple33 {
    right: 44.3%;
    top: 31.2%;
}

.templeLocation .templeposition span#temple34 {
    right: 47.7%;
    top: 32.2%;
}

.templeLocation .templeposition span#temple35 {
    right: 52.4%;
    top: 30.5%;
}

.templeLocation .templeposition span#temple36 {
    right: 50.6%;
    top: 37.9%;
}

.templeLocation .templeposition span#temple37 {
    right: 68.5%;
    top: 56%;
}

.templeLocation .templeposition span#temple38 {
    right: 75.7%;
    top: 96%;
}

.templeLocation .templeposition span#temple39 {
    right: 89.6%;
    top: 76.2%;
}

.templeLocation .templeposition span#temple40 {
    right: 67.1%;
    top: 93.4%;
}

.templeLocation .templeposition span#temple41 {
    right: 65%;
    top: 66.7%;
}

.templeLocation .templeposition span#temple42 {
    right: 65.5%;
    top: 65.6%;
}

.templeLocation .templeposition span#temple43 {
    right: 69.2%;
    top: 60.8%;
}

.templeLocation .templeposition span#temple44 {
    right: 46%;
    top: 38.3%;
}

.templeLocation .templeposition span#temple45 {
    right: 42.2%;
    top: 38.8%;
}

.templeLocation .templeposition span#temple46 {
    right: 51.5%;
    top: 30.8%;
}

.templeLocation .templeposition span#temple47 {
    right: 51.9%;
    top: 29.9%;
}

.templeLocation .templeposition span#temple48 {
    right: 52.1%;
    top: 27.3%;
}

.templeLocation .templeposition span#temple49 {
    right: 51%;
    top: 25.8%;
}

.templeLocation .templeposition span#temple50 {
    right: 52.4%;
    top: 24.8%;
}

.templeLocation .templeposition span#temple51 {
    right: 53.1%;
    top: 23.1%;
}

.templeLocation .templeposition span#temple52 {
    right: 57.9%;
    top: 20.5%;
}

.templeLocation .templeposition span#temple53 {
    right: 56%;
    top: 19.9%;
}

.templeLocation .templeposition span#temple54 {
    right: 43.1%;
    top: 5.4%;
}

.templeLocation .templeposition span#temple55 {
    right: 41.8%;
    top: 5.8%;
}

.templeLocation .templeposition span#temple56 {
    right: 42.2%;
    top: 7.1%;
}

.templeLocation .templeposition span#temple57 {
    right: 42.1%;
    top: 9.2%;
}

.templeLocation .templeposition span#temple58 {
    right: 42.5%;
    top: 10.6%;
}

.templeLocation .templeposition span#temple59 {
    right: 39.2%;
    top: 8.6%;
}

.templeLocation .templeposition span#temple60 {
    right: 34%;
    top: 23.9%;
}

.templeLocation .templeposition span#temple61 {
    right: 35.2%;
    top: 20%;
}

.templeLocation .templeposition span#temple62 {
    right: 33.9%;
    top: 19%;
}

.templeLocation .templeposition span#temple63 {
    right: 32.8%;
    top: 19.5%;
}

.templeLocation .templeposition span#temple64 {
    right: 31.2%;
    top: 19.9%;
}

.templeLocation .templeposition span#temple65 {
    right: 5.8%;
    top: 14%;
}

.templeLocation .templeposition span#temple66 {
    right: 80%;
    top: 93%;
}

.templeLocation .templeposition span#temple67 {
    right: 81.7%;
    top: 83%;
}

.templeLocation .templeposition span#temple68 {
    right: 89.7%;
    top: 76.5%;
}

.templeLocation .templeposition span#temple69 {
    right: 88.7%;
    top: 74.5%;
}

.templeLocation .templeposition span#temple70 {
    right: 84%;
    top: 75.4%;
}

.templeLocation .templeposition span#temple71 {
    right: 80.6%;
    top: 58.2%;
}

.templeLocation .templeposition span#temple72 {
    right: 77.6%;
    top: 59.2%;
}

.templeLocation .templeposition span#temple73 {
    right: 78.6%;
    top: 61.5%;
}

.templeLocation .templeposition span#temple74 {
    right: 75.8%;
    top: 57.3%;
}

.templeLocation .templeposition span#temple75 {
    right: 75.2%;
    top: 59.8%;
}

.templeLocation .templeposition span#temple76 {
    right: 73.5%;
    top: 54.5%;
}

.templeLocation .templeposition span#temple77 {
    right: 75.6%;
    top: 49.8%;
}

.templeLocation .templeposition span#temple78 {
    right: 68.6%;
    top: 43.3%;
}

.templeLocation .templeposition span#temple79 {
    right: 63.1%;
    top: 44%;
}

.templeLocation .templeposition span#temple80 {
    right: 56.3%;
    top: 44.2%;
}

.templeLocation .templeposition span#temple81 {
    right: 57.8%;
    top: 38.5%;
}

.templeLocation .templeposition span#temple82 {
    right: 52.8%;
    top: 37.8%;
}

.templeLocation .templeposition span#temple83 {
    right: 46.8%;
    top: 47%;
}

.templeLocation .templeposition span#temple84 {
    right: 38.5%;
    top: 33%;
}

.templeLocation .templeposition span#temple85 {
    right: 33.5%;
    top: 33.8%;
}

.templeLocation .templeposition span#temple86 {
    right: 28.5%;
    top: 40.8%;
}

.templeLocation .templeposition span#temple87 {
    right: 30.1%;
    top: 49.8%;
}

.templeLocation .templeposition span#temple88 {
    right: 26.7%;
    top: 64.1%;
}

/*===============================================================================================TAB=====*/
.tabcontent {
    /*  display: none;*/
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Style the tab */
.tab {
    float: left;
    width: 30%;
    padding: 0 20px;
    max-width: 200px;
    position: -webkit-sticky;
    position: sticky;
    ;
    top: 100px;
}

/* Style the buttons inside the tab */
.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 10px;
    width: 100%;
    border: none;
    outline: none;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #CD8428;
    color: white;
}

.tab button:focus {
    outline: none;
}

/* Create an active/current "tab button" class */
.tab button.active {
    background-color: #CD8428;
    color: white;
}

/* Style the tab content */
.tabcontent {
    border-left: none;
}

.nav-tabs.tab {
    border: 0;
}

.lg-outer .lg-sub-html {
    z-index: 1080;
    top: 0;
}

.lg-outer.lg-slide.lg-pull-caption-up.lg-thumb-open .lg-sub-html {
    top: 50px;
    bottom: inherit;
}

.lg-outer.lg-slide.lg-pull-caption-up .lg-sub-html {
    -webkit-transition: top 0.25s ease;
    -o-transition: top 0.25s ease;
    transition: top 0.25s ease;
}



@media screen and (min-width: 800px) {
    #tablinks-toggle {
        display: none !important;
    }

    #tablinks-wrapper.d-none {
        display: block !important;
    }
}

@media screen and (max-width: 1216px) {
    .content .rightSide {
        width: 79%;
    }
}

@media screen and (max-width: 1000px) {

    .gallery>ul>li,
    .temple>ul>li {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media screen and (max-width: 969px) {
    .content .tab {
        max-width: 162px;
    }

    .book2button li a {
        width: 90%;
    }

    #about3 table tr td:first-child {
        width: 75px;
    }

    #about3 table tr td:nth-child(2) {
        width: 95px;
    }

    #about3 table tr td:nth-child(3) {
        width: 95px;
    }

    #about3 table tr td:nth-child(4) {
        width: 60px;
    }

    #about3 table tr td:nth-child(5) {}

    #about3 table tr td:nth-child(6) {
        width: 100px;
    }
}

@media screen and (max-width: 865px) {
    .temple>ul>li {
        width: 180px;
    }

    .temple>ul#temple1a1>li {
        width: auto;
    }

    .temple>ul#temple1b1>li {
        width: auto;
    }

    .temple>ul#temple1c1>li {
        width: auto;
    }

    .temple>ul#temple1d1>li {
        width: auto;
    }

    header {
        text-align: center;
    }

    header .logo {
        height: 66px;
    }

    header .logo img {
        height: 66px;
    }

    header .navBar {
        position: inherit;
    }

    header.header2 .navBar {
        position: absolute;
    }

    .js header.header2 .nav-collapse.closed {
        margin-top: 0px;
        /* display: block; */
        width: auto;
        position: unset;
        margin-top: 16px;
    }

    header.header2 .logo {}
}

@media screen and (max-width: 799px) {
    .content {
        margin-bottom: 0;
    }

    header {
        height: 50px;
        position: fixed;
    }

    header .logo {
        height: 50px;
    }

    header .logo img {
        height: 50px;
    }

    header .backgroundImg {
        height: 50px;
    }

    header .navBar ul {
        background-color: #454444;
    }

    header .navBar ul a li {
        color: #fff;
        border-bottom: 0;
        padding: 0;
    }

    header .navBar ul a.active li {
        color: #fff;
        border-bottom: 0;
        padding: 0;
    }

    header .navBar ul a.active {
        background-color: #CD8428;
    }

    header .navBar ul a:hover li {
        color: #fff;
        border-bottom: 0;
        padding: 0;
    }

    header .navBar ul a:hover {
        background-color: #CD8428;
    }

    .content {
        padding-top: 50px;
    }

    .js .nav-collapse {
        position: relative;
    }

    header.header2 .navBar {
        position: unset;
    }

    .content .rightSide {
        float: none;
        width: 100%;
        background-color: rgba(204, 204, 204, 0.50)
    }

    .content .tab {
        float: none;
        width: 100%;
        max-width: 100%;
        padding: 0;
        top: 50px;
        z-index: 110;
        cursor: pointer;
        -webkit-box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.75);
    }

    #homepage #intro a img#keywork2 {
        animation: blinker2 7s linear infinite;
        width: auto;
        height: 100%;
        position: absolute;
        top: -0.5vh;
        left: 5vw;
    }

    #homepage #intro a img#keywork1 {
        display: none;
    }

    .contentHeaderImg {
        margin-bottom: 0;
    }

    #about3 table tr th {
        top: 95px;
    }

    #about4 .aboutBook.btn {
        width: 100%;
        float: none;
        padding: 0;
    }

    #about4 #aboutBook2 {
        margin: 20px 0;
    }

    /*
  .tab.nav-tabs {
    overflow: hidden;
    position: relative;
    width: 175px;
    display: flex;
    flex-direction: column;
  }
*/
    .tab.nav-tabs:before {
        color: #fff;
        content: "☰"
            /* "Three Line Menu Navicon" shows up */
        ;
        position: absolute;
        right: 15px;
        top: 12px;
        z-index: 116;
        pointer-events: none;
    }

    #tablinks-toggle {
        position: -webkit-sticky;
        position: sticky;
        ;
        top: 50px;
        width: 100%;
        height: 50px;
        background-color: #cd8428;
        z-index: 110;
    }

    #tablinks-toggle .text-white {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .tab.nav-tabs:hover,
    .tab.nav-tabs:focus {
        /*    height: 148px;*/
    }

    /*
  .tab.nav-tabs:hover button,
  .tab.nav-tabs:focus button {
    display: block;
    z-index: 1;
  }
*/
    .tab.nav-tabs button {
        /*    order: 2;*/
        float: none;
        /*    display: none;*/
        background-color: #E4B375
    }

    .tab.nav-tabs button:hover {
        color: #fff;
        background-color: #cd8428;
    }

    .tab.nav-tabs button.active {
        /*
    order: 1;
    display: none;  One buttonnk per "row"
*/
        border: 0;
        z-index: 1
            /*Active tab is on top*/
        ;
    }

    .tab.nav-tabs button.active {
        color: #fff;
        background-color: #cd8428;
        box-sizing: border-box;
    }

    /*
  .tab.nav-tabs a {
    position: absolute  Stack buttonnks on top of each other ;
    height: 37px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  */
    #homepage.content {
        padding: 0 20px;
    }

    #homepage #intro a {
        text-decoration: none;
    }

    #homepage #intro #content {
        position: inherit;
        width: 100%;
        background-color: #cd8428;
        padding: 20px;
    }

    #homepage #intro1 #content {
        position: inherit;
        width: 100%;
        background-color: #cd8428;
        padding: 20px;
    }

    #homepage #intro1 #content h1{
        font-weight: bold;
        font-size: 36px;
        padding: 0;
        background-color: #cd8428;
        text-decoration: none;
    }

    #homepage #intro1 a:hover{
        text-decoration: none;
    }

    #homepage .more {
        text-align: center;
        left: 5%;
        width: 90%;
        padding: 10px;
    }

    #homepage .homeTemple .more,
    #homepage .homeGallery .more {
        text-align: center;
        width: 100%;
        left: 0;
        bottom: -44px;
    }

    #homepage .row .column {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    #homepage .row .column p:last-of-type {
        margin-bottom: 50px;
    }

    .temple>.temple88 {
        margin-top: 40px;
    }

    .temple>ul.temple88>li {
        display: inline-block;
        margin-right: 10px;
    }

    .templeLocation .templeposition {
        float: none;
        width: 100%;
        top: 20px;
        position: relative;
    }

    .templeLocation .templeposition .templelocaImg {
        display: none;
    }

    #temple1d.templeLocation .templelocaImg {
        bottom: 10px;
    }

    .book2button li {
        width: 50%;
    }

    .book2button li a {
        margin-left: 5%;
    }

    .desktopVer {
        display: none;
    }

    .mobileVer {
        display: block;
    }

    .tab button.desktopVer {
        display: none;
    }

    .tab button.mobileVer {
        display: block;
    }

    .row .col-sm-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .row .col-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .row .col-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}