/*  
Theme Name: Federal Circus Bill theme (v1)
Theme URI: https://www.bananadesign.co.uk/
Description: WordPress theme for Federal Circus Bill.
Version: 1.0
Author: Dave McCourt, Bananadesign Ltd
Author URI: https://www.bananadesign.co.uk/
*/

body, .pure-g [class *= "pure-u"], .pure-g-r [class *= "pure-u"] {
	font-family: "proxima-nova",sans-serif;
	font-style: normal;
	font-weight: 400;
}

body {
	font-size: 1em;
	line-height: 1.5;
	color: #777;
	background: #211d70;
}


#mobile-nav {
	display: none;
}

.wrap {
	max-width: 62.5em;
	margin: 0 auto;
	position: relative;
}

.main-content {
	padding: 1em 2em 2em 2em;
}

.white-bg {
	background: #fff;
}

h1 {
	font-size: 2.5em;
	margin: 0;
}

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5, h6 a {
	color: #211d70;
	text-decoration: none;
}

h2 {
	margin: 1em 0 0.25em 0;
}

h3, h4 {
	margin: 0.75em 0 0.25em 0;
}

p {
	margin: 0 0 1em 0;
}

div[role="banner"] {
	position: relative;
}

div[role="banner"] h1 {
	position: absolute;
	top: 1em;
	left: 1em;
	width: 10em;
	color: #fff;
	display: block;
	width: 100%;
	height: 4em;
	z-index: 99;
}

.adilogo {
	position: absolute;
	top: 2.5em;
	right: 1em;
	z-index: 98;
}

h1 a {
	color: #fff;
	text-decoration: none;
}

article {
	font-size: 1.125em;
}

#mainmenu-nav {
	padding: 0.5em;
}

#mainmenu-nav ul {
	margin: 0;
	padding: 0;
	font-family: "proxima-nova",sans-serif;
	font-style: normal;
	font-weight: 600;
	background-color: #211d70;
}

#mainmenu-nav ul li a {
	font-size: 1.25em;
	color: #fff;
	padding-top: 0.6em;
	padding-bottom: 0.6em;
}

#mainmenu-nav ul li a:hover {
	color: #ccc;
	background-color: #211d70;
}

img {
	padding: 0;
	margin: 0;
	display: block;
}

.intro {
	font-size: 1.125em;
	font-weight: normal;
	color: #211d70;
}

.social-share-buttons {
	border-top: solid 1px #eee;
	border-bottom: solid 1px #eee;
	margin-bottom: 1em;
}

div.bd-facebook, div.bd-twitter {
	width: 19%;
	float: left;
}

div.bd-twitter {
	padding: 0.4em 0 0 0;
}

/* PureCSS grids have no padding by default */
.inner-0-5 {
	padding: 0.5em;
}

.inner-1-0 {
	padding: 1em;
}

.inner-r-1-0 {
	padding: 0 1em 0 0;
}

.inner-2-0 {
	padding: 2em;
}

.left-25 {
	float: left;
	width: 25%;
}

.left-50 {
	float: left;
	width: 50%;
}

.right-25 {
	float: right;
	width: 25%;
}

.right-50 {
	float: right;
	width: 50%;
}

.right-75 {
	float: right;
	width: 75%;
}

.issues {
	margin: 2em 0;
	font-size: 0.875em;
	color: #211d70;
	border-top: solid 0.07142857142857em #211d70;
	background-color: #eee;
}

.item-list {
	margin: 1em 0 0.25em 0;
}

.item-list a {
	color: #444;
	text-decoration: none;
	border: none;
}

.issues .item-list a {
	color: #211d70;
	text-decoration: none;
	border: none;
}

article a {
	color: #222;
	border-bottom: solid 0.0625em #ccc;
	text-decoration: none;
}

article a:hover {
	background-color: #eee;
}

li {
	margin: 0.5em 0;
}

footer {
	margin: 1em 0;
	color: #fff;
}

footer a {
	color: #fff;
	border-bottom: solid 0.0625em #fff;
	text-decoration: none;
}

iframe {
	border: none;
	width: 100%;
	height: 400px;
}

/* Responsive images: 
https://wordpress.stackexchange.com/questions/32931/removing-image-and-caption-dimension-attributes/37768#37768 */

/* Images */
.entry-content img,
.comment-content img,
.imagegallery img,
.widget img,
article.post img,
div#main-map {
    max-width: 100%; /* Fluid images for posts, comments, and widgets */
    height: auto;
}
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
}
img.size-full {
    max-width: 100%;
    width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}

.wp-caption { max-width: 100%; }

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 56em) {


	.mobmenu {
		/*
		position: fixed;
		top: 0;
		left: 0;
		*/
		width: 100%;
		margin: 0;
		padding: 0;
		display: block;
		z-index: 1;
	}
	
	a.menu {
		color: #211d70;
		text-decoration: none;
		text-transform: uppercase;
		padding: 0.2em 0.4em;
		margin: 0.5em 1em;
		text-align: left;
		font-size: 0.875em;
		background-color: #fff;
		-moz-border-radius: 0.125em;
		border-radius: 0.125em;
		display: block;
		float: left;
	}

	#mainmenu-nav {
		display: none;
		margin: 0;
		padding: 0;
	}
	
	#mobile-nav {
		display: block;
	}	

	ul#mobile {
		display: none;
	}	

	ul#mobile {
		margin: 2.5em 0 0 0;
		padding: 0;
	}	

	ul#mobile li {
		padding: 0;
		margin: 0;
		float: none;
		text-align: left;
	}
		
	ul#mobile li a {
		display: block;
		color: #FFF;
		padding: 0.5em 1em;
		margin: 0;
		font-size: 1em;
		border-bottom: solid 0.0625em #fff;
		text-decoration: none;
	}

	ul#mobile li a:hover {
		color: #211d70;
		background-color: #fff;
	}

	
}

@media only screen and (max-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
    
    /* context is 16 x 1.25 = 20 */
	
	div[role="banner"] h1 a, div[role="banner"] h1 {
		position: static;
		color: #211d70;
		margin: 0;
		padding: 0.25em;
		height: auto;
	}
	
	div[role="banner"] {
		display: block;
		background: #eee;
	}

	.eaglebanner, .adilogo {
		display: none;
	}
	
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

#cookie-consent {
  display: none;
  width: 100%;
  background-color: #f2f2f2 !important;
  padding: 2rem 8rem 2rem 2rem;
  font-size; 1rem;
}

@media (max-width: 767px) {
    #cookie-consent {
      padding: 1rem;
      }
}
#cookie-consent h2 {
    color: #333;
    margin: 0 0 0.875rem 0;
}

#cookie-consent a {
    color: #333;
}


#cookie-consent .tdbc-button {
    display: inline-block;
    padding: 1rem;
    color: #fff;
    background-color: green;
    margin: 1rem 1rem 1rem 0;
    text-decoration: none;
}

#cookie-consent .tdbc-button:after {
  content: '';
  padding-left: 0;
}

