/* Base CSS for Knowitwall */
.sponsors-row{
  padding-top: 20px;
}
/* Logo fill colours in footer. Should be white for all pages except the homepage */
.footer_logo_fill{
  fill:#27282D;
}
#Jisc_logo:hover .footer_logo_fill{
  fill:white;
}
#UCLe_logo:hover .footer_logo_fill{
  fill:white;
}
@media(max-width:561px){
  .footer_follow_us{
    margin-bottom: 8px;
  }
}
/* BASIC STUFF (from the default bootstrap theme) */
body {
  overflow-x: hidden;
	color:#33353d;
  background-color: white;
}

p {
    font-size: 20px;
}

p.small {
    font-size: 16px;
}

p.justify {
  text-align: justify;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* text-transform: uppercase; */
    font-family: 'Lato';
    font-weight: 300;
}

a.selected {
  background-color:#1F75CC;
  color:white;
  z-index:100;
}
label {
  display: block;
  margin-bottom: 3px;
  padding-left: 15px;
  text-indent: -15px;
}


/* NAVBAR STUFF */
.navbar-default .navbar-nav>li>a {
    color: #33353d;
}
/* this makes the navbar tabs light up when you scroll to their respective section */
/* .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
  color: #27282D;
  color: green;
  background-color: #FFC21C;
  border-radius: 5px;
  } */
 /* positioning of elements in the nav bar (namely: paddings) */
.navbar-brand {
  padding: 0px 300px 20.5px 20px;
}
@media(max-width: 1200px) and (min-width:768px){
  .navbar-brand {
    padding: 0px 300px 20.5px 20px;
  }
  .navbarADpage {
    padding: 0px 70px 20.5px 20px;
  }
}
@media(max-width:400px) {
  .navbar-brand {
    padding: 0;
    max-width:250px;
    width:70%;
  }
}
.navbar-default .navbar-toggle {
  border-color: #33353d;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #33353d;
}
@media(min-width:768px) {
/* this says how  the nav bar transition happens, but not when */
    .navbar-fixed-top {
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }
    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-fixed-top {
        padding: 10px 0;
  		background-color: #f5f5f5;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 1.5em;
    }
}
@media (max-width: 991px) {
  .navbar-fixed-top .navbar-brand {
  font-size: 1.5em;
  padding: 0px 150px 20.5px 20px;
  }
}
.navbar {
    text-transform: uppercase;
    font-family: 'Lato';
    font-weight: 700;
    border-bottom: 1px solid #dadada;
    /* -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 6px 6px -6px #999; */
}
@media (max-width: 993px){
  .navbar-right {
    font-size: .8em;
  }
}
/* make the navbar solid throughout */
.navbar-default {
    padding: 10px 0;
    background-color: white;
}
@media(max-width:400px) {
.navbar-brand {
    padding: 3px 0 0 15px;
    max-width:250px;
    width:70%;
  }
}
@media(max-width:768px) {
  .navbar-default {
    background-color: #f5f5f5;
    border-color: transparent;
    padding: 0px
  }
}
.navbar a:focus {
    outline: 0;
}
.navbar .navbar-nav {
    letter-spacing: 1px;
}
@media(max-width:767px){
  .nav > li.navbar_hamburger{
    display: none;
  }
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}
/* for twitter and facebook buttons on navabar */
.nav>li>a.navbar_social{
  padding-left: 8px;
  padding-right: 8px;
}
/* END OF NAVBAR STUFF */

section {
    padding: 70px 0;
}
section h2 {
    margin: 0;
    font-size: 2.5em;
      text-align: center;
}

section.success {
    color: #fff;
    background: #33353d;
}
@media(max-width:767px) {
    section {
        padding: 40px 0;
        background-color: #fff;
    }

    section.first {
        padding-top: 75px;
    }
}
section {
    padding: 70px 0;
}
section h2 {
    margin: 0;
    font-size: 2.5em;
      text-align: center;
}

section.success {
    color: #fff;
    background: #33353d;
}
@media(max-width:767px) {
    section {
        padding: 40px 0;
        background-color: #fff;
    }

    section.first {
        padding-top: 75px;
    }
}


footer {
    color: #33353d;
}

footer h3 {
    margin-bottom: 10px;
}

footer .footer-above {
    /* padding-top: 7px; */
    background-color: #ffc21c;
}

footer .footer-col {
    margin-bottom: 50px;
}

footer .footer-below {
    padding: 10px 0;
    padding-top: 0px;
    background-color: #ffc21c;
}

/* social media buttons in the footer */
.btn-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
}

