/*     IMAGE SCALING 
---------------------------- */
img {
	border:0;
	outline:0;
	margin:0;
	padding:0;
	vertical-align:middle;
    }
img.scale { 	/* class works on "img" only */
  /* corrects inline gap in enclosing div */
  display: inline-block;
  max-width: 100%;
  /* just in case, to force correct aspect ratio */
  height: auto !important;
  width: auto\9; /* ie8+9 */
  /* lt ie8 */
  -ms-interpolation-mode: bicubic; 
  }
.RS img {  	/* class works on "block-elements" DIV only */
  width:auto;  
  max-width:40%;
  height: auto;
  width: auto\9; /* ie8 */
  object-fit: contain;
  border:0;
  overflow: hidden;
  text-align:left;
  border:0; /* Remove border on imgs enclosed in anchors in IE */
  display: inline-block;
  }

::-moz-selection{background: #DD4B8A; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;}

hr {border-top: 1px solid #ccc;}

body{background: #efefef url(../img/bg-tile.jpg) repeat fixed;}

a { color: #000; text-decoration: none; outline: none; }

p {padding-bottom: 18px;}
h1 { font-size: 26px; line-height: 26px;}
h2 { font-size: 24px; line-height: 24px;}
h3 { font-size: 20px; line-height: 20px;}
h4 { font-size: 18px; line-height: 18px;}
h5 { font-size: 16px; line-height: 16px;}
h6 { font-size: 14px; line-height: 14px;}

.small{ font-size:11px !important;}
.red{ color:#F00 !important;}
.border-box{ border:1px solid #ccc; padding:10px;}

header{float:left; width:100%;}

/* Start Menu 
----------------- */

.menu {position:relative; --float:left; display:inline-block;text-align:center;}

#menu, #menu ul { margin: 0; padding: 0; list-style: none; }
#menu {float:none; display:inline-block;}
#menu:before,  #menu:after { content: ""; display: table; }
#menu:after { clear: both; }
#menu { zoom: 1; }
#menu li {float: left; position: relative; /* ALTERNATIVELY FLOAT RIGHT */}
#menu a {
	float: left; 
	margin:1px;
	padding: 6px 12px;
	color: #fff;
	text-decoration: none;
	font-family:Arial;
	font-size: 16px;
        }
#menu a:hover,.menu-active{ background:#C1ECF4 !important; color:#000 !important; 
 transition: .2s background-color;  /* gives background transition bei hover, needs to be in a tag */ 
 -moz-border-radius: 3px; -webkit-border-radius: 3px; -goog-ms-border-radius: 3px; border-radius: 3px;} 
#menu li:hover > a { color: #fafafa;}
*html #menu li a:hover { /* IE6 only */ color: #fafafa; }
#menu ul { margin: 20px 0 0 0; _margin: 0; /*IE6 only*/ opacity: 0; visibility: hidden; position: absolute; top: 44px; left: 0; z-index: 9999999; background: #DD4B8A; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out; }

ul li {border-right: 1px solid gray;}
ul li:last-of-type {border-left: none;}

#menu li:hover > ul { opacity: 1; visibility: visible; margin: 0;}
#menu ul ul { top: 0; left: 130px; margin: 0 0 0 20px; _margin: 0; /*IE6 only*/  }
#menu ul li {float: none; display: block; border: 0; _line-height: 0; /*IE6 only*/}
#menu ul li:last-child { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
#menu ul a { padding: 10px; width: 165px; _height: 10px; /*IE6 only*/ display: block; white-space: nowrap; float: none; text-transform: none;}
#menu ul a:hover { background-color: #C1ECF4;}
#menu ul li:first-child > a {}
#menu ul li:first-child > a:after { content: ''; position: absolute; left: 40px; top: -6px;}
#menu ul ul li:first-child a:after { left: -6px; top: 50%; margin-top: -6px; }
#menu ul li:first-child a:hover:after { border-bottom-color: #04acec; }
#menu ul ul li:first-child a:hover:after { border-right-color: #0299d3; border-bottom-color: transparent; border-right:2px solid yellow;}
#menu ul li:last-child > a {  }

/* Mobile */
#menu-trigger { display: none; }.slicknav_menu {display:none;}
/* End Menu*/

.main-header{background:#ffffff url(../img/books-header1_m.png) repeat-x left top; border-bottom:1px solid #F7D842;float:left; width:100%;}

.swami{float:left;}
.logo{float:left;margin-left: 285px;margin-top: 10px;}
.krishna{float:right;}
.content{width:100%; float:left;background:#fff;}


.inner-content{
	padding:10px 20px;
	}
.about-content{
	background:f0f0f0;
	padding: 13px;
	background:#f6f6f6;
	text-align:left;
	margin:0 30px;
	border-top:1px dotted green;
	}

.about-content p {
	font-family: 'Sarabun', sans-serif;
	font-weight: 300;
	font-size: 1.25em;
	line-height:1.36;
	color: #333333;
	letter-spacing:.01rem;    /* mozilla only */ 
	overflow-wrap:break-word;
	word-wrap:break-word;
  	-ms-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; 
	/* NEEDED in HEADER <html class="no-js" lang="de"> */ 
	}
.about-content a{ /* style for LINK */
	font-family: 'Sarabun';
	color:#990000;
 	text-decoration: none;
	border-bottom: 1px #990000 dashed;
   }
   
.slider{width:100%; float:left;}

.services-content{
	width:100%;
	float:left;
}
.services-content ul li {
	width: 160px;
	margin: 20px 10px;
	float:left;
	}
.services-data a {color: #000000;font-weight: 800;padding-left: 10px;} 
.services-data {border-bottom: 2px solid #F7D842;float: left;padding-top: 15px;width: 100%;}

.title {
	width: 370px;
	margin:0 auto;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 5px;
	background:#fefefe;
	border-bottom: 1px dotted green;
	padding:5px 0;
	}
.title span {font-family: 'Sarabun'; font-size:1.35em; line-height:1.35em; color:#19576C;}

.footer{width:100%; float:left;}
.inner-footer {float: left;padding: 5px 0;width: 100%;}
.footer-left-part{float:left;}
.footer-right-part{float:right; width: 25%;}

.copyright{
	color:#333333;
	font-size: 14px;
	line-height:21px;
	float:left;
	padding-top:7px;
	padding-left:45px;
	width: 600px;
	height:30px;
	}
.icons {float: right;}
.icons span {
	color: #333333;
	float: right;
	font-size: 14px;
	line-height:21px;
	padding-right: 45px;
	padding-top: 7px;
	width: 250px;
	height:30px;
	}

.alignright{float:right;}
.icons ul li a, .icons ul li a:hover{background-repeat: no-repeat;float:left;text-indent:-110px; overflow:hidden; 
 height:32px;width: 36px;height: 45px; background-image:url(new-soci.png);}

/*Inner Pages*/
.left-content{width:620px; float:left;}
.right-content{width:300px; float:right; margin-left: 20px;}
.right-content .services-content{float:right;}
.right-content .data-box{float:left;width:100%;}
.content-box{width:100%; float:left;margin-bottom:20px;}
.left-content .content-box .databox{width:620px;}
.data-box{border: 1px solid #DCDCDC; border-bottom:2px solid #F7D842; padding:20px 20px 2px; text-align:justify;}
.photog-box{float:left;}
.photo-data{width:100%; overflow:hidden;}
.photo-data img {float: left;margin-right: 20px;  padding-bottom: 20px;}
.photo-data p {font-size: 12px;}
.data-box p{font-size:12px;}
.download-historybook {float: left;width: 100%;}
.right-content .historybook-ul {padding-top:0;}
.historybook-ul {float: left;padding: 20px 0;width: 100%;}
.historybook-ul li {background: none repeat scroll 0 0 #F0F0F0;border: 1px solid #DCDCDC;float: left;
margin-right: 20px; padding:20px;width:272px;}
.historybook-ul img {float: left;margin-right: 20px;}
.historybook-ul a {float: left; font-size:15px;font-family: 'Sarabun'; line-height: 22px;}
.historybook-ul a:hover{color:#DD4B8A;}
.download-historybook h2 {font-family: 'Sarabun';font-size: 16px;}
.lived-box{float:left;}
.live-darshan-video{width:100%;padding-bottom:20px;}
.live-video{width:100%;float:left;margin-bottom: 20px;}
.live-darshan-video  h2 {font-family: 'Sarabun';font-size: 14px;}
.darshan-time{width:100%;}
.darshan-time li{border-bottom:1px solid #dcdcdc;padding: 5px 0 7px 15px;background:url(images/rightarrow.png) no-repeat left center;}
.darshan-time a {font-size: 12px;}
.darshan-time li a:hover {
    background-color: #F9F9F9;
    background-position: 8px 9px;
    color: #0F62AC;
    padding-left: 15px;
    transition: all 0.1s linear 0s;
}
.darshan-time li a.selected{ color: #0F62AC;}
.border-none{border:none !important;}
.darshan-time p {color: #000000;padding-top: 10px;}

.full-content{width:940px; float:left;}
.management-box{float:left;width:940px;}
.management-title{width:100%;font-family: 'Sarabun';font-size: 16px; color:#DD4B8A;}
.management-ul{width:100%;margin-top:20px;  margin-bottom: 20px;}
.management-ul li{width:286px; float:left;border:1px solid #dcdcdc; margin-right: 17px; margin-bottom: 20px;height:350px;}
.management-detail {padding: 18px 20px 0 20px;}
.management-detail h2 {color: #000000;font-size: 16px; font-weight:800;}
.management-detail span {color: #DD4B8A;font-size: 14px;}
.management-detail p {font-size: 12px;}
.management-photo {border-bottom: 1px solid #DCDCDC;width: 100%;}

.fields {float: left;width: 100%;}
.field {float: left; margin-right: 20px; padding-bottom: 20px;}
.field label {float:left;margin-right:10px; width:49px;font-size: 12px;}
.field input {border: 1px solid #EAEAEA;float: left;height: 32px;padding: 0 10px;width: 198px;}
.full-field {clear: both;width: 100% !important;}
.full-field textarea {width:82%; border: 1px solid #EAEAEA; float: left;}
.field input[type="submit"]{width:97px; height:32px;background:#DD4B8A; color:#fff;font-family: 'Sarabun'; font-size:16px;border:none;}
.contact-box{float:left;}
.contact-detail {float: left;width: 579px;}
.contact-detail h3 {font-size: 16px;}
.phone-mail{width:100%;}
.phone-mail span {color: #000000;font-weight: 800;}
.contact-person {width: 579px; padding-bottom: 20px;}
.contact-person table th,td{text-align:left;}
.cperson-box{ margin-top: 20px; float:left;}
.page-title{width:100%; border-bottom:1px solid #DD4B8A; padding-bottom:20px;}
.page-title h2{color:#000; font-size:24px;font-family: 'Sarabun';}
.event-content{width:940px;}
.event-box{width:100%; margin-top: 20px;float: left;}
.event-box .data-box{float:left;}
.event-ul li {width: 460px;  float: left; margin-right: 20px; margin-bottom: 20px;}
.event-photo {float: left;  margin-right: 20px;}
.event-box .data-box{padding-bottom:20px;}
.event-detail span {font-size: 14px;font-weight: 800;}
.event-detail {float: left; width: 228px;}
.read-more {    background: none repeat scroll 0 0 #DD4B8A;color: #FFFFFF;float: left;padding: 6px 10px;font-family: 'Sarabun'; font-size:13px;}
.event-content .content-box{margin-bottom:0;}

/* Start Pagination*/
.pagination {margin:0;  padding-left: 0; width:100%; float:left;}
.pagination  li { display: inline;}
.pagination  li > a, .pagination  li > span {  background-color: #FFFFFF;  border-color: #DDDDDD;  border-image: none;
border-style: solid; border-width: 1px 1px 1px 0; float: left; line-height: 1.42857;  padding: 8px 15px; text-decoration: none;font-family: 'Sarabun'; color:#000;}
.pagination > li:first-child > a, .pagination > li:first-child > span { border-left-width: 1px;}
.pagination > li:last-child > a, .pagination > li:last-child > span {}
.pagination > li.active { color: #FFFFFF !important;}
.pagination > li > a:hover, .pagination > li > a:focus, .pagination > .active > a, .pagination > .active > span {
background-color: ##DD4B8A; color: #FFFFFF;}
.pagination > .active > a, .pagination > .active > span { color: #fff; cursor: default;}
.pagination > .disabled > span, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
 background-color: #FFFFFF;  color: #999999; cursor: not-allowed;}
.pagination-large > li > a, .pagination-large > li > span { font-size: 18px; padding: 14px 16px;}
.pagination-large > li:first-child > a, .pagination-large > li:first-child > span {}
.pagination-large > li:last-child > a, .pagination-large > li:last-child > span {}
.pagination-small > li > a, .pagination-small > li > span { font-size: 12px; padding: 5px 10px;}
.pagination-small > li:first-child > a, .pagination-small > li:first-child > span {}
.pagination-small > li:last-child > a, .pagination-small > li:last-child > span {}

/* End Pagination*/
.rightside-historybook ul li {margin-bottom: 20px;margin-right: 0;width:100%;display:block;}
.rightside-historybook ul li a{font-size:13px;}
.rightside-historybook .historybook-ul {margin-top: 0;}
.photo-gallery-title{width:100%;}
.photo-gallery {float: left;width: 100%;}
.photo-gallery-title h2 {border-bottom: 1px solid #F7D842;font-family: 'Sarabun'; font-size:16px;}
.photo-galleryul{margin-top:20px;}
.photo-galleryul  li{float:left;margin-right: 19px;}
.event-dtls {width: 580px;}
.event-date span {float: left;font-size: 16px;margin-top: 10px;width: 100%;}


/*-------ie-7-----------------*/
.ie7 .right-content .data-box{float:left;width:260px; -moz-box-sizing:none; -webkit-box-sizing:none; box-sizing: none;}
.ie7 .historybook-ul li {width: 220px;}
