@CHARSET "ISO-8859-1";
/* Reset CSS
 * --------------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}
a{
	text-decoration:none;
}
table {
    border-spacing: 0;
}

input, textarea { opacity:0.8;}
#navbar-collapse-1 { font-size: medium;}
.section.table { margin: 0;}
.controlArrow { opacity: 0.5;}
.controlArrow:hover { opacity: 1;}

@font-face {
    font-family: "MyFont";
    src: url(fonts/LoveloLineBold.otf) format("truetype");
}

@font-face {
    font-family: "Kanit";
    src: url(fonts/Kanit-Light.ttf) format("truetype");
}

#tammarene{
  font-family: "MyFont" !important;
  font-size: 8rem;
}
/* Custom CSS
 * --------------------------------------- */
body{
	font-family: "Kanit";
	color: #333;
	color: rgba(0,0,0,0.5);
  background-color: #ffeaca;
}
p{
  font-size: 18px;
}
h5,h4,h3,h2,h1{
  font-weight: bold;
}
.wrap{
	margin-left: auto;
	margin-right: auto;
	width: 960px;
	position: relative;
}
/*
.intro p{
	width: 50%;
	margin: 0 auto;
}*/
.section{
	text-align:center;
}

.navbar-nav>li>a.active {
  background-color: #3e3d3d;
}

/*-----------------------modal-------------------*/

.fp-enabled .modal{
   position:fixed !important;
}

.modal {
    padding-top: 100px; /* Location of the box */
}

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

/*------------------------------------------------*/

#topics{
  position: absolute;
  top: 5%;
  left: 20%;
  right: 20%;
}

#content{
  position: absolute;
  top: 18%;
  left: 20%;
  right: 20%;
}

/*------------------------index-----------------*/
#logo{
  font-family: "MyFont" !important;
}

#carousel_index {
  width: 100%;
  height: 50%;
  position: absolute;
  top: 50px;
}
#content_index {
  position: relative;
  top: 60%;
}

.img {
  margin: 5px;
  cursor: pointer;
  max-width: 250px;
}

.img:hover {
	opacity: 0.4;
  transition: all .5s;
}

#photo {
 -moz-column-width: 18em;
 -webkit-column-width: 18em;
 -moz-column-gap: 1em;
 -webkit-column-gap:1em;
  margin: 70px 50px;
  overflow: hidden;
}

#indexphoto{
  overflow: scroll;
  /*height: 1000px !important*/
}

#indexphoto::-webkit-scrollbar {
  width: 0 !important;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}

@media(max-width:1024px) {

  /*#indexphoto{
    height: 100%
  }*/
}

/*--------------------prayer--------------------*/
#btn{
  width: 25px;
  position: absolute;
  top: 100px;
  left: 350px;
  border: 1px solid #ddd;
  text-align: center;
  padding: 5px;
  z-index: 100;
  background-color: white;
}

.box-pray2 {
  border-bottom: 1px solid #8c8c8c;
  padding-bottom: 10px;
}
#list{
  position: absolute;
  width: 350px;
  height: 99%;
  overflow: hidden;
}

#list_pray,#knowledge{
  position: absolute;
  top: 100px;
  left: 0px;
  width: 300px;
  text-align: center;
  background-color: #222222;
  z-index: 50;
  margin: 0px 50px;
  height: 85%;
  overflow-y: auto;
  color: white;
}

#list_pray::-webkit-scrollbar,#knowledge::-webkit-scrollbar {
  display: none;
}

.list-group a {
  background-color: #222222;
  color: white;
  font-size: 16px;
}
.list{
  cursor: pointer;
}
.list.clicked ,.list.active{
  background-color: rgb(255, 180, 64);
  color: black;
  /*border: none;*/
}
.list-group-item:first-child{
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

#pray{
  position: absolute;
  top: 100px;
  left: 25%;
  right: 10px;
  text-align: center;
  /*border: 1px solid #eee;*/
  margin: 0px 35px 35px;
  z-index: 2;
}

button {
  margin: 2px
}

/*---------------------gallery-----------------*/

#touch_gallery img{
  height: 200px;
  margin: 15px 5px 20px;
}

/*------------------------product-------------------*/


#list_ebook{
  position: absolute;
  width: 350px;
  height: 99%;
  overflow: hidden;
  top: 100px;
}

#product_ebook img{
  width: 15%;
  margin: 5px;
  cursor: pointer;
  float: left;

}
#product_ebook{
  position: absolute;
  left: 400px;
  top: 70px;
}

#product1{
  margin: 0px 200px;
  position: relative;
}
#product1 img{
  height: 180px;
  margin: 5px;
  cursor: pointer;
}

#product3 {
  margin: 0px 200px;
  position: relative;;
  top: -130px;
   /*margin-right: 80%; */
  /* margin-left: 25%;*/
}

#product3 img{
  height: 350px;
  margin: 10px;
  cursor: pointer;
}

#section_product1,#section_product1,#section_product3{
  display: none;
}

.thumbnails img {
		height: 40px;
    margin: 5px;
	}

