/**
 * @file
 * Visual styles for Dark+'s showcase content type.
 */
.node--type-mt-showcase .node__meta {
  margin-bottom: 0;
}
.node--type-mt-showcase .node__header {
  padding-bottom: 10px;
}
.node--type-mt-showcase .node__header + .field:not(.field--name-field-mt-shw-subtitle) {
  padding-top: 10px;
}
.node--type-mt-showcase.node--view-mode-full .field {
  margin-bottom: 60px;
}

/* page title */
.page-node-type-mt-showcase .internal-banner-container .page-title {
  margin-bottom: 40px;
}

/* date widget in banner area */
.page-node-type-mt-showcase .internal-banner-container .node__submitted-date {
  padding: 20px;
  text-align: center;
  position: absolute;
  right: 3rem;
  top: 3rem;
}
.page-node-type-mt-showcase .internal-banner-container .node__submitted-date.region--default-background {
  background-color: var(--mt-color-default-light);
}
.page-node-type-mt-showcase .internal-banner-container .node__submitted-date .day {
  font-size: 40px;
  font-weight: 600;
  display: block;
  line-height: 1;
}
.page-node-type-mt-showcase .internal-banner-container .node__submitted-date .month-year {
  font-size: 16px;
  font-weight: 500;
}
@media (max-width: 767px) {
  .page-node-type-mt-showcase .internal-banner-container .node__submitted-date {
    right: 1rem;
    top: 1rem;
  }
}

/* subtitle */
.node--type-mt-showcase .field.field--name-field-mt-shw-subtitle {
  font-size: 20px;
  line-height: 1.66;
  font-weight: 400;
  text-transform: none;
}

/* subheader body field */
@media (min-width: 992px) {
  .layout-no-sidebars .field--name-field-mt-shw-subheader-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout-no-sidebars .field--name-field-mt-shw-subheader-body h3 ~ * {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-bottom: 30px;
    margin-left: 50%;
    margin-bottom: 0;
    margin-top: 0;
  }
  .layout-no-sidebars .field--name-field-mt-shw-subheader-body h3 + * {
    margin-left: auto;
  }
  .layout-no-sidebars .field--name-field-mt-shw-subheader-body h3,
  .layout-no-sidebars .field--name-field-mt-shw-subheader-body h3 ~ h3 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 30px;
    margin-left: 0;
    margin-top: 0;
  }
}

/* body field */
@media (min-width: 992px) {
  .layout-no-sidebars .field--name-field-mt-shw-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout-no-sidebars .field--name-field-mt-shw-body h3 ~ * {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-bottom: 30px;
    margin-left: 50%;
    margin-bottom: 0;
    margin-top: 0;
  }
  .layout-no-sidebars .field--name-field-mt-shw-body h3 + * {
    margin-left: auto;
    margin-top: 20px;
  }
  .layout-no-sidebars .field--name-field-mt-shw-body h3,
  .layout-no-sidebars .field--name-field-mt-shw-body h3 ~ h3 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 30px;
    margin-left: 0;
    margin-top: 20px;
  }
}

/* accordion */
@media (min-width: 992px) {
  .layout-no-sidebars .field--name-field-mt-shw-content-collapses .card-body {
    margin-left: auto;
    width: 50%;
  }
}

/* user picture */
.internal-banner-container .node__meta {
  position: absolute;
  bottom: 15px;
  z-index: 1;
}
.node--type-mt-showcase.node--view-mode-full .field--name-user-picture,
.internal-banner-container .field--name-user-picture {
  max-width: 80px;
  margin-left: auto;
  margin-right: auto;
  float: none;
  margin-bottom: 10px;
}
.node--type-mt-showcase.node--view-mode-full .field--name-user-picture img,
.internal-banner-container .field--name-user-picture img {
  border-radius: 100%;
  max-width: 80px;
}
.internal-banner-container .profile {
  position: absolute;
  bottom: -25px;
  z-index: 1;
}
.internal-banner-container .node__meta .node__submitted-info {
  margin-left: 100px;
  text-transform: capitalize;
  font-size: 16px;
}

/* comments */
@media (min-width: 992px) {
  .layout-no-sidebars .field--name-field-mt-shw-comments {
    max-width: 50%;
    margin-left: auto;
  }
}

