@import url(https://fonts.googleapis.com/css?family=Open+Sans);

* { box-sizing: border-box; }

body { 
  font-family: 'Open Sans', sans-serif;
  color: #666;
  background-color: #FFF;
}

/* STRUCTURE */

.wrapper {
	padding: 5px;
	/* max-width: 960px; */
	width: 95%;
	margin: 20px auto;
}
header {
	padding: 0 15px;
}

.journal-header {
text-align: center;
}

.columns {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 5px 0;
}

.column {
	flex: 1;
	/* border: 1px solid gray; */
	margin: 2px;
	padding: 10px;
	&:first-child { margin-left: 0; }
	&:last-child { margin-right: 0; }
}

.columns div:first-child {

}

.columns div:last-child {
	flex: 45%;
}

footer {
	padding: 0 15px;
	text-align: center;
}


@media screen and (max-width: 980px) {
  .columns .column {
		margin-bottom: 5px;
    flex-basis: 40%;
		&:nth-last-child(2) {
			margin-right: 0;
		}
		&:last-child {
			flex-basis: 100%;
			margin: 0;
		}
	}
}

@media screen and (max-width: 680px) {
	.columns .column {
		flex-basis: 100%;
		margin: 0 0 5px 0;
	}
}

.line-indented {
	text-indent: 1.5em;
	font-weight: bold;
}

.css-adaptive {
	display: block;
	max-width: 100%;
	margin: auto;
	height: auto;
}

.adaptive-title {
	display: block;
	width: 400px;
	max-width: 100%;
	margin: auto;
	height: auto;
}

A {
	color: #3B0337;
	font-weight: bold;
   }

   a:hover {
    color: #800000; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: underline; /* Добавляем подчеркивание */
   }

/* INDEX */

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.block {
    font-size: 30px;
    width: 250px;
    height: 100px;    
    text-align: center;
    line-height: 100px;
}

/* ARCHIVE */
  
  .column-arch {
	float: left;
	max-width: 50%;
	padding: 10px;
	height: 300px;
  }
  
  .row:after {
	content: "";
	display: table;
	clear: both;
  }