/* Defeat bad or unwanted styles from Drupal or other sources */

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.element-invisible {
  display: none;
}

#skip {
  display: none;
}


/* Padding and structural elements */
.container {
  max-width: 80em;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

.container::after {
  clear: both;
  content: "";
  display: table;
}

#footer {
  height: 100%;
}

.page_gutter {
  padding-left: 7em;
  padding-right: 7em;
}

.jtable {
  display: table;
  width: 100%;
}
.jrow { display: table-row; }
.jcell {
  display: table-cell;
  vertical-align: top;
}

.jtable.col2 .jrow .jcell  {
  width: 50%;
}

.content .jtable.col2 .jrow .jcell:nth-child(odd){
  padding-right: 1em;
}

.content .jtable.col2 .jrow .jcell:nth-child(even){
  padding-left: 1em;
}

#sidebar_mobile {
  display: none;
}

.content_gutter {
  padding: 1em;
}

/* Banner region */
#banner {
  padding-top: 18px;
  background-color: white;
}

#banner p {
  margin: 0;
  padding: 0;
}

#banner .jcell {
  vertical-align: middle;
  font-size: .7em;
}

#banner .jcell.left {
  padding-top: 5px;
  width: 500px;
}

#banner .jcell.center {
  width: 100%;
  text-align: right;
}

#banner .jcell.right img {
  vertical-align: middle;
}

#banner .jcell.right {
  padding-top: 0px;
  text-align: right;
  min-width: 100px;
}


/*
  Header elements styles
  */
#header {
  background-color: white;
}

#header #logo img {
  display: block;
  width: 460px;
  height: auto;
}

#site-name {
  font-size: 2.2em;
  background-color: #fff;
  padding-top: 15px;
}

#top_banner .block-menu {
  position: absolute;
  left: 600px;
  top: -4px;
}

#top_banner ul.menu {
  margin: 0;
  padding: 0;
  list-style-type: 0;
}

#top_banner ul.menu li {
  font-size: .8em;
  display: inline;
  padding-left: 0;
  border-right: 1px solid black;
  padding-right: .7em;
}

#top_banner .mit_banner {
  width: 500px;
  height: auto;
}

#top_banner ul.menu li.last {
  border: 0;
}

#top_banner .block-block-4 {
  position: absolute;
  left: 1000px;
  top: -3px;
  text-align: right;
}

#header .jcell.right {
  padding-right: 7em;
  padding-bottom: 2em;
  vertical-align: bottom;
}

#header ul {
  padding-left: 0;
}


/* Carousel */
#caroufredsel_wrapper {
  overflow: hidden;
}

#carousel {
  overflow: visible;
}

.block-wwcarousel {
  background-color: #f4f4f4;
}

#carousel a:hover {
  text-decoration: none;
}

#carousel .lesson img {
  width: 100%;
  height: auto;
}

#carousel .image.highlight {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#carousel img.carousel_default,
#carousel .image.highlight img {
  width: 100%;
  height: auto;
}

ul#carousel {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

ul#carousel li {
  display: block;
  float: left;
  width: 225px;
  height: 300px;
  vertical-align: top;
  margin-left: 3px;
}

#carousel .title,
#carousel .text {
  padding: 0.8em 1em 1em 1em;
  font-size: 0.8em;
}

#carousel .title {
  font-size: 0.9em;
}

#carousel li.news .text {
  padding-top: 0;
}

#carousel .title {
  text-transform: uppercase;
}

#carousel .title.news {
  background-color: #043b64;
  color: white;
}

#carousel li a {
  color: white;
}

#carousel ol li {
  display: list-item !important;
  float: none;
  width: auto;
  height: auto;
  margin-left: 0;
}

#carousel ol {
  margin-left: .5em;
  padding-left: .5em;
}

#carousel ul ol li {
  display: block;
  float: none;
  width: auto;
  height: auto;
}

.carousel_controls {
  position: absolute;
  display: block;
  width: 100%;
}

#prev2 {
  position: absolute;
  top: -180px;
  left: 30px;
  width: 52px;
  height: 52px;
  background: #fff url(../img/previous.svg) no-repeat scroll 0 0;
  background-size: 30px 30px;
  background-position: 8px 10px;
  border: medium none;
  border-radius: 26px 26px 26px 26px;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  z-index: 1000;
}

