/*-----------------------------------------------
Date:     15 Apr 2013

Using two fixed measurements (18px for the body text and 453 px the width of the Osho Dynamic logo type) with the Golden Mean (1:1.618) creates a 'modular scale'.
see the whole scale here:
http://modularscale.com/scale/?px1=18&px2=453&ra1=1.618&ra2=0
18px @ 1:1.618
453px @ 1:1.618 (the width of "Osho Dynamic" logo type)

http://alistapart.com/articles/more-meaningful-typography/
----------------------------------------------- */

@import url(http://fonts.googleapis.com/css?family=Mulish:300,400);

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    src: local('Mulish'), local('Mulish'), url(../font/Mulish/static/Mulish-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Mulish';
    font-style: italic;
    font-weight: 400;
    src: local('Mulish'), local('Mulish'), url(../font/Mulish/static/Mulish-Italic.ttf) format('truetype');
}

@font-face {
    font-family: 'Mulish';
    font-style: light;
    font-weight: 300;
    src: local('Mulish'), local('Mulish'), url(../font/Mulish/static/Mulish-Light.ttf) format('truetype');
}

html {
  overflow-y: scroll;
}

body {
    font-family: "Mulish",Arial,Helvetica,Geneva,sans-serif;
    font-size: 87.5%;
    font-size: 18px;
    line-height: 2;
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    text-rendering: optimizeLegibility;
    background-image: url(../img/xbg-texture02.png), url(../img/background-gradation02.png);
    background-repeat: repeat, repeat-x;
    background-color: #fff;
    height: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 1);
}

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

iframe + iframe {
    margin-top: 50px;
}

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

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

.center-no-drop {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin: 0 auto;
    display: block;
}

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

blockquote {
    font-style: italic;
    border-left: 2px solid rgba(46, 116, 192, 0.2);
    padding-left: 10px;
    margin: 70px 15px 30px;
}

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

@-webkit-keyframes reset {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

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

/* five stages horizontal scroller
========================================*/

#container-horizontal-scroll {
    position: relative;
    left: 0px;
    width: 12000px;
    top: 0;
    height: 100%;
    padding-bottom: 0px;
}

#c1, #c2, #c3, #c4, #c5, #c6 {
    text-align: left;
    width: 700px;
    float: left;
    height: 100%;
    margin: 0 245px;
}

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

#body-main, #body-quote, #body-stages {
    min-width: 250px;
    max-width: 523px;
    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;
}

/* Stage sections with floated images */
.stage {
    overflow: hidden; /* Clearfix alternative to contain floated images */
}

.stage img.float-right {
    float: right;
    margin: 10px 15px 30px 14px;
    width: 100%;
    max-width: 300px; /* Adjust based on your image sizes */
    aspect-ratio: 16 / 9; /* Maintain image proportions */
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stage img.float-right {
        float: none;
        margin: 10px auto 20px;
        max-width: 100%;
    }
}

/* Responsive iframes */
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video page specific styles */
#video h5.why-section {
    margin-top: 85px;
}

#video .video-container.why-video {
    margin-top: 10px;
}

/* Where page specific styles */
#where-page p.center-text {
    text-align: center;
}

/* Ensure floated images are contained */
#body-quote {
    overflow: hidden;
}

/* Stream page specific styles */
#buy p.quote-spacing {
    margin-top: 80px;
}

/* Science of Meditation page specific styles */
#science-page p.link-spacing {
    margin-top: 60px;
}

/* What People Say page specific styles */
#say h5.section-heading {
    margin-top: 85px;
}

#say .video-container.first-video {
    margin-top: 10px;
}

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

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

nav ul {
    padding: 0;
}

#top-nav li {
    display: inline-block;
    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-page,
body#buy a#nav-buy,
body#science-page a#nav-science-page,
body#about a#nav-about,
body#contact a#nav-contact,
body#say a#nav-say,
body#faq a#nav-faq,
body#depth a#nav-depth {
    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 8px;
}

.credit {
    xmargin-top: 3.672em;
    xmargin-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, ul.list li {
    list-style: none;
    text-align: left;
}

#science ul li {
    margin: 10px 0;
}

ul.list li {
    margin: 20px 0;
}

ul.list {
    margin-bottom: 50px;
}

#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, .list li a:link {
    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;
}

#body-right p {
    font-size: 15px;
    line-height: 33px;
}

.small-type {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}

.bold {
    font-weight: 600;
}

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, h5 {
    text-align: center;
    margin: 1em 0 1em 0;
    font-size: 1.82em;
    line-height: 1.403;
    font-weight: 300;
    color: rgba(33, 57, 80, 0.5);
}

h5 {
    font-size: 1.42em;
    margin-top: 2em;
}

h5 ~ h5 {
    margin-top: 100px;
}

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: 15px;
    font-weight: 400;
    text-align: center;
    color: rgba(33, 57, 80, 0.8);
}

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

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

.question-02 {
    font-size: .9em;
    line-height: 1.5;
    font-style: italic;
    font-weight: 600;
    color: rgba(48, 98, 145, 0.6);
    margin-top: 11.125px;
    margin-bottom: 28px;
}

p.drop-cap {
    line-height: 1.6;
}

p.drop-cap:first-letter {
    font-size: 500%;
    float: left;
    color: rgba(33, 57, 80, 0.3);
    margin: 0;
    margin-top: -30px;
    padding: 0px 12px 0 0;
}

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 {
    line-height: 2.6;
}

#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: 0 8px 0;
    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;
    line-height: 1.4;
    margin: 40px 0 40px;
}

.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, .sm {
    font-size: 15px;
}

.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;
    font-size: 16px;
}

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

/* btn */

div.where-address ul li a.btn {
    border-radius: 5px;
    margin: 10px 6px;
    background-color: inherit;
    margin: 10px 3px;
    padding: 1px 8px;
    text-align: center;
    white-space: nowrap;
    border-bottom: none;
}

div.where-address ul li a:link.btn, div.where-address ul li a:visited.btn {
    background-color: rgba(158, 186, 232, 0.47);
    border: 1px solid #7E7C7C;
    color: black;
    padding: 3px 9px 2px;
    font-size: 14px;
    letter-spacing: 0.01em;
}

a:active.btn {
    border: 1px solid black;
}

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

/* A better looking default horizontal rule */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 50px 30% 40px;
    padding: 0;
}

@media only screen and (max-width: 67em) {
    h1, #osho-quotes h1, .where h1 {
        margin: 1em 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 2%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 56px;
        line-height: 55px;
    }
    header h2 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    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;
    }
    h1 span {
        display: none;
    }
    #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;
    }
    .callout {
        margin: 1.27em .403em;
    }
    p, #body-right p, .small-type p {
        font-size: 0.95em;
        line-height: 1.7;
        margin-bottom: 1.3em;
    }
}

@media (max-width: 320px) {
    .question {
        margin-left: 0;
    }
    .callout {
        margin: 2.27em 0.867em;
    }
}