/*
Theme Name: Jewel Heart
Theme URI: http://dtfworks.com/
Description: Built by Jason Kadlec, http://dtfworks.com
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

/*
	Variable Grid System.
	Learn more ~ http://www.spry-soft.com/grids/
	Based on 960 Grid System - http://960.gs/

	Licensed under GPL and MIT.
*/

@media screen and (max-device-width: 480px), 
       screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (device-width: 768px) {
  body {
    -webkit-text-size-adjust:none;
  }
}

*:focus {
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
    }

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
 font-family: Avenir Next Cyr, Arial, sans-serif;
}

h6 {
 font-size: 0.75rem;
}
h5 {
 font-size: 0.875rem;
 margin: 0.3125rem 0;
}
h4 {
 font-size: 1rem;
 margin: 0.5rem 0;
}
h3 {
 font-size: 1.125rem;
 margin: 7px 0 7px 0;
 margin: 0.75rem 0;
}
h2, h1 {
 font-size: 1.5rem;
}
h1.pageTitle {
 margin: 20px 0 25px 0;
}
div.noTitle {
 margin-top: 20px;
}

/* Banners */

.bannerImage {
  padding-top: 4px;
  transition: .5s ease;
}

.bannerLink, .bannerLink text tspan {
  text-shadow: none;
  text-decoration: none;
}

a.bannerLink:hover svg, a.bannerLink:hover svg text, a.bannerLink:hover svg text tspan {
  text-decoration: none;
}

.bannerImage:hover {
  opacity: .85;
}

.programImage {
 padding: 1px;
  max-width: 461px;
  width: 100%;
  display: inline-block; 
}

.programsWrapper {
  text-align: left;
  margin-bottom: 15px;
}

iframe, object, embed {
    max-width: 100%;
}

body{
	margin: 0 0;
	font-family: Arial, verdana, sans-serif;
	font-size: 14px;
  line-height: 22px;
	color: #000000;
	background-color: #FFFFFF;
}

p {margin-top: 0px; }

/* Bootstrap Modal */
.modal {
    z-index: 2000 !important;
}

.modal-title {
    color: #990000;
}

/* for hiding blocks */
.hide-this { display: none; }

#home-wrapper{
	background-image: url(assets/bg/bg.jpg);
	background-repeat: repeat-x;
	height: 1311px;
}

#page-wrapper{
	background-repeat: repeat-x;
	height: 138px;
}

ul {
	margin-bottom: 12px
}

.imgradius {
  border-radius: 3px;
}

a.jhbigbutton {
  font-family: Avenir Next Cyr, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 24px;
  text-decoration: none;
  color: #FFFFFF;
  width: 180px;
  padding: 18px;
  border-radius: 12px;
  display: inline-block;
  cursor:pointer;
}

a.jhbigbutton:hover {
  text-decoration: none;
  color: #E3E3E3;
}

a.jhbutton,
#s2member-pro-paypal-checkout-submit.btn,
input[type=submit].jhbutton,
input[type=button].jhbutton,
.gform_wrapper .gform_footer input[type=submit],
button.jhbutton {
  font-family: Avenir Next Cyr, Arial, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  min-width: 127px;
  text-decoration: none;
  color: #751216;
  padding: 10px;
  border: 1px solid #6D6E71;
  border-radius: 6px;
  display: inline-block;
  background: transparent;
  cursor:pointer;
}

a.jhbuttonhome,
input[type=submit].jhbuttonhome,
input[type=button].jhbuttonhome,
button.jhbuttonhome {
    font-family: Avenir Next Cyr, Arial, sans-serif;
    display: inline-block;
    text-align: center;
    word-break: break-word;
    box-sizing: border-box;
    cursor: pointer;
    color: #fff;
    border-radius: 6px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.5em + 3px) calc(1em + 3px);
    font-size: 1.5em;
    letter-spacing: 0.9px;
    font-weight: bold;
    cursor:pointer;
}

a.jhbuttonhome:hover,
input[type=submit].jhbuttonhome:hover,
input[type=button].jhbuttonhome:hover,
button.jhbuttonhome:hover {
   color: white;
   text-decoration: none;
   opacity: 0.8;
}

