body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    margin: 0;
}

b {
    font-weight: 600;
}

a {
    outline: none;
}

.page-center {
    max-width: 1200px;
    margin: auto;
}

.align-center {
    text-align: center;
}

.clear {
    clear: both;
}

.spacer {
    flex: 1;
}

header {
    box-shadow: 0 0 3px #4d4d4d;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ffffff;
    padding: 5px 10px;
}

.header {
    display: flex;
    align-items: center;
}

#home {
    text-decoration: none;
}

#system-name {
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    color: #3d3d3d;
    text-transform: uppercase;
    vertical-align: middle;
    display: inline-block;
}

#logo {
    height: 60px;
    margin-right: 10px;
    vertical-align: middle;
}

#menu a {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    margin: 3px 10px;
    display: inline-block;
}

#menu a:hover, #menu a.sel {
    color: #001987;
}

@media (max-width: 900px) {
    .header {
        display: block;
        text-align: center;
    }

    #home {
        display: block;
        margin: 8px 0;
    }

    #menu {
        margin: 10px 0;
    }
}

footer {
    background-color: #0a1433;
    text-align: center;
    color: white;
    padding: 5px 0;
}

/* COMMON */

h2 {
    margin: 0 0 10px;
    color: #001c6b;
    font-size: 22px;
}

p, ul, ol {
    margin: 10px 0;
}

/* UVOD */

.nadpis {
    font-size: 36px;
    color: #142966;
    margin: 10px 0 20px;
}

.sekce-obrazek img {
    max-width: 400px;
    max-height: 300px;
    display: block;
}

@media (max-width: 900px) {
    .sekce-obrazek {
        display: none;
    }
}

/* REFERENCE */

.titulek {
    text-align: center;
    font-size: 30px;
    font-weight: normal;
    margin: 15px 0;
    color: #4d4d4d;
    text-transform: uppercase;
}

section {
    padding: 40px;
}

section.light {
    background-color: #fcfcfc;
}

section.dark {
    background-color: #f0f0f0;
}

.organizace-skupina {
    text-align: center;
    font-size: 30px;
    color: #4c4c4c;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .organizace {
        padding: 20px 0;
    }
}

@media (min-width: 701px) {
    .organizace-seznam {
        display: flex;
        flex-wrap: wrap;
    }

    .organizace {
        padding: 40px;
        width: 50%;
    }

    .organizace-logo {
        float: right;
        margin: 0 0 20px 20px;
    }
}

.organizace {
    line-height: 1.5;
    box-sizing: border-box;
}

.organizace-logo {
    max-width: 200px;
    max-height: 125px;
}

.organizace-nazev {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px;
}

.organizace-osoba {
    margin: 15px 0;
}

.osoba-jmeno {
    font-weight: bold;
}

.osoba-pozice {
    color: #4d4d4d;
}

.organizace-citace {

}

.organizace-citace:before {
    content: '„';
}

.organizace-citace:after {
    content: '“';
}

.organizace-web {
    color: #002699;
}

.organizace-web i {
    margin-right: 10px;
    width: 15px;
    text-align: center;
}

.organizace-web a {
    color: inherit;
}

.button {
    background-color: #001762;
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    margin: 10px 0;
    border-radius: 3px;
    display: inline-block;
    text-decoration: none;
}

.button:hover {
    background-color: #00174b;
}

/* FORMULAR */

.formular {
    max-width: 800px;
    margin: 25px auto;
}

.formular-sekce {
    color: #808080;
    margin: 10px 0;
    text-transform: uppercase;
}

.formular-pole {
    padding: 10px 15px;
    flex-grow: 1;
}

.formular input,
.formular textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 10px 15px;
    box-sizing: border-box;
    border: solid 1px #b3b3b3;
    width: 100%;
}

.formular textarea {
    height: 160px;
    resize: none;
}

.formular input:focus,
.formular textarea:focus {
    outline: solid 1px #002080;
}

.tlacitko {
    background-color: #172e73;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-family: inherit;
    font-weight: bold;
    font-size: 15px;
    border: none;
    padding: 10px 18px;
    margin: 20px 10px 0;
    cursor: pointer;
}

.tlacitko:hover {
    background-color: #142966;
}

.tlacitko.bile {
    background-color: #f2f2f2;
    color: black;
}

.tlacitko.bile:hover {
    background-color: #e6e6e6;
}