#next2 {
  position: absolute;
  top: -180px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: #fff url(../img/next.svg) no-repeat scroll 0 0;
  background-size: 30px 30px;
  background-position: 12px 10px;
  border: medium none;
  border-radius: 26px 26px 26px 26px;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  z-index: 1000;
}


/* Carousel Slideshow */

#wwslideshow {
    margin: 50px auto;
    position: relative;
    width: 100%;
    height: 400px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    background-color: white;
}

#wwslideshow > div {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}


#wwslideshow > div img {
  width: 100%;
  height: auto;
  max-height: 375px;
  object-fit: cover;
  overflow: hidden;
}

/* Navigation Menu */


.block-menu-block-1 {
  float: right;
}

.menu-block-1 ul.menu {
  list-style: none;
  font-weight: 900;
  font-family: "Muli", Arial, sans-serif;
  margin-bottom: 10px;
  float: left; /* Clear floats */
  /*width: 100%; */
  /*Bring the nav above everything else--uncomment if needed. */
  position: relative;
  z-index: 5;

}

.menu-block-1 ul.menu li {
  float: left;
  font-size: 1em;
  margin-right: 0px;
  position: relative;
}

.menu-block-1 a {
  display: block;
  padding: 0.4em 0.75em;
  color: #fff;
  background-color: #fff;
  text-decoration: none;
}

.menu-block-1 a.active,
.menu-block-1 a.active-trail {
  color: #fff;
  background-color: #043b64;
  text-decoration: none;
}

/* Do not display currently-selected lesson from the main menu */

.menu-block-1 .mid-447 {
  display: none;
}


.menu-block-1 a:hover {
  color: #fff;
  background-color: #043b64;
  text-decoration: none;
}

/* Expando expandable content and menus */
.expando.off .expando_content {
  display: none;
}

.expando_control {
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  font-size: .9em;
  margin-bottom: 24px;
}

.mobile_menu_container.off .mobile_menu_content {
  display: none;
}

/* Dropdown */

.menu-block-1 ul.menu ul {
  background-color: #fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
  background: rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
  list-style: none;
  position: absolute;
/*  width: 100%; */
/* uncomment the following to go live */
  left: -9999px;
  padding-bottom: 16px;
  padding-top: 3px;
  background-color: #043b64;
}

.menu-block-1 ul.menu ul li {
  /* padding-top: 1px; */ /* Introducing a padding between the li and the a give the illusion spaced items */
  float: none;
  font-weight: 400;
  font-size: 0.9em;
}

.menu-block-1 ul.menu ul a {
  display: block;
  color: #fff;
  white-space: nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
.menu-block-1 ul.menu li:hover ul { /* Display the dropdown on hover */
  left: -8.5px; /* Bring back on-screen when needed */
}
.menu-block-1 ul.menu li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
  background-color: #043b64;
  color: #fff;
  text-decoration: none;
}
.menu-block-1 ul.menu li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
  text-decoration: none;
  background-color: #043b64;
}
.menu-block-1 ul.menu li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
  background-color: #043b64;
  color: #f8e394;
}


/* Hide mobile menu for desktop viewing */
#highlighted {
  display: none;
}

#mobile_menu .expando_control {
  margin: auto;
}


/* User menu in footer */
#footer ul.menu {
  margin: 1em 0;
  padding: 0;
  list-style-type: none;
}

#footer ul.menu li {
  display: inline;
  padding-left: .4em;
  border-right: 1px solid #999;
  padding-right: .7em;
}

#footer ul.menu li.last {
  border: none;
}

#banner ul.menu li a:hover {
  color: #043b64;
}


/* Body area styles */
#main {
  background-color: #f8e394;
  width: 100%;
  /* padding-bottom: 3em; */
}

.content_width {
  width: 95%;
}

.messages {
  max-width: 40em;
  overflow: hidden;
}

#mobile_menu {
  display: none;
}

body.front #main,
body.page-videos #main,
body #carousel {
  background-color: #f4f4f4;
}

#main .jcell.sidebar {
  background-color: #043b64;
  text-align: center;
  padding-top: 18px;
}

