﻿body {
	padding-top: 20px;
	padding-bottom: 20px;
}

.container {
	max-width: 1010px;
}

/* Headings */

h2 {
	margin-top: 50px;
	text-align: center;
}

h3 {
	text-align: center;
}

.underlined-h3 h3, .underlined-h4 h4 {
	margin-top: 50px;
	margin-bottom: 14px;
	text-align: center;
}

.underlined-h3 hr, .underlined-h4 hr {
	margin-top: 0;
	margin-bottom: 20px;
	width: 100px;
}

hr {
	margin-top: 40px;
	border-color: #000;
}

/* Use very little padding on mobile devices */
@media (max-width: 767px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Font-awesome link fix */
a i::after {
	content: '';
	display: inline-block;
	padding-left: 4px;
}

/* ============================== Logo ============================== */

#abosite-topsection {
	position: relative;
	padding-bottom: 5px;
	border-bottom: 1px solid black;
}

@media (min-width: 768px) {
	#abosite-topsection {
		min-height: 90px;
	}
}

#abosite-topsection h1 {
	padding: 0;
	margin: 0;
	display: inline-block;
}

/* ============================== Top advert carousel ============================== */

#abosite-carousel-small {
	position: absolute;
	right: 0;
	bottom: 10px;
}

.abosite-carousel-small-buttonlink {
	position: absolute;
	bottom: 0;
	right: 110px;
	width: 150px;
	text-align: left;
}

	.abosite-carousel-small-buttonlink:hover {
		text-decoration: none;
	}

	.abosite-carousel-small-buttonlink .btn-sm {
		margin-top: 3px;
	}

#abosite-carousel-small div.item img {
	float: right;
	height: 90px;
}

/* ============================== Navigation ============================== */

/* Centers items in navbar */
@media (min-width: 768px) {

	.navbar .container-fluid, .navbar .navbar-collapse {
		padding-right: 3px;
	}

	.navbar .navbar-nav {
		display: inline-block;
		float: none;
		vertical-align: top;
	}

	.navbar .navbar-collapse {
		text-align: center;
	}
}

/* Removes navbar colors */
/* http://work.smarchal.com/twbscolor/ */

.navbar-default {
	background-color: #ffffff;
	border-color: #ffffff;
}

	.navbar-default .navbar-brand {
		color: #090e0f;
	}

		.navbar-default .navbar-brand:hover,
		.navbar-default .navbar-brand:focus {
			color: #585858;
		}

	.navbar-default .navbar-text {
		color: #090e0f;
	}

	.navbar-default .navbar-nav > li > a {
		color: #090e0f;
	}

		.navbar-default .navbar-nav > li > a:hover,
		.navbar-default .navbar-nav > li > a:focus {
			color: #585858;
		}

	.navbar-default .navbar-nav > .active > a,
	.navbar-default .navbar-nav > .active > a:hover,
	.navbar-default .navbar-nav > .active > a:focus {
		color: #585858;
		background-color: #ffffff;
	}

	.navbar-default .navbar-nav > .open > a,
	.navbar-default .navbar-nav > .open > a:hover,
	.navbar-default .navbar-nav > .open > a:focus {
		color: #585858;
		background-color: #ffffff;
	}

	.navbar-default .navbar-toggle {
		border-color: #ffffff;
	}

		.navbar-default .navbar-toggle:hover,
		.navbar-default .navbar-toggle:focus {
			background-color: #ffffff;
		}

		.navbar-default .navbar-toggle .icon-bar {
			background-color: #090e0f;
		}

	.navbar-default .navbar-collapse,
	.navbar-default .navbar-form {
		border-color: #090e0f;
	}

	.navbar-default .navbar-link {
		color: #090e0f;
	}

		.navbar-default .navbar-link:hover {
			color: #585858;
		}

@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #090e0f;
	}

		.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
		.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
			color: #585858;
		}

	.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #585858;
		background-color: #ffffff;
	}
}

/* ============================== Bottom ============================== */

