/*
 * Layout
 *
 * @author:    IF MEDIA
 * @email:     admin@ifmedia.eu
 * @website:   http://www.ifmedia.eu/
 * @version:   $Id: layout.css 69 2009-02-26 13:21:24Z Silver Zachara $
 */

/* Layout
 -----------------------------------------------------------------------------*/
body {
    color: #000000;
    font-size: 11px;
    font-family: "Trebuchet MS", verdana, sans-serif;
    background: #EDEDED url(images/bg.png) repeat left top fixed;
}

/* Main wrapper */
#wrapper {
    position: relative;
    width: 583px;
    margin: 0px auto;
}

/* Wrapper for primary and secondary content */
#outer {
    padding-top: 254px; /* make place for header */
}

/* Main content */
#primaryContent {
    float: left;
    margin-left: 203px;
}

#primaryContent #primaryContent-header {
    width: 380px;
    background: url(images/primaryContent-header-right.png) no-repeat right top !important;
    background: url(images/primaryContent-header-right.gif) no-repeat right top;
}

#primaryContent #primaryContent-header h1 {
    color: #fff;
    height: 33px;
    width: 298px;
    line-height: 31px;
    padding: 0px 0px 0px 20px;
    background: url(images/primaryContent-header-left.png) no-repeat left top !important;
    background: url(images/primaryContent-header-left.gif) no-repeat left top;
}

#primaryContent #content {
    width: 376px;
    margin: 18px 0px 0px 3px;
    background: url(images/content-right-top.png) no-repeat right top !important;
    background: url(images/content-right-top.gif) no-repeat right top;
}

#primaryContent #content .content-outer {
    width: 369px;
    height: 7px;
    background: url(images/content-left-top.png) no-repeat left top !important;
    background: url(images/content-left-top.gif) no-repeat left top;
}

#primaryContent #content .content-inner {
    width: 376px;
    background: url(images/content-right-bottom.png) no-repeat right bottom !important;
    background: url(images/content-right-bottom.gif) no-repeat right bottom;
}

#primaryContent #content .content-inner .content-inner-inner {
    width: 353px;
    padding: 0px 4px 18px 12px;
    background: url(images/content-left-bottom.png) no-repeat left bottom !important;
    background: url(images/content-left-bottom.gif) no-repeat left bottom;
}

/* Secondary content(boxes with rounded corners) */
#secondaryContent {
    float: left;
    margin-left: -583px;
}

#secondaryContent .box {
    margin: 4px 0px 12px 0px;
}

#secondaryContent .box .box-header {
    width: 191px;
    background: url(images/box1-header-right.png) no-repeat right top !important;
    background: url(images/box1-header-right.gif) no-repeat right top;
}

#secondaryContent .box .box-header .box-header-inner {
    width: 143px;
    height: 28px;
    background: url(images/box1-header-left.png) no-repeat left top !important;
    background: url(images/box1-header-left.gif) no-repeat left top;
    overflow: hidden;
}

#secondaryContent .box .box-header-inner span {
    color: #4374ba;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 26px;
    padding-left: 14px;
    overflow: hidden;
}

#secondaryContent .box .box-content {
    width: 188px;
    margin: 3px 0px 0px 1px;
    background: url(images/box1-content-right-top.png) no-repeat right top !important;
    background: url(images/box1-content-right-top.gif) no-repeat right top;
}

#secondaryContent .box .box-content .box-content-outer {
    width: 181px;
    height: 4px;
    background: url(images/box1-content-left-top.png) no-repeat left top !important;
    background: url(images/box1-content-left-top.gif) no-repeat left top;
}

#secondaryContent .box .box-content .box-content-inner {
    width: 188px;
    background: url(images/box1-content-right-bottom.png) no-repeat right bottom !important;
    background: url(images/box1-content-right-bottom.gif) no-repeat right bottom;
}

#secondaryContent .box .box-content .box-content-inner .box-content-inner-inner {
    width: 167px;
    padding: 5px 4px 10px 10px;
    background: url(images/box1-content-left-bottom.png) no-repeat left bottom !important;
    background: url(images/box1-content-left-bottom.gif) no-repeat left bottom;
}

#secondaryContent #secondNav {
}

/* Site's footer */
#footer {
    position: relative;
    float: left;
    width: 582px;
    height: 72px;
    margin: 20px 0px 60px 0px;
    background: url(images/footer-right-top.png) no-repeat right top !important;
    background: url(images/footer-right-top.gif) no-repeat right top;
}

#footer .footerEffect {
    position: absolute;
    top: 26px;
    left: -14px;
    width: 611px;
    height: 45px;
    background: url(images/footer-effect.png) no-repeat left bottom;
    z-index: 0;
}

#footer .footerLinks {
    position: absolute;
    color: #5c5c5c;
    bottom: -6px;
    right: 0px;
}

/* Site's header */
#header {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 583px;
    background: url(images/header-right-top.png) no-repeat right top !important;
    background: url(images/header-right-top.gif) no-repeat right top;
}

#header .header-inner {
    width: 574px;
    height: 179px;
    background: url(images/header-left-top.png) no-repeat left top !important;
    background: url(images/header-left-top.gif) no-repeat left top;
}

/* Header's logos */
#header img.logo-main {
    width: 560px;
    height: 149px;
    margin: 21px 0px 0px 11px;
}

#header img.logo-1 {
    position: absolute;
    top: 55px;
    left: -13px;
    width: 137px;
    height: 63px;
}

#header img.logo-2 {
    position: absolute;
    top: 115px;
    left: 232px;
    width: 321px;
    height: 40px;
}

/* Header - change css */
#header #header-css {
    position: absolute;
    top: 0px;
    left: 1px;
    width: 580px;
    height: 28px;
}

#header #header-css #header-css-outer {
    width: 580px;
    height: 16px;
    background: url(images/header-css-right-top.png) no-repeat right top !important;
    background: url(images/header-css-right-top.gif) no-repeat right top;
}

#header #header-css #header-css-outer .header-css-inner {
    height: 15px;
    width: 571px;
    background: url(images/header-css-left-top.png) no-repeat left top !important;
    background: url(images/header-css-left-top.gif) no-repeat left top;
}

#header #header-css a {
    float: right;
    height: 8px;
    width: 8px;
    margin: 3px 4px 0px 0px;
}

#header #header-css a.orange {
    margin-right: 9px;
    background-color: #faa319;
}

#header #header-css a.red {
    background-color: #f15d5c;
}

#header #header-css a.blue-water {
    background-color: #4374ba;
}

#header #header-css a.green {
    background-color: #bcd530;
}

/* Main navigation(Main menu) */
#mainNav {
    position: absolute;
    left: 2px;
    top: 194px;
    width: 579px;
    background: url(images/mainNav-right-top.png) no-repeat right top !important;
    background: url(images/mainNav-right-top.gif) no-repeat right top;
    z-index: 10;
}

#mainNav .mainNav-inner {
    height: 25px;
    width: 559px;
    padding: 0px 0px 0px 11px;
    background: url(images/mainNav-left-top.png) no-repeat left top !important;
    background: url(images/mainNav-left-top.gif) no-repeat left top;
}

/* Classes for clearing floats
 -----------------------------------------------------------------------------*/
.clear:after {
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    clear: both;
    visibility: hidden;
}

/* Only IE5 for Mac \*/ /*/
.clear {
    display: inline-block;
}
/* End of hack */

/* Hide before IE5 for MAC \*/
/* Only for IE7 */
* + html .clear {
    height: 1%;
}
/* End of hack */

.clearfix {
    clear: both;
}

