/* Start of CMSMS style sheet 'AMD' */
/* reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* CSS wlasciwy */

div.clearfix
{
    clear: both;
}

body
{
    background: url(images/bodybg.png) #94ce00 top center repeat-x;
    margin: 0;
    color: black;
    font: 0.9em/1.4 Verdana, Tahoma, Arial, sans-serif;
}

div#header {
    background: url(images/header.jpg) transparent top center no-repeat;
    height: 363px;
    margin: 0 auto;
    width: 964px;    
    position: relative;
}

div#strzalka {    
    background: url(images/strzalka.png) transparent top center no-repeat;
    width: 99px;
    height: 87px;
    position: absolute;
    z-index: 99;
    right: 100px;
    top: 290px;
}

div#header h1 {
    padding: 12px;
}

div#header #akademianauki {
    position: absolute;
    left: 24px;
    top: 262px;
    z-index: 99;
}

div#container {
    margin: 0 auto;
    width: 964px;
    background: #7ab71d;  
    padding-bottom: 20px;
    position: relative;
    overflow: auto;
}

ul#topmenu {
    background: url(images/menubg.png) #fff top center no-repeat;
    height: 57px;
    width: 620px;
    margin-left: 172px;
    list-style: none;
}

ul#topmenu li {
    float: left;
    margin-top: 10px;
    height: 36px;
    line-height: 36px;
    text-align: center;
}

ul#topmenu li a {
    display: block;
    font-size: 12px;
    text-decoration: none;
    color: black;
}

ul#topmenu li a:hover {
    color: #7ab71d;
}

ul#topmenu li.start {
    width: 89px;
    margin-left: 52px;    
}

ul#topmenu li.o-nas {
    width: 88px;
    margin-left: 6px;    
}

ul#topmenu li.galeria {
    width: 88px;
    margin-left: 6px;       
}

ul#topmenu li.kontakt {
    width: 88px;
    margin-left: 6px;      
}

ul#topmenu li.praca-w-akademii {
    width: 130px;
    margin-left: 6px;     
}

ul#rightmenu {
    position: absolute;
    width: 170px;
    list-style: none;
    top: 0px;
    right: 4px;
}

div#leftsidebar {
    width: 170px;
    margin-left: 8px;
    float: left;
}

ul#leftmenu {
    list-style: none;
}

ul#rightmenu a, ul#leftmenu a {
    color: black;
    text-decoration: none;
    text-align: center;
    display: block;
    padding-right: 15px;
    padding-left: 10px;
    font-size: 12px;
}
ul#rightmenu a:hover, ul#leftmenu a:hover {
    text-decoration: underline;
}

ul#rightmenu li, ul#leftmenu li {
    padding-top: 35px;
}

ul#rightmenu li.kartka1, ul#leftmenu li.kartka1 {
    background: url(images/kartki/1.png) #7ab71d center top no-repeat;
}
ul#rightmenu li.kartka1 a, ul#leftmenu li.kartka1 a {
    background: url(images/kartki/1.png) #7ab71d center bottom no-repeat;
    padding-bottom: 22px;
}

ul#rightmenu li.kartka2, ul#leftmenu li.kartka2 {
    background: url(images/kartki/2.png) #7ab71d center top no-repeat;
}
ul#rightmenu li.kartka2 a, ul#leftmenu li.kartka2 a {
    background: url(images/kartki/2.png) #7ab71d center bottom no-repeat;
    padding-bottom: 22px;
}

ul#rightmenu li.kartka3, ul#leftmenu li.kartka3 {
    background: url(images/kartki/3.png) #7ab71d center top no-repeat;
}
ul#rightmenu li.kartka3 a, ul#leftmenu li.kartka3 a {
    background: url(images/kartki/3.png) #7ab71d center bottom no-repeat;
    padding-bottom: 22px;
}

ul#rightmenu li.kartka4, ul#leftmenu li.kartka4 {
    background: url(images/kartki/4.png) #7ab71d center top no-repeat;
}
ul#rightmenu li.kartka4 a, ul#leftmenu li.kartka4 a {
    background: url(images/kartki/4.png) #7ab71d center bottom no-repeat;
    padding-bottom: 22px;
}

ul#rightmenu li.kartka5, ul#leftmenu li.kartka5 {
    background: url(images/kartki/5.png) #7ab71d center top no-repeat;
}
ul#rightmenu li.kartka5 a, ul#leftmenu li.kartka5 a {
    background: url(images/kartki/5.png) #7ab71d center bottom no-repeat;
    padding-bottom: 22px;
}

ul#leftmenu li.polkolonie {
    padding-top: 0;
    background: none;
}
ul#leftmenu li.polkolonie a {
    padding: 0;
    background: none;
}

div#content_container{
    width: 620px;
    background: url(images/contentbg.png) #fff top center repeat-y;
    margin-left: 172px;
}

div#content {
    padding: 20px 50px;
    min-height: 400px;
}

div#content h2, div#content h3, div#content h4, div#content p, div#content ul, div#content ol {
    margin-bottom: 15px;
}

div#content h2 {
    color: #00a651;
    font-size: 18px;
}

div#content img {
    display: block;
    margin: 0 auto;
}

div#content ul, div#content ol {
    margin-left: 40px;
}

div#content a {
    color: #7ab71d;
    text-decoration: none;
}

div#content a:hover {
    text-decoration: underline;
}


* html div#content {
   height: 400px;
}

div#content div.news h3 {
    margin-bottom: 5px;
}

div#content div.news_date p {
    font-size: 10px;
}

p.pagination {
    text-align: center;
}
p.pagination span {
    padding: 0 10px;
}

p#sidebar {
    position: absolute;
    top: 50px;
    left: 7px;
}

div#content_bottom {
    height: 28px;
    background: url(images/contentbottom.png) transparent top center no-repeat;
}

/* End of 'AMD' */

