/* 

DocAcademy v4.0 - james@docsociety.org

*/

body:before {
    position: fixed;
    height: 5px;
    content: '';
    border-top: 5px solid #0086cd;
    right: 0;
    left: 0;
    z-index: 999;
}

body {
	border-bottom: 5px solid #0086cd;
}

/* Typography & Colours */

@font-face {
	font-family: 'Gotham';
	src: url('/static/core/fonts/Gotham-Book.eot');
	src: local('Gotham Book'), local('Gotham-Book'), url('/static/core/fonts/Gotham-Book.woff') format('woff'), url('/static/core/fonts/Gotham-Book.otf') format('opentype'), url('/static/core/fonts/Gotham-Book.svg#Gotham-Book') format('svg');
}

@font-face {
	font-family: 'Gotham';
	src: url('/static/core/fonts/Gotham-BookItalic.eot');
	src: local('Gotham Italic'), local('Gotham-BookItalic'), url('/static/core/fonts/Gotham-BookItalic.woff') format('woff'), url('/static/core/fonts/Gotham-BookItalic.otf') format('opentype'), url('/static/core/fonts/Gotham-BookItalic.svg#Gotham-BookItalic') format('svg');
	font-style:italic;
}

@font-face {
	font-family: 'Gotham';
	src: url('/static/core/fonts/Gotham-Bold.eot');
	src: local('Gotham Bold'), local('Gotham-Bold'), url('/static/core/fonts/Gotham-Bold.woff') format('woff'), url('/static/core/fonts/Gotham-Bold.otf') format('opentype'), url('/static/core/fonts/Gotham-Bold.svg#Gotham-Bold') format('svg');
	font-weight:bold;
}

@font-face {
	font-family: 'Gotham';
	src: url('/static/core/fonts/Gotham-BoldItalic.eot');
	src: local('Gotham Bold Italic'), local('Gotham-BoldItalic'), url('/static/core/fonts/Gotham-BoldItalic.woff') format('woff'), url('/static/core/fonts/Gotham-BoldItalic.otf') format('opentype'), url('/static/core/fonts/Gotham-BoldItalic.svg#Gotham-BoldItalic') format('svg');
	font-weight:bold;
	font-style:italic;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Gotham", "Helvetica Neue",Helvetica,Arial,sans-serif;
	letter-spacing: -1px;
	line-height: 1.2;
    margin: 0 0 5px;
    font-weight: bold;
    color: #666;
}

p, span, ul, li {
	font-family: "Gotham", "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: normal;
    color: #666;
}

.da-blue {
	color: #0086cd;
}

/* Structure */

.content {
	padding: 35px;
  position: relative;
}

.home .content {
	padding: 0;
}

.span9 {
  padding-top: 35vh;
}

/* Header */

.header {
	position: relative;
	margin-left: -15px;
	margin-right: -15px;
	min-height: 35vh;
	height: 330px;
    margin-bottom: -150px;
    background-color: #ccc;
	background-size: cover;
	background-position: center center;
	background-image: url(../img/bg/default.jpg);
}

.home .header {
	background-color: transparent;
	min-height: 0;
    height: 0;
    margin-bottom: 0;
}

.plans .header { 
	background-image: url(../img/bg/TYFTR.jpg); 
	background-position: center center;
}
.account .header { background-image: url(../img/bg/default.jpg); }
.terms .header { background-image: url(../img/bg/malala.jpg); }
.contact .header { background-image: url(../img/bg/We-Are-Together-1.jpg); }
.how .header { background-image: url(../img/bg/We-Are-Together-1.jpg); }
.why .header, .about .header { background-image: url(../img/bg/TYFTR.jpg); }
/* .about .header { background-image: url(../img/bg/Malala-5.jpg); } */

.header-bg {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: rgba(0,0,70,0.5);
}

/* Navigation */

.logo {
    display: inline-block;
    width: 24vw;
    height: 5.1vw;
    background: url(../img/logo-x3.png) 0 0 no-repeat;
    background-size: cover;
    text-indent: -9999px;
	margin: 37px 0 0 50px;
    position: relative;
    z-index: 100;
    max-width: 100%;
}
.home .logo {
    display: inline-block;
    width: 30vw;
    height: 6.3vw;
}
.logo.logo-us {
    background-image: url(../img/logo-x3-us.png);
}
nav {
  max-width: 100%;
  margin: 50px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav>ul>li {
  float: left;
  position: relative;
  text-transform: uppercase;
  display: block;
  padding: 10px 10px 10px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 300ms ease-in-out;
  color: #fff;
}
.home nav>ul>li {
  color: #666;
}
nav>ul>li:hover {
  background-color: #0086cd;
  color: #fff !important;	
}
nav>ul>li:hover a, nav>ul>li:hover a em {
  color: #fff !important;	
}
nav>ul>li:hover a span, nav>ul>li#nav-toggle:hover a span:before, nav>ul>li#nav-toggle:hover a span:after {
  background-color: #fff !important;
}

