/*
 * Theme Name: Dhara
 * Theme URI: www.dhara.dhamma.org
 * Version: 4 
 * Author: Joshua Hartwell, Craig Miller, &amp; Jeremy Dunn
 */

@import url("https://fontlibrary.org/face/andika");

* { margin: 0px; border: 0px; padding: 0px; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display:block; } /*To help old browers render new html5 tags*/
html,body { font-family: "AndikaNewBasicRegular", "Open Sans", Arial, Helvetica, Sans-Serif; text-align: left; font-size: 10px; }
html { overflow-y: scroll } /*Makes the scrollbar always visible, helpful in avoiding unwanted behavior around edges of responsive designs*/
.constrained-to-mid { width:90%; margin-left: auto; margin-right: auto; }

#search-login-bar-logged-in, #search-login-bar-logout-link 
   { display: inline-block; white-space: nowrap; font-size: 1.7em; margin-top: 14px; color: hsla(123, 43%, 19%, 1); font-weight: normal; }
#search-login-bar-logout-link { padding-left: 15px }
#search-login-bar-logged-in a, #search-login-bar-logout-link a { text-decoration: underline }
#search-login-bar-logged-in a:hover, #search-login-bar-logout-link a:hover { color: hsla(123, 43%, 35%, 1); }
#search-login-bar-color { background-color: hsla(87, 50%, 53%, 1); }
#search-login-bar { display: table; padding-bottom: 10px; padding-top: 5px}  
#search-login-bar-row { display: table-row }  
#search-login-bar #schedule-cell { display: table-cell; vertical-align: bottom; padding-left: 30px; padding-top: 5px }
#search-login-bar #schedule-cell img { height: 32px; display: block }
#search-login-bar #schedule-cell a { display: block; text-decoration: none }
#search-login-bar #loginform { display: table } 
#search-login-bar #login-form-cell { display: table-cell; width: 80%; padding-right: 80px; vertical-align: bottom }
#search-login-bar #logged-in { font-size: 1.5em }
#search-login-bar .login-remember { display: none }
#search-login-bar .login-username, #search-login-bar .login-password { display: table-cell; width: 125px; padding-right: 5px }
#search-login-bar .login-submit { display: table-cell; vertical-align: bottom }
#search-login-bar #wp-submit, #search-login-bar #searchsubmit { height: 25px; padding-left: 10px; padding-right: 10px; font-family: inherit; border: none; }
#search-login-bar #topbarsearchbox { border: 1px solid; border-radius: 5px; padding: 4px 5px; width: 169px }
#search-login-bar #search-login-bar-search-cell { text-align: right; padding: 0px; vertical-align: bottom; display: table-cell; white-space: nowrap }
#search-login-bar #wp-submit, #search-login-bar #searchsubmit, #search-login-bar #topbarsearchbox,
#search-login-bar #searchform, #search-login-bar #user_login, #search-login-bar #user_pass { border-color: hsla(214, 59%, 52%, 1) }
/* these next two lines trick webkit into not making auto-filled login boxes (top of page usually) yellow */
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 50px white inset; -webkit-text-fill-color: #333; }
input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 50px white inset; -webkit-text-fill-color: #333; } 

#header-titles a { text-decoration: none }
#header-titles { clear: both; min-height: 50px; overflow: hidden; }
#header-site-name { margin-top: 30px; width: auto; overflow:hidden; font-size: 3.4em; text-align: left; margin-bottom: 0px }
#header-site-description { width: auto; margin-top: 0px; font-size: 2.0em; font-weight: 400; text-align: left; margin-bottom: 15px; }
#header-site-location { width: auto; margin-top: 0px; font-size: 2.0em; font-weight: 400; text-align: left; margin-bottom: 20px }
#header-site-name, #header-site-description, #header-site-location { font-family: "AndikaNewBasicRegular",  Raleway, Helvetica, Arial, sans-serif; }
#header-image-link { float: left; }
#header-image { border-radius: 10px; display: block; margin-right: 20px; margin-top: -5px; margin-bottom: 15px; height: auto; border: none; max-width: 380px; } 

