/* CLEAR
------------------------------ */
html, body {
    width: 100%;
    height: 100%;
}

html, body, ul, ol, dl, li, dt, dd, p, blockquote, fieldset, legend, img, form, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

ul, ol, li, dl, dt, dd {
    list-style: none;
}

blockquote, fieldset, legend, img, form {
    border: 0;
}

th, address {
    font-style: normal;
    font-weight: normal;
}

.clear {
    clear: both;
}

/* general layout */
body {
    font: normal 62.5% / 1.5 Arial, Helvetica, Garuda, serif;
    color: #fff;
    text-align: center;
    background: #484848 url(../images/layout/bg.png) repeat-x 0 0;
}

a {
    color: #7e8871;
    text-decoration: none;
}

.front a {
    color: #ced5ac;
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 1em;
}

textarea, input {
    background: #fff;
    border: 1px solid #cecece;
    padding: .25em .2em .1em;
    line-height: 1;
}

textarea {
    font-family: Arial, Helvetica, Garuda, serif;
}

button {
    cursor: pointer;
    border: 0;
    font-size: 12px;
}

table {
    width: 100%;
    clear: both;
    margin: 0 0 1em;
}

table th, table td {
    padding: 2px 10px;
}

table th {
    font-weight: bold;
}

.hidden {
    display: none !important;
}

h1.logo {
    width: 246px;
    height: 43px;
    margin: 25px 0 15px 25px;
}

h1.logo a {
    text-indent: -1000em;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/identity/sunnystudio.png) no-repeat 0 0;
}

h2 {
    font-size: 1.5em;
    text-transform: uppercase;
    margin: 0 0 1em;
}

/* general */
#site {
    font-size: 1.2em;
    text-align: left;
    margin: 0 auto;
    width: 910px;
}

#header {
    clear: both;
    width: 100%;
    position: relative;
}

#body {
    clear: both;
    width: 100%;
    margin: 0 0 2em;
}

#sidebar {
    float: left;
    margin: 0 10px 0 0px;
    width: 215px;
}

#content {
    background: #e4e7e0;
    float: left;
    width: 655px;
    padding: 15px;
    color: #000;
}

.front #content {
    background: url(../images/layout/line-2px.png) repeat-x 0 0;
    width: 100%;
    padding: 15px 0;
    color: #fff;
}

#footer {
    clear: both;
    width: 96%;
    margin: 0 0 1em;
    background: url(../images/layout/bg-footer.png) repeat-x 0 0;
    padding: 1em 2% .75em;
    font-size: .917em;
    min-height: 1em;
}

#footer p {
    float: right;
    margin: 0;
}

#header .language {
    position: absolute;
    top: 10px;
    right: 0;
}

#header .language a {
    float: right;
    text-transform: uppercase;
    color: #484848;
    font-weight: bold;
}

/* keyvisual */
#keyvisual {
    border: 5px solid #f8f8f8;
    width: 900px;
    height: 240px;
    overflow: hidden;
    margin: 0 0 1em;
    position: relative;
}

#keyvisual img {
    display: block;
}

#keyvisual h2 {
    display: block;
    position: absolute;
    right: 0;
    bottom: 25px;
    margin: 0;
    padding: 10px 20px 10px 15px;
    color: #fff;
    font: normal 3em Arial Narrow, 'Myriad Pro Condensed', Helvetica, sans-serif;
    background: url(../images/layout/trans-black-40.png) repeat;
    max-width: 500px;
    text-align: right;
}

/* main navigation */
#main-nav {
    width: 100%;
    height: 41px;
    clear: both;
    margin: 0 0 1em;
    background: url(../images/layout/bg-nav.png) repeat-x 0 0;
}

#main-nav ul {
    float: left;
    width: 100%;
    background: url(../images/layout/bg-nav-dots.png) no-repeat 0 0;
}

#main-nav ul li {
    display: block;
    float: left;
}

#main-nav ul li a {
    font-family: 'Arial Black';
    display: block;
    float: left;
    color: #aaae9f;
    height: 18px;
    padding: 13px 19px 10px;
    text-transform: uppercase;
    text-decoration: none;
    background: url(../images/layout/bg-nav-line.png) no-repeat 0 100%;
}