a.jhbutton:hover {
  text-decoration: none;
  color: #630f12;
  border: 1px solid #000000;
}

p.jhlinkcenter {
     text-align: center;
}

a.jhregister {
  background-color: #f58120;
  font-family: Avenir Next Cyr, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
  text-decoration: none;
  color: #FFFFFF;
  padding: 8px;
  border: 1px solid #f58120;
  border-radius: 6px;
  display: inline-block;
  cursor:pointer;
  text-shadow: none;
}

a.jhregister:hover {
  text-decoration: none;
  color: #FFFFFF;
  border: 1px solid #630f12;;
  text-shadow: none;
}

a.jhdonate {
  background-color: #FFA51D;
  font-family: Avenir Next Cyr, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
  text-decoration: none;
  color: #FFFFFF;
  padding: 8px;
  border: 1px solid #FFA51D;
  border-radius: 6px;
  display: inline-block;
  cursor:pointer;
  text-shadow: none;
}


a.jhdonate:hover {
  text-decoration: none;
  color: #FFFFFF;
  border: 1px solid #630f12;;
  text-shadow: none;
}

.jhinput {
			border: 1px solid #6D6E71;
      border-radius: 2px;
			padding: 6px;
		}
    
.jhsearch
 {
  font-family: Arial;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16px;
  text-decoration: none;
  color: #751216;
  padding: 6px;
  border: 1px solid #6D6E71;
  border-radius: 6px;
  display: inline-block;
  background: transparent;
  cursor:pointer;
}
    
#searchform {
  text-align: center;
  margin-bottom: 10px;
}

/* Chapters jQuery select object */

#calendarDisplayChange-button .ui-selectmenu-text {
    font-size: 1.25em;
    font-family: Avenir Next Cyr, Arial, sans-serif;
    font-weight: 600;
    color: black;
}

#calendarDisplayChange-button {
    border: 1px solid #640c0b;
    background-color: #F8F8F8;
    margin-right: 10px;
}

#calendarDisplayChange-button .ui-state-active, #calendarDisplayChange-button .ui-widget-content .ui-state-active {    
    background-color: #e5ecf9;
    border: 1px solid #e5ecf9;
    color: black;
}

#calendarDisplayChange-button .ui-selectmenu-icon.ui-icon {
   margin-top: 3px;
}

#calendarDisplaySpinner {
    display: none;
  width: 24px;
  height: 24px;
  border: 4px solid rgba(100,12,11,.3);
  border-radius: 50%;
  border-top-color:  rgb(100,12,11);
  animation: spin 1s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

 
/* Arbor Chapter */

#annArborReadMore, #annArborReadLess {
   font-weight: bold;
   color: #f58120;
   cursor: pointer;
}

#annArborChapterText {
   display: none;
}


/* Social Media */

