body {
  background: #f8f8f8;
  color: #3a3a3a;
  padding: 10px 0; }

.h1, h1 {
  font-size: 1.9rem;
  font-weight: 300; }

.h2, h2 {
  font-size: 1.4rem;
  font-weight: 300; }

a {
  color: #21b384; }
  a:hover {
    color: #21b384; }
  a:active, a:focus {
    color: #198864; }
  a.danger {
    color: #f46060; }
  a.demoted {
    color: #888; }

pre {
  color: #999; }

hr {
  border-color: #CFCFCF; }

.hidden {
  display: none !important; }

#notifications {
  z-index: 1000; }
  #notifications.fixed {
    position: fixed;
    right: 30px;
    bottom: 30px; }

.form-bottom-controls {
  margin-top: 30px; }

::-webkit-input-placeholder {
  color: #ccc !important;
  font-size: 12px; }

::-moz-placeholder {
  color: #ccc !important;
  font-size: 12px; }

/*---- Global page template --------------------------------------------------*/
.page-wrapper.loading {
  opacity: 0.5;
  pointer-events: none; }

.page-content {
  padding-top: 10px;
  padding-bottom: 150px; }

.site-brand {
  margin-top: 15px;
  opacity: 0.8; }
  .site-brand img {
    display: block;
    width: 100%; }

.primary-nav {
  font-size: 14px;
  margin-top: 30px; }
  .primary-nav .nav-link {
    color: white; }
    .primary-nav .nav-link:hover {
      background-color: rgba(255, 255, 255, 0.09); }
    .primary-nav .nav-link.active {
      background-color: #21b384 !important;
      color: #3a3a3a !important;
      font-weight: bold; }
  .primary-nav .fa {
    opacity: 0.9;
    display: inline-block;
    margin-right: 3px; }

.page-top-controls {
  margin: 20px 0; }

.hidden-google-signin {
  display: none; }

.search-field {
  background-color: white;
  width: 400px;
  max-width: 100%;
  position: relative;
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 5px; }
  .search-field .search-icon {
    position: absolute;
    top: 7px;
    left: 8px;
    font-size: 14px;
    color: #888; }
  .search-field input[type=search] {
    background: none;
    border: none;
    background: none;
    box-sizing: border-box;
    width: 100%;
    font-size: 14px;
    margin-left: 24px;
    display: block;
    padding: 4px; }
  .search-field .search-loading {
    font-size: 17px;
    position: absolute;
    top: 6px;
    right: 5px;
    color: #999; }

.vimeo-preview {
  display: flex;
  align-items: center;
  margin: 10px 0; }
  .vimeo-preview .pic {
    background: #f0f0f0;
    display: block;
    margin-right: 10px;
    width: 100px;
    height: 75px; }
  .vimeo-preview .vimeo-icon, .vimeo-preview .vimeo-link {
    color: #1ab7ea; }
  .vimeo-preview .remove-vimeo {
    visibility: hidden;
    position: absolute;
    right: 20px;
    display: block;
    padding: 0 4px; }
  .vimeo-preview:hover .remove-vimeo {
    visibility: visible; }

/*---- Random vendor overides ------------------------------------------------*/
.modal {
  color: #1a1a1a; }
  .modal .btn-primary {
    background-color: #21b384;
    border-color: #198864; }
    .modal .btn-primary:hover {
      background-color: #198864; }

.datepicker--day-name {
  color: #21b384; }

.primary-nav {
  font-size: 14px;
  margin-top: 15px; }
  .primary-nav .nav-link {
    color: #3a3a3a;
    transition: all 0.15s; }
    .primary-nav .nav-link:hover {
      background-color: rgba(0, 0, 0, 0.05); }
    .primary-nav .nav-link.active {
      background-color: #21b384 !important;
      color: #ffffff !important;
      font-weight: normal;
      cursor: pointer; }
  .primary-nav .fa {
    opacity: 0.9;
    display: inline-block;
    margin-right: 3px; }
  .primary-nav .nav-item-sep {
    border-bottom: 1px solid #CFCFCF;
    margin-top: 10px !important;
    margin-bottom: 10px !important; }

.btn {
  transition-duration: 0.15s;
  cursor: pointer; }

.btn-outline-primary {
  border-color: #21b384;
  color: #21b384; }
  .btn-outline-primary:hover {
    background: #21b384;
    color: #f8f8f8;
    border-color: #21b384; }
  .btn-outline-primary:active, .btn-outline-primary:focus, .btn-outline-primary:active:focus {
    background: #198864;
    color: #f8f8f8;
    border-color: #21b384; }

.loading-mask {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
  width: 300px;
  height: 127px;
  text-align: center;
  margin: auto;
  background: #80f094;
  color: #3a3a3a;
  padding: 10px 10px;
  border-radius: 15px;
  font-size: 50px;
  text-transform: uppercase;
  font-weight: bolder;
  line-height: 1em;
  transition: all 0.4s;
  visibility: hidden;
  -webkit-filter: blur(10px);
  filter: blur(10px);
  opacity: 0; }
  .loading-mask.shown {
    visibility: visible;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1; }

#notifications {
  z-index: 1000; }
  #notifications.fixed {
    position: fixed;
    right: 30px;
    bottom: 30px; }

.alert {
  padding: 5px 10px;
  transition: opacity 1.5s; }
  .alert.alert-success {
    background: #80f094;
    border-color: #52eb6e;
    color: #4a4a4a; }
  .alert.alert-warning {
    background: #ece57d; }
  .alert.alert-danger {
    background: #f46060;
    border-color: #ca4d4d;
    color: white; }

.login-page-wrapper {
  background-color: #f8f8f8;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  text-align: center; }
  .login-page-wrapper .login-wrapper {
    margin-top: 22vh; }
  .login-page-wrapper .login-brand img {
    margin: 0 auto;
    display: block;
    max-width: 100%; }
  .login-page-wrapper .google-signin {
    width: 120px;
    margin: 40px auto; }

.media-list .item {
  display: flex;
  align-items: center;
  margin: 10px 0; }
  .media-list .item.external .title:before {
    content: "[external] "; }

.media-list .cover-image {
  margin-right: 5px;
  width: 100px;
  height: 60px;
  overflow: hidden;
  background-size: cover;
  background-color: #f1f1f1; }

.media-list hr {
  margin: 0; }
  .media-list hr:last-child {
    display: none; }

.section-content-edit .choose-from-vimeo {
  display: block;
  width: 160px; }

.section-content-edit .cover-preview .pic {
  margin-bottom: 10px;
  width: 400px; }

.section-content-edit .media-preview {
  display: flex;
  align-items: center; }
  .section-content-edit .media-preview .pic {
    background: #f0f0f0;
    display: block;
    margin-right: 10px;
    width: 100px;
    height: 75px; }
  .section-content-edit .media-preview .vimeo-icon, .section-content-edit .media-preview .vimeo-link {
    color: #1ab7ea; }
  .section-content-edit .media-preview .remove-vimeo {
    visibility: hidden;
    position: absolute;
    right: 20px;
    display: block;
    padding: 0 4px; }
  .section-content-edit .media-preview:hover .remove-vimeo {
    visibility: visible; }

.section-content-edit .channel-item {
  display: block; }

.f_iframe_embed iframe {
  width: 100% !important;
  height: 100% !important; }

#vimeo_videos_list {
  height: 400px;
  overflow-y: scroll; }
  #vimeo_videos_list .vid {
    display: flex;
    align-items: center;
    height: 85px;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.15s; }
    #vimeo_videos_list .vid .pic {
      width: 100px;
      height: 75px;
      background: #f0f0f0;
      display: block;
      margin-right: 10px; }
    #vimeo_videos_list .vid:hover {
      background: #f5f5f5; }
  #vimeo_videos_list hr {
    margin: 0; }
  #vimeo_videos_list hr:last-child {
    display: none; }

.playlists-page .item .title {
  margin-left: 5px;
  margin-right: 5px; }

.playlists-page .item .count {
  font-size: 12px; }

.playlists-page .item:hover {
  text-decoration: none; }
  .playlists-page .item:hover .title {
    text-decoration: underline; }

.section-playlists-edit .cover-preview .pic {
  max-width: 100%;
  margin-bottom: 10px; }

.section-playlists-edit #the_playlist {
  list-style-type: none;
  margin: 0;
  padding: 0; }
  .section-playlists-edit #the_playlist li {
    cursor: default;
    padding: 5px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    height: calc(42px + 10px);
    background: white;
    position: relative; }
    .section-playlists-edit #the_playlist li:hover .delete {
      display: block; }
  .section-playlists-edit #the_playlist .cover-image {
    width: 65px;
    margin-right: 5px; }
    .section-playlists-edit #the_playlist .cover-image img {
      display: block;
      width: 100%; }
  .section-playlists-edit #the_playlist .delete {
    display: none;
    color: red;
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 10px;
    cursor: pointer; }

.section-playlists-edit .channel-item {
  display: block; }

#content_list {
  height: 400px;
  overflow-y: scroll; }
  #content_list .vid {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.15s; }
    #content_list .vid .pic {
      width: 80px;
      height: 50px;
      display: block;
      margin-right: 10px;
      background-size: cover;
      background-position: center;
      background-color: #f1f1f1; }
    #content_list .vid .title {
      flex: 1; }
    #content_list .vid:hover {
      background: #f5f5f5; }
    #content_list .vid.selected {
      background: lightblue; }
  #content_list hr {
    margin: 0; }
  #content_list hr:last-child {
    display: none; }

.section-channels-edit .cover-preview .pic {
  margin-bottom: 10px; }

.schedule-wrap {
  width: 100%;
  background-color: #f1f1f1;
  padding: 20px 10px 10px;
  position: relative; }

.schedule-hr {
  position: relative;
  margin-left: 30px;
  height: 100px;
  border-top: 1px solid #d8d8d8; }
  .schedule-hr .schedule-hr-label {
    text-align: right;
    position: absolute;
    top: -11px;
    width: 40px;
    left: -43px;
    font-size: 12px; }

.schedule-content-wrap {
  position: absolute;
  top: 20px;
  left: 50px;
  right: 20px;
  bottom: 10px; }
  .schedule-content-wrap .sortable-placeholder {
    width: 100%;
    box-sizing: border-box;
    height: 50px; }

.schedule-content-item {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  overflow: hidden;
  background: #e8e8e8;
  background: -moz-linear-gradient(top, #e8e8e8 0%, #d8d8d8 100%);
  background: -webkit-linear-gradient(top, #e8e8e8 0%, #d8d8d8 100%);
  background: linear-gradient(to bottom, #e8e8e8 0%, #d8d8d8 100%); }
  .schedule-content-item .pic {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    height: 60px;
    background-color: #ddd;
    background-size: cover; }
    .schedule-content-item .pic img {
      display: block;
      max-width: 100%; }
  .schedule-content-item .info {
    position: absolute;
    left: 120px;
    top: 10px;
    right: 20px;
    line-height: 1em; }
  .schedule-content-item .delete {
    position: absolute;
    cursor: pointer;
    top: -3px;
    right: 6px; }

.section-landing-page-edit .choose-cover {
  margin-top: 10px; }

.section-landing-page-edit #the_featured_media, .section-landing-page-edit #the_playlist {
  padding-left: 0px; }
  .section-landing-page-edit #the_featured_media .playlist-item, .section-landing-page-edit #the_playlist .playlist-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: solid 1px #ccc;
    position: relative;
    margin-bottom: 10px; }
    .section-landing-page-edit #the_featured_media .playlist-item .cover-image, .section-landing-page-edit #the_playlist .playlist-item .cover-image {
      max-width: 150px;
      display: inline-block; }
      .section-landing-page-edit #the_featured_media .playlist-item .cover-image img, .section-landing-page-edit #the_playlist .playlist-item .cover-image img {
        width: 100%; }
    .section-landing-page-edit #the_featured_media .playlist-item .title, .section-landing-page-edit #the_playlist .playlist-item .title {
      margin-left: 20px; }
    .section-landing-page-edit #the_featured_media .playlist-item .delete, .section-landing-page-edit #the_playlist .playlist-item .delete {
      padding: 17px 12px;
      cursor: pointer;
      position: absolute;
      right: 20px; }

.section-landing-page-edit .cta input {
  margin-bottom: 10px; }

.attendance {
  margin-top: 20px;
  padding: 20px;
  border: solid 3px #000;
  border-radius: 3px; }
  .attendance h2 {
    margin: 20px 0; }
    .attendance h2 b {
      font-size: 14px;
      background-color: #21b384;
      color: #fff;
      padding: 3px 5px;
      border-radius: 3px; }
  .attendance .attendance_sum {
    color: red; }

.attendance_not_added {
  padding: 20px;
  border: solid 3px red;
  border-radius: 3px; }
  .attendance_not_added .not {
    color: red;
    text-decoration: underline; }
