/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
    margin: 0;
    padding: 0;
}

/* set image max width to 100% */
img {
    max-width: 100%; 
    height: auto;
    /*   width: auto\9; /* ie8 */ 
}

img, fieldset {
    border: 0;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}
p {
    margin: 0 0 8px 0;
}
article {
    padding:10px;
    line-height: 1.5em;
}
article ol {
    margin: 10px;
}
article li {
    margin-left: 6%;
}
/************************************************************************************
RESET
*************************************************************************************/
body {
    padding:0;
    margin:0;
    color: #000000;
    font-size: 1.0em;
    font-family: droid-serif, serif;
    background: #9AC94C url(body-bg2.jpg) no-repeat center top;
    /*font-size: .80em/150%; */
}
table {

}
a, a:link, a:visited {
    text-decoration: none;
    color:blue;
}
a:hover {
    color:blue;
    text-decoration:underline;
}

table.sub-form {
}
table.sub-form td {

}
blockquote {
    margin:4px;
    padding: 0 4px 0 16px;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
    width: 980px;
    margin: 0 auto;
}
#header {
    margin:10px 0;
}
#site-logo {
    padding-top: 5px; /*AHD*/
    position: relative;
    text-align:center;
    margin:auto;
    color:#FFFFFF;
    font-size: 1.6em;
    text-shadow: 2px 2px 4px #256086;
    clear:both;
}

.RTL {
    text-align: right;
}
.LTR {
    text-align:left;
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content {
    background: #fff;
    margin: 2px 0 30px;
    padding: 4px 12px;
    width: 70%;
    float: left;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
#contribute {
    background-color:#FFFEE3;
    padding:8px;
    border: 1px dotted #553311;
    margin:10px;
    border-radius: 8px;
}
#contributors {
    padding:8px;
    border: 1px dotted #553311;
    margin:10px;
    border-radius: 8px;
}

legend {
    font-weight: bold;
    padding-left:4px;
    padding-right:4px;
    margin: 4px;
    font-size:1.2em;
}
/*
.post p {
    margin-bottom: 12px;
}

.post blockquote {
    margin-left: 0px;
}
.post li {
    margin-left:20px;
}
.post ul {
    margin-bottom:10px;
}
*/
/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
    width: 26%;
    float: right;
    margin: 5px 0 30px;
}
.widget {
    background: #fff;
    margin: 0 0 10px;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
    text-align: center;
}
.widgettitle {
    margin: 0 0 5px;
    padding: 0; 
}
.widget ul {
    margin: 0;
    padding: 0;
}
.widget li {
    margin-left: 6px;
    padding: 0;
    list-style: none;
    clear: both;
    border-top: solid 1px #eee;
}
.sidebar-extra {
    text-align:left;
    color:#9F0000;
    padding: 10px;
    text-align: left;
}
#langform {
    text-align: center;
    margin:0px;
    padding:0px;
    font-size:.8em;
}
#langLabel {

}
#setlang {

}
#submitlang {

}
select.sidebar {
    width:150px;
    max-width:100%;
}
.submenu {
    text-align: left;
}
.submenu ul {

}
.submenu li {
    border:none;
    margin: 8px;
}
.submenu img {
    width:9px;
    vertical-align: text-top;
}
/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
    padding: 2px;
    text-align:center;
    width:98%;
    clear: both;
    color: #000000;
    font-size: .8em;
}
#footer a {
    color: #FFFFFF;
}

#debugLink {
    position: absolute;
    right:4px;
    top: 0;
    z-index: 999;
}
#debugLink img {
    width:30px;
}
/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block;  }

/*************************************
credits with avatar
*************************************/
div.credit {
    max-width: 90%;
    margin: 4px;
}
img.avatar {
    vertical-align: middle;
    margin: 0 8px 0;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}
span.credit_name {
    display: inline-block; 
    vertical-align: middle;
    font-size:1.0em;
}
span.credit_info {
    font-size:.8em;
    font-style: italic;
}

