/*
 Theme Name:     NEWS LABS 2013 Child Theme
 Theme URI:      http://www.bbc.co.uk/partnersandsuppliers/connectedstudio/newslabs/home.html
 Description:    Custom Responsive Wordpress Theme for Me-Me.com Clients
 Author:         BBC News Labs
 Author URI:     http://www.bbc.co.uk/partnersandsuppliers/connectedstudio/newslabs/home.html
 Template:       twentythirteen
 Version:        1.4.3
*/

/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../twentythirteen/style.css');


/* =Theme customization starts here
----------------------------------------------  */


/*  - - - - - BACKGROUNDS - - - - - -  */

body {
   padding-top:30px;
   background-color: #aaa;
   background-position: top center;
   background-repeat:no-repeat;
   background-attachment:fixed;
   background-image: url('/wp-content/uploads/2013/10/DSC_0169a2.jpg'); 
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
}


/* - - -  SITE TITLE - - - - */
header#masthead, div#main.site-main, .site {
   background-color: transparent;
}
div#container, div#banner {
   background-color: white;
}

#site-logo img {
max-width: 300px;
}
#site-logo h2 {
margin: 4px 0 0 0;
font-size: 21px;

}
/* - - - - IMAGES - - - - */

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
    margin-right: 0px;
    top: 20px;
}

.entry-content img.alignleft {
    margin-right: 10px;
    margin-left: 0px;
    max-width: 45%;
}


/* ------ FONTS------ */

a {
   color: rgb(0,86,225);
}
a:active, a:hover {
    color: rgb(0,87,226);
    }
a:visited {
   color: rgb(1,82,223);
}  

.site-title {
   font-size: 50px;
   font-family: "Sonsie One", cursive, "Times New Roman", Times, serif;
   font-weight:normal;
   line-height: 1;
   margin: 0px;
   padding: 10px 0px 5px;
   color: #F2611B;
   } 
   


h1, h2, h3, h4, h5, h6 {
   clear: none;
   display:block;
   font-family: Oswald, impact, helvetica, serif;
   line-height: 1.2;
}
#main h1 {
   font-size: 42px;
   text-transform:none;
   letter-spacing:-0.05em;
   color: #F2611B;
   margin: 0 0 15px 0;
   padding: 0;
}
#main h1 a {
   color: #F2611B;
}
h2 {
   font-size: 24px;
   font-weight: normal;
}
h3 {
   font-size: 20px;
   font-weight: normal;
}
h4 {
   font-size: 18px;
   font-weight: normal;
}

div.site-info a {
   color: white;
   text-decoration: none;
   font-weight: bold;
}
div.site-info a:hover {
   text-decoration: underline;
}

/* ------ NAVBAR ------ */
.navbar {
    background-color: #F2611B;
    margin: 0px auto;
    width: 100%;
    text-transform:uppercase;
    letter-spacing:-0.03em;
}
.nav-menu li a {
   color: white;
   font-size: 14px;
}


.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: white;
    font-style: normal;
    font-weight: bold;
}
.site-header .search-field {

	/* background-image: url('img/search-black-bg.png'); */
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 34px;

}
.menu-toggle:after {
		content: "\f502";
		font-size: 12px;
		padding-left: 8px;
		vertical-align: -4px;
		color: white;
	}

/* ------ STRUCTURE ------ */
#toc {
    border: 1px solid rgb(240, 240, 240);
    width: 100%;
    margin: 0px;
font-size: 90%;
}

.site, .navbar {
   max-width: 100%;
}
.site-header .home-link  {
   min-height: 100px;
}
div#banner,
div#container,
div#secondary.sidebar-container {
   margin: 0px auto;
   width: 100%;
   max-width: 978px;
   border-left: 1px solid #aaa;
   border-right: 1px solid #aaa;
   overflow: hidden;
   display: block;
   position: relative;
   clear: both;
}
div#container {
min-height: 900px;
}
div#secondary.sidebar-container {
height: 200px;
display: block;
position: relative;
}


.entry-header, .entry-content, .entry-summary, .entry-meta {
    margin: 0px auto;
    max-width: 978px;
    width: 100%;
}

div#banner {
   padding: 20px;   
}
div#container {
   padding: 30px;   
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
   max-width: 100%
   max-width: 1040px;
   padding: 0px 376px 0px 0px;
}
.sidebar.page-template-full-width-page-php .entry-header,
.sidebar.page-template-full-width-page-php .entry-content,
.sidebar.page-template-full-width-page-php .entry-summary,
.sidebar.page-template-full-width-page-php .entry-meta,
.pods .entry-header,
.pods .entry-content,
.pods .entry-summary,
.pods .entry-meta {
   padding: 0px 0px 0px 0px;
}