nav>ul>li>a,
nav>ul>li>a:visited {
  text-decoration: none;
  color: #fff;
}
nav>ul>li>a,
nav>ul>li>a:visited,
nav>ul>li>a em {
  transition: all 300ms ease-in-out;
}
nav>ul>li>a>em {
	font-style: normal;
	font-weight: normal;
	color: #fff;
}
nav>ul>li>a:hover,
nav>ul>li>a:visited:hover {
  text-decoration: none;
  color: #fff;
}
/*nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 1px;
  content: ' ▾';
}*/
nav ul li ul.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 100;
  background-color: #0086cd;
  right: 0;
  padding: 5px 0;
  top: 40px;
}
nav ul li ul li {
  min-width: 200px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
nav ul li ul li.separator {
	border-top: 1px #fff solid;
    min-width: 0;
    width: 80px;
    margin: 15px auto;
}
nav ul li ul li a {
  padding: 13px;
  line-height: 20px;
  color: #fff;
  display: block;
}
nav ul li ul li a:hover {
  text-decoration: none;
  color: #000 !important;	
}
.nav-menu {
	float: right;
}
#nav-toggle>a {
  padding: 1px 25px 0 0;
  position: relative;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  transition: all 300ms ease-in-out;
  cursor: pointer;
  border-radius: 1px;
  height: 3px;
  width: 20px;
  background: #fff;
  position: absolute;
  display: block;
  content: '';
  top: 6px;
}
#nav-toggle span {
  right: -25px;
}
#nav-toggle span:before {
  top: -6px;
}
#nav-toggle span:after {
  bottom: -6px;
}
.active, .active a, .active a em {
  background-color: #0086cd;
  color: #fff !important;
}
.active {
  display: block !important;
}
#nav-toggle.active span {
	background-color: transparent !important;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
  background-color: #fff;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}


/* Footer */

.footer {
	margin-left: -15px;
	margin-right: -15px;
	padding: 50px 35px;
	min-height: 30vh;
	height: 250px;
}

.footer .links {
	margin: 10px 0;
	display: block;
}

.footer .social {
	float: right;
}

.footer .credits img {
	max-width: 100%;
}

/* BOOTSTRAP
-------------------------------------------------- */
.btn {
	border-radius: 0;
}

.btn-default {
	border-color: #0086cd;
	color: #0086cd;
}

.btn-default .caret {
	color: #0086cd !important;
}

.btn-primary {
	background-color: #0086cd;
	border-color: #0086cd;
}

.pagination {
    text-align: center;
	display: block !important;
}

.pagination ul {
    margin: 0 auto;
}

.pagination>li>a, .pagination>li>span {
    padding: 12px 19px;
    border: 2px solid #337ab7;
    margin-left: -2px;
    font-weight: bold;
}

.dropdown-menu .icon-star {
    margin: 0 5px 0 -5px;
}

.breadcrumb {
    padding: 8px 0;
    margin-bottom: 10px;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    color: #999;
}

.breadcrumb a, .breadcrumb span {
    font-weight: bold;
}

.breadcrumb span {
	color: #999;
}

.form-horizontal .controls {
  margin-left: 130px;
  /* Super jank IE7 fix to ensure the inputs in .input-append and input-prepend don't inherit the margin of the parent, in this case .controls */

  *display: inline-block;
  *margin-left: 0;
  *padding-left: 20px;
}
.form-horizontal .help-block {
  margin-top: 9px;
  margin-bottom: 0;
}
.alert {
  background-color: rgba(255,255,255,0.7);
  border-color: #fff;
  font-weight: bold;
  font-size: 1.6em;
}
.alert-error {
  color: #a94442;
  /*background-color: #f2dede;
  border-color: #ebccd1;
  color: #000;
  background-color: rgba(242, 222, 222, 0.7);
  border-color: #ebccd1;*/
}
.float-left {
  float: left;
}
.inline {
  display: inline;
}

/* GENERAL
-------------------------------------------------- */

li.no-content{
    list-style: none;
}

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

.errorlist{
    color: #B94A48
}

.required{
    font-weight: bold;
    color: #666;
    margin-left: 10px;
}

.note{
    margin: 5px 0;
    font-style: italic;
    color: #555;
}

.form-errors-summary ul{
    margin: 0 0 0 0;
}
.form-errors-summary ul li{
    list-style: none outside;
    margin-left: 0;
}

.list-clips {
    clear: both;
    padding: 0 0 10px 0;
}

.list-clips .clip {
    list-style: none;
    text-align: center;
    margin-bottom: 10px;
    display: inline-block;
}

