HTML, BODY { height: 100%; }
UL { margin: 0; padding: 0; list-style: none; }

/*  Boxes  */

#box01 { width: 960px; margin: auto; }
#box02 { padding: 35px; }
#box04{ padding: 35px; border-top: 1px solid #b5d6cc; }
#box03, #box05 { width: 886px; }

/*  Header  */

#header { margin: auto; height: 125px; padding: 0 34px; position: relative; }
#header #logo { margin: 30px 0 0 0; float: left; }

#header #attributes { float: right; }

#search { margin-top: 8px; width: 130px; float: left; }
#search * { float: left; }
#search INPUT { float: left; color: #2a2a2a; }
#search INPUT.string { padding: 4px 10px 5px 10px; margin: 0; border: none; background: url(search_bg.gif) no-repeat; width: 90px; color: #000; }

/*  Langselect  */

DIV.langselect { margin: 26px 0 0 0; padding: 0; float: left; }
DIV.langselect #lang_sel_list UL {  border-top: none; height: auto; left: auto;  top: auto; width: auto; }
DIV.langselect #lang_sel_list * { float: left; }
DIV.langselect #lang_sel_list UL LI { list-style: none; float: leftt; position: relative; width: auto; background: url(dot01.gif) 100% 8px no-repeat; padding: 0 4px 0 0; }
DIV.langselect #lang_sel_list UL LI.last { background: none; }
DIV.langselect #lang_sel_list UL LI A {text-decoration: none; padding: 0 8px 0 4px; }

DIV.langselect #lang_sel_list { position: relative; width: auto; z-index: 99; height: auto; }
DIV.langselect #lang_sel_list ul li a { display: block; height: auto; text-decoration: none; width: auto; color: #717171; }
DIV.langselect #lang_sel_list ul li a SPAN { padding: 0; }
DIV.langselect #lang_sel_list ul li a.lang_sel_sel { color: #005838; }
DIV.langselect #lang_sel_list ul li a:hover { color: #747474; }
DIV.langselect #lang_sel_list ul li.first a.lang_sel_sel { }

DIV.langselect #lang_sel_list a, #lang_sel_list a:visited {  background: none; border-color: none; border-style: none; border-width: 0 1px 1px; color: #444; display: block; font-size: 12px; line-height: 18px; padding-left: 0; text-decoration: none !important; padding: 0; }

/*  Menus  */

#menu01 { padding: 0; margin: 0; overflow: visible; position: absolute; bottom: 22px; left: 290px; font-size: 15px; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; overflow: hidden; white-space: nowrap; }
#menu01 * { float: left; }
#menu01 LI { margin: 0 22px 0 0; }
#menu01 LI:last-child { margin: 0; }
#menu01 A { color: #000; text-decoration: none; }

#menu01 LI.current-menu-item A { color: #005838; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; text-decoration: underline; }
#menu01 LI.current-menu-ancestor A { color: #005838; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; text-decoration: underline; }
#menu01 A:hover { text-decoration: underline; }

#menu02 { margin: 0; padding: 0; font-size: 13px; }
#menu02 * { float: left; }
#menu02 LI { float: left; width: 100%; clear: both; margin: 0 0 14px 0; }
#menu02 A { color: #005838; cursor: pointer; background: url(dot02.gif) 0 4px no-repeat; padding: 0 0 0 14px; width: 100%; }
#menu02 A:hover { color: #000; }
#menu02 LI.current-menu-item A { background: url(dot03.gif) 0 4px no-repeat; color: #000; font-weight:bold; text-decoration:underline; }
#menu02 LI.current-menu-ancestor A { background: url(dot03.gif) 0 4px no-repeat; color: #000; }

#menu02 UL.sub-menu { margin: 0; padding: 0; float: left; clear: both; width: 100%; }
#menu02 UL.sub-menu LI { padding: 1px 0 0 0; margin: 6px 0 0 0; background: none; }
#menu02 UL.sub-menu LI A { color: #717171; background: none; padding: 0 0 0 32px; }
#menu02 UL.sub-menu LI A:hover { color: #000; }
#menu02 UL.sub-menu LI.current-menu-item A { color: #000; background: none; }

#menu02 UL { display: none; }
#menu02 LI.current-menu-item UL { display: block; }
#menu02 LI.current-menu-ancestor UL { display: block; }

/* Banner */

