/*---------------------------------
 *         SITE TEXT COLORS:
 *
 * basic color - #00405d
 *
 *
 * links     :link -  #298fbe
 *           :visited-#42b3da
 *           :hover - #ff5f00
 *
 * headers   h1 - #fff
 *           h2 - #444
 *           h3 - #444
 *
 *
 * --------------------------------
 *
 * */



/* global classes */
.clearfix:after, .fline:after {clear: both;display: block;visibility:hidden;height:0;content: ".";}
.clearfix, .fline {display:inline-block;}
.aural{position:absolute;left:-2007px;font-size:0;}
    /******  site styles ******/
h1, h2, h3 {
    font-family:times,"Times New Roman",serif;
}
h1 {
    font-size:1em;
}
h2 {
    font-family:times,"Times New Roman",serif;
    font-size:3.5em;
    line-height:0.95em;
    margin:0.3em 0 0.4em;
    letter-spacing:-1px;
    color:#444;
}
h2:first-letter {
    color:#ff5f00;
}
h3 {
    font-size:1.6em;
    font-family:times,"Times New Roman",serif;
    color:#444;
}
h3:first-letter {
    color:#3192b3;
}
h4 {
    font-size:1.4em;
    font-family:times,"Times New Roman",serif;
    color:#444;
}

a:link {
    color:#298fbe;
}
a:visited {
    color:#42b3da;
}
a:hover {
    color:#ff5f00;
}

body {
    width:100%;
    background:#efebe8 url('../img/bg_left.png') repeat-x 0 0;
    font:normal 12px/1.45em Tahoma,Geneva,Kalimati,sans-serif;
    color:#666;
}

/* global floating */
#header,#wrapper {float:left;width:100%;}



/******** main ********/
#main {
    width:1000px;
    margin:0 auto;
}


/******** header ********/
#header {
    position:relative;
    height:429px;
    z-index:100;
    background:#efebe8 url('../img/bg_left.png') repeat-x 0 0;
}
#header-inner {
    float:left;
    width:100%;
    height:429px;
    background:url('../img/top.jpg') no-repeat 0 97px;
}

#header h1 {
    position:absolute;
    top:0;left:0;
    width:577px;
    padding:114px 0 0 16px;
    background:url('../img/top1.jpg') no-repeat 0 0;

}
/*
#main-menu {
    background:url('../img/menu_top_repeat.png') repeat-x 0 0;
}
#main-menu div {
}*/
#main-menu {
    position:absolute;
    right:0;top:36px;
    height:49px;
    padding:6px 0 0;
    background:url('../img/menu_top.png') no-repeat 100% 0;
}
#main-menu li, #main-menu li a {
    float:left;
}
#main-menu li {
    position:relative;
    height:46px;
    padding:0 2px 2px 0;
    border-top:1px solid #fbfaf8;
    background:transparent url('../img/menu_separator.png') no-repeat 100% 0;
}
#main-menu li.first-item {
    border-left:1px solid #fbfaf8;
}
#main-menu li a {
    position:relative;
    height:46px;
    color:#8d8c8b;
    line-height:46px;
    z-index:1000;
    text-indent:-10000px;
}
#main-menu li a, #main-menu li div {
    background-image:url('../img/menu2.png');
    background-repeat:no-repeat;
}
#main-menu li div {
    position:absolute;
    top:0; left:0;
    height:46px;
    z-index:1001;
    opacity:0;
    -moz-opacity:0;
    -khtml-opacity: 0;
}
#link1 a {
    width:122px;
    background-position:0 0;
}
#link2 a {
    width:73px;
    background-position:-107px 0;
}
#link3 a {
    width:131px;
    background-position:-310px 0;
}
#link4 a {
    width:85px;
    background-position:-166px 0;
}
#link5 a {
    width:83px;
    background-position:-238px 0;
}
#link1 div.focus {
    background-position:0 -46px;
}
#link2 div.focus {
    background-position:-107px -46px;
}
#link3 div.focus {
    background-position:-310px -46px;
}
#link4 div.focus {
    background-position:-166px -46px;
}
#link5 div.focus {
    background-position:-238px -46px;
}

