/* Start of CMSMS style sheet 'cfmodules' */
/* Module CSS Version 1, Revision 5, 28 April 2010 */
/*------------------------------------------------------------------------*/

.error {
    color: red;
    font-weight: bold;
}

.errorBlock {
    color: red;
    font-weight: bold;
    padding: 5px 10px 5px 50px;
    margin: 10px 0;
    background: #ffe7e7 url('/uploads/universal/images/error.png') no-repeat 10px 5px;
    border: 1px solid #f33;

    /* Min-Height Fast Hack */
    min-height: 32px;
    height: auto !important;
    height: 32px;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

/* custom javascript go back added to some modules */
.return {
    border-top: 1px solid #ccc;
    padding-top: 5px;
    margin: 10px 0;
}

/*------------------------------------------------------------------------*/
/* News and Blog style modules */

.blogSummary {
    /* container */
}

.blogDetail {
    /* container */
}

.blogSummary h2,
.blogDetail h2 {
    margin: 0;
}

.blogSummary h2 a {
    text-decoration: none;
    color: #000;
}

.blogSummary .date,
.blogDetail .date {
    font-style: italic;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.blogSummary .pagination {
    background: #ccc;
    padding: 5px 10px;
    margin: 10px 0;
}

.blogSummary .entry {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
    margin: 10px 0;
}

.blogSummary .post {
    overflow: hidden;
    width: 100%;
}

.blogDetail .post {
    overflow: hidden;
    width: 100%;
}

.blogSummary .more {
    margin: 10px 0 0;
}

.blogSummarySmall {
    /* container */
}

.blogSummarySmall h3 {
    font-size: 1.1em;
    font-weight: bold;
    color: black;
    margin: 0;
}

.blogSummarySmall .date {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.blogSummarySmall .more {
    margin: 10px 0 0;
}

/*------------------------------------------------------------------------*/
/* Form Builder */

.formbuilder {
}

.formbuilder fieldset {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.formbuilder legend {
    font-weight: bold;
    font-size: 1.2em;
    color: #000;
    border: 1px solid #ccc;
    padding: 5px 10px;
    background: #fff;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.formbuilder label {
    display: block;
    float: left;
    width: 140px;
    text-align: right;
    padding-right: 10px;
}

.formbuilder textarea {
    width: 300px;
    height: 150px;
}

.formbuilder .formSection {
    padding: 0.25em 0;
}

.formbuilder .formSection:hover {
    background: #DEECF6;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.formbuilder .captcha {
    margin: 10px 0;
}

.formbuilder .captcha img {
    display: block;
    margin-bottom: 5px;
}

.formbuilder .formSection input,
.formbuilder .formSection textarea,
.formbuilder .captcha input    {
    border: 1px solid #ccc;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.formbuilder .formSection input:focus,
.formbuilder .formSection textarea:focus,
.formbuilder .captcha input:focus {
    background: #ffffeb;
}

.formbuilder .formSection div {
    margin-left: 150px;
}

.formbuilder .formSection div input,
.formbuilder .formSection div label {
    float: none;
    display: inline;
}

.formbuilder .formSection div label {
    margin: 0;
    padding: 0;
    text-align: left;
    width: auto;
}

.formbuilder .nolabel  {
    padding-left: 150px;
    color: #666;
}

.formbuilder .nolabel label {
    display: inline;
    float: none;
    padding: 0;
    text-align: left;
    width: auto;
}

.formbuilder p {
    background: #f5ffee;
    padding: 10px;
}

/*------------------------------------------------------------------------*/
/* Self Registration, Frontend Users */

.feuForm {

}

.feuForm fieldset {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.feuForm legend {
    font-weight: bold;
    font-size: 1.2em;
    color: black;
    border: 1px solid #ccc;
    padding: 5px 10px;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.feuForm .feuLabel {
    display: block;
    float: left;
    width: 200px;
    text-align: right;
    padding-right: 10px;
}

.feuForm .feuField {
    padding: 0.25em 0;
}

.feuForm .feuField:hover {
    background: #dceff0;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.feuForm .feuInput input {
    width: 150px; /* explicitly set width because modules sets crazy widths on input fields */
}

.feuForm .captcha {
    margin: 10px 0;
}

.feuForm .captcha img {
    display: block;
    margin-bottom: 5px;
}

.feuForm .feuInput input,
.feuForm .feuInput textarea,
.feuForm .captcha input {
    border: 1px solid #ccc;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.feuForm .feuInput input:focus,
.feuForm .feuInput textarea:focus,
.feuForm .captcha input:focus {
    background: #ffffeb;
}

.feuForm .feuStaticBlock {
    padding: 5px 10px;
    background: #ddedd2;
    margin: 10px 0;
    border: 1px solid #9c9;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

/*------------------------------------------------------------------------*/
/* Forum Made Simple */

#forum .breadcrumbs {
    padding: 5px 0;
    font-weight: bold;
    border-bottom: 1px dashed #000;
}

#forum .breadcrumbs a {

}

#forum .forum_link {
    font-weight: bold;
}

#forum .forum_link img {
    margin-right: 10px;
}

#forum table.forum_pagetable {
    width: 100%;
    margin: 0;
    padding: 2px;
    border: 1px solid #000;
}

#forum table.forum_pagetable td,
#forum table.forum_pagetable th {
    padding: 5px 10px;
    border: 1px solid #fff;
}

#forum table.forum_pagetable th {
    background: #666;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

#forum table.forum_pagetable td.forum_alternate1 {
    background: #ccc;
}

#forum table.forum_pagetable td.forum_alternate2 {
    background: #eee;
}

.forum_icon,
.forum_count,
.forum_views {
    text-align: center;
}

#forum textarea {
    width: 80%;
}