/************************************************************************************
ELSE
*************************************************************************************/
button,
span.button,
input[type=button],
input[type=reset],
input[type=submit] {
    color: #fff;
    font-size: 90%;
    background: -webkit-gradient(linear, left top, left bottom, from(#FDFFBF), to(#6AA16A));
    background: -moz-linear-gradient(top,  #FDFFBF,  #6AA16A);
    background: linear-gradient(180deg, #FDFFBF, #6AA16A);
    border-radius: 6px;   
    border: 1px solid #6AA16A;   
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);   
    margin: 5px;
    padding: 3px 10px;
    white-space: nowrap;
}
#spinbox {
    position: fixed;
    top: 40%;
    left: 25%;
    font-size: 3.0em;
    font-weight: bold;
    font-style: italic;
    color: #006600;
    text-align: center;
}
.note {
    padding:10px;
    text-align:left; 
}
.recordDisplay {
    border:1px solid #ccc;
    background-color:#efefef;
    padding:4px;
}
.submissionPhoto {
    max-width: 550px;
}
#header-line {
    float:left;
    width:100%;
    margin-bottom: 10px;
}
#printVersion {
    float:right;
}
#feedback {
    clear:both;
}
.ERROR {
    color:#CC0000;
}
.WARNING {
    color:#FF8000;
}
.data {
    border: 1px solid #ccc;
}
.data td {
    border: 1px solid #ccc;
    padding: 0 6px 0 6px;
}
.fullWidth {
    width: 100%;
}

#content h2 {
    text-align:center;
    margin-bottom: 4px;
}
#home {
    text-align: left;
    margin: auto;	
    font-size: 1.1em;
}
#home h1{
    text-align: center;
    padding: 6px 0 6px 0;	
    font-size: 1.4em;
}
#home h2 {
    text-align: center;
    padding: 6px 0 6px 0;	
    font-size: 1.3em
}	

#error-message {
    background-color:yellow;
    color: #553311;
    padding:20px;
    margin:20px;
    font-size:1.1em;
    border:1px solid #553311;
}
#socialContacts {

}
div.center-div {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    width: 300px;
    text-align: center;
}

/* events */

#event_form {
    font-size: .9em;
    margin:auto;
}
#event_form th {
    text-align: right;
}
#event_fieldset {
    border:2px solid #909090;
    padding: 10px 10px;
    border-radius: 8px;
}

#event_fieldset legend {
    font-size:1.1em;
    font-weight:bold;
}

.center {
    text-align: center;
    padding:10px;
}

#events_form {
    padding: 0 10px 10px;
    font-size: .8em;
}
#events-selection form {
    margin-left: auto;
    margin-right: auto;	
    text-align: center;
}	
.event-filter-container {
    float: left;
    margin: 6px;
}

.event-filter-label {
    font-weight: bold;
    width: 100%;
    margin:0 0 10px 0;
}
fieldset.event, fieldset.link {
    margin:0 10px 20px;
    border: 1px solid;
    background-color: #F5F9F8;
}
fieldset.sub-form {
    background: #efefef;
    margin:6px;
    border:3px groove #efefef;
}
fieldset.sub-form legend {
    font-weight:bold;
    color: #000;
    font-size: 1.1em;
    margin-left:8px;
    margin-right:8px;
    padding-left:4px;
    padding-right:4px;
}
div.event {
    font-size:1em;
    margin: 10px;
}
#event-item {
    font-size:1.0em;
    margin: 10px;
    padding: 10px;
    text-align: left;
}
#event-item-left {
    float: left;
    width: 48%;	
}
#event-item h1 {
    font-size: 1.2em;
    color: #000;
}
#event-item h2 {
    font-size: 1.1em;
    text-align: left;
}
#event-photo {
    float:right;
    width:48%;	
}
#event-photo img {
    border:1px solid black;	
}
.event_listing {
    margin: 0 0px 14px 0px;
    padding: 2%;
}
.event_list_img_container {
    float: left;
    width: 20%;
    margin: auto;
    clear: both;

}
.event_list_img {
    border:1px dotted #efefef;
    max-width:95%;
    width: 100px;
    max-height: 90px;
}
.event_list_text {
    display: inline-block;
    width: 76%;
}

