@charset "utf-8";
/* Khentrul's personal message font*/
@import url('https://fonts.googleapis.com/css?family=Niconne');

@viewport {
    zoom: 1.0;
    /*width: extend-to-zoom;*/
}

@-ms-viewport {
    zoom: 1.0;
    /*width: extend-to-zoom;*/
}

/*region Fonts*/


/* Generated by Font Squirrel (http://www.fontsquirrel.com) on March 11, 2014 */

@font-face {
    font-family: 'cochin';
    src: url('../font/cochin/cochin-webfont.eot');
    src: url('../font/cochin/cochin-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/cochin/cochin-webfont.woff') format('woff'),
    url('../font/cochin/cochin-webfont.ttf') format('truetype'),
    url('../font/cochin/cochin-webfont.svg#cochinregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir';
    src: url('../font/avenir/avenirnextltpro-medium-webfont.eot');
    src: url('../font/avenir/avenirnextltpro-medium-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/avenir/avenirnextltpro-medium-webfont.woff') format('woff'),
    url('../font/avenir/avenirnextltpro-medium-webfont.ttf') format('truetype'),
    url('../font/avenir/avenirnextltpro-medium-webfont.svg#avenir_next_lt_promedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tibetan';
    /*src: url('../font/tibetan/TibetanCalligraphicUnicode.eot');*/
    /* url('../font/tibetan/TibetanCalligraphicUnicode.eot?#iefix') format('embedded-opentype'),*/
    src: url('../font/tibetan/TibetanCalligraphicUnicode.woff') format('woff'),
    url('../font/tibetan/TibetanCalligraphicUnicode.ttf') format('truetype'),
    url('../font/tibetan/TibetanCalligraphicUnicode.svg#TibetanCalligraphicUnicode-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0F00-0FFF;
}

@font-face {
    font-family: 'tibetEngRegular';
    src: url('../font/tibetEng/tibet-webfont.eot');
    src: url('../font/tibetEng/tibet-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/tibetEng/tibet-webfont.woff2') format('woff2'),
    url('../font/tibetEng/tibet-webfont.woff') format('woff'),
    url('../font/tibetEng/tibet-webfont.ttf') format('truetype'),
    url('../font/tibetEng/tibet-webfont.svg#tibetregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*endregion Fonts*/

/*region General*/

* {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: "cochin", Georgia, serif;
}

a,
a img {
    border: 0;
}

.clear {
    clear: both;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.no_border {
    border: 0 !important;
}

.middle {
    vertical-align: middle;
}

.hidden {
    display: none;
}

.no_divider {
    background: none !important;
}

.current_page {
    color: #fff !important;
}

.snug {
    margin-top: 0.2em !important;
}

.extra_pad {
    padding: 30px 0 !important;
}

.pad_above {
    padding: 35px 0 0 0 !important;
}

.auto_mar {
    margin: 0 auto !important;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                      supported by Chrome and Opera */
}

a.footnote {
    position: relative;
    top: -6px;
    font-size: 0.71em;
}

.footnotes {
    border-top: 1px solid #666;
    font-size: 0.75em;
    margin: 50px 30px 0 30px;
}

.footnotes li {
    margin: 1.12em 0;
}

div.float_left {
    float: left;
}

img.float_left {
    float: left;
    margin: 18px 18px 18px 0;
}

img.float_right {
    float: right;
    margin: 18px 0 18px 18px;
}

.centered {
    text-align: center !important;
}

.right {
    text-align: right !important;
}

img.icon {
    vertical-align: middle;
    margin-right: 4px;
    border: 0 !important;
    display: inline !important;
}

img.icon_tick {
    margin-left: 4px;
    vertical-align: text-bottom !important;
}

.dotted_u {
    border-bottom: 1px dotted #c7c7c7;
    text-decoration: none;
}

.divide_above {
    margin-top: 1em;
    border-top: 1px dashed #999;
}

.shadow {
    -webkit-box-shadow: 0 0 0.6em 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 0.6em 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0.6em 0 rgba(0, 0, 0, 0.25);
}

.span_title {
    display: inline-block;
    margin-bottom: 0.25em;
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    text-decoration: none;
}


/*endregion*/

/*region Inline Button*/

.inline_button {
    display: inline-block;
    background: white;
    border: 1px solid gray;
    box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.3) inset;

    border-radius: 4px;
    padding: 1px 5px;
    text-decoration: none !important;
    margin: 2px;
    color: rgb(30, 80, 139) !important;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
}

.inline_button:hover {
    background: rgba(30, 80, 139, 0.9);
    text-decoration: none !important;
    color: white !important;
    border: 1px solid rgba(30, 80, 139, 0.9);
}


/*endregion*/

/*region Email*/


/*.email::before {
        content: "\00a0\f003\00a0";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
  }*/


/*endregion*/

/*region Tooltips*/

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    font-size: 0.7em;
    text-align: center;
    border-radius: 6px;
    border: 1px solid white;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;

    opacity: 0;
    transition: opacity 1s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 0.7;
}


/*endregion*/

/*region Basic Structures*/

html {
    height: 100%
}

body {

    font-family: "avenir", Arial, Helvetica, sans-serif;

    height: 100%;

    min-width: 320px;

    background-color: #6DB4DC;
    background-image: linear-gradient(#6DB4DC, #6DB4DC 20%, #6DB4DC);
    /*#0b2543#122f52*/
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/*#0f298b  url(../i/grad.jpg) fixed repeat-x top center*/

.container {
    font-size: calc(11.5px + 0.1vw);
}

@media screen and ( min-width: 1900px) {
    .container {
        font-size: 14px;
    }
}

.stage {
    margin: 0 auto;
    width: 93%;
    text-align: center;
    position: relative;
}

#pattern {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    width: 100%;
    min-height: 100%;
    background: url(../i/parchment.png) fixed repeat;
}

#diagnostics {
    display: none;
    position: fixed;
    left: 0.5em;
    padding: 0.5em;
    color: white;
    border: 1px solid yellow;
    background: black;
    z-index: 10000;
}

/*endregion basic structures */

/*region Header */

.header_container {
    /*make click-thru-able*/
    pointer-events: none;

    position: fixed;
    left: 0;
    right: 0;
    /*width: 100%; works but not ie11 compatible*/

    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    flex: 1 1 auto;

}

.header_bar {
    /*make click-able as child of the header-container which is not*/
    pointer-events: auto;
    flex: 1 1 auto;
    box-sizing: border-box;
    /*position: fixed; see header_container*/
    z-index: 3;
    width: auto;
    /*height: calc(100% + 60px);*/
    top: 0;
    padding: 0 1.4%;
    background: rgba(159, 205, 233, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    -moz-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    box-shadow: rgb(0 0 0 / 70%) 0 2px 5px;
    border-radius: 0 0 1.1em 1.1em;
    /*border-bottom: 1px solid rgb(209, 200, 155);*/
    margin: 0 1.3em;

    background-image: url(../i/web-bar-sky-1.png);
    background-repeat: no-repeat;
    background-position: 83% 41%;
    background-size: cover;
    background-attachment: scroll;
}

.header_bar:hover, .header_bar.scrolled:hover {
    box-shadow: rgb(0 0 0) 0 4px 14px;
}

.header_bar.scrolled {
    /*background: rgba(217 227 233 / 80%);*/
}

.header_bar.scrolled #main-menu {
    margin: 1% 0;
}

.header_bar.scrolled #header .header-title-menu h1{
    font-size: 0;
}


#header {
    display: flex;

    flex-wrap: nowrap;

    justify-content: center;
    align-items: stretch;
    align-content: center;

    position: relative;
    top: 0;
    padding: 0;

    text-align: left;
    max-width: 115em;
}

a.ensign-container {
    /*   border: 1px solid white; */
    display: flex;
    justify-content: center;
    align-items: center;
    /*position: relative;
    top: 0;
    left: 0;
*/
    flex: 0 0 auto;
    min-width: 2em;

    /*overflow: hidden;*/

}

#ensign {
    width: 80%;
    /*position: absolute;

    top: 50%;

    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);*/
}

#ensign:hover {
    -webkit-filter: brightness(1.1) saturate(1.3);
}

#header .header-title-menu {
    /*  border: 1px solid pink; */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    /*   height: 100px; */
    flex: 1 1 auto;
    margin: 0.3em 0 0.3em 0.6em;
}

#header .header-title-menu h1 {
    /*  border: 1px solid red; */
    flex: 0 1 auto;
    position: relative;
    top: 0;
    left: 0;
    font-size: calc(1.5em + 0.4vw);
    /* font-weight: bold; */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: normal;
    /*font-family: "Times New Roman", Times, serif;*/
    padding: 0 1vw 0 0.3em;
    -moz-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}


@keyframes shadowChange {
    0% {text-shadow: 0 2px 0 rgb(255 255 255 / 40%), 0 1px 0 rgba(0, 0, 0, 0.6),
    0 0 7px rgb(255 255 255 / 80%);}
    50% {text-shadow: 0 2px 0 rgb(255 255 255 / 90%), 0 1px 0 rgba(0, 0, 0, 0.9),
    0 0 24px hsla(46, 55%, 80%, 0.9);}
}


#header .header-title-menu h1 a {
    color: hsl(3, 61%, 44%);
    text-shadow: 0 0 7px rgb(255 255 255 / 80%);
    /*animation: shadowChange infinite 5s;*/
    opacity: 1;
    transition: opacity 0.5s, color 0.5s, text-shadow 0.7s;
}

#header .header-title-menu h1 a:hover {
    /*color: hsl(46, 55%, 60%);*/
    text-shadow: 0 2px 0 rgb(255 255 255 / 70%), 0 1px 0 rgb(255 255 255 / 80%),
    0 0 24px hsla(46, 55%, 80%, 0.7);
    animation: none;
}

#header .header-title-menu h1 span{
	text-shadow: 0px 0px 7px rgb(255 255 255);
    font-size: 0.7em;
    color: #ff7600;
    white-space: nowrap;
}

/*region Mobile Header*/

@media screen and ( max-width: 670px) {

    .header_bar.scrolled #header h1{
        font-size: calc(1.5em + 0.4vw);
    }

}