#main-nav ul li.first a {
    background: none;
}

#main-nav ul li.active a {
    color: #fff;
}

#main-nav ul li a:hover {
    text-decoration: underline;
}

#main-nav ul li.active a:hover {
    text-decoration: none;
}

/* secondary navigation */
#sec-nav {
    padding: 10px;
    margin: 0 0 12px;
    width: 193px;
    border: 1px solid #7c7c7c;
    background: #212121 url(../images/layout/bg-pushbox.png) repeat-x 0 0;
}

#sec-nav ul {
    float: left;
    width: 193px;
    overflow: hidden;
}

#sec-nav ul li {
    width: 100%;
    float: left;
    clear: both;
    display: block;
}

#sec-nav ul li a {
    text-transform: uppercase;
    display: block;
    padding: 3px 0 2px;
    border-top: 1px solid #5c5c5c;
}

#sec-nav ul li ul {
    padding-left: 24px;
    width: auto;
}

#sec-nav ul li li a,
#sec-nav ul li.first a {
    border: 0;
}

#sec-nav ul li.active li.active a {
    font-weight: bold;
    color: #fff;
}

#sec-nav ul li.active li.active a:hover {
    text-decoration: none;
}

/* content from CMS */
.cms {
    margin: 0 0 1.5em;
}

.cms ul,
.cms ol {
    margin: 0 0 1em !important;
}

.cms ul {
    list-style: disc;
}

.cms ol {
    list-style: decimal;
}

.cms ul li {
    list-style: disc;
    margin: 0 0 0 2.5em !important;
    padding: 0 !important;
    display: list-item !important;
}

.cms ol li {
    list-style: decimal;
    margin: 0 0 0 1.8em !important;
    padding: 0 !important;
    display: list-item !important;
}

.cms img {
    clear: left;
    float: left;
    display: block;
    margin: .25em 2em 1em 0;
}

.cms table {
    width: 100%;
    clear: both;
}

.cms table thead th {
    text-transform: uppercase;
}

.cms table thead th,
.cms table tbody td {
    padding: 3px 10px 2px;
    font-size: .917em;
    vertical-align: top;
}

.cms table thead th.h,
.cms table tbody td.h {
    font-weight: bold;
    font-size: 1.2em;
}

.cms table thead th span,
.cms table thead th strong,
.cms table tbody td span,
.cms table tbody td strong {
    display: block;
    float: left;
    margin: 0 5px 0 0;
}

.cms table thead th .off,
.cms table tbody td .off {
    width: 15px;
    height: 15px;
    overflow: hidden;
    text-indent: -1000em;
    background: url(../images/icons/exclamation2.png) no-repeat 0 0;
}

.cms table .odd {
    background: #cbccc6;
}

.cms h1, .cms h2, .cms h3, .cms h4, .cms h5, .cms h6 {
    font-weight: bold;
    font-size: 1.4em;
    margin: 0 0 .5em;
}

.cms h4, .cms h5, .cms h6 {
    font-size: 1.2em;
}

/* tabs */
.tabs {
    clear: both;
    width: 100%;
    margin: 0 0 1em;
    border-bottom: 1px solid #464845;
}

.tabs li {
    border: 1px solid #464845;
    cursor: pointer;
    margin: 0 3px -1px 0;
    padding: 4px 20px;
    display: block;
    float: left;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    background: url(../images/layout/bg-tab.png) repeat-x 0 0;
}

.tabs li.active {
    border-bottom: 0;
    background: none;
    color: #21221d;
    border-bottom: 1px solid #E4E7E0;
}

/* front */
#front-block {
    background: #fff;
    padding: 4px;
    width: 902px;
    margin: 0 0 1em;
    position: relative;
}

#front-block .main {
    float: left;
    width: 902px;
    height: 331px;
    overflow: hidden;
}

#front-block .teasers {
    width: 230px;
    float: left;
    position: absolute;
    right: 4px;
    top: 4px;
}

#front-block .teasers li {
    width: 100%;
    float: left;
    margin: 0 0 1px;
}

