/**
 * @file
 * Visual styles for Corporate+'s node in teaser tile view.
 */
.node--view-mode-teaser {
  margin-bottom: 60px;
}
.node--view-mode-teaser .promoted-label {
  color: #ffffff;
  padding: 5px 15px;
  font-size: 15px;
  margin-bottom: 10px;
  margin-right: 10px;
  display: inline-block;
  font-weight: 400;
}
.node--view-mode-teaser .node__title {
  font-size: 56px;
  margin-top: 0px;
}
@media (max-width: 991px) {
  .node--view-mode-teaser .node__title {
    font-size: 40px;
  }
}
.node--view-mode-teaser .node__title a {
  color: #000000;
}
.node--view-mode-teaser .node__header {
  padding-bottom: 0;
}
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item {
  margin-bottom: 0;
  margin-top: 5px;
  display: inline-block;
  padding: 0;
}
.node--view-mode-teaser .promoted-label + .field--entity-reference-target-type-taxonomy-term,
.node--view-mode-teaser .promoted-label + .field--entity-reference-target-type-taxonomy-term.field__item {
  margin: 0;
  padding: 0;
  display: inline-block;
}
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term:before,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item:before {
  content: "";
}
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item {
  vertical-align: baseline;
}
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a {
  padding: 4px 15px;
  border-width: 1px;
  border-style: solid;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 400;
}
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a:hover,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a:hover,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a:focus,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a:focus {
  text-decoration: none;
  color: #ffffff;
}
.region--shade-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a,
.region--colored-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a,
.region--dark-colored-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a,
.region--dark-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a,
.region--shade-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a,
.region--colored-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a,
.region--dark-colored-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a,
.region--dark-background .node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term .field__item a:after,
.node--view-mode-teaser .field--entity-reference-target-type-taxonomy-term.field__item a:after {
  content: "";
}
.node--view-mode-teaser .teaser-pre-content {
  font-weight: 700;
  font-size: 18px;
  color: #000000;
}
.node--view-mode-teaser .node__content .field {
  margin-bottom: 18px;
}
.node--view-mode-teaser .node__content .field:last-child {
  margin-bottom: 0px;
}
.node--view-mode-teaser .node__content .field p:last-child {
  padding-bottom: 0px;
}
.node--view-mode-teaser .teaser-image {
  position: relative;
  margin-bottom: 20px;
}
.node--view-mode-teaser .teaser-image .node__submitted-date {
  position: absolute;
  right: 0px;
  bottom: 0px;
  padding: 10px;
  color: #333333;
  text-align: center;
}
.node--view-mode-teaser .teaser-image .node__submitted-date .day {
  font-size: 35px;
  font-weight: 600;
  display: block;
  line-height: 1;
}
.node--view-mode-teaser .teaser-image .node__submitted-date .month-year {
  font-size: 14px;
  font-weight: 500;
}
.node--view-mode-teaser .node__links {
  padding-top: 15px;
  padding-bottom: 10px;
}
.node--view-mode-teaser ul.links {
  display: flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  padding: 0;
}
.node--view-mode-teaser ul.links li.node-readmore {
  display: block;
}
.node--view-mode-teaser ul.inline li a {
  margin-bottom: 0;
}
.node--view-mode-teaser ul.links li.node-readmore + li {
  margin-left: auto;
}
.node--view-mode-teaser ul.links li.node-readmore ~ li.comment-forbidden,
.node--view-mode-teaser ul.links li.node-readmore ~ li.comment-comments {
  margin-left: auto;
}

/* teaser 2 */
.node--view-mode-teaser-2 .node__title {
  margin-bottom: 5px;
}
.node--view-mode-teaser-2 .node__meta {
  margin-bottom: 10px;
  display: none;
}
@media (max-width: 767px) {
  .node--view-mode-teaser-2 .node__meta {
    display: block;
  }
}
.node--view-mode-teaser-2 .node__meta-item {
  display: inline-block;
  font-size: 16px;
  margin-bottom: 1em;
  padding-right: 15px;
}
.node--view-mode-teaser-2 .node__meta-item {
  color: #000000;
}
.node--view-mode-teaser-2 span.node__meta-item {
  color: rgba(0, 0, 0, 0.55);
}
.node--view-mode-teaser-2 .node__meta-user {
  font-weight: 700;
}
.node--view-mode-teaser-2 .field--name-uid {
  text-transform: capitalize;
}
.node--view-mode-teaser-2 .profile .field--name-user-picture {
  max-width: 30px;
  margin-bottom: 0;
  margin-right: 10px;
}
.node--view-mode-teaser-2 .profile .field--name-user-picture img {
  border-radius: 100%;
}
.node--view-mode-teaser-2 .author-picture {
  display: inline-block;
  vertical-align: bottom;
}

/* node side */
.node--view-mode-teaser-2 .node__side {
  text-align: center;
}
.node--view-mode-teaser-2 .node__side .field--name-user-picture {
  max-width: 65px;
  margin-left: auto;
  margin-right: auto;
  float: none;
  margin-bottom: 10px;
}
.node--view-mode-teaser-2 .node__side .username,
.node--view-mode-teaser-2 .node__side .node-author span span {
  font-weight: 700;
  font-size: 18px;
}
.node--view-mode-teaser-2 .node__side .field--name-user-picture img {
  border-radius: 100%;
}
.node--view-mode-teaser-2 .node__submitted-date {
  font-weight: 700;
  text-align: center;
  line-height: 1;
  margin:6px 0 0 0;
  border-right: 1px solid #c2c2c2;
  padding-bottom: 10px;
  display: block;
}
.node--view-mode-teaser-2 .node__submitted-date .month {
  margin-top: -2px;
}
.node--view-mode-teaser-2 .node__submitted-date .month,
.node--view-mode-teaser-2 .node__submitted-date .year {
  font-size: 14px;
  text-transform: uppercase;
}
.node--view-mode-teaser-2 .node__submitted-date .day {
  font-size: 29px;
  font-weight: 900;
  margin-bottom: 2px;
}

/* post layout */
@media (min-width: 768px) {
  .node--view-mode-teaser-2 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .node--view-mode-teaser-2 .node__side + .node__main-content {
    -ms-flex: 0 0 calc(100% - 100px);
    flex: 0 0 calc(100% - 100px);
    max-width: calc(100% - 100px);
    padding-right: 15px;
    padding-left: 15px;
  }
  .node--view-mode-teaser-2 .node__side {
    -ms-flex: 0 0 85px;
    flex: 0 0 85px;
    max-width: 85px;
    padding-right: 15px;
    padding-left: 15px;
  }
  .node--view-mode-teaser-2 .node__side + .node__main-content {
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  .node--view-mode-teaser-2 .node__side {
    display: none;
  }
}
