/*
These all downloaded from https://google-webfonts-helper.herokuapp.com/ in order to be served from here due to CORS issues with the CDN arrangement
*/

@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 300;
  src: url('../webfonts/libre-franklin-v2-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local('Libre Franklin Light Italic'), local('LibreFranklin-LightItalic'),
       url('../webfonts/libre-franklin-v2-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../webfonts/libre-franklin-v2-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../webfonts/libre-franklin-v2-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('../webfonts/libre-franklin-v2-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../webfonts/libre-franklin-v2-latin-300italic.svg#LibreFranklin') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 900;
  src: url('../webfonts/libre-franklin-v2-latin-900italic.eot'); /* IE9 Compat Modes */
  src: local('Libre Franklin Black Italic'), local('LibreFranklin-BlackItalic'),
       url('../webfonts/libre-franklin-v2-latin-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../webfonts/libre-franklin-v2-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../webfonts/libre-franklin-v2-latin-900italic.woff') format('woff'), /* Modern Browsers */
       url('../webfonts/libre-franklin-v2-latin-900italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../webfonts/libre-franklin-v2-latin-900italic.svg#LibreFranklin') format('svg'); /* Legacy iOS */
}






/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color:#222;
    font-size:1em;
    line-height:1.4;
    font-family:'Open Sans', sans-serif;
}

input
{
    color:#222;
	font-size:0.8em;
	line-height:1.6em;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */






*
{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

*:before,
*:after
{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

.clearfix:before,
.clearfix:after
{
	display:table;
	content:" ";
}

.clearfix:after,
.container:after
{
	clear:both;
}

body
{
	font-family:'Libre Franklin', sans-serif;
	font-weight:300;
	font-size:14px;
	font-style:italic;
	background-color:#012438;
	color:#ffffff;
}

.bg-white
{
	background-color:#ffffff;
	color:#012438;
}

a:link,
a:active,
a:visited,
a:hover
{
	text-decoration:none;
	color:#E81E50;
}

a:hover
{
	text-decoration:underline;
}

.outer
{
	padding:30px;
}

.inner
{
	clear:both;
	margin-left:auto;
	margin-right:auto;
	max-width:1000px;
}

.heading
{
	color:#E81E50;
	text-transform:uppercase;
	font-size:1.6em;
	font-weight:900;
}

	.heading .white
	{
		color:#ffffff;
	}

#nav
{
	float:right;
}

	#nav #burger
	{
		width:35px;
		height:23px;
		background-image:url('../img/icon-burger.png');
		background-size:35px 23px;
		cursor:pointer;
	}

	#nav ul
	{
		display:none;
		margin:0;
		text-transform:uppercase;
		list-style-type:none;
		font-size:1.2em;
	}

		#nav ul a:link,
		#nav ul a:active,
		#nav ul a:visited,
		#nav ul a:hover
		{
			text-decoration:none;
			color:#ffffff;
		}

		#nav ul a:hover
		{
			color:#E81E50;
		}

#logo
{
	float:left;
	width:100px;
	height:80px;
	background-image:url('../img/logo.png');
	background-size:100px 80px;
	margin-bottom:30px;
}

#tagline
{
	position:absolute;
	bottom:30px;
}

p:first-child
{
	margin-top:0;
}

p:last-child
{
	margin-bottom:0;
}

#brands
{
	font-weight:300;
	max-width:1000px;
	margin:0 auto;
}

	#brands .row
	{
		display:-webkit-flex;
		display:-ms-flexbox;
		display:flex;
		justify-content:space-between;
		align-items:stretch;
		margin-top:30px;
	}

		#brands .row div
		{
			width:85px;
			height:38px;
			background-size:85px 38px;
			background-repeat:no-repeat;
			text-align:center;
			color:#E81E50;
/* next two lines for the text content */
			padding-top:48px;
			margin-bottom:0;
		}

		#brand-eotk
		{
			background-image:url('../img/brand-eotk.png');
		}

		#brand-manuzone
		{
			background-image:url('../img/brand-manuzone.png');
		}

		#brand-talkchelsea
		{
			background-image:url('../img/brand-talkchelsea.png');
		}

		#brand-caughtoffside
		{
			background-image:url('../img/brand-caughtoffside.png');
		}

		#brand-fanatix
		{
			background-image:url('../img/brand-fanatix.png');
		}

		#brand-footballitalia
		{
			background-image:url('../img/brand-footballitalia.png');
		}

		#brand-unitedstand
		{
			background-image:url('../img/brand-unitedstand.png');
		}

		#brand-cfcfantv
		{
			background-image:url('../img/brand-cfcfantv.png');
		}

		#brand-strettynews
		{
			background-image:url('../img/brand-strettynews.png');
		}

		#brand-anfieldindex
		{
			background-image:url('../img/brand-anfieldindex.png');
		}

		#brand-redmentv
		{
			background-image:url('../img/brand-redmentv.png');
		}

		#brand-chelseanews
		{
			background-image:url('../img/brand-chelseanews.png');
		}

@media only screen and (min-width:410px) {
	.heading
	{
		font-size:1.8em;
	}
}

@media only screen and (min-width:570px) {
	.outer
	{
		padding:60px;
	}

	#logo
	{
		width:150px;
		height:120px;
		background-image:url('../img/logo.png');
		background-size:150px 120px;
		margin-bottom:0;
	}

	#brands .row
	{
		margin-top:60px;
	}

	#tagline
	{
		bottom:60px;
	}
}

@media only screen and (min-width:670px) {
	body
	{
		font-size:18px;
	}

	#brands .row div
	{
		width:180px;
		height:79px;
		background-size:180px 79px;
		padding-top:89px;
		margin-bottom:0;
	}
}

@media only screen and (min-width:830px) {
	body
	{
		font-size:23px;
	}
}

@media only screen and (min-width:1000px) {
	body
	{
		font-size:28px;
	}

	#brands .row div
	{
		width:290px;
		height:128px;
		background-size:290px 128px;
		padding-top:138px;
		margin-bottom:0;
	}
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