#front-block .teasers li a {
    cursor: pointer;
    width: 200px;
    height: 72px;
    padding: 10px 10px 0 20px;
    display: block;
    float: left;
    background: url(../images/layout/bg-front-block.png) no-repeat 0 0;
}

#front-block .teasers li a strong {
    float: left;
    width: 130px;
    margin: 0 15px 0 0;
    font-size: .834em;
    text-transform: uppercase;
}

#front-block .teasers li a .photo {
    cursor: pointer;
    float: left;
    display: block;
    width: 50px;
    height: 50px;
    border: 1px solid #8c8c8c;
    overflow: hidden;
}

#front-block .teasers li a:hover {
    text-decoration: none;
    color: #fff;
    background: url(../images/layout/bg-front-block-hover.png) no-repeat 0 0;
}

#front-block .teasers li a:hover .photo {
    border-color: #fff;
}

#pushbox {
    margin: 0 0 1em 0px;
    width: 889px;
    padding: 10px;
    border: 1px solid #7c7c7c;
    background: #212121 url(../images/layout/bg-pushbox.png) repeat-x 0 0;
}

#pushbox ul {
    float: left;
    margin: 0 0 0 0px;
}

#pushbox ul li {
    float: left;
    margin: 0 0 0 10px;
}

#pushbox ul li a {
    display: block;
    border: 5px solid #fdfdfd;
}

#pushbox ul li a:hover {
    border-color: #9e9c9d;
}

#pushbox ul li a img {
    display: block;
}

#gallery li {
    float: left;
    padding: 5px 10px 0 0;
}

/* jQuery lightBox plugin | @author Leandro Vieira Pinho - http://leandrovieira.com | @version 0.5 | @date April 11, 2008 */
#jquery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 500px;
}

#jquery-lightbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    line-height: 0;
}

#jquery-lightbox a img {
    border: 0;
}

#lightbox-container-image-box {
    position: relative;
    background: #fff;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

#lightbox-container-image {
    padding: 10px;
}

#lightbox-loading {
    position: absolute;
    top: 40%;
    left: 0%;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}

#lightbox-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

#lightbox-container-image-box > #lightbox-nav {
    left: 0;
}

#lightbox-nav a {
    outline: none;
}

#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
    width: 49%;
    height: 100%;
    zoom: 1;
    display: block;
}

#lightbox-nav-btnPrev {
    left: 0;
    float: left;
}

#lightbox-nav-btnNext {
    right: 0;
    float: right;
}

#lightbox-container-image-data-box {
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
    overflow: auto;
    width: 100%;
    padding: 0 10px 0;
}

#lightbox-container-image-data {
    padding: 0 10px;
    color: #666;
}

#lightbox-container-image-data #lightbox-image-details {
    width: 70%;
    float: left;
    text-align: left;
}

#lightbox-image-details-caption {
    font-weight: bold;
}

#lightbox-image-details-currentNumber {
    display: block;
    clear: left;
    padding-bottom: 1em;
}

#lightbox-secNav-btnClose {
    width: 66px;
    float: right;
    padding-bottom: .7em;
}

/* news and quick links */
.news,
.quicklinks {
    float: left;
    width: 220px;
    margin: 0 0 0 20px;
}

.news h3,
.quicklinks h3 {
    text-transform: uppercase;
    margin: 0 0 .5em;
    font-size: 1.25em;
}

.quicklinks ul {
    border-bottom: 1px solid #636363;
}

.quicklinks ul li {
    float: left;
    width: 100%;
    border-bottom: 1px solid #636363;
}

.quicklinks ul li a {
    display: block;
    float: left;
    width: 100%;
    padding: 4px 0 5px;
}

.news .date,
.news .more,
.news .archive {
    display: block;
    float: left;
    width: 100%;
    clear: both;
    padding: 3px 0;
}

.news .date {
    font-size: .917em;
    border-bottom: 1px solid #646464;
    color: #929292;
    margin: 0 0 .5em;
}

.news .archive {
    border-top: 1px solid #646464;
    border-bottom: 1px solid #646464;
}

