.page-header {
	background-image: url('img/banner.jpg');
	background-size: cover;
	margin: 0;
	margin-bottom: -1px !important;
}

.page-header h1 {
	padding: 5px 0;
}

.page-header a {
	color: white;
	text-shadow: 0 0 3px black;
}

#language-list {
	padding-top: 2px;
	padding-right: 6px;
	text-align: right;
}

.exercise .georgian {
	font-size: 1.2em;
	text-align: left !important;
}

.georgian label {
	font-weight: normal;
	text-align: left !important;
}

.exercise .hint {
	display: inline-block;
	padding-top: 5px;
	vertical-align: middle;
}

.exercise .row + .row {
	margin-top: 4px;
}

.exercise {
	margin-bottom: 1em;
}

.exercise img {
	margin-bottom: 4px;
}

.jumbotron h1 {
	font-size: 2em;
}

.jumbotron p {
	font-size: 1.25em;
}

.jumbotron img {
	margin-left: 5px;
}

table.alphabet .georgian {
	font-size: 1.8em;
}

table.alphabet td, table.alphabet th, table.consonants td, table.consonants th {
	vertical-align: middle !important;
}

table.consonants {
	width: auto;
	margin: auto;
}

table.consonants td {
	text-align: center;
	font-size: 1.5em;
}

table.consonants tr:first-child th {
	text-align: center;
	font-size: 1.1em;
}

ul.lessons {
	font-size: 1.5em;
}

table + p, img + p {
	margin-top: 1em;
}

footer div {
	margin: auto;
	width: 85%;
	border-top: 1px solid #B0B0B0;
	text-align: center;
	font-size: 0.9em;
	padding: 0.4em 0;
}

footer div, footer div a, footer div a:hover, footer div a:active {
	color: #707070;
}

.translit button {
	display: block;
	margin: 8px auto;
}

form:last-child {
	margin-bottom: 8px;
}

.ad-right {
	float: none;
	width: 100%;
}

.ad-bottom {
	width: 100%;
	margin-bottom: 8px;
}

.audio {
	display: inline-block;
	height: 30px;
	padding-top: 4px;
	padding-right: 2px;
	vertical-align: middle;
}

.audio img {
	cursor: pointer;
	vertical-align: middle;
}

.audio img:hover {
	opacity: 0.8;
}

p .audio {
	padding: 0;
	padding-left: 4px;
	height: 1em;
	vertical-align: baseline;
}

p .audio img {
	height: 1em;
	width: auto;
	vertical-align: middle;
	margin-bottom: 3px;
}

@media (min-width: 768px) {
	.page-header .container {
		height: 130px;
	}

	.jumbotron {
		padding: 0.5em 1.6em !important;
	}

	.jumbotron h1 {
		font-size: 2.4em;
	}

	.ad-right {
		float: right;
		width: 35%;
	}

	.col-exercise {
		padding: 0 5px;
	}

	.col-exercise:last-child {
		padding-left: 1rem;
	}

	.col-img-exercise {
		padding-right: 5px;
	}
}