#main .jcell.sidebar img {
  max-width: 180px;
  height: auto;
}

#main .jcell.content {
  padding-right: 0px;
  padding-top: 20px;
  padding-bottom: 3em;
}

.block-block-5 a {
  padding-right: 2em;
  text-transform: uppercase;
  font-weight: 700;
}

.block-block-5 a:last-child {
  padding-right: 0;
}


.view-right-column-content .views-row {
  background: white;
  width: 14em;
  margin: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

#content-area {
  /* max-width: 50em; */
}

.breadcrumb {
  font-size: .8em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.node .field {
  margin-bottom: 1em;
}


.tabs ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding-left: 0;
}

.tabs ul li {
  display: inline;
  font-family: "Muli", Arial, sans-serif;
  font-size: .9em;
  font-weight: 900;
}

.tabs ul li a {
  background-color: white;
  padding: 6px 14px;
  margin-right: 6px;
}

.tabs ul li a:hover {
  background-color: #043b64;
  color: white;
  text-decoration: none;
}

/* News Pages */
.view-news h3 {
  margin-bottom: .1em;
}

/* Video Landing Page */

/* Video Landing Page Filters */
  .view-videos {
    margin: auto;
  }

  .view-videos .view-filters {
    display: none;
  }

  .video_filters {
    margin-bottom: 1.2em;
  }

  .video_filters .jcell {
    height: 1.8em;
  }

  .video_filters .jcell.label {
    width: 6em;
    padding-bottom: 1em;
  }

  .video_filters a,
  .video_filters .filter_item {
    padding: 0.3em 0.9em;
  }

  .video_filters a.selected,
  .video_filters a:hover,
  .video_filters span.selected {
    background-color: #043b64;
    color: white;
    text-decoration: none;
  }

  .video_filters ul {
    list-style: none;
    padding-left: 0;
  }
  .video_filters ul li {
    list-style: none;
    display: inline-block;
  }

/* Video Landing Page Tiles */
  .view-videos .views-row {
    width: 24%;
    line-height: 1.2em;
    padding-bottom: 30px;
    float: left;
    min-width: 220px;
  }

  .view-videos .views-row .lesson .thumbnail {
    max-height: 150px !important;
    overflow: hidden;
  }

  .view-videos img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }

  .view-videos .views-row .lesson {
    background-color: white;
    width: 93%;
    min-height: 19em;
    max-width: 310px;
    cursor: pointer;
  }

  .view-videos .views-row .lesson a:hover {
    text-decoration: none;
  }

  .view-videos .views-row .topic {
    padding: 1em;
    text-transform: uppercase;
    font-size: .9em;
  }

  .view-videos .lesson a {
    color: blue;
  }

  .view-videos .views-row .title {
    padding: 0.8em 1em 1em 1em;
    font-size: .8em;
  }

  .views-videos .pager {
    clear: both;
  }


/* Lesson detail page (video) */

body.node-type-lesson #main .jcell.sidebar {
  width: 33%;
  text-align: left;
  color: white;
}

body.node-type-lesson #main .jcell.content {
  width: 66%;
}

.video_form form {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#video_lesson_information_mobile {
  display: none;
}

.node-type-lesson h1.title {
  display: none;
}

#sidebar-second {
  padding: 1em;
  max-width: 20em;
}

#sidebar-second a {
  color: white;
}

#sidebar-second .field-content {
  margin-bottom: 0.9em;
}

.view-lesson-right-column h3 {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0.3em;
}

.related_videos {
  margin-top: 1em;
}

.related_video {
  margin-bottom: 2.5em;
}

.now_showing_language {
  font-size: 0.7em;
  text-transform: uppercase;
}


.lesson_information .image img,
.related_video .related_video_image img {
  width: 100%;
  height: auto;
}



/* Hide page image from desktop viewers, mobile will see this instead of sidebar */
.field-name-field-page-image {
  display: none;
}

body.node-type-lesson .introduction,
body.node-type-lesson .additional_online_resources,
body.node-type-lesson .instructor_biography,
body.node-type-lesson .for_teachers,
body.node-type-lesson .teacher_resources {
  max-width: 40em;
  overflow: hidden;
}

