/**
 * @file
 * Visual styles for Newsplus's node component.
 */

/*node*/
.node {
  position: relative;
}
.node--view-mode-full .node .field--name-body,
.node--view-mode-full .node .field--name-field-event-details {
  margin-bottom: 20px;
}
.node--view-mode-teaser .node-content .field--name-body {
  font-size: 14px;
}
.node--view-mode-teaser .node-content .field--name-body p {
  padding-bottom: 0;
}
.node--view-mode-teaser .user-picture {
  max-width: 70px;
  display: inline-block;
}
.node--view-mode-teaser .user-picture img {
  padding: 10px 10px 10px 0;
}
.node .submitted {
  font-size: 11px;
  color: #7d7d7d;
  padding-bottom: 20px;
}
.field--name-field-mt-subheader-body p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.33;
  padding-bottom: 25px;
}
@media (min-width: 992px) {
  .two-sidebars .node-teaser .field-type-image {
    margin-left: 30px;
    max-width: 190px;
  }
}
@media (max-width: 767px) {
  .node-teaser .field-type-image {
    margin-left: 30px;
    max-width: 190px;
  }
}
@media (max-width: 480px) {
  .node-teaser .field-type-image {
    margin-left: 0;
    float: none;
    max-width: 100%;
  }
  .node-teaser .field--name-body,
  .node-teaser .field--name-field-event-details {
    clear: both;
  }
}

/* Node Layout */
.node-side + .node-content {
  overflow: hidden;
}
.node--view-mode-teaser .node-content,
.node-teaser .node-content.full-width, .no-sidebars .node-content.full-width, .two-sidebars .node-content.full-width,
.sidebar-first .node-content.full-width {
  margin-left: 0!important;
}
.node-content .content {
  overflow: hidden;
}
.node h1.title {
  margin-bottom: 30px;
}
.node-teaser h2.title {
  margin-top: 5px;
}
.node-side {
  margin-top: 0px;
  float: left;
  text-align: center;
  width: 110px;
  min-height: 1px;
  font-size: 12px;
  padding: 0 30px 0 20px;
}
@media (max-width: 480px) {
  .node-side {
    margin-top: 10px;
    float: left;
    top: 0;
    left: 0;
    text-align: center;
    width: 75px;
    font-size: 12px;
    padding: 0 15px 0 0;
  }
}

/* Post User info */
.user-info {
  margin-bottom: 40px;
}
.node-teaser .user-info {
  margin-bottom: 20px;
}
.user-info .user-picture {
  margin: 10px auto 0;
}
.user-info .user-name {
  margin-top: 10px;
}

/* Share links */
.share-links {
  font-weight: 700;
  color: #464646;
  text-align: center;
  padding-bottom: 10px;
}

.share-links ul li a:hover {
  text-decoration: none;
}

.share-links ul {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}
.share-links ul li {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
}

.share-links-inline ul {
  margin: 0 0 10px 0;
  display: inline;
}

.share-links-inline ul li {
  display: inline;
  margin: 0 0 0 15px;
}

.share-links-separator {
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 20px;
}

/* Submitted info, print, resize font buttons, post progress & reading time */
.submitted-info {
  font-weight: 700;
  color: #464646;
  text-align: right;
  padding-bottom: 5px;
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 20px;
}
.submitted-info-item {
  margin-bottom: 15px;
}
.submitted-info span {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.1;
  display: block;
  margin-top: 3px;
}
.print {
  padding-bottom: 15px;
}
.print i {
  font-size: 18px;
  margin-right: 5px;
}
.font-resize {
  padding-bottom: 20px;
}
#incfont {
  font-size: 18px;
}
#decfont {
  font-size: 12px;
  margin-right: 5px;
}
.reading-time {
  padding-bottom: 15px;
  margin-bottom: 20px;
  text-align: right;
  font-weight: 700;
  border-bottom: 1px solid #d7d7d7;
}
.node-teaser .reading-time {
  border-bottom: none;
}
.reading-time span {
  font-size: 11px;
  line-height: 1.1;
  margin-top: 3px;
  font-weight: 400;
}
.post-progress {
  display:none;
  border-bottom: 1px solid #d7d7d7;
  font-weight: 700;
  color: #464646;
  text-align: right;
}
.post-progress-value {
  font-size: 11px;
  font-weight: 400;
  padding-top: 5px;
  display: block;
  text-align: left;
}
.post-progressbar {
  height: 3px;
}
@media (min-width: 992px) {
  .post-progress {
    display: block;
  }
}