.fa {
  width: 50px;
  padding: 10px;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-facebook-large {
  padding: 20px;
  font-size: 30px;
}

.fa-facebook:hover {
  text-decoration: none;
  color: white;
}

/* Containers
----------------------------------------------------------------------------------------------------*/

.post-content {
	width: 515px;
}

.alignleft {
	float: left;
	padding: 5px 15px 5px 5px;
}

/* Guest Page Icons */
.guestPageSideBySide {
   display: inline-block;
   width: 255px;
   padding: 10px; text-align: center;
}

.guestPageSolo {
   display: block;
   max-width: 255px;
   margin: auto;
   padding: 10px;
   text-align: center;
}

.chapter-below-content {
    display: inline-block;
    margin: 7px 10px 0 10px;
    max-width: 441px;
    overflow: hidden;
    vertical-align:top;
}

/* SIDEBAR POSITIONING */


/* Sidebar Variants */
/* 2 Wrap across full mobile page ( Digital Dharma)*/
/* 3 three across with buttons then to one at 600- two lines of header (Donate and Membership) */
/* 4 three across with up to 4 links, two line header (Mailing list etc) */

.sideOuterWrap {
	margin-left: 20px;
	overflow: hidden;
	max-width: 270px;
}

.sideOuterTopLeft {
	float:left;
	height: 20px;
	width: 20px;
	background-image: url(images2/sideOuterTopLeft.png); 
}

.sideOuterTopCenter {
	overflow: hidden;
	height: 20px;
	background-repeat:repeat-x;
	background-image: url(images2/sideOuterTopCenter.png); 
}

.sideOuterTopRight {
	float:right;
	height: 20px;
	width: 20px;
	background-image: url(images2/sideOuterTopRight.png); 
}

.sideOuter {
	overflow: hidden;
	background-color: #F3F2F0;
	background-image: url(images2/sideOuterLeft.png), url(images2/sideOuterRight.png); 
	background-position: left top, right top;
	background-repeat: repeat-y, repeat-y;
}

.sideOuterContent {
	margin: 0 20px;
    padding-top: 5px;
	background-color: #F5F4F3;
}


.sideOuterBottomLeft {
	float:left;
	height: 20px;
	width: 20px;
	background-image: url(images2/sideOuterBottomLeft.png); 
}

.sideOuterBottomCenter {
	overflow: hidden;
	height: 20px;
	background-repeat:repeat-x;
	background-image: url(images2/sideOuterBottomCenter.png); 
}

.sideOuterBottomRight {
	float:right;
	height: 20px;
	width: 20px;
	background-image: url(images2/sideOuterBottomRight.png); 
}

.sideHeading2, .sideHeading7 {
font-family: Avenir Next Cyr, Arial, sans-serif; font-weight: 500; font-size: 17px; color: black; display:block; text-align: center;
}

.sideHeading13 {
font-family: Avenir Next Cyr, Arial, sans-serif; font-weight: 500; font-size: 17px; color: black; display:block; text-align: left;
}

.sideInsideDivCenter, .sideInsideDivCenter7 {
height: 1px; width: 180px; margin: 5px auto 10px auto; border-top: 1px solid #ddd;

}

.sideInsideDivCenter13 {
height: 1px; width: 180px; margin: 5px auto 10px 2px; border-top: 1px solid #ddd; 
}

.sideInnerWrap7 {
    margin-bottom: 14px;
    display: inline-block;
		margin: 0.5%;
		width: 49%;
		vertical-align: top;
    }
    
  .sideInnerWrap10 {
		display: inline-block;		
		padding: 1%;
  margin: 0.5%;
		vertical-align: top;
  width: 32%;
	}
 
 .sideInnerWrap9 {
		display: inline-block;
		margin: 0.5%;
		width: 24%;
		vertical-align: top;
    }
    
.donateDisplay {
    display: flex;
}
 
   .biosSideBySide {
        display: inline-block;
        max-width: 247px;
        vertical-align:top;
        border: 1px solid #DDDDDD;
        padding: 3px;
        margin: 3px;
        }
        
.wordBreakLink { word-break: break-all; }
    
#retreatRegistrationLink {
    color: #f58120;
    width: 130px;
    margin: auto;
}
    
#programsNavigation {
    padding: 8px 12px;
    font-size: 14px;
 }
 

 .sideChapterBox {
        padding: 0 10px 20px;
    }
    
 .sideChapterBoxMobile {
   padding: 0 0 20px;
 }
    
 .sideContactBox {
        padding-bottom: 10px;
    }


@media only screen and (max-width: 1010px) {
     
    .respFull, .chapter-below-content {
        display: block;
        max-width: 608px;
        width: 100%;
        margin: 0 auto 14px auto;
        float: none;
    }
    
    .sideOuterWrap {
		margin: auto;
		max-width: 610px;
	}

		
	.sideInnerWrap {
		max-width: 320px;
	}
  
  .sideInnerWrap7 {
     display: block;
     margin: 2% 0.5%;
    width: 99%;
	}
  
  .sideInnerWrap9 {
		display: inline-block;
		margin: 2% 0.5%;
		width: 49%;
		vertical-align: top;
    }
     
    .sideInnerWrap10 {
      margin: 2% 0.5%;
      width: 99%;
      display: block;
     }
        
    .sideHeading2 {
        text-align : left;
         margin-left: 2px;
    }
    
    .sideHeading7 {
        text-align : center;
    }
    
    .sideHeading13 {
      text-align: center;
    }
  
    .sideInsideDivCenter13 {
    margin: 5px auto 10px auto; 
    }
   
    .container_24 .sidebarMobileHide.respSideBar {
        display: none;
    }   
    
    .homePageIcon {
       width: 49%;
       margin: auto;
       vertical-align: top;
    }
    
  
    .programsWrapper {
        text-align: center;
    }
    
    .wp-block-columns {
     display: block !important;
    }
}

