import url("https://fonts.googleapis.com/css?family=Open+Sans");

* {
	padding: 0;
	margin: 0;
	outline: 0
}

body {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif
}

.header {
	background: #225f7e;
	padding: 1rem 3.25rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

/* Changes the vertical padding on the header to match the BBC site but keeps the horizontal padding the same as it was. */
.header {
      padding: 10px 2rem;
}

/* Sets the dimensions of the image, same as the the BBC site */
.header .header__logo {
    height: 105px;
    width: auto;
    padding: 10px 0;
}

/* Tells the image to use all the available height, and set width according to the image ratio */
.header .header__logo img {
    height: 100%;
    width: auto;
}

@media (max-width: 576px) {
	.header .header__logo {
		margin: 0 auto
	}
}

.header .header__links {
	color: #fff
}

@media (max-width: 576px) {
	.header .header__links {
		display: none
	}
}

.header .header__links ul {
	list-style: none
}

.header .header__links ul li {
	display: inline-block;
	margin-left: 1.2rem
}

.header .header__links ul li a {
	color: #fff;
	text-decoration: none
}

.header .header__links ul li a:hover {
	text-decoration: underline
}

.footer {
	padding: 2rem 12.35rem;
	background: #fff;	
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	line-height: 5.0;
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	background-image: url("/publicaccesslive/webresources/images/bbc/footerImage.png");
	background-size: 100% 125px;
	background-repeat: no-repeat;
	background-position-y: bottom
}

@media (max-width: 576px) {
	.footer {
		padding: 1rem;
		text-align: center
	}
}

.footer div {
	padding: 1rem
}

@media (max-width: 576px) {
	.footer div {
		margin: 1rem auto
	}
}

.footer .footer__legal li {
	list-style: none
}

.footer .footer__legal li a {
	color: white;
	text-decoration: none
}

.footer .footer__legal li a:hover {
	text-decoration: underline
}

.footer .footer__telephone a {
	color: #fff;
	text-decoration: none
}

.footer .footer__social img {
	width: 48px;
	height: 48px;
	margin: 1rem 0
}

.footer .footer__social img[alt="Twitter"]:hover {
	background: #00aced;
	border-radius: 7px
}

.footer .footer__social img[alt="Facebook"]:hover {
	background: #3b5998;
	border-radius: 7px
}

.footer .footer__social img[alt="YouTube"]:hover {
	background: #bb0000;
	border-radius: 7px
}