﻿body
{
    font-family: Tahoma, Verdana, Helvetica, Helvetica-Narrow, sans-serif;
    margin: 0px;
    background: #FED36B url(images/background_main.jpg) repeat-y center top;
    font-size: 13px; /*0.8em;*/
    color: #444444;
}
a:link
{
    color: #8A3700;
}
a:visited
{
    color: #542100;
}
a:hover
{
    text-decoration: none;
    color: #A45521;
}
a:active
{
    text-decoration: none;
    color: #000000;
}

input, select, textarea
{
    font-size:1em; 
    font-family: arial, Verdana, Helvetica, Helvetica-Narrow, sans-serif;
}

/* Use headers in the markup for accessibility reasons but control look with styles below*/

h1, h2, h3, h4, h5, h6
{
   margin: 2px 0 2px 0;
}


h1
{
    font-size: 28px;
    font-weight: bold;
   margin: 5px 0 5px 0;
}


h1 a:link, h1 a:visited, h1 a:hover, h1 a:active
{
    text-decoration: none;
    color: #000000;
}
.membercard h3
{
    font-size: 1em;
}

 #loginbanner h2
{
    font-size: 1em;
    font-weight: normal;
    margin-top: 8px;
}

#poster h2
{
    font-size: 13px;
    font-weight: bold;
    color: #50700E;
}
.leftblock h2, .rightblock h2, .fullwidth h2
{
    font-size: 1.6em;
}

.rightblock h3
{
    font-size: 1em;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    display: block;
}



.eventmonth h3
{
    padding-left: 20px;
    padding-right: 20px;
}

.eventlist label
{
    font-weight: bold;
    padding-right: 4px;
}

/************************************************************************
* 
* Main navigation used by the masterpage
*
************************************************************************/

/* Picture at the top of the site */
#poster
{
     /*background: url(images/poster.jpg) no-repeat;*/
    background: url(images/GurdwaraHeaderImageLong.jpg) no-repeat;
    /*background: url(images/GurdwaraLogo.bmp) no-repeat;*/
    margin-right: auto;
    margin-left: auto;
    width: 726px;
    height: 160px; /*139px;*/
    margin-top: 0px;
}

/* Navigation strips */
#navtop, #navbottom
{
    background: url(images/background_nav_main.gif) repeat-x;
    font-size: 11px;
    font-weight: bold;
    font-family: Verdana, Helvetica, Helvetica-Narrow, Tahoma, sans-serif;
    margin-right: auto;
    margin-left: auto;
    width: 726px;
    height: 45px;
    padding: 0px 0px 0px 0px; 
    }
#navbottom
{
    margin-top: 15px;
}
table.MainMenu {  margin: 0px 0px 0px 0px; vertical-align:middle;}

#footer
{
    width: 726px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 22px;
    color: #C89F3D;
}

/* Make main navigation bars from a unordered list for easy update and better accessibility */

#navtop ul, #navbottom ul
{
    margin: 0px;
    padding-top: 9px;
    list-style-type: none;
    height: 19px;
    text-align: center;
}
#navtop ul li, #navbottom ul li
{
    display: inline;
    color: #FFFFFF;
    margin-right: 25px;
}
#navtop a:link, #navtop a:visited, 
#navbottom a:link, #navbottom a:visited,
#divLang a:link, #divLang a:visited /*hg*/
{
    color: #FFFFFF;
    text-decoration: none;
}
#navtop a:hover, #navbottom a:hover,
#divLang a:hover, #divLang a:hover /*hg*/
{
    text-decoration: underline;
}
#navtop a:active, #navbottom a:active
{
    color: #FEFFBD;
    text-decoration: none;
}
/* HG Modification */

#AdminLink a:link, #AdminLink a:visited {color:Blue;}
#divLang 
{
    background: url(images/background_nav_main.gif) repeat-x;
    font-size: 11px;
    font-weight: bold;
    font-family: Verdana, Helvetica, Helvetica-Narrow, Tahoma, sans-serif;
    position:absolute; 
    right:135px; top:10px;    
    padding: 8px;}   
#mytable  {	width: 700px;	padding: 0;	margin: 0;}
#mytable td {
    vertical-align: top;
	border-right: 1px solid #777722;
	border-bottom: 1px solid #777722;
	background: #ffff;
	padding: 6px 6px 6px 12px;
	}