/* Use jQuery to turn display the things that require javascript. See js/scripts.js */
#transcript_download,
#video_download,
#video_display {
  display: none;
}

.video_player div.hide {
  display: none;
}

.search-advanced,
.search-info {
  display: none;
}

select#video_display,
select#video_download,
select#transcript_download {
  width: 15em;
}

select#video_display {
  margin-right: 1em;
}

select#transcript_download {
  margin-left: 1em;
}

/* home page */
body.front #content-area .block-block-5 h2 {
  color: #be5b31;
  font-style: italic;
}

body.front .home_topic_table .jcell {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9em;
}

body.front h1.title {
  display: none;
}

table.people td {
  padding: 0 1em 1em 0;
}

.view table {
  width: 100%;
  border-collapse: collapse;
}

.view.view-lesson-master table td,
.view.view-lesson-master table th,
.view.view-video-master table td,
.view.view-video-master table th,
.view.view-lesson-video-list table td,
.view.view-lesson-video-list table th {
  padding: 0.5em;
  font-size: 0.8em;
  background-color: white;
  border: 1px solid #999;
}

.view.view-lesson-master table th,
.view.view-lesson-master table th a,
.view.view-video-master table th,
.view.view-video-master table th a,
.view.view-lesson-video-list table th,
.view.view-lesson-video-list table th a {
  background-color: #000;
  color: white;
}

.node-type-highlight .field-name-field-feature-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Newsletter Archive */

.view-newsletters.view-display-id-page_1 td {
  width: 33%;
}

.view-newsletters .view-content .views-row .views-field .field-content img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.view-display-id-page_1 td img {
  object-fit: cover;
  object-position: 0 0;
  max-height: 300px;
  width: 90%;
  height: auto;
}

.view-display-id-page_1 h3 {
  margin-top: 0;
}

/* Lesson evaluation form */
.options_horizontal div.form-item {
  display: inline-block;
  margin-right: 1em;
}

/* CPALMS Logo */
div.cpalms_desktop {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  width: 60%;
  text-align: center;
}

div.cpalms_desktop h3 {
  font-weight: normal;
  font-size: 1em;
}

div.cpalms_mobile {
  display: none;
}

div.cpalms_desktop img {
  width: 100%;
  height: auto;
}

/*
  colors:

  dark blue: #043b64;
  footer: #2c2422;


*/


body {
  background-color: #2c2422;
  margin: 0;
  font-size: .9em;
  line-height: 1.5em;
  font-weight: 400;
  font-family: "Open Sans", helvetica, Arial, sans-serif;
}

body.node-type-newsletter-item {
  background-color: #fff;
}

a:link, a:visited {
  color: #065896;
  text-decoration: none;
}

a:hover, a:active {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Muli", sans-serif;
  font-weight: 900;
  line-height: 1.3em;
}

h1 {
  font-size: 1.8em;
  padding: 0 0 0.5em;
  margin: 0;
}

h2 {
  font-size: 1.4em;
  margin-bottom: 0.75em;
}

h3 {
  font-size: 1.2em;
  margin-bottom: 1em;
}

h4 {
  font-size: 1.1em;
  margin-bottom: 0.8em;
}

h5 {
  font-size: 1em;
  margin-bottom: 0;
}

h6 {
  font-size: 1em;
}

p {
  margin: 0 0 1em 0;
}

#main li {
  margin-bottom: 0.3em;
}

#header ul.menu {
  margin-bottom: 1em;
}

td {
  vertical-align: top;
}

.views-field-field-page-image-1 {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}


.caption {
  line-height: 1.3em;
  font-style: italic;
  color: #444;
  font-size: .7em;

}

label:after {
  /* content: ":"; */
}

input {
  font-size: .9em;
  font-family: "Open Sans", Arial, sans-serif;
  border: 0;
  padding: 0.5em;
  background-color: white;
}

input[type="button" i],
input[type="submit" i],
input[type="reset" i],
input[type="file" i]::-webkit-file-upload-button,
button {
  font-family: "Muli", Arial, sans-serif;
  font-weight: 900;
  border: 0;
  font-size: .9em;
  padding: 6px 14px;
  margin: 12px 6px 12px 0;
  background-color: #043b64;
  color: white;
}