/*Node type: Post, Blog Entry, Article - Affix*/
#affix.affix {
  position: fixed;
  width: 60px;
}
#affix.affix .share-links {
  margin-top: 0;
}
#affix.affix-bottom {
  position: absolute;
  width: 60px;
}

/*Node type: Post, Blog Entry, Article - Node info*/
.node-info {
  margin-bottom: 35px;
  font-size: 11px;
  color: #7d7d7d;
}
.node-teaser .node-info {
  margin-bottom: 15px;
  margin-top: -15px;
}
.node-info-item {
  display: inline-block;
  margin-right: 15px;
  margin-left: 15px;
  margin-bottom: 5px;
}
.node-info-item-last {
  margin-right: 0px;
}
.node-info-item i {
  margin-right: 5px;
}
.node-info-item .field--entity-reference-target-type-taxonomy-term {
  display: inline-block;
  margin: 0;
  overflow: visible;
  text-transform: none;
}
.node-info-item .field--entity-reference-target-type-taxonomy-term ul.links li {
  float: none;
}
.node-info-item .field--entity-reference-target-type-taxonomy-term ul.links li a {
  padding: 0;
  line-height: inherit;
  background-color: transparent;
  display: inline;
  margin: 0;
}
.node-info-item .field--entity-reference-target-type-taxonomy-term ul.links li a:hover {
  background-color: transparent;
  text-decoration: underline;
}
.node-taxonomy-item {
  display: inline-block;
}
.node__meta {
  margin-bottom: 25px;
}
.node--view-mode-teaser .node__meta {
  margin-bottom: 15px;
}
.node__meta .field--name-field-user-picture img {
  float: left;/* LTR */
  margin: 1px 20px 0 0;/* LTR */
}
.post-info {
  font-size: 10px;
  color: #7d7d7d;
}
.post-info em {
  font-style: normal;
}
.post-info > span {
  margin:0 8px;
  position: relative;
}
.post-info > span+span:after {
  content: "|";
  position: absolute;
  left: -9px;
  top: -2px;
}
.post-info > span:first-child {
  margin-left: 0;
}
.node__links {
}
.node-info-item-term .field--name-field-mt-post-categories {
  display: inline-block;
  margin: 0;
  overflow: visible;
  text-transform: none;
}
.node-info-item-term .field--name-field-mt-post-categories a {
  padding: 0;
  line-height: inherit;
  background-color: transparent;
  display: inline;
  margin: 0;
}
.node-info-item-term .field--name-field-mt-post-categories a:hover {
  background-color: transparent;
  text-decoration: underline;
}

/* Added for organisations, etc */
.node--type-mt-organisation.node--view-mode-full .node-info-group,
.node--type-mt-project.node--view-mode-full .node-info-group,
.node--type-tool.node--view-mode-full .node-info-group,
.node--type-event.node--view-mode-full .node-info-group,
.node--type-video.node--view-mode-full .node-info-group,
.node--type-publication.node--view-mode-full .node-info-group,
.node--type-job.node--view-mode-full .node-info-group,
.node--type-mt-post.node--view-mode-full .node-info-group  {
  margin-bottom: 10px;
}
.node--type-mt-organisation.node--view-mode-teaser .node-info-group,
.node--type-mt-project.node--view-mode-teaser .node-info-group,
.node--type-tool.node--view-mode-teaser .node-info-group,
.node--type-mt-post.node--view-mode-teaser .node-info-group,
.node--type-roundup-post.node--view-mode-teaser .node-info-group,
.node--type-event.node--view-mode-teaser .node-info-group,
.node--type-video.node--view-mode-teaser .node-info-group,
.node--type-publication.node--view-mode-teaser .node-info-group,
.node--type-job.node--view-mode-teaser .node-info-group  {
  margin-top: 10px;
}
.node-info-group-center  {
  text-align: center;
}
.node--type-mt-organisation .node-info-item,
.node--type-mt-post .node-info-item,
.node--type-mt-project .node-info-item,
.node--type-tool .node-info-item,
.node--type-event .node-info-item,
.node--type-video .node-info-item,
.node--type-publication .node-info-item,
.node--type-job .node-info-item  {
  font-size: 14px;
  color: #7d7d7d;
}

