
html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}



* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


html {
    /*background: url('../img/bg-html.png') center 75px; */
    color: #7d7d7d;
}

body {

}


ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#seznam ul {
    list-style: circle;
    float:none;
    text-align: left;
    margin-left: 5px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 0px;
}

#seznam li {
    float:none;
    text-align: left;
}

#seznam-nobullet ul {
    list-style: none;
    float:none;
    text-align: left;

    margin-left: 5px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 0px;
}

#seznam-nobullet li {
    float:none;
    text-align: left;
}

/*
#seznam-nobullet li i {
    display: inline;
    font-style: italic;
}
*/

body > * {

}

#content > ul, #content > div, header > *, footer > * {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

header {
    height: 195px;
    background: #f2f2f2;
}

#content > div {
    background: #fff;
    display: none;
    padding: 30px;
    max-width: 900px\9;
}

#content > .persondetail {
    padding: 0;
    max-width: 960px\9;    
}

#content > div div {
    float: left;
    width: 50%;
    padding: 30px;
}

#content > div > * {
    margin: 0;
}

#content > div > p {
    margin-bottom: 20px;
    font-size: 14px;
}

#content > div h2 {
    font-weight: normal;
    color: #000;
    margin-bottom: 0.5em;
}

#content > div > img {
    width: 50%;
    float: left;
}

h1 {

    margin: 0;
    padding: 41px 0; 
  
}

h1 a {
    display: block;
    text-indent: -9999px;
    min-height: 100%;
    height: 100%;
    width: 297px;
    height: 96px;  
    background: url('../img/logo.png') 0 50% no-repeat; 
}

li {
    float: left;
    text-align: center;
    position: relative; 
}

header li {
    font-size: 24px;

}

header li b {
    position: relative;
    top: 60%;
}

#content li b {
    font-weight: normal;
}

#content li i {
    display: block;
    font-style: normal;
}

.row2 > li {
    width: 50%;
}

.row4 > li {
    width: 25%;
}

.row8 > li {
    width: 12.5%;

}

.even {
    background-color: #fff;  
    color: #7d7d7d;
}

.even a {
    color: #7d7d7d;
}

.odd {
    background-color: #7d7d7d;
    color: #fff;
}

.odd a {
    color: #fff; 
}

li a {
    height: 100%;
    display: block;
    cursor: pointer;
    position: relative;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    text-decoration: none;    
}

.row8 li a, .row4 .row2 li a {
    background-position: 50% 50%; 
    padding: 15px;
    text-align: left;    
    line-height: 22px;
}

.row8 li a:hover, .row4 li a:hover, .row2 li a:hover, li .active ,
.person a {
    background-color: #d4001f;  
    color: #fff;
}

header li {
    display: none;
}

header li a:hover {
    background-color: #000;
}



.item01 a {
    background-image: url('../img/ico-01.png');
}

.item02 a {
    background-image: url('../img/ico-02.png');
}

.item03 a {
    background-image: url('../img/ico-03.png');
    padding: 30px;
    background-position: 30px 60px;
    text-align: left;
}

.item03 .active, .item03 a:hover {
     background-image: url('../img/ico-03-hover.png');   
}

.item03 .active:after {
    content: '';
    width: 119px;
    height: 119px;
    background-image: url('../img/bg-active.png');
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
}


.person .active, .person .active:hover {
    background-image: url('../img/bg-active1.png');    
}


.person a {
    background-size: 100% 100%;
}

.person .active {
    background-size: auto auto;
}

.mapa a {
    background-image: url('../img/gps-bw.png');
}

.mapa a:hover {
     background-image: url('../img/gps.png');   
}

.kontakt a {
    background-image: url('../img/kontakt-bw.png');
}

.kontakt a:hover {
     background-image: url('../img/kontakt.png');   
}

.milisci a {
    background-image: url('../img/milisci-bw.png');
}

.milisci a:hover {
     background-image: url('../img/milisci.png');   
}

.zakaz a {
    background-image: url('../img/zakaz-bw.png');
}

.zakaz a:hover {
     background-image: url('../img/zakaz.png');   
}

.live a {
    background-image: url('../img/live-bw.png');
}

.live a:hover {
     background-image: url('../img/live.png');   
}

.satnik a {
    background-image: url('../img/satnik-bw.png');
}

.satnik a:hover {
     background-image: url('../img/satnik.png');   
}

