/* 
    Document   : anski
    Created on : 2013-03-14, 22:04:56
    Author     : gruby
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

body{
    background: grey url('../img/anski/background_grey.png') repeat center center;
    font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
    font-size: 14px;
    line-height: 22px;
    color: #020202;
}
a{
    text-decoration: none;
    color: #a0080a;
}
a:hover{
    color: #787878;
}
ol, ul{ 
    margin-right: 19px;
}

h1{font-size: 29px; font-weight: normal;}
h2{font-size: 25px; font-weight: normal;}
h3{font-size: 21px; font-weight: normal;}
h4{font-size: 19px; font-weight: normal;}
h5{font-size: 17px; font-weight: normal;}
h6{font-size: 15px; font-weight: normal;}

.title{
    font-style: italic;
}
.subtitle{
    font-size: 20px;
}
.paging{
    text-align: center;
    font-size: 20px;
}
#wrapper{
    min-width: 980px;
    max-width: 1300px;
    width: 95%;
    margin: 40px auto;
    /*    min-height: 700px;*/
    background: white;
    position: relative;
}

#topDecor{
    width: 100px;
    background: black;
    padding: 3px 5px;
    position: absolute;
    left: 0px;
    text-align: center;
}

#topDecor a{
    color: white;
}
#topDecor a.selected{
    color: #787878;
}
.dateFormat{
    background: #8C0001;
    text-align: center;
    width: 200px;
    /*height: 150px;*/
    font-weight: bold;
    /*position: relative;*/
    margin: 7px auto;
}
.dateFormat a,
.dateFormat a:hover,
.dateFormat a:visited{
    color: white;
}
.dateFormat p{
    /*position: absolute;*/
    /*width: 150px;*/
}
.dateFormat .day{
    font-size: 70px;
    line-height: 70px;
    top: 0px;
}
.dateFormat .month{
    font-size: 80px;
    line-height: 80px;
    top: 70px;
}
.dateFormat .year{
    font-size: 40px;
    line-height: 40px;
    top: 112px;
    padding-bottom: 10px;
}
header{
    margin: 50px 50px 50px 30px;
    position: relative;
}
header #logo,
header #menu{
    display: inline;
    display: inline-block;
}
header #social{
    float: left;
}
header #social ul{
    list-style: none;
}
header #social ul li{
    float: right;
}
#menu{
    position: absolute;
    bottom: 20px;
    /*left: 250px;*/
    /*width: 645px;*/
    min-width: 645px;
    width: 65%;
    right: 32%;
}
#menu ul li{
    display: inline;
    display: inline-block;
    padding: 5px 14px 5px 14px;
    font-size: 15px;
    font-style: italic;
}
#menu ul li.selected{
    background: #E2E2E2;
    border-radius: 3px 3px 0 0;
}
#menu ul li a{
    color: #020202;
}
#menu ul li a:hover{
    color: #787878;
}
#menu ul li a.selected{
    color: #a0080a;
}
#menu ul li > ul{
    position: absolute;
    display: none;
    left: 0px;
    width: 100%;
    background: #E2E2E2;
    padding: 5px 0;
    border-radius: 0 0 3px 3px;
}
#menu ul li.selected > ul{
    display: block;
}
#menu ul li > ul li{
    display: inline;
    /*display: block;*/
}

#main{
    width: 920px;
    width: 100%;
    margin: 0 auto;
}
h1{
    margin-bottom: 15px;
    line-height: 32px;
}
#leftContent{
    float: right;
    width: 280px;
    width: 30%;
    margin-right: 30px;
}
#leftContent .miniature{
    margin-bottom: 30px;
    width: 260px;
    width: 100%;
    text-align: left;
    line-height: 1.6;
    font-size: 13px;
    color: #616161;
    font-family: Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
    font-style: italic;
}
#leftContent .miniature:last-child{
	margin-bottom: 30px;
}
#rightContent{
    float: left;
    width: 612px;
    width: 60%;
    margin-left: 5%;
}

#sliderParent{
    margin: 15px 0;
}
#sliderContainer .miniature{
    position: relative;
}
#sliderContainer .miniature p{
    position: absolute;
    bottom: 0px;
    background: white;
    width: 100%;
    color: #999999;
    padding: 3px 6px;
}
.size1_do_2 h1{
    margin-right: 285px;
    margin-right: 28%;
}
.size1_do_2.index{
    margin-bottom: 15px;
}





.size2_do_1 #leftContent{
    width: 612px;
    width: 62%;
}
.size2_do_1 #leftContent .miniature{
    width: 610px;
    width: 100%;
    text-align: left;
}
.size2_do_1 #leftContent .miniature:first-child{
    margin-top: 25px;
}
.size2_do_1 #rightContent{
    width: 260px;
    width: 26%;
    margin-left: 20px;
}
.size2_do_1 #rightContent{
    margin-top: 20px;
    text-align: justify;
}





.size100_procent #leftContent,
.size100_procent #rightContent {
    float: none;
    clear: both;
    width: 100%;
}
.size100_procent h1{
    margin: 0 3% 15px 3%;
}
.size100_procent #rightContent #sliderParent{
    margin: 10px auto 20px auto;
    width: 612px;
}
.size100_procent #leftContent .miniature{
    margin: 10px auto 15px auto;
    width: 612px;
    width: 100%;
}
.size100_procent #leftContent .miniature p{
    text-align: left;
}

footer{
    /*width: 100%;*/
    background: black;
    color: #646464;
    position: relative;
    margin: 15px 0px;
    font-size: 11px;
    line-height: 15px;
    font-style: italic;
    padding: 0 35px;
    height: 130px
}
footer a{
    color: white;
}
footer a:hover{
    color: #D5D5D5;
}
footer a.selected{
    color: #B8B8B8;
}
footer .block{
    float: right;
    height: 70px;
    margin: 15px 5px;
    padding: 10px 0 0 0;
}
footer .block.footer_logo{
    padding: 0px;
}
footer .footer_menu{
    border-right: 1px solid #2A2A2A;
    margin-right: 15px;
    
}
footer .footer_menu ul{
    list-style: none;
}
footer .footer_menu ul li{
    display: inline;
    margin: 0 5px;
}
footer .footer_credits{
    float: left;
    text-align: left;
    margin-top: 60px;
    margin-right: 20px;
    height: auto;
}
#MessageViewForm{
    margin-top: 20px;
}
#MessageViewForm label{
    display: block;
}
.banery{
    width: 94%;
    max-width: 100%;
    table-layout: fixed;
    margin: 10px 3%;
}
.banery td{
    width: 50%;
}
.banery td img{
    width: 100%;
}