html {
    height: 100%;
}

body {
    background: #333;
    color: #ccc;
    font-size: 13px;
    line-height: 20px;
    height: 100%;
    margin: 0;
}

#page {
    position: relative;
    min-height: 100%;
    margin-bottom: -42px;
    overflow: hidden;
}

* html #page {
    height: 100%;
}

#main {
    width: 960px;
    margin: 0 auto;
    margin-top: 24px;
    overflow: hidden;
    padding-bottom: 42px;
}

#logo {
    margin-left: 36px;
}

#nav {
    width: 112px;
    float: left;
    margin-top: 70px;
    text-align: right;
}

#nav a {
    display: block;
    margin-top: 4px;
}

#content {
    float: left;
    width: 800px;
    margin-left: 24px;
    padding-left: 24px;
    background: transparent url(../img/fade.gif) no-repeat scroll 0 12px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

body.admin #content,
body.flat #content {
    padding-top: 24px;
}

#footer {
    position: relative;
    height: 42px;
}

#footer .inner {
    width: 960px;
    height: 36px;
    margin: 0 auto;
    background: transparent url(../img/footer-fade.gif) no-repeat scroll center top;
    font-size: 11px;
    color: #555;
    text-align: center;
    padding-top: 6px;
}

#footer a {
    color: #393939;
}

a:link {color: #eee;}
a:visited {color: #eee;}
a:hover {color: #eee;}
a:active {color: #eee;}

#title {
    text-align: right;
}

/************************** Flat Cateogry Page Styles *************************/

.flat #content blockquote {
    font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
    font-size: 16px;
    margin-left: 1.5em;
    padding-left: 1em;
    border-left: 2px solid #999;
}

.flat #content cite {
    font-style: normal;
    margin-left: 180px;
    font-size: 16px;
    display: block;
    margin-bottom: 1.5em;
}

.flat #content cite .small {
    font-size: 11px;
    line-height: 14px;
    margin-left: 20px;
    display: block;
}

.flat #content {
    font-size: 14px;
    line-height: 24px;
}

/************************** Category Page Styles ******************************/

.entry {
    width: 250px;
    margin-right: 25px;
    float: left;
}

.entry-last {
    margin-right: 0;
}

.entry a {
    border: 4px solid #444;
    display: inline-block;
    line-height: 0;
}

.entry a:hover {
    border-color: #555;
}

/****************************** Entry Page Styles *****************************/

.page {
    width: 800px;
    float: left;
    margin: 0 24px;
}


.page div.wrap {
    overflow: hidden;
    display: block;
}

.page a {
    margin-right: 24px;
    display: inline-block;
    float: left;
    border: 4px solid #444;
    line-height: 0;
}

.page p a {
    margin: 0;
    display: block;
    float: none;
    border: 0;
    line-height: 1;
}

.page a:hover {
    border-color: #555;
}

.page a.last {
    margin-right: 0;
}

.page h2 {
    font-size: 14px;
    margin-top: 12px;
}

#viewport {
    width: 800px;
    height: 612px;
    overflow: hidden !important;
}

#pages {
    width: 100000px;
    height: 512px;
    position: absolute;
    left: 0;
}


#carousel-left, 
#carousel-right {
    position: absolute;
    height: 512px;
    top: 24px;
    width: 10%;
    display: block;
    cursor: pointer;
}

#carousel-left {
    left: 24px;
}
        
#carousel-right {
    right: 0;
}

#carousel-prev,
#carousel-next {
    background: transparent url(../img/fancybox/fancybox.png) no-repeat scroll 0 0;  
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    z-index: 2;  
}

#carousel-prev {
    left: 20px;
    background-position: -40px -30px;
}

#carousel-next {
    left: auto;
    right: 20px;
    background-position: -40px -60px;
}

#carousel-left:hover span#carousel-prev,
#carousel-right:hover span#carousel-next {
    display: block !important;
}



/******************************* Admin Styles *********************************/

body.admin ul.sortable {
    margin: 0;
}

body.admin ul.sortable ul,
body.admin ul.sortable ul ul,
body.admin ul.sortable ul ul ul {
    margin-top: 8px;
}

body.admin ul.sortable li {
    border: 1px solid #606060;
    overflow: hidden;
    list-style: none;
    padding: 8px;
    margin-top: 4px;
    background: #242424;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(48,48,48)), color-stop(0.8, rgb(24,24,24)),
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(48,48,48) 0%, rgb(24,24,24) 80%
    );
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
}

body.admin ul.sortable ul li {
    border: 1px solid #727272;
    background: #484848;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(60,60,60)), color-stop(0.8, rgb(36,36,36))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(60,60,60) 0%, rgb(36,36,36) 80%
    );
}


body.admin ul.sortable ul ul li {
    border: 1px solid #848484;
    background: #484848;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(72,72,72)), color-stop(0.8, rgb(48,48,48))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(72,72,72) 0%, rgb(48,48,48) 80%
    );
}