@media screen and ( max-width: 420px) {

    .header_bar #header .header-title-menu h1 {
        /*     border: 1px solid red; */
        letter-spacing: 0.1em;
        font-size: 1.4em;
        /*font-family: "Times New Roman", Times, serif;*/
        padding: 0 0.7em 0 0.2em;
    }

    .header_bar.scrolled #header .header-title-menu h1 {
        font-size: 1.4em;
    }
}

/*endregion Mobile Header*/


/*region Main Menu */

#main-menu {
    position: static;

    margin: 1% 0;

    /*  border: 1px solid yellow; */
    flex: 1 1 auto;
    width: auto;
    padding: 0 0.5em 0 0.8em;

    font-family: "avenir", Arial, Helvetica, sans-serif;
    font-size: calc(0.8em + 0.4vw);
    text-align: left;

    -moz-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

#main-menu .has-sub {
    cursor: pointer;
}

#main-menu #nav-icon {
    display: none;
    position: relative;
    cursor: pointer;
    color: #cf181d;
}

#main-menu #nav-icon::after {
    font-family: FontAwesome;
    font-size: 1.2em;
    content: "\f0c9";
}

#main-menu #nav-icon:hover::after {
    text-shadow: 0 0 0.4em rgba(255, 255, 255, 0.5);
}


/* Menu All Levels - General */

#main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    box-sizing: content-box;
    /*   overflow: hidden; */
}

#main-menu a {
    display: block;
    text-align: left;
    text-decoration: none;
    color: #000;
    text-shadow: 0 0 6px white;
    padding: 0 0.3em
}

#main-menu a.has-sub:after {
    font-family: FontAwesome;
    left: 0.4em;
    position: relative;
    top: 0.09em;
    padding-right: 0.6em
}

#main-menu li>a.current {
    color: rgba(220, 97, 9, 0.92); !important;
    background: hsla(46, 55%, 85%, 0.88);
    border-radius: 0.1em;

    box-shadow: 0px 0px 0.5em 0px hsl(46, 55%, 85%);
    text-shadow: 0 0 0.1em rgba(255, 255, 255, 0.5);

    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

#main-menu li>a.current img {
    -webkit-filter: drop-shadow(0 0 0.2em rgba(220, 97, 9));
    filter: drop-shadow(0 0 0.2em rgba(220, 97, 9));

    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

#main-menu li a {
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}


#main-menu li:hover>a {
    color: #cd5f00 !important;
    background: rgba(240, 248, 255, 0.88);
    border-radius: 0.1em;
    box-shadow: 0px 0px 0.5em 0px aliceblue;
    text-shadow: 0 0 0.1em rgba(255, 255, 255, 0.5);
}

#main-menu li:hover>a img {
    -webkit-filter: drop-shadow(0 0 0.2em #cd5f00);
    filter: drop-shadow(0 0 0.2em #cd5f00);
}


#main-menu:not(.no-hover) li:hover>div,
#main-menu:not(.no-hover) li:hover>ul {
    display: block;
    opacity: 1;

    /* Do menu animations */
    transform: scale(1);
    transition: all 0.25s cubic-bezier(0.5, 1.8, 0.9, 0.8);
}


/* Menu Root Level */

#main-menu .menu-level-0 {
    position: static;
    display: flex;
    align-items: center;

    /* max-width: 55em; */
    opacity: 1;

    -webkit-transition: opacity 0s;
    /* Safari */
    transition: opacity 0s;
}

#main-menu .menu-level-0.admin {
    flex-wrap: wrap;
}

#main-menu .menu-level-0>li {
    position: relative;
    flex: 1 1 auto;
    /*   border-right: 1px solid rgba(255, 255, 255, 0.15); */
    margin: 0 0.16em;
    white-space: nowrap;
}

#main-menu .menu-level-0.admin>li {
    flex: 0 1 auto;
    margin: 0 0.4em;
}

#main-menu .menu-level-0>li>.has-sub:after {
    content: "\f0d7";
}

#main-menu .menu-level-0 #menuitem-prayer-requests>img {
    position: relative;
    vertical-align: middle;
    height: 1.2em;
    top: -0.12em;
}


/* Menu other levels */

#main-menu .menu-level-0>li>div {
    position: absolute;
    display: block;
    opacity: 0;
    left: -1px;
    min-width: 100%;
    padding-top: calc(4px + 0.3vw);
    /*   top: 2em; */
    z-index: 1;

    transition: all 0.25s ease-out;
    transform: scale(0);
    transform-origin: 50% 0;
}

#main-menu .menu-level-1,
#main-menu .menu-level-2 {
    background-color: rgba(159, 205, 233, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

#main-menu .menu-level-1 {
    position: relative;
    display: block;
    min-width: 100%;
    border-top-style: none;
}

#main-menu .menu-level-1 li {
    position: relative;
    display: block;
}

#main-menu .menu-level-1 li a {
    display: block;
    text-decoration: none;
    /*color: #ccc;*/
    padding: 0.4em 0.6em;
}

#main-menu .menu-level-1 a.has-sub:after {
    content: "\f0da";
    /* this is your text. You can also use UTF-8 character codes as I do here */
}

#main-menu .menu-level-2 {
    position: absolute;
    display: block;
    opacity: 0;
    top: 0;
    left: 100%;
    z-index: 2;

    transition: all 0.25s ease-out;
    transform: scale(0);
    transform-origin: 0 0;
}


/*region Mobile Menu*/


#main-menu #nav-icon.fa-menu {
    color: rgba(255, 255, 255, 0.8);
}

#main-menu #nav-icon.fa-menu:hover {
    color: rgba(255, 255, 255, 1.0);
}

@media screen and ( max-width: 670px) {

    .header-title-menu {
        flex-wrap: nowrap;
    }

    #main-menu {
        font-size: calc(1.2em + 0.4vw);
        text-align: right;
    }

    #main-menu #nav-icon {
        display: inline-block;
    }

    #main-menu #nav-icon.open::after {
        font-family: FontAwesome;
        content: "\F2D3";
    }

    #main-menu .menu-level-0 {
        position: absolute;
        display: block;
        opacity: 0;
        right: 0;
        top: 2.4em;
        background-color: rgba(159, 205, 233, 0.92);
        /*     min-width: 160px; */
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
        padding: 1em;
        /*   top: 2em; */
        z-index: 1;

        max-height: calc(100vh - 80px);
        overflow-y: auto;

        transition: all 0.25s ease-out;
        transform: scale(0);
        transform-origin: 100% 0;

    }

    #main-menu .menu-level-0 li {
        white-space: normal;
    }

    #main-menu #nav-icon.open~.menu-level-0 {

        opacity: 1;

        transform: scale(1);
        transition: all 0.25s cubic-bezier(0.5, 1.8, 0.9, 0.8);

    }

    #main-menu #nav-icon.open~.menu-level-0>li {
        display: block;
        border: none;
        padding: 0.2em;
    }



    #main-menu #nav-icon.open~.menu-level-0 div,
    #main-menu .menu-level-1 ul {
        position: relative;
        display: block;
        opacity: 1;
        height: 0;
        /*overflow: hidden;*/
        transition: all 0.25s ease-out;
        transform: scale(0);
        transform-origin: 100% 0;
    }

    #main-menu #nav-icon.open~.menu-level-0 div.open,
    #main-menu #nav-icon.open~.menu-level-0 ul.open {
        display: block;
        /*opacity: 1;*/
        height: auto;
        transform: scale(1);
        transition: all 0.25s cubic-bezier(0.5, 1.8, 0.9, 0.8);
    }

    #main-menu .menu-level-0 a {
        text-align: right;
    }

    #main-menu .menu-level-1,
    #main-menu .menu-level-2 {
        top: 0;
        right: 1em;
        left: auto;
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: none;
        background: none;
    }

    #main-menu .menu-level-1 a.has-sub:after {
        content: "\f0d7";
    }
}


/*endregion Mobile Menu*/


/*endregion Main Menu */



/*endregion Header */


/*region App Menu */

#app_menu_outer {
    background-color: #968845;
    margin: -14px -3% 0 -3%;
}

#app_menu {
    /*width: 466px;*/
    margin: 0 auto;
    padding: 0.2em 0;
    z-index: 10;
    position: relative;
    font-size: 1.2em;

    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;

}

#app_menu ul {
    display: flex;
    width: 70%;
    margin: 0 auto;
    padding: 0;
    justify-content: space-around; /*Edge and ie 11 more compatible*/
    /*justify-content: space-evenly;*/
    list-style-type: none;
    color: white;
}

#app_menu ul li {
    flex: 0 1 auto;
    display: block;
    list-style-type: none;
    margin: 0 0.3em;
    padding: 0;

    /*overflow: hidden;*/
}

/*secondary level menus*/
#app_menu .dropdown-content>ul {
    display: block;
    margin: 0;
    width: 100%;
}
#app_menu .dropdown-content>ul>li {
    margin: 0;
}

#app_menu a {
    text-decoration: none;
    color: #f8e8c6;
    text-shadow: none;
    -webkit-transition: 300ms linear 0s;
    -moz-transition: 300ms linear 0s;
    -o-transition: 300ms linear 0s;
    transition: 300ms linear 0s;
    outline: 0 none;
}

#app_menu a.new-section {
    border-top: 3px solid rgba(255, 255, 255, 0.19);
}



#app_menu a:hover,
#app_menu a:focus {
    color: #fff;
    text-shadow: -1px 1px 8px #ffc, 1px -1px 8px #fff;
}

/*#app_menu li.dropdown {
                                display: inline-block;
                            }*/

#app_menu .dropdown-content {
    /*display: none;*/
    position: absolute;
    /*background-color: #f9f9f9;*/
    padding-top: 3px;
    border-top: 0px solid white;
    background-color: #968845;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)) 0px 0px / 100% 0.25em no-repeat, linear-gradient(#968845, #968845) 0px 0.25em / 100% 100% no-repeat;
    /*min-width: 100px;
    max-width: 60%;*/
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
    -webkit-transition: visibility 0s, opacity 0.3s linear;
    -moz-transition: visibility 0s, opacity 0.3s linear;
    -o-transition: visibility 0s, opacity 0.3s linear;
}

#app_menu .dropdown:hover>a:not(.mobile)~.dropdown-content,
#app_menu .dropdown>a.mobile:active~.dropdown-content,
#app_menu .dropdown>a.mobile:focus~.dropdown-content
{
    visibility: visible;
    opacity: 1;
}

