/* CSS Document */
* {
    padding:0;
    margin:0;
}
body {
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { 
	margin:1em 0 ; 
}
li, dd { 
	margin-left:5%; 
}
fieldset { 
	padding: .5em; 
}
#mainContent h2{
	color: #333366;
	font-size: 12px;
	line-height: 25px;
	letter-spacing:1px;
	text-indent: calc(1em);
	font-weight: bold;
	text-transform: uppercase;
	/* margin-left:-15px; */
	/* 	width:105%; */
	margin-top:2.5em;
	border-bottom-color: #efefef;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	background-image: url(../../../images/layout/sectionhdrbg.jpg);
	background-image: linear-gradient(#e4d7ba, #f7f3d8);
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	/* width: calc(100% + 2em); */
	/* margin-left: calc(-1em); */
	clear:both;
}

#mainContent h2, 
#mainContent h3 {
	clear:both;
	/* to make sure floated images are cleared */
}
.isarticlepage #mainContent .page-header h2 {
    font-size: 16px;
    background: none;
    border: none;
    margin: 25px 0 13px -23px;
    border-bottom: 1px solid #b9af97;
    margin: 25px 0 25px 0;
    text-indent: 0;
}

#mainContent .blog > h2 {
    font-size: 16px;
    background: none;
    border-bottom: 1px solid #b9af97;
    margin: 25px 0 25px 0;
    text-indent: 0;
}


 #sidebar h2 {
	color: #A32C30;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: .3px;
	padding-left: .5em;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #FFF8EA;
	background-image: url(../../../images/layout/sectionhdrsidebarbg.jpg);
	margin-left: -.5em;
	padding-top: 3px;
	padding-bottom: 5px;
	border-radius: 2px;
}
#mainContent h3{
	color: #990000;
	font-size: 14px;
	line-height:16px;
	/*letter-spacing:0.3px;*/
	/* font-weight: normal; */
	clear: both;
	margin: 0;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}
#sidebar h3{
	color: #A32C30;
	font-size: 12px;
	line-height:15px;
	letter-spacing:.3px;
	font-weight: normal;
	margin:.5em 0 0 0;
	}
#sidebar h5{
	color: #A32C30;
	font-size: 12px;
	line-height:20px;
	letter-spacing:.3px;
	font-weight: normal;
	background-image: url(../images/swipe.png);
	background-repeat: no-repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	vertical-align: top;
	background-position: 1px 4px;
}

#mainContent h3>a {
	color:inherit;
}
#sidebar p { 
	margin-top:.2em
}
a, a:link, a:visited {
	text-decoration:none;
	color:#385a97;
	/* font-weight: bold; */
	}
#sidebar a:hover {
	/* background: #375472; */
}
#mainContent a { 
font-weight:bold;
}
#mainContent a:hover { 
	text-decoration:underline;
}
.floatLeft { float:left; margin-right:8px;margin-top:8px;}
.floatRight { float:right; margin-left: 8px; }

#thisWeek p {
    list-style:none;
	color: #A32C30;
	letter-spacing:0.12em;
	font-size: 12px;
	line-height: 18px;
	font-weight: normal;
	text-transform: uppercase;
	margin-bottom:10px;
}

table.thisweek { 
    width:100%; 
    margin-bottom:20px;
}
.thisweek td:first-child {
    width:30%
}
table.thisweek td {
	border:none;
	padding: 0;
}
table.thisweek {
	margin-bottom: 10px;
}
.slideShow { 
	margin-bottom:-15px;
	margin-left:-40px;
}
#sidebar .dailyQuote h3 {
	letter-spacing:normal; 
	margin-top:0;
}
#sidebar .dailyQuote { 
	margin-bottom:25px;
}
.quote {
	padding:.5em 1em; 
	padding-top:.5em; 
    font-size:13px;
    font-style:italic;
    line-height:1.6em;
    border:1px solid #ccc;
}
#qod {
	padding:.5em 1em; 
	padding-top:.5em; 
    font-size:13px;
    font-style:italic;
    line-height:1.3em;
    bordxer:1px solid #ccc;
}

#sidebar .custom {
    margin: 20px 0;
}

#sidebar .custom:first-child {
    /* border: 1px solid red; */
    margin-top: 10px;
}

#calendarSmall { 
	margin-bottom:10px;
}