.node--type-mt-post .node-info-item {
  font-size: 18px;
}

@media (max-width: 767px) {
  .node--type-mt-post .node-info-item {
    font-size: 15px;
  }
}

.node--type-mt-organisation .node-info-item .field__label,
.node--type-mt-project .node-info-item .field__label,
.node--type-tool .node-info-item .field__label,
.node--type-event .node-info-item .field__label,
.node--type-video .node-info-item .field__label,
.node--type-publication .node-info-item .field__label,
.node--type-job .node-info-item .field__label {
  display: inline;
}
.node--type-mt-organisation .node-info-item .field__item,
.node--type-mt-project .node-info-item .field__item,
.node--type-tool .node-info-item .field__item,
.node--type-event .node-info-item .field__item,
.node--type-video .node-info-item .field__item,
.node--type-publication .node-info-item .field__item,
.node--type-job .node-info-item .field__item {
  display: inline;
}

.node--type-mt-organisation .image-right {
  float:right;
  margin: 0 0 10px 20px;
}

.resource-page .image-left {
  float: left;
  margin: 0 15px 0 0;
}

.resource-page .node-title {
  font-size: 32px;
  text-align:center;
  margin-top:0;
  padding-bottom: 15px;
  border-bottom: 1px solid #d0d0d0;
}

.node--type-video .node-title {
  font-size: 24px;
  margin-top:15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d0d0d0;
}

.resource-page .node-meta-fields {
  font-size: 15px;
  color: #909090;
  text-align: center;
}

.resource-page .node-meta-field {
  display: inline-block;
  padding-left: 6px;
  padding-right: 6px;
}

.resource-page .node-meta-field i {
  width: 20px;
  text-align: center;
}

.resource-page .node-meta-field .field {
  display: inline;
}

@media (max-width: 480px) {
  .resource-page .image-left {
    float: none;
    margin: 0 0 15px 0;
  }
}

@media (max-width: 767px) {
  .resource-page .node-image {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .resource-page .node-image {
    border: 1px solid #e3e3e3;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
  }
}

.node--type-mt-organisation .node-image .image-preview,
.resource-page .node-image .image-preview {
  margin-bottom: 10px;
}

.node--type-mt-organisation .node-image .overlayed,
.resource-page .node-image .overlayed {
  float:none;
}

.node--type-mt-organisation .node-image .overlayed img,
.resource-page .node-image .overlayed img {
  margin:auto;
  display: block;
}
.node--type-mt-organisation .node-social-item {
  font-size: 28px;
}
.node--type-mt-organisation .node-social-item a {
  color: #3f3f3f;
  text-decoration: none;
}
.node--type-mt-organisation .node-social-item i {
  width: 60px;
}
.node--type-mt-organisation .node-social-item .field__label {
  display: inline;
}
.node--type-mt-organisation .node-social-item .field__item {
  display: inline;
}
.node--type-mt-organisation .node-social-list div.node-social-item {
  display: inline;
}
.node--type-mt-organisation .node-social-list {
  text-align: center;
  background-color: #f0f0f0;
  border: 1px solid #d0d0d0;
  border-top: 0;
  border-radius: 10px 10px 0 0;
  padding: 8px 0 8px 0;
}

.resource-page {
  font-size: 14px;
}

.resource-well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

.resource-header {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
  border-bottom: #c5c5c5 1px solid;
}

.resource-body {
  background-color: #fff;
  padding: 15px;
}

.resource-footer {
  background-color: #fff;
  padding: 15px;
  border-radius: 0 0 10px 10px;
  -webkit-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  -o-border-radius: 0 0 10px 10px;
  border-top: #c5c5c5 1px solid;
}

.resource-tags {
  text-align: center;
  padding: 0 15px;
}

.resource-actions {
  text-align: center;
}

.node--type-mt-organisation div.about-organisation {
  font-size: 14px;
  border: 1px solid #dadada;
  border-top: 0;
  padding: 15px;
}

.node--type-mt-organisation div.about-organisation div.footer {
  margin-top: 15px;
}

@media (max-width: 767px) {
  .node--type-mt-organisation .node-social-item {
    font-size: 24px;
  }
  .node--type-mt-organisation .node-social-item i {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .node--type-mt-organisation .node-social-item {
    font-size: 18px;
  }
  .node--type-mt-organisation .node-social-item i {
    width: 42px;
  }
}

.node--type-mt-project .field--entity-reference-target-type-taxonomy-term,
.node--type-tool .field--entity-reference-target-type-taxonomy-term,
.node--type-mt-post .field--entity-reference-target-type-taxonomy-term,
.node--type-roundup-post .field--entity-reference-target-type-taxonomy-term,
.node--type-event .field--entity-reference-target-type-taxonomy-term,
.node--type-video .field--entity-reference-target-type-taxonomy-term,
.node--type-publication .field--entity-reference-target-type-taxonomy-term,
.node--type-job .field--entity-reference-target-type-taxonomy-term {
  display: inline-block;
}
.node--type-event h1.node__title,
.node--type-video h1.node__title,
.node--type-publication h1.node__title,
.node--type-job h1.node__title {
  margin-bottom: 10px;
}
.node--type-event.node--view-mode-full .node__meta,
.node--type-video.node--view-mode-full .node__meta,
.node--type-publication.node--view-mode-full .node__meta,
.node--type-job.node--view-mode-full .node__meta {
  margin-bottom: 0;
}
.node--type-event .node-info,
.node--type-video .node-info,
.node--type-publication .node-info,
.node--type-job .node-info {
  margin-bottom: 0;
}
/* Center align images in posts */
.node--type-mt-post .image-wrapper .field__item a.overlayed {
  float: none;
}

.node--type-mt-post .image-wrapper .field__item a.overlayed img,
.node--type-mt-post .image-wrapper img,
#main-content .image-wrapper img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.node--type-mt-post .video-wrapper {
  margin:15px 0;
}

.node--type-mt-post .video-wrapper iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.node--type-mt-post .image-legend,
.node--type-mt-post .video-legend {
  text-align: center;
  font-size: 0.8em;
  font-style: italic;
}

.node--type-mt-post .attribution {
  text-align: center;
  font-size: 0.8em;
  font-style: italic;
  padding: 20px 0 0 0; 
}

/* Fixes problems with row heights for FullCalendar */
.fc div.fc-row table {
  margin-bottom: 0px;
}
.fc td.fc-widget-content div.fc-day-grid-container {
  height: auto !important;
}
.fc div.fc-header-toolbar {
  margin-bottom: 0px;
}
.fc div.fc-view table {
  margin-top: 0px;
}
#block-views-block-calendar-block-1 {
  padding-bottom: 0px;
}

