/**************************************
 * THEME NAME: nygh
 *
 * Files included in this sheet:
 *
 *   nygh/fw_layout.css
 *   nygh/fw_color.css
 *   nygh/fw_fonts.css
 *   nygh/extra.css
 **************************************/

/***** nygh/fw_layout.css start *****/

/* Core */

body {
    margin: 5px;
}

h1.main,
h2.main,
h3.main,
h4.main,
h5.main,
h6.main {
  text-align: left;
  padding-left: 5px;
} 

h1, h2, h3, h4 {
  text-align: left;
}

h1 {
  padding: 6px;
}

h2 {
  padding: 4px;

}

h3 {
  padding: 3px;

}

#content {
clear:both;
}
  
h1, h2, h3 {
  border-width: 1px;
  border-style: solid; 
}

h4 {
  border-bottom-style: solid;
  border-bottom-width:1px; 
}

input, select {
  padding: 0px;
}
#layout-table #middle-column{
  vertical-align:top;
  padding-left:6px;
  padding-right:6px;
}
.sitetopic {
  padding:4px;
  margin: 0px;
}

.generaltable {
  border-width:0px; 
}

.generalbox {
  border-width:1px; 
  border-style:solid;  
}

.sitetopiccontent {
  border-width:1px;
  border-style:solid;
}

.clearfix { 
 min-width: 0; 
 /* overflow: hidden; */ 
}

.clearfix:after {
  /* content: "<!-- -->";  */
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/***
 *** Header
 ***/

#header-home {
  /* padding:1em 0.5em; */
  height:154px; /*100px;*/ /* jitsan: flash height */
  border-width:1px;
  border-style:solid;
}

#header {
  height:79px; /* 55px; */
  border-width:1px;
  border-style:solid;
}

.headermain, h1.headermain {
  float:left;
  margin:0%;
  padding:0%;
  border-width: 0px;
}

.headermenu {
  width: 99%; /* jitsan: added for element to be above flash */
  float:right;
  text-align:right;
  position: absolute; /* jitsan: added for element to be above flash */
  z-index:5; /* jitsan: added for element to be above flash */
}

.navbar {
  width:100%;
  padding:3px 0.5em;
  border-width:0px;     /* jitsan: changed from 1 to 0 */
  height:27px;     /* jitsan: added */
}

div.navbar {
  width: auto;
}

table.navbar {
  width: 100%;
}

.navbar .navbutton form {
  float: left;
}

.navbar .navbutton {
  margin-top: 3px;
}

.navbar .breadcrumb {
  float:left;
  margin:0.2em 0em;
}

.breadcrumb ul {
  padding:0%;
  margin:0%;
  text-indent:0%;
  list-style:none;
}
.breadcrumb li {
  display:inline;
}

.navbar .navbutton,
.navbar .menu {
  float:right;
}

#footer .navbar {
  margin-top: 4em;
}


/***
 *** Login
 ***/

TABLE.loginbox {
  margin-top: 40px;
}

.loginbox .header {
  border-width:1px;
  border-style:solid;
  border-bottom-width: 0px;
}

.loginbox .content {
  border-top-width: 1px;
}

/* jitsan: the following 2 styles are copied from styles in login block itself, strange that it has to be done this way */
.block_login .loginform .c1 input {
  width: 7em; /* jitsan: 7 changed from 5, to make box longer to fit students' number */
}

.block_login .loginform .c1 {
  margin:0.3em 0.8em;
  text-align:center;  /* jitsan: center changed from right, looks more pleasing */
  display:block;
}
/* jitsan: added styles from login block ends here */


/***
 *** Footer
 ***/
 
#footer {
  text-align:left;
  margin-top: 5px;
  margin-bottom: 0px;
}

 
#footer p.helplink {
 margin-bottom: 0px;
}


/***
 *** Blocks
 ***/
 
 .sideblock .header h2 {
  border-width: 0px;
 }
 
.sideblock .footer {
  border-top-width:1px;
  border-top-style:dashed;
}
  

/***
 *** Calendar
 ***/
 
#calendar .today,
.minicalendar .today {
  border:1px solid !important;
} 
 
 table.minicalendar {
  width: 100%;
  margin:10px auto;
  padding:2px;
  border-width:1px;
  border-style:solid;
  border-collapse:separate;
  border-spacing:1px !important;
}

table.minicalendar tr.weekdays th {
   border-style: none;
}

table.minicalendar tr td.day {
  border-style: solid;
  border-width: 1px;
}

table.minicalendar tr.weekdays th abbr {
  border-style: none;

  }