form.newsletter input.textField {
	color:#ccc
}
form.newsletter {
	margin-top:30px; 
	margin-bottom:30px;
}
    
.popup {}
.popup1, .popup800x700, .popupmovie {}
.popup2 {}
.popup3 {}
a.popupmovie:hover img {opacity:.8;}

/* STYLES FOR LIST ITEMS. EACH STYLE IS IDENTICAL, BUT USES A DIFFERENT BACKGROUND IMAGE FOR THE ICON */
#mainContent .list1 h4, 
#mainContent .list2 h4,
#mainContent .list3 h4,
#mainContent .list4 h4,
#mainContent .list5 h4,
#mainContent .list6 h4 {
	/*background:transparent url(../images/icon_event_heading.gif) no-repeat scroll 0pt 40%;*/ /* removed  icon in front */
	border-bottom:1px solid #CCCCCC;
	color:#FF9300;
	font-size:1em;
	line-height:1.6em;
	margin-top:3em;
	/*padding:0pt 0pt 0.4em 20px;   */ /* removed to rejustify heading without icon in front */
	text-align:right;
}
#mainContent .list1 h4 span, 
#mainContent .list2 h4 span, 
#mainContent .list3 h4 span, 
#mainContent .list4 h4 span, 
#mainContent .list5 h4 span, 
#mainContent .list6 h4 span {
	color:#555555;
	float:left;
	font-size:1.3em;
	/*padding-left:.2em;*/
}

#mainContent .event-listing div[itemprop=xblogPost] h2 {
	border:none;
	text-transform: none;
	border-bottom:1px solid #CCCCCC;
	color:#555;
	font-size:16px;
	line-height:1.6em;
	margin-top:2em;
	/*padding:0pt 0pt 0.4em 20px;   */ /* removed to rejustify heading without icon in front */
	text-align:left;
	background: none;
	text-indent: 0;
}
#mainContent .event-listing div[itemprop=blogPost] h2 span {
	float:right;
	color:#FF9300;
	font-size:14px;
	letter-spacing: normal;
	margin-right: 1em;
}

/*#mainContent .list1 h4 { background:transparent url(../images/list1.gif) no-repeat scroll 0pt 40%; }
#mainContent .list2 h4 { background:transparent url(../images/list2.gif) no-repeat scroll 0pt 40%; }
#mainContent .list3 h4 { background:transparent url(../images/list3.gif) no-repeat scroll 0pt 40%; }
#mainContent .list4 h4 { background:transparent url(../images/list4.gif) no-repeat scroll 0pt 40%; }
#mainContent .list5 h4 { background:transparent url(../images/list5.gif) no-repeat scroll 0pt 40%; }
#mainContent .list6 h4 { background:transparent url(../images/list6.gif) no-repeat scroll 0pt 40%; }*/ /* removed  icons in front */

#mainContent .listcalendar .title{ 
	font-weight:bold;
        font-size:1.3em; 
	margin-left:0px; 
        color:#555;
}
#mainContent .listcalendar .timeandday {
	background:transparent url(../images/list1.gif) no-repeat scroll 0pt 40%; 
	width:180px; 
	display:block; 
	float:left; 
	padding-left:20px; 
	font-size:1em
}
#mainContent .listcalendar .calheader {display:block;  padding-bottom: 4px;border-bottom:1px solid #ccc}
#mainContent .listcalendar {margin: 2em 0}