/* RESPONSIVE MAIN BLOCKS */
@media only screen and (max-width: 632px) {
  
    .welcomeHide {
      display: none;
    }
    
    .donateDisplay {
      display: block;
    }
    
  .biosSideBySide {
        display: block;
        margin: 3px 0;
        max-width: none;
        }
        
   .guestPageSideBySide {
     display: block;
     max-width: 255px;
     margin: auto;
     padding: 10px;
     text-align: center;
  }
       
    }

@media only screen and (max-width: 525px) {
          
        .homePageIcon {
       width: 100%;
       display: block;
       vertical-align: top;
    }
}

/* RESPONSIVE MAIN BLOCKS */
@media only screen and (max-width: 400px) {
       
        .sideInnerWrap7, .sideInnerWrap9 {
            display: block;
            width: 99%;
            margin: 2% 0.5%;
        }
            
}


/* END POST AND SIDEBAR WRAPPERS */

.mainFront{
border: 0px solid gray; width: 880px; margin: 0px auto; text-align: left;
}

#mainFront{
display: table; 
}

.footer{
background-color: #D0D0D0; text-align: center; color: #181818; padding: 35px; font-size: 13px;
}
.insideFooter {
text-align: center;
}

.insideFooter a{
color: #C25541; 
text-shadow: 0 1px 0 #B59994;
white-space: nowrap;}

.socialFooter {
    vertical-align: top;
    display: inline-block;
}

#socialFooterLeft {
    margin-right: 10px;
}

.sfsi_widget {
    width: 225px;
    margin: auto;
}

@media only screen and (max-width: 1010px) {		
	#socialFooterLeft {
		margin-right: auto;
	}
    .socialFooter {
        display: block;
        margin: 0 auto 10px auto;
    }
    .footer {
        max-width: 608px;
        margin: auto;
    }
    
    .sfsi_widget.sfsi_shortcode_container {
     float: none;
    }
}

.links{
	background-image: url(assets/top/links_bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
    text-align : center;
	height: 43px;
}

#logo {
	width: 790px;
	margin:auto;
}

.greytable {
  border-collapse: collapse;
  margin-bottom: 15px;
}

.greytable tr td {
  border: 1px solid #DDDDDD;
  padding: 5px;
  vertical-align: top;
}

.greytable_nowrap1 tr td:first-child {
  white-space: nowrap;
}


.jhgreyed, .jhgrayed {
	display:none;
	}
  
.jhshow .jhgreyed, .jhshow .jhgrayed {
	display:block;
  color: #999999;
	}
 
 /* Hide ReCaptcha Badge */
 .grecaptcha-badge { opacity:0; }


/* DIGITAL DHARMA ICON STYLES */

.tripIconWrapper {
	text-align:center;
	vertical-align:top;
	display: inline-block;
	margin: 20px;
	width: 186px;
}

.tripIconWrapper img {
  margin-bottom: 7px;
}

.transcriptIconWrapper {
	text-align:center;
	vertical-align:top;
	display: inline-block;
	margin: 20px;
	width: 150px;
}

.transcriptIconWrapper img {
  margin-bottom: 7px;
}

.tripIconWrapper img,  .transcriptIconWrapper img {
    border: 0;
}
.tripIconWrapper a,  .transcriptIconWrapper a {
	color:#000000;	
}

/* VERY SMALL SCREEN ICONS */
@media only screen and (max-width: 400px) {
    .postIconWrapper {
        margin: 3px;
        width: 125px
    }
}

.sidebarMobileHide {
    display: none:
}

/* Automated Link Wrappers */

.postOuterWrapper {
	text-align:left;
	display: inline-block;
  padding: 3px 5px;
  box-sizing: border-box;
  width: 100%;
}