.list-clips .clip .brief-summary {
    font-size: 11px;
    line-height: 14px;
    text-align: left;
    margin: 5px;
    /* min-height: 7em; */
    overflow: hidden;
}

.list-clips .clip .frame {
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    min-height: 13em;
}

body.home .list-clips .clip .frame {
    /* height: 22em; */
}

.list-clips .clip .frame a span.frame-img {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 18px;
	color: #fff;
	background-color: rgba(0,134,205,0.9);
    opacity: 0;
    padding-top: 33%;
    line-height: 1.3em;
    text-transform: uppercase;
    border: 3px #0086cd solid;
	transition: all 300ms ease-in-out;
}

.list-clips .clip .frame a span.frame-img:hover {
	opacity: 1;
}

.list-clips .clip .frame a span.frame-img:hover img {
	-ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.list-clips img {
    display: block;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.list-clips span {
    display: block;
    padding: 0 5px 2px 12px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
}

.list-clips .clip .down {
    padding-bottom: 5px;
}

.list-clips .clip .down a {
    background-color: #56c9f4;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 2px 6px;
    text-transform: uppercase;
    font-size: 8px;
}

.list-clips .clip .down a:hover {
    background-color: #00aeef;
    text-decoration: none;
}

.list-clips .clip .down b {
    font-size: 13px;
    letter-spacing: 1px;
}

.list-clips .clip .down b i {
    font-size: 10px;
    font-style: normal;
    color: #555;
    padding-left: 2px;
    letter-spacing: 0;
}

h1:first-child {
	padding-bottom: 60px;
	color: #fff;
}

.content-bar-blue, .content-bar-grey {
	background-color: #337ab7;
	padding: 4em;
	margin-bottom: 80px; 
	margin-right: -50px; 
	margin-left: -50px;
	font-size: 1.7rem;
}
.content-bar-grey {
	background-color: #888;	
}
.content-bar-blue h2, .content-bar-blue h3, .content-bar-grey h2, .content-bar-grey h3 {
	color: #fff !important;
}
.content-bar-grey ul li, .content-bar-blue ul li {
	color: #000 !important;
}

/* Homepage */

body.home .header {
	height: 0;
}

.home-split-left, .home-split-right {
	padding: 0;
}

.home-split-left .home-hero-bg {
	background-size: cover;
	background-position-x: center;
	background-position-y: bottom;
	position: relative;
}

.home-hero-bg-img {
	position: absolute;
	top: -50px;
	left: -100px;
	max-width: 300px;
	-ms-transform: rotate(-7deg);
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg);
}

.home-hero {
	padding-top: 36vh;
}

.home-resources {
	padding-top: 36vh;
}

.home-works, .home-hero, .home-resources {
	padding-left: 50px;
	padding-right: 50px;
	padding-bottom: 50px;
}

.home-hero {
	min-height: 75vh;
	position: relative;
	background-color: rgba(0,0,40,0.5);
}
.home-hero p, .home-hero h2, .home-hero h3, .home-hero h4 {
	color: #fff;
}
.home-hero h2 {
	max-width: 60%;
	padding-bottom: 20px;
	font-size: 2.3em;
}
.home-hero h4 {
	max-width: 100%;
	padding-bottom: 5px;
	font-size: 1.4em;
}
.home-hero h4 i {
	color: #0086cd;
}
.home-hero .overlay {
	background-color: rgba(0,0,0,0.4);
	position: absolute;
	top:0;
	right: 0;
	left: 0;
	bottom: 0;
}

.home-works {
	background-color: #0086cd;
	padding-top: 50px;
	min-height: 25vh;
}
.home-works p, .home-works h2, .home-works h3 {
	color: #fff;
}
.home-works .btn {
	border-color: #fff;
}
.home-works h4 {
	color: #1e4a70;;
}
	.home-works h4 a {
		color: #10263b;
		text-decoration: underline !important;
	}

.home-resources h2 {
	margin-left: -10px;
}

.home-resources h4 {
	margin-bottom: 20px;
	margin-left: -10px;
}


/* TEMPLATE: Films and Film list
-------------------------------------------------- */
.films .intro .preamble{

}

.film-clips {
    clear: both;
    margin-top: 30px; /* was 60, 0*/
    margin-bottom: 30px;
}

.film-clips .clip {
    text-align: left;
}

.film-clips .clip h2 {
    font-size: 24px;
    text-align: left;
    padding: 12px 6px 2px 12px;
    margin: 0;
}

.home .film-clips .clip, .home .clip-dropdown {
	padding-left: 5px;
	padding-right: 5px;
  display: inline-block;
  float: none;
  vertical-align: top;
  width: 32%;
}

.home .clip-dropdown.clip-us {
  width: 49%;
}

.home .film-clips .clip h2 {
    font-size: 16px;	
    padding: 6px 6px 2px 12px;
}

.film-clips .clip .brief-summary {
    margin: 12px;
    padding-bottom: 10px;
    font-size: 12px;
}

.film-clips .clip .utilities {
    clear: both;
    width: 100%;
    display: block;
    overflow: hidden;
    margin-left: 9px;
}

.film-clips .clip .utilities span {
    float: left;
}

.film-clips .clip .utilities .count {
	background-color: #337ab7;
    color: #fff;
    padding: 3px 19px 3px 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 18px;
    margin: 0px 1px 0 6px;
    line-height: 1.5;
    font-size: 12px;
    height: 24px;
}

.home .film-clips .clip .utilities .count {
	display: none;
}

.film-clips .clip .utilities .clips,
.film-clips .clip .utilities .plans {
    display: block;
    width: 55px;
    height: 24px;
    margin: 0 0 0 -11px;
    padding: 0 0 0 11px;
    line-height: 2.2em;
    background-color: #ddd;
}

.home .film-clips .clip .utilities .clips {
	display: none;
}

.film-clips .clip .tags {
    font-size: 11px;
    display: block;
    clear: both;
    overflow: hidden;
    text-align: left;
    margin: 12px 6px 8px;
    line-height: 1.2;
}

.home .film-clips .clip .tags {
	display: none;
}

.film-clips .clip .tags .icon-tags {
    float: left;
    margin: 0 0 0 11px;
    background: url(../img/i_tag.png) 0 0 no-repeat;
    height: 22px;
    width: 22px;
}

.film-clips .clip .tags a {
    font-weight: normal;
}

.film-topic-label{
    font-weight: normal !important;
    float: none;
    line-height: 1.6em;
    margin-left: 26px;
}

.filter-by-dropdown {
    display: inline-block;
    float: left;
    padding: 0 30px 0 0;
}

.filter-by-dropdown .filter {
    text-align: right;
    padding-top: 6px;
    font-size: 14px;
    color: #7f7f7f;
}

h2#plans {
    margin-top: 105px;
}