.formular .souhlas {
    width: auto;
    box-shadow: none;
}

.formular .souhlas:focus {
    outline: none;
}

.formular .souhlas:checked {
    outline: solid 1px #002080;
}

.formular .rozdeleni {
    display: flex;
}

.formular-text {
    align-self: center;
    margin-left: 10px;
}

.uspech, .chyba {
    text-align: center;
    font-weight: bold;
    padding: 20px 40px;
    color: white;
}

.uspech {
    background-color: #296642;
}

.chyba {
    background-color: #993d54;
}

.sekce-text {
    flex-grow: 1;
}

.sekce-modra {
    background-color: #293866;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 40px;
    color: white;
}

.sekce-modra .tlacitko {
    font-size: 16px;
    margin: 0;
}

/* MODULY */

.modul-text {
    flex-grow: 1;
}

@media (max-width: 700px) {
    .modul-text:first-child {
        margin-bottom: 20px;
    }
}

@media (min-width: 701px) {
    .page-split {
        display: flex;
    }

    .modul-text:first-child {
        margin-right: 40px;
    }
}

.modul-nazev {
    color: #333333;
    font-size: 26px;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.modul-nazev span {
    vertical-align: middle;
}

.modul-nazev .modul-ikona {
    margin-right: 15px;
}

.modul-ikona {
    background-image: url('/img/moduly.png');
    width: 50px;
    height: 50px;
    background-size: auto 100%;
    display: inline-block;
}

.modul-obrazky {
    text-align: center;
}

.modul-obrazky img {
    box-shadow: 0 0 3px #b3b3b3;
    max-width: 200px;
    margin-top: 15px;
    z-index: 1;
}

.modul-obrazky img:first-child {
    max-width: 250px;
    margin: 0;
}

/* CENIK */

.package-name {
    color: black;
    text-transform: uppercase;
}

.package-name span {
    vertical-align: middle;
}

.cenik-ikona {
    background-color: #353535;
    color: white;
    font-size: 25px;
    padding: 12px;
    width: 30px;
    height: 25px;
    border-radius: 50%;
    margin-right: 15px;
    text-align: center;
}

.cenik-modul {
    display: inline-block;
    padding: 10px;
    margin: 10px;
    width: 100px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}

.cenik-modul .modul-ikona {
    margin-bottom: 10px;
}

.cenik-modul:hover {
    box-shadow: 0 0 2px #b0b0b0;
}

.polovina {
    width: 50%;
}

.cenik-seznam {
    list-style-type: none;
    padding-left: 15px;
    margin: 15px 0;
}

.cenik-seznam li {
    margin: 5px 0;
}

.cenik-seznam li i {
    margin-right: 10px;
}

.cena {
    color: #cc2952;
    font-size: 20px;
    font-weight: 600;
}

.cena span {
    vertical-align: middle;
}

.cena .cislice {
    font-size: 50px;
    margin-right: 10px;
}

/* KONTAKTY */

.kontakt-ikona {
    align-self: center;
    background-color: #333333;
    color: white;
    width: 60px;
    line-height: 60px;
    text-align: center;
    padding: 5px;
    font-size: 30px;
    border-radius: 50%;
    margin-right: 30px;
    flex-shrink: 0;
}

.contact-name {
    margin: 0;
}

.contact-position {
    margin-bottom: 10px;
    color: #545454;
    font-weight: 600;
}

.contact-item {
    margin: 8px;
    font-weight: 600;
}

.contact-item span {
    vertical-align: middle;
}

.contact-icon {
    font-size: 20px;
    margin-right: 8px;
    color: #00287f;
}

.fakturace-logo {
    float: left;
    height: 125px;
}

/* BLOG */

.blog-date {
    float: right;
    font-weight: 600;
    color: #575757;
}

.blog-date span {
    margin: 3px;
    vertical-align: middle;
}

/* IKONY */

.modul-ikona.modul-krouzky {background-position-x: 0}
.modul-ikona.modul-zaci {background-position-x: 600%}
.modul-ikona.modul-tridnice {background-position-x: 500%}
.modul-ikona.modul-prihlasky {background-position-x: 400%}
.modul-ikona.modul-platby {background-position-x: 300%}
.modul-ikona.modul-akce {background-position-x: 200%}
.modul-ikona.modul-uzivatele {background-position-x: 100%}