*+html .clearfix {  min-height: 1%;  } /* float clearing for IE7 */
.clearfix:after {  clear: both; content: ""; display: block; font-size: 0; height: 0; visibility: hidden;  } /* float clearing for everyone else */
.clear { display:block; width:0px; height:0px; border:none; font-size:0px; clear:both; }

* { border:0 none; margin:0; padding:0; text-decoration:none; }

html, body { background-color: #eaebb7; }

#wrapper {
    width: 800px;
    margin: 0px auto;
    margin-top: 10px;
    background: url('../images/hlavni/pozadi-opaque-ramec.jpg') left top repeat-y;
}

#wrapper-out {
   background: url('../images/hlavni/pozadi-top.jpg') left top no-repeat;
}
   
#wrapper-in {
    background: url('../images/hlavni/pozadi-bottom-ramec.png') left bottom no-repeat;
    position: relative;
}

body.home #wrapper-in {
    background-image: url('../images/hlavni/pozadi-bottom-ramec-home.png');
}

#content {
    padding-top: 187px;
}

#wrapper-content {
   /* background: url('../images/hlavni/ramec_opaque.png') left top repeat-y; */
    overflow: auto;
}

#wrapper-content-out {
    background: url('../images/hlavni/ramec_bottom.png') left bottom no-repeat;
    overflow: auto;
}

#wrapper-content-in {
    background: url('../images/hlavni/info_ramec_top.png') left -187px no-repeat;
    overflow: auto;
    min-height: 700px;
}

body.cenik #wrapper-content-in {
    background: url('../images/hlavni/price_ramec_top.png') left -182px no-repeat;
}

body.zbrane #wrapper-content-in {
    background: url('../images/hlavni/guns_ramec_top.png') left -177px no-repeat;
}

body.kontakty #wrapper-content-in {
    background: url('../images/hlavni/contact_ramec_top.png') left -172px no-repeat;
}

body.odkazy #wrapper-content-in {
    background: url('../images/hlavni/links_ramec_top.png') left -168px no-repeat;
}

body.home #wrapper-content-in, body.home #wrapper-content-out {
    background: none;
}

#homepage-block {
    
}
#homepage-block .hpblock-top {
    display: block;
    width: 800px;
    height: 49px;
    background: url('../images/hlavni/ramec-home-top.png') left -168px no-repeat;
}
#homepage-block .hpblock-middle {
    display: block;
    width: 800px;
    background: url('../images/hlavni/ramec-home-middle.png') left top repeat-y;
}
#homepage-block .hpblock-bottom {
    display: block;
    width: 800px;
    height: 596px;
    background: url('../images/hlavni/ramec-home-bottom.png') left bottom no-repeat;
}

#menu {
    float: left;
    display: block;
    width: 219px;
    position: relative;
}

#menu ul {
    display: block;
    width: 121px;
    position: absolute;
    left: 96px;
    top: 355px;
    z-index: 0;
}

#menu ul li {
    /*background: url('../images/button/bullet_clk.png') left top no-repeat;*/
    background: url('../images/hlavni/menu_pozadi.png') center center no-repeat;
    display: block;
    width: 121px;
    height: 89px;
}

#menu ul li.selected {
    background: url('../images/button/bullet_clk.png') center center no-repeat;
    
}

#menu ul li a {
    display: block;
    width: 121px;
    height: 89px;
}

#menu ul li.info a { background: url('../images/button/info_nos.png') center center no-repeat; }
#menu ul li.info:hover a { background: url('../images/button/info_sel.png') center center no-repeat; }

#menu ul li.cenik a { background: url('../images/button/price_nos_cs.png') center center no-repeat; }
#menu ul li.cenik:hover a { background: url('../images/button/price_sel_cs.png') center center no-repeat; }

#menu ul li.zbrane a { background: url('../images/button/guns_nos_cs.png') center center no-repeat; }
#menu ul li.zbrane:hover a { background: url('../images/button/guns_sel_cs.png') center center no-repeat; }

#menu ul li.kontakty a { background: url('../images/button/contact_nos_cs.png') center center no-repeat; }
#menu ul li.kontakty:hover a { background: url('../images/button/contact_sel_cs.png') center center no-repeat; }

#menu ul li.odkazy a { background: url('../images/button/links_nos_cs.png') center center no-repeat; }
#menu ul li.odkazy:hover a { background: url('../images/button/links_sel_cs.png') center center no-repeat; }