#mobile-menu, #mobile-search, #mobile-login { display: none }
.header-nav-menu { font-weight: normal; font-size: 1.5em; clear: both; width: 100%; font-family: "AndikaNewBasicRegular", Raleway, Helvetica, Arial, sans-serif }
.header-nav-menu > ul { height: 100%; }
.header-nav-menu ul { position: relative; list-style-type: none; display: inline-block }
.header-nav-menu ul ul { position: absolute; white-space: nowrap; display: none; top: 100%; margin-left: -0.5px; z-index: 999 }
.header-nav-menu ul ul ul { left: 100%; top: -1px; } 
.header-nav-menu ul li:hover > ul { display: inline-block; }
.header-nav-menu ul ul li { position: relative; min-width: 160px; background: linear-gradient(to bottom, hsla(123, 43%, 49%, 1) 0%, hsla(123, 43%, 49%, 1) 100%); }
.header-nav-menu a { text-decoration: none; display: block; padding: 12px 18px }
.header-nav-menu ul ul a { border: 1px solid; border-top: 0px; padding: 10px 15px; }
.header-nav-menu ul ul li:first-child { border-top:1px solid; }
.header-nav-menu > ul { display: table; }
.header-nav-menu > ul > li { display: table-cell; vertical-align: middle; border-right: 1px solid;}
.header-nav-menu > ul > li > a { vertical-align: middle; text-align: center; display: table-cell }
.header-nav-menu > ul > li:first-child { border-left: 1px solid; }
.header-nav-menu ul ul .menu-item-has-children > a {
   background-image:url('/wp-content/themes/dhara/images/submenu-arrow-green.png');
   background-position: center right 8px; 
   background-repeat: no-repeat; 
   padding-right: 30px; 
}

#os-home-page-content, #home-page-content { padding-left: 0px; padding-right: 10px; }
#home-page-news-feed { margin-left: 20px; }
.page-content { display: block; box-sizing: border-box; overflow: auto; width: 100%; padding: 0px 10% 30px; font-size: 1.5em; }
.page-content blockquote { margin: 20px 50px; padding: 10px; border: 1px solid; border-radius: 15px; }
.page-content p { line-height: 1.6em; margin-bottom: 12px;}
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5 { font-family: "AndikaNewBasicRegular", Raleway, Helvetica, Arial, sans-serif }
.page-content h1 { font-size: 2em; line-height: 1.1em; margin: 30px 0px 30px; text-align: center; }
.page-content h2 { font-size: 1.5em; line-height: 1.1em; margin: 30px 0px 10px; }
.page-content h3 { margin-top: 25px; }
.page-content h4 { font-size: 1.2em; font-style: normal; font-weight: 700; margin: 15px 0px; }
.page-content ul, .page-content ol { list-style-position: outside; margin: 15px 0px 15px 35px }
.page-content ul {list-style-type: square }
.page-content li { line-height: 1.6em; list-style-position: outside; margin: 5px 0px; padding-left: 15px }
.page-content a:link { text-decoration: underline}
.page-content dt { font-weight: bold; font-size: 1.1em; margin: 10px 0px }
.page-content dd { margin-left: 20px;  line-height: 1.6em; }
.page-content dd address { display: inline }
.page-content .paypal-button { vertical-align: middle; margin-bottom: 10px }
.page-content table.organizational-structure { width: 100%; margin: 0 auto; }
.page-content table.organizational-structure td { width: 33%; text-align: center }
.page-content table { border-collapse: collapse; }
.page-content table * { word-wrap: break-word; }
.page-content table h2 { margin: 5px 0px }
.color-fix-dummy { display: none }
.page-content th, .meeting-minutes header, .trust-list header { padding: 8px; vertical-align: top; text-align: left; text-align: center; vertical-align: middle; padding: 8px; }
.page-content td { padding: 8px; vertical-align: top; }
.page-content tr, tc, th, td, table{ border: solid 1px; }

/*These two classes get applied by javascript, and keep a menu from going off the edge of the screen*/
.header-nav-menu .edge  { right: 0px } /*used for top level menus, ul ul*/
.kick-left, .kick-left ul { left: auto !important; right: 100% !important; } /*used for 2nd level menus, ul ul ul*/

