/*!
 * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
    height: 100%;
    font-family: Lora, "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #fff;
    background-color: #050100;
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}

::-moz-selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

::selection {
    text-shadow: none;
    background: rgba(255,0,0,.2);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

@media(min-width:767px) {
    p {
        margin: 0 0 35px;
        font-size: 20px;
        line-height: 1.6;
    }
}

a {
    color: #a8bb74;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #cc782f;
}

.marginr {
    float: left;
    margin: 0px 15px 15px 0;
}

.marginl {
    float: right;
    margin: 0 0 15px 15px;
}

img.border {
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    background: #E4E4E4;
    padding: 4px;
}
img.round-border {
    border: 0px;
    border-radius: 10px;
}

hr.dotted {
    border-top: 1px dotted #ddd;
}

.light {
    font-weight: 400;
    vertical-align: middle;
}

.navbar-custom {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.3);
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: #000;
}

.navbar-custom .brand {
    vertical-align: middle;
}

.navbar-custom .won {
    font-size: 30px;
    font-weight: 400px;
    vertical-align: middle;
    color: #DBEC35;    
}

.navbar-custom .navbar-brand {
    padding: 10px;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom a {
    color: #fff;
}

/*.navbar-custom ul.nav li:active {
    outline: none;
    background-color: rgba(255,255,255,.3);
    border-radius: 3px;
}*/

.navbar-custom ul.nav li a {
    /*-webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;*/
    border-radius: 3px;
}

/*.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: rgba(255,255,255,.3);
    border-radius: 3px;
}*/

.navbar-custom ul.nav li a:hover,
.navbar-custom ul.nav li a:focus,
.navbar-custom ul.nav li a:active {
    outline: 0;
    background-color: rgba(255,255,255,.3);
    border-radius: 3px;
}

.navbar-custom ul.nav li:hover > ul { display: block; }

.navbar-custom ul.nav ul {
    display: none;
    list-style: none;
}

.navbar-custom ul.nav ul {
    background: rgba(0,0,0, 0.9);
    border-radius: 0px;
    padding: 0;
    position: absolute;
    top: 100%;
}

.navbar-custom ul.nav ul li {
    float: none;
    min-width: 250px;
    padding: 10px;
    border-bottom: 1px solid rgba(100, 100, 100, 0.3);
    position: relative;
    font-size: 12px;
}

.navbar-custom ul.nav ul li:first-child {
    border-top: none;
}

.navbar-custom ul.nav ul li:last-child {
    border-bottom: none;
}

.navbar-custom ul.nav ul li a {
    padding: 0;
    color: #fff;
}

.navbar-custom ul.nav ul li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    -o-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom ul.nav ul li:hover,
.navbar-custom ul.nav ul li:focus,
.navbar-custom ul.nav ul li:active {
    outline: 0;
    background-color: rgba(255,255,255,.3);
}

.navbar-custom ul.nav ul li a:hover,
.navbar-custom ul.nav ul li a:focus,
.navbar-custom ul.nav ul li a:active {
    outline: 0;
    background-color: rgba(255,255,255,.0);
}

@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .navbar-background {
        background: rgba(0, 0, 0, 0.6);
    }

    .top-nav-collapse {
        padding: 0;
        background-color: #050100;
    }

    .navbar-custom.top-nav-collapse {
        border-bottom: 1px solid rgba(255,255,255,.2);
    }
}

/* hide submenu for small screen */
@media(max-width:768px) {
    .navbar-custom ul.nav li ul li { display: none; }
}

.main-nav-selected {
    background-color: rgba(255,255,255,.35);
}


/* side submenu */
.submenu-container {
    color: #404040;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.0em;
    /*text-transform: uppercase;*/
    padding: 0;
    margin-top: 15px;
}

@media(min-width:767px) {
    .submenu-container {
        padding: 0 15px;
        margin-top: 0;
    }
}

.submenu-bar {
    display: block;
    width: 100%;
    padding: 0;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
}

.submenu-bar h5 {
    font-size: 1.3em;
    padding: 10px 0 30px 0;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    display: block;
    background:url(../images/icons/bgh5-dark.png) bottom center no-repeat;
}