/* TEMPLATE: Film
-------------------------------------------------- */
.film-picture {
    margin-bottom: 15px;
}

.film-related ul {
    clear: both;
    margin: 0;
}

.film-related li {
    list-style: none;
    background: url(../img/i_star_black.png) 0 0 no-repeat;
    padding: 0 0 25px 25px;
}

.film-related li a {
    font-weight: bold;
}

.film-related li span {
    display: block;
    font-size: 11px;
}

.film-descr {
  /* margin-top: 70px; */
}

.film-descr .purchase-links {
    text-align:center;
    margin: 20px 0;
}

.distributor-logo{
    text-align: center;
    margin: 0 0 15px 0;
}

.film-award{
    text-align: center;
    height: 52px;
    background: url(../img/film_award.png) 50% 0 no-repeat;
    padding-top: 10px;
    vertical-align: middle;
}

.film-award span{
    line-height: 11px;
    display: block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.film-descr .film-meta{
    font-weight: bold;
}

.no-clips {
    margin-bottom: 40px !important;
}

/* TEMPLATE: Topics
-------------------------------------------------- */
.topic-head {
    clear: both;
    margin: 60px 0 20px;
}

.topic-head h1 {
    font-size: 19px;
    background: url(../img/i_tag.png) 0 0 no-repeat;
    padding-left: 25px;
    min-height: 23px;
}

.topic-head h1 small {
    margin: 0 4px;
}

.topic-main {
    clear: both;
    min-height: 180px;
    overflow: hidden;
    display: block;
    padding-bottom: 5px;
    background: url(../img/topic_nav_lineb.png) 0 bottom no-repeat;
}

.topic-main .topic-nav {
    margin: 0;
    overflow: hidden;
    display: block;
    background: url(../img/topic_nav_liner.png) 215px 0 no-repeat;
}

.topic-main .topic-nav li {
    list-style: none;
    float: left;
    clear: both;
    margin: 0;
    padding: 0 0 15px;
    width: 100%;
}

.topic-main .topic-nav .count {
    background-color: #444;
    color: #fff;
    padding: 0 6px;
    min-width: 14px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin: 3px 0 0 6px;
    font-size: 12px;
    line-height: 1.5;
    display: block;
    float: left;
    text-align: center;
    margin: 4px 6px 0 0;
}

.topic-main .topic-nav .item {
    float: left;
    display: block;
    text-indent: -9999px;
}

.topic-main .topic-nav button {
    float: left;
    display: block;
    text-indent: 0;
    position: relative;
    bottom: -25px;
    left: 50px;
}

.topic-main .topic-nav .films .item {
    background: url(../img/topic_nav_films.png) 0 0 no-repeat;
    width: 156px;
    height: 25px;
}

.topic-main .topic-nav .clips .item {
    background: url(../img/topic_nav_clips.png) 0 0 no-repeat;
    width: 148px;
    height: 25px;
}

.topic-main .topic-nav .plans .item {
    /*background: url(../img/topic_nav_plans.png) -148px 0 no-repeat;*/
    background: url(../img/topic_nav_plans.png) 0 0 no-repeat;
    width: 148px;
    height: 86px;
}

.topic-main .topic-nav .plans .item.open {
    background: url(../img/topic_nav_plans.png) -148px 0 no-repeat;
}

span.inner-label{
    margin: 0 3px;
}

.topic-main .topic-nav .plans,
.topic-main .topic-films {
    padding-bottom: 0;
}

.topic-main .topic-films li span {
    font-size: 12px;
    padding: 2px 5px 8px 5px;
}

.topic-extra {
    margin-top: 30px;
    clear: both;
    background: url(../img/topic_nav_lineb.png) 0 bottom no-repeat;
}

.topic-extra .topic-lesson {
    list-style: none;
}

.topic-extra .topic-lesson li {
    list-style: none;
    background: url(../img/i_star_black.png) 0 0 no-repeat;
    padding: 0 0 10px 25px;
}

/* TEMPLATE: Lesson Plans list
-------------------------------------------------- */

.lesson-plan-head {
    clear: both;
    margin: 60px 0 20px;
}

.lesson-plan-head h1 {
    font-size: 19px;
    background: url(../img/i_bubbles.png) 0 0 no-repeat;
    padding-left: 25px;
    min-height: 23px;
}

.lesson-plan-head h1 small{
    margin: 0 4px;
}

.lesson-plan-main {
    clear: both;
    min-height: 180px;
    overflow: hidden;
    display: block;
    padding-bottom: 5px;
    background: url(../img/topic_nav_lineb.png) 0 bottom no-repeat;
}

.lesson-plan-main .lesson-plan-nav {
    margin: 0;
    overflow: hidden;
    display: block;
    background: url(../img/topic_nav_liner.png) 215px 0 no-repeat;
}

.lesson-plan-main .lesson-plan-nav li {
    list-style: none;
    float: left;
    clear: both;
    margin: 0;
    padding: 0 0 15px;
    width: 100%;
}

.lesson-plan-main .lesson-plan-nav .count {
    background-color: #444;
    color: #fff;
    padding: 0 6px;
    min-width: 14px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin: 3px 0 0 6px;
    font-size: 12px;
    line-height: 1.5;
    display: block;
    float: left;
    text-align: center;
    margin: 4px 6px 0 0;
}

.lesson-plan-main .lesson-plan-nav .item {
    float: left;
    display: block;
    text-indent: -9999px;
}

.lesson-plan-main .lesson-plan-nav button {
    float: left;
    display: block;
    text-indent: 0;
    position: relative;
    bottom: -25px;
    left: 50px;
}

.lesson-plan-main .lesson-plan-nav .films .item {
    background: url(../img/lesson_plan_nav_films.png) 0 0 no-repeat;
    width: 156px;
    height: 25px;
}

.lesson-plan-main .lesson-plan-nav .clips .item {
    background: url(../img/lesson_plan_nav_clips.png) 0 0 no-repeat;
    width: 156px;
    height: 25px;
}

.lesson-plan-main .lesson-plan-nav .plans .item {
    /*background: url(../img/topic_nav_plans.png) -148px 0 no-repeat;*/
    background: url(../img/topic_nav_plans.png) 0 0 no-repeat;
    width: 148px;
    height: 86px;
}

.lesson-plan-main .lesson-plan-nav .plans .item.open {
    background: url(../img/topic_nav_plans.png) -148px 0 no-repeat;
}

span.inner-label{
    margin: 0 3px;
}

.lesson-plan-main .lesson-plan-nav .plans,
.lesson-plan-main .lesson-plan-films {
    padding-bottom: 0;
}

.lesson-plan-main .lesson-plan-films li span {
    font-size: 12px;
    padding: 2px 5px 8px 5px;
}

.lesson-plan-extra {
    margin-top: 30px;
    clear: both;
    background: url(../img/topic_nav_lineb.png) 0 bottom no-repeat;
}

.lesson-plan-extra .lesson-plan-lesson {
    list-style: none;
}

.lesson-plan-extra .lesson-plan-lesson li {
    list-style: none;
    background: url(../img/i_star_black.png) 0 0 no-repeat;
    padding: 0 0 10px 25px;
}

/* TEMPLATE: Lesson Plans
-------------------------------------------------- */

body.plans .header {
  background-position: center 52%;
}

.lesson-plan-detail-head h1 small {
    margin: 0 4px;
    font-weight: bold !important;
}
.lesson-plan-detail-head h1 small span {
    color: #fff;
}

.plan-utility ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-utility li {
    list-style: none;
    background: url(../img/i_star_blue.png) 0 0 no-repeat;
    padding: 0 0 15px 25px;
}

.plan-utility h2 {
    font-size: 15px;
}

.plan-utility .downloads{
    /* margin-top: 20px; */
}

.plan-utility .downloads h2 {
    border-bottom: 1px solid #ccc;
    text-transform: uppercase;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.plan-utility .downloads ul {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}

.plan-utility .downloads li a {
    /* text-decoration: underline; */
}

.plan-utility .downloads li small {
    font-size: 10px;
}

.plan-utility .join h2 {
    text-transform: uppercase;
    font-size: 21px;
    border-top: 1px solid #aaa;
    padding-top: 10px;
}

.plan-utility .join p {
    border-bottom: 1px solid #aaa;
    padding-bottom: 15px;
}

.plan-utility .join .btn {
    float: right;
    margin: 0 20% 0 10%;
}

.plan-clips .col-sm-6.clip {
    float: none;
    display: inline-block;
    width: 49%;
    vertical-align: top;
}

.plan-clips .clip span {
    padding: 0 5px;
}

.plan-clips .clip .meta {
    padding-top: 5px;
}

.plan-clips .clip .meta small {
    font-size: 10px;
    color: #555;
}

.plan-clips .clip .name a {
    text-decoration: underline;
}

.plan-clips .clip .down {
    padding-bottom: 5px;
}

.plan-clips .clip .down a {
    background-color: #56c9f4;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 2px 6px;
    text-transform: uppercase;
    font-size: 8px;
}

.plan-clips .clip .down a:hover {
    background-color: #00aeef;
    text-decoration: none;
}

.plan-clips .clip .down b {
    font-size: 13px;
    letter-spacing: 1px;
}

.plan-clips .clip .down b i {
    font-size: 10px;
    font-style: normal;
    color: #555;
    padding-left: 2px;
    letter-spacing: 0;
}

.plan-clips .clip .brief-summary{
    font-weight: normal;
    font-size: 11px;
    line-height: 14px;
    margin: 3px 0;
}

.plan-response {
    margin-bottom: 30px;
}

.plan-response form .btn {
    float: right;
}

.plan-comments {
    margin: 0 0 20px;
}

.plan-comments .comment {
    list-style: none;
    display: block;
    padding: 15px 20px 5px 20px;
    overflow: hidden;
    margin: 0 0 20px;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.plan-comments .comment .main {
    width: 440px;
    float: left;
}

.plan-comments .comment .date {
    width: 120px;
    float: right;
    text-align: right;
    padding-top: 2px;
}

.comments-wrapper form input{
    width: 300px;
}
.comments-wrapper form textarea{
    width: 610px;
}

.comments-wrapper form .controls-for-name,
.comments-wrapper form .controls-for-email,
.comments-wrapper form .controls-for-url,
.comments-wrapper form .controls-for-honeypot{
    display: none;
}

/* SUBMIT LESSON PLAN page
------------------------------------------ */

form#submit-lesson-plan #id_summary,
form#submit-lesson-plan #id_clips{
    height: 200px;
    width: 620px; /* span8, basically */
}

form#submit-lesson-plan input[type="file"]{
    width: 180px;
}

form#submit-lesson-plan label{
    font-weight: bold;
    font-size: 14px;
}
form#submit-lesson-plan .well label{
    font-weight: bold;
    font-size: 12px;
}