input[type="submit"]:hover {
  background-color: white;
  color: #043b64;
  cursor: pointer;
}

/* Form-related items */

.form-item {
  margin-bottom: 1.3em;
}

.form-item.form-type-radio {
  margin-bottom: .2em;
}

.form-item .description {
  font-style: italic;
  font-size: .8em;
}

label {
  font-weight: 700;
  display: block;
  margin-bottom: .4em;
}

label.option {
  font-weight: 400;
}

.webform-client-form-1042 label {
  display: inline-block;
}

.webform-component--how-did-you-use-this-lesson label {
  display: block;
}

.form-required {
  color: red;
}

.item-list {
  /*text-align: center; */
}

ul.pager {
  list-style: none;
  padding-left: 0;
}

ul.pager li {
  display: inline;
  margin: .3em;
  padding: .7em .5em;
}

ul {
  margin-top: 0;
  padding-top: 0;
  margin-left: 0.6em;
  padding-left: 0.6em;
}


/*
  Any css related to the footer of pages
  */

#footer {
  background-color: #2c2422;
  text-align: center;
  padding-bottom: 30px;
  color: #999;
}

.footer_logo {
  margin-top: 18px;
}

.footer_logo img {
}

.footer_name {
  color: #999;
  font-size: 1.1em;
  margin-top: 18px;
  text-transform: uppercase;
}

#footer div.copyright_notice {
  display: table;
  width: 100%;
  margin-top: 18px;
}

#footer div.copyright_notice .left,
#footer div.copyright_notice .right {
  width: 50%;
  display: table-cell;
  font-size: .7em;
}

#footer div.copyright_notice .right {
  text-align: right;
}

#footer div.copyright_notice .left {
  text-align: left;
}

#footer block-views-footer-flags-block {
  margin-left: auto;
  margin-right: auto;
}

.view-footer-flags .view-content {
  display: table;
  width: 100%;
}

.view-footer-flags .view-content div.views-row {
  display: table-cell;
}

.view-footer-flags .view-content div.views-row img {
  margin-left: auto;
  margin-right: auto;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
  color: #fff;
  opacity: 0.4;
}

#footer .social_media a {
  opacity: 1;
}

.mobile_show {
  display: none;
}