table.calendarmonth {
  border-collapse:separate;
  border-spacing:1px !important;
}

table.calendarmonth tr td  {
  border-style: solid;
  border-width: 1px;
}


/***
 *** Course
 ***/
 
.headingblock {
  border-width:1px;
  border-style:solid;
  padding:5px;
}


.categorybox .category,
.categorybox .category {
  border-bottom: solid;
  border-width: 1px;
  padding-top: 7px;
}

#course-view .section .left {
  border-right-width: 1px;
  border-right-style: dashed;
}

#course-view .section.hidden .content,
#course-view .section.hidden .side {
  border-width: 1px;
  border-style: dashed;
}


/***** nygh/fw_layout.css end *****/

/***** nygh/fw_color.css start *****/

/* Core */
body {
  background-color: #F2FBFF;
/*  background-image:url('bgplace.gif'); */
}
a:link {
    color: #A95544; /*005522*/
}
a:visited {
    color:#A95544; /*005522*/
}

a:hover {
    color: #B6175B;
}

a.dimmed:link,
a.dimmed:visited {
  color:#AAAAAA;
}

h1 {
  background-color: #C6BDA8;
  border-color: #333333;
  color: #333333;
}

h2 {
  background: none; /* #DF77AB */
  border: none; /* #C6BDA8 */
}
h3 {
  border-color:#C6BDA8;
}
h4 {
  border-color:#C6BDA8;
}


th {
    background-color:#E3DFD4; 
}

th.header,
td.header,
div.header {
  border-color:#DDDDDD;
  background-image:url(header.jpg);
  background-repeat:repeat-x;   /*jitsan: prevent double layer effect*/
  padding-top:6px;
  padding-bottom:6px;
  color:#333333;
  font-size:12px;
}

#layout-table #left-column {
    /* background-color: yellow; */
}

.generalbox {
  border-color:#C6BDA8;
  background-color:#FFFFFF;
}

.navbar {
  background-color:#C6BDA8;
  border-color:#666666;
  background: url(pix/grad/bg_bread.jpg) repeat-x;
}

.breadcrumb {
  color: #AAAAAA
}

.sitetopiccontent {
  border-color:#C6BDA8;
  background-color:#FFFFFF;
}

.generaltable {
  border-color:#5768de;
}
/* jitsan: added following 3 styles to make borders more visible than the default white */
.userinfobox {
  border-color:#5768de;
}

table {
  border-color:#5768de;
}

td {
  border-color:#5768de;
}

/***
 *** Header
 ***/

#header-home, #header {
  background-color: #FFFFFF; /*#6B77AB*/
  border-color:#FFFFFF; /*#C6BDA8*/
  border-bottom-color: #C6BDA8;
}

/***
 *** Login
 ***/


.loginbox .header {
  border-color:#C6BDA8;
}

.loginbox .content {
  border-color:#C6BDA8;
}


/***
 *** Blocks
 ***/
 
.sideblock .header {
color: #010111;  
border-color: #C2CBF1;
}

.sideblock {
  border-color:#C6BDA8;
}

.sideblock .content {
  border-color:#C6BDA8;
  background-color:#fdfecc;  /* #FEE9E6 */
}

.sideblock .footer {
  border-top-color:#C6BDA8;
}

.sideblock .header .hide-show img.hide-show-image {
  background: url('../../pix/t/switch_minus.gif') no-repeat bottom;
}

.sideblock.hidden .header .hide-show img.hide-show-image {
  background: url('../../pix/t/switch_plus.gif') no-repeat bottom;
}

.sideblock .content .post .head .date,
.sideblock .content .post .head .name {
  color: #000000;
  }

/***
 *** Calendar
***/
 
#calendar .maincalendar,
#calendar .sidecalendar {
  border-color: #C6BDA8;
}

#calendar .maincalendar table.calendarmonth th {
  border-color: #C6BDA8;
}


table.calendarmonth tr td {
   border-color:#C6BDA8;
} 

table.minicalendar {
  border-color:#C6BDA8;
}

table.minicalendar tr.weekdays th {
  background-color:#FEF9F6;
  border-color:#C6BDA8;
  }

table.minicalendar tr td.day {
   border-color:#C6BDA8;
  }
  
table.minicalendar tr td.weekend {
  border-color:#C6BDA8;
  color: red;
  }
  
#calendar .today,
.minicalendar .today {
  border-color:#000000 !important;
}
  
/* colors for calendar events */
#calendar .event_global,
.minicalendar .event_global,
.block_calendar_month .event_global {
  border-color:#2EBA0E !important;
  background-color:#2EBA0E;
}