.submenu-bar ul {
    list-style: none;
    margin: 0 10px;
    padding: 0;
    color: #fff;
}

.submenu-bar ul a {
    color: #404040;
}

.submenu-bar ul a li {
    padding: 10px 10px;
    border-radius: 4px;
}

.submenu-bar ul li:hover{
    /*background-color: rgba(0,0,0,.3);*/
    /*background-color: rgba(0, 126, 0 ,0.8);*/
    background-color: #449d44;
    color: #fff;
}

.selection {
    color: #fff;
    /*background-color: rgba(0,0,0,.4);*/
    /*background-color: rgba(0, 126, 0 ,0.6);*/
    background-color: #5cb85c;
    font-weight: bold;
    border-radius: 4px;
}

.submenu-side-module {
    display: block;
    width: 100%;
    padding: 0;
    background-color: #303030;
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
}

.submenu-side-module h5 {
    color: #fff;
    font-size: 1.1em;
    padding: 10px 0 30px 0;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    display: block;
    background:url(../images/icons/bgh5.png) bottom center no-repeat;
}

.submenu-side-module .module-inner {
    padding: 10px;
    color: #fff;
}

.submenu-side-module .module-inner img {
    margin: auto;
}

.submenu-side-module .module-inner p {
    margin: 10px 0;
    font-size: 0.9em;
}

.submenu-side-module .module-inner div {
    float: right;
    margin-bottom: 5px;
}


.submenu-side-module .thumbnail-container {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 640px;
}

.submenu-side-module .thumbnail-container .poster {
    overflow: hidden; 
    margin: 0 auto;
    padding: 10px;
}

.submenu-side-module .thumbnail-container .play-btn {
    position: absolute;
    width: 100%;
    bottom: 50px;
    left: 20px;
}

.submenu-side-module .thumbnail-container .play-btn a {
    color: rgba(255, 0, 0 , 0.8);
    outline: none;
}

.submenu-side-module .thumbnail-container .play-btn a:hover {
    color: rgba(255, 0, 0, 1.0);
    outline: none;
}

.submenu-side-module .thumbnail-container .poster img {
    width: 100%;
}

.submenu-side-module .thumbnail-container p a {
    color: #fff;
    outline: none;
}

.submenu-side-module .thumbnail-container p a:hover {
    color: #fff;
    text-decoration: underline;
}


/* intro */
.intro {
    display: table;
    width: 100%;
    height: auto;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background: url(../images/home/bg-intro.jpg) no-repeat bottom center scroll;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.intro .intro-body {
    display: table-cell;
    vertical-align: middle;
}

.intro .intro-body .brand-heading {
    margin-top: 50px;
    font-size: 40px
}

.intro .intro-body .intro-text {
    font-size: 18px;
}

@media(min-width:767px) {
    .intro {
        height: 100%;
        padding: 0;
    }

    .intro .intro-body .brand-heading {
        margin-top: 150px;
        font-size: 60px;
    }

    .intro .intro-body .intro-text {
        font-size: 25px;
    }
}

.intro .intro-body .intro-space {

}

.intro .intro-body .intro-link {
    display: block;
    position: relative;
    margin: 20px auto 20px auto;
    max-width: 200px;
    outline: none;
}

.intro .intro-body .intro-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.0);
    color: rgba(0, 255, 255, 0.0);
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

.intro .intro-body .intro-link .caption:hover,
 .intro .intro-body .intro-link .caption:focus,
 .intro .intro-body .intro-link .caption:active {
    background-color: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 1.0);
}

.intro-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -15px;
    text-align: center;
    font-size: 28px;
    font-weight: normal;
    line-height: 28px;
}

.intro-link .caption .caption-content h4 {
    font-family: Open Sans Condensed,"Helvetica Neue",Helvetica,Arial,sans-serif;
    text-transform: none;
    font-size: 28px;
    font-weight: normal;
    line-height: 28px;
    margin: 0;
    padding: 0;
}

@media(max-width: 1000px) and (min-width: 768px) {
    .intro-link .caption .caption-content h4 {
        font-size: 20px;
    }
}

.intro-body img {
    border-radius: 50%;
    border: 3px solid #DBECED;
}

@media(max-width:767px) {
    .intro .intro-body .intro-link {
        margin: 0 auto 30px auto;
    }
}