#mytable td p {
    padding: 5px 0px 0px 0px;
    margin: 0px;
	}
#mytable td.alt {
	background: #F5FAFA;
	}
.gvHeader
{
    background: url(images/background_nav_main.gif) repeat-x;
    
    font-size: 13px;
    font-weight: bold;
    color: White;
    height: 25px;
}
.gvHeader a { color: White;}


.gvRow, gvAltRow
{ padding:2px 2px 2px 2px;
    
    background-color:#FEFAAB;
}  


.cautionmsg
{
    background-color: #696969;
    width: 100%;
    color: White;
    padding: 2px 2px 2px 2px;
    font-style: italic;
}
span.alert, .alert{
    background: #fff6bf url(images/alert.gif) 15px center no-repeat;
    text-align: left;
    padding: 15px 20px 15px 65px;
    margin: 15px 0px 15px 0px;
    border-top: 2px solid #ffd324;
    border-bottom: 2px solid #ffd324;
    width: 800px;
    
    }
.saved {
    background: #eeffee url(images/save.gif) 15px center no-repeat;
    text-align: left;
    padding: 15px 20px 15px 55px;
    min-height: 35px;
    margin: 5px 0px 5px 0px;
    border-top: 2px solid #336666;
    border-bottom: 2px solid #336666;
    }

/* HG Modification */
/************************************************************************
* 
* Formatting common to most pages
*
************************************************************************/

/* Main part of the page that holds contents */
#body
{ 
    width: 726px;
    margin: 10px auto 17px auto;    
    position: relative;
}

/* 2 column layout */
.columnleft
{
    float: left;
    width: 240px;
    /*position: relative; */
}

.columnright
{
    margin-left: 245px;
  /*  position:relative; */
}

.leftblock
{
    border: 1px solid #DBDB79;
    padding: 10px;
    margin-bottom: 10px;
    background: #FEFAAB url(images/background_columnleft.gif) repeat-y;
    vertical-align: top;
}

 .rightblock
{
    border: 1px solid #DBDB79;
    padding: 15px;
    margin-bottom: 10px;
    background: #FEFFAB url(images/background_columnright.gif) repeat-y;
    position: relative;
    width:446px;
}

.clear2column
{
    margin:0;
    padding:0;
    line-height:0;
    font-size:0px;
    height:0px;
    clear: both;
}
    

/* A full width block on the page */

.fullwidth, #loginbanner
{
    border: 1px solid #DBDB79;
    width: 694px;
    margin: 10px auto 10px auto;
    background: #FEFFAB url(images/background_fullwidth.jpg) repeat-y;
    padding: 10px 15px 10px 15px;
    text-align: left;
}

#BreadCrumb { width: 710px; border: 1px solid #DBDB79; height: 18px;
    text-align: right; padding: 3px 15px 3px 15px; margin: 0px auto 0px auto;
    background: #FEFFAB url(images/logintab.gif) repeat-x; 
    color:#4b5b2b; }    
#BreadCrumb a:link {color:#4b5b2b; text-decoration: underline; /* #8A3700;*/}
#BreadCrumb a:visited {color: #4b5b2b; /*#542100;*/}
#BreadCrumb a:hover{ text-decoration: none; color: #A45521;}
#BreadCrumb a:active{text-decoration: none; color: #000000;}
.bcleft{
   text-align: left;
   position: relative;
   float: left;
   left: 0px;
   width: 50%;
}
.bcright{
   position: relative;
   float: right;
   right: 0px;
   width: 50%;}

/* for the login block
    picks up most of its properties from .fullwidth */

#loginbanner
{
  padding-bottom: 0px;
}

/* Goes around controls that need to be presented as a block of functionality  */
.controlblock
{
    border: 1px solid #DBDB79;
    padding: 3px;
    margin: 2px 0 5px 0;
    vertical-align: top;
}

/* shows a visual seperation */
.dashedline
{
    border-bottom: 1px dashed #DBCE6A;
    padding-top: 10px;
    margin-bottom: 10px;
    clear:right;
}

/* Command buttons on pages */
.actionbuttons
{
  text-align:right;
  position: relative; 
  padding: 1px 1px 1px 1px;
}