.navbar_social_buttons{
  bottom: 1px;
  font-size: 15px;
  border: none;
}
.btn-outline {
    margin-top: 15px;
    border: solid 2px #33353d;
    font-size: 20px;
    color: #33353d;
    background: 0 0;
    transition: all .3s ease-in-out;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    color: #33353d;
    background: #fff;
}
.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}
.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    opacity: 0.8
    width: 50px;
    height: 50px;
}
.scroll-top .btn {
    border-radius: 100%;
}
.scroll-top .btn:focus {
    outline: 0;
}



/* le Classic Knowitwall highlight */
.highlight {
  color: black;
  background-color: rgba(255, 194, 28, 0.8);
  padding: 0em 0.2em;
  border-radius: 3px;
  font-weight: 300;
}
.search_button{
  border: none;
  padding: 0px 10px;
  color: #33353d;
  text-shadow: none;
}
.search_button:hover{
  color: #ffc21c;
}
.search_bar{
  padding: 17px 0px;
}
.search_input{
  width: 300px;
  height: 50px;
  border: none;
  border: 0.3px solid #dcdcdc;
  padding: 10px;
  font-weight: 300;
  font-size: 25px;
}
/* prevents the border to be highlighted blue when you type stuff in the search bar */
input:focus,
button:focus {
    outline: none;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ffc21c;
}
/* Yellow titles for each episode */
/* TODO: this overlaps a lot with `box_episode_title`; need to modify the classes
  in html accordingly  */
.episode-title {
  font-size:3em;
  font-family: 'Lato';
  font-weight: 300;
  color:#33353d;
  background-color: rgba(255, 194, 28, 0.8);
  margin-bottom: 30px;
  display: inline-block;
  line-height: 110%;
  padding: 0.3em 0.4em;
  border-radius: 10px;
}
@media(max-width:561px) {
  .episode-title {
    font-size:2em;
    white-space: normal;
    padding: 0em;
  }
}
/* This complements `episode-title`. Used in the homapage and archive*/
/* TODO: rename this: `alt_episode-title`*/
.box_episode_title {
  margin-top: 20%;
  font-size:1.2em;
  border-radius: 3px;
}
@media(max-width:561px) {
  .box_episode_title {
    margin-top: 20%;
    font-size:1.6em;
    white-space: normal;
    padding: 0em;
    /*margin-top: 0.4em;*/
  }
}

.vertical-line {
  border-left: thick solid #ffc21c;
  padding-left: 4em;
}
.vertical-line-right{
  border-right: thick solid #ffc21c;
  padding-right: 4em;
}
@media(max-width:768px) {
 .vertical-line {
  padding-left: 1em;
  }
  .vertical-line-right{
    padding-right: 1em;
  }
}
a.footer-unclickeable{
  color: white;
}
a.footer-clickeable{
  color: #33353d;
}

/* Flashy red "PREVIEWED EPISODE" */
.preview_episode_admin{
  position: absolute;
  top: 70%;
  left: 12%;
  z-index: 5;
  width: 200px;
  border-radius: 5px;
  border: 2px solid red;
  margin: auto;
  color: red;
  background-color: rgba(0, 0, 0, 0.4);
}
.preview_episode_admin > p{
  margin: 7px;
  margin-right: 0px;
}



/* DISCIPLINE DROPDOWN STUFF */
.navbar_dropdown{
  height: 100px;
  margin: 5px;
}
.navbar_dropdown  a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    text-align: left;
    font-size: 0.7em;
}
@media (min-width: 1200px){
  .containter_navbar_dropdown {
    width: 950px;
  }
}
/* ======= */
.discipline_dropdown .discipline_dropbtn, .search_dropdown .search_dropbtn {
    cursor: pointer;
    padding-top: 19.5px;
    padding-left: 15px;
    padding-right: 15px;
}
.discipline_dropbtn:hover{
  color: #ffc21c;
}
.discipline_dropdown-content {
    display: none;
    z-index: 1;
}

.discipline_dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    text-align: left;
    font-size: 0.7em;
}

.discipline_dropdown-content a:hover {
    color: #ffc21c;
}

.show_disciplines, .show_search {
    display: block;
}
@media(max-width:991px){
  .discipline_dropdown-content{
    right: 0;
    min-width: 100%;

  }
}
@media(max-width:767px){
  .discipline_dropdown-content{
    position: static;
  }
}
/* end of DISCIPLINE DROPDOWN STUFF */
.contact_button{
  color: #33353d;
}
.contact_button:hover{
  color: #ffc21c;
}