.btn-circle {
    width: 70px;
    height: 70px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 2px solid #fff;
    border-radius: 35px;
    font-size: 40px;
    color: #fff;
    background: 0 0;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    -o-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.btn-circle:hover,
.btn-circle:focus {
    outline: 0;
    color: #fff;
    background: rgba(255,255,255,.1);
}

.btn-circle i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.btn-circle:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {    
    0 {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {    
    0 {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

#aboutus .aboutus-section {
    width: 100%;
    padding: 80px 0;
    color: #fff;
    background: url(../images/home/bg-aboutus.jpg) no-repeat center center scroll;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* Dharma talk */
#dharmatalk .dharmatalk-section {
    width: 100%;
    padding: 0;
    color: #fff;
}

#dharmatalk .dharmatalk-section .dharmatalk-container {
    /*text-align: center;*/
    /*margin: 0.5em 0 3em 0;*/
    /*margin: 0 0 30px 0;*/
    /*width: 100%;
    height: 100%;*/
    margin: 0 0 40px 0;
}

#dharmatalk .dharmatalk-section .thumbnail-container {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 240px;
    height: 240px;
}

#dharmatalk .dharmatalk-section .thumbnail {
    position: relative;
    margin: auto;
    vertical-align: middle;
}

#dharmatalk .dharmatalk-section .poster {
    overflow: hidden; 
    margin: 0 auto;
}

#dharmatalk .dharmatalk-section .play-btn {
    position: absolute;
    width: 100%;
    top: 30%;
}

#dharmatalk .dharmatalk-section .play-btn a {
    opacity: 0.6;
    color: #fff;
    outline: none;
}

#dharmatalk .dharmatalk-section .play-btn a:hover {
    opacity: 1;
    color: #fff;
    outline: none;
}

#dharmatalk .dharmatalk-section .dharmatalk-container .thumbnail .poster img {
    width: 100%;
}

#dharmatalk .dharmatalk-section .caption {
    margin: auto;
    padding: 5px 0;
    vertical-align: middle;
    max-height: 50px;
    z-index: 999;
}

#dharmatalk .dharmatalk-section .caption a {
    color: #fff;
    font-size: 1.2em;
    min-height: 4em;
    outline: none;
}

#dharmatalk .dharmatalk-section .caption a:hover {
    text-decoration: underline;
}


/* Photo gallery */ 
#photogallery .photogallery-section {
    width: 100%;
    margin: 0;
}

#photogallery .photogallery-section .gallery-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #000;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#photogallery .photogallery-section .gallery-container .gallery-img-container {
    position: absolute;
    top: 0;
    left: 0;
}

#photogallery .photogallery-section .gallery-container .left-arrow-area {
    position: absolute;
    top:0;
    left: 0;
    width: 150px;
    height: 100%;
    cursor: pointer;
}

#photogallery .photogallery-section .gallery-container .right-arrow-area {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    cursor: pointer;
}

#photogallery .photogallery-section .gallery-container .left-arrow-area:hover span,
#photogallery .photogallery-section .gallery-container .right-arrow-area:hover span {
    opacity: 1.0;
}



.left-arrow, .right-arrow, .left-arrow-down, .right-arrow.down {
    position: absolute;
    cursor: pointer;
    background: url(../images/home/arrow.png) center center no-repeat;
    overflow: hidden;
    opacity: 0;
    width: 55px; 
    height: 55px;
    top: 45%;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    -webkit-transition: opacity 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.left-arrow {
    background-position: -3px -33px;
    left: 8px;
}

.right-arrow {
    background-position: -63px -33px;
    right: 8px;
}

.left-arrow:hover {
    background-position: -123px -33px;
}

.right-arrow:hover {
    background-position: -183px -33px;
}

.left-arrow-down {
    background-position: -243px -33px;
}

.right-arrow-down {
    background-position: -303px -33px;
}

#photogallery .photogallery-section .thumbbox {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 10px 0 0 0;
    display: none;
}

@media(min-width: 767px) {
    #photogallery .photogallery-section .thumbbox {
        position: relative;
        width: 100%;
        height: 100%;
        margin: 10px 0 0 0;
        display: block;
    }
}


