* {
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* HTML Elements */
body {
    background-color: #f2f2f2;
    color: #666;
    font-family: 'Droid Sans',Tahoma,Arial,sans-serif;
    font-size: 13px;
    line-height: 1.6em;
}

a {
    color: #a54569;
    text-decoration: none;
}

a:hover {
    color: #333;
    text-decoration: none;
}

a img {
    border: none;
}

h1,h2,h3,h4 {
    clear: left;
    color: #5c5a5a;
    font-weight: 400;
    margin: 0.7em 0;
    font-family: 'Yanone Kaffeesatz';
}

h1 {
    font-size: 2.6em;
}

h2 {
    font-size: 2.4em;
}

h3 {
    font-size: 1.9em;
}

p,ul {
    margin: 0 0 20px 0;
}

i,em {
    font-style: italic;
}

b,strong {
    font-weight: 700;
}

/* Main wrappers */
#wrapper1240 {
    background-color: #fff;
    margin: 20px auto;
    width: 1240px;
}

#wrapper960 {
    background-color: #fff;
    margin: 35px auto;
    width: 960px;
}

#wrapper760 {
    background-color: #fff;
    margin: 20px auto;
    width: 760px;
}

#wrapper600 {
    background-color: #fff;
    margin: 0 auto;
    width: 600px;
}

#wrapperfluid {
    background-color: #fff;
    margin: 0 auto;
    max-width: 1260px;
}

/* Layout IDs */
#header {
    position: relative;
}

#sitetitle {
    float: left;
    margin: 30px 0 10px 30px;
}

#sitetitle h1 {
    font-size: 40px;
    color: #777;
    margin: 0;
    padding: 0;
}

#header-image {
    height: 300px;
    margin: 0;
    padding: 0;
}

#content {
    padding: 15px 30px;
    background-color: #fafafa;
}

#extended {
    padding: 15px 30px;
    background-color: #fff;
}

#extended a {
    text-decoration: underline;
}

/* Main Navigation Menu */
#nav {
    float: left;
    font-family: 'Droid Sans',Verdana,Tahoma,sans-serif;
    text-align: center;
}

#nav ul {
    list-style: none;
    margin: 30px 30px 30px 30px;
}

#nav ul li {
    background: none!important;
    display: inline-block;
    text-align: justify;
    height: auto;
    line-height: 0px;
    margin-bottom: 0px;
    margin-left: 40px;
    position: relative;
}

#nav ul li a {
    color: #797777;
    display: block;
    font-size: 12px;
    padding-top: 0;
    text-transform: uppercase;
}

#nav ul li a:hover {
    color: #111;
}

#nav ul li a.current {
    color: #000;
}

/* Columns */
#sidebar {
    width: 33.3%;
}

#main {
    width: 66.6%;
}

#trio1 {
    float: left;
    width: 33.3%;
}

#trio2 {
    float: left;
    width: 33.3%;
}

#trio3 {
    float: right;
    width: 33.3%;
}

.inner {
    margin: 5px 30px;
}

#trio1 .inner {
    margin-left: 0;
}

#trio2 .inner {
    margin: 0;
}

#trio3 .inner {
    margin-right: 0;
}

.left .inner {
    margin-left: 0;
}

.right .inner {
    margin-right: 0;
}

/* Footer */
#footer {
    clear: both;
    background-color: #fafafa;
}

#footer p {
    color: #777;
    font-size: 12px;
    margin: 0;
    padding: 15px 30px;
    text-align: center;
}

#footer a {
    color: #777;
}

#footer a:hover {
    color: #333;
}

#up {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
}