/************************************************************************
* 
* Calendar specific formatting 
*
************************************************************************/

/* Surrounds the calendar */
.eventmonth
{
    border: 1px solid #DBDB79;
    width: 694px;
    margin-right: auto;
    margin-left: auto;
    background: #FEFFAB url(images/background_fullwidth.jpg) repeat-y;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    text-align: center;
}

/* used as the cssclass of the actual calendar */
.eventmonthtable
{
    width: 694px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #DBDB79;
    border-collapse:collapse;
}


.dayNumber
{
    float: right;
    border-bottom: 1px solid #C7C272;
    border-left: 1px solid #C7C272;
    clear: none;
    padding: 2px;
}


.calcurrentmonth
{
    /* no styles needed at this time */
}
.calothermonth
{
    background-color: #DCD78E;
}
.calcurrentday
{
    background-color: #FFFFC1;
}
.calweekend
{
    background-color: #FEEB95;
  /*  width: 15%; */
}

.calcurrentmonth , .calcurrentmonth , .calothermonth , .calcurrentday , .calweekend
{
    text-align: left;
    border: 2px solid #C7C272;
    height: 60px;
    vertical-align: top;
    /* needed for positioning the dayNumber part */
    position:relative;
     border-collapse:separate;
     border-spacing: 5px;
     
}

/************************************************************************
* 
* Next / previous specific formatting 
*
************************************************************************/

.nextlink
{
    position:absolute;
    right:0;
    padding-right:15px;    
}



/************************************************************************
* 
* Global formatting
*
************************************************************************/

/* all the legend tags use this same style */

legend
{
    font-weight: bold;
    color: #666666;
    font-size: 1em;
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 7px;
}

/* apply zero margin to all forms and hide fieldset borders. Keep fieldset borders in the markup for better accessibility */

form
{
    margin: 0px;
}

fieldset
{
    margin: 0px;
    padding: 0px;
    border: none;
}

/* sometimes we hide elements from display in visual browsers (but leave them in the source for non visual browsers and for accessibility) */

.hidden
{
    visibility: hidden;
}
.none
{
    display: none;
}


/************************************************************************
* 
* Image functionality
*
************************************************************************/

.photo
{
    background: #FEFFC8 url(images/background_thumbnail.jpg) repeat-x center;
    border: solid 1px #E8DCA3;
    padding: 5px;    
}

.picture
{
    background: #FEFFC8 url(images/background_thumbnail.jpg) repeat-x center;
    border: solid 1px #E8DCA3;
    padding: 5px;
    margin: 5px;  
}

/* add hover border to href thumbnail images */
/*todo: rectify whether these should be .photo instead 

.thumbnail a:link img, #thumbnail a:visited img
{
    border: 2px solid #883D08;
}
.thumbnail a:hover img
{
    border: 2px solid #FFFFFF;
}
.thumbnail a:active img
{
    border: 2px solid #000000;
}
*/

/************************************************************************
* 
* List type pages
*
************************************************************************/

/* represents each item in a vertical list */
.listitem
{
    margin:0px 0px 0px 0px;
    width:444px;
}

/* surrounds the buttons for list items */
.editbuttons
{
    padding-top: 6px;
}

/* floats the thumbnail off to the right */
.thumbnail
{
    float: right;
    margin: 0 0 0 5px;
}

/*used to clear the float for the thumbnail */
.clearlist
{
    clear:right;
    margin:0;
    padding:0;
    height: 0px;
    font-size:0px;
    line-height:0px;
}

/* Used by the page number control */
.PageNumbers
{
    display:inline;
}

.PageNumbers span
{
    padding-left: 3px;
}

.newscrumbs a
{
    font-weight: bold;
    padding-right: 2px;
}

/* Used in the two column lists */

.membercard
{
    background-color: #FEFEB1;
    border: 1px solid #E8DCA3;
    padding: 10px;
    margin-bottom: 10px;
    width: 198px;
}

.clearcard
{
    clear:left;
    height:0;
    margin:0;
    padding:0;
}

#membercardcolumnleft
{
    float: left;
    position: relative;
}
#membercardcolumnright
{
    margin-left: 226px;
}
.membercard p
{
    margin: 5px;
}

/************************************************************************
* 
* Compact Event list
*
************************************************************************/


