body {
	background-color: #fafafa;
	font-size: 14px;
	font-family: "Open Sans", "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.4;
	margin: 0;
}

a {
	text-decoration: none;
}

.title {
	width: 92%;
}

.content, .footer {
	width: 100%;
}

.title, .content, .footer {
	max-width: 800px;
	margin: auto;
}

.text-center {
	text-align: center;
}

.title-header {
	font-weight: 700;
	display: block;
	font-size: 1.8em;
	text-align: center;
	padding: 10px 0 2px;
	line-height: 1;
	margin: 0 0 10px;
}

.flag {
	padding: 15px;
}

.content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding-bottom: 30px;
}

.article-card {
	width: 92%;
	padding: 10px 0;
	border-bottom: 1px #a2a2a2 solid;
}

.article-card.article-single {
	 width: 92%;
}

.article-single .enclosure {
	display: inline-block;
	width: 99%;
	float: none;
	padding-right: 0;
}
.article-single .enclosure img {
	max-height: 200px;
}


.recent-article {
	max-height: 150px;
}

.recent-article .article-title {
	max-height: 80%;
	overflow: hidden;
}

.recent-article .enclosure {
	width: 40%;
	float: left;
	padding: 5px 15px;
	height: 100%;
}

.article-single .article-content {
	display: inline-block;
	max-width: 100%;
	word-wrap: break-word;
}

.article-content {
	font-size: 110%;
	line-height: 1.6;
}

.article-author {
	font-weight: 600;
	margin-top: 5px;
}

.article-pubdate {
	display: inline-block;
}

.article-pubdate:before {
	content: ' :: ';
}

a.article-link {
	font-size: 1.2em;
	font-weight: 600;
	color: darkblue;
}

.recent-article a.article-link {
	font-size: 0.99em;
}

a.article-link:hover {
	color: #4141bf;
}

a.article-link:visited {
	color: darkgrey;
}

.enclosure {
	position: relative;
}

.chip {
	position: absolute;
	top: 10px;
	right: 20px;
	background-color: #f44336;
	padding: 4px 10px;
	border-radius: 12px;
	color: antiquewhite;
	font-size: 0.95em;
}

.enclosure img {
	width: 100%;
	object-fit: cover;
}

.recent-article .enclosure img {
	max-height: 120px;
}

.footer {
	padding: 30px 0 40px 0;
	color: #f1f2f3;
	background: #242208;
}

.footer .text-center {
	margin: 2px 0;
}

/**
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.title-header {
		font-size: 2rem;
	}

	.article-content {
		font-size: 120%;
	}
}

/* Large devices (laptops, 1024px and up) */
@media (min-width: 1024px){
	.title, .content, .footer {
		max-width: 1024px;
	}
	.content.list {
		display: grid;
		justify-content: center;
		grid-template-columns: repeat(2, 1fr);
	}
	.content.list .article-card:nth-child(1) {
		grid-row: 1/3;
	}
	.article-card {
		width: 470px;
	}
}

.category {
    padding-top: 5px;
}

.category-color {
    width: 3px;
    height: 1em;
}

.category-color, .category-text {
    display: inline;
    font-size: 95%;
}

.category-text a {
    text-decoration: none;
    color: #002e44;
    font-weight: 700;
    font-size: 0.9em;
}

.category-text:hover a {
    color: #025b86;
}

.footer .category-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.footer .category-list div {
    width: 80%;
    margin: 4px auto;
    text-align: center;
}

.footer .category-list div a {
    font-size: 1.2em;
    font-weight: 700;
    color: aliceblue;
}

.footer .category-list div a:hover {
    color: #dfdfdf;
}

@media (min-width: 576px) {
    .category-color, .category-text {
        font-size: 105%;
    }

    .footer .category-list div {
        width: 40%;
        text-align: start;
    }
}

.category-general { background-color: #242208; }
.category-politics { background-color: #664290; }
.category-economy { background-color: #179874; }
.category-culture { background-color: #898987; }
.category-science { background-color: #2c57b8; }
.category-health { background-color: #a71216; }
.related-article-cards {
    justify-content: space-between;
}

.related-article-title, .related-article-cards {
    width: 92%;
}

.related-article-title {
    font-style: italic;
    font-size: 1.5em;
    margin: 30px auto 0 auto;
}

.related-article-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-bottom: 30px;
}
.header {
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    z-index: 3;
    top: 0;
}

.header .navbar {
    width: 98%;
    max-width: 1040px;
    margin: auto;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header li a {
    display: block;
    padding: 10px 15px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
    color: #002e44;
    font-weight: 700;
    font-size: 0.9em;
}

.header li a:hover {
    background-color: #f4f4f4;
}

.header .logo {
    float: left;
    padding: 1px 10px 1px 20px;
}

.header .logo img {
    height: 2.1rem;
    margin-top: 3px;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 20px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 380px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

.language-name,
.language-name:hover,
.language-name:focus,
.language-name:active {
    color: #222222;
    font-weight: 600;
    text-decoration: inherit;
}

.header-language-bar {
    margin: 5px 20px;
    padding: 5px;
    display: flex;
    justify-content: center;
}

.header-language-bar .language-name {
    display: none;
    margin-left: 10px;
}

.header-language-bar a {
    padding: 5px 15px;
    border-right: 1px solid #d7dadb;
}

.header-language-bar a.last {
    border-right: none;
}

.header-language-bar {
    display: none;
}
li.languages-row > .header-language-bar {
    display: flex;
}
li.languages-row {
    display: list-item;
}

.title, .article-single {
    margin-top: 4.2em;
}

@media (min-width: 450px) {
    .header-language-bar {
        display: flex;
    }
    li.languages-row {
        display: none;
    }
}

@media (min-width: 768px) {
    .header-language-bar .language-name {
        display: inline;
    }
}

@media (min-width: 1040px) {
    .title, .article-single {
        margin-top: 6.2em;
    }
    .header li {
        float: left;
    }
    .header li a {
        padding: 10px 5px;
    }
    .header .menu {
        margin-left: 10px;
        max-height: none;
    }
    .header .menu-icon {
        display: none;
    }
}