#app_menu .dropdown-content>div {
    /*background-color: #f9f9f9;*/
    margin: 1em;
    padding: 1em;
    border-radius: 0.6em;
    background-color: #555;
    /*min-width: 100px;*/
    max-width: 20em;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

#app_menu .dropdown-content>div.new-section {
    background: none;
    margin: 0;
    width: 100%;
    max-width: inherit;
    padding: 0.5em;
    border-radius: 0;
    box-shadow: none;
    border-top: 3px solid rgba(255, 255, 255, 0.19);
}

#app_menu .dropdown-content h4 {
    padding: 0;
    margin: 0.5em !important;
    font-size: calc(10px + 0.4vw);
    color: #ffffff;
}

#app_menu .dropdown-content a {
    display: block;
    text-align: left;
    padding: 0.2em 0.4em 0.4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

#app_menu .dropdown-content a.dropdown-indent{
    padding-left: 1.2em;
}

#app_menu .video-lessons>a:after {
    font-family: FontAwesome;
    left: 0.4em;
    position: relative;
    top: 0.09em;
    padding-right: 0.6em;
    content: "\f0d7";
}

#app_menu .dropdown-content a:hover {
    background-color: #968845;
}

#app_menu .dropdown-content a.donate-btn {
    display: block;
    font-size: 1.3em;
    border: 1px solid white;
    border-radius: 0.5em;
    margin: 1em;
    padding: 0.4em;
    text-align: center;
}

#app_menu .dropdown-content a.donate-btn:hover {
    background-color: #867830;
}



/*endregion App Menu */

/* region Sidebars */

/*region Sidebar */

#subnav li a {
    font-family: "avenir", Arial, Helvetica, sans-serif;
}


/* for One Page Nav jquery script*/

#subnav .current a {
    color: #ffffff;
}

.subnav li a {
    font-family: "avenir", Arial, Helvetica, sans-serif;
}


/* for One Page Nav jquery script*/

.subnav .current a {
    color: #ffffff;
}

#sidebar {
    position: absolute;
    left: 42px;
    top: -15px;
    width: 250px;
    text-align: left;
}

#sidebar h2 {
    margin-bottom: 40px;
}

#sidebar h3 {
    font-family: "cochin", Georgia, serif;
    margin: 15px 0 0 0;
}

#sidebar ul {
    margin: 0;
    list-style: none;
    line-height: 1.9em;
    font-size: 0.83em;
}

.seperate_li {
    padding-top: 20px;
}

#sidebar img {
    vertical-align: middle;
}

#sidebar ul li ul {
    margin-left: 30px;
    font-size: 0.95em;
}


/*endregion Sidebar */

/*region Fixed Sidebar */

.fixed_sidebar_wrapper {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    min-width: 946px;

    -moz-transition: top 0.8s;
    -webkit-transition: top 0.8s;
    transition: top 0.8s;
}

.fixed_sidebar_wrapper_admin {
    top: 190px;
    left: 0;
    position: fixed;
    width: 100%;
    min-width: 946px;

    -moz-transition: top 0.8s;
    -webkit-transition: top 0.8s;
    transition: top 0.8s;
}

.fixed_sidebar_wrapper.v2,
.fixed_sidebar_wrapper_admin.v2 {
    width: auto;
    min-width: 0;
    left: 2%;
    z-index: 20;
}

.fixed_sidebar_wrapper.scrolled {
    top: 96px;
}

.fixed_sidebar_wrapper_admin.scrolled {
    top: 136px;
}

.fixed_sidebar {
    position: relative;
    margin: 0 auto;
    top: 0;
    /*top: 160px;*/
    left: -300px;
    width: 230px;
    font-family: "avenir", Arial, Helvetica, sans-serif;
    text-align: left;

    /*-moz-transition: top 0.8s;
        -webkit-transition: top 0.8s;
        transition: top 0.8s;*/
}

.fixed_sidebar.v2 {
    margin: 0;
    left: 0;
}

.fixed_sidebar h2 {

    margin-bottom: 40px;
}

.fixed_sidebar h3 {
    font-family: "cochin", Georgia, serif;
    margin: 15px 0 0 0;
}

.fixed_sidebar h4 {
    text-align: left;
    margin-bottom: 10px;
    font-size: 1.00em;
}

.fixed_sidebar ul {
    margin: 0;
    list-style: none;
    line-height: 1.9em;
    font-size: 0.83em;
}

.fixed_sidebar img {
    vertical-align: middle;
}

.fixed_sidebar ul li ul {
    margin-left: 15px;
    font-size: 0.95em;
}

.fixed_sidebar table {
    width: 100%;
    margin-left: 10px;
    font-size: 0.95em;
}

.fixed_sidebar .col1 {
    text-align: left;
}

.fixed_sidebar .col2 {
    text-align: right;
}


/*endregion Fixed Sidebar */

/*region Sidebar Bubble */

#sidebar_bubble {
    position: absolute;
    font-family: "avenir", Arial, Helvetica, sans-serif;
    left: -30px !important;
    padding: 12px;
    width: 218px;
    background-color: RGBA(255, 255, 255, 0.23);

    font-size: 0.9em;

    /* border-radius */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* box-shadow */
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
}

#sidebar_bubble_relative {
    position: relative;
    font-family: "avenir", Arial, Helvetica, sans-serif;
    padding: 12px 0;
    width: 218px;
    background-color: RGBA(255, 255, 255, 0.23);

    font-size: 0.8em;

    /* border-radius */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* box-shadow */
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
}

/*endregion Sidebar Bubble

/* Sidebar Card */

/*region Sidebar Card*/

.sidebar_card {
    margin-top: 20px;
}

.sidebar_card h2 {
    font-family: "avenir", Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 0;
    color: #ffffff;
    text-align: center
}

.sidebar_card .part1 {
    padding: 2px;
    background-color: #f3f3f3;

    /* border-radius */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* box-shadow */
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
}

.sidebar_card .part1 h4 {
    font-family: "cochin", Georgia, serif;
    font-size: 1.1em;
    margin-bottom: 0;
    padding-bottom: 2px;
    color: #b49635;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #000000;
}


.sidebar_card .part1 .table {
    padding: 1em 0;
    color: #000000;

    /*background-image: url('../i/HeartDrops3.gif');*/
}

.sidebar_card .part1 .table a {
    color: #1E508B;
}

.sidebar_card .part1 .table a:hover {
    color: #ff0000;
}

.sidebar_card .part1 .table table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 4px;
    width: 92%;
}

.sidebar_card .part1 .table td {
    padding-top: 2px;
    padding-bottom: 2px;
}

.sidebar_card .part1 .table tr td+td {
    /*background-color: #f4f4f4;*/
    font-weight: bold;
}

/*endregion Sidebar Card*/

/*region Sidebar Accumulations */

#sidebar_accumulations {
    margin-top: 20px;
    width: 194px;
}

#sidebar_accumulations h2 {
    font-family: "avenir", Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 0;
    color: #ffffff;
    text-align: center
}

#sidebar_accum_part1 {
    padding: 2px;
    width: 190px;
    background-color: #f3f3f3;

    /* border-radius */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* box-shadow */
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
}

#sidebar_accum_part1 h4 {
    font-family: "cochin", Georgia, serif;
    font-size: 1.1em;
    margin-bottom: 0;
    padding-bottom: 2px;
    color: #b49635;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #000000;
}

#sidebar_accum_table_part1 {
    color: #000000;
    min-height: 90px;

    /*background-image: url('../i/HeartDrops3.gif');*/
}

#sidebar_accum_table_part1 a {
    color: #1E508B;
}

#sidebar_accum_table_part1 a:hover {
    color: #ff0000;
}

#sidebar_accum_table_part1 table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 4px;
    width: 92%;
}

#sidebar_accum_table_part1 td {
    padding-top: 2px;
    padding-bottom: 2px;
}

#sidebar_accum_table_part1 tr td+td {
    /*background-color: #f4f4f4;*/
    font-weight: bold;
}


/*endregion Sidebar Accumulations */

/* endregion Sidebars */

/*region Content Area */


.body_bar {
    flex: 1 1 auto;
    position: relative;
    width: 100%;
    z-index: 2;

    /*Default but This is set by javascript in the header and nav depending on the menu layout / screen width */
    /*margin-top: 8em;*/

}


#content_container {
    position: relative;
    left: 270px;
    top: -26px;
    float: left;
    width: 693px;
    background: url(../i/content_bg.png) repeat-y top left;
}

#content_container_center {
    position: relative;
    margin: 0 auto;
    top: -26px;
    width: 693px;
    background: url(../i/content_bg.png) repeat-y top left;
}

#content_cap_top {
    position: absolute;
    left: 0;
    top: -37px;
    width: 693px;
    height: 37px;
    background: url(../i/content-cap-top.png) no-repeat top left;
    z-index: 5;
}

#content_cap_bottom {
    position: absolute;
    left: 0;
    bottom: -37px;
    width: 693px;
    height: 37px;
    background: url(../i/content-cap-bottom.png) no-repeat top left;
    z-index: 5;
}

#front_page_top_shadow {
    position: absolute;
    left: 35px;
    top: -22px;
    height: 344px;
    width: 900px;
    -webkit-box-shadow: 0 0 24px 2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 0 24px 2px rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 24px 2px rgba(0, 0, 0, 0.75);
}

#wide_content_container_front_page_top {
    left: 0;
    top: 0;
    height: 334px;
    text-align: center;
    /*background: url(../i/wide-content_bg.png) repeat-y top left;*/
}

#wide_content_container {
    left: 0;
    top: 0;
    text-align: center;
    background: url(../i/wide-content_bg.png) repeat-y top left;
}

#wide_content_container_standard {
    left: 0;
    top: 0;
    text-align: center;
    background: url(../i/wide-content_bg-standard.png) repeat-y top left;
}

#wide_content_container_forum {
    position: relative;
    left: 0;
    top: 93px;
    text-align: center;
    background: url(../i/wide-content_bg-standard.png) repeat-y top left;
}

.front_window_container {
    background: url(../i/wide-content_bg-front_repeat_y.png) repeat-y top left !important;
    top: -19px !important;
}

#wide_content_cap_top {
    position: absolute;
    left: 0;
    top: -37px;
    width: 970px;
    height: 37px;
    background: url(../i/wide-content-cap-top.png) no-repeat top left;
    z-index: 5;
}