@media screen and (max-width: 800px) {

  .content_width {
    width: 100%;
  }

  .mobile_hide {
    display: none;
  }

  .mobile_show {
    display: inline-block;
  }

  #mobile_menu {
    display: inline-block;
    padding-top: .2em;
    padding-bottom: .2em;
    background-color: white;
    width: 100%;
    background-color: #043b64;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    width: 95%;
  }

  .field-name-body img {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .view-newsletters.view-display-id-page_1 td img {
    display: none;
  }

  .view-newsletters.view-display-id-page_1 td {
    display: list-item;
    margin-left: 2em;
    width: 100%;
  }

  .view-newsletters.view-display-id-page_1 table {
    empty-cells: hide !important;
  }


  #mobile_menu a {
    color: white;
  }

  body {
    font-size: 0.9em;
  }

  h1 {
    font-size: 1.3em;
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1.1em;
    text-align: left !important;
    text-transform: none !important;
  }

  .field-name-field-page-image {
    display: inline-block;
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
  }

  #main .jcell.content {
    display: inline-block;
    width: 100%;
  }


  h1.title {
    display: block;
  }

  .field-name-body img {
    float: none;
    width: 100%;
    height: auto;
    margin: 1em 0 1em 0;
  }

  .block-blossoms-video-video-player h1 {
    /* display: none; */
  }

  #video_lesson_information_mobile {
    display: block;
  }


  #video_lesson_information_mobile img {
    width: 100%;
    height: auto;
    margin-right: .5em;
  }

  #video_lesson_information_mobile {
    margin-top: 1em;
    background-color: #043b64;
    color: white;
    padding: 1em;
  }

  #video_lesson_information_mobile a {
    color: white;
  }

  #video_lesson_information_mobile .topic {
    margin-top: 1em;
    margin-bottom: 1em;
  }

  #video_lesson_information_mobile hr {
    display: none;
  }

  div.cpalms_desktop {
    display: none;
  }

  div.cpalms_mobile {
    margin-top: 1em;
    margin-bottom: 1em;
    display: block !important;
  }

  #video_lesson_information_mobile .jrow {
    display: table-row;
  }

  #video_lesson_information_mobile .jtable {
    display: table;
  }

  #video_lesson_information_mobile .jtable .jrow .jcell {
    display: table-cell;
    width: 50%;
  }

  #video_lesson_information_mobile .jtable .jrow .jcell:nth-child(1) {
    padding-right: 1em;
  }

  #video_lesson_information_mobile h3 {
    margin-bottom: .3em;
    margin-top: 0;
  }


  body.node-type-lesson #main .jcell.content {
    width: 100%;
  }


  .page_gutter {
    padding-left: 1em;
    padding-right: 1em;
  }

  #banner .container .page_gutter .jtable .jrow .jcell {
    display: block;
    text-align: center;
  }

  #header .jcell,
  .content .jcell {
    display: block;
  }

  #banner .block-block-3 img {
    max-width: 400px;
    min-width: 300px;
    width: 80%;
  }



  #header #logo img {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    width: 80%;
    min-width: 300px;
  }

  #header .jcell.right {
    padding-right: 0;
    padding-bottom: 0;
    width: 100%;
    overflow: hidden;
  }

  #banner .jcell.left {
    width: 100%;
  }

  #banner .jcell.center,
  #banner .jcell.right {
    display: none !important;
  }

  .block-menu-block-1 {
    float: none;
  }

  div.home_topic_table {
    width: auto;
  }

  body.front #content-area .block-block-5 h2 {
    color: #be5b31;
    font-size: 1.2em;
    font-style: italic;
  }

  body.front .home_topic_table .jcell {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9em;
  }

  .footer_logo img {
    width: 30%;
  }

  /* Main Menu */
  #header ul.menu {
    margin-bottom: 0;
  }

  .menu-block-1 {
    width: 100%;
    position: relative;
    background-color: #fff;
    padding-bottom: .5em;
  }

  .menu-block-1 ul.menu {
    clear: left;
    float: left;
    position:relative;
    left:50%;
  }

  .menu-block-1 ul.menu li {
    display: block;
    position: relative;
    right: 50%;
    font-size: 0.9em;
  }

  .menu-block-1 ul.menu li a {
    display: block;
  }

  .menu-block-1 ul li.last {
    padding-right: 0;
  }

  .menu-block-1 ul.menu li ul.menu {
    display: none;
  }

  /* Sub page menu */
  #mobile_menu {
    color: white;
    width: 100%;
  }

  #mobile_menu .mobile_menu_container {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile_menu_control {
    cursor: pointer;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: .9em;
  }

  .menu-block-2 ul.menu {
    font-size: 0.8em;
    list-style: none;
    text-align: center;
    display: inline-block;
    margin-top: 1em;
    padding-left: 0;
    line-height: 1.2em;
    width: 100%;
  }

  .block-menu-block-2 .menu-block-wrapper {
    width: 100%;
  }

  .menu-block-2 ul.menu li {
    padding-right: 1em;
    padding-bottom: .5em;
  }

  .menu-block-2 ul.menu li a.active {
    font-weight: 700;
  }



  #footer .view-footer-flags .views-row {
    display: inline-block;
    margin-right: .5em;
  }

  .footer_name {
    font-size: 0.9em;
  }


  .menu-mlid-473,
  .menu-mlid-439 {
    display: none !important;
  }

  /* Lesson-related */
  .block-blossoms-video-video-filters .jcell {
    display: block;
    height: auto;
  }

  #sidebar_mobile {
    display: block;
  }

  .jcell.sidebar {
    display: none;
  }




} /* End max-width: */


@media screen and (max-width: 450px) {

  #video_lesson_information_mobile img {
    float: none;
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  #video_lesson_information_mobile .jtable .jrow .jcell {
    display: block;
    width: 100%;
  }

  div.cpalms_logo {
    text-align: left;
    font-weight: 700;
    margin-top: 1em;
  }

  div.cpalms_logo img {
    display: none;
  }




}




