@font-face {
    font-family: sourceSerif;
    src: url('font/SourceSerifPro-Regular.ttf');
}
* {
    font-family: sourceSerif, "Times New Roman", serif;
}
body {
    background-color: rgb(206,206,212);
    /* fallback before the background image loads*/
    background-image: url('img/background.jpg');
    background-repeat: repeat;
    background-position: 0 0;
    background-size: 100%;
}
.hlavaImg {
    width: 100%;
    max-width: 600px;
}
.hlavaText{
    position: relative;
    top: -0.1em;
    line-height: 120%;
    font-style: italic;
    font-size: 2em;
}
.hlavaTextGrey1 {
    font-weight: normal;
    font-size: 150%;
    opacity: 0.9;
}
.hlavaTextGrey2 {
    font-weight: normal;
    opacity: 0.8;
}
.hlavaTextGrey3 {
    font-weight: normal;
    opacity: 0.5;
}
.contact {
    color: black;
    font-weight: bold;
    text-align: right;
    margin-top: 5em;
    text-shadow: 0 0 50px rgb(206,206,212);
    line-height: 97%;
}
.lastUpdated {
    line-height: 1.2em;
    font-style: italic;
    font-weight: bold;
}



img {
    display:inline-block;
    margin-left: auto;
    margin-right: auto;
}
.imgBig {
    width: 100%;
    /* TODO prefixy by uz nemely byt potreba (TODO zjistit obecne) */
    -webkit-box-shadow: 7px 10px 2px -5px rgba(0,0,0,0.43);
    -moz-box-shadow: 7px 10px 2px -5px rgba(0,0,0,0.43);
    box-shadow: 7px 10px 2px -5px rgba(0,0,0,0.43);
}
.overlay {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0 1em 0 0.5em;
    color: white;
    white-space: pre-wrap;
}
.commentTitleContainer {
    margin:0;
    padding:0;
}
.commentTitle, .commentComment {
    font-style: italic;
}
.commentTitle {
    font-size: 180%;
}
.commentComment {
    font-size: larger;
    text-align: right
}
.commentLongerText {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0.6em 1.4em 1.6em 0.8em;
    text-align: justify;
    text-shadow: 0 0 10px rgb(206,206,212);
}
.commentLongerText a {
    color: #383838;
    text-decoration: underline;
}

.mini {
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 60px;
    height: 60px;

    -webkit-box-shadow: 2px 2px 1px 0 rgba(0,0,0,0.43);
    -moz-box-shadow: 2px 2px 1px 0 rgba(0,0,0,0.43);
    box-shadow: 2px 2px 1px 0 rgba(0,0,0,0.43);
    transition: all 0.1s;
}
.mini:hover {
    z-index: 1;
    transform: scale(1.2, 1.2);
}

.container {
    margin-left: 4em;
    margin-right: 4em;
    width: auto;
}

.galleryRow {
    margin-bottom: 2em;
}








@media screen and (max-width: 992px) {
    .hlavaText {
        line-height: 1.2em; /*TODO why doesnt work?*/
        font-size: 1.4em;
    }
    .contact {
        margin: 1em 0 1em 0;
    }
    .comment {
        padding: 0;
        text-align: left;
    }
    .container {
        margin-left: 1em;
        margin-right: 1em;
    }
}

@media screen and (max-width: 500px) {
    .hlavaText {
        font-size: 2.4em;
    }
    .container, .container-fluid {
        padding: 0;
    }
    .mini {
        width: 4.2em;
        height: 4.2em;
    }
    .commentLongerText, .commentComment {
        font-size: 1.2em;
    }
    .commentTitle {
        font-size: 1.9em;
        font-weight: bold;
    }
}