#slider {
    position:absolute;
    top:156px; left:681px;
    width:293px;
    height:177px;
    overflow:hidden;
}
#slider span {
    position:absolute;
    display:block;
    top:0;left:0;
    width:293px;
    padding:150px 0 0 0;
    height:27px;
    font-size:1.2em;
    text-align:center;
    background:url('../img/slider_border2.png') no-repeat 0 0;
    z-index:200;
}
#slider span a {
    color:#f2feff;
}
#slider li {
    float:left;
}

/******** wrapper ********/
#wrapper h2 {
    position:relative;
    z-index:100;
    padding:0 0 0 25px;
}
#wrapper p {
    margin:1em 0;
    padding:0 0 0 25px;
}

/******** blocks ********/
#blocks {
    position:relative;
    width:100%; 
    float:left;
    background:url('../img/boxes_left_right.png') repeat-y 0 0;
    z-index:100;
}
#blocks div {
    width:100%;
    float:left;
    background:url('../img/boxes_top.png') no-repeat 0 0;
}
#blocks ul {
    width:968px;
    padding:3px 16px 18px 27px;
    float:left;
    background:url('../img/boxes_bottom.png') no-repeat 0 100%;
}
#blocks li {
    float:left;
    margin:0 11px 0 0;
    padding:10px 10px 20px 10px;
    width:288px;
}
#block-center {
    background:#e7e4e1 url('../img/boxes_center.jpg') repeat-x 0 100%;
    min-height:100px;
}
#blocks h3 {
    font-variant:small-caps;
}
#blocks p {
    color:#555;
    line-height:1.5em;
    font-size:1.1em;
}


#content p, #blocks p {
    padding:0;
}

/******** content ********/
#content {
    position:relative;
    float:left;
    width:950px;
    padding:0 25px;
}
#content.editor {
    background:#fff;
    width:auto;
    padding:4px 0;
}
#content #extra1 {
    display:none;
}
.main_page #content #extra1 {
    position:absolute;
    top:-159px;
    left:-99px;
    display:block;
    width:438px;
    height:410px;
    background:url('../img/bg.jpg') no-repeat 0 0;
    z-index:1;
}
#content .left, #content .right {
    position:relative;
    width:458px;
    text-align:justify;
    z-index:100;
}
#content .left {
    float:left;
}
#content .right {
    float:right;
}
#content p, #content ul, #content ol, #content dl {
    margin:1em 0;
    font-size:1.1em;
}
#content ul li {
    list-style:disc;
    margin:0 0 0 22px;
}
#content ol li {
    margin:0 0 0 32px;
}
#content h2 {
    margin:0.3em 0 0.5em;
}
#content h3, #content h4 {
    margin:1.2em 0 0.3em;
}
.main_page #content p:first-letter
/*,.oferta #content p:first-letter*/ {
    display:block;
    margin:6px 0 0 3px;
    font-size:4em;
    float:left;
    font-family:Candara, "Lucida Console", Georgia, serif;
}
#wrapper #content h2 {
    padding:0;
}
#extra2 {
    position:absolute;
    top:0;
    left:50%;
    width:50%;
    height:97px;
    background:url('../img/bg_right.png') repeat-x 0 0;
    z-index:1;
}
#content p strong {
    font-weight:400;
}

/*portfolio*/
#content p.pagination {
    margin:2em 0;
    padding:0 0 0 25px;
}
#content p.pagination a, #content p.pagination strong {
    border:1px solid #298fbe;
    padding:5px 9px;
}
#content .pagination strong.current {
    background:#298fbe;
    color:#fff;
    font-weight:700;
}
#content p.pagination a:hover {
    color:#ff5f00;
}
.project p img {
    border:3px solid #e0dbd7;
}
.project p img:hover {
    border-color:#b8e5f9;
}