#wide_content_cap_top_tight_front_page_top {
    position: absolute;
    left: -41px;
    top: -6px;
    width: 970px;
    height: 37px;
    background: url(../i/wide-content-cap-top-clear-shadowless.png) no-repeat top left;
    z-index: 5;
}

#wide_content_cap_top_tight {
    position: absolute;
    left: 0;
    top: -6px;
    width: 970px;
    height: 37px;
    background: url(../i/wide-content-cap-top-clear.png) no-repeat top left;
    z-index: 5;
}

#wide_content_cap_top_forum {
    position: absolute;
    left: 0;
    top: -130px;
    width: 970px;
    height: 130px;
    background: url(../i/wide-content-cap-top-rithrodrides.png) no-repeat top left;
    z-index: 1;
}

#wide_content_cap_bottom_front_page_top {
    position: absolute;
    left: -41px;
    width: 970px;
    height: 37px;
    bottom: -9px !important;
    background: url(../i/wide-content-cap-bottom-clear-shadowless.png) no-repeat top left !important;
    z-index: 5;
}

#wide_content_cap_bottom {
    position: absolute;
    bottom: -37px;
    left: 0;
    width: 970px;
    height: 37px;
    background: url(../i/wide-content-cap-bottom.png) no-repeat top left;
    z-index: 5;
}

#wide_content_cap_bottom_standard {
    position: relative;
    bottom: -37px;
    left: 0;
    width: 970px;
    height: 37px;

    background: url(../i/wide-content-cap-bottom-standard.png) no-repeat top left;
    z-index: 5;
}


/*endregion Content Area */

/* region Content General */

.outer {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.outer a {
    text-decoration: none;
    color: #c0d4e9;
    outline: none;
}

.outer a:hover {
    color: #fff;
}

.outer li {
    list-style: none;
}

.content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92em;
    line-height: 1.3em;
    color: #313C4D;
    background: #f3f3f3;
    text-align: left;
}

.content a {
    color: #AD1F39;
    text-decoration: none;
}

.content a:hover {
    color: #C32A25;
    text-decoration: underline;
}

.content p {
    margin: 1.25em 0;
}

.content strong {
    color: #19438B;
}

.content h2 {
    font-size: 2.1em;
    color: rgb(181 51 44);
    line-height: 120%;
}

.content h3 {
    font-size: 1.4em;
    color: #34270f;
    line-height: 120%;
}

.content h4 {
    font-size: 1.2em;
    padding: 1.5em 0 0.3em 0;
}

.content h4,
.content h5 {
    color: #6DB4DC;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif, Georgia, "Times New Roman", Times;
}

.content h5 {
    font-size: 1em;
}


/* wyk */

.content h6 {
    font-size: 1.0em;
    padding: 0 0 1.3em 0;
}

.content h6,
.content strong {
    color: #1B4889;
}

.content ol,
.content ul,
.content dd {
    font-size: 0.96em;
    margin-left: 30px;
}

.content ul {
    list-style-image: url(../i/bullet_blue.png);
}

.content blockquote {
    color: #2450b5;
    font-style: italic;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.content blockquote blockquote {
    text-align: center;
    font-weight: bold;
}

.framed {
    margin: 0 47px 0 42px;
    position: relative;
    top: -28px;
}

.framed_forum {
    margin: 0 47px 0 42px;
    position: relative;
    top: 0;
}

.standard {
    width: 604px;
    text-align: left;
}

.standard img {
    border: 1px solid #CCC;
}

.padded_content {
    width: 510px;
    padding: 0 46px !important;
}

.padded_wide_content {
    width: 750px;
    padding: 0 76px !important;
    text-align: left;
}

.padded_content_bottom_border {
    width: 510px;
    padding: 0 46px !important;
    border-bottom: 1px solid #243b66;
}

.padded_content h3 {
    padding-top: 1em;
}

.wide {
    width: 886px;
    text-align: center;
}

.boxed {
    border: 2px solid #5078ba;
    /*-webkit-box-shadow: 0 0 22px 0 rgba(0,0,0,0.40);
                -moz-box-shadow: 0 0 22px 0 rgba(0,0,0,0.40);
                box-shadow: 0 0 22px 0 rgba(0,0,0,0.40);*/
    -webkit-box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.75);
    border-radius: 2px;
}

/* changed may18'18 for general-donations box - was .boxed>h5 */
.boxed h5 {
    font-family: "avenir", Arial, Helvetica, sans-serif;

    /* width: 90%; */
    background: #1e4a8a;
    border-bottom: 1px solid #5078ba;

    color: #eee; /*#14315d;*/
    text-shadow: 0 0 1.4em #888; /*#f3e18e;*/
    padding: 7px 5%;
    font-size: 1.25em;
    line-height: 1.3em;
}

.boxed p {
    margin: 1.25em 15px;
}

.boxed ul {
    margin-left: 0;
}

img {
    color: #AAA;
    font-size: small;
}

.title_img {
    border: 0 !important;
    display: block;
}

.page_titles {
    width: 100%;
    padding: 15px 0;
    background: #fff;
    text-align: center;
    border-top: 1px solid #243b66;
    border-bottom: 1px solid #243b66;
}

.signature {
    text-align: right !important;
}

.img_w_caption_left,
.img_w_caption_right {
    font-size: small;
    color: #555;
    width: 50%;
    max-width: 300px;
}

.img_w_caption_left img,
.img_w_caption_right img {
    display: block;
    width: 100%;
}

.img_w_caption_left {
    float: left;
    margin: 18px 18px 18px 0;
    text-align: left;
}

.img_w_caption_right {
    float: right;
    margin: 18px 0 18px 18px;
    text-align: right;
}

a.evaluateWebcast {
    display: block;
    text-indent: -9999px;
    width: 150px;
    height: 41px;
    background: url(../i/evaluateWebcast.png) no-repeat top left;
    cursor: pointer;
}

a.evaluateWebcast:hover {
    background-position: bottom;
}


/* endregion Content General */

/*region Forms */

fieldset {
    border: 0;
    padding: 10px 0;
}


label {
    border: 0;
    display: block;
    font-size: 0.8em;
}

input,
select {
    padding: 3px;
}

input[type=text] {
    width: 50%;
}

.name_field {
    float: left;
    position: relative;
    width: 50%;
}

.name_field input {
    width: 90%;
}

.message {
    width: auto; /*was 460 may23-2018*/
    padding: 10px 10px 10px 40px;
    text-align: left !important;
}

.success {
    background: #F0FFF0 url(../i/icons/tick.png) no-repeat 15px 11px;
    border: 2px solid #00FF00;
}

.alert {
    background: #FF9 url(../i/icons/error.png) no-repeat 15px 12px;
    border: 2px solid #F90;
}

input.donation {
    padding: 5px;
}

.short_field input {
    width: 75px;
}

.checkbox_label {
    display: inline;
}


/* Standard Forms */

.standard_form label {
    /*color: #1B4889;*/
    font-size: 0.9em;
}

.standard_form input[type=text] {
    width: 300px;
}

.standard_form textarea {
    width: 310px;
}

.standard_form select {
    width: 310px;
}

.standard_form input[type=checkbox] {
    transform: scale(1.5, 1.5);
    -webkit-transform: scale(1.5, 1.5);
    -moz-transform: scale(1.5, 1.5);
    -o-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);

    padding: 10px;
    margin-left: 10px;
    vertical-align: middle;
}

.standard_form input.error {
    /*border: 2px inset rgba(0, 0, 0, 0.1);
                    -webkit-box-shadow: 0 0 5px 0 rgba(255,0,0,0.4);
                    -moz-box-shadow: 0 0 5px 0 rgba(255,0,0,0.4);
                    box-shadow: 0 0 5px 0 rgba(255,0,0,0.4);*/
}

.standard_form label.error,
.standard_form label.checked {
    margin-left: 8px;
    background: url("../i/icons/error.png") no-repeat 0 0;
    padding-left: 20px;
    padding-bottom: 0;
    font-weight: Normal;
    font-size: 1.05em;
    color: #ea3822;
    width: auto;
    height: 20px;
    display: inline-block;
}

.standard_form label.checked {
    background: url("../i/icons/accept.png") no-repeat 0 0;
}


/***** Bigger Forms *****/

.bigger_form {
    /* color: #1B4889; */
    font-size: 1.05em;
    margin: auto 40px;
}

.bigger_form p {
    font-size: 1.05em;
    line-height: 1.4em;
    margin: 20px 40px;
}

.bigger_form label {
    font-size: 1.04em;
    margin-bottom: 4px;
    width: 100%;
}

.bigger_form input {
    font-size: 1.05em;
}

.bigger_form input[type=text] {
    width: 99%;
}

.bigger_form input[type=email] {
    width: 99%;
}

.bigger_form input[type=radio] {
    transform: scale(1.5, 1.5);
    -webkit-transform: scale(1.5, 1.5);
    -moz-transform: scale(1.5, 1.5);
    -o-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
}

.bigger_form input[type=radio]+label,
.bigger_form input[type=checkbox]+label {
    display: inline-block;
    width: auto;
    margin: 0 20px 0 12px;
}

.bigger_form textarea {
    font-size: 1.12em;
    width: 100%;
}

.bigger_form select {
    font-size: 1.05em;
    width: 100%;
}

.bigger_form input[type=checkbox] {
    transform: scale(1.5, 1.5);
    -webkit-transform: scale(1.5, 1.5);
    -moz-transform: scale(1.5, 1.5);
    -o-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);

    padding: 10px;
    margin-left: 10px;
    vertical-align: middle;
}

.bigger_form input.error {
    /*border: 2px inset rgba(0, 0, 0, 0.1);
                    -webkit-box-shadow: 0 0 5px 0 rgba(255,0,0,0.4);
                    -moz-box-shadow: 0 0 5px 0 rgba(255,0,0,0.4);
                    box-shadow: 0 0 5px 0 rgba(255,0,0,0.4);*/
}

.bigger_form label.error,
.bigger_form label.checked {
    margin-left: 8px;
    background: url("../i/icons/error.png") no-repeat 0 0;
    padding-left: 20px;
    padding-bottom: 0;
    font-weight: Normal;
    color: #ea3822;
    width: auto;
    height: 20px;
    display: inline-block;
}

.bigger_form label.checked {
    background: url("../i/icons/accept.png") no-repeat 0 0;
}



/* Responsive Forms */