#banner { position: relative; }
#front-banner { height: 291px; position: relative; display: block; background: url(bg04-ver3.jpg) no-repeat; position: relative; padding: 0 0 0 55px; }
#front-banner H1 { font-size: 21px; margin: 50px 0 0 0; color: #000; background: none; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; line-height: 25px !important; }
#front-banner H1 A { border-bottom: solid 1px #edc00b; }
#front-banner H1 A:hover { border-bottom: none; text-decoration: none; }

#front-banner .investor-box { margin: 30px 0 0 0; }
#front-banner .investor-box .title { background: url(dot06.gif) 0 6px no-repeat; padding: 0 0 4px 25px; font-size: 19px; border-bottom: solid 1px #689e8e; line-height: 25px; color: #fff; margin: 0; font-family: 'PTSansBold', Arial, Helvetica, sans-serif; }
#front-banner .investor-box .updated { padding: 4px 0 0 0; font-size: 14px; border-top: solid 1px #689e8e; line-height: 15px; color: #fff; margin: 0; text-align: center; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; }

#front-banner .investor-box .live-data { padding: 4px 0; }
#front-banner .investor-box .live-data P { margin: 0; }

#front-banner .investor-box .latest { line-height: 25px; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; font-size: 16px; color: #fff; float: left; }
#front-banner .investor-box .latest .value { font-family: 'PTSansBold', Arial, Helvetica, sans-serif; font-size: 22px; } 
#front-banner .investor-box .latest .currency { font-family: 'PTSansBold', Arial, Helvetica, sans-serif; font-size: 16px; }

#front-banner .investor-box .latest-data { line-height: 25px; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; font-size: 16px; color: #fff; float: right; }
#front-banner .investor-box .latest-data SPAN { font-family: 'PTSansBold', Arial, Helvetica, sans-serif; font-size: 22px; color: #edc00b; padding: 0 20px 0 0; } 
#front-banner .investor-box .up SPAN { background: url(dot07.gif) 100% 9px no-repeat; }
#front-banner .investor-box .down SPAN { background: url(dot09.gif) 100% 9px no-repeat; }

#front-banner .investor-box .relations { font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; font-size: 16px; color: #fff; text-align: center; }
#front-banner .investor-box .relations A { border-bottom: #fff solid 1px; color: #edc00b; }
#front-banner .investor-box .relations A:hover { border-bottom: #fff solid 1px; color: #fff; text-decoration: none; }

#sub-banner { height: 131px; position: relative; display: block; background: url(bg05.jpg) no-repeat; position: relative; padding: 0 55px 0 0; }

#sub-banner .investor-box { margin: 10px 0 0 0; float: right; width: 172px; }
#sub-banner .investor-box .title { background: url(dot06.gif) 0 6px no-repeat; padding: 0 0 4px 25px; font-size: 19px; border-bottom: solid 1px #689e8e; line-height: 25px; color: #fff; margin: 0; font-family: 'PTSansBold', Arial, Helvetica, sans-serif; }
#sub-banner .investor-box .updated { padding: 4px 0 0 0; font-size: 14px; border-top: solid 1px #689e8e; line-height: 15px; color: #fff; margin: 0; text-align: center; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; }

#sub-banner .investor-box .live-data { padding: 4px 0; }
#sub-banner .investor-box .live-data P { margin: 0; }

#sub-banner .investor-box .latest { line-height: 25px; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; font-size: 16px; color: #fff; float: left; }
#sub-banner .investor-box .latest .value { font-family: 'PTSansBold', Arial, Helvetica, sans-serif; font-size: 22px; } 
#sub-banner .investor-box .latest .currency { font-family: 'PTSansBold', Arial, Helvetica, sans-serif; font-size: 16px; } 

#sub-banner .investor-box .latest-data { line-height: 25px; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; font-size: 16px; color: #fff; float: right; }
#sub-banner .investor-box .latest-data SPAN { font-family: 'PTSansBold', Arial, Helvetica, sans-serif; font-size: 22px; color: #edc00b; padding: 0 20px 0 0; }
#sub-banner .investor-box .up SPAN { background: url(dot07.gif) 100% 9px no-repeat; }
#sub-banner .investor-box .down SPAN { background: url(dot10.gif) 100% 9px no-repeat; }

#sub-banner .investor-box .relations { font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; font-size: 16px; color: #fff; text-align: center; }
#sub-banner .investor-box .relations A { border-bottom: #fff solid 1px; color: #edc00b; }
#sub-banner .investor-box .relations A:hover { border-bottom: #fff solid 1px; color: #fff; text-decoration: none; }