/* Removes times from FullCalendar events as they have the wrong timezone */
.fc div.fc-content span.fc-time {
  display: none;
}

.fc div.fc-content div.fc-time {
  color: #357cce;
}

.fc .fc-event {
  line-height: 1.3;
}

/* Fix font sizes for FullCalendar */
.fc button.fc-button {
  font-size: 12px;
}
.fc td.fc-day-top {
  font-size: 14px;
}
.fc td.fc-time {
  font-size: 14px;
}
.fc span.fc-title {
  font-size: 12px;
}
.fc .fc-title a {
  color: #fff;
  text-decoration: none;
}
.fc td.fc-list-item-time,
.fc td.fc-list-item-title {
  font-size: 14px;
}
.fc td.fc-day-top {
  font-size: 12px;
}
.fc a.fc-more {
  font-size: 12px;
}

.fc .fc-button-primary {
  background-color: #f5f5f5;
  color: #333;
  height: 2.1em;
  padding: 0 .6em;
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
  background-image: linear-gradient(to bottom,#fff,#e6e6e6);
  background-repeat: repeat-x;
  text-shadow: 0 1px 1px rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  margin: 0 0 0 -1px;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  color: #333;
  background-color: #ccc;
  background-image: none;
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
}

/* Styles used by SolarWinds press releases */
.press-caption {
    font-size: 13px;
    text-align: center;
}
.popup-image:focus, .popup-image:visited, .popup-video:focus, .popup-video:visited {
    outline: 0!important;
}
.press-video {
    padding-bottom: 30px;
    padding-top: 30px;
    margin-left: 150px;
}
.popup-image, .popup-video {
    position: relative;
    display: inline-block;
}
.popup-image img+i.fa, .popup-video img+i.fa {
    font-size: 30px;
    text-align: center;
}
.popup-image img+i, .popup-video img+i {
    position: absolute;
    height: 2em;
    width: 2em;
    padding: 0;
    margin-top: -1em;
    margin-left: -1em;
    bottom: auto;
    right: auto;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    vertical-align: middle;
    line-height: 2em;
    color: #fff;
    background: rgba(0,0,0,.85);
    transition: background .3s;
}

/* Styles used by Raygun blogs */
.raygun pre,
.post-content-full pre,
.post-full-content pre {
  max-height: none;
  overflow: auto;
}
.raygun blockquote,
.post-content-full blockquote,
.post-full-content blockquote {
    padding: 16px;
}
@media (min-width: 768px) {
  .raygun blockquote,
  .post-content-full blockquote,
  .post-full-content blockquote {
    padding: 32px;
  }
}
.raygun blockquote,
.post-content-full blockquote,
.post-full-content blockquote {
    font-size: 21px;
    font-style: italic;
    border-left: .3rem solid #4675cf;
    background-color: #f5f5f5;
    padding-left: 30px;
}

/* Remove the quote char as it doesn't display properly in some browsers */
.raygun blockquote::after,
.post-content-full blockquote::after,
.post-full-content blockquote::after {
    content: "";
}

/* Styles used by Exoprise blogs */

.vc_custom_1 {
  border: 1px solid #dedede !important;
  padding: 0 10px 10px 10px !important;
}

.vcex-icon-box-two {
  text-align: center;
}

.vcex-icon-box {
  position: relative;
  display: block;
}

.vcex-icon-box-two .vcex-icon-box-image {
  margin: 0 auto 20px;
}

.vcex-icon-box-image {
  display: block;
}

.vcex-icon-box-heading {
  display: block;
  font-size: 1.077em;
  font-weight: 600;
  color: #000;
  margin: 0 0 10px;
}

.col:after,
.clr:after,
.wpex-clr:after,
.vc-empty-shortcode-element:after,
.vcex-clr:after  {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  zoom: 1;
}

.vc_column_container {
  padding-left: 0;
  padding-right: 0;
}

.vc_row,
.wpb_row,
.wpb_column,
.vc_column-inner,
.wpb_content_element,
.vcex-module {
  border-color: transparent;
  border-style: solid;
}

.vc_column_container>.vc_column-inner {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
}

.vc_column-inner {
  margin-bottom: 40px;
}

/* Styles used by Amixr blogs */

.post-full-content {
    position: relative;
    margin: 0 auto;
    padding: 0 0px 40px 20px;
}

.post-full-content iframe {
  margin: 0 auto!important;
  vertical-align: middle;
}

.fluid-width-video-container {
  flex-grow: 1;
  width: 100%;
}

.post-full-content .fluid-width-video-wrapper {
  margin: 1.5em 0 3em;
}

.fluid-width-video-wrapper {
  width: 100%;
  position: relative;
  padding: 0;
}

.fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {
  width: 100%;
}

.post-full-content pre {
  overflow-x: auto;
  margin: 1.5em 0 3em;
  padding: 20px;
  max-width: 100%;
  border: 1px solid #000;
  color: #e5eff5;
  font-size: 1.4rem;
  line-height: 1.5em;
  background: #0e0f11;
  border-radius: 5px;
  max-height: none;
}

.post-full-content pre code {
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  background: transparent;
}

.post-full-content code {
  padding: 0 5px 2px;
  font-size: .8em;
  line-height: 1em;
  font-weight: 400!important;
  background: #e5eff5;
  border-radius: 3px;
}

.post-full-content table,
.post-full-content th,
.post-full-content td {
  border: #D0D0D0 1px solid !important;
}

img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* Styles used by Squadcast blogs */

.code-block {
    background-color: black;
    color: white;
    padding: 10px;
    font-size: 12px;
    margin-bottom: 15px;
    margin-top: 5px;
    word-break: break-all;
}

.outer {
    color: #f92672;
    display: inline;
    padding-left: 20px;
}

.inner {
    color: #e6db74;
    display: inline;
}

/* Styles used for small screen devices */

@media (max-width: 991px) {
  .patreon-wide-only {
    display:none;
  }
}

@media (max-width: 991px) {
  .node--type-mt-organisation header {
    display:none;
  }

  .node--type-mt-organisation .node-side,
  .node--type-mt-post .node-side,
  .node--type-mt-project .node-side,
  .node--type-tool .node-side,
  .node--type-video .node-side,
  .node--type-publication .node-side,
  .node--type-event .node-side,
  .node--type-job .node-side {
    display:none;
  }
}