#photogallery .photogallery-section .thumbbox .thumbbox-left,
#photogallery .photogallery-section .thumbbox .thumbbox-right {
    display: block;
    width: 100%;
    height: 80px;
    margin: 0;
    padding: 0;
    outline: none;
    cursor: pointer;
}

#photogallery .photogallery-section .thumbbox .thumbbox-left:hover .thumb-left-arrow,
#photogallery .photogallery-section .thumbbox .thumbbox-right:hover .thumb-right-arrow,
#photogallery .photogallery-section .thumbbox a:hover img {
    opacity: 1.0;
}

.thumb-left-arrow, .thumb-right-arrow {
    /*width: 50px;
    height: 50px;*/
    /*background: url("/images/buttons.png") 0 0 no-repeat;*/
    opacity: 0.7;
    cursor: pointer;
}

#photogallery .photogallery-section .thumbbox a img {
    opacity: 0.8;
    cursor: pointer;
}

.thumb-left-arrow {
    background-position: 0 0;
    right: -100px;
}

.thumb-right-arrow {
    background-position: 0 -50px;
}

.annotation {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    bottom: 0;
    width: 100%;
    line-height: 50px;
}

.annotation p {
    margin: 0;
    padding: 10px;
}


/* contact */
.form-group {
    font-family: Lato, "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #fff;
    font-weight: normal;
}

.form-control {
    color: #fff;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #aaa;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.7em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    color: #a8bb74;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #aaa;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #65c4ca;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #aaa;
}


/* body content */
.content-body {
    background-color: #fff;
    color: #404040;
    border-radius: 10px;
    font-size: 18px;
    line-height: 30px;
}

@media(min-width:767px) {
    .content-body {
        margin-bottom: 10px;
    }
}

.content-body .content-inner {
    padding : 30px 20px;
}

.content-home {
    padding-top: 50px;
}

.content-section {
    padding-top: 80px;
}

@media(min-width:767px) {
    .content-home {
        padding-top: 80px;
    }

    .content-section {
        padding-top: 100px;
    }
}

.error {
    color: #FF514E;
    vertical-align: middle;
    padding-top: 30px;
}

.contact-error {
    color: #FF514E;
}

span.inner-title {
    font-weight: bold;
}

span.inner-excerpt {
    font-size: 0.9em;
    font-style: italic;
}

p.note, div.note, span.note {
    display: block;
    clear: both;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    background: #FBFBFB;
    box-shadow: inset 1px 0px 17px rgba(20, 20, 20, 0.08);
    color: #676767;
    padding: 20px;
    margin: 10px 0;
}

.note > p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

@media(min-width:767px) {
    .note > p {
        margin: 0 0 35px;
        font-size: 20px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}

.note > ul {
    font-size: 1.0em;
    line-height: 1.8em;
}

.qa {
    background: url("../images/qa/qa_letter_a.jpg") no-repeat scroll 0 0;
}

.qb {
    background: url("../images/qa/qa_letter_b.jpg") no-repeat scroll top right;   
}

.qa .qa_a {
    margin: 0 0 0 70px;
}

.qb .qa_b {
    margin: 0 70px 0 0;
}

.reference {
    margin: 0;
}


.btn {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-default {
    border-radius: 50%;
    /*border: 1px solid #219ab3;*/
    /*color: #219ab3;*/
    /*background-color: transparent;*/
}

.btn-primary {
    color: #fff;
}

/*.btn-default:hover,
.btn-default:focus {
    border: 1px solid #219ab3;
    outline: 0;
    color: #000;
    background-color: #219ab3;
}*/

/*ul.banner-social-buttons {
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
}*/

footer {
    /*margin-top: 30px;*/
    padding: 10px 30px 30px 30px;
}

footer .footer-inner {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding: 20px 0 0 0;
}

footer p {
    font-size: 15px;
    line-height: 24px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
}

/* social icons  */
a.social img {
    max-width: 40px;
    margin: 0 20px;
    opacity: 0.7;
    -webkit-transition: all linear 0.07s;
    -moz-linear-transition: all linear 0.07s;
    -o-linear-transition: all linear 0.07s;
    transition: all linear 0.07s;
}

@media(min-width: 767px) {
    a.social img {
        max-width: 100px;
    }
}

a.social {
    display: inline-block;
}

a.social:hover img{
    opacity: 1.0;
}


/* scroll button */
.scroll-top {
    z-index: 10;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 40px;
    height: 40px;
}

.scroll-top .btn {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 15px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 0;
}


/* ng-view animation */
.view-slide-in.ng-enter {  
  /*opacity:0.5;*/
  opacity:0;
  -webkit-transition:opacity 1.0s ease-in-out;
  -moz-transition: opacity 1.0s ease-in-out;
  -o-transition: opacity 1.0s ease-in-out;
  transition: opacity 1.0s ease-in-out;
}


.view-slide-in.ng-enter {
  opacity: 0;
}

.view-slide-in.ng-enter.ng-enter-active {
  opacity: 1.0;
}

.view-slide-in.ng-leave.ng-leave-active { opacity: 1.0; }

.view-slide-in.ng-leave { opacity: 0.0; }


/* Dharam talk modal */
.movie-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.95);
    z-index: 999;
}