.news .cms {
    margin-bottom: 0;
    font-size: .917em;
}

.news .title {
    color: #ced5ac;
}

.enews {
    float: right;
}

.enews a img {
    padding-top: 20px;
}

.timetable {
    width: 420px;
    float: left;
    margin: 0 10px 0 0;
}

.timetable .tabs {
    border: 0;
    margin: 0;
}

.timetable .tabs li {
    border-color: #656565;
}

.timetable .tabs li.active {
    background: #484848;
    color: #fff;
    border-bottom: 0;
}

.timetable table td {
    color: #c9cf9f;
    border-bottom: 3px solid #484848;
}

.timetable table tfoot td {
    border: 1px solid #666;
    text-align: right;
}

.timetable table tbody .odd td {
    background: #666;
}

.timetable table span {
    display: block;
    float: left;
}

.timetable table .off {
    display: block;
    float: right;
    height: 15px;
    background: url(../images/icons/exclamation.png) no-repeat 0 0;
    padding: 0 0 0 20px;
}

/* product list */
.product-list {
    margin: 0 0 1.5em;
}

.product-list ul li {
    float: left;
    width: 100%;
    margin: 0 0 2em;
}

.product-list ul li .photo,
.product-list ul li .photo img {
    display: block;
    float: left;
}

.product-list ul li .photo {
    width: 200px;
    height: 100px;
    margin: 0 1em 0 0;
    border: 1px solid #8d8f8e;
}

.product-list ul li .photo:hover {
    border-color: #000;
}

.product-list ul li h3 {
    float: left;
    width: 440px;
    font-size: 1em;
    margin: 0 0 .25em;
}

.product-list ul li h3 a {
    color: #000;
    margin: 0;
    padding: 0;
}

.product-list ul li h3 a:hover {
    text-decoration: underline;
}

.product-list ul li .cms {
    float: left;
    width: 440px;
}

/* people list */
.people-list ul {
}

.people-list ul li {
    float: left;
    width: 48%;
    padding: 0 2% 0 0;
    height: 110px;
    margin: 0 0 1em;
}

.people-list ul li .photo,
.people-list ul li .photo img {
    display: block;
    float: left;
}

.people-list ul li .photo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 1px solid #8e908d;
    margin: 0 1em 0 0;
}

.people-list ul li h3 {
    font-size: 1em;
}

.people-list ul li em {
    margin: 0 0 .5em;
    font-style: normal;
}

.people-list ul li h3,
.people-list ul li em,
.people-list ul li .cms {
    float: left;
    width: 200px;
    display: block;
}

/* media archive */
.media-archive {
    margin: 0 0 2em;
}

.media-archive h3 {
    font: bold 1.25em Arial, Helvetica, Garuda, serif;
    margin: 0 0 1em;
}

.media-archive ul {
    width: 100%;
}

.media-archive ul li {
    float: left;
    width: 150px;
    margin: 0 33px 10px 0;
}

.media-archive ul li a {
    display: block;
    text-decoration: none;
    color: #4b4b4b;
}

.media-archive ul li a span {
    display: block;
    margin: 0 0 .5em;
}

.media-archive ul li a span img {
    display: block;
}

.media-archive ul li a:hover {
    text-decoration: underline;
}

/* emulating CSS3 property ".media-archive ul li:nth-child(4n+1) {}" */
.media-archive ul li.first {
    clear: left;
}

/* emulating CSS3 property ".media-archive ul li:nth-child(4n) {}" */
.media-archive ul li.last {
    margin-right: 0;
    float: right;
    clear: right;
}

/* See ie.css for IE media-archive. */
.media-archive .media-title {
    height: 45px;
}

/* FORMS
------------------------------ */
form.classic {
    width: 100%;
    margin: 0 0 1.5em;
}

form.classic ol {
    width: 100%;
}

form.classic ol li {
    float: left;
    width: 100%;
    margin: 0 0 .5em;
}

form.classic ol li li {
    float: none;
    width: auto;
    margin: 0;
    display: inline;
}

form.classic ol li ul,
form.classic ol li ol {
    display: inline;
    margin-left: 32%;
}

