*+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;
}

.crisis-message {
    background: #fff6d8;
    border: solid 3px #e40130;
    box-sizing: border-box;
    color: #111111;
    margin: 0 0 28px 0;
    padding: 18px 20px 20px 20px;
    text-align: left;
    width: 510px;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.45);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.45);
}

.crisis-label {
    background: #e40130;
    color: #ffffff;
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.25;
    margin: -18px -20px 16px -20px;
    padding: 10px 14px;
    text-align: center;
    text-transform: uppercase;
}

.crisis-message h1 {
    color: #023264;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 14px 0;
    text-align: center;
}

.crisis-message p {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 12px 0;
}

.crisis-message strong {
    color: #e40130;
    font-weight: bold;
}

.crisis-contact {
    border-top: solid 1px #e40130;
    color: #023264;
    font-weight: bold;
    margin-top: 14px;
    padding-top: 14px;
    text-align: center;
}

.crisis-contact span {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.crisis-contact strong {
    color: #111111;
    display: inline-block;
    font-size: 25px;
    line-height: 1.15;
    white-space: nowrap;
}

.crisis-contact span strong {
    color: #e40130;
    font-size: inherit;
    line-height: inherit;
}

#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;
}

.mobile-menu-toggle,
.mobile-menu-button {
    display: none;
}

#menu ul li.mobile-home {
    display: none;
}

#menu ul li a span {
    display: none;
}