input,
input[type],
select,
textarea,
.standard_form select,
.standard_form textarea {
    max-width: 300px;
}

.form-field {
    flex: 1 1 auto;
    line-height: 1.5;
    margin: 1.25em 1em;
    min-width: 14em;
    max-width: 24em;
}

.form-field.inline {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}

.form-field>input[type=checkbox] {
    flex: 0 0 3em;
    margin: 0;
    padding: 0;
}


.form-set {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: auto;

    flex: 0 1 10em;
}


/*endregion Forms */

/* region Responsive Fancy Border Container */

.kc-border {

    margin: 0 auto;

    border-radius: 1em;

    background-image: linear-gradient(to right, white, white), linear-gradient(to right, #f3f3f3, #f3f3f3);
    background-repeat: no-repeat, no-repeat;
    background-origin: border-box, border-box;
    background-size: 100% 50%, 100% 100%;
    -o-background-size: 100% 50%, 100% 100%;
    -moz-background-size: 100% 50%, 100% 100%;
    -webkit-background-size: 100% 50%, 100% 100%;

    border-width: 1px;
    border-color: #b5b5b5;
    border-style: solid;

    box-shadow: 0 0 8px -3px rgb(0 0 0 / 90%);
}

.kc-border.simple {
    background: #f3f3f3;
}

.kc-header-img-pilgrimage2017 {

    background-image: url("../p/kathmandu.jpg"),
    linear-gradient(rgba(32, 33, 35, 1.0), rgba(66, 64, 75, 1.0)),
    linear-gradient(#f3f3f3, #f3f3f3);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% auto, 100% 336px, auto;
    /* 100% for scale */
    background-origin: border-box, border-box, border-box;
    background-position: center top, center top, bottom;
    background-attachment: scroll, scroll, scroll;
    /*fixed*/
    ;

    padding-top: 304px;
    padding-bottom: 0;
}


/* Has to be Specific for Header Image :/  */

.kc-header-img-khenchen {

    background-image: url("/p/khenchen-tsultrim_608w_1.jpg"),
    linear-gradient(#AB4419, #AB4419),
    linear-gradient(#f3f3f3, #f3f3f3);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: auto, 100% 390px, auto;
    /* 100% for scale */
    background-origin: border-box, border-box, border-box;
    background-position: center top, center top, bottom;
    background-attachment: scroll, scroll, scroll;
    /*fixed*/
    ;

    padding-top: 340px;
    padding-bottom: 0;
}

.kc-header-img-404 {

    background-image: url("/p/garabdorjetankha.jpg"),
    linear-gradient(#327E8F, #609B9F, #D58F46, #70A38E, #70A38E),
    linear-gradient(#f3f3f3, #f3f3f3);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 30vh, 100%, auto;
    background-origin: border-box, border-box, border-box;
    background-position: 50% 80%, center bottom, bottom;
    background-attachment: scroll, scroll, scroll;
    /*fixed*/
    ;

    padding-top: 0;
    padding-bottom: 0;

    position: absolute;

    left: 0;
    top: 0;
    right: 0;
    bottom: 200px;
}

.kc-header-img-policy {

    background-image: url("/p/fall-under-water.jpg"),
    linear-gradient(rgba(32, 33, 35, 1.0), rgba(66, 64, 75, 1.0)),
    linear-gradient(#f3f3f3, #f3f3f3);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: contain, 100% 350px, auto;
    /* 100% for scale */
    background-origin: border-box, border-box, border-box;
    background-position: center top, center top, bottom;
    background-attachment: scroll, scroll, scroll;
    /*fixed*/
    ;

    padding-top: 70px;
    padding-bottom: 0;
}

.kc-header-img-schedule {

    background-image: linear-gradient(#f3f3f3, #f3f3f3), url("/p/at_break_1920.jpg"),
    linear-gradient(rgba(32, 33, 35, 1.0), rgba(66, 64, 75, 1.0));
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% 140px, 100%, 100% 336px;
    /* 100% for scale */
    background-origin: border-box, border-box, border-box;
    background-position: bottom, center top, center top;
    background-attachment: scroll, scroll, scroll;
    /*fixed*/
    /* padding-top: calc(-80px + 30vw); */
    padding-top: calc(-200px + 30vw);
    padding-bottom: 0;
}

.kc-inner {
    padding: 14px 30px;
}

.kc-header {
    background: white;
    text-align: center;
    border-radius: 1em 1em 0 0;
}

.kc-content {
    background: #f3f3f3;
    border-bottom: 0 solid black;
    border-radius: 0 0 1em 1em;
}


/*endregion Responsive Fancy Container End */

/*region Modals*/


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* Stay in place */
    z-index: 10000;
    /* Sit on top */
    left: 0;
    top: 0;
    padding-top: 0;
    /* Location of the box */
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
    position: relative;
    overflow: hidden;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 1em;
    width: 70%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-fill-mode: forwards;
    animation-name: animatetop;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -30%;
        opacity: 0
    }
    to {
        top: 30%;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -30%;
        opacity: 0
    }
    to {
        top: 30%;
        opacity: 1
    }
}


/* The Close Button */

.modal-close {
    color: #eee;
    font-size: 2.5em;
    font-weight: bold;
    position: absolute;
    right: 0.3em;
    top: 0.3em;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    text-shadow: 0 0 1.4em #f3e18e;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 1.2em;
    background-color: rgba(30, 80, 139, 0.92);
}

.modal-header h2 {
    color: white;
    text-align: center;
}

.modal-body {
    font-size: 1.2em;
    line-height: 1.4em;
    padding: 0 1.2em;
}


/*endregion Modals*/

/*region Page Specific */

/*region Donations */

.donations {
    top: -30px !important;
}

.donation_boxes {
    padding-top: 20px;
    z-index: 2;
}

.donation_boxes li {
    width: 221px;
    margin-bottom: 20px;
}

.donation_boxes li h5 a {
    color: #fff;
    text-decoration: none;
}

.donation_boxes li h5 a:hover {
    color: #fff;
    text-decoration: none;
}

.donation_boxes img {
    display: block;
    margin: auto;
    object-fit: contain;
    /* height: 100%; */
    width: 100%;
}

.donation_boxes .boxed p {
    font-size: 1.1em;
}

/*a.donate {
    display: block;
    text-indent: -9999px;
    width: 150px;
    height: 41px;
    margin: 0 auto;
    background: url(../i/donate.png) no-repeat top left;
    cursor: pointer;
}*/


a.donate {
    display: inline-block;
    font-size: 1.1em;
    color: rgba(255,255,255,0.8);
    padding: 0.5em 1em;
    background: linear-gradient(180deg, #86a5d8 0, #1c4989 100%);
    border: 2px solid #5078ba;
    border-radius: 2.3em;
    box-shadow: #AAA 0 0 1em 0.1em;
    cursor: pointer;
    text-decoration: none;
    margin: 0.5em 0.1em;
}


/*a.donate:hover {
    background-position: bottom;
}*/

a.donate:hover {
    /* background-position: bottom; */
    text-decoration: none;
    color: white;
    box-shadow: #555555 0 0 1em 0.1em;
}

a.donate.donate-left {
    border-radius: 2em 0 0 2em;
}

a.donate.donate-right {
    border-radius: 0 2em 2em 0;
}

a.giftdonate {
    display: block;
    text-indent: -9999px;
    width: 150px;
    height: 41px;
    background: url(../i/gift_donate.png) no-repeat top left;
    cursor: pointer;
}

a.giftdonate:hover {
    background-position: bottom;
}

/*endregion Donations */


/*region Front Page */


/* Top banner */


/*  Set elsewhere since it's global

                .kc-border {

                    border: 31px solid transparent;
                    border-image: url(/i/kc_border_css3_5.png) 31 repeat;
                    border-image-outset: 6px;

                    -webkit-box-shadow: 0 0 40px 10px rgba(0,0,0,1);
                    box-shadow: 0 0 40px 10px rgba(0,0,0,1);

                }*/

.kc-header-img-main-banner {
    position: relative;

    width: calc(100% - 90px);
    height: 200px;
    margin: 0 auto;
    max-width: 1370px;


    background-image: url("/p/hh_khenpo_jigmed_phuntsog_172.png"),
    linear-gradient(#5078b9, #5078b9), /*64a4ff*/
    url("/p/front-khentrul-rinpoche-182by262.png"),
    linear-gradient(#5078b9, #5078b9),
    radial-gradient(ellipse at center, #fafafa 50%, #E0E7F4 75%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 172px, 174px 100%, 183px, 185px 100%, auto 100%;
    /* 100% for scale */
    background-origin: border-box, border-box, border-box, border-box, border-box;
    background-position: left top, left top, right top, right top, bottom;
    background-attachment: scroll, scroll, scroll, scroll, scroll;
    /*fixed*/
    ;
}

.kc-header-img-main-banner span {
    position: relative;

    display: block;
    padding: 0 0 5px 21px;

    font-family: "Niconne", "avenir", Arial, Helvetica, sans-serif;
    font-style: italic;

    text-indent: -4px;
    text-align: left;
    text-shadow: 0.2em 0.2em 0.3em rgba(0, 0, 0, 0.2);
    /*text-shadow: -0 0 rgba(0,0,0,0.1), 0 1px rgba(0,0,0,0.1), 1px 0 rgba(0,0,0,0.1), 0 -0 rgba(0,0,0,0.1);*/
    color: #9e8615;
    /*#8C7713;*/
    /*#0F2780*/
    ;
}

.kc-header-main-banner-middle {
    display: none;
    position: absolute;
    left: 160px;
    width: calc(100% - 325px);
    height: 260px;

    padding-top: 0;
    padding-bottom: 0;

    margin: 0 auto;

    overflow: hidden;

    top: 75%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    vertical-align: top;
}

#quoteEnglish {
    font-size: 1.6em;

    font-weight: normal;

    line-height: 0.8em;
    /*1.3em;*/
    /*line-height:2vw;*/
}

#quoteEnglish .blockquote {
    position: relative;
    padding: 0 3em 0 2em;
    margin: 0 auto;
}

#quoteEnglish .blockquote:before {
    position: absolute;

    left: 5px;
    top: 0.3em;

    font-size: 4em;
    color: #e1e1e1;
    content: "\201C";

    line-height: 0.1em;
}

#quoteEnglish .blockquote:after {
    position: absolute;
    right: 0.2em;
    bottom: 0;

    font-size: 4em;

    color: #e1e1e1;
    content: "\201D";

    line-height: 0.1em;
}

.quoteEnglish-inner {
    margin: 0 auto;
    max-width: 500px;
}

#quoteEnglish span {
    margin-top: 0.35em;
}

#quoteEnglish .signature {

    display: block;

    margin-top: 1.4em;
    margin-right: 5em;

    font-size: 0.95em;
    text-align: right;
    color: RGBA(0, 0, 0, 0.37);
    /*#1B48A3*/
}

#quoteTibetan {}

.quoteTibetan-outer {
    /*width:100%;*/
}

.quoteTibetan-inner {
    position: relative;
    top: -0.7em;
    width: 23em;
    margin: 0 auto;

    letter-spacing: 0.1em;
}

.quoteTibetan-inner span {
    font-family: 'Tibetan', sans-serif;
    font-size: 2.9em;
    font-style: normal;
    font-weight: normal;

    text-indent: 0;

    line-height: 0.8em;

    color: #9e8615;
}

.quoteTibetan-inner span:first-child {
    margin-left: -24px;
}

#quoteTibetan .signature {
    display: block;
    margin-top: 2.7em;
    margin-right: 1em;

    font-size: 0.94em;
    font-style: italic;
    text-align: right;
    letter-spacing: normal;
    color: RGBA(0, 0, 0, 0.37);
    /*#1B48A3  RGBA(111,164,255,1.0)*/
}

.kc-header-title span {
    display: block;

    padding: 0 0 0 0;

    font-family: "cochin", Georgia, serif;
    font-size: 15px;
    font-style: normal;

    text-shadow: 0 0 1px #e7dfb6;
    text-indent: 0;
    text-align: center;

    color: #dbcd88;

    background-color: rgba(29, 78, 138, 0.5);

    border-color: rgba(0, 0, 0, 0.1);
    border-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
}

.kc-main-header-left-title {
    position: absolute;
    top: 166px;
    left: -31px;
    width: 172px;
}

.kc-main-header-right-title {
    position: absolute;
    top: 166px;
    right: -31px;
    width: 183px;
}

#homeHeaderButton {
    position: absolute;
    display: inline-block;
    cursor: pointer;
    bottom: -24px;
    left: 154px;
}

.subtleButton {

    padding: 4px 11px;

    -moz-box-shadow: inset 0 1px 0 0 #ffffff;
    -webkit-box-shadow: inset 0 1px 0 0 #ffffff;
    box-shadow: inset 0 1px 0 0 #ffffff;
    background-color: transparent;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 2px solid #e1e1e1;
    /*e1e1e1*/
    font-family: "Avenida", Arial;
    font-size: 10px;
    font-weight: bold;

    text-decoration: none;
    text-shadow: 0 1px 0 #ffffff;
    text-align: center;

    -webkit-transition: border 0.6s, color 0.6s;
    /* Safari */
    transition: border 0.6s, color 0.6s;

    color: #b6b6b6;
    /* b6b6b6 */
}

.subtleButton:hover {
    border: 2px solid #5077b9;
    color: #9e8615;
    /*#5078b9;*/
    -webkit-transition: border 1s, color 1s;
    /* Safari */
    transition: border 1s, color 1s;
}

.subtleButton:active {
    margin-bottom: -1px;
    background-color: rgba(0, 0, 0, 0.05);
}

@media only screen and (min-width: 1130px) {

    #quoteEnglish .blockquote {
        width: 600px;
    }
}

@media only screen and (min-width: 1300px) {

    #homeHeaderButton {
        /*display:none;*/
    }

    #quoteEnglish.kc-header-main-banner-middle {
        display: none;
        top: 77%;
        left: 42%;
        width: 45%;
    }

    #quoteEnglish {
        line-height: 0.8em;
        /*1.3em;*/
    }

    #quoteEnglish .blockquote {
        width: auto;
    }

    #quoteEnglish .blockquote:before,
    #quoteEnglish .blockquote:after {
        display: none;
    }

    #quoteTibetan.kc-header-main-banner-middle {
        display: none;
        top: 73%;
        left: 14%;
        width: 30%;
    }

    #quoteTibetan .signature {
        display: none;
    }
}