/*------------------------------------------------------------------------*/
/* CGCalendar */

/* event list */

.calendar-list h2 {
    padding: 5px 10px;
    background: #ccc;
    margin-bottom: 0;
}

.cal-nav {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: #eee;
}

.cal-nav span.calendar-prev,
.cal-nav span.calendar-next {
    font-size: 1em !important;
    font-weight: bold;
}

.calendar-event {
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
    padding-bottom: 10px;
}

.calendar-event h2,
.calendar-event h3 {
    font-size: 1.5em;
    margin-bottom: 0;
    font-weight: bold;
}

.calendar-event .calendar-date-from {
    font-size: 1.2em;
    font-weight: bold;
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.calendar-event span.calendar-summary-title,
.calendar-event span.calendar-date-title,
.calendar-event span.calendar-details-title {
    display: none; /* unnecessary */
}

/* calendar grid */

table#cal-calendar caption {
    margin: 10px 0;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}

table#cal-calendar {
    width: 500px;
    margin: 0 auto 10px;
    padding: 0;
    border: 1px solid black;
    padding: 2px;
}

table#cal-calendar td,
table#cal-calendar th {
    padding: 5px 10px;
    border: 1px solid #fff;
}

table#cal-calendar ul,
table#cal-calendar li {
    margin: 0;
    padding: 0;
    list-style: none;
}

table#cal-calendar ul {
    padding-left: 5px;
}

table#cal-calendar th {
    background: #fff;
    font-weight: bold;
    text-align: center;
}

table#cal-calendar td {
    width: 14%; /* distribute cells into even boxes */
    background: #eee;
    height: 60px;
    vertical-align: top;
}

table#cal-calendar td:hover {
    background: #ffffcc;
}

table#cal-calendar td.calendar-day {
    background: green;
}

#cal-calendar .calendar-today {
    background: #ccc;
}

/*------------------------------------------------------------------------*/
/* Glossary (FAQ) */

.glossarynav {
    display: none;
}