form.classic ol li input {
    float: left;
    width: 40%;
    line-height: 1.1;
    background: #fff url(../images/layout/bg-input.png) no-repeat 0 0;
    border-left-color: #666;
    border-top-color: #666;
}

form.classic ol li select {
    float: left;
    width: 41%;
}

form.classic ol li textarea {
    float: left;
    width: 60%;
    height: 8em;
    line-height: 1.5;
    font-size: 1em;
    background: url(../images/layout/bg-input.png) no-repeat 0 0;
    border-left-color: #666;
    border-top-color: #666;
}

form.classic ol li label {
    float: left;
    display: block;
    padding: .5em 0 0;
    margin: 0 1em 0 0;
    width: 30%;
}

form.classic ol li label span {
    color: #999;
    font-size: .917em;
    display: block;
}

form.classic ol li input[type="radio"] {
    width: 10px;
}

form.classic ol li label[type="radio"] {
    width: 20px;
}

form.classic ol li.check input,
form.classic ol li.radio input {
    margin: 7px 10px 0 0;
    background: none;
    padding: 0;
    border: 0;
    height: auto;
}

form.classic ol li.check label,
form.classic ol li.radio label {
    width: 10%;
}

form.classic ol li.check,
form.classic ol li.radio {
    padding-left: 31.5%;
    width: 68%;
}

form.classic ol li.error label {
    color: #f00;
    font-weight: bold;
}

form.classic ol li.error input,
form.classic ol li.error select,
form.classic ol li.error textarea {
    border-color: #f00;
    background: #f0d9da;
}

form.classic .buttons {
    padding: 1em 0;
}

form.classic .buttons .submit {
    cursor: pointer;
    display: block;
    font-weight: bold;
    margin-left: 32%;
    padding: .5em 1em .4em;
    border: 1px solid #ccc;
    border-left-color: #ddd;
    border-top-color: #ddd;
    border-bottom-color: #bbb;
    border-right-color: #bbb;
}

form.classic .buttons .submit:hover {
    background: #212121 url(../images/layout/bg-pushbox.png) repeat-x 0 0;
    color: #fff;
}

#timetable-content .first_column {
    width: 100px;
}

.gallery {
    margin: 20px 0 20px 0;
    float: left;
    clear: both;
    display: block
}

#gallery {
    width: 100%;
    margin: 25px 0;
}

#gallery li {
    float: left;
    background: none;
    padding: 0;
}

#gallery li#view {
    width: 550px;
    overflow: hidden;
    padding: 0;
}

#gallery li#view ul {
    width: 10000px;
}

#gallery li#view ul li {
    width: auto;
}

#gallery li#view ul li img {
    float: left;
}

#gallery li.back a, #gallery li.forward a {
    text-indent: -9999px;
    display: block;
    outline: none;
    float: left;
    margin: 18px 0 0 0;
    width: 25px;
    height: 60px;
    padding: 0;
}

#gallery li.forward {
    width: 24px;
    padding: 0 0 0 10px;
}

#gallery li.back {
    width: 24px;
    padding: 0 10px 0 0;
}

#gallery li.back a {
    background: url(../images/icons/back.gif) no-repeat 0 50%;
}

#gallery li.back a:hover {
    background-position: -1px 50%;
}

#gallery li.forward a {
    background: url(../images/icons/forward.gif) no-repeat 0 50%;
}

#gallery li.forward a:hover {
    background-position: 1px 50%;
}

#gallery #images li {
    padding: 0;
    margin: 0 10px 0 0;
}

#gallery #images li a {
    border: 1px solid #f2f2f2;
    float: left;
    display: block;
}

#gallery #images li a:hover {
    border: 1px solid #ddd;
}

/* HACKS
------------------------------ */
.tabs,
.product-list ul,
#body,
#footer,
#sec-nav,
#main-nav,
#pushbox,
#header,
#front-block {
    display: inline-block;
}

.tabs:after,
.product-list ul:after,
#body:after,
#footer:after,
#sec-nav:after,
#main-nav:after,
#pushbox:after,
#header:after,
#front-block:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}