/* @group Setup
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

/* @end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

/* @group Elements
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

a, a:link, a:visited {
    color: #4A77A1;
}

a:hover {
    color: #4A77A1;
}

/* mimic the cw-button-elegant class for all user-agent buttons */
input[type=submit],
input[type=reset],
input[type=button],
button {
    background-color: #F7F3EC;
    background-image: url("../images/CW-Gradient-Short.png");
    color: #333399;
}

/** active buttons **/
input[type=submit]:active,
input[type=reset]:active,
input[type=button]:active,
button:active {
    background-image: none;
    background-color: #E7E3DC;
}

/* @end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

/* @group Segments / Page Layout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

#cw-segment-header #cw-content-portalname {
   background-color: #C3B9A5;
   background-image: url("../images/header.jpg");
   background-repeat: no-repeat;
   background-position: right;
   background-size: auto;
}

#cw-segment-header #cw-content-mainnav {
    border-color: #FFFFFF;
    background-color: #9A9A9A;
}

#cw-segment-toolbox > div:first-child {
    background-color: #E7E3DC;
}

#cw-segment-body {
    border-color: #D7D4CF;
}

/* forum tables */
table.cw-content-forumtable > thead {
    background-image: url("../images/CW-Gradient-Short.png");
}

.cw-content-boundingbox {
    background-color: #E7E3DC;
    border-color: #D7D2C9;
}

#cw-segment-header form#cw-content-quicksearch > label {
    color: #FFFFFF;
    margin-bottom: 5px;
}

/* @end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

/* @group Search-Related
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.cw-search-infobar {
  border-color: #D7D2C9;
  background-color: #E7E3DC;
}

form#cw-content-quicksearch
{
  width: 171px;
  right: 11px !important;
}

input.cw-quicksearch-keywordsearch.cw-content-keywordsearch
{
  width: 140px;
}

#cw-segment-header form#cw-content-quicksearch > input[type="image"]
{
  float: right;
  top: 2px;
  margin-left: 2px;
}

/* @end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

/* @group Metadata Field Editor
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

table.cw-table-striped.cw-content-mfe > thead > tr:nth-child(odd),
table.cw-table-striped.cw-content-mfe > thead > tr:nth-child(even),
table.cw-table-striped.cw-content-mfe > thead > tr {
  background-color: #AAA;
}

/** duplicate above so that <= IE8 will use the styles **/
table.cw-table-striped.cw-content-mfe > thead > tr {
  background-color: #AAA;
}

table.cw-table-striped.cw-content-mfe > tfoot > tr {
    background-color: #AAA;
}

/** tabs **/
ul.cw-button-group.cw-content-mfetabs > li > *,
ul.cw-button-group.cw-content-mfetabs > li > a:link,
ul.cw-button-group.cw-content-mfetabs > li > a:hover,
ul.cw-button-group.cw-content-mfetabs > li > a:visited {
  background-color: #CCC;
  border-color: #AAA;
}

/** last tab **/
ul.cw-button-group.cw-content-mfetabs > li:last-child > *,
ul.cw-button-group.cw-content-mfetabs > li:last-child > a:link,
ul.cw-button-group.cw-content-mfetabs > li:last-child > a:hover,
ul.cw-button-group.cw-content-mfetabs > li:last-child > a:visited {
  border-color: #AAA;
}

/** active tab **/
ul.cw-button-group.cw-content-mfetabs > li > *:active,
ul.cw-button-group.cw-content-mfetabs > li > a:active,
ul.cw-button-group.cw-content-mfetabs > li > .cw-button-active,
ul.cw-button-group.cw-content-mfetabs > li > a.cw-button-active {
  background-color: #AAA;
}

/* @end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

/* @group Field Table
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.cw-fieldtable-groupseparator,
table.cw-table-striped.cw-table-padded > tbody > tr.cw-fieldtable-groupseparator > td {
  background-color: #D7D4CF;
}

table.cw-table-striped.cw-table-sideheaders.cw-table-dense > tbody.cw-fieldtable-group > tr:first-child > th {
  background-color: #D7D4CF;
}

/* @end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