h2#upload-supporting-files{
    margin-top: 20px;
}

/* LOGIN page
------------------------------------------ */

.account .forgotten-password-link{
    margin-left: 10px;
}


/* PROFILE VIEW
------------------------------------------ */

.user-profile,
.user-profile dl{
    float:left;
    width: 100%;
}
.user-profile dt,
.user-profile dd{
    width: auto;
    float: left;
}
.user-profile dt{
    width: 95px;
    clear: both;
    margin-bottom: 7px;
}

.user-profile ul.subjects{
    list-style: none;
    margin-left: 0px;
}

div.do-something{
    margin-top: 20px;
}

/* REGISTRATION and PROFILE EDIT
------------------------------------------ */

.profile label,
.registration label{
    font-weight: bold;
}


.profile .controls-for-email .input-prepend .add-on{
    margin-right: -5px;
    margin-top: -7px;
}

.registration .controls-for-email .input-prepend .add-on{
    margin-right: -5px;
    margin-top: -9px;
}

/*    .error .controls-for-email .input-prepend .add-on{
        margin-top: -9px !important;
    }
*/

.profile .controls-for-email input,
.registration .controls-for-email input{
    width: 243px;
}

.profile .controls-for-years_and_key_stages_taught ul,
.registration .controls-for-years_and_key_stages_taught ul,
.profile .controls-for-subjects ul,
.registration .controls-for-subjects ul{
    list-style: none;
    margin-left: 0px;
    clear: both;
}

    .profile .controls-for-years_and_key_stages_taught ul li,
    .registration .controls-for-years_and_key_stages_taught ul li,
    .profile .controls-for-subjects ul li,
    .registration .controls-for-subjects ul li{
        float: left;
        display: block;
        width: 280px;
    }

    .profile .select-multiple-checkbox,
    .registration .select-multiple-checkbox{
        float: left;
        margin-right: 5px;
    }