body.admin ul.images {
    overflow: hidden;
}

body.admin ul.images li {
    border: 1px solid #969696;
    float: left;
    background: #606060;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(84,84,84)), color-stop(0.8, rgb(60,60,60))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(84,84,84) 0%, rgb(60,60,60) 80%
    );
    margin: 0 2px;
}

body.admin ul.images li img {
    margin-right: 30px;
}

body.admin ul.sortable h1,
body.admin ul.sortable h2,
body.admin ul.sortable h3 {
    margin: 0 0 0 24px;
    display: block;
    line-height: 18px;
}

body.admin .label {
    color: #888;
    text-transform: uppercase;
    font-size: 0.75em;
}

body.admin ul.sortable h1 {
    font-size: 16px;
}

body.admin ul.sortable h2 {
    font-size: 14px;
}

body.admin ul.sortable h3 {
    font-size: 12px;
}

body.admin ul.sortable li .info {
    font-size: 11px;
    color: #888;
    margin: 8px 0 0 0;
    display: none;
}

body.admin span.handle {
    cursor: move;
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent url(../img/handle.png) no-repeat scroll 0 0;
}

body.admin span.handle:hover {
    background-image: url(../img/handle_over.png);
}

body.admin .drop {
    cursor: pointer;
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    background: transparent url(../img/right.png) no-repeat scroll 0 0;
    margin: 2px 8px 0 0;
}

body.admin .drop.active {
    background-image: url(../img/down.png);
}

body.admin ul.sortable ul {
    display: none;
}

body.admin a.button {
    display: inline-block;
    cursor: pointer;
    float: right;
    padding: 8px;
    font-size: 16px;
    background: #202020;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(48,48,48)),
        color-stop(0.8, rgb(20,20,20))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(48,48,48) 0%,
        rgb(20,20,20) 80%
    );
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #ccc;
    border: 1px solid #606060;
    margin-top: 4px;
}

body.admin ul.sortable .meta {
    display: none;
    position: absolute;
    top: 10px;
    right: 27px;
}

body.admin ul.sortable li:hover .meta {
    display: block;
}


body.admin ul.sortable a.button {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 16px;
    margin-right: 10px;
}

body.admin ul.sortable a.button .icon {
    margin-right: 2px !important;
}

body.admin a.button:hover {
    text-decoration: none;
}

body.admin ul a.button.add,
body.admin .button.add .icon {
    background: transparent url(../img/add.png) no-repeat scroll 0 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 8px;
}

body.admin ul a.button.delete,
body.admin .button.delete .icon {
    background: transparent url(../img/delete.png) no-repeat scroll 0 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 8px;
}

body.admin ul a.button.edit,
body.admin .button.edit .icon {
    background: transparent url(../img/edit.png) no-repeat scroll 0 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 8px;
}

body.admin .button.add .icon {
    background-position: 0 2px;
}

body.admin ul.help {
    clear: both;
    margin-top: 50px;
}


/******************************** Form Styles *********************************/
form .field {
    width: 100%;
    font-size: 14px;
    margin-top: 8px;
}

form h1 {
    margin-left: 80px;
    font-size: 16px;
    margin-bottom: 8px;
}

form .field label {
    width: 60px;
    display: inline-block;
    margin-right: 20px;
    text-align: right;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

form .field input,
form .field textarea,
form .field select {
    font-size: 12px;
    line-height: 14px;
    width: 480px;
    border: 1px solid #999;
    color: #555;
    padding: 2px;
    background: #eee;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

form .field .help {
    margin-left: 80px;
    font-size: 10px;
    color: #666;
}

form .field .help:hover {
    color: #ccc;
}

form .error input,
form .error textarea,
form .error select {
    border-color: #8B0000;
}

form  ul.errorlist {
    font-size: 12px;
    margin-left: 187px;
    color: #8B0000;
}

form ul.errorlist li {
    list-style: none;
    margin-top: 4px;
    margin-left: 0;
}

form .buttons {
    margin-top: 20px;
}

form .buttons .left {
    display: block;
    float: left;
    width: 60px;
    text-align: right;
    margin-right: 20px;
}
form .buttons .right {
    float: left;
    display: block;
    width: 380px;
}

form .buttons button {
    cursor: pointer;
}

form .buttons button.reset {
    background: transparent;
    border: none;
    padding: 5px 0;
    color: #ccc;
}

form .buttons button.reset:hover {
    color: #d12f19;
}

form .buttons button.submit {
    border: 1px solid #999;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 3px 8px;
    background: #202020;
    color: #ccc;
}

form .buttons button.submit:hover {
    background: #111;
    color: #fff;
    border-color: #eee;
}



/***************************** Fancybox Styles ********************************/

#fancybox-outer {
    background: #333;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