.postLinkWrapper {
    text-align:left;
	display: inline-block;
     vertical-align: top;
     width: 85%;
}

.postLinkWrapper a {    color: #181818;
   
}

.postArrowWrapper {
	max-width: 15px;
  width: 10%;
    display: inline-block;
    vertical-align: top;
}

.postSidebarWrapper {
    text-align:left;
    max-width: 160px;
	display: inline-block;
     vertical-align: top;
}

.postSidebarWrapper a {
    color: #181818;
}
.navOuterWrapper {
 	width: 180px;
}
.colOuterWrapper {
  width: 268px;
}
.navOuterWrapper, .colOuterWrapper {
  text-align:left;
  display: inline-block;
  margin: 3px 5px;    
  vertical-align: top;
}

.navLinkWrapper {
  width: 160px;
}
.colLinkWrapper {
  width: 248px;
}
.navLinkWrapper, .colLinkWrapper {
    text-align:left;
   display: inline-block;
    vertical-align: top;
}

.navLinkWrapper a, .colLinkWrapper a {
    color: #181818;
}

.navArrowWrapper, .colArrowWrapper {
	width: 15px;
    display: inline-block;
    vertical-align: top;
}

.mainOuterWrapper {
	text-align:left;
	display: inline-block;
	margin: 3px 5px;    
	width: 177px;
  vertical-align: top;
}

.mainLinkWrapper {
    text-align:left;
    width: 157px;
	display: inline-block;
    vertical-align: top;
}

.mainLinkWrapper a {
    color: #181818;
}

.mainArrowWrapper {
	width: 15px;
    display: inline-block;
    vertical-align: top;
    padding-top: 5px;
}

.postsList {
  margin-bottom: 24px;
  margin-top: 24px;
  text-align: center;
}

.postsList .navOuterWrapper { 
        width: 184px;
        margin: 4px 4px;
    }
    
.postsList .navLinkWrapper {
        width: 163px;
        margin: 4px 3px;
    }
    
.postsList .navLinkWrapper a {
        color: #181818;
    }
    
.postsList .navArrowWrapper {
        padding-top: 3px;
        width: 10px;
    }
    
 .dharmaList {
  margin-bottom: 24px;
  margin-top: 24px;
  text-align: left;
}

.dharmaList .navOuterWrapper { 
        width: 214px;
        margin: 4px 4px;
    }
    
.dharmaList .navLinkWrapper {
        width: 194px;
        margin: 4px 3px;
    }
    
.dharmaList .navLinkWrapper a {
        color: #181818;
    }
    
.dharmaList .navArrowWrapper {
        padding-top: 3px;
        width: 10px;
    }

    
 .blogList {
  margin-bottom: 24px;
  margin-top: 24px;
  text-align: center;
}

.blogList .navOuterWrapper { 
        width: 215px;
        margin: 4px 4px;
    }
    
.blogList .navLinkWrapper {
        width: 194px;
        margin: 4px 3px;
    }
    
.blogList .navLinkWrapper a {
        color: #181818;
    }
    
.blogList .navArrowWrapper {
        padding-top: 3px;
        width: 10px;
    }



@media only screen and (max-width: 1010px) {
    .navOuterWrapper { 
        width: 154px;
        margin: 4px 4px;
    }
    
    .navLinkWrapper {
        width: 133px;
        margin: 4px 3px;
    }
    
    .navLinkWrapper a {
        color: #181818;
    }
    
    .navArrowWrapper {
        padding-top: 3px;
        width: 10px;
    }
    
    .postSidebarWrapper {
     max-width: none;
    }
}

/* LINK STYLES */

a.bigger{
	font-size: 15px;
}
a  {
	color: #f58120;
	text-decoration: none;
	}
a:hover {	
	color: #f58120;
	/* text-decoration: underline; */
}

a img {border: none}

a.dark {
    color: #CD5C30;
}