#page-content {
    background: url('../images/hlavni/prustrely.png') left top repeat-y;
    padding: 25px 45px 0px 15px;
    float: right;
    display: block;
    width: 510px;
    margin-bottom: 25px;
    position: relative;
}

body.home #page-content {
    margin-bottom: 0px;
    padding-top: 0px;
}

#logo {
    position: absolute;
    left: 310px;
    top: 3px;
}

a.backlink, a.backlink:link, a.backlink:active, a.backlink:visited, a.backlink:hover {
    color: #023264;
    font-size: 12px;
    text-decoration: none;
}

a.backlink:hover {
    color: #ff0000;
}

.nadpis {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.oddelovac {
    margin: 0px 0px 10px 0px;
    width: 510px;
    height: 30px;
    background: url('../images/hlavni/odelovac.png') center center no-repeat;
}

.doubleimg {
    margin: 15px 0px 25px 0px;
    width: 510px;
    
}

.oneimage {
    text-align: center;
    width: 510px;
    margin: 15px 0px 25px 0px;
}

.uvitani {
    margin-top: 10px;
    margin-bottom: 25px;
    width: 510px;
    height: 30px;
    background: url('../images/napisy/uvitani_cs.png') center center no-repeat;
}

.nadpiscenik {
    margin-top: 10px;
    margin-bottom: 25px;
    width: 510px;
    height: 30px;
    background: url('../images/napisy/cenik_cs.png') center center no-repeat;
}

.nadpiskontakty {
    margin-top: 10px;
    margin-bottom: 25px;
    width: 510px;
    height: 30px;
    background: url('../images/napisy/kontakty_cs.png') center center no-repeat;
}

.nadpiszbrane {
    margin-top: 10px;
    margin-bottom: 25px;
    width: 510px;
    height: 30px;
    background: url('../images/napisy/zapujcka_zbrani_cs.png') center center no-repeat;
}

.nadpisprogram {
    margin-top: 10px;
    margin-bottom: 25px;
    width: 510px;
    height: 30px;
    background: url('../images/napisy/program_cs.png') center center no-repeat;
}

.odkaz {
    color: #023264;
    text-decoration: underline;
}

.odstavec {
    margin-bottom: 25px;
    color: #023264;
    font-size: 15px;
}

.tabulka {
    margin-bottom: 25px;
    color: #023264;
    font-size: 15px;
    width: 85%;
    border-spacing: 0px;
    border-collapse: collapse;
}

.tabulka td {
    border: solid 1px #023264;
    padding: 1px 3px;
}

.zbrane {
    color: #023264;
}

table.zbrane img {
    border: solid 1px #023264;
}

.upozorneni {
    color: #eb1917;
    font-size: 25px;
    text-align: center;
}

#terce {
    background-image: url("../images/hlavni/terce.png");
    height: 222px;
    left: 640px;
    position: absolute;
    top: 10px;
    width: 159px;
}

.nastenka {
    box-sizing: border-box;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
    background-color: #fff;
    border-radius: 5px;
    padding: 18px;
}

.nastenka-pins {
    padding: 24px 18px;
    max-width: 501px;
}

.nastenka-pins:before, 
.nastenka-pins:after {
    background-image: url('../images/hlavni/pin64.png');
    background-repeat: no-repeat;
    background-size: 24px;
    width: 24px;
    height: 24px;
    content: " ";
    position: absolute;
    top: -5px;
}

.nastenka-pins:before {
    left: 25px;
}

.nastenka-pins:after {
    right: 55px;
}

.nastenkatop {
    background: url('../images/hlavni/nastenka-top.png') left top no-repeat;
    width: 510px;
    height: 23px;
    
}

.nastenkamiddle {
    background: url('../images/hlavni/nastenka-middle.png') left top repeat-y;
    width: 460px;
    padding: 1px 33px 0px 17px;
    
}

.nastenkabottom {
    background: url('../images/hlavni/nastenka-bottom.png') left top no-repeat;
    width: 510px;
    height: 32px;
}

.novinka {
    margin-top: 10px;
}

.novinka h2 {
    color: #e40130;
    font-size: 16px;
    font-weight: bold;
}

.novinka p {
    color: #023264;
    font-size: 14px;
}

.language {
    position: absolute;
    display: block;
    left: 8px;
    bottom: 0px;
    background: url('../images/hlavni/ramec-home-bottom.png') left bottom no-repeat;
}

.language a, .language a:link, .language a:active, .language a:visited, .language a:hover {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    vertical-align: top;
    padding-left: 10px;
}

.language a:hover {
    color: #ff0000;
}