@media only screen and (max-width: 1000px) {

    #quoteEnglish {
        font-size: 1.35em;
        /*0.9em;*/
    }
}

@media only screen and (max-width: 960px) {

    .quoteTibetan-inner span {
        font-size: 2.6em;
    }

    #quoteTibetan .signature {
        /* margin-right:15em;
                        text-align: right; */
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 860px) {

    .kc-header-img-main-banner {
        background-image: url("/p/front-khentrul-rinpoche-182by262.png"),
        linear-gradient(#5078b9, #5078b9),
        radial-gradient(ellipse at center, #fafafa 50%, #E0E7F4 75%);
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-size: 183px, 185px 100%, auto 100%;
        /* 100% for scale */
        background-origin: border-box, border-box, border-box;
        background-position: right top, right top, bottom;
        background-attachment: scroll, scroll, scroll/*fixed*/
        ;
    }

    #quoteEnglish.kc-header-main-banner-middle {
        top: 77%;
        left: 0;
        width: calc(100% - 174px);
    }

    #quoteTibetan.kc-header-main-banner-middle {
        top: 60%;
        left: -3%;

        width: 76%;
        height: 100%;
    }

    .quoteTibetan-inner {
        position: relative;
        top: -0.7em;
        width: 23em;
        margin: 0 auto;

        letter-spacing: 0.1em;
    }

    .kc-main-header-left-title {
        display: none;
    }

    .kc-main-header-right-title {
        display: none;
    }

    #homeHeaderButton {
        left: 4px;
    }
}

@media only screen and (max-width: 680px) {

    #quoteEnglish.kc-header-main-banner-middle {

        top: 70%;
        left: -11%;
        width: calc(100% - 104px);
    }

    #quoteTibetan.kc-header-main-banner-middle {
        top: 60%;
        left: -3%;

        width: calc(100% - 154px);
        height: 100%;
    }

    #quoteEnglish .blockquote {
        width: auto;
    }

    #quoteEnglish .blockquote:before,
    #quoteEnglish .blockquote:after {
        display: none;
    }

    #quoteEnglish .signature {
        margin-right: 1em;
        text-align: right;
    }

    .quoteTibetan-inner span {
        font-size: 2.6em;
    }

    #quoteTibetan .signature {
        margin-right: 4em;
        text-align: right;
    }
}

@media only screen and (max-width: 550px) {
    .kc-header-img-main-banner {
        position: relative;

        width: calc(100% - 90px);
        height: 340px;
        margin: 0 auto;
        max-width: 1370px;


        background-image:
        radial-gradient(ellipse at center, #fafafa 50%, #E0E7F4 75%),
        linear-gradient(#5078b9, #5078b9),
        url("/p/hh_khenpo_jigmed_phuntsog_172.png"),
        url("/p/front-khentrul-rinpoche-182by262.png");
        background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
        background-size: 100% 60%, 100% calc(60% + 1px), calc(50% - 1px), calc(50% - 1px);
        /* 100% for scale */
        background-origin: border-box, border-box, border-box, border-box;
        background-position: bottom, bottom, left top, right top;
        background-attachment: scroll, scroll, scroll, scroll;
        /*fixed*/
    }


    .kc-main-header-left-title {
        display: block;
        top: 86px;
        width: calc(50% + 30px);
    }

    .kc-main-header-left-title>span{
        height: 38px;
        padding: 0 5px;
    }

    .kc-main-header-right-title {
        display: block;
        top: 86px;
        width: calc(50% + 30px);
    }

    .kc-main-header-right-title>span{
        height: 38px;
        padding: 0 5px;
    }


    #quoteEnglish.kc-header-main-banner-middle {
        /*border: 1px solid red;*/
        top: 87%;
        left: -11%;
        width: 117%;
    }

    #quoteTibetan.kc-header-main-banner-middle {
        /*border: 1px solid red;*/
        top: 96%;
        left: 0%;

        width: 100%;
        height: 100%;
    }

    #quoteEnglish .blockquote {
        width: auto;
    }

    #quoteEnglish .blockquote:before,
    #quoteEnglish .blockquote:after {
        display: none;
    }

    #quoteEnglish .signature {
        margin-top: 0.7em;
        margin-right: 1em;
        text-align: right;
    }

    .quoteTibetan-inner span {
        font-size: 2.6em;
    }

    #quoteTibetan .signature {
        margin-right: 4em;
        text-align: right;
    }
}


/* old Top Banner*/

.front_window {
    background: no-repeat top left;
    /*url(../p/frontTopLeft/getRandPhoto.php) */
    width: 889px;
    left: 41px;
    margin: 0 auto;
    position: absolute;
}


/*#TopWindow2 {
                    top: -312px;
                    position: relative;
                }*/

#front_intro {
    width: 400px;
    padding: 20px 5px 20px 450px;
    text-align: center;
}

#front_intro img {
    margin: 0 auto;
}

#front_intro span {
    font-family: "avenir", Arial, Helvetica, sans-serif;
    display: block;
    text-align: left;
    position: relative;
    padding: 0 0 5px 21px;
    font-size: 1.0em;
    color: #0F2780;
    font-style: italic;
    text-indent: -21px;
}

#front_intro span em {
    position: absolute;
    left: 10px;
    top: 0;
}

#front_page_content {
    padding: 24px 0;
    max-width: 1464px;
    /* min-width: 400px; */
    margin: 0 auto;
}

#front_page_content li {
    /* width: 242px; */
    /* padding: 9px 15px; */
    /* margin: 0 0 2px 0; */
    list-style: none;
    background: radial-gradient(ellipse at center, #fafafa 50%, #E0E7F4 85%) no-repeat center center;
    background-size: auto 170%;
    /*border-top: 1px solid #f3f3f3;*/
    border-bottom: 1px solid #86a5d8;
}

#front_page_content li>div {
    background: #e6ebf5;
    padding: 0.5em;
    border-bottom: 1px solid gainsboro;
}


/*#front_page_content li a{
                    display: block;
                    width: 100%;
                }*/


/*region Talkbox */

#talk-box {
    /* background-color: #e0e7f4; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 11px;
    padding: 0;

    /* background-color: #dddddd; */
    background: radial-gradient(ellipse at center, #fafafa 50%, #E0E7F4 85%) no-repeat center center;
    background-size: auto 170%;
}

