/* Toto CSS pochází z POC a bylo psáno spontánně, bez ladu a skladu, jako Jack Kerouac */

body, html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    background: #eee;
    color: #222;
}

header {
    background: #288128;
    color: white;
}

nav, article {
    max-width: 1200px;
    margin: auto;
}

nav {
    padding: 1em 0;
}

h1 {
    font-size: 1.9em;
    font-weight: 500;
    max-width: 60%;
}

nav h1, nav a {
    margin: 12px;
}

nav .back {
    float: right;
    display: inline-block;
    margin-top: -2.9em;
    margin-right: 2.2em;
    border-radius: 4px;
    display: inline-block;
    padding: .4em .8em;
}

nav .back:hover, nav .back:focus {
    background-color: rgba(0,0,0,.2);
}

h1 sup {
    font-size: .5em;
    text-transform: uppercase;
    font-weight: 400;
    margin-left: .25em;
}

article {
    padding: 20px 0;
}

article::after {
    content: '';
    display: block;
    clear: both;
}

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

.box {
    background: white;
    width: 31%;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.06),
                0px 1px 5px rgba(0, 0, 0, 0.04),
                0px 1px 7px rgba(0, 0, 0, 0.02);
    position: relative;
    margin: 10px;
    float: left;
    min-height: 24.5em;
    min-width: 10em;
}

.box .content {
    padding: 18px 20px 6em;
}

.box .summary {
    padding: 17px 20px;
    border-top: 1px solid #E1E1E1;
    background: white;
    position: absolute;
    bottom: 0;
    width: auto;
    left: 0;
    right: 0;
}

.summary p {
    margin: 0;
    padding: 0;
}

.box.wide {
    width: 96.24%;
}

label {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

label span {
    display: block;
}

h2 {
    font-weight: 400;
    font-size: 20px;
    line-height: 45px;
    padding: 3px 20px 0;
    margin: 0;
    border-bottom: 1px solid #E1E1E1;
}

h2 small {
    color: silver;
    margin-left: .4em;
    font-weight: 300;
}

h2 .fa {
    color: #999;
    position: absolute;
    right: .8em;
    top: .8em;
    font-weight: normal;
}

ul {
    margin: -1px 0;
    padding: 0 1em;
}

li {
    color: #ddd;
    margin-bottom: .5em;
}

li span:first-child, label span:first-child {
    color: #666;
    font-weight: 300;
}

li .result {
    color: black;
    display: inline-block;
}

.error {
    color: #D50000 !important;
    font-weight: inherit !important;
}

.red {
    color: #D50000;
}

.green {
    color: #0D8A03;
}

.orange {
    color: #d80;
}

.summary a {
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover, a:focus {
    text-decoration: underline;
}

strong {
    color: black;
    font-weight: 500;
}

strong[title], span[title] {
    cursor: help;
}

.button {
    background: #0A467B;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    padding: .4em .8em;
    margin-bottom: 1.2em;
    font-size: inherit;
    font-family: inherit;
    border: none;
    outline: none;
    transition: background 500ms;
}

.button[disabled] {
    background: #e3e3e3 !important;
    cursor: no-drop;
    transition: none;
}

.button:hover, .button:focus  {
    background: #07345C;
}

.button:active {
    background: #05233D;
}

ul + .button {
    margin-top: .75em;
}

/* fullwidth variant for MSIE page */

.narrow nav, .narrow article {
    max-width: 760px;
}

.box.full {
    width: 100% !important;
}

.box.full .content {
    padding-left: 30px;
    padding-right: 30px;
}

.box.full h2 {
    padding-left: 0;
    border: none;
}

.box.full ul, .box.full ol {
    padding: 0 3em;
    margin: 0;
}

.box.full li {
    color: inherit;
}

.box.full ol li {
    margin-bottom: 3em;
}

.box.full p, .box.full ul, .box.full ol {
    margin-bottom: 1.5em;
}

.box.full a {
    color: #0A467B;
    text-decoration: underline;
}

.box.full ol img {
    margin: .5em 0;
    display: block;
    box-shadow: 1px 1px 10px silver;
    opacity: .75;
    transition: opacity .35s;
}

.box.full img:hover {
    opacity: 1;
}

ul.columns {
    padding: 0 !important;
    list-style-type: none;
}

ul.columns li {
    box-sizing: border-box;
    float: left;
    width: 33%;
    text-align: center;
    margin: 0;
    padding: .5em 1.75em;
}

ul.columns li:last-child {
    padding: .5em 1em;
}

ul.columns li img {
    display: block;
    height: 4em;
    width: auto;
    margin: 0 auto .66em;
}

ul.columns:after {
    content: '';
    display: block;
    clear: both;
}

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

    .box {
        width: 47% !important;
    }

} /* 900- */

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

    .box, .box.full {
        width: 95% !important;
        min-height: 0;
    }

    ul.columns li {
        width: 100%;
        padding: 1em im !important;
    }

} /* 700- */