#banner-pops { position: absolute; right: 0; top: 0; height: 291px; width: 280px; }
#banner-pops .a { position: relative; }
#banner-pops UL {  }
#banner-pops UL LI { position: absolute; }
#banner-pops UL LI.estonia { left: 12px; top: 109px; width: 20px; height: 16px; }
#banner-pops UL LI.stpeterburg { left: 40px; top: 100px; width: 18px; height: 15px; }
#banner-pops UL LI.penza { left: 162px; top: 107px; width: 37px; height: 42px; }
#banner-pops UL LI.samara { left: 218px; top: 66px; width: 44px; height: 50px; }
#banner-pops UL LI.kharkov { left: 105px; top: 182px; width: 37px; height: 42px; }
#banner-pops UL LI.kirovograd { left: 102px; top: 228px; width: 23px; height: 19px; }
#banner-pops UL LI.nikolaev { left: 92px; top: 250px; width: 23px; height: 19px; }
#banner-pops UL LI.rostov { left: 176px; top: 193px; width: 23px; height: 19px; }

/*  Columns */

.col { float: left; min-height: 1px; }
.col01 { width: 240px; margin: 0 10px 0 0; }
.col02 { width: 636px; }
.col03 { width: 266px; margin: 0 43px 0 0; }
.col04 { width: 300px; margin: 0 40px 0 0; }
.col05 { width: 170px; }

/* Front feeds */

