/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */


@import url(http://fonts.googleapis.com/css?family=Muli:300,400);
@import url(http://fonts.googleapis.com/css?family=Signika+Negative:600);



html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Authors custom styles
   ========================================================================== */


html {
       overflow-y: scroll;
	   }
body	{
	font-family:'Muli', Arial, Helvetica, Geneva, sans-serif;
	font-size: 100%;
	font-size: 18px; /* Scale origin */
	line-height:2;
	-webkit-font-smoothing:antialiased;
	-webkit-backface-visibility:hidden;
    text-rendering: optimizeLegibility;
	background-image:url(../img/bg-texture.png), url(../img/background-gradation.png);
	background-repeat:repeat, repeat-x;
	background-color:#fff;
	height:100%;
	text-align:center;
	color: rgba(0,0,0,1);
	margin: 0;
}



#wrapper	{
max-width: 1185.920px;
margin:0 auto;
}

#container	{
z-index:0;
overflow:hidden;
}


img	{
	position: relative;
	max-width:100%;
	width:auto;/* for ie 8 */
	height:auto;
    -webkit-box-shadow: 2px 4px 16px rgba(0,0,0,0.4);
    -moz-box-shadow: 2px 4px 16px rgba(0,0,0,0.4);
    box-shadow: 2px 4px 16px rgba(0,0,0,0.4);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
	-ms-interpolation-mode: bicubic;
}

.float-right	{
float:right; 
margin: 10px 15px 0px 14px;
}

.float-left	{
float:left; 
margin: 7px 22px 0px 0px;
}

#osho-quotes	{
margin:400px 2% 0 2%;
}


#main	{
	min-height:200px;
	xmax-width:900px;
	margin:auto;
	padding:0 15px;
	position:relative;
	overflow:hidden;
	text-align:left;
	-webkit-animation-name: reset, fade-in;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: ease-in;
    -webkit-animation-iteration-count: 1;
}

/*	body text position
========================================*/

#body-main, #body-quote, #body-stages	{
	min-width:250px;
	max-width: 522.546px;
	margin:0 auto;
	margin-bottom:20px;
}

#body-stages	{
width:60%;
float:left;
}

#body-stages img	{
float:right; 
margin-left:15px; 
margin-bottom:5px; 
margin-top:12px;
}

#body-right	{
float:right;
margin-top:40px;
margin-right:9%;
position:relative;
}



@-webkit-keyframes reset {
0% {
    opacity: 0;
}
100% {
    opacity: 0;
}
}
 
@-webkit-keyframes fade-in {
0% {
    opacity: 0;
}
60% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}

/*	top navigation
========================================*/

#top-nav	{
margin-top:20px;
}

nav ul	{
padding:0;
}

#top-nav li	{
	display:inline-block;
	margin: 0 30px;
	line-height:40px;
}

#top-nav li a:link,a:visited	{
	font-size:15px;
	overflow:hidden;
	padding: 3px 8px;
}
#top-nav li a:hover,a:active	{
	color: rgba(0,0,0,0.8);
}

/*Highlighting current page on the navigation bar 
========================================*/

body#home a#nav-home,
body#instructions a#nav-instructions,
body#video a#nav-video,
body#where-page a#nav-where,
body#buy a#nav-buy,
body#science-page a#nav-science-page,
body#about a#nav-about,
body#contact a#nav-contact,
body#faq a#nav-faq
{
	color: rgba(116, 26, 26, 1);
}



.callout	{
	margin: 2.27em 1.403em;
	font-style: italic;
}



/*	bottom navigation
========================================*/


footer	{
margin:0 auto;
margin-top:50px;
max-width:1340px;
position:relative;
border-top:1px solid  rgba(0,0,0,0.1);
}

#footer-nav li, #top-nav li	{
font-size:0.95em;
line-height:1;
    display:inline-block;
	
margin: 0 18px;
}


.credit	{
	margin-top: 3.672em;
	margin-bottom: 3.672em;
	text-align:right;
	font-size: 0.867em;
	line-height: 1.403;
	font-style: italic;
    font-weight:400;
    }