.movie-modal .modal-content h2 {
    margin: 0;
    font-size: 3em;
}

.movie-modal .modal-content img {
    margin-bottom: 30px;
}

.movie-modal .modal-content .item-details {
    margin: 30px 0;
}

.movie-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.movie-modal .close-modal:hover {
    opacity: .3;
}

.movie-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #2c3e50;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.movie-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #2c3e50;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modal-body img {
    border: 1px solid #eee;
    border-radius: 10px;
}

.movie-player-container {
    width: 100%;
    text-align: center;
}

/*responsive movies*/
/*https://gist.github.com/jgarber/2302238*/
.flex-movie {
    position: relative;
    padding-top: 25px;
    padding-bottom: 67.5%;
    height: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.flex-movie.widescreen { padding-bottom: 57.25%; }
.flex-movie.vimeo { padding-top: 0; }

.flex-movie iframe,
.flex-movie object,
.flex-movie embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
    .flex-movie { padding-top: 0; }
}

p.movie-annotation {
    text-align: left;
}

/* word wraping */
/* Only phones */
@media (max-width: 767px) {
  body {
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

/* make image center in bootstrap grid */ 
@media(max-width:767px) {
    .img-center {
        margin: 0 auto;
    }
}

/* oxherding part */
.oxherding {
    padding-top: 60px;
    border-bottom: 1px solid #eee;
}
.oxherding-thumb-title {
    font-size: 0.8em;
    color: #404040;
}

.oxherding-thumb-title:hover {
    text-decoration: underline;
}

.oxherding-title {
    margin: 10px 0;
}

.oxherding-content {
    font-size: 1.1em;
}

.oxherding-verse {
    font-size: 0.9em;
}

/* ten stages part */
.tenstages-frame {
    width: 100%;
    overflow: hidden;
    position: relative;
    clear: both;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    background: #FBFBFB;
    box-shadow: inset 1px 0px 17px rgba(20, 20, 20, 0.08);
    color: #676767;
    padding: 20px;
    margin: 10px 0;
}

.tenstages-frame ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tenstages-frame li {
    float: left;
}

.tenstages-frame .stage-description {
    font-size: 0.9em;
}

.tenstages-frame .left-arrow-area {
    position: absolute;
    top:0;
    left: 0;
    width: 150px;
    height: 100%;
    cursor: pointer;
}

.tenstages-frame .right-arrow-area {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    cursor: pointer;
}

.tenstages-frame .left-arrow-area:hover span,
.tenstages-frame .right-arrow-area:hover span {
    opacity: 1.0;
}

.tenstages-frame .index-box {
    position: absolute;
    top: 10px;
    right : 10px;
    font-size: 0.9em;
}

@media(max-width:767px) {
    .tenstages-frame .index-box {
        top: 30px;
    }
}

/* temple map */
#home-map {
    width: 100%;
    height: 300px;
    color: #404040;
}

@media(min-width: 767px) {
    #home-map {
        height: 500px;
    }
}

#map {
    width: 100%;
    height: 500px;
}

#map h5, #home-map h5 {
    margin: 10px 0;
}

#map p, #home-map p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3em;
    margin: 0;
}