#calendar .event_course,
.minicalendar .event_course,
.block_calendar_month .event_course {
  border-color:#FF9966 !important;
  background-color:#FF9966;
}

#calendar .event_group,
.minicalendar .event_group,
.block_calendar_month .event_group {
  border-color:#FBBB23 !important;
  background-color:#FBBB23;
}

#calendar .event_user,
.minicalendar .event_user,
.block_calendar_month .event_user {
  border-color:#A1BECB !important;
  background-color:#A1BECB;
}

.cal_popup_fg {
  background-color:#FEF9F6;
}

.cal_popup_bg {
  border-color:#C6BDA8;
  background-color:#FEF9F6;
}


/***
 *** Course
 ***/

.headingblock {
  border-color:#C6BDA8;
  color: #0033aa;     /* jitsan: added to control color of centre blocks titles */
}

.categoryboxcontent,
.courseboxcontent {
  border-color:#C6BDA8;
  background: #FFFFFF;
}

.categorybox .category,
.categorybox .category {
  border-color: #C6BDA8;
}

#course-view .section.main .content {
  border-color: #C6BDA8;
  background: none;
}

#course-view .section.main .side {
  border-color: #C6BDA8;
  background-color: #EFEFEF;
}

#course-view .current .right.side,
#course-view .current .left.side {
  background-color: #DDFDFF;
}

#course-view .section.hidden .content,
#course-view .section.hidden .side {
  border-color:#C6BDA8;
 }




/***
 *** Tabs
 ***/
/*
.tabs .side {
  border-color: #C6BDA8;
} */
/*
.tabrow0  li{
  background:url(pix/tab/left.gif) top left no-repeat;
  border-color: #C6BDA8;
}
.tabrow0 span {
  background:url(pix/tab/right_last.gif) top right no-repeat;
}
*/
/***
 *** Modules: Forum
 ***/

.forumheaderlist,
.forumpost {
  border-color:#C6BDA8;
}

.forumpost .content {
  background: #FEF9F6;
}

.forumpost .left {
  background:#FEF9F6; 
}

.forumpost .topic {
  border-bottom-color: #C6BDA8;
}

.forumpost .starter {
  background:#FEF9F6; 
}

.forumheaderlist .discussion .starter {
/*  background:#FEF9F6;  */
}

.forumheaderlist td {
  border-color: #C6BDA8;
}

.sideblock .post .head {
  color:#FEF9F6;
}

.forumthread .unread {
  background: #FEF9F6;
}
#mod-forum-discuss .forumpost {
  background: none;
}

#mod-forum-discuss .forumpost.unread .content {
  border-color: #C6BDA8; 
} 

#mod-forum-discuss .forumthread .unread {
} 

#mod-forum-index .unread {
}

.subject{
  color: red;
}  /* jitsan: added to make forum post subject line more prominent */

#adminsettings .form-shortname {
    color: #888;
}  /* jitsan: copied from standardlogo, for things like "numsections" on Front Page Settings page */
/* jitsan: all 4 styles below copied from standardlogo, for roles table page */
#admin-roles-override .capcurrent {
  background-color:#FFFFFF;
  border: 1px solid #cecece;
}

#admin-roles-manage .capdefault {
  background-color:#dddddd;
  border: 1px solid #cecece;
}

#admin-roles-manage .rolecap,
#admin-roles-override .rolecap {
  border:none;
  border-bottom:1px solid;
  border-bottom-color: #cecece;
}

#admin-roles-manage .rolecap .cap-desc .cap-name,
#admin-roles-override .rolecap .cap-desc .cap-name {
  color: #888;
}
/***** nygh/fw_color.css end *****/

/***** nygh/fw_fonts.css start *****/