.credit span	{
	font-size:0.8em;
}
.credit cite	{
font-style:normal;
padding-right:2px;
}


#science ul	{
list-style:none;
text-align:left;
}

#science ul li	{
margin:5px 0;
}
#science .article ul li {
margin-left:30px;
}

/*	links
========================================*/


a {
	color: rgba(0,0,0,0.5);
	text-decoration: none;
	-webkit-transition-property: all;
	x-webkit-transition-duration: 0.07s,0.1s;
	-webkit-transition-timing-function: linear,ease-in;
}
a:hover {
	color: rgba(0,0,0,0.9);
}
a:visited { 
	color: rgba(0,0,0,0.5);
}

p a {
	color: rgba(59,97,187,1);
    text-decoration: none;
	border-bottom: dashed thin #a49355;
    -webkit-transition: color 0.6s ease-out;
    -moz-transition: color 0.6s ease-out;
	transition: 0.6s color ease-out;
}
p a:visited	{
	color: rgba(88,110,161,0.8);
}

p a:hover {
    color: black;
	border-bottom: none;
}


/*	Type
========================================*/

p, #body-right p, .small-type p	{
	font-size: 1em;
	line-height: 1.8;
	font-weight:300;
	margin: 0;
	margin-bottom: 1em;
}

/*
p.drop-cap:first-letter	{
	font-size: 362.485%;
	float : left;
    color: rgba(33, 57, 80, 0.3);
    margin:16px 5px 0 1px;
	}
*/

#body-right p	{
	font-size:15px;
	line-height:33px;
}
.small-type	{
	font-size:14px;
	line-height:22px;
	font-weight:400;
}


header h1, header h2	{
margin:0;
padding:0;
}

header h1	{
	font-size:66px;
	font-weight:300;
	line-height:75px;
	padding-top:5px;
	margin-bottom:10px;
	text-align:center;
}

#body-right h1	{
font-size:26px;
}

header h1 a, header h1 a:hover, header h1 a:visited	{    
	color: rgba(33, 57, 80, 0.5);
}


header h2	{
	font-size:16px;
	letter-spacing:3px;
	font-weight:400;
    color: rgba(33, 57, 80, 0.9);
}

h1, #osho-quotes h1, #where h1, h3	{
	text-align:center;
	margin: 1em 0;
	font-size: 1.82em;
	line-height: 1.403;
	font-weight: 300;
    color: rgba(33, 57, 80, 0.5);
}

h1 span	{	
	font-family: 'Signika Negative', sans-serif;
	font-size:13px;
	margin-left:10px;
    color: rgba(33, 57, 80, 0.7);
}

#osho-quotes h1	{
margin-top:100px;
	text-align:left;
}


h2	{
	margin:0;
	margin-bottom:30px;
	font-size:0.876em;
	font-weight:400;
	text-align:center;
    color: rgba(33, 57, 80, 0.8);
}

h3	{
	font-size: 1.4em;
	text-align:left;
}

h1 ~ h3	{
margin-top: 60px;
}


h5    {
    font-size:0.876em;
    color: rgba(33, 57, 80, 0.8);
}

#science h3	{
	font-size:15px;
	font-weight:400;
	margin:30px 0 -10px 0;
}

.question	{
    line-height:1.4;
	font-style:italic;
	font-weight:400;
	color: rgba(0,0,0,0.8);
	margin-top: 11.125px;
	margin-bottom: 18px;
}


footer p a, footer p a:visited	{
	text-align:center;
	display: block;
	font-size:11px;
	color: rgba(0,0,0,0.7);
	border-bottom: none;
}

footer p a:hover	{	
color: rgba(0,0,0,1);
}


/*	where.html
========================================*/


#where ul li	{
	font-family: 'Signika Negative', sans-serif;
	font-weight:600;
	font-size:13px;
	line-height:19px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
	-moz-box-shadow: inset 0 0 3px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 0 3px 2px rgba(0,0,0,0.1);
	box-shadow: inset 0 0 3px 2px rgba(0,0,0,0.1);
	background: rgba(230,235,237,0.4);
	margin:8px 5px 9px;
    border: 1px solid rgba(0,0,0,0.2);
	padding:2px 15px;
	display:inline-block;
}

