/* 
    Document   : style.css
    Created on : 3.10.2012, 13:48:57
    Author     : Maxim
    Description:
        Purpose of the stylesheet follows.
*/

@font-face
{
font-family: staton;
src: url('img/MYRIADB.TTF'),
     url('img/MYRIADB.eot'); /* IE9 */
}


body{
    margin: 0px;
    font-family: "arial";
    font-size: 13px;
    background:url('img/pozadie-male.png');
    background-repeat: no-repeat;
    overflow-y: scroll;
}

#obal, #obal-pata{
    width: 950px;
    margin: 0px auto 0px auto;
/*    border: 1px solid #cccccc;*/

}

/*#obal-body-pata{ 
  background-color: #ECEFE3;
  margin-top: 10px;
  height: 100px;
  color: #5E5E5E;
}*/

#obal-body-pata{ 
  position: fixed;
  bottom: 0px;
  width: 100%;  
    
  background-color: #ECEFE3;
  
  height: 55px;
  color: #5E5E5E;
}

#header{
    height: 100px;
    padding: 0;
    margin: 0;

    position: relative;
}
#logo{
    float: left; 
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 20px;
}
#logo img, #lang img{
    border: 0;
}

#topmenu{
    background:url('img/lista-pozadie.png') repeat-x ; 
    height: 51px;
    position: relative;
    top: 35px;
    vertical-align: middle;
    border-radius: 5px;
}

      #menu li{
        display: block;

        height: 50px;
        float: left;
        margin: 0px 0px;
        padding: 0px 0px;
        font-size: 18px;
      }

     #menu li:hover{
        background-color: #ECEFE3;
        border-bottom: 1px solid #BDC3AC;
        height: 49px;
      }

     #menu li a{
        line-height: 49px;
        display: block;
        text-align: center;
        text-decoration: none;
        color: #2F6145;
        padding: 0px 15px
       }
     #menu .current-menu-item, #menu .current-page-ancestor{
        background-image: url('img/menu-sipka.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        z-index: 40;
      }

.l{
    float: left;
    width: 680px;
}

.ll{
    float: right;
    width: 100%;
}

.l h1 {
    color: #54A276;
    margin-top: 0px;
    font-family: "staton";
    font-size: 36px; 
}

.l h2, .ll h2{
  color: #54A276;
      font-family: "staton";
    font-size: 25px; 
}
.l h2 a, .l h2 a:visited, .l h2 a:active{
    color: #74795D;
    text-decoration: none;
    font-family: "staton";
    font-size: 25px;
}

.l p, .ll p{
    color: #5E5E5E;
}

.l h2 a:hover{
  text-decoration: underline;
}

.category h2 {
  margin-top: 15px;
  margin-bottom: 5px;
}
.category .l p{
  margin: 2px 0px;
}

.p{
    float: left;
    width: 220px;
    
}

#footer p{
margin: 5px 0px;    
}

#footer .logo-big img{
    margin-top: 10px;
}

.clear{
   clear:both; 
}

.box{
    float: left;
    width: 230px;
    border-radius: 5px;
}
.box img{
    border-radius: 5px;
    border: none;
}
.box.prvy{
    margin-right: 5px;
    /*background-color: #BDBBA8;*/
    background-color: #174f69;
}

.box.druhy{
    margin: 0 5px;
    /*background-color: #7F8F72;*/
    background-color: #000;
}

.box.treti{
    margin: 0 5px;
    /*background-color: #AFAD84;*/
    background-color: #592527;
}

.box.posledny{
    margin-left: 5px;
    background-color: #8E9486;
}
.box p{
    margin-top: 0px;
    margin-bottom: 0px;
}

.box .message{
    padding: 5px;
    height: 200px;
    position: relative;
}

.box .message h2, .message p{
    color: #FFFFFF;
    
}

.box .message h2{
  margin: 10px 2px;
}

.box .message p{
  position: absolute;
  top: 80px;
}


.box .message .next{
font-size: 12px;
   margin-top: 10px;
   position: absolute;
   bottom: 5px;
}

.message .next a, .message .next a:visited{
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
 
}

.box-news{
    float: left;
    width: 49%;    
}

.box-news.druhy{
    margin-left: 15px;   
}

.box-news h2{
    color: #54A276;
}
.box-news p{
    color: #5E5E5E;
}

.box-news .next a{
    color: #54A276;
    text-decoration: none;
    font-weight: bold;
}
.sub-page{
    /*background-color: #54A276;*/
    background-color: #00A54F;
    border-radius: 5px;
    color: #ffffff;
    padding: 10px 2px;
    font-size: 13px;
    margin-bottom: 10px;
}

.sub-page ul{
    padding-left: 10px;
    margin: 5px 0px 10px 0px;
}

.sub-page li{
  display: block;
  padding-left: 10px;
  margin-right: 5px;
}

.sub-page li:hover{
  background-color: #00CC61;
}

.sub-page li.current{
 /*background-color: #00CC61;*/
 border-left: 3px solid #ffffff;
}
.sub-page li.current > a{
}

.sub-page ul {
  padding-left: 5px;
}

.sub-page ul ul{
  padding-left: 10px;
}

.sub-page a,.sub-page a:visited,.sub-page a:active{
    color: #ffffff;
    text-decoration: none;
    display: block;
    line-height: 23px;
    font-size: 15px;
}

.sub-page-kontakt{
    background-color: #ECEFE3;
    border-radius: 5px;
    color: #2F6145;
    padding: 10px 10px;
    font-size: 13px;
}
.sub-page-kontakt a{
  color: #2F6145;
}
.sub-page li.current{
  list-style-type:square ;
  list-style-position: inside;
}

.sub-page li.current span{
  width: 20px;
  height: 20px;
  background-color: #BDBBA8;
}


.sub-page li.page-71{
  font-weight: bold;
  background-color: #00CC61;
}

.clanok h2 a, .clanok h2 a:active, .clanok h2 a:visited{
    color: #54A276;
}

.attachment-thumbnail{
    float: left;
    margin-right: 10px;
}

/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.625em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.625em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
  border: 1px solid #00A54F;
  padding: 4px;  
}

.gallery-item{
  float: left;
  margin: 5px 0px;
}

.gallery-item img{
  width: 75px;
  height: 75px;
}
img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 1.625em;
}

a.current{
  font-weight: bold;
  text-decoration: underline;  
}

.hasChild{
  /*border-bottom: 1px dotted #ffffff;*/
  margin-bottom: 10px !important;
  margin-right: 10px !important;
  margin-top: 20px  !important;
  font-weight: bold;
    
}

.tbl-povlak{
  border-spacing: 0px;
}
.tbl-povlak td{
  padding: 0px;
}
.tbl-povlak .pozadie{
  background-color: #ECEFE3;
}