.project {
    width:950px;
    padding:12px;
    border-bottom:1px solid #999;
}
#content .project p {
    float:left;
    margin:0;
}
#content .project dl, #content .project h3 {
    margin-left:270px; margin-top:3px;
}
.project dt {
    font-weight:700;
    float:left;
    width:120px;
    padding:4px 0;
}
.project dd {
    padding:4px 0;
    margin-left:130px;
}
/*contact*/
.fline {
    margin:0 0 10px;
}
input, textarea {
    float:left;
    outline:none;
    font:normal 1.1em Verdana, Tahoma, Arial, sans-serif;
    border:2px solid #c9c6c5;
    background:#fbf9f7;
}
input.required, textarea.required {
    border:2px solid #919090;
}
input.textbox, input.password, select {
    width:333px;
}
textarea {
    padding:4px 5px;
    width:333px;
}
input.textbox, input.password {
    height:1.45em;
    padding:4px 5px;
}
input.textbox:hover, input.textbox:focus,
input.password:hover, input.password:focus,
textarea:hover, textarea:focus {
    border:2px solid #70b4d3;
}
input.textbox:focus,
input.password:focus,
textarea:focus {
    border:2px solid #70b4d3;
    background:#fff;
}
label {
    display:block;
    float:left;
    width:100px;
    padding:0 10px 0 0;
    font-size:1.1em;
}
input.submit {
    margin:0 0 0 110px;
    padding:4px 8px;
    border:1px solid #dad8d7;
    color:#fafaf9;
    background:#bdbab8;
    font-weight:700;
}
input.submit:hover {
    border:1px solid #bdbab8;
    color:#dad8d7;
    background:#989695;
}
.error {
    color:#cc0000;
    text-align:right;
}
#content .msg_contact, #content .msg_contact_err {
    padding:5px 10px;
    border:1px solid #dad8d7;
    font-size:1.4em;
    line-height:1.3em;
    background:#fdfcfc;
}
#content .msg_contact_err {
    border-color:#c00;
}
.kontakt h4 {
    margin-bottom:0.3em;
    font-weight:700;
}
.kontakt #content dl {
    margin-top:0.1em;
}
.kontakt dt {
    font-weight:700;
    float:left;
    width:120px;
    padding:4px 0;
}
.kontakt dd {
    padding:4px 0;
    margin-left:130px;
}
#content .page404 {
    margin:0;
    font:italic 9em "Times New Roman";
    color:#ff5f00;
}
#content ol li {
    list-style:outside decimal;
    font-weight:700;
}
#content ol li h3, #content ol li p {
    font-weight:400;
}

/******** footer ********/
#footer {
    position:relative;
    width:100%;
    clear:both;
    height:80px;
    background:url('../img/footer.jpg') no-repeat 50% 0;
    z-index:100;
    font-size:0.91em;
}
#footer-inner {
    position:relative;
    width:1000px;
    margin:0 auto;
}


#copy, #footer ul {
    position:absolute;
    top:5px;
    line-height:21px;
}
#copy {
    left:92px;
    padding:0 30px 10px 0;
    background:url('../img/footer_detail1.png') no-repeat 100% 100%;
}
#copy, #copy a {
    color:#bdbab8;
}
#copy a:hover, #copy a:focus {
    color:#ff5f00;
}
#footer ul {
    right:25px;
    padding-left:71px;
    background:url('../img/footer_menu.png') no-repeat 0 50%;
}
#footer li {
    float:left;
    padding:0 0 0 16px;
    margin:0 0 0 15px;
}
#footer ul a {
    color:#ff5f00;
}
#footer ul a:hover, #footer ul a:focus {
    color:#298fbe;
}
#footer .item1 {
    padding-left:0;
}
#footer .item2 {
    background:url('../img/footer_item2.png') no-repeat 0 50%;
}
#footer .item3 {
    background:url('../img/footer_item3.png') no-repeat 0 50%;
}
#footer .item4 {
    background:url('../img/footer_item4.png') no-repeat 0 50%;
}
#footer .item5 {
    background:url('../img/footer_item5.png') no-repeat 0 50%;
}