.talk-box-title {
    flex: 1 0 70px;
    align-self: stretch;
    min-height: 28px;
    background: #1e4a8a; /*rgb(134, 165, 216);*/
    /*border: 1px solid #27569F;*/
    /*border-right: 1px solid #27569F;*/
}

.talk-box-title>div {
    height: 100%;
    display: grid;
    /*background: orange;*/
}

.talk-box-title h5 {
    margin: 0.25em auto;
    font-family: avenir, Arial, Helvetica, sans-serif;
    color: #eee; /*rgb(20, 49, 93);*/
    text-shadow: rgb(243, 225, 142) 0 0 3em;
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
    border: none;
}

.talk-box-title h5 span {
    color: #dbcd88;
    text-shadow: 0 0 9px #000000;
    display: block;
    font-size: 0.85em;
    margin: 0 0.5em;
    vertical-align: center;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

#talk_selector_holder {
    flex: 8 1 auto;
    margin: 5px;
    min-width: 0;
}

.talk-album {
    display: flex;
    justify-content: center;
    align-items: center;
    /*flex-wrap: wrap;*/
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    line-height: normal;

    height: 100%;
}

.talk-album .text {
    font-weight: bold;
    margin: 0;
    padding: 0 0 0 6px;
    text-align: center;
    vertical-align: middle;
}

.talk-album .teacher {
    flex: 0 1 auto;
    font-size: 12px;
    color: #1B4889;
}

.talk-album .title {
    flex: 1 1 auto;
    color: #AD1F39;
    font-family: "cochin", Georgia, serif;
    font-size: 14px;
    min-width: 0;
    text-shadow: 0 0 3px #d2b760;
}

.talk-album.talk-options {
    padding: 0;
    margin: 0 14px 0 2px;
}


/*not used*/

.talk-album .dateLocation {
    color: #313C4D;
    /* width: 200px; */
}

.player {
    flex: 0 1 auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    text-align: center;
}

.playlist-wrap {
    /*height: 100%;*/
    border: 0 solid red;
    margin: 5px;
}

.player .divbtn {
    background: transparent;
    box-sizing: border-box;
    border: 2px solid transparent;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 1.4em;
    margin: 0;
    outline: 0;
    padding: 0;
    text-align: center;
    -webkit-transition: border 0.6s, color 0.6s;
    /* Safari */
    transition: border 0.6s, color 0.6s;
}

.player .divbtn::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.player .divbtn:hover {
    /* background-color:rgba(0,0,0,0.1); */
    border: 2px solid #5077b9;
    color: #9e8615;
    -webkit-transition: border 0.6s, color 0.6s;
    /* Safari */
    transition: border 0.6s, color 0.6s;
}

.player .disabled {
    color: rgba(0, 0, 0, 0.2);
    cursor: default;
}

.player .disabled:hover {
    color: rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.player .tooltiptext {
    font-size: 0.6em;
}

.player .playprev {
    width: 20px;
}

.player .play {
    width: 38px;
    padding-left: 5px;
}

.player .paused {
    padding-left: 2px;
}

.player .playnext {
    width: 20px;
}

.player .download {
    margin-left: 10px;
    width: 40px;
}

.player select {
    display: none;
    font-size: 16px;
    height: 22px;
    /* margin: 0 auto; */
    padding: 0;
    /*width: 370px;*/
}

.player audio {
    /*display: block;*/
    display: none;
    opacity: 0.8;
    /*width: 470px;*/
}


/* endregion Talkbox */

#news-and-other {
    display: flex;
    flex-wrap: wrap-reverse;
}

.headline {
    display: block;
    padding: 0;
    margin: 0.2em;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.4em;
    /* background: lightgreen; */
}

span.news_date {
    font-size: smaller;
    display: block;
    color: #555;
}

#news_box {
    margin: 11px;
    flex: 1 1 275px;
    /* min-width: 272px; */
}

#news_box li p {
    padding: .25em 0;
    font-size: 1.1em;
}

#news_box li img {
    display: block;
    margin: auto;
    object-fit: contain;
    height: 100%;
    width: 100%;
}

#news_box ul ul {
    margin-left: 30px !important;
}

#news_box li li {
    width: auto !important;
    padding: initial !important;
    /* margin: 0 0 2px 0; */
    list-style: initial !important;
    background: none !important;
    border: none !important;
}

#other_elements {
    display: flex;
    flex-direction: column;
    flex: 4 1 200px;
}

#other_elements li {
    padding: 0;
    width: auto;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    /* border-top: 1px solid #f3f3f3; */
    /* border-bottom: 1px solid #f3f3f3; */
}

#other_elements li:hover {
    /* position: relative; */
    /*background: radial-gradient(ellipse at center, #f2fdff 50%,#eef4fd 99%) no-repeat center center;*/
    /* box-shadow: 0 0 5px 0 #5078b9; */
    background: #f9f6dd;
    box-shadow: inset 0 0 8px 0 #a07a00;
    /*border-top: 1px solid #5077b9;
    border-bottom: 1px solid #5077b9;*/
}

#other_elements li>a {
    cursor: pointer;
    text-decoration: none;
    display: block;
    padding: 9px 15px;
    color: inherit;
}

#other_elements .title {
    color: #AD1F39;
    font-size: 1.2em;
}

#events_and_sangha {
    display: flex;
    flex-wrap: wrap;
}

#upcoming_events_box {
    flex: 1 1 200px;
    /* min-width: 200px; */
    margin: 11px;
}

#sangha_box {
    flex: 1 1 200px;
    margin: 11px;
}

#wellness_box {
    margin: 11px;
    background: #e0e7f4;
}

#tibet-and-USA {
    display: flex;
    flex-wrap: wrap;
}

#tibet_box,
#retreat_land_box {
    margin: 11px;
    flex: 1 1 320px;
    background: radial-gradient(ellipse at center, #fafafa 50%, #E0E7F4 85%) no-repeat center center;
}

#tibet_box img,
#retreat_land_box img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}


/*endregion Front Page */


/*region Sangha */

.sangha h3 {
    position: relative;

    margin: 1em 4%;
}

.sangha h3 span {
    color: #1B4889;
}

.sangha p {
    margin: 0.7em 0 0.7em 0em;
}

.sangha p strong {
    display: block;
    float: left;
    width: 32%;
    max-width: 300px;
    margin-right: 2%;
    text-align: right
}

.sangha p span {
    display: block;
    float: left;
    width: 65%;
    text-align: left;
}




/*endregion Sangha */


/* Contact */

#contact p {
    margin: 2em 0;
}


/* Contact */


/*region Bio */

#bio_extras h3 {
    margin: 14px 0;
}

#bio_extras h4 {
    margin: 7px;
}

.column_half {
    position: relative;
    float: left;
    width: 50%;
    text-align: center;
}

.column_half span {
    display: block;
    margin: 5px 0 15px 0;
}


/*endregion Bio */


/*region Checkout */


/* if Store problem - hide checkout and show problem*/

    .is_checkout_problem
    {
        /* un-rem if problem */
        /*
        display: none;
        */
    }

    .checkout_problem {

        display: block;
        font-family: avenir, Arial, Helvetica, sans-serif;
        color: white;
        margin: 2em;
        padding: 2em;
        background: rgb(30 86 139 / 83%);
        border-radius: 0.3em;

        /* rem if problem */
        display: none;


    }


/* a label wrapper -around- input */

.amount {
    position: relative;
}

.amount::before {
    font-family: 'FontAwesome';
    font-size: 1em;
    position: absolute;
    left: 0.5em;
    top: 0.4em;
    content: "\f155";
}

.amount input {
    width: 6em !important;
    padding-left: 2em;
}

.zip_code input {
    width: 100px;
}

.veri_num input[type=text] {
    width: 70px;
}

.exp_date select {
    display: inline;
    width: auto;
    margin-right: 12px;
}

.donation_summary {
    border: 2px solid #6FA4FF;
    background: #fff;
    padding: 30px;
    font-size: small;
}


/*endregion Checkout */


/*region Store */

.shopping_cart {
    position: absolute;
    top: 0;
    right: 0;
    font-size: small;
    text-align: right;

    margin-left: 3em;
    z-index: 10;
}

.shopping_cart.v2 {
    position: fixed;
    top: 90px;
    right: 0;
    text-align: left;
    /*width: 100%;
    min-width: 946px;*/

    padding: 0.4em;
    background: rgb(43, 72, 117);
    background: rgba(43, 72, 117, 0.92);

    border: 1px solid rgb(209, 200, 155);
    border-right: none;

    -webkit-border-radius: 1.1em 0 0 1.1em;
    -moz-border-radius: 1.1em 0 0 1.1em;
    border-radius: 1.1em 0 0 1.1em;

    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 3px;

    -moz-transition: top 0.8s;
    -webkit-transition: top 0.8s;
    transition: top 0.8s;
}

.shopping_cart.v2.scrolled {
    top: 50px;
}

@media screen and ( min-width: 1500px) {
    .shopping_cart.v2 {
        top: 0;
        background: rgb(43, 72, 117);
        background: rgba(43, 72, 117, 0.92);
        box-shadow: rgba(0, 0, 0, 0.7) 0 4px 12px;

        -webkit-border-radius: 0 0 0 1.1em;
        -moz-border-radius: 0 0 0 1.1em;
        border-radius: 0 0 0 1.1em;

        border: none;
        border-bottom: 1px solid rgb(209, 200, 155);
    }

    .shopping_cart.v2.scrolled {
        top: 0;
    }
}




.authbox {
    background: #fff;
    text-align: center;
}

.AuthorizeNetSeal {
    margin: 0 auto !important;
    text-align: center;
}

.AuthorizeNetSeal img {
    margin: 0 auto;
}

.store_item {
    padding: 30px 0;
    border-bottom: 1px dashed #AAA;
}

.last_item {
    border: 0;
}

.store_item img {
    border: 0;
}

.store_item h5 {
    font-size: 1.2em;
}

.store_item_left,
.store_item_right,
.store_item_left_texts,
.store_item_right_texts {
    position: relative;
    float: left;
}

.store_item_left {
    width: 180px;
}

.store_item_right {
    width: 329px;
}

.store_item_left_texts {
    margin-left: 5px;
    width: 359px;
}

.store_item_right_texts {
    width: 226px;
}

