/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */
















/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}



body {
/*	background: #49cbd9 url('../img/bg.jpg') center -218px no-repeat;*/
	background: #34b6c8 url('../img/bg.jpg') top center no-repeat;
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 12px;
}

#main {
	z-index:1;
	background: transparent url('../img/bg-temple.png') top center no-repeat;
	height: 100%;
	width: 100%;
}

#nav {
	width: 808px;
	height: 35px;
	margin: 0 auto;
}

#nav ul {
	list-style-type: none;
	height: 35px;
	width: 808px;
	margin: 0;
	padding: 0;
}

#nav ul li {
	float: left;
}

#nav ul li a {
	background-image: url('../img/nav-sprite.png');
	background-repeat: no-repeat;
	display: block;
	line-height: 35px;
	outline: none;
	border: none;
	height: 35px;
	font-size: 0;
}

#nav ul li a.home { width: 81px; background-position: 0 0px; }
#nav ul li a.foreword { width: 116px; background-position: -81px 0; }
#nav ul li a.history { width: 96px; background-position: -197px 0; }
#nav ul li a.temple-tour { width: 129px; background-position: -293px 0; }
#nav ul li a.photo-gallery { width: 147px; background-position: -422px 0; }
#nav ul li a.multimedia { width: 121px; background-position: -569px 0; }
#nav ul li a.contact-us { width: 118px; background-position: -690px 0; }

#nav ul li a.home.active, #nav ul li a.home:hover { background-position: 0 -35px; }
#nav ul li a.foreword.active, #nav ul li a.foreword:hover { background-position: -81px -35px; }
#nav ul li a.history.active, #nav ul li a.history:hover { background-position: -197px -35px; }
#nav ul li a.temple-tour.active, #nav ul li a.temple-tour:hover { background-position: -293px -35px; }
#nav ul li a.photo-gallery.active, #nav ul li a.photo-gallery:hover { background-position: -422px -35px; }
#nav ul li a.multimedia.active, #nav ul li a.multimedia:hover { background-position: -569px -35px; }
#nav ul li a.contact-us.active, #nav ul li a.contact-us:hover { background-position: -690px -35px; }

#clouds-holder, #birds {
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	height: 640px;
}

#clouds {
	margin: 0;
	padding: 0;
	position: relative;
	left: 0;
	top: 0;
	width: 5308px;
}

#clouds img {
	float: left;
}
#birds img {
	float: right;
}

#birds {
	top: 80px;
	right: 0;
	width: 2000px;
	z-index: 2;
	height: 88px;
}

section {
	display: none;
/*	background: transparent url('../img/bg-temple.png') top center no-repeat;*/
	z-index: 3;
	margin: 0 auto;
	width: 100%;
	/*height: 700px;*/
	/*height: 400px;*/
	text-align: center;
/*	background: transparent url('../img/bg-mountains.png') -172px 86px no-repeat;*/
/*	background: transparent url('../img/bg-mountains.png') center 40px no-repeat;*/
}

section .shadow {
	width: 889px;
	height: 100px;
	z-index: 2;
	position: absolute;
	bottom: -20px;
	left: -51px;
	background: transparent url('../img/bg-shadow.png') bottom center no-repeat;
}

section .container {
	width: 756px;
	margin: 40px auto;
	height: auto;
	color: #222;
	z-index: 3;
	position: relative;
	padding: 20px;
	border: 4px solid #fff;
	 -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: rgba(16, 49, 132, 0.2) 0 0 4px 4px;
  -webkit-box-shadow: rgba(16, 49, 132, 0.2) 0 0 4px 4px;
  -o-box-shadow: rgba(16, 49, 132, 0.2) 0 0 4px 4px;
  box-shadow: rgba(16, 49, 132, 0.2) 0 0 4px 4px;
  background: #fff;
	opacity: 0.9;
	background: rgba(255,255,255,0.9);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	filter:alpha(opacity=90); /* For IE8 and earlier */

	/*background: #f0f0f0;
	  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f0f0f0));
	  background: -webkit-linear-gradient(top, #ffffff, #f0f0f0);
	  background: -moz-linear-gradient(top, #ffffff, #f0f0f0);
	  background: -o-linear-gradient(top, #ffffff, #f0f0f0);
	  background: -ms-linear-gradient(top, #ffffff, #f0f0f0);
	  background: linear-gradient(top, #ffffff, #f0f0f0);*/
}