DIV.front-feeds {  }
DIV.front-feeds H2 { font-size: 21px; margin: 0; color: #000; background: url(bg03.gif) 0 100% repeat-x; font-family: 'PTSansRegular', Arial, Helvetica, sans-serif; }
DIV.front-feeds H2 SPAN { background: url(dot04.gif) 0 5px #fff no-repeat; padding: 0 8px 5px 25px; }
#box04 .front-feeds H2 SPAN { background: url(dot04.gif) 0 5px #fff no-repeat; }
DIV.front-feeds P { margin: 0; }
DIV.front-feeds UL { line-height: 16px; }
DIV.front-feeds LI { margin: 10px 0 0 0; }
DIV.front-feeds SPAN.date { font-weight: bold; }

DIV.front-feeds .business-intro { font-size: 15px; line-height: 16px; color: #000; margin: 15px 0 0 0; font-weight: bold; }
DIV.front-feeds .business-intro A { border-bottom: solid 1px #edc00b; }
DIV.front-feeds .business-intro A:hover { border-bottom: none; text-decoration: none; }

DIV.front-feeds .business-list {  }
DIV.front-feeds .business-list { line-height: 20px; }
DIV.front-feeds .business-list LI { background: url(dot05.gif) 0 6px no-repeat; padding: 0 0 0 15px; margin: 1em 0 0 0; }

/*  Footer  */

#footer { text-align: left; color: #000; height: 74px; font-size: 13px; border-top:1px solid #b5d6cc; }
#footer .a { padding: 20px 34px 0 34px; }
#footer P { margin: 0; float: left; }
#footer UL.footer-stocks { margin: 0; float: right; }
#footer UL.footer-stocks LI { float: left; padding: 0 0 0 16px; margin: 0 0 0 10px; background: url(dot08.gif) 0 6px no-repeat; }
#footer UL.footer-stocks LI:first-child { background: none; }
#footer UL.footer-stocks LI SPAN.unit { color: #005838; }
#footer .footermenu_wrap, #footer #footermenu.menu {float:left; }
#footer #footermenu.menu li {float:left; padding-left:5px; }

/* Blog */

DIV.blog H1 { float: left; margin: 0 10px 0 0; }
DIV.blog H2 { float: left; margin: 0 10px 0 0; }
DIV.blog P.date { margin: 6px 0 0 0; float: left; color: #939393; font-size: 10px; }
DIV.blog DIV.item { margin: 0 0 20px 0; }
DIV.blog P.back { margin: 0; padding: 0 0 5px 0; }

DIV.sidebar-info { background: url(http://www.trigonagri.com/wp-content/themes/Trigon/img/bg17.png) 50% 100% no-repeat; padding: 0 0 45px 0; }

DIV.blog .category-liikmed { display: none; }
DIV.blog .category-koostoo { display: none; }
DIV.blog .category-arhiiv { display: none; }

UL.left-list-arch .category-liikmed { display: none; }
UL.left-list-arch .category-koostoo { display: none; }
UL.left-list-arch .category-arhiiv { display: none; }
 
/* Contact */

DIV.contact { margin: 100px 0 0 0; text-align: center; }
DIV.contact_a { margin: auto; width: 360px; text-align: center; text-align: center; }

/* Memebers list */

UL.memebers { margin: 20px 0 0 0; }
UL.memebers LI { margin: 0 0 30px 0; padding: 0; }
UL.memebers LI .img { width: 102px; margin: 0 15px 0 0; }
UL.memebers LI .txt { width: 250px; }
UL.memebers LI H3 { margin: 15px 0 0 0; }

/* Memebers list */

UL.friends { margin: 1em 0 0 0; }
UL.friends LI { margin: 0 0 30px 0; padding: 0; }
UL.friends LI .img { width: 142px; margin: 0 18px 0 0; }
UL.friends LI .txt { width: 250px; }
UL.friends LI H3 { margin: 15px 0 0 0; }
UL.friends LI H3 A { color: #7c272a; }

/* Sidebar banners */

.sidebar-banners { margin: 25px 0 0 0; }
.sidebar-banners LI { margin: 0 0 30px 0; width: 100%; }

/* Gallery */

.slideshowlink { display: none; }

.ngg-galleryoverview { margin: 25px 0 0 0; }

.ngg-albumoverview { overflow: hidden; width: 552px; margin: 25px 0 0 0; }

.ngg-albumoverview-a { overflow: hidden; width: 600px; }
.ngg-albumoverview .ngg-album { width: 249px; margin: 0 25px 20px 0; float: left; }
.ngg-albumoverview .ngg-album IMG { border: solid 1px #b2b2b2; }

.ngg-albumoverview H4 { font-size: 16px; margin: 5px 0 0 0; height: 40px; overflow: hidden; }

.ngg-gallery-thumbnail { float: left; margin: 0 8px 8px 0; text-align: center; }
.ngg-gallery-thumbnail img { background-color: #FFFFFF; border: 1px solid #b2b2b2; display: block; margin: 0; padding: 0; position: relative; }
.ngg-gallery-thumbnail img:hover { border-color: #878787; }

/* Left list */

UL.left-list { line-height: 20px; margin: 25px 0 0 0; }
UL.left-list LI { clear: both; width: 100%; float: left; }
UL.left-list LI A { color: #7c272a; background: url(dot01.gif) 0 4px no-repeat; padding: 0 0 0 12px; }
UL.left-list LI.current_page_parent A { background: url(dot02.gif) 0 4px no-repeat; }
UL.left-list LI.current_page_item A { background: url(dot01.gif) 0 4px no-repeat; }
UL.left-list UL {  }
UL.left-list UL LI { padding: 0 0 0 25px; background: none; }

DIV.arch-year { margin: 10px 0 0 0; clear: both; float: left; }
UL.left-list-arch { line-height: 20px; margin: 10px 0 0 0; padding: 0 0 0 15px; clear: both; float: left;  }
UL.left-list-arch LI { clear: both; width: 100%; float: left; }
UL.left-list-arch LI A { color: #7c272a; background: url(dot01.gif) 0 4px no-repeat; padding: 0 0 0 12px; }
UL.left-list-arch LI.current_page_parent A { background: url(dot02.gif) 0 4px no-repeat; }
UL.left-list-arch LI.current_page_item A { background: url(dot01.gif) 0 4px no-repeat; }
UL.left-list-arch UL { margin: 0; }
UL.left-list-arch UL LI { padding: 0; background: none; }
UL.left-list-arch UL LI UL LI { padding: 0 0 0 25px; background: none; }

/*UL.left-list LI UL.children { display: none; }
UL.left-list LI.current_page_item UL.children { display: block; }
UL.left-list LI.current_page_parent UL.children { display: block; }
UL.left-list LI.current_page_parent UL.children LI.current_page_item A { background: url(dot01.gif) 0 4px no-repeat; }
UL.left-list LI.current_page_parent A { background: url(dot02.gif) 0 4px no-repeat; }
*/

/*  Blocks  */

DIV.block01 {  }

/* Content */

.content { line-height: 17px; font-family: Arial, Helvetica, sans-serif; }
.content TABLE { width: 100%; }
.content TABLE TH { line-height: normal; border: solid #fff; border-width: 1px; padding: 4px 10px; background: #ff6123; font-weight: bold; color: #fff; }
.content TABLE TH A { color: #fffefe; }
.content TABLE TD { line-height: normal; border: solid #fff; border-width: 1px; padding: 4px 10px; background: #f1f1f1; }
.content TABLE TR.even TD { background: #fafafa; }
.content UL {  }
.content UL LI { padding: 0; }
.content UL UL { padding: 0 0 0 0; margin: 0; font-weight: normal; }
.content UL UL LI {  }
#csv_import_graph {margin-top: 17px; overflow:hidden;}

/* Paging */

UL.pages { margin: 1em 0 0 0 !important; padding: 0 !important; line-height: normal; }
UL.pages LI { float: left; background: none !important; padding: 0 !important; margin: 0; }
UL.pages LI A { font-size: 11px; font-weight: bold; float: left; background: #e4e4e4; padding: 3px 0; width: 23px; text-align: center; color: #4e483d; margin: 0 0 0 1px; text-decoration: none; }
UL.pages LI A:hover { background: #d51b01; color: #fff; }
UL.pages LI A.active { background: #d51b02; color: #fff; }
UL.pages LI.neutral { padding: 1px 5px 2px 5px !important; color: #b2b2b2; font-size: 12px; }
UL.pages LI.nav A { background: none; padding: 2px 5px 2px 5px !important; width: auto; color: #616161; font-size: 12px; }
UL.pages LI.nav A:hover { color: #d51b00; }

/* News */

.content.news .date {
padding-right:5px;
}

/* Posts pagination */
.post-navigation {
margin-top:30px;
clear:both;
}
.wp-pagenavi {
clear:none;
float:left;
height: 21px;
}
.post-navigation .previous {
float:left;
margin-right:10px;
}
.post-navigation .next {
float:left;
margin-left:10px;
}


/* Image List */

DIV.images { width: 640px; overflow: hidden; }
UL.imagelist { padding: 0; margin: 5px 0 0 0; list-style: none; width: 120%; }
UL.imagelist LI { float: left; margin: 15px 26px 0 0; padding: 0; background: none !important; }
UL.imagelist LI A { float: left; border: 1px solid #dbdbdb; padding: 2px; }
UL.imagelist LI A:hover { border-color: #aaa; }

/* Map popup */

#map-pop { width: 170px; position: absolute; left: 0; top: 0; z-index: 25; font-size: 12px; }
#map-pop .a { height: 3px; background: url(bg06.png) no-repeat; }
#map-pop .b { background: url(bg08.png); padding: 10px; }
#map-pop .c { height: 13px; background: url(bg07.png) no-repeat; }
#map-pop .c.bg2 { background: url(bg07-2.png) no-repeat; }
#map-pop SPAN { font-size: 13px; margin: 0; float: left; display: block; color: #005838; }
#map-pop SPAN.title { font-weight: bold; color: #000; }

/* Sitemap */
#box03 .sitemap {
padding-top:15px;
}
#box03 .sitemap li {
padding:2px 0;
}
#box03 .sitemap li a {
background: url(dot02.gif) no-repeat scroll 0 4px transparent;
padding: 0 0 0 14px;
}
#box03 .sitemap li ul {
margin-left:15px;
}
#box03 .sitemap li ul li a {
background: none repeat scroll 0 0 transparent;
color: #717171;
}

/*  ColorBox  */

#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; padding-top: 5px; }

#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; }
#cboxLoadedContent IMG { border: solid 10px #1b1b1b !important; }
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
#cboxCurrent{position:absolute; top:0; left:50%; color:#fff; padding: 0 0 0 80px; top: -23px; }

#cboxOverlay{background:url(http://www.trigonagri.com/wp-content/themes/Trigon/img/overlay.png) 0 0 repeat;}
#colorbox{}
#cboxTopLeft{width:21px; height:21px; }
#cboxTopRight{width:21px; height:21px; }
#cboxBottomLeft{width:21px; height:21px; }
#cboxBottomRight{width:21px; height:21px; }
#cboxMiddleLeft{width:21px; }
#cboxMiddleRight{width:21px; }
#cboxTopCenter{height:21px; }
#cboxBottomCenter{height:21px; }
#cboxContent{background:#fff;}
#cboxLoadedContent{top-bottom:28px;}
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}

#cboxPrevious{position:absolute; background:url(http://www.trigonagri.com/wp-content/themes/Trigon/img/controls.png) 0 0 no-repeat; width:69px; height: 30px; text-indent:-9999px; top: -26px; left:50%; margin: 0 0 0 -72px; }
#cboxNext{position:absolute; background:url(http://www.trigonagri.com/wp-content/themes/Trigon/img/controls.png) 0 -30px no-repeat; width:69px; height: 20px; text-indent:-9999px; top: -26px; left:50%; margin: 0 -72px 0 0 ; }

#cboxClose{position:absolute; bottom:0; right:0; background:url(http://www.trigonagri.com/wp-content/themes/Trigon/img/close.png) no-repeat; width:69px; height:20px; text-indent:-9999px; position: absolute; top: -26px; right: 10px; }