.profile .section-subjects,
.registration .section-subjects,
.profile .section-years_and_key_stages_taught,
.registration .section-years_and_key_stages_taught{
    float: left;
}

.ui-autocomplete{
    text-align: left;
}

.school-name-autocomplete{
    width: 260px;
}


/* LOGIN FORM
   ------------------- */


form.login .input-prepend .add-on{
    margin-right: -5px;
}

form.login input#id_username {
    width: 243px;
}

form.login input#id_password {
    width: 283px;
    display: inline-block;
}

div.register.social-auth .extra-text{
    margin-bottom: 7px;
}

div.social-auth a.btn{
    margin-bottom: 12px;
    margin-right: 5px;
}

.login .direct-reg{
    margin-top: 5px;
}

.login .help-text{
    display: inline;
    font-size: 11px;
    margin-top: 5px;
    height: 40px;
    vertical-align: bottom;
}


/* BLOG APP */

.blog ul.summary{
    margin-left: 0px;
}

.blog ul.summary li.summary-item{
    list-style: none;
}

.blog .info{
    font-style: italic;
}

.blog .info .category-name{
    font-weight: bold;
}

.blog .caption{
    padding: 3px 6px;
    font-style: italic;
    background: black;
    color: white;
}

.sidebar h2{
    margin-top: 16px;
}

