
body, html {
	height: 100%;
	margin: 0;
	padding: 0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Libre Baskerville', serif;*/

    background-color: #000;
    color: #fff;
    background-image: url('../images/bg_earth.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;

    // scroll-behavior: smooth;
}

a[name] {
    position: relative;
    top: -25px;
}

a {
    text-decoration: none !important;
    display: inline-block;
    color: #fff;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

h1, h2, h3 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.4em; }
h3 { font-size: 2em; }
h4 { font-size: 1.6em ; }
h5 { font-size: 1.3em; }
h6 { font-size: .9em; }

button, input, textarea, select {
    font-family: inherit;
}

p {
    margin: .8em 0;
    /* word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto; */
    letter-spacing: 1px;
    line-height: 1.45em;
}

.blue {
    color: #5881be;
}


.button {
    margin: 2em auto;
}
.button a, button {
    display: inline-block;
    border: 2px solid #5881be;
    padding: .8em 1.6em;
    background-color: #000;
    color: #fff;
}

.container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.menu {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 100;
    background-color: #1c1c1c;
    text-transform: uppercase;
}
.menu .container {
    overflow: hidden;
    text-align: center;
}
.menu a {
    display: inline-block;
    font-size: 14px;
    padding: 14px 8px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #8f8f88;
    line-height: 20px
}
.menu a:hover {
    color: #fff;
}
.menu .menu-icon {
    display: none;
    padding-left: 14px;
    padding-right: 14px;
}


.logo {
    text-align: center;
    padding: 135px 0 220px 0;
}

.partner {
    text-align: center;
    background-image: linear-gradient(to right, rgba(0,0,0,.2), rgba(0,0,0,.8), rgba(0,0,0,.2));
}
.partner p {
    max-width: 850px;
    margin: 0 auto;
}
.partner h2 {
    display: inline-block;
    padding: .5em 1.5em;
    margin-top: .75em;
    margin-bottom: .5em;

    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.partner .mouse {
    margin: 1.5em 0;
}

.person {
    padding: 2em 0;
    text-align: center;
}

.person p {
    max-width: 530px;
    margin: 0 auto;
    font-style: italic;
}
.person .author {
    font-weight: 500;
    font-size: 1em;
    font-style: normal;
    margin-top: 1.25em;
}


.block {
    background-image: url(../images/dot_blue.png);
    background-repeat: repeat-y;
    background-position: center top;
}
.block .container {
    display: table;
    table-layout: fixed ;
    width: 100% ;
}
.block .column {
    display: table-cell;
}
.block .box {
    max-width: 700px;
    clear: both;
}
.block .button.more a {
    padding-right: 3.6em;

    background-image: url(../images/link_arrow_down.png);
    background-repeat: no-repeat;
    background-position: right 1.4em center;
    background-size: 18px;
}
.block h3 + p {
    margin: 1.5em auto;
}
.block .box h3  {
    margin-top: 1.5em;
}

.block .box .extension {
    max-height: 0px;
    overflow: hidden;

    transition: max-height 500ms;
}
.block .box.show .extension {
    max-height: 5000px;
}
.block .box .more a:before {
    content: "Více";
}
.block .box.show .more a:before {
    content: "Méně";
}
.block .box.show .more a {
    background-image: url(../images/link_arrow_up.png);
}
.block .lt {
    text-align: right;
}
.block .lt .box {
    margin-left: auto;
}
.block .lt .box  > :not(h3) {
    padding-right: 100px;
}
.block .lt .box > h3:after {
    display: inline-block;
    content: " ";
    width: 80px;
    margin-left: 20px;

    background-image: url(../images/dot_blue.png);
    background-repeat: repeat-x;
    background-position: right center;
}
.block .rt {
    text-align: left;
}
.block .rt .box {
    margin-right: auto;
}
.block .rt .box > :not(h3) {
    padding-left: 100px;
}
.block .rt .box > h3:before {
    display: inline-block;
    content: " ";
    width: 80px;
    margin-right: 20px;

    background-image: url(../images/dot_blue.png);
    background-repeat: repeat-x;
    background-position: right center;
}
.block ul {
    margin: 4em auto;
}
.block ul li {
    margin-top: 2em;

    background-image: url(../images/bullet_circle.png);
    background-repeat: no-repeat;
}
.block .lt ul li {
    padding-right: 70px;

    background-position: right 8px;
}
.block .rt ul li {
    padding-left: 70px;

    background-position: left 8px;
}
.block ul li p {
    margin-top: 2em;
}
.block ul li h3 {
    font-size: 1.6em;
    color: #bdbdbd;
}
.block ul table {
    display: inline-table;
    font-size: .9em;
    margin-top: -2em;
}
.block ul table td {
    padding: .4em 1em;
    white-space: nowrap;
    color: #bdbdbd;
}
.block ul table td:first-child {
    padding-left: 0em;
}
.block ul table td:last-child {
    padding-right: 0em;
}
.block .image {
    margin: 4px 2px;
}

.form {
    text-align: center;
    margin-top: 3em;
}
.form .box {
    padding: 2em;
    margin: 2em auto auto auto;

    background-image: url('../images/bg_clouds.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}
.form .box .button {
    margin: auto;
}

.form .box .more a:before {
    content: "Napište nám";
}
.form .box.show .more a:before {
    content: "Méně";
}
.form .box.show .more a {
    padding-right: 3.6em;

    background-image: url(../images/link_arrow_up.png);
    background-repeat: no-repeat;
    background-position: right 1.4em center;
    background-size: 18px;
}
.form .box .button a {
    font-size: 1.3em;
    background-color: #000;
    padding-left: 2.2em;
    padding-right: 2.2em;
}
.form form .send {
    text-align: right;
    padding: 1em 0em;
}
.form .box .tab {
    display: table;
    table-layout: fixed;
    width: 100%;
}
.form .box .tab > div {
    display: table-cell;
    vertical-align: middle;
}
.form .box .tab > div:first-child {
    text-align: right;
}
.form .box .tab > div:last-child {
    text-align: left;
}
.form .box .tab .pen {
    background-image: url('../images/pen.png');
    background-repeat: no-repeat;
    background-position: center right;
}
.form .box .tab strong {
    display: block;
}
.form form {
    display: flex;
    flex-direction: row;

    max-width: 700px;
    margin: 0 auto;
}
.form form input, .form form textarea {
    border: 1px inset #000;
    padding: .5em;
    width: 100%;
    color: #000;
    background-color: rgba(255,255,255,.9);
    box-shadow: inset 0 0 5px #000;
}
.form form textarea {
    resize: vertical;
}
.form form ::placeholder {
    color: #666;
    font-style: italic;
}
.form form .error input, .form form .error textarea {
    outline: 2px solid red;
}
.form .lt > div, .form .rt > div {
    padding: .2em;
}
.form .lt, .form .rt {
    display: table-cell;
    vertical-align: top;
}
.form .lt {
    width: 40%;
}
.form .rt {
    width: 60%;
}
.form .box h4 {
    font-size: 1.4em;
    color: #ccc;
    margin: 2em auto .5em auto;
}
.form .box .extension {
    max-height: 0px;
    overflow: hidden;

    transition: max-height 500ms;
}
.form .box.show .extension {
    max-height: 800px;
}
.form .box hr {
    max-width: 700px;
    margin: 1.5em auto;
    border-color: #969696;
}
.form .box .copy {
    font-size: .9em;
    letter-spacing: 3px;
    color: #969696;
}

.article .date {
    font-size: 1.3em;
    margin-top: 1.8em;
}
.article h4 {
    font-size: 1.3em;
    margin-top: 1em;
}

.profile ul {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
}
.profile ul li {
    font-size: 1.4em;
    margin-top: 1em;
}
.profile ul + p {
    margin-top: 4em;
}

/*MEDIA QUERY*/
@media (max-width : 1000px) {
    .menu a:not(:first-child) {
        display: none;
        clear: both;
    }
    .menu.responsive a {
        display: block;
    }

    .menu .menu-icon {
        float: right;
        display: block;
    }

    .block {
        background-image: none;
    }

    .block .container {
        flex-direction: column;
    }

    .block .column {
        display: table-row;
    }

    .block .lt .box > h3:after {
        width: 40px;
        margin-left: 20px;
    }

    .block .rt .box > h3:before {
        width: 40px;
        margin-right: 20px;
    }

    .block .lt .box > :not(h3) {
        padding-right: 10px;
    }

    .block .rt .box > :not(h3) {
        padding-left: 10px;
    }

    .block .rt ul li {
        padding-left: 50px;
    }

    .block .lt ul li {
        padding-right: 50px;
    }

    .form form {
         flex-direction: column;
         max-width: 60%;
    }

    .form .lt, .form .rt {
        width: auto;
    }

    .form .box .tab > div {
        display: block;
    }

    .form .box .tab > div:last-child {
        margin-top: 1em;
        text-align: center;
    }
}