.entry-header, .entry-content, .entry-summary, .entry-meta {
   max-width: 100%
   padding: 0;
}
.hentry {
   padding:0; margin:0;
}
.nav-menu li a {
   padding: 15px 12px;
}
.main-navigation {
    max-width: 950px;
}
.site-main .sidebar-inner {
    margin: 0px auto;
    max-width: 100%;
}
div.widget-area {
   margin-right: 50px;
   overflow: hidden;
   display: block;
}
.site-footer {
   background-color: transparent;
}
.site-footer .sidebar-container {
   background-color: white;
   overflow: hidden;
}
div#page.hfeed.site footer#colophon.site-footer {
margin:0px !important;
padding:0;
height: 200px;
clear: both;
overflow: hidden;
display:block;
}
.site-info {
   text-align: center;
}
.sidebar .site-footer .footer-widget-area {
   width: 100%;
   display: block;
   max-width: 1000px;
      color: #000;
}

.site-footer .widget-title, .site-footer .widget-title a, .site-footer .wp-caption-text {
    color: #000;
}
.sidebar .site-footer aside.widget {
padding: 30px;
   width: 48%;
   max-width: 47%;
}
.sidebar .site-footer aside.widget,
.sidebar .site-footer aside.widget h3 {
   color: #000;
}

.widget {

    font-size: 14px;
    margin: 0px 0px 5px;
    padding: 4px;
    word-wrap: break-word;
}
.page-header {
   background: transparent;
}



/* - - - - - IMAGE & TEXT ITEM GRIDS - - - - - - */

div.item {
   width: 33%;
   float: left;
   padding-right: 1%;
}
.single-sector_item div.item,
body.pod-profile div.item {
   padding-right: 5%;
}
body.pod-profile div.item p {
   font-size: 90%;
}
body.pod-profile div.item p {
   font-size: 90%;
}

div.item img {
   max-width: 100%;
}
div.item h2 {
   display:block;
   border-bottom: 6px solid #888;
   margin-bottom: 10px;
   padding-bottom: 6px;
   font-size: 92%;
}
div.item h2 a {
   color: black;
}
div.item img.attachment-thumbnail {
   max-width: 46%;
   margin-right: 1%;
}


/* - - - - - MEDIA QUERIES - - - - - - */


@media (max-width: 999px) {
	.sidebar .entry-header,
	.sidebar .entry-content,
	.sidebar .entry-summary,
	.sidebar .entry-meta,
	.sidebar .comment-list,
	.sidebar .comment-reply-title,
	.sidebar .comment-navigation,
	.sidebar .comment-respond .comment-form,
	.sidebar .featured-gallery,
	.sidebar .post-navigation .nav-links,
	.author.sidebar .author-info {
		max-width: 990px;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
}

@media (max-width: 890px) {

div.item {
   width: 48%;
   padding-right: 2%;
}
.site-title {
   font-size: 40px;
}
#main h1 {
   font-size: 35px;
}
.site-description {
   font-size: 90%;
}
.site-header .home-link {
   min-height: 20px;
}


}


@media (max-width: 767px) {

.attachment .image-navigation,
	.attachment .entry-attachment .attachment {
		max-width: 760px;
		padding: 0;
		width: 100%;
	}
	.sidebar .site-footer aside.widget {
    float: right;
    width: 90%;
    max-width: 90%;
}
iframe {
  float:none;
  display: block;
  width: 100%; 
}

}

@media (max-width: 643px) {

/* Small menu */
	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif;
		margin: 0;
		padding: 12px 0 12px 20px;
	}

	.menu-toggle:after {
		content: "\f502";
		font-size: 12px;
		padding-left: 8px;
		vertical-align: -4px;
	}

	.toggled-on .menu-toggle:after {
		content: "\f500";
		vertical-align: 2px;
	}

	.toggled-on .nav-menu,
	.toggled-on .nav-menu > ul {
		display: block;
		margin-left: 0;
		padding: 0;
		width: 100%;
	}

	.toggled-on li,
	.toggled-on .children {
		display: block;
	}

	.toggled-on .nav-menu li > ul {
		background-color: transparent;
		display: block;
		float: none;
		margin-left: 20px;
		position: relative;
		left: auto;
		top: auto;
	}

	.toggled-on .nav-menu li > ul a {
		color: #fff;
		width: auto;
	}

	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu .children a {
		background-color: transparent;
		color: #fff;
	}

	.toggled-on .nav-menu li a:hover,
	.toggled-on .nav-menu ul a:hover {
		background-color: #db572f;
		color: #fff;
	}

	ul.nav-menu,
	div.nav-menu > ul {
		display: none;
	}

div.item {
   width: 100%;
}
.site-title {
   font-size: 30px;
}
.site-description {
   font-size: 80%;
}
#main h1 {
   font-size: 28px;
}
#site-logo h2 {

}
}

@media (max-width: 570px) {
#site-logo img {
max-width: 100%;
}

.entry-content img.alignright {
   display:none;
}
.site-title {
   font-size: 25px;
}
}