section .container img.image, #temple-tour iframe,
.gallery img, .thumbs img, .videos img {
	padding: 3px;
	border: 2px solid #fff;
	-moz-box-shadow: rgba(16, 49, 132, 0.2) 0 0 2px 2px;
  -webkit-box-shadow: rgba(16, 49, 132, 0.2) 0 0 2px 2px;
  -o-box-shadow: rgba(16, 49, 132, 0.2) 0 0 2px 2px;
  box-shadow: rgba(16, 49, 132, 0.2) 0 0 2px 2px;
	margin-bottom: 10px;
}

section .container h1 {
	color: #464646;
	text-transform: uppercase;
	font-size: 20px;
	text-align: left;
	margin: 0;
}

section .container a {
	text-decoration: none;
}

section .container small {
	font-size: 11px;
}

section .thumbs, section .gallery {
	z-index: 3;
	position: relative;
}

#home {
	display: block;
	padding-top: 80px;
}

#home img.bg {
	position: relative;
	top: -125px;
}

#home .header {
	display: block;
/*	padding-top: 65px;*/
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

#home .header img {
	width: 550px;
	margin: 0 auto;
	/*padding-right: 200px;*/
	display: none;
}

#home .header img.thath {
	display: block;
}

#home .header h1 {
	margin: 0;
	padding: 0;
	font-size: 30px;
}

#home .header h2 {
	font-size: 22px;
	margin: 0;
	padding: 0;
}

#foreword, #history, #temple-tour, 
#photo-gallery, #multimedia, #contact-us {
	/*background: transparent url('../img/bg-mountains.png') center -40px no-repeat;*/
}

#history .container, #temple-tour .container, 
#multimedia .container, #contact-us .container {
	padding: 40px 20px;
}

#foreword .col-one {
	width: 297px;
	position: relative;
	left: -24px;
	float: left;
	padding-top:20px;
	z-index: 3;
}

#foreword .col-one a.btn {
	display: block;
	position: relative;
	width: 297px;
	height: 40px;
	background-image: url('../img/btn-a-few-words.png');
	font-size: 0;
	top: -68px;
}

#foreword .col-one a.btn-a-few-words-en { background-position: 0 0; }
#foreword .col-one a.btn-a-few-words-en:hover, #foreword .col-one a.btn-a-few-words-en.active { background-position: 0 -80px; }
#foreword .col-one a.btn-a-few-words-punjabi { background-position: 0 -40px; }
#foreword .col-one a.btn-a-few-words-punjabi:hover, #foreword .col-one a.btn-a-few-words-punjabi.active { background-position: 0 -120px; }

#foreword .col-two {
	width: 450px;
	float: left;
	background: transparent url('../img/grad.png') top left repeat-y;
	padding-left: 33px;
	top: -24px;
	position: relative;
	right: 0px;
	margin: 0 0 -53px -24px;
	height: 620px;
}

#foreword .col-two p {
	text-align: left;
	font-size: 10px;
}

#foreword .punjabi, #foreword .en {
	overflow-y: auto;
	height: 540px;
	padding: 20px 0;
	display: none;
}

#foreword .en {
	display: block;
}

#history a {
	color: #222;
	text-decoration: none;
	outline: none;
}

#history .col-two {
	width:510px;
	margin:0 auto;
	padding-top:20px;
	padding-bottom: 40px;
}

#history .col-two p {
	text-align:center;
	width:255px;
	float:left;
}

#history .col-three {
	margin:0 auto;
	padding:20px 0;
	z-index: 3;
	position: relative;
}

#history .col-three p {
	width: 252px;
	margin:0 auto;
	float: left;
	text-align: center;
}

#temple-tour .container h1 {
	margin-bottom: 20px;
	margin-left: 66px;
}

#temple-tour iframe {
	z-index: 3;
}

#temple-tour .thumbs {
	width: 619px;
	margin: 0 auto;
	text-align: left;
}

#temple-tour .thumbs img {
	width: 107px;
	height: 79px;
	margin-right: 4px;
}

#temple-tour .thumbs img.last {
	margin-right: 0;
}

#photo-gallery .gallery,
#multimedia .gallery,
#multimedia .videos {
	width: 650px;
	margin: 20px auto;
	text-align: left;
}

#photo-gallery .gallery img,
#multimedia .gallery img,
#multimedia .videos img {
	width: 107px;
	height: 79px;
	margin-left: 10px;
}

#photo-gallery .gallery {
	margin: 50px auto;
}

#multimedia .container h1 {
	margin-bottom: 20px;
	margin-left: 60px;
}

#contact-us .container {
	text-align: left;
}

#contact-us iframe.maps {
	border: 2px solid #cacaca;
	margin: 25px auto;
	width: 752px;
}
