/* 
    Document   : screen.css
    Description: layout of presentation
    Created on : 2.8.2010
    Author     : Vaclav Pavek | www.vpavek.org
*/

/*** GLOBAL SETTINGS ***/
body {
    font-family: Tahoma, 'Lucida Grande CE', lucida, sans-serif;
    font-size: 0.8em;
    line-height: 150%;
    background: transparent url('header_background.jpg') left top repeat-x;
}

html, body {
    min-height: 100%;
}

* {
    border: 0px;
    padding: 0px;
    margin: 0px;
}

div.cleaner {
    clear: both;
    width: 100%;
    height: 1px;
    line-height: 1px;
    font-size: 1px;
    margin: 0px;
    padding: 0px;
}

.visibility {
    visibility: hidden;
}

.hidden {
    display: none;
}

h1, h2, h3 {
    color: white;
}

h1 {
    font-size: 2.5em;
    font-weight: bold;
    line-height: 140%;
}

h1, #front-box {
    margin-bottom: 30px;
}

h2 {
    margin: 25px 0 10px;
    line-height: 120%;
}

h3 {
    margin-top: 10px;
}

p, ul {
    margin-bottom: 10px;
}

a {
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}

.front-box div.container a, .front-box div.container, #container a {
    color: #333333;
}

div.title a, #footer, #footer a {
    color: #666666;
}

table {
    width: 100%;
    margin-bottom: 10px;
    border-collapse: collapse;
}

th, tr, td {
    padding: 5px;
    border: 1px solid white;
}

th {
    background-color: white;
}

th.price {
    width: 65px;
}

form {
    margin-top: 10px;
}

input, textarea {
    padding: 5px;
}

label {
    padding-top: 5px;
}

label.error {
    font-size: 90%;
    color: red;
}

form h2 {
    margin-top: 50px;
}

form li {
    list-style: none;
}

form li input {
    margin-right: 10px;
}

form li span {
    position: relative;
    top: -2px;
}

form em {
    font-weight: bold;
    color: red;
    padding-left: 5px;
}

/*** LAYOUT ***/
#layout {
    width: 950px;
    margin: 0 auto;
    padding: 0 10px;
    background: transparent url('people.png') right top no-repeat;
    min-height: 500px;
}

/** header **/
#header {
    height: 210px;
}

a#firm-name {
    position: relative;
    bottom: -33px;
    display: block;
    width: 357px;
    height: 177px;
    text-decoration: none;
    background: transparent url('logo.jpg') center center no-repeat;
}

/** body **/
#body {
    position: relative;
    padding-left:210px;
    overflow: hidden;
    margin-top: 8px;
    padding-top: 20px;
    background-color: #FECE2C;
}

#body .column {
    float: left;
    position: relative;
    margin-bottom: -1000em;
    padding-bottom: 1001em;
}

/* main column */
#main-column {
    width: 715px;
    padding: 0 10px 0 15px;
}

#container {
    padding: 3px 8px 0;
}

div.content ul {
    margin-left: 35px;
}

a.photo {
    float: left;
    display: block;
    width: 154px;
    height: 154px;
    padding: 1px;
    margin: 8px; 
    border: 1px solid white;
    text-align: center;
    text-decoration: none;
}

a.photo span {
    display: block;
    padding-top: 8px;
}

div.teacher {
    margin-bottom: 10px;
}

.teacher .end {
    font-weight: bold;
}

.teacher img {
    margin-left: 30px;
}

/* forms */
div.left-input {
    float: left;
    width: 320px;
    min-height: 230px;
}

div.left-input label {
    float: left;
    width: 90px;
}

div.left-input label.error {
    clear: both;
    width: 200px;
    margin-left: 90px;
    margin-bottom: 10px;
}

div.left-input input {
    width: 200px;
}

div.right-input {
    margin-left: 320px;
    padding-top: 5px;
}

div.right-input textarea {
    width: 370px;
    height: 87px;
    margin-top: 13px;
}

div.form-item {
    margin-bottom: 10px
}

div.time-option {
    width: 290px;
}

div.time-option textarea {
    width: 290px;
}

#check {
    margin: 5px 0 10px;
}

#submit {
    float: right;
    background-color: white;
    cursor: pointer;
}

#message_status {
    border: 1px solid white;
    padding: 15px;
    margin: 50px;
}

/* home page */
div.front-box {
    float: left;
    width: 233px;
}

div.middle {
    margin: 0 8px;
}

div.title {
    width: 225px;
    line-height: 35px;
    padding-left: 8px;
    background: transparent url('box.png') top center no-repeat;
}

div.title a {
    padding-left: 28px;
    background: transparent url('jazykove_kurzy_icon.jpg') center left no-repeat;
}

div.title a.firm-course {
    background-image: url('firemni_kurzy_icon.jpg');
}

div.title a.translate {
    background-image: url('preklady_tlumoceni_icon.jpg');
}

.front-box div.container {
    padding-top: 10px;
    margin: 8px 0;
    background: transparent url('box_background.jpg') top center no-repeat;
}

div.description {
    padding: 0 10px;
    background-color: #ffdd6c;
}

div.description a {
    display: block;
    text-align: right;
}

p.front-box {
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 125px;
    height: 85px;
}

p.lang-course {
    background-image: url('lang-course.jpg');
}

p.firm-course {
    background-image: url('firm-course.jpg');
}

p.translate {
    background-image: url('translate.jpg');
}

div.bottom {
    height: 10px;
    background: #ffdd6c url('box_background.jpg') bottom center no-repeat;
}

/* left column */
#left-column {
    margin-left: -100%;
    left: -210px;
    width: 210px;
}

#menu li {
    margin-bottom: 1px;
    list-style: none;
}

#menu li a {
    display: block;
    width: 180px;
    line-height: 35px;
    padding-left: 30px;
    color: black;
    text-decoration: none;
    background: transparent url('menu_background.png') right top no-repeat;
}

#menu li a.active, #menu li a:hover {
    background-position: right bottom;
}

/** footer **/
#footer {
    padding: 40px 0;
    background: transparent url('footer_background.jpg') top center no-repeat;
}

#footer a {
    font-weight: normal;
}

#contact, #course {
    float: left;
    padding-top: 60px;
}

#contact {
    width: 250px;
    background: transparent url('contact.png') top left no-repeat;
}

#course {
    width: 700px;
    background: transparent url('zebra.jpg') bottom left no-repeat;
}

#course ul {
    float: right;
}

#course li {
    float: left;
    list-style: none;
    padding: 0 10px;
    border-right: 1px solid #666666;
}

#course a {
    text-decoration: none;
}

#course a:hover {
    text-decoration: underline;
}