.term {
    font-size: 14px;
    margin: 0.25em 0;
    padding: 3px 6px;
    border: 1px solid #90BCDF;
    background: #fff;

    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.term a {
    display: block;
    color: #1D76BD;
    font-weight: bold;
    text-decoration: none;
}

.term_selected {
    margin-bottom: 0;
    background: #1D76BD;
    font-weight: bold;
    border: 0;

    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
}

.term_selected a {
    text-decoration: none;
    color: #fff;
}

.definition_selected {
    margin-bottom: 0.25em;
    padding: 3px 6px;
    border: 1px solid #1D76BD;
    background: #fff;

    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
}

/*------------------------------------------------------------------------*/
/* Catalogue */

.catmainpic img {
    border: 1px solid #ccc;
    padding: 5px;
}

.catdescription {
    margin: 10px 0;
}

.category_items {
    /* wrap around floats */
    overflow: hidden;
    width: 100%;
}

.category_box {
    float: left;
    width: 140px;
    height: 160px;
    margin: 5px 15px;
}

.category_item {
    width: 140px;
    height: 140px;
    border: 1px solid #ccc;
}

.category_item a {
    display: block;
    width: 120px;
    height: 120px;
    margin: 10px;
}

.category_title {
    text-align: center;
    width: 142px;
    height: 30px;
    font-size: 12px;
    line-height: 15px;
    font-weight: bold;
}

.item_mainimage img {
    border: 1px solid #ccc;
    padding: 5px;
}

.item_thumbnails {
    /* wrap around floats */
    overflow: hidden;
    width: 100%;
}

.item_thumb {
    float: left;
    margin: 5px 5px;
    width: 120px;
    height: 120px;
    border: 1px solid #ccc;
}

.item_thumb a {
    display: block;
    width: 100px;
    height: 100px;
    margin: 10px;
}

.item_attribute_name {
    font-weight: bold;
}

.item_attribute_val {
    margin-bottom: 10px;
}

.hr1 {
    clear: both;
    border-top: 1px dotted black;
    margin: 10px 0;
}

/*------------------------------------------------------------------------*/
/* gallery */

#album ul,
#album ul li { margin: 0; padding: 0; list-style: none; display: block; }

#album {
    background: #fff;
    border: 1px solid #ddd;

    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
}

#album h2 {
    font-size: 1.2em;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    margin: 0;
    border-bottom: 1px solid #ddd;
    line-height: 23px;
    display: none;
}

#album .content { padding: 5px; clear: both; zoom: 1; }
#album .comment { padding: 5px; display: none; }

#album ul li { float: left; width: 130px; height: 130px; }
#album ul li a { display: block; border: 5px solid #eee; margin: 5px; }
#album ul li a:hover { border-color: #999; }

#album ul li a img { display: block; }
#album ul li .caption { width: 130px; height: 30px; overflow: hidden; text-align: center; font-size: 12px; line-height: 15px; display: none; }

#album .parentlink a {
    background: url('/uploads/universal/images/parentlink.png');
    text-indent: -999em;
    width: 30px;
    height: 23px;
    display: block;
    outline: none;
    float: right;
}

#album .pagelinks {
    margin-top: 10px;
    padding: 5px;
    background: #eee;
    border-top: 1px solid #ddd;
}

#album .pagelinks em,
#album .pagelinks a {
    display: block;
    float: left;
    margin-right: 3px;
    padding: 5px 10px;
    font-family: Georgia, "Times New Roman", sans;
    font-weight: bold;
    text-decoration: none;
    font-style: normal;
    color: white;
}

#album .pagelinks em {
    background: #1D76BD;
}

#album .pagelinks a {
    background: #666;
}

#album .pagelinks a:hover {
    background: #333;
}

/*------------------------------------------------------------------------*/
/* Send to a Friend */

#SendToFriend {
    width: 300px;
    overflow: hidden; /* hide scrollbars in ie */
}

#SendToFriend h2 {
    margin: 5px;
    padding: 3px 6px;
    background: #36c;
    color: #fff;
}

#SendToFriend form {
    margin: 0;
    padding: 5px;
}

#SendToFriend fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

#SendToFriend label {
    display: block;
}

#SendToFriend textarea,
#SendToFriend input.textinput {
    margin: 0 0 5px;
    padding: 0;
    border: 1px solid #ccc;
    background: #fff;
    width: 288px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

#SendToFriend input[type="text"]:focus,
#SendToFriend textarea:focus {
    background: #ffc;
    border-color: #999;
}

#SendToFriend .formError {
    color: red;
    background: #ffe7e7;
    margin: 5px;
    padding: 5px;
    font-weight: bold;
}

#SendToFriend p,
#SendToFriend ul {
    margin: 0 0 5px;
}

/* End of 'cfmodules' */