.infoWindowContent {
    font-size:  14px !important;
    width: 300px;
}

.infoWindowContent .body {
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.infoWindowContent img {
    width: 120px;
    height: 90px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.infoWindowContent a {
    color: #404040;
    font-weight: bold;
}

.infoWindowContent a:hover {
    text-decoration: underline;
}

@media(min-width:767px) {
    #map {
        /* */
        /*margin-top: 250px;*/
    }
}

/* Temple search */
.search {
    font-family: Lato, "Helvetica Neue",Helvetica,Arial,sans-serif;
    margin-bottom: 20px;
    border-radius: 4px;
}

.search label {
  display: none;
}

.search input {
    width: 100%;
    padding: 10px 0 10px 15px;
    line-height: 20px;
    font-size: 1em;
    color: #404040;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    outline: 0;
    -webkit-box-shadow:inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow:inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow:inset 0 0 3px rgba(0, 0, 0, 0.3);
    background: transparent;
}

.search .formgroup input {
  border: 1px solid rgba(0,0,0,0.3);
  display: inline;
  width: auto;
}

.search label.formgroup {
  display: inline;
  width: auto;
  font-size: 0.8em;
  font-weight: normal;
}

.search select {
  display: inline;
  padding: 10px 0 10px 15px;
  font-size: 1.0em;
  /*background: rgba(255,255,255,0.4);*/
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 4px;
  outline: 0;
}

/* Temple list */
.temple-list {
    width: 100%;
    margin-bottom: 30px;
    font-family: Lato, "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.temple-list .search-result {
    color: #FF514E;
    vertical-align: middle;
    font-weight: bold;
}

.temple-list ul {
    margin: 0;
    padding: 0;
    /*background: #FDF6E3;*/
    list-style: none;
}

.temple-list li {
    margin: 0;
    padding: 10px 10px 0 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.temple-list a {
    display: block;
    text-decoration: none;
    color: #404040;
    outline: none;
}

.temple-list li:last-child {
    /* border-radius: 0 0 20px 20px; */
}

.temple-list li:hover {
    background: #FDF6E3;
}

.temple .temple-row {

}

.temple .temple-img-container {
    width: 120px;
    height: 90px;
}

.temple .temple-inner {
    font-size: 0.8em;
    line-height: 2.0em;
}

.temple .temple-inner .temple-inner-link {
    display: inline;
}

.temple .temple-inner .temple-inner-link:hover {
    text-decoration: underline;
}

/* Temple list animate */
.temple-list li {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.temple-list a:hover {
    background: #FDF6E3;
  /*
    -webkit-transform: scale(1.005);
    -moz-transform: scale(1.005);
    -ms-transform: scale(1.005);
    transform: scale(1.005);
  */
}

.temple.ng-enter.ng-enter-active,
.temple.ng-leave {
    opacity: 0.5;
    height: 80px;
    overflow: hidden;
}

.temple.ng-leave.ng-leave-active,
.temple.ng-enter {
    opacity: 0;
    height: 0;
    overflow: hidden;
}


/* resource */
.resource-title {
    margin: 10px 0 30px 0;
}

.resource-box {
    padding-top: 50px;
}

.resource-box p {
    margin-bottom: 20px;
    font-size: 1.0em;
}

.resource-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resource-box ul li {
    float: left;
    margin-right: 10px;
    padding: 5px 0;
    font-size: 0.9em;
}

.resource-box a {
    color: #404040;
    outline: none;
}

.resource-box a:hover {
    color: #404040;
    text-decoration: underline;
}

.flag-english {
    background:url("../images/resource/flag_english.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-spanish {
    background:url("../images/resource/flag_spanish.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-french {
    background:url("../images/resource/flag_french.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-german {
    background:url("../images/resource/flag_german.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-russian {
    background:url("../images/resource/flag_russian.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-portuguese {
    background:url("../images/resource/flag_portuguese.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-esperanto {
    background:url("../images/resource/flag_esperanto.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}

.flag-czech {
    background:url("../images/resource/flag_czech.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}
.flag-none {
    background:url("../images/resource/flag_none.png") no-repeat 0 50% transparent;
    padding: 5px 10px 5px 30px;
}