/* Wordpress Core Themes */

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* // Wordpress Core Themes /*/

.apply-button {
  font-weight: bold;
  background-color: rgb(247, 205, 30);
  padding: 4px 10px;
  margin-top: 4px;
  color: black;
  text-align: center;
  width: 80%;
  text-decoration: none;
  display: block;
}

.apply-button:hover {
  background-color: rgb(247, 205, 30);
  background-color: rgba(247, 205, 30, 0.5);
}

.apply-button {
  display: none;
}

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

a.logo h2, a.logo {
  color: #ccc;
}

body p, body ul, body ol {
  font-size: 1.2em;
}

footer {
  font-size: 0.75em;
}

footer .widget_image {
  display: inline-block;
  width: 33.33%;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

footer #footer_widget {
  margin-bottom: 30px;
}

@media screen and (max-width: 850px) {
  footer .widget_image {
    display: block;
    text-align: left;
    width: auto;
    margin-bottom: 10px;
  }  
}

header .social-icons, footer .social-icons {
  margin-right: 4.08163%;
  padding-top: 8px;
  text-align: right;
}

/** Styles for Company Listing Page */

.company-row {
  margin-bottom: 2.5em;
}

.company-logo {
  float: right;
  margin: 0 0 10px 10px;
  max-width: 200px;
  width: 200px;
}

.company-logo-wrapper {
	text-align: center;
}

.company-twitter, .company-website {
  font-size: 1.2em;
  width: 49%;
  padding: 0.2em 0;
  margin: 0;
  display: inline-block;
}

/** Styles for Programme Page */

.page-id-39 .bodycopy ul>li:before {
	content: "\00BB" ! important;
	font-size: 1.2em;
	line-height: 1.2em;
	font-weight: bold;
	left: -0.75em;
}

.page-id-39 .bodycopy ul {
    padding-left: 1em;
}

/** Styles for Space Mission logos on Companies pages */

.mission-row {
	margin-top: 25px;
}

.mission-row-button {
	margin-bottom: 0.2em;
	line-height: 1.5;
	color: #666;
	font-weight: bold;
	font-size: 1.1em;
	border: 1px solid #979797;
	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.50);
	border-radius: 8px;
	text-align: center;
	padding: 10px 5px;
	margin-bottom: 8px;
}

.mission-row a {
	text-decoration: none;
}

/** Tweak for primary menu in header on mobile devices < 420px width drop the menu item 206 that has the non-breaking space as it makes a single column menu
look weird **/

@media screen and (max-width: 420px) {
	.menu-item-206 { display: none; }
}

/** For use with responsive hamburger menu **/
#responsive-menu-item-206 {
	display: none;
}

.responsive-menu-slide-left header {
	margin-bottom: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.responsive-menu-slide-left header .logo {
	padding-top: 15px;
}

.page-template-companies .sidebar {
  background-color: white;
}

/** 
 * Styles for mission company list in the sidebar
 */

.sidebar-mission h3 {
  font-size: 1.1em;
  background: url(/wp-content/themes/mission/images/logo.png) left top no-repeat;
  background-size: 30px 24px;
  padding-left: 40px;
  margin-top: 1.5em;
}

.sidebar-mission.first h3 {
  margin-top: 0;
}

.sidebar-mission ul {
  font-size: 0.9em;
  list-style-type: none;
  padding: 0;
  line-height: 1.4em;
}

.sidebar-mission ul a {
  text-decoration: none;
  color: black;
}

.sidebar-mission ul a:hover {
  text-decoration: underline;
}