.store_item_right_texts h5 {
    font-style: italic;
}

.video_left {
    width: 335px;
}

.video_right {
    width: 173px;
}

.audio_sample p {
    margin: 0;
    padding: 0;
    font-size: smaller;
}

.pricing {
    line-height: 1.4em;
}

.pricing strong {
    font-size: 1.2em;
}

.pricing em {
    font-size: smaller;
}

.cart_item {
    border-bottom: 1px dashed #AAA;
    padding: 12px 7px;
    position: relative;
    font-size: 0.9em;
}

.cart_info,
.cart_thumb,
.cart_quantity,
.cart_price,
.cart_totals_labels,
.cart_totals {
    position: relative;
    float: left;
}

.cart_info {
    width: 415px;
    margin: 0 5px 0 0;
}

.cart_thumb {
    border: 0 !important;
    margin: 0 5px;
}

.cart_info p {
    margin: 0;
    padding: 0;
}

.cart_quantity {
    width: 60px;
}

.cart_quantity input {
    width: 50px;
    text-align: right;
}

.cart_quantity,
.cart_price,
.cart_totals_labels,
.cart_totals {
    text-align: right;
}

.cart_price {
    width: 100px;
    margin: 0 0 0 0;
}

.cart_price em {
    color: #777;
}

.cart_totals_labels,
.cart_totals {
    font-size: 0.9em;
}

.cart_totals_labels {
    width: 487px;
}

.cart_totals {
    width: 100px;
}

.cart_buttons {
    text-align: right;
    padding-right: 15px;
}

.cart_buttons input {
    font-size: small;
    padding: 1px;
}

.grand_total {
    font-size: 1.1em;
    padding-top: 30px;
}

.checkout_button {
    text-align: center;
}

ul.downloads {
    margin: 15px 0;
}

.downloads li {
    list-style: none;
    margin: 15px 0;
}


/*endregion Store */


/*region Schedule */

#event_header_p {
    padding-bottom: 15px;
}

a.event_listing {
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    /*color: #041e15;*/
    border-bottom: 1px solid #061129;
    border-top: 1px solid #061129;
    padding: 30px 0;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

a.event_listing:hover {
    background: #f9f6dd;
    /*#f2fdff*/
    box-shadow: inset 0 0 8px 0 #a07a00;
    /*#5078b9*/
}

a.event_listing_even {
    background: #e6eaf2 !important;
    transition: all 0.4s;
}

a.event_listing_even:hover {
    background: #f9f6dd !important;
    /*#f2fdff*/
}

a.event_listing>div {
    /*transition: all 0.4s;*/
}

a.event_listing:hover>div {
    /*transform: scale(1.01);*/
}

div.event_date {
    float: left;
    position: relative;
    width: 120px;
    text-align: center;
    color: #313C4D;
}

div.state {}

span.month {
    display: block;
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
}

span.days {
    font-weight: bold;
    font-size: 19px;
}

span.year {
    display: block;
    font-weight: bold;
    font-size: 11px;
}

div.event_data {
    float: left;
    position: relative;
    width: 440px;
}

span.event_title {
    display: block;
    color: #AD1F39 !important;
    font-size: 1.15em;
    margin-bottom: 0.5em;
    font-weight: normal;
}

span.event_teacher {
    display: block;
    font-size: 1.0em;
    font-weight: normal;
    line-height: 1.5em;
    color: #313C4D;
    margin-bottom: 0.4em;
}

span.event_location {
    font-size: 1em;
    font-weight: normal;
    line-height: 1.5em;
    color: #313C4D;
}

#schedule_area a cite {
    display: none;
    font-style: normal;
    font-size: 0.7em;
    position: absolute;
    bottom: 10px;
    right: 15px;
    text-decoration: underline;
}

#webcast_section {
    display: none;
}

#view_all_button,
#view_state_button,
#view_time_button {
    display: none;
}

.schedule_details_title h2 {
    width: 80%;
    margin: 0 auto;
}

.schedule_details_title h3 {
    width: 80%;
    margin: 0 auto;
    padding-top: 0.5em;
}

.schedule_details_title h4 span {
    color: #76797b;
}

.schedule_details_template_table {
    height: 163px;
    width: 476px;
}

.schedule_details_template_table tbody {
    vertical-align: top;
}

.schedule_details_template_table td {
    padding-bottom: 0.6em;
}

span.schedule_details_text,.schedule_details_text td{
    font-size: calc(11px + 0.6vw);
    line-height: normal;
}

span.schedule_details_text li{
    font-size: calc(11px + 0.6vw);
    line-height: normal;
    text-align: left;
}

.schedule_details_heading1 {
    font-size: calc(11px + 0.75vw);
    line-height: normal;
}

@media screen and (min-width: 1900px) {

    span.schedule_details_text,.schedule_details_text td,span.schedule_details_text li{
        font-size: 1.3em;
    }
    
    .schedule_details_heading1 {
        font-size: 1.46em;
    }
}


/*endregion Schedule end*/


/*region Photo Gallery */

#big_photos div {
    width: 830px;
    padding: 2px;
    background: #000;
    color: #E8E8E8;
    margin: 40px auto;
}

#big_photos div cite {
    text-align: left;
    display: block;
    padding: 2px 10px;
    font-size: 0.80em;
    font-style: normal;
}

#big_photos div img {
    border: 0 !important;
}

.back_link {
    position: absolute;
    z-index: 20;
    left: 32px;
    top: 12px;
}

#big_photos2 {
    background: #000;
}

#big_photos2 div {
    width: 830px;
    background: #000;
    color: #888;
    margin: 0 auto;
    padding: 45px 0;
}

#big_photos2 div cite {
    text-align: left;
    display: block;
    padding: 2px 10px;
    font-size: 0.80em;
    font-style: normal;
}

#big_photos2 div img {
    border: 1px solid #111 !important;
}


/*endregion Photo Gallery */


/* region NiceButton */

.nice-button {
    font: bold 15px Arial, sans-serif;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 0.1em 0 rgba(255, 255, 255, 0.5);
    display: inline-block;
    outline: none;
    cursor: pointer;
    padding: 0.4em 2em 0.5em;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
    border: 1px solid;
    border-color: #bbbbbb #a2a2a2 #888888;
    background-color: #eee;
    background-image: -moz-linear-gradient(#eeeeee, #d4d4d4);
    background-image: -webkit-linear-gradient(#eeeeee, #d4d4d4);
    background-image: linear-gradient(#eeeeee, #d4d4d4);
    -moz-box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.1), 0 0.1em 0.2em rgba(0, 0, 0, 0.3), 0 -0.1em 0.07em rgba(0, 0, 0, 0.3) inset, 0 0.1em 0.07em rgba(255, 255, 255, 0.2) inset;
    -webkit-box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.1), 0 0.1em 0.2em rgba(0, 0, 0, 0.3), 0 -0.1em 0.07em rgba(0, 0, 0, 0.3) inset, 0 0.1em 0.07em rgba(255, 255, 255, 0.2) inset;
    box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.1), 0 0.1em 0.2em rgba(0, 0, 0, 0.3), 0 -0.1em 0.07em rgba(0, 0, 0, 0.3) inset, 0 0.1em 0.07em rgba(255, 255, 255, 0.2) inset;
    /*-moz-transition: all 100ms;
                -o-transition: all 100ms;
                -webkit-transition: all 100ms;
                transition: all 100ms;*/
}

.nice-button:enabled:hover {
    -moz-box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.4), 0 0.1em 0.2em rgba(0, 0, 0, 0.4), 0 -0.1em 0.07em rgba(0, 0, 0, 0.3) inset, 0 0.1em 0.07em rgba(255, 255, 255, 0.2) inset;
    -webkit-box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.4), 0 0.1em 0.2em rgba(0, 0, 0, 0.4), 0 -0.1em 0.07em rgba(0, 0, 0, 0.3) inset, 0 0.1em 0.07em rgba(255, 255, 255, 0.2) inset;
    box-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.4), 0 0.1em 0.2em rgba(0, 0, 0, 0.4), 0 -0.1em 0.07em rgba(0, 0, 0, 0.3) inset, 0 0.1em 0.07em rgba(255, 255, 255, 0.2) inset;
}

.nice-button:enabled:active {
    padding: 0.4em 2em 0.4em;
    margin-top: 0.1em;
    border-color: #a2a2a2 #bbbbbb #eee;
    background-image: -moz-linear-gradient(#e1e1e1, #eeeeee);
    background-image: -webkit-linear-gradient(#e1e1e1, #eeeeee);
    background-image: linear-gradient(#e1e1e1, #eeeeee);
    -moz-box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.1) inset, 0 0.1em 0.1em rgba(0, 0, 0, 0.2) inset, 0.05em 0 0.07em rgba(0, 0, 0, 0.2) inset, -0.05em 0 0.07em rgba(0, 0, 0, 0.2) inset;
    -webkit-box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.1) inset, 0 0.1em 0.1em rgba(0, 0, 0, 0.2) inset, 0.05em 0 0.07em rgba(0, 0, 0, 0.2) inset, -0.05em 0 0.07em rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.1) inset, 0 0.1em 0.1em rgba(0, 0, 0, 0.2) inset, 0.05em 0 0.07em rgba(0, 0, 0, 0.2) inset, -0.05em 0 0.07em rgba(0, 0, 0, 0.2) inset;
    /*-moz-transition: all 10ms;
                  -o-transition: all 10ms;
                  -webkit-transition: all 10ms;
                  transition: all 10ms;*/
}

.nice-button:disabled {
    color: rgba(0, 0, 0, 0.2);
}

/* endregion NiceButton */


/*endregion Page Specific */

/*region Footer */

#footer {
    /*border: 1px solid yellow;*/

    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    flex: 1 1 auto;
    margin: 2em;
    color: rgba(220, 97, 9, 0.92);
    font-size: 0.9em;
    font-family: Arial, Helvetica, sans-serif;

}

#footer a {
    color: #c0d4e9;
    text-decoration: none;
}

#footer a:hover {
    color: #fff;
}

#footer p {
    flex: 1 1 auto;
    /*border: 1px solid red;*/
    margin-bottom: 2.5em;
    text-align: right;
}

#footer img {
    object-fit: cover;
    width: 6em;
    min-height: 100%;
    flex: 0 0 auto;
    margin: 2em 0 1em 1em;
}




/*endregion Footer */