.primary-trail-link { font-size: 1.3em; margin-top: 40px; font-weight: bold; max-width: 45% }
.primary-trail-link.next { float: right; text-align: right }
.primary-trail-link.previous { float: left; text-align: left }

#fat-footer { padding-bottom: 20px; padding-top: 20px }
#footer-copyright-and-sitemap { padding-top: 5px; padding-bottom: 5px; text-align: center }
#page-footer { font-size: 1.5em; }
#page-footer table { width: 100%; table-layout: fixed; border: 0px; border-radius: 15px; overflow: hidden }
#page-footer tr { border: 0px; }
#page-footer td { vertical-align: top; width: 33%; border: 0px; padding: 5px 30px; text-align: center }
#page-footer h2 { text-align: center; margin-bottom: 10px }
#page-footer-schedule-link { text-decoration: none; }
#page-footer-schedule-link h2 { margin-top: 10px; }
#page-footer ul { list-style: none; }
#footer-schedule { width: 100px; margin-top: 20px }

/* For captioned images, recommended by http://codex.wordpress.org/CSS */
.alignnone { margin:5px 20px 20px 0 }
.aligncenter, div.aligncenter { display:block;margin:5px auto 5px auto }
.alignright { float:right;margin:5px 0 20px 20px }
.alignleft { float:left;margin:5px 20px 20px 0 }
.aligncenter { display:block;margin:5px auto 5px auto }
a img.alignright { float:right;margin:5px 0 20px 20px }
a img.alignnone { margin:5px 20px 20px 0 }
a img.alignleft { float:left;margin:5px 20px 20px 0 }
a img.aligncenter { display:block;margin-left:auto;margin-right:auto }
.wp-caption { background:#fff;border:1px solid #f0f0f0;max-width:80%;padding:10px 5px 10px;text-align:center; border-radius: 8px }
.wp-caption.alignnone { margin:5px 20px 20px 0 }
.wp-caption.alignleft { margin:5px 20px 20px 0 }
.wp-caption.alignright { margin:5px 0 20px 20px }
.wp-caption.alignleft, .wp-caption.alignright { max-width: 50% !important }
.wp-caption img { border: 1px solid; border-color:hsla(212, 59%, 70%, 1);border-radius:5px;height:auto;margin:0;max-width:98.5% !important;padding:0; }
.wp-caption p.wp-caption-text { font-size: .8em; line-height:17px;margin:0;padding:0 4px 5px }
/* End WP suggestion */

p > a > img, p > img { max-width: 50%; height: auto; border-radius: 5px; border: 2px solid hsl(214, 87%, 33%); }

/* These, along with the function in functions.php, makes sure centered images are centered but scale. */
.image-caption-center { text-align: center; } 
.image-caption-center > .wp-caption { width: auto !important; max-width: auto !important; display: inline-block !important; }

hr { 
	border: 0; height: 1px; 
	background-image: gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
	background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
	background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
	background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
	background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
	margin: 20px 0;
}

/* New Student and Old Student Home Pages */
#front-page-table table { width: 100%; table-layout: fixed; border: 0px; margin-top: 35px; margin-bottom: 50px; border-radius: 15px; overflow: hidden }
#front-page-table tr { border: 0px; }
#front-page-table td { width: 33%; border: 0px; padding: 15px 30px 0px; text-align: left }
#front-page-table h2 { margin: 20px 0px; padding: 0px; font-size: 1.4em; text-align: center; }
#front-page-table img { width: 100%; border: 2px solid; border-radius: 5px; display: block; margin: 0 auto }
ul.old-student-home-list { margin-left: 0px }
ul.old-student-home-list li { margin-bottom: 10px; list-style: none }
ul#os-welcome-news-feed li { white-space: nowrap; text-overflow: ellipsis; overflow: hidden }

/*the pages we grab from www.dhamma.org*/
.www-pageSetup, .www-pageSetup *, .www-pageSetup > tbody > tr:nth-child(odd) , .pageSetup, .pageSetup *, .pageSetup tr:nth-child(odd)
	{ border: 0px none; text-align: left }
.www-pageSetup { display: block }
.www-float-right-bottom { float: right; margin: 0px 0px 20px 30px } /* UN Peace Summit photo */
#goenka-image { max-width: 350px; margin-left: 10px }

/* 404 Page */
#options-404 li { margin-bottom: 20px; }
#options-404 #s { width: 60%; }
#login-section-404 { width: 500px; margin-left: auto; margin-right: auto; max-width: 80%; }
#s, #user_login, #user_pass { width: 90%; border: 1px solid; border-radius: 5px; padding: 4px 5px; }
#searchsubmit, #wp-submit { border: 1px solid; font-weight: bold; padding: 2px 5px; cursor: pointer; border-radius: 4px; margin-top: 5px; }

#group-sittings { width: 100%; }
#group-sittings td { width: 20%; }
#group-sittings td:nth-child(4) { width: 40%; }
#group-sittings .group-sittings-see-also { text-align: center; } 

#trust-schedule { margin: 0px auto }
#trust-schedule td:nth-child(2) { text-align: center }

#recipes { margin: 0px auto; width: 95%; table-layout: fixed }
#recipes td { line-height: 180% }
#recipes strong { font-size: 1.2em; }

#announce-email-list { width: 100%; }

.post-metadata { margin: 30px 0px 0px }
.post-metadata-icon { vertical-align: middle; text-align: center }
.post-metadata-table {margin: 10px auto !important; }
.post-metadata-table, .post-metadata-table * {border: 0px !important; }
.post-metadata-table td { padding: 2px 5px !important;} 
.post-metadata-label {text-align: right; font-weight: bold; }

nav.pagination { text-align: center; padding: 5px 0px; font-size: 1.2em }
.page-numbers { padding: 5px 10px; }
section.pagination-links { margin-top: 10px; margin-bottom: 10px; }

#search-results-content #s {width: 85%}
a.search-results:link { text-decoration: none }
li.search-results{padding: 5px 5px; border-radius: 10px;}
h3.search-results{text-decoration: underline}

header.archive { margin: 15px 15px 10px 15px; }
header.archive a:link { text-decoration: none }

article.archive { margin-bottom: 20px; padding-right: 15px; padding-bottom: 10px; border-radius: 10px; }
h2.archive { padding-top: 10px }
article.archive p, footer.archive { margin-left: 40px; }
footer.archive { font-size: .9em }
h3.archive { margin: 0px 0px 2px 0px; padding: 0px;}

.screen-reader-text { display: none; }

#trust-committees-table td:nth-child(1) { min-width: 350px; }
#trust-committees-table td:nth-child(2) { min-width: 150px; }
.meeting-minutes, .trust-list { float: left; display: block; border: 1px solid black; min-width: 120px; min-height: 320px; text-align: center; }
.trust-list { width: 32.5%; height: 550px; }
.meeting-minutes { height: 350px; }
.meeting-minutes header, .trust-list header { font-weight: bold }
.email-list, .finance-table, .child-teen-schedule { width: 85%; margin-left: auto; margin-right: auto}
.phone-list { width: 50%; min-width: 50%; margin-left: auto; margin-right: auto}

#dana-needed-to-complete tbody td { width: 27%; }
#dana-needed-to-complete tbody th:nth-child(1) { width: 20%; min-width: 110px; text-align: right }
#dana-needed-to-complete tbody tr:last-child { font-weight: bold }

#what-to-bring, #what-not-to-bring { border: 3px solid; padding: 5px; display: table-cell; width: 50% }
#what-to-bring { border-color: green }
#what-to-bring h2 { color: green }
#what-not-to-bring {  border-color: #CC2222 }
#what-not-to-bring h2 { color: #cc2222 }
#what-to-bring-row { display: table-row }
#what-to-bring-table { display: table; border-spacing: 5px; border-collapse: separate }

.google-calendar { border: 1px solid black; width: 99%; height: 600px }

.hidden-search-keywords { display: none }
