/*   
    
    CONTENTS ----------
    
    1. BODY
    2. NAVIGATION
    3. CONTENT
    4. FOOTER
       
    -------------------
    
*/



@import url(reset.css); /* RESET CSS */


/* 1. BODY
---------------------------------------------------------------------- */

html, body {
    height: 100%;
}

em {
    font-style: italic;
}

html {
    background: url(../img/bg.jpg) 0 0 repeat;
}

body {
    font-family: Arial, Helvetica,sans-serif; 
}

.wrap {
    margin: 0 auto;
    color: #000;
    width: 1010px;
    padding: 150px 0 20px 70px;
    position: relative;
}

.clear {
    clear: both;
}

/* 2. NAVIGATION
---------------------------------------------------------------------- */

/* languages */

ul.lang {
    position: absolute;
    right: 78px;
    top: 0;
    font-size: 16px;
}

ul.lang li {
    float: left;
    margin-left: 4px;
}

ul.lang li a {
    display: inline-block;
    width: 40px;
    text-align: center;
    line-height: 52px;
}

ul.lang li a:hover,
ul.lang li.active a {
    border-top: 10px solid #619e35;
    background: #8cc22d;
    line-height: 32px;
}

ul.lang a {
    color: #fff;
    text-decoration: none;
}

/* main navigation */

ul.main_nav {
    position: absolute;
    top: 97px;
    left: 345px;
    font-size: 18px;
    overflow: hidden;
    z-index: 2;
}

ul.main_nav li {
    float: left;
    margin-right: 4px;
}

ul.main_nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0 18px;
    height: 47px;
    line-height: 47px;
}

ul.main_nav li a:hover,
ul.main_nav li.active a {
    border-bottom: 6px solid #619e35;
    background: #8cc22d;
}


/* 3. CONTENT
---------------------------------------------------------------------- */

.content_wrap {
    background: #fff;
    position: relative;
    margin-bottom: 20px;
    width: 940px;
}

.aside_left {
    width: 243px;
    min-height: 409px;
    background-repeat: no-repeat;
    background-position: 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

h1 {
    position: absolute;
    top: -130px;
    left: -70px;
}

h1 a {
    width: 304px;
    height: 238px;
    background: url(../img/logo.png) 0 0 no-repeat;
    display: block;
    text-indent: -9999px;
}

.aside_right {
    width: 227px;
    min-height: 408px;
    background: url(../img/aside_right.png) 0 bottom no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
}

.aside_right_foreground {
    position: absolute;
    background: url(../img/aside_right_foreground.png) 0 0 no-repeat;
    width: 509px;
    height: 461px;
    bottom: -40px;
    right: -143px;
}

.main_content {
    width: 460px;
    min-height: 349px;
    background: #fff;
    margin: 0 0 0 243px;
    padding: 30px 5px 30px 5px;
}

h3, h4 {
    color: #8cc22d;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

h4 {
    font-size: 18px;
}

b {
    font-weight: bold;
}

.main_content p {
    font-size: 12px;
    line-height: 14px;
}

.main_content p + h4 {
    margin-top: 25px;
}

/* contacts */

.content_wrap_contacts {
    min-height: 660px;
}

.contacts_aside {
    line-height: 20px;
    font-size: 12px;
    margin: 419px 20px 20px 20px;
}

.contacts_aside a,
ul.partners a {
    color: #8cc22c;
}

.contacts_aside a:hover,
ul.partners a:hover {
    text-decoration: none;
}

ul.partners {
    overflow: hidden;
    font-size: 12px;
    line-height: 18px;
}

ul.partners li {
    float: left;
    overflow: hidden;
    width: 500px;
    height: 125px;
    margin: 0 70px 25px 0;
}

.partner_logo {
    border: 1px solid #ccc;
    padding: 4px;
    float: left;
    background: url(../img/partner_logo_bg.png) 4px 4px no-repeat;
}

.partner_logo div {
    width: 200px;
    height: 78px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.partner_info {
    float: left;
    margin-left: 10px;
}

.partner_country {
    clear: left;
    font-weight: bold;
    padding-top: 10px;
    background-repeat: no-repeat;
    background-position: 0 9px;
    padding-left: 35px;
}

.country_lv {
    background-image: url(../img/flag_lv.png);
}
.country_lt {
    background-image: url(../img/flag_lt.png);
}
.country_ee {
    background-image: url(../img/flag_ee.png);
}
.country_ru {
    background-image: url(../img/flag_ru.png);
}


/* 4. FOOTER
---------------------------------------------------------------------- */

footer {
    height: 32px;
    background: url(../img/footer_icons.png) 0 0 no-repeat;
    font-size: 12px;
    color: #fff;
    padding: 10px 0 0 260px;
    clear: left;
}