.sidebar.post-list ul.year{
    margin-left: 0px;
    list-style: none;
}

.sidebar.post-list ul.year-posts{
    margin-left: 0px;
}

.sidebar.post-list ul li.post-link{
    margin-bottom: 9px;
    list-style: none;
    background: url(../img/i_star_blue.png) 0 0 no-repeat;
    padding: 0 0 0px 25px;
}

.year-header{
    font-weight: bold;
    font-size: 15px;
    margin: 10px 0;
}


/*  Flatpage content */

div.flatpage-content{
    margin-top: 20px;
}





/*  Malala Micro-site */

body.malala .header {
	background-image: url(../img/malala/malala_bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	height: 500px;
}

body.malala div.wrapper {
	background: transparent;
}

body.malala div.content {
	margin-top: -400px;
}

body.malala .malala-header {
	min-height: 400px; 
	text-align:center;
}

body.malala .malala-header p {
	font-weight: bold;
	color: #000;
}

body.malala .malala-header p span {
	display: block;
	color: #fff;
}

body.malala .tabbable {
	min-height: 400px;
}

body.malala .tabs-left .nav-tabs {
    margin-right: 0;
    min-height: 350px;
    width: 209px;
}

.nav-tabs > li > a {
	background-color: #fff;
	border-right: 1px #ddd solid;
}

body.malala .tab-content {
    display: block;
    float: right;
    width: 730px;
}

body.malala .tab-content .tab-inner {
	background-color: #fff;
	padding: 15px 20px;
	border-top: 1px solid #ddd;
}

body.malala .btn-primary {
	background-color: #f6b52d;
	color: #fff;
	background-image: none;
	text-shadow: none;
	font-weight: bold;
	font-size: 13px;
	border: none;
	border-color: transparent;
	-webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}

body.malala .btn-primary:hover {
	background-color: #fff;
	color: #f6b52d;
	background-image: none;
	text-shadow: none;
	font-weight: bold;
	border: none;
	border-color: transparent;
}

body.malala .btn-large {
    padding: 13px 35px;
}

body.malala .malala-header .btn-primary {
	background-color: #fff;
	color: #ed464e;
}

body.malala .malala-header .btn-primary:hover {
	background-color: #ed464e;
	color: #fff;
}

/* Advert banner on Home Page */

.advert-splash {
	height: 200px;
    /* background-image: url(../img/malala/malala_bg.jpg); */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
	background-color: #9ac6de;
    margin-bottom: 0;
}

.advert-splash a {
	height: 200px;
    display: block;
    padding: 77px 50px 30px 50%;
    color: #000;
    font-size: 1.5em;
    line-height: 1.2;
    font-weight: bold;
}

.advert-splash a.white {
    color: #fff	;
}

.advert-splash a span {
	color: #000;
}

.advert-splash a:hover {
	text-decoration: none;
}



/*======================================
  Selectric
======================================*/
.selectric-wrapper {
  position: relative;
  cursor: pointer;
}

.selectric-responsive {
  width: 100%;
}

.selectric {
  border: 3px solid #0086cd;
  background: transparent;
  position: relative;
  border-radius: 0px;
}

.selectric .label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 38px 0 14px;
  font-size: 12px;
  line-height: 38px;
  color: #0086cd;
  height: 38px;
}