table a {color: #181818;}

table a:hover {	color: #f58120;
	text-decoration: underline;
}

div.center {text-align: center;}

.email-signup {
	max-width: 640px;
	display: none;
}

a.ts_buttonlink {text-shadow: none !important; color:#f58120 !important; }

.moreLinks{
  list-style-image: url(https://www.jewelheart.org/wordpress/wp-content/themes/jewelheart/assets/side_bar/grey_arrow.png);
  padding-left: 18px;
  margin-bottom: 12px;
	}
.moreLinks li  {
  line-height: 22px;
}

.colorLinks{
  list-style-image: url(https://www.jewelheart.org/wordpress/wp-content/themes/jewelheart/assets/side_bar/arrow.png);
  padding-left: 18px;
  margin-bottom: 12px;
	}
.colorLinks li  {
  line-height: 18px;
}

.colorLinks li a {
    color: #282828;
}

.colorLinks li a:hover {
    color: #f58120;
    text-decoration: underline;
}

.purchase_button {
   	 transition: all .2s ease-in-out;
   	 display: inline-block;
   	 margin: 0;
   	 text-align: center;
   	 white-space: nowrap;
   	 vertical-align: middle;
    	cursor: pointer;
   	 color: white;
    	background-color: #000000 !important;
    	font-weight: bold;
   	padding: 3px 5px 3px 5px;
}

.purchase_button:hover {
    color: #EEEEEE;
}

/* Grid >> Global

/* Containers
----------------------------------------------------------------------------------------------------*/
.container_24 {
	margin: auto;
	max-width: 1010px;
}

.grid_24 {
	max-width: 928px;
	margin: auto;
	overflow: hidden;
}

.container_24 .grid_14 {
 display: inline-block;
 vertical-align: top;
	max-width: 608px;
 width: 100%;
	position: relative;
	margin-left: 3px;
	margin-right: 15px;
 overflow: hidden;
}

.container_24 .grid_7 {
	float: left;
	max-width: 290px;
	position: relative;
	margin-left: 3px;
	margin-right: 3px;
}

.desktopSidebar {
	display: inline-block;
 vertical-align: top;
	max-width: 270px;
 width: 100%;
	position: relative;
	margin-left: 23px;
	margin-right: 3px;
 margin-top: 24px;
}

.mobileSidebar {
    display: none;
}

.sideBarIndent {
 padding-left: 10px;
}

.grid_9 {
	display:inline;
	float: left;
	position: relative;
	margin-right: 2px;
    max-width:355px;
}


/* RESPONSIVE MAIN BLOCKS */
@media only screen and (max-width: 1010px) {
        .container_24  {        
            margin: auto 2px;
        }
        .container_24 .grid_14 {
        margin: auto;
        float: none;
        }
            
        .container_24 .sideBarPadShow {
            margin: auto;
            float: none;
            max-width: 610px;
            display: block;
      }
      
      .container_24 .sideBarPadHide {
            display: none;
      }

}

.chapter-main-content {
    max-width: 608px;
    display: inline-block;
}


/* CHAPTER RESPONSIVE */
@media only screen and (max-width: 1010px) {
    .container_24 .grid_14 {
     display:block;
	margin: auto;
	}
    
    .chapter-main-content {
        float: none;
        margin: auto;
    }
    
    .chapter-sidebar-content {
        float: none;
        margin: auto;
        width: 100%;
        max-width: 530px;
    }
}


/* MODAL RESPONSIVE */
a.modal-mobile, h4.modal-mobile {
        display: none;
	}
 
 
 .ShowVajrayana {
    display: none;
 }
  
@media only screen and (max-width: 1010px) {
    a.modal-desktop, h4.modal-desktop {
        display: none;
	}
    
    a.modal-mobile, h4.modal-mobile {
        display: inline-block;
	}
 
     .desktopSidebar {
         display: none;
     }
     
     .mobileSidebar {
         display: block;
         max-width: 608px;
         margin: auto;
     }

 
}

/* MODAL RESPONSIVE */
h3.modal-mobile {
        display: none;
	}
  
h3.modal-desktop {
        display: block;
	}
  
@media only screen and (max-width: 1010px) {
    h3.modal-desktop {
        display: none;
	}
    
    h3.modal-mobile {
        display: block;
	}
 
 .programImage {
      max-width: 608px;
  }
 
}




/* MOBILE MENU */
#mobile {
    max-width: 1010px;
    padding-top: 15px;
}

.offcanvas-body {
  padding: 0.5rem 0 0;
  background-color: #960000;
  }
.offcanvas {
  max-width: 252px;
}
.offcanvas-header {
  padding: 1rem 1.5rem 0;
  background-color: #960000;
}

#mlogo {
		display:table-cell;
		float: left; /* margin-right on toggle button 1px */
  margin-left: 15px;
}
    
#mmenu {
    float: right;
    display:table-cell;
    position: relative;
 }

.hamburger {
      border: 0;
      background-color: #FFFFFF;
      padding-top: 10px;
      display: block;
      text-transform: none;
      cursor: pointer;
      box-sizing: border-box;
      display: inline-block;
      width: 4em;
      height: 4em;
      vertical-align: middle;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100%;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28100, 12, 11, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

ul.mobilemenu-content {
  list-style-type: none;
  background-color: #960000;
  padding-left: 0;
}

ul.mobilemenu-content li a.mmenu-blue {
    background-color: #ffad08;
    text-shadow: none;
    /* text-shadow: #ffc552 0.1em 0.08em 0.01em; */
    color: white;
}
  
ul.mobilemenu-content li a {
    text-align: left;
    font-family: Arial;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 16px;
    padding: 7px;
    margin: 0;
    color: #FCFCFC;
    font-size: 14px;
    font-weight: normal;
    text-shadow: #BB0000 0.1em 0.08em 0.01em;
    width: 250px;
    display: block;
    border-bottom: 1px solid #EDEDED;
}


#mtoggle {
    display: none;
    border: 0;
    background-color: transparent;
    padding-top: 20px;
    padding-right: 3px;
    float: right;
}

#dtoggle {
    padding-top: 62px;
    padding-right: 4px;
    background-color: transparent;
}

