/* red: #ed2e38 */

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Eric Meyers Reset CSS rules */
html, body, div, span,
applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dd, dl, dt, li, ol, ul,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-family: Helvetica, Arial, Verdana, sans-serif;
color: #666;
}
/* sticky footer */
html, body {
height: 100%;
}
#wrapper {
position: relative;
background: url(../img/bg_header.gif) repeat-x 0 -25px;
width: 100%;
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -130px auto; /* the bottom margin is the negative value of the footer's height */
}
#footer {
width: 900px;
margin: 0 auto;
background: url(../img/bg_foot.jpg) no-repeat top left;
height: 150px;
}
#footer p {
color: #888;
font-size: 13px;
line-height: 20px;
margin-left: 158px;
padding-top: 20px;
}
#footer b {
color: #666;
}
/*#footer, .push {
	height: 130px; /* .push must be the same height as .footer */
}
/* end sticky footer */

#headerwrapper {
position: relative;
width: 100%;
margin: 0 auto;
}
#footerwrapper {
background: url(../img/bg_footer.gif) repeat-x;
width: 100%;
height: 150px;
margin: 0 auto;
z-index: 99999;
}
#header {
position: relative;
width: 900px;
height: 80px;
margin: 0 auto;
}
#header h1 {
position: absolute;
background: url(../img/logo.jpg) no-repeat;
height: 155px;
width: 160px;
text-indent: -9000px;
}
#header h2 {
position: absolute;
top: 66px;
height: 25px;
width: 680px;
left: 165px;
text-indent: -9000px;
background: url(../img/byline.gif) no-repeat;
z-index: 9999;
}
#work {
width: 918px;
margin: 0 auto;
height:400px;
min-height:400px;
}
#fragment-1, #fragment-2, #fragment-3, #fragment-4, #fragment-5  {
margin: 0;
padding: 10px 0;
background: transparent;
}
p {
font-size: 12px;
line-height: 16px;
}
p.gray {
color: #aaa;
}
p a, p a:link {
text-decoration: none;
background-color: #fff;
color: #ed2e38;
padding: 0 2px;
border: 1px solid #eee;
}
p a:hover {
background-color: #eee;
}
a:link img {
background: transparent;
padding: 0;
}
b {
color: #000;
}
/* ====================== tabs styles ====================*/

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-size: 14px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0 0 0 165px;
    padding: 0;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0;
	width: auto !important; /* hack for IE width */
    width: 10px;
    min-width: 64px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 25px; /* space between tabs */
    background: url(../img/tab.gif) no-repeat;
    color: #888;
}
.ui-tabs-nav a {
    margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    color: #ed2e38;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    color: #000;
}
.ui-tabs-nav a span {
    height: 23px; /* IE 6 treats height as min-height */
    min-height: 23px;
    padding-top: 50px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-bottom: 1px;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -225px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -75px;
    color: #000; /* colour of selected tab text */
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
    /*border-top: 1px solid #97a5b0;*/
    padding: 1em 8px;
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(lib/img/loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

/* ====================== carousel styles ====================*/

.jcarousel-skin .jcarousel-container {
    background: transparent;
    margin: 0;
}

.jcarousel-skin .jcarousel-container-horizontal {
    padding: 20px 0px 10px 9px;
}

.jcarousel-skin .jcarousel-clip-horizontal {
    width:  900px;
    height: 270px;
}

.jcarousel-skin .jcarousel-item {
    width: 284px;
    height: 270px;
    margin-right: 20px;
}
.jcarousel-skin .jcarousel-item-horizontal {
    margin-right: 20px;
}

.jcarousel-skin .jcarousel-item-placeholder {
}
.jcarousel-skin .jcarousel-item a {
padding-bottom: 9px;
background: url(../img/thumb_shadow.jpg) no-repeat bottom left;
}
.jcarousel-skin .jcarousel-item p a {
padding-bottom: 0;
background-image:none;
}
.jcarousel-skin .jcarousel-item p a:hover {
padding-bottom: 0;
background-color: #eee;
}
.jcarousel-skin .jcarousel-item a img {
/*border: 1px solid #444;*/
}
.jcarousel-skin .jcarousel-item a:hover img {
/*border: 1px solid #444;*/
background-position: 0 140px;
}
.jcarousel-skin h2 {
margin: 17px 0 5px 0;
font-size: 15px;
}
.jcarousel-skin h3 {
margin: 5px 0;
font-size: 13px;
}
.jcarousel-skin h2 span, .jcarousel-skin h3 span {
border-right: 1px solid #000;
margin-right: 5px;
padding-right: 5px;
color: #000;
}

/**
 *  Horizontal Buttons
 */
.jcarousel-skin .jcarousel-next-horizontal {
    position: absolute;
    z-index:1000;
    top: 20px;
    right: -16px;
    width: 20px;
    height: 140px;
    cursor: pointer;
    background: transparent url(../img/next-horizontal.gif) no-repeat 0 0;
}

.jcarousel-skin .jcarousel-next-horizontal:hover {
    background-position: -20px 0;
}

.jcarousel-skin .jcarousel-next-horizontal:active {
    background-position: -40px 0;
}

.jcarousel-skin .jcarousel-next-disabled-horizontal,
.jcarousel-skin .jcarousel-next-disabled-horizontal:hover,
.jcarousel-skin .jcarousel-next-disabled-horizontal:active {
    cursor: default;
    background-position: -60px 0;
}

.jcarousel-skin .jcarousel-prev-horizontal {
    z-index:1001;
    position: absolute;
    top: 20px;
    left: -24px;
    width: 20px;
    height: 140px;
    cursor: pointer;
    background: transparent url(../img/prev-horizontal.gif) no-repeat 0 0;
}

.jcarousel-skin .jcarousel-prev-horizontal:hover {
    background-position: -20px 0;
}

.jcarousel-skin .jcarousel-prev-horizontal:active {
    background-position: -40px 0;
}

.jcarousel-skin .jcarousel-prev-disabled-horizontal,
.jcarousel-skin .jcarousel-prev-disabled-horizontal:hover,
.jcarousel-skin .jcarousel-prev-disabled-horizontal:active {
    cursor: default;
    background-position: -60px 0;
}