code { font-size:.8em; background-color:#ccc; display:block;  text-align:left; padding:1em}


* a:hover img { 	opacity: .5; }
* a:hover img {	filter: alpha(opacity=50);}
* a:hover img {	ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";}

.homepageslideshow {
			position:relative;
			height:250px;
			width:550px;
			padding:0;
			margin:0;
			border:0;
			margin-left: -10px;
			margin-top:10px;
			/* note ... use margin to position because on ie6 left doesn't affect width */
		}
.homepageslideshow a{ 
	display:block; position:absolute;
}

/* categories module in sidebar */

.mod_articles_categories ul {
    list-style: none;
}

.mod_articles_categories li {
    margin: 0;
}

.mod_articles_categories li h4 {
    margin: 0;
    margin-bottom: 6px;
}

/* Event articles in sidebar */

ul.category-module {
    list-style:none;
    margin-bottom:20px;
}
ul.category-module li {
    margin:8px 0;
    font-weight:bold;
}


/* newsflash items in sidebar */


h2 a, h2 a:link, h2 a:visited {
    color: inherit;
}

h3.newsflash-title a,
h3.newsflash-title a:link,
h3.newsflash-title a:visited {
    xcolor: #A32C30 !important;
    text-transform: capitalize;
    font-weight: bold;
    letter-spacing:normal;
}

h3.newsflash-title {
    border-bottom: 1px solid #eee;

    padding: 8px 0;
    margin:0;   
}

h3.newsflash-title:hover {
    background: #FAF8EA;
}



#sidebar h3.newsflash-title {
    margin: 0;
}

h3.newsflash-title-open {
    background: #faf8ea;
    padding-left:4px;   
}
.newsflash-content {
    background: #FFFDF2;
    background: #faf8ea;
    border-top:1px solid white;
    padding: 5px 13px;
}

label[for=mod-search-searchword] {
     display: none; 
}

#sidebar .custom {
    margin: 0;
}

img {}

#google_translate_element img {
   margin-bottom: -3px;
    display: inline-block;
    
}
select.goog-te-combo { 
	margin-top: 0 !important;
	width: 15em;
}

.after-sidebar {
    margin-top: 20px;
}

/*rinpoche quote in slideshow*/
.rq {
    /*border: 1px solid wheat;*/
    box-sizing:border-box;
    padding: 50px;

    height: 250px;
    display: table-cell;
    align-content: center;
    font-size: 20px;
    line-height: 1.4;
    width: 530px;
    color: #F1F6FA;
    /*border-radius: 12px;*/
    position: relative;
    background-image: url(../../../images/quotes/qodbgd2.jpg);
    /*background-size: cover;
    background-size: stretch ;*/
}

.rqt {
    font-size: .8em;
    /* position: absolute; */
    bottom: 20px;
    left: 50px;
    margin-top: 20px;
}

.rqb {
    text-shadow: -1px 1px 5px black;
}


.footer {
}

.after-sidebar .moduletable {
    margin-bottom: 17px;
}

#sidebar .translateemaho h3 {
	margin-bottom: -15px;
}

/* STORE */
<style type="text/css">

.product_description {}
.product_price {}

.oddtablerow {}
td {padding:4px; border-bottom:1px solid #E4D7BA}
.product_description {
	font-weight:bold;
	color:#663333;
	float:left;
	width:280px;
	font-size: 12px;
}

.product_price {font-weight:bold; color:#844144;  }

#recentnews {display:none;}
.style2 {font-size: 14px}
.style4 {	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

span.icon-search:before {
    content: 'Search';
    
    padding: 10px;
    margin: 10px;
    /* display: inline-block; */
}

button.btn {
    margin: 0 0 10px 0;
    padding: 3px 10px
}
input  {
    padding:3px 10px;
}
select {
    padding: 3px 10px;
}

/* Book Club more items list styling */
.bookclub .items-more ol {
	list-style:none;
}
.bookclub .items-more li {
	margin:0;
}

/* hide the upcoming events on the home page */
.upcomingevents {
	display:none;
}

.img-shadow {
    box-shadow: 4px 4px 8px #ccc;
    border: 1px solid #ccc;
}

/* Home page calendar link module */
.custom.calendar-link-homepage {
	background:red;
	padding: 30px 20px;
	background:url(http://emahofoundation.org/images/hdr_events.jpg);
	background-position: -517px 0;
}

.custom.calendar-link-homepage a {
	background: rgba(24, 77, 121, 0.5);
	display:block;
	padding:20px;
	color:white;
	text-align:center;
}

.custom.calendar-link-homepage a:hover {
	background: rgba(24, 77, 121,.8);
}

.uppercase {
  text-transform:uppercase;
}
.darkred {
  color: #990000;
}
.eventdate {
    font-weight: bold;
    color: #000000;
}


/* Photo Gallery experiments */

.photogallery .item-image img {
    width: 180px;
    float: left;
    margin-right: 20px;
}

.photogallery .item {
    margin-bottom: 20px;

    overflow: hidden;
}

ul.sigProClassic.singleThumbGallery {
    padding-top: 0!important;
}

.nivo-lightbox-theme-default.nivo-lightbox-overlay {
    background: rgba(0,0,0,1);
}