.selectric .button {
  background: ;
  border-radius: 0px;
  display: block;
  position: absolute;
  right: 0px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 31px;
  height: 31px;
  color: #0086cd;
  text-align: center;
  font: 0/0 a;
  *font: 31px/31px Lucida Sans Unicode, Arial Unicode MS, Arial;
}

.selectric .button:after {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #0086cd;
  border-bottom: none;
}

.selectric-focus .selectric {
  border-color: #AAA;
}

.selectric-hover .selectric {
  background-color: #0086cd;
  color: #fff;
}

.selectric-hover .selectric .button, .selectric-hover .selectric .label {
  color: #fff;
}

.selectric-hover .selectric .button:after {
  border-top-color: #fff;
}

.selectric-open {
  z-index: 9999;
}

.selectric-open .selectric {
  border-color: #0086cd;
  background:  #0086cd;
}

.selectric-open .selectric .label {
	color: #fff;
}

.selectric-open .selectric-items {
  display: block;
}

.selectric-disabled {
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.selectric-hide-select {
  position: relative;
  overflow: hidden;
  width: 0;
  height: 0;
}

.selectric-hide-select select {
  position: absolute;
  left: -100%;
}

.selectric-hide-select.selectric-is-native {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.selectric-hide-select.selectric-is-native select {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  border: none;
  z-index: 1;
  box-sizing: border-box;
  opacity: 0;
}

.selectric-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  outline: none !important;
  border: none !important;
  *font: 0/0 a !important;
  background: none !important;
}

.selectric-temp-show {
  position: absolute !important;
  visibility: hidden !important;
  display: block !important;
}

/* Items box */
.selectric-items {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 3px solid #0086cd;
  z-index: -1;
  box-shadow: 0 0 10px -6px;
  margin-top: 3px;
}

.selectric-items .selectric-scroll {
  height: 100%;
  overflow: auto;
}

.selectric-above .selectric-items {
  top: auto;
  bottom: 100%;
}

.selectric-items ul, .selectric-items li {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  min-height: 20px;
}

.selectric-items li {
  display: block;
  padding: 8px;
  border-bottom: 1px solid #0086cd;
  color: #666;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.selectric-items li.selected {
  background: #0086cd;
  color: #fff;
}

.selectric-items li.highlighted {
  background: #0086cd;
  color: #fff;
}

.selectric-items li:hover {
  background: #F0F0F0;
  color: #444;
}

.selectric-items .disabled {
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default !important;
  background: none !important;
  color: #666 !important;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
  font-weight: bold;
  padding-left: 10px;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: none;
  color: #444;
}

.selectric-items .selectric-group.disabled li {
  filter: alpha(opacity=100);
  opacity: 1;
}

.selectric-items .selectric-group li {
  padding-left: 25px;
}

@media (max-width: 768px) {

  .logo {
    margin: 83px 0 0 50px;
    width: 45vw;
    height: 9.5vw;
  }

  .home .film-clips .clip {
    width: 100%;
    } 

  .home .clip-dropdown {
    width: 100%;
  }
}

@media (min-width: 992px) {

	nav>ul>li {
		float: left;
	}

	nav {
		left: 50%;
	}
	
	.home nav>ul>li>a,
	.home nav>ul>li>a:visited {
	  color: #0086cd;
	}
	
	.home #nav-toggle span,
	.home #nav-toggle span:before,
	.home #nav-toggle span:after {
	  background: #666;
	}
	
	.home nav>ul>li>a>em {
		font-style: normal;
		font-weight: normal;
		color: #666;
	}
	
	.home .footer {
		width: 50%;
		padding-right: 0;
	}
}

@media (max-width: 991px) {

	.malala-splash a {
		font-size: 1.3em;
	}
	
	.home .logo {
		margin: 83px 0 0 50px;
    width: 45vw;
    height: 9.5vw;
	}

  .home .film-clips .clip {
    width: 49%;
    } 

  .home .clip-dropdown {
    width: 33%;
  }

  .home .clip-dropdown.clip-us {
    width: 49%;
  }
	
	nav {
		margin: 25px;
	}

  nav>ul>li {
    color: #fff;
  }

	
	.home-hero p, .home-hero h2, .home-hero h3, .home-hero h4 {
		max-width: 100%;
	}

	.list-clips .clip .frame {
	    height: auto;
	    }
}

@media (min-width: 1441px) {
  body.home .list-clips .clip .frame {
	    height: 33em;
	    }
}