@media screen and (max-width: 820px) {
    * {
        box-sizing: border-box;
    }

    html,
    body {
        min-width: 0;
        overflow-x: hidden;
    }

    body {
        background: #eaebb7;
        color: #111111;
        font-family: Georgia, "Times New Roman", serif;
    }

    #wrapper,
    #wrapper-out,
    #wrapper-in,
    #wrapper-content,
    #wrapper-content-out,
    #wrapper-content-in,
    #homepage-block,
    #homepage-block .hpblock-middle {
        background: none;
        display: block;
        float: none;
        margin: 0;
        min-height: 0;
        overflow: visible;
        width: 100%;
    }

    body.cenik #wrapper-content-in,
    body.zbrane #wrapper-content-in,
    body.kontakty #wrapper-content-in,
    body.odkazy #wrapper-content-in {
        background: none;
    }

    #wrapper {
        padding: 0 12px 28px 12px;
    }

    #wrapper-in {
        padding-top: 92px;
    }

    #content {
        padding-top: 0;
    }

    #logo {
        left: 50%;
        position: absolute;
        top: 10px;
        transform: translateX(-50%);
        z-index: 20;
    }

    #logo img {
        display: block;
        height: auto;
        max-width: 190px;
    }

    #terce {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        height: 1px;
        left: -9999px;
        position: absolute;
        top: -9999px;
        width: 1px;
    }

    .mobile-menu-button {
        background: #023264;
        border: solid 2px #ffffff;
        color: #ffffff;
        cursor: pointer;
        display: block;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        font-weight: bold;
        left: 12px;
        letter-spacing: 0;
        line-height: 1;
        padding: 12px 14px;
        position: fixed;
        text-transform: uppercase;
        top: 12px;
        z-index: 1000;
        -webkit-box-shadow: 0 3px 8px rgba(0,0,0,0.35);
        -moz-box-shadow: 0 3px 8px rgba(0,0,0,0.35);
        box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    }

    .mobile-menu-button:before {
        content: "\2630";
        display: inline-block;
        font-size: 18px;
        line-height: 1;
        margin-right: 8px;
        vertical-align: -1px;
    }

    #menu {
        background: #fff6d8;
        border-right: solid 4px #e40130;
        display: block;
        float: none;
        height: 100%;
        left: 0;
        padding: 74px 18px 22px 18px;
        position: fixed;
        top: 0;
        transform: translateX(-104%);
        transition: transform 180ms ease;
        width: 270px;
        z-index: 900;
        -webkit-box-shadow: 5px 0 16px rgba(0,0,0,0.35);
        -moz-box-shadow: 5px 0 16px rgba(0,0,0,0.35);
        box-shadow: 5px 0 16px rgba(0,0,0,0.35);
    }

    .mobile-menu-toggle:checked ~ #menu {
        transform: translateX(0);
    }

    .mobile-menu-toggle:checked + .mobile-menu-button {
        background: #e40130;
    }

    #menu ul {
        display: block;
        left: auto;
        margin: 0;
        position: static;
        top: auto;
        width: 100%;
        z-index: auto;
    }

    #menu ul li,
    #menu ul li.selected,
    #menu ul li.mobile-home {
        background: none;
        border-bottom: solid 1px rgba(2,50,100,0.25);
        display: block;
        height: auto;
        width: 100%;
    }

    #menu ul li a,
    #menu ul li.info a,
    #menu ul li.info:hover a,
    #menu ul li.cenik a,
    #menu ul li.cenik:hover a,
    #menu ul li.zbrane a,
    #menu ul li.zbrane:hover a,
    #menu ul li.kontakty a,
    #menu ul li.kontakty:hover a,
    #menu ul li.odkazy a,
    #menu ul li.odkazy:hover a {
        background: none;
        color: #023264;
        display: block;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        height: auto;
        letter-spacing: 0;
        line-height: 1.2;
        padding: 14px 4px;
        width: 100%;
    }

    #menu ul li.selected a {
        color: #e40130;
    }

    #menu ul li a span {
        display: inline;
    }

    #page-content {
        background: rgba(255,255,255,0.72);
        float: none;
        margin: 0 auto 24px auto;
        max-width: 640px;
        padding: 18px 14px 24px 14px;
        width: 100%;
    }

    body.home #page-content {
        padding-top: 18px;
    }

    #homepage-block .hpblock-top,
    #homepage-block .hpblock-bottom {
        display: none;
    }

    .language {
        background: #023264;
        bottom: auto;
        left: auto;
        margin: 18px auto 0 auto;
        max-width: 640px;
        padding: 10px 12px;
        position: static;
        text-align: center;
        width: 100%;
    }

    .language a,
    .language a:link,
    .language a:active,
    .language a:visited,
    .language a:hover {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        padding-left: 8px;
    }

    .crisis-message,
    .oddelovac,
    .doubleimg,
    .oneimage,
    .uvitani,
    .nadpiscenik,
    .nadpiskontakty,
    .nadpiszbrane,
    .nadpisprogram,
    .nastenka-pins,
    .nastenkatop,
    .nastenkamiddle,
    .nastenkabottom {
        max-width: 100%;
        width: 100%;
    }

    .oddelovac,
    .uvitani,
    .nadpiscenik,
    .nadpiskontakty,
    .nadpiszbrane,
    .nadpisprogram {
        background-size: contain;
    }

    .crisis-message {
        margin-bottom: 22px;
        padding: 16px 14px 18px 14px;
    }

    .crisis-label {
        font-size: 16px;
        margin: -16px -14px 14px -14px;
        padding: 10px 12px;
    }

    .crisis-message h1 {
        font-size: 23px;
    }

    .crisis-message p {
        font-size: 16px;
    }

    .crisis-contact span {
        font-size: 16px;
    }

    .crisis-contact strong {
        font-size: 28px;
    }

    .odstavec,
    .tabulka,
    .novinka p {
        font-size: 16px;
        line-height: 1.45;
    }

    .nadpis {
        font-size: 22px;
        line-height: 1.25;
    }

    img {
        height: auto;
        max-width: 100%;
    }

    .doubleimg {
        display: block;
        text-align: center;
    }

    .doubleimg img,
    .oneimage img {
        display: inline-block;
        margin: 5px auto 10px auto;
    }

    table {
        max-width: 100%;
    }

    .tabulka,
    table.zbrane {
        display: block;
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    table.zbrane td {
        min-width: 125px;
    }

    .nastenka {
        padding: 16px;
    }

    #page-content > div[style*="width:220px"] {
        float: none !important;
        text-align: left !important;
        width: 100% !important;
    }

    #page-content > div[style*="width:220px"] + div[style*="width:220px"] {
        margin-top: 18px;
        text-align: center !important;
    }

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

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

@media screen and (max-width: 480px) {
    #wrapper {
        padding-left: 8px;
        padding-right: 8px;
    }

    #wrapper-in {
        padding-top: 84px;
    }

    #logo img {
        max-width: 140px;
    }

    #logo {
        left: auto;
        right: 10px;
        transform: none;
    }

    #menu {
        width: 84%;
    }

    #page-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .crisis-message h1 {
        font-size: 21px;
    }

    .crisis-contact strong {
        font-size: 26px;
    }
}