#where ul li a	{
    color: rgba(33, 57, 80, 0.7);
}

#where ul li a:hover	{
    color: rgba(80, 53, 53, 0.9);
}



.where-address	{
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
	background: rgba(230,235,237,0.4);
	padding:20px;
	padding-bottom:0;
	margin:10px auto;
	max-width:600px;
	position:relative;
}

.where-address ul li	{
list-style:none;
margin:20px 0;
}
.where-address ul li a	{
    color: rgba(33, 57, 80, 0.6);
	border-bottom: dashed thin rgba(55, 79, 139, 0.7);
	padding-bottom:2px;
    -webkit-transition: color 0.6s ease-out;
    -moz-transition: color 0.6s ease-out;
	transition: 0.6s color ease-out;
}

.where-address ul li a:hover	{
    color: rgba(33, 57, 80, 0.9);
	border-bottom: none;
}

.where-address ul li span	{
font-size:13px;
}

.where-address ul li span a	{
    color: rgba(33, 57, 80, 0.9);
}

.where-address h2	{
font-family: 'Signika Negative', sans-serif;
font-weight:600;
text-align:left;
margin:0;
}

#body-quote h4	{
	font-family: 'Signika Negative', sans-serif;
	font-size:14px;
    color: rgba(33, 57, 80, 0.6);
	text-align:center;
	margin:auto;
	margin-top:60px;
	margin-bottom:15px;
	max-width:640px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
	background: rgba(255,255,255,0.9);
	position:relative;
}


.where-address p span	{
font-size:12px;
margin-left:10px;
}


/* Collapse */

.collapse {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.35s ease;
     -moz-transition: height 0.35s ease;
       -o-transition: height 0.35s ease;
          transition: height 0.35s ease;
}

.collapse.in {
  height: auto;
}
/* End of Collapse */
   
  



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary (mobile first) styles.
   Modify as content requires.
   ========================================================================== */

   
   @media only screen
and (max-width : 67em){
    h1, #osho-quotes h1, #where h1	{
	margin: 0.618em 0 0.618em 0;
}   
}


@media only screen and (max-width: 51em) {
p, #body-right p, .small-type p	{
	font-size: 0.9em;
	line-height: 1.7;
	margin-bottom: .9em;
}
}


@media only screen
and (max-width : 768px)
and (orientation : portrait) {
#body-quote img	{
max-width:50%;
}

#body-main, #body-quote, #body-stages	{
	margin:0 8%;
	max-width: 100%;
}
}

@media (max-width: 600px) {

header h1	{
font-size:56px;
line-height:55px;
}
header h2	{
font-size:14px;
}
}


@media (max-width: 480px) {


#body-main, #body-quote, #body-stages	{
	margin:0 2%;
}

header h1	{
font-size:40px;
line-height:20px;
margin-top:20px;
}
header h2	{
font-size:13px;
letter-spacing:1px;
margin-top:17px;
}

h1	{
	font-size:1.6em;
    line-height:1.3;
}

#top-nav	{
margin-top:10px;
}
#footer-nav li, #top-nav li	{
line-height:35px;
}

#science h3	{
	font-size:15px;
	font-weight:400;
	margin:50px 0 18px 0;
}
#science ul	{
text-align:left;
}

#science ul li	{
margin:20px 0;
}
#science .article ul li {
margin-left:0px;
}

#body-quote img.float-right	{
float: none;
margin:1em auto 2.5em;
display:block;
max-width:100%;
}

.question	{
	margin-right: 0;
}
p, #body-right p, .small-type p	{
	font-size: 0.8em;
	line-height: 1.6;
	margin-bottom: .7em;
}

}

@media (max-width: 320px) {

.question	{
	margin-left:0;

}
.callout	{
	margin: 2.27em 0.867em;
}

}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Dont show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}
