@font-face {
    font-family: 'Gregor';
    src: local('Gregor'), url('/fonts/gregor.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Gregor' !important;
}

.margins {
    margin-top: 100px;
    margin-bottom: 200px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.title {
    font-size: 40px;
    line-height: 42px;
    max-width: 800px;
}

.images {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
}

.imagebox {
    min-width: 220px;
    min-height: 22px;
    width: 220px;
    height: 220px;
    padding: 10px;
}

.thumb {
    max-width: 100%;
    max-height: 100%;
}

.buttons {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 100px;
}

.post-image-container {
    padding-bottom: 40px;
    position: relative;
}

.rate-buttons-container {
    position: absolute;
    right: 0;
    bottom: 0;
}

.rate-buttons {
    display: flex;
}

.rate-buttons .rate-button {
    width: 32px;
    height: 32px;
    opacity: 0.5;
    cursor: pointer;
}

.rate-buttons .rate-button.active {
    opacity: 1;
}

p.text {
    max-width: 800px;
}

blockquote {
    font-style: italic;
    padding: 40px;
    max-width: 800px;
    font-size: 30px;
}

@media screen and (max-width: 800px) {
    p.text {
        max-width: 100%;
    }
    
    blockquote {
        max-width: 100%;
        padding: 20px;
        font-size: 20px;
    }

    .title {
        font-size: 30px;
        line-height: 32px;
        max-width: auto;
        overflow: hidden;
    }
}

.comments {
    margin-top: 50px;
}

.comment {
    margin-bottom: 40px;
}

.comment .user-name {
    margin-bottom: 10px;
}

.comment-form {
    margin-top: 50px;
}

.comment-form .form-group {
    margin-top: 20px;
}

.rate-button-up {
    background-position: center;
    background-size: cover;
    background-image: url('/images/icons/iconUp.png');
}

.rate-button-down {
    background-position: center;
    background-size: cover;
    background-image: url('/images/icons/iconDown.png');
}

.rate-button-funny {
    background-position: center;
    background-size: cover;
    background-image: url('/images/icons/iconFunny.png');
}

.block-to-expand {
    display: none;
}

.text-block-expander.collapsed span {
    border-bottom: dashed 1px;
}

.spinner {
    display: block;
    margin-top: 200px;
    margin-bottom: 200px;
    margin-left: 200px;
    object-fit: contain;
}

.spinner-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

@media screen and (max-width: 800px) {
    .spinner-container {
        width: 100%;
        max-width: 100%;
    }

    .spinner-container img {
        width: 100%;
        max-width: 100%;
        object-fit: contain;
    }
}