#abosite-bottom {
	margin-top: 150px;
	border-top: 1px solid #ebebeb;
	padding-top: 5px;
}

	#abosite-bottom h4 {
		margin-bottom: 20px;
		font-weight: bold;
	}

	#abosite-bottom ul {
		list-style-type: none;
		padding-left: 0;
	}

	#abosite-bottom .well {
		margin-top: 10px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background-color: #ebebeb;
	}

/* Bottom bar */

#abosite-bottomlogo a {
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-size: 20px;
	color: black;
	font-weight: bold;
}

#abosite-address p {
	margin-top: 10px;
	margin-bottom: 0;
	text-align: center;
	font-size: small;
}

@media (min-width: 768px) {
	#abosite-address p {
		margin-top: 6px;
	}
}


/* ****************************** BLOCKS ****************************** */
/* ****************************** BLOCKS ****************************** */
/* ****************************** BLOCKS ****************************** */


/* ============================== About Control ============================== */

#abosite-about div {
	margin-top: 30px;
	font-weight: bold;
	font-size: larger;
}

/* ============================== Articles Control ============================== */

#abosite-articles {
	margin-top: 30px;
}

.article-image {
	position: relative;
	width: 100%;
	height: 183px;
	overflow: hidden;
}

	.article-image img {
		margin: auto;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}

/* ============================== Contacts Control ============================== */

#abosite-contacts-editorialstaff-content {
	text-align: center;
}

#abosite-contacts-customerservice-content {
	text-align: center;
}

/* ============================== Newsletter Control ============================== */

#newsletter span {
	display: block;
	text-transform: initial;
}

#abosite-newsletter {
	max-width: 500px;
	margin: 0 auto;
	text-align: center;
}

#abosite-newsletter-link {
	text-decoration: underline !important;
	cursor: pointer;
}

/* ============================== Sneak Peak Control ============================== */

#abosite-sneakpeak-large {
	margin-top: 30px;
	position: relative;
	display: inline-block;
}

	#abosite-sneakpeak-large p {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		padding: 20px;
		width: 250px;
		background-color: white;
		font-family: 'Prata', sans-serif;
		font-size: 16px;
		text-transform: uppercase;
		text-align: center;
	}

@media (min-width: 768px) {

	#abosite-sneakpeak-large {
		margin-top: 0px;
	}

		#abosite-sneakpeak-large img.abosite-sneakpeak-large-maxheight {
			max-height: 281px;
		}

		#abosite-sneakpeak-large p {
			font-size: 20px;
			width: 300px;
		}
}

@media (min-width: 995px) {
	#abosite-sneakpeak-large img.abosite-sneakpeak-large-maxheight {
		max-height: 374px;
	}

	#abosite-sneakpeak-large p {
		font-size: 26px;
		width: 400px;
	}
}

@media (min-width: 1200px) {
	#abosite-sneakpeak-large img.abosite-sneakpeak-large-maxheight {
		max-height: 392px;
	}
}

/* ============================== Subscription Top Advert ============================== */

/* Bootstrap Carousel */

.carousel-wrapper {
	position: relative;
	margin-bottom: 80px;
}

	.carousel-wrapper .abosite-advertgradient {
		text-align: center;
		line-height: 0;
	}

		.carousel-wrapper .abosite-advertgradient img {
			max-width: 100%;
		}

.carousel-indicators {
	bottom: -50px;
}

	.carousel-indicators li {
		background-color: #adadad;
		background-color: rgba(70,70,70,.25);
		width: 13px;
		height: 13px;
	}

	.carousel-indicators .active {
		background-color: #adadad;
		width: 13px;
		height: 13px;
		margin: 1px;
	}

.carousel-inner img {
	margin: auto;
}

/* ============================== Tag Control ============================== */

#abosite-tags {
	line-height: 20px;
	text-align: center;
	margin: 0 auto;
	max-width: 700px;
}

	#abosite-tags a {
		margin: 5px;
		color: #555;
		white-space: nowrap;
	}

#abosite-tags-socialmedia {
	text-align: center;
	margin-top: 40px;
}

	#abosite-tags-socialmedia img {
		margin-left: 10px;
	}

	#abosite-tags-socialmedia h5 {
		text-transform: initial;
		display: inline;
	}