#dtoggle a {
   text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    color: #640c0b;
    display: inline-block;
    font-family: Arial;
    text-decoration: none;
}

#dtoggle a:hover {
    color: #691013;
}

#dtoggle span {
  padding: 0 3px;
}

#dtoggle #mdonate {
 padding: 4px 7px;
  margin-left: 10px;
  margin-right: 15px;
  color: white;
  background-color: #C66F57;
  border: 1px solid #EDEDED;
  border-radius: 8px;
  letter-spacing: 0.05em;
  text-shadow: #ba5c0f 0.1em 0.08em 0.01em;
  text-decoration: none;
}

#modalDialogNag {
   margin-top: 0.25rem;
}

#mdonatenag {
  font-family: Avenir Next Cyr, Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 9px;
  font-weight: bold;
  color: white;
  background-color: #770000;
  border: 1px solid #EDEDED;
  border-radius: 8px;
  letter-spacing: 0.05em;
  text-shadow: #ba5c0f 0.1em 0.08em 0.01em;
  text-decoration: none;
}


#dtoggle #mdonate:hover {
  background-color: #be5c41;
}

#mmenu-content {
	/* background-image: url(assets/top/links_bg.jpg);
	background-position: center top;
	background-repeat: no-repeat; */
    text-align : center;
    height: 43px;
    margin: 0 0 7px;
    padding: 0;
    border-top: none;
    border-bottom: 1px solid #6D6E71;
    display: block;
    justify-items: center;
}

#mmenu-content li {
    height: 43px;
    display: inline-block;
    list-style-type: none;
	text-align : center;
    vertical-align: middle;
    position: relative;
}

#mmenu-content li a {
    line-height: 43px;
 	color: #640c0b;
    font-family: Arial;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    /* text-shadow: #ba5c0f 0.1em 0.08em 0.01em; */
}

#mmenu-hover {
	/* background-image: url(assets/top/links_bg.jpg);
	background-position: center top;
	background-repeat: no-repeat; */
    text-align : center;
    height: 35px;
    margin: 0;
    padding: 0;
    margin: -1px 0 1px 0;
}

#mmenu-hover li {
    height: 43px;
    display: inline-block;
    list-style-type: none;
	text-align : center;
    vertical-align: middle;
    position: relative;
}