/* Image Alignment */
img.alignleft,img.aligncenter,img.alignright {
    background: #fff;
    padding: 4px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.alignleft {
    float: left;
    margin-right: 30px;
}

.alignright {
    float: right;
    margin-left: 30px;
}

.aligncenter {
    text-align: center;
    display: block;
    clear: both;
    margin: 5px auto;
}

/* Additional classes */
.shadow {
    background: url(images/shadow.png) top center no-repeat;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

/* Clearing Fix */
.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

* html .clearfix {
    height: 1%;
}

*:first-child+html .clearfix {
    min-height: 1%;
}

/* Alternate color scheme, add class="altcolors" to the body tag to apply */
.altcolors {
    background-color: #e6e8e8;
}

.altcolors #wrapper600, .altcolors #wrapper760, .altcolors #wrapper960, .altcolors #wrapper1240, .altcolors #wrapperfluid {
    box-shadow: 0px 0px 28px #888;
}

.altcolors #toplinks, .altcolors #footer {
    background-color: #eaecec;
}

.altcolors #content {
    background-color: #f2f4f4;
}

/* Fonts */
@font-face {
    font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Sans'), local('DroidSans'), url(fonts/droidsans.ttf) format('truetype');
}

@font-face {
    font-family: 'Yanone Kaffeesatz';
  font-style: normal;
  font-weight: 400;
  src: local('Yanone Kaffeesatz Regular'), local('YanoneKaffeesatz-Regular'), url(fonts/yanonekaffeesatz.ttf) format('truetype');
}


/* jQuery Nivo Slider */
.nivoSlider {
    position: relative;
    height:auto;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
}

.nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
}

/* modified the nivoSlider child img selector to be a fixed size to match my images */
.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto;
}

.nivo-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
}

.nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
}

.nivo-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #000;
    color: #fff;
    opacity: 0.8;
    width: 100%;
    z-index: 8;
}

.nivo-caption p {
    padding: 5px;
    margin: 0;
}

.nivo-caption a {
    display: inline!important;
}

.nivo-html-caption {
    display: none;
}

.nivo-directionNav a {
    position: absolute;
    top: 45%;
    z-index: 9;
    cursor: pointer;
}

.nivo-prevNav {
    left: 0;
}

.nivo-nextNav {
    right: 0;
}

.nivo-controlNav a {
    position: relative;
    z-index: 9;
    cursor: pointer;
}

.nivo-controlNav a.active {
    font-weight: 700;
}

/* Skin Name: Nivo Slider Default Theme (modified) */
.slider-wrapper .nivoSlider {
    position: relative;
    height: 300px;
    background: #fafafa url(images/loading.gif) no-repeat 50% 50%;
    margin-bottom: 55px;
}

.slider-wrapper .nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.slider-wrapper .nivoSlider a {
    border: 0;
    display: block;
}

.slider-wrapper .nivo-controlNav {
    position: relative;
    left: 25%;
    bottom: 37px;
    margin-left: 0px;
/* Tweak this to center bullets */
    ;
}

.slider-wrapper .nivo-controlNav a {
    display: block;
    width: 22px;
    height: 22px;
    background: url(images/bullets.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    margin-right: 3px;
    float: left;
}

.slider-wrapper .nivo-controlNav a.active {
    background-position: 0 -22px;
}

.slider-wrapper .nivo-directionNav a {
    display: block;
    width: 30px;
    height: 30px;
    background: url(images/arrows.png) no-repeat;
    text-indent: -9999px;
    border: 0;
}

.slider-wrapper a.nivo-nextNav {
    background-position: -30px 0;
    right: 15px;
}

.slider-wrapper a.nivo-prevNav {
    left: 15px;
}

.slider-wrapper .nivo-caption {
    position: absolute;
    left: 0px;
    bottom: 0px;
    color: #fff;
    width: 100%;
    z-index: 8;
    padding: 5px 10px;
    opacity: 0.8;
    overflow: hidden;
    display: none;
    -moz-opacity: 0.8;
    filter: alpha(opacity=8);
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    font-family: 'Droid Sans',Helvetica,Arial,sans-serif;
    background: rgba(0, 0, 0, 0.2);
    text-align: left;
    text-shadow: 0 0 4px #111;
}

.slider-wrapper .nivo-caption a {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

.slider-wrapper .nivo-caption a:hover {
    color: #fff;
}
