@font-face {
    font-family: 'XTypewriter';
    src: url('../fonts/XTypewriter/Web Open Font Format (.woff)/XTypewriter-Bold.woff2') format('woff2'),
        url('../fonts/XTypewriter/Web Open Font Format (.woff)/XTypewriter-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'XTypewriter';
    src: url('../fonts/XTypewriter/Web Open Font Format (.woff)/XTypewriter-Regular.woff2') format('woff2'),
        url('../fonts/XTypewriter/Web Open Font Format (.woff)/XTypewriter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body,
#main {
    font-family: 'XTypewriter' !important;
    color: #2f2f2f !important;
    background-color: #f9f7f1 !important;
}

header,
footer,
.navbar,
.navbar>container-fluid {
    background-color: #f9f7f1 !important;
}

.content {
    padding: .5em;
    margin-right: auto;
    margin-left: auto;
}

.masonry {
    display: grid;
    grid-template-columns: repeat(1, minmax(100px, 1fr));
    grid-gap: 10px;
    grid-auto-rows: 0;
}

@media only screen and (max-width: 1023px) and (min-width: 768px) {
    .masonry {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
}

@media only screen and (min-width: 1024px) {
    .masonry {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}

.article_item {
    transition: all .7s;
    text-align: justify;
    hyphens: auto;

    justify-content: center;
    padding: 0.5em;
    margin: 0 0 .5em;
}

/* .article_item+.article_item {
border-left: 1px solid #2f2f2f;
} */

.headline {
    text-align: center;
    line-height: normal;
    font-family: 'XTypewriter';
    display: block;
    margin: 0 auto;
    word-break: auto-phrase;
}

.headline.hl1 {
    font-weight: bold;
    font-size: 30px;
    text-transform: uppercase;
    padding: 10px 0 10px 0;

}

.headline.hl2 {
    font-weight: 400;

    font-size: 24px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl2:before {
    border-top: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 7px;
    display: block;
    margin: 0 auto;
}

.headline.hl2:after {
    border-bottom: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 13px;
    display: block;
    margin: 0 auto;

}

.headline.hl3 {
    font-weight: 400;

    font-size: 36px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl4 {
    font-weight: 700;
    font-size: 12px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl4:before {
    border-top: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 7px;
    display: block;
    margin: 0 auto;
}

.headline.hl4:after {
    border-bottom: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 10px;
    display: block;
    margin: 0 auto;

}

.headline.hl5 {
    font-weight: 400;
    font-size: 42px;
    text-transform: uppercase;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl6 {
    font-weight: 400;
    font-size: 18px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl6:before {
    border-top: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 7px;
    display: block;
    margin: 0 auto;
}

.headline.hl6:after {
    border-bottom: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 10px;
    display: block;
    margin: 0 auto;

}

.headline.hl7 {
    font-weight: 700;
    font-size: 12px;
    box-sizing: border-box;
    display: block;
    padding: 10px 0 10px 0;
}

.headline.hl8 {
    font-weight: 700;
    font-size: 12px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl9 {
    font-weight: 700;
    font-size: 12px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}

.headline.hl10 {
    font-weight: 700;
    font-size: 12px;
    box-sizing: border-box;
    padding: 10px 0 10px 0;
}


.news_header {
    font-family: 'XTypewriter';
    font-weight: 900;
    font-size: 5vw;
    text-transform: uppercase;
    display: inline-block;
    line-height: 72px;
    margin-bottom: 20px;
    display: block;
    background-color: transparent !important;
    line-break: normal;
}

p {
    margin-top: 0;
    margin-bottom: 0 !important;
}

.readmore {
    font-weight: bold;
}

.head {
    text-align: center;
    position: relative;
}

.content a {
    color: #2f2f2f !important;
}

.subhead {
    text-align: right;
    font-size: large;
    border-bottom: 2px solid #2f2f2f;
    border-top: 2px solid #2f2f2f;
    padding: 12px 0 12px 0;
}

.intro_text {
    position: relative;
    width: 30%;
    left: 10px;
    border: 3px double #2f2f2f;
    padding: 10px 15px 10px 15px;
    line-height: 20px;
    display: inline-block;
    margin: 0 50px 20px -360px;
}

.content blockquote {
    font-family: 'XTypewriter', italic;
    font-size: 36px;
    line-height: 44px;
    /*font-style: italic;*/
    text-align: center;
    font-weight: 400;
    display: block;
    margin: 40px 0 40px 0;
    font-feature-settings: "liga", "dlig";
}

.content blockquote:before {
    border-top: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 16px;
    display: block;
    margin: 0 auto;
}

.content blockquote:after {
    border-bottom: 1px solid #2f2f2f;
    content: '';
    width: 100px;
    height: 16px;
    display: block;
    margin: 0 auto;
}

.content .figure {
    margin: 0 0 20px;
}

figure figcaption {
    font-style: italic;
    text-align: right;
    padding-top: 10px;
}

img {
    -webkit-filter: sepia(80%) contrast(1) opacity(0.8);
    filter: sepia(80%) grayscale(1) contrast(1) opacity(0.8);
    mix-blend-mode: multiply;

    -webkit-transition: all 5s;
    -moz-transition: all 5s;
    -o-filter: all 5s;
    -ms-filter: all 5s;
    transition: all 5s;
}

img:hover {
    filter: none;
    -webkit-filter: none;
    -webkit-transition: all 5s;
    -moz-transition: all 5s;
    -o-filter: all 5s;
    -ms-filter: all 5s;
    transition: all 5s;
}

.article_item img {
    width: 100%;
    height: auto;

}

.next {
    margin-left: 10px;
}

#phones p a::after {
    content: none !important;
    /* background-color: #f9f7f1 !important; */
}


/*________________________________________________________________________________________________________________________________*/
/*MEDIAQUERIES*/
@media only all and (max-width: 1300px) {
    .intro_text {
        display: none;
    }

}

@media only all and (max-width: 1200px) {
    .article_item {}

}

@media only all and (max-width: 1000px) {
    .article_item {}

}

@media only all and (max-width: 800px) {
    .article_item {}

    .article_item+.article_item {
        border-left: none;
        border-bottom: 1px solid #2f2f2f;
    }

    header {
        font-size: 60px;
        line-height: 54px;
        overflow: hidden;
    }

}