.styl a {
    background-image: url('../img/styl-bw.png');
}

.styl a:hover {
     background-image: url('../img/styl.png');   
}


.uvod a {
    background-image: url('../img/brana-bw.png');
}

.uvod a:hover {
     background-image: url('../img/brana.png');   
}

.dary a {
    background-image: url('../img/darky-bw.png');
}

.dary a:hover {
     background-image: url('../img/darky.png');   
}

.jb a {
    background-image: url('../img/jb-bw.png');
}

.jb a:hover {
     background-image: url('../img/jb.png');   
}

.luc a {
    background-image: url('../img/luc-bw.png');
}

.luc a:hover {
     background-image: url('../img/luc.png');   
}

.pocasi a {
    background-image: url('../img/pocasi-bw.png');
}

.pocasi a:hover {
     background-image: url('../img/pocasi.png');   
}


header .double {
    width: 50%;
    background: none !important;
    position: relative;
    display: block;
    float: right;
}

header .double span {
    position: absolute;
    left: 0;
    bottom: -136px;
    background: #7d7d7d;
    width: 454px;
    width: 480px\9;
    height: 454px;
    border-radius: 454px;
    padding: 190px 30px;
    color: #fff;
    font-size: 30px;
    text-align: center;
}

header .double strong {
    display: block;
}

.note, .form a {
    text-align: left;
    padding: 30px;
    line-height: 26px;
    font-size: 16px;
}

.note {
    color: #d4001f;
}

.form a {
    color: #fff;
    background: #d4001f;
}


.form span {
    font-size: 27px;
    text-transform: uppercase;
    display: block;
    line-height: 34px;
}

input[type='text'] {
    border: 1px solid #606060;
    padding: 11px 10px 7px;
}

input[type='submit'] {
    border: 0;
    background: #000;
    color: #fff;
    padding: 11px 0 7px;
    cursor: pointer;

}

h3 {
    color: #000;
    font-weight: normal;
    margin: 0 0 0.5em;
}

.people li {
    text-align: left;
    width: 25%;
    font-size: 14px;
    padding-right: 10px;
}

.people .media {
    width: 50%;
    padding-top: 1em;
}

.people .dobrovolnici {
    width: 75%;
    padding-top: 1em;    
}

.people ul li {
    width: auto;
    float: none;
}

.people li a {
    color: #d4001f;
    text-decoration: underline;
}

.partners {
    margin-top: -1em;
}

.partners li {
    margin-bottom: 1.5em;
}

footer p {
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #7d7d7d;
}

a.standard {
    display: inline;
    height: auto;
    width: auto;
    text-decoration: underline;
    color: #d4001f;
}

a.standard:hover {
    background: none !important;
    color: #d4001f !important;
    text-decoration: none;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1000px) {

    header {
        height: auto;
    }

    header .double {
        float: none;
        width: 100%;
        height: 137px;
    }

    .row4 > .double span {
        position: static;
        width: 100%;
        height: 100%;
        display: block;
        padding: 25px 0;  
        border-radius: 0;
    } 

    .people li {
        width: 50%;
    }

    .people .media, .people .dobrovolnici {
        width: 100%;    
    }
}

@media only screen and (max-width: 720px) and (min-width: 301px) {


    .row2 > li {
        width: 50%;
    }

    .row4 > li {
        width: 50%;
    }

    .row8 > li {
        width: 25%;
    }

    .row4 > .double {
        width: 100%;
    }
    #content > div div {
        float: none;
        width: 100%;
        padding: 30px;
        max-width: 900px\9;        
    }

    #content > div > img {
        width: 100%;
        float: none;
    }


}

@media only screen and (max-width: 300px) {
    .row2 > li {
        width: 100%;
    }

    .multibox .row2 > li {
        width: 50%;
    }    

    .row4 > li {
        width: 100%;
    }

    .row8 > li {
        width: 50%;
    }

    .row4 > .double {
        width: 100%;
    }

    .multibox {
        height: auto !important;
    }

    .people li {
        width: 100%;
    }    


    #content > div div {
        float: none;
        width: 100%;
        padding: 30px;
        max-width: 900px\9;        
    }

    #content > div > img {
        width: 100%;
        float: none;
    }
    
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.c:before,
.c:after {
    content: " ";
    display: table;
}

.c:after {
    clear: both;
}

.c {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}