.thumbnails img:hover {
		cursor:pointer;
}

.preview img {
		margin: 1px;
    height: 175px
}

#content_product{
  position: absolute;
  top: 100px;
  right: 20%;
}

#productsidebar{
  position: absolute;
  left: 0px;
  width: 300px;
  text-align: center;
  background-color: #222222;
  z-index: 50;
  margin: 0px 50px;
  height: 85%;
  overflow-y: auto;
  color: white;
  display: none;
}

#btn_ebook{
  width: 25px;
  position: absolute;
  left: 300px;
  border: 1px solid #ddd;
  text-align: center;
  padding: 5px;
  z-index: 100;
  background-color: white;
}

#dhammafriend_ebook{
  /*margin-right: 30%;
  margin-bottom: 50px;
  margin-top: 50px;*/
  margin: 50px 50px;
}

/*-------------------------knowledge---------------*/
#knowledge_topic{
  position: relative;
  top: 45%;
  font-size: 30px;
  color: #222222;
}

#content_knowledge {
  position: absolute;
  top: 100px;
  left: 25%;
  right: 10px;
  margin: 0px 35px 35px;
}
#content_knowledge2{
  margin: 10px;
  text-align: center;
  cursor:pointer;
}

#content_knowledge2 img{
  height: 200px;
  cursor: pointer;
  margin: 10px;
}


#knowledge .list-group-item.active {
  z-index: 2;
  color: #222;
  background-color: rgb(255, 180, 64);
  border-color: rgb(255, 180, 64);
}

.zoomimg {
  display: inline-block;
  width: 200px;
  height: 200px;
  padding: 0px 5px 0px 5px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all .5s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.zoomimg:hover {
  cursor: pointer;
  background-size: 150% 150%;
  -moz-box-shadow: inset 0 0 100px 100px rgba(225, 224, 0, 0.3);
  -webkit-box-shadow: inset 0 0 100px 100px rgba(225, 224, 0, 0.3);
  box-shadow: inset 0 0 100px 100px rgba(225, 224, 0, 0.3);
  }

/*--------------------------@media-----------------*/

@media(max-width:1024px) {

  #tammarene{
    font-size: 4rem;
  }

  #content{
    position: absolute;
    top: 20%;
    left: 0px;
    right: 0px;
    padding: 0px 30px;
  }
  #btn{
    width: 30px;
    height: 33px
    position: absolute;
    top: 100px;
    left: 300px;
    border: 1px solid #ddd;
    text-align: center;
    padding: 5px;
    z-index: 100;
    background-color: white;
  }
  #btn_ebook{
    width: 30px;
    height: 33px;
    position: absolute;
    left: 300px;
    border: 1px solid #ddd;
    text-align: center;
    padding: 5px;
    z-index: 100;
    background-color: white;
  }
  #pray,#content_knowledge{
    left: 0%;
    top: 110px;
    /*text-align: center;*/
    right: 0px;
    /*margin-left: 5%;*/
  }
  #list_pray,#knowledge{
    left: 0%;
    top: 100px;
    text-align: center;
    margin: 0px 0px;
  }
  #productsidebar{
    left: 0%;
    text-align: center;
    margin: 0px 0px;
    width: 200px;
  }

  .preview img {
    width: 150px;
    height: 130px
  }

  #product1{
    position: relative;;
    top: 50px;
    margin: 0px;
    height: 1000px;
    overflow: scroll;
  }

  #product3{
    /*padding: 0px;*/
    margin: 0px 15px;
    position: relative;
    /*left: 5%;*/
    top: 0px;
    /*right: 10%;*/
  }

  #product2 {
    padding: 0px;
    position: relative;
    top: 0px;
  }

  #product3 img{
    height: 180px;
  }

  #product_ebook img{
    width: 30%;
  }

  #product1 img{
    width: 60%;
    height: auto;
  }

  #product_ebook{
    position: relative;
    left: 5%;
    /*top: 100px;*/
  }

  #book{
    height: 800px;
    overflow: scroll;
  }

  #list{
    position: absolute;
    width: 300px;
    height: 99%;
    overflow: hidden;
  }

  #dhammafriend_ebook{
    margin-left: 5px;
    margin-right: 10%;
    margin-top: 50px;
  }

  #list_ebook{
    position: absolute;
    left: 0px;
    width: 300px;
    height: 99%;
    overflow: hidden;
    top: 100px;
  }

}

@media(max-width:323px){
  #list{
    position: absolute;
    width: 300px;
    height: 99%;
    overflow: hidden;
  }
  #pray {
    position: absolute;
    top: 110px;
    left: 15%;
    right: 15%;
    text-align: center;
  }
  .preview img {
    margin: 1px;
    width: 165px;
    height: 140px;
  }
  .thumbnails img {
  		height: 22px;
  	}
}

/*---------------------Carousel----------------*/

.carousel-inner>.item>img{
  width: 100%;
  height: 100%;
}

.full-screen {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel,
.item,
.active {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.fill {
  width: 100%;
  height: 100%;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