/* Core */.clearer {  font-size:1px;}body, td, li {    font-family: Arial, Helvetica, sans-serif;    font-size : 13px;}th {  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;  font-size: 11px;  font-weight: bold;}a:link {    text-decoration: none;}a:visited {    text-decoration: none;}a:hover {    text-decoration: underline;}h1, h2, h3, h4 {    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;}h1 {    font-size:1.2em;    font-weight: bold;}h2 {    font-size:1.15em;}h3 {    font-size:1.1em;}h4 {    font-weight:bold;}th.header,td.header,div.header,.headingblock {    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;    font-weight: bold;    font-size: 0.9em;}.categorybox .category,.categorybox .category {/*  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; */    font-size: 1.2em;    font-weight: bold;}/*** *** Header ***/.breadcrumb {    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;    font-size:.85em;    font-weight:bold;}.logininfo,#header-home .headermenu font {     font-size:1.1em;}h2.headingblock {     font-size:1.5em;     font-weight:bold;} /*** *** Blocks ***/.sideblock .footer {    font-size:0.85em;    text-align: left;}/*** *** Calendar ***/#calendar .maincalendar table.calendarmonth td {  font-size:.8em;}#calendar .maincalendar .calendar-controls .current {  font-weight: bold;}#calendar .sidecalendar .filters {  font-size:0.75em  }table.minicalendar tr.weekdays th {  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;  font-size:0.7em;  font-weight:normal;  }table.minicalendar tr td.day {  font-size:0.7em;  }/*** *** Course ***/#course-view .section .left {  font-weight: bold;  font-size: 1.2em;}#course-view .section {  font-size:0.95em;  line-height:1.7em;} /* added by jitsan */.enrolmax {  font-size:.75em;} /* added by jitsan, font size of enrol limit info on course summary page */  /****** Front page course display //added by jit san***/.coursebox .info .name {  font-size: 1.2em;  font-weight: bold;}  /* added by jitsan, for course titles under "available courses" */.content .list .r0,.content .list .r1 {  font-size: .9em;  min-height: 2em;  text-align: left;} /* added by jitsan, for course categories block and admin block */  /****** Module: Forum //added by jit san***/.subject{  font-weight: bold;  font-size: 1.2em;}  /* jitsan: added to make forum post subject line more prominent */
/***** nygh/fw_fonts.css end *****/

/***** nygh/extra.css start *****/

body,td,tr,li {
  letter-spacing:0 !important;
}

body {
  padding:0px;
  margin:0px;
}
/* jitsan: removed this, don't need little space on top of front page
body#site-index {  
  padding-top: 15px;
}
*/

body#site-index .clearer {
  margin:0px;
  padding:0px;
  height:5px;
}


.page.content {
  margin-left:10px;
  margin-right:10px;
}

.sideblock .content {
  margin-left:0px !important;
  margin-right:0px !important;
}

.sitetopic {
  padding: 0px;
  margin: 0px;
}

.sitetopiccontent {
  padding: 0px;
  margin: 0px;
}

.topbar .headermain {
  padding-left: 2px;
  float: none !important;
}

.topbar .headermenu {
  float: none !important;
  text-align:right;
}
/*
.question {
  padding: 10px;
}
*/
.answer {
  padding-left: 40px;
}

.normaltext {
  margin-left: 30px;

}

.answercode {
  padding-left: 60px;
}

.questionlink {
  padding-left: 40px;
}

.examplecode {
	margin: auto;
	padding: 30px;
	height: auto;
	width: auto;
}

object {
  visibility: visible;
}
 
object.hiddenObject {
  visibility: hidden ! important;
  width: 0px ! important;
  height: 0px ! important;
  margin: 0px ! important;
  padding: 0px ! important;
  border-style: none ! important;
  border-width: 0px ! important;
  max-width: 0px ! important;
  max-height: 0px ! important;
}

.tabledivider {
  height: 10px;
  border-width: 1px;
  border-style: solid;
  -moz-border-radius: 10px;
}

#block_course_summary .sideblockmain {
  padding: 10px;
}

fieldset {
  margin-bottom: 20px;
  -moz-border-radius-bottomleft:20px;
  -moz-border-radius-bottomright:20px;
}

legend { 
  padding: 1px 10px;
}

.fronttext {
  margin-top:5px;
  margin-left:20px;
  margin-right:10px;
  margin-bottom:20px;
}

.fronttext img {
  margin-left: 10px;
}

.headerimage {
  padding-top: 5px;
  padding-left: 2px;
}


div.frontblock {
  margin-top: 12px;
  margin-bottom: 25px;
  -moz-border-radius-bottomleft: 20px;
  -moz-border-radius-bottomright: 20px;
}

h1.frontblock { 
  padding: 1px 10px;
  display: inline;
  position: relative;
  top: -0.5em;
  left: 8px;
}


p.fronttext.p1 {
  min-height: 90px;
}
p.fronttext.p2 {
  min-height: 90px;
}
p.fronttext.p3 {
  min-height: 125px;
}
p.fronttext.p4 {
  min-height: 105px;
}

p.g {margin-bottom: 0;}
td.j {width: 42em;}

.forumsearchform .helplink {
    display:inline;
}

#topbar {
  height: 100%;
}

.navbar {
  clear: both;
}

table.header_table {
  text-align:center;
  vertical-align:middle;
}
/*
#course-view .headingblock {
display:none;
}
*/
/***** nygh/extra.css end *****/