/* support/resources */

.linkCat {
    padding:8px 0px 2px 0px;
    font-size:1.0em;
    color: #000000;
    font-weight:bold;
}
.link {
    padding: 2px 10px 1px 20px;
    margin: 0px;
    font-size:0.9em;
}
.linkDesc {
    margin: 4px;
    padding: 0px 10px 0px 20px;
    font-style:italic;
}
div.form {
    margin-left: auto;
    margin-right: auto;
    padding: 4px;
}
table.form {
    margin: 0 auto 0 auto;
    max-width: 100%;
    font-size:1em;
}
table.form input {
    max-width: 100%;
    min-width:10%;
}
#opening_date, #start_date, #end_date  {
    min-width: 60px;
    max-width: 80px;
}
table.form td > select {
    max-width: 100%;
}
table.form textarea {
    width: 100%;
    height: 4.0em;
}
table.form th {
    text-align: right;
}
table.form td {
    padding: 6px 0 4px 0;
}

#intro {
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}
fieldset.credits {
    margin: 6px;
}
fieldset.credits legend {
    font-weight: bold;
    font-size: 1.1em;
}
fieldset.credits ul {
    font-family: "Monoco", "Courier New", Monospace;
    font-size: 1.0em;
}
fieldset.credits li {
    list-style-type: none;
    margin-left:20px;
}
fieldset.credits p {
    list-style-type: none;
    margin-left:20px;
}
#news {
    margin: 5px 5px 10px 5px;
    margin-top: 4px;
}
#news fieldset {
    border: 2px solid #408000;
    background-color: #F5F9F8;
    border-radius: 4px;
    padding: 0 6px 0 14px;
}
#news legend {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0 6px;
    color: #408000;
}
#news ul {
    font-size: 1.0em;
    margin-bottom: 20px;
}
#news li {
    list-style-type: none;
    margin-left: 15px;
    background-color: #F5F9F8;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
}
span.news-date {
    font-size: .74em;
    color: #909090;
    font-weight: normal;
}
#news p {
    list-style-type: none;
    margin-left:20px;
    font-size: .9em;
}
#news blockquote {
    line-height: 1.2em;
}
#news span.news-title {
    font-weight: bold;
    font-size: 1.2em;
}
#news span.more {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: .9em;
}
#pr {
    /*text-align:left;*/
    padding: 10px;
    background-color: #fff;
    border: 1px solid #505050;
}
#pr h1 {
    font-size: 2.0em;
    font-style:italic;
}
#pr h2 {
    font-size: 1.6em;
    /*text-align:left;*/
}
#pr h3 {
    font-size: 1.1em;
}
#time2submit {
    font-size: 1.3em;
    font-weight: bold;
    border: 4px double #ccc;
    padding: 12px;
    width: 70%;
    margin: auto;
    background-color: #af0000;
    color: #fff;
    text-align: center;
}
#time2submit h3 {
    font-size: .8em;
    font-weight: bold;
    padding: 0;
    margin: 0;
}
/*
span.button {
    color: #0080ff;
    background: #6a6a6a url('http://pinholeday.org/includes/template/2015/nav-bar-bg.png') repeat-x;
    background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#DCDCDC));
    background: -moz-linear-gradient(top,  #efefef,  #DCDCDC);
    background: linear-gradient(180deg, #efefef, #DCDCDC) repeat scroll 0% 0% transparent;
    border-radius: 8px;
    border: 1px solid #DCDCDC;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
    margin: 0 6px 0 6px;
    padding: 0 4px 0 4px;
    white-space: nowrap;
}
*/