#mmenu-hover li a {
    line-height: 43px;
 	color: #751216;
    font-family: Arial;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    /* text-shadow: #ba5c0f 0.1em 0.08em 0.01em; */
}


#mmenu-content li.mmenu-only {
  display: none;
}

.logout-hide {
    display: none;
}

.pipe-hide {
    padding: 0 2.5px;
    color: #6D6E71;
    font-size: 16px;
}

@media only screen and (max-width: 1010px) {
 
 #dtoggle, #mmenu-content {
  display: none;
 }
  #mtoggle {
  display: block;
 }  
}


@media screen and (max-width: 626px) {
   .colOuterWrapper {
      display: block;
      width: auto;
   }
   .colLinkWrapper {
      width: auto;
   }
 
}

@media screen and (max-width: 608px) {
   .grid_24 {
      margin: auto 1%;
   }
}

@media screen and (max-width: 640px) {
    #mlogo {
       margin-left: 0px;
       padding-top: 10px;
    }
    #mlogo img {     
       width: 400px;
    }
    #mmenu {
        padding-top: 3px;
    }
    
    #mobile {
        padding-top: 3px;
    }
    #mtoggle {
       padding-top: 16px;
    }

}

@media screen and (max-width: 400px) {
    #mlogo {
       margin-left: 0px;
       padding-top: 10px;
    }
    #mlogo img {
       width: 270px;
    }
    #mmenu {
        padding-top: 0px;
    }
    .hamburger {
      width: 3em;
      height: 3em;
    }

}

/* Gravity Forms */

#choice_3_28_0, #choice_3_28_1 {
  margin-top: 0px !important;
}

#label_3_28_0, #label_3_28_1 {
  font-size: 1em ;
}

.gfield_checkbox li input[type=checkbox] {
    margin-top: 0 !important;
}

#gform_wrapper_117 #gform_submit_button_117 {
   font-size: 17px !important;
}

body .gform_wrapper .gform_body .gfield_label {
    font-size: 1rem !important;
}

body .gform_wrapper .gform_body label {
    font-size: 0.875rem !important;
}

body .gform_wrapper .gform_body input,
body .gform_wrapper .gform_body textarea,
body .gform_wrapper .gform_body select {
    font-size: 0.875rem !important;
}

body .gform_wrapper.gravity-theme input[type=color],
body .gform_wrapper.gravity-theme input[type=date],
body .gform_wrapper.gravity-theme input[type=datetime-local],
body .gform_wrapper.gravity-theme input[type=datetime],
body .gform_wrapper.gravity-theme input[type=email],
body .gform_wrapper.gravity-theme input[type=month],
body .gform_wrapper.gravity-theme input[type=number],
body .gform_wrapper.gravity-theme input[type=password],
body .gform_wrapper.gravity-theme input[type=search],
body .gform_wrapper.gravity-theme input[type=tel],
body .gform_wrapper.gravity-theme input[type=text],
body .gform_wrapper.gravity-theme input[type=time],
body .gform_wrapper.gravity-theme input[type=url],
body .gform_wrapper.gravity-theme input[type=week],
body .gform_wrapper.gravity-theme select,
body .gform_wrapper.gravity-theme textarea {
    font-size: 0.75rem;
}

body .gform_wrapper .gform_body input,  body .gform_wrapper .gform_body select, {
    font-size: 0.75rem;
}

body .gform_wrapper.gravity-theme .gfield_radio label,
body .gform_wrapper.gravity-theme .gfield_checkbox label,
body .gform_wrapper.gravity-theme .ginput_complex label{
    font-size: 0.725rem;
}

body .gform_wrapper .gform_ajax_spinner {
	margin-top: -5px;
 margin-left: 10px;
	position: relative;
}

.registration-fade {
  display:none;
  color: #CD5C30;
}

.blackborder {
   border: 1px solid black;
}


.jw-controls-backdrop {
 background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.0) 100%, rgba(0,0,0,0.0) 100%) 100% 100% / 100% 240px no-repeat transparent !important;
}

.jw-state-idle .jw-controls { 
    background-color: transparent !important; 
} 
.jw-controls-backdrop { 
    background: none !important; 
}