/* define event grid view columns */
/* todo: use or remove */

.eventlistdate
{
    padding-right: 4px;
}
.eventlisticon
{
    text-align: center;
}
.eventlisttime
{
    text-align: center;
    width: 95px;
}
.eventlistevent
{
    font-weight: bold;
}
.eventlistlocation
{
    /* no styles needed at this time */
}
.eventlist td
{
    padding-bottom: 4px;
}

/*
.eventlist, .eventlist td, .eventlist tr
{
    border-style:none;
}
*/

/************************************************************************
* 
* Rollover buttons
*
************************************************************************/

.buttonsmall, .buttonsmall-ovr
{
    background: url(images/background_button_small.gif) repeat-x;
    border: none;
    color: #FFFFFF;
    height: 22px;
    font-weight: normal;
    font-size: 9px;
    padding-bottom: 9px;
    padding-left: 3px;
    padding-right: 3px;
    cursor: pointer;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.buttonsmall-ovr
{
    text-decoration: underline;
    background: url(images/background_button_small-ovr.gif) repeat-x;
}

/************************************************************************
* 
* Page specific 
*
************************************************************************/

/* even dowload button */
.downloadevent img
{
    margin-right: 5px;
    vertical-align: middle;
    border: none;
}

/* Header on view details type pages */
.itemdetails
{
    font-size: 1.3em;
}



/************************************************************************
* 
* Photo selection controls
*
************************************************************************/

#popupbody
{
    font-family: Tahoma, Verdana, Helvetica, Helvetica-Narrow, sans-serif;
    margin: 0px;
    background: #FED36B;
    font-size: 0.7em;
}

#popupinner
{
    border: 1px solid #DBDB79;
    margin: 5px;
    background: #FEFFAB;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#popupbody h2
{
    font-weight: bold;
    margin: 0px;
    padding: 1px 0px 5px 5px;
    display: block;
}

.selected, .unselected
{
    width: 80px;
    height: 100px;
    text-align: center;
    padding: 2px 2px 2px 2px;
}

.unselected
{
    background-color: transparent;
    border: solid 1px #FEFFAB;
}

.selected
{
     background: #FED36B;
     border: solid 1px #DBDB79;
}

.scrollablelist
{
    overflow: auto;
    height: 230px;
    width: 460px;
    border: solid 1px #DBDB79;
}

.scrollablelist2
{
    overflow: auto;
    height: 230px;
    width: 210px;
    border: solid 1px #DBDB79;
}


.scrolledtable
{
}

 .selectablephoto
{
    background: #FEFFC8 url(images/background_thumbnail.jpg) repeat-x center;
    border: 1px solid #E8DCA3;
    padding: 2px;
}

.contextbuttons
{
  margin: 5px 3px 5px 3px; 

}

/************************************************************************
* 
* Forms
*
************************************************************************/

/* label column */
.formlabel
{
    vertical-align: top;
    color: #444444;
}

/* value column */
.formvalue
{
    vertical-align: top;
}

.txtfield
{
    width:200px;
}
.txtfieldSmall
{
    width:150px;
}

.txtblock
{
    width:200px;
}
/*HG Added*/
/*HG Created-----------------------------------------------------------*/
.errMessage, .error
{
    background: #ffcccc url(images/error_small.png) center no-repeat; 
    background-position: 15px 50%; /* x-pos y-pos */ 
    text-align: left; 
    color: #990052;
    width: 500px;
    font-size: small;
    padding: 5px 20px 5px 50px; 
    border-top: 2px solid #cc0000; 
    border-bottom: 2px solid #cc0000;
    margin:15px auto 15px auto;
}
.subHeader
{
    color: #336633;
    font-family: 'Monotype Corsiva' , Arial, Helvetica, sans-serif;
    font-size: 1.5em; font-weight: normal;
    padding: 15px 0 15px 0;
}
.small
{
    font-size: x-small;
    font-style: italic;
}
.AdminInstructions
{
 font-weight: bold; color: Red;
}
/*Sorting in Grid view*/
.datatable TH.sortasc A { background:url(images/asc.gif) right center no-repeat; }
.datatable TH.sortdesc A { background:url(images/desc.gif) right center no-repeat; }
/*Menu Bug for IE8*/
.AdjustZIndex { z-index: 1;}