/*styling button input for landing pages*/

input[type="button"],
input[type="button" i],
.button {
  background-color: white;
  border: 2px solid #ff9178;
  border-radius: 8px;
  font-size: 15px;
  color: #ff9178;
  text-transform: uppercase;
  padding-left: 5px;
  padding-right: 5px;
}

.section-tribute .button {
  text-decoration: none;
}

.section-tribute .block__content {
  margin-bottom: 20px;
}

/*adding padding to buttons on user pages*/

.page-user .view-dasboard-announcement-view .view-header p {
  margin-bottom: 20px;
}

.page-user .view-dasboard-announcement-view .view-header a {
  margin-right: 20px;
}

/*switching back the banner overlay to 70%, also updated in sass*/

@media (min-width: 1024px) {
  .view-front-page-banner .views-field-body {
    width: 70%;
  }
}

/*updated title to link, now fixing theming*/
.node-type-corporate-page
  .paragraphs-item-content-reference
  .field--name-field-content-reference-post
  .field__items
  .field__item
  .field--name-title-field
  .field__item
  a {
  font-family: "Open Sans";
  font-size: 18px;
  color: #fd7253;
  font-weight: 300;
  text-decoration: none;
  font-weight: 700;
  font-style: initial;
}

/*fixing ie issue where posts do not show*/
.node-type-video-post,
.node-type-article .views-field-field-photo::before {
  display: block;
}

/*taxonomy menu ie*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #block-views-taxonomy-sidebar-block .view-footer h3 {
    height: 30px;
  }
}

/*adding space below the img field*/
.section-post .field--name-field-video-url .field__item {
  margin-bottom: 30px;
}

/*spacing to related content on posts*/

.page-node .l-content .field--name-field-related-content-video {
  margin-bottom: 20px;
}

/*exposing author info on post*/

.node-type-video-post .submitted,
.node-type-article .submitted {
  display: block !important;
}

/*debugging front page callout*/
#block-views-home-page-callout-block {
  z-index: 9;
  background-color: white;
}

/*fixing search box*/
.search-block-form #edit-submit,
.search-block-form #edit-submit--2 {
  margin-left: -77px;
  color: white;
  background-color: transparent !important;
  border: none;
  color: transparent;
}

#edit-signature-value {
  min-height: 400px;
}

.view-home-page-callout .views-row {
  display: block;
}

.view-home-page-callout
  .views-row
  .views-field-field-featured-image-callout
  img {
  margin-left: 20%;
}

@media (min-width: 768px) {
  .view-home-page-callout
    .views-row
    .views-field-field-featured-image-callout
    img {
    margin-left: initial;
  }
}

@media (min-width: 768px) {
  .view-home-page-callout .views-row {
    display: flex;
  }
}

.node-type-corporate-page .node__submitted {
  display: none;
}

/*updates to forums*/
.forum-post-content
  .field--type-taxonomy-term-reference
  .taxonomy-term--default::before {
  display: none;
}

.forum-post-content .field--type-taxonomy-term-reference .field__items {
  display: flex;
  flex-wrap: wrap;
}

.forum-post-content .field--type-taxonomy-term-reference .field__items h2 {
  font-size: initial;
  line-height: initial;
}

.forum-post-content .field--type-taxonomy-term-reference {
  padding: 0px;
}

.forum-post-content
  .field--type-taxonomy-term-reference
  .taxonomy-term__content {
  display: none;
}

.forum-post-content .field--name-body::after {
  content: "More Information:";
  display: block;
  font-family: "Open Sans";
  font-size: 14px;
  color: $gray-dark;
  font-weight: 700;
  padding-top: 10px;
}

/*hiding on the backend*/
.page-node-add-forum.authenticated-user .field-name-field-disease-learning {
  display: none;
}

.node-type-forum .username {
  pointer-events: all;
  cursor: pointer;
}

.node-type-forum p em {
  font-style: italic !important;
}

.node-type-forum .author-signature::before {
  content: "---";
  display: block;
  padding-bottom: 10px;
}

.user-register-form .username {
  pointer-events: initial;
  cursor: initial;
}

@media (max-width: 768px) {
  #block-block-9 {
    margin-top: 50px;
  }
}

/*new featured content view*/
.page-node-6730 .page-title-highlight,
.page-node-6730 .node__submitted,
.page-node-6730 .pane-title,
.page-node-6737 .page-title-highlight,
.page-node-6737 .node__submitted,
.page-node-6737 .pane-title,
.page-node-6610 .page-title-highlight,
.page-node-6610 .node__submitted,
.page-node-6610 .pane-title {
  display: none;
}

.page-node-6730 .panel-cg-bricks .grid-wrapper,
.page-node-6737 .panel-cg-bricks .grid-wrapper,
.page-node-6610 .panel-cg-bricks .grid-wrapper {
  grid-template-columns: initial;
}

.page-node-6730 .flexible-center .pane-inner .pane-content,
.page-node-6737 .flexible-center .pane-inner .pane-content,
.page-node-6610 .flexible-center .pane-inner .pane-content {
  background-color: #cfe3dc;
  color: #396a57;
  padding: 20px;
}

.page-node-6730 .view-featured-content .views-row,
.page-node-6737 .view-featured-content .views-row,
.page-node-6610 .view-featured-content .views-row {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
}

.pager-next a {
  font-family: "Open Sans";
  font-size: 16px;
  color: #396a57;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
}

.page-node-6730 .views-row,
.page-node-6737 .views-row,
.page-node-6610 .views-row {
  overflow: auto;
}

.page-node-6730 .views-field-field-feature-image,
.page-node-6737 .views-field-field-feature-image,
.page-node-6610 .views-field-field-feature-image {
  width: 300px;
  float: left;
  margin-right: 30px;
}

.page-node-6730 .views-field-title-1 a,
.page-node-6737 .views-field-title-1 a,
.page-node-6610 .views-field-title-1 a {
  text-transform: uppercase;
  color: #4b4440;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
}

.page-node-6730 .views-field-field-post-type .field-content,
.page-node-6737 .views-field-field-post-type .field-content,
.page-node-6610 .views-field-field-post-type .field-content {
  color: #fd7253;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
}

/* video library fixes */
.page-educate-video-library .views-exposed-form .views-exposed-widget,
.page-educate-video-library
  .views-exposed-form
  .views-exposed-widget
  .chosen-container {
  max-width: 200px;
}

.page-educate-video-library
  .view-id-video_library.view-display-id-panel_pane_1
  .view-content {
  display: flex;
  flex-flow: row wrap;
}

.page-educate-video-library
  .view-id-video_library.view-display-id-panel_pane_1
  .views-row {
  width: 48%;
  flex-basis: 48%;
  flex: 0 0 48%;
  margin-bottom: 1.5em;
  padding: 0 20px;
}

.page-educate-video-library
  .views-exposed-form-video-library-panel-pane-3
  .divider {
  display: none;
}

@media (min-width: 768px) {
  .page-educate-video-library
    .view-id-video_library.view-display-id-panel_pane_1
    .views-row {
    width: 32%;
    flex-basis: 32%;
  }

  /* main menu position */
  #block-superfish-1 #superfish-1 {
    float: none;
  }
  #superfish-1 li .sf-megamenu li ol,  #superfish-1 li .sf-megamenu li li ol {
    padding-left: 5px !important;
  }
  #superfish-1 li .sf-megamenu li ol li {
    padding-left: 10px !important;
    padding-right: 5px !important;
  }
  #superfish-1 li .sf-megamenu li ol li:first-child {
    padding-left: 5px !important;
  }
  #superfish-1 li .sf-megamenu li ol li {
    min-width: 170px;
  }
  #superfish-1 ul.sf-megamenu::before {
    border: none;
  }
}

@media (min-width: 1024px) {
  /* fixing position of front page callout box */
  body.front .l-region.l-region--highlighted {
    position: relative;
  }
  body.front .l-region.l-region--highlighted .view-front-page-banner img {
    height: 100%;
    object-fit: contain;
  }
  body.front .l-region.l-region--highlighted #block-views-home-page-callout-block {
    top: -7%;
  }
}

@media (min-width: 1200px) {
  #block-superfish-1 #superfish-1 {
    float: right;
  }
}
