/**
 * Restrict all styles to sectioned pages. This class should be added by external code based on type etc.
 */
.sectioned-page .main-container.container, .sectioned-page .main-container.nav-tabs {
  width: 100%;
  padding: 0;
}
.sectioned-page .entity-paragraphs-item {
  position: relative;
}
.sectioned-page .entity-paragraphs-item > .content, .sectioned-page .entity-paragraphs-item .field-name-body > .field-items {
  position: relative;
}
.sectioned-page .entity-paragraphs-item .background {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.sectioned-page .entity-paragraphs-item.paragraphs-item-bp-text-section, .sectioned-page .entity-paragraphs-item.paragraphs-item-bp-carousel-section {
  padding: 3rem 0;
}
.sectioned-page .entity-paragraphs-item.paragraphs-item-bp-text-section > .content > h2, .sectioned-page .entity-paragraphs-item.paragraphs-item-bp-carousel-section > .content > h2 {
  margin: 0;
}
.sectioned-page .entity-paragraphs-item.paragraphs-item-bp-text-section > .content > h2 + div, .sectioned-page .entity-paragraphs-item.paragraphs-item-bp-carousel-section > .content > h2 + div {
  margin-top: 2rem;
}
.sectioned-page .entity-paragraphs-item.paragraphs-item-bp-column iframe {
  width: 100%;
}
.sectioned-page .entity-paragraphs-item .field-name-field-bp-text > div > div > h2 {
  margin-top: 0;
}
.sectioned-page .center-block {
  float: none;
}
.sectioned-page.field-name-field-bp-form .entity-entityform-type > h2 {
  padding: 0;
  margin: 0 0 1rem;
}

/**
 * Restrict all styles to sectioned pages. This class should be added by external code based on type etc.
 */
.sectioned-page .carousel-inner {
  width: calc(100% - 60px);
  /* 80px is the width of the controls */
  margin: 0 auto;
}
@media (min-width: 992px) {
  .sectioned-page .carousel-inner {
    width: calc(100% - 150px);
    /* 150px is the width of the controls */
  }
}
.sectioned-page .carousel-style-3-column .item.left, .sectioned-page .carousel-style-3-column .item.right {
  transform: translateX(0);
}
.sectioned-page .carousel-style-3-column .item.next, .sectioned-page .carousel-style-3-column .item.right.active {
  transform: translateX(33%);
}
.sectioned-page .carousel-style-3-column .item.prev, .sectioned-page .carousel-style-3-column .item.left.active {
  transform: translateX(-33%);
}
.sectioned-page .carousel-control {
  opacity: 1;
  width: 40px;
}
@media (min-width: 992px) {
  .sectioned-page .carousel-control {
    width: 75px;
  }
}
.sectioned-page .carousel-control.left, .sectioned-page .carousel-control.right {
  background-image: none;
}
.sectioned-page .carousel-control.left i, .sectioned-page .carousel-control.right i {
  position: absolute;
  top: calc(50% - 20px);
}
.sectioned-page .carousel-control.left i::before, .sectioned-page .carousel-control.right i::before {
  display: block;
  width: 40px;
  height: 40px;
}
.sectioned-page .carousel-control.left i {
  right: 1rem;
}
.sectioned-page .carousel-control.left i::before {
  content: '<';
}
.sectioned-page .carousel-control.right i {
  left: 1rem;
}
.sectioned-page .carousel-control.right i::before {
  content: '>';
}

.paragraphs-items-field-tabs .nav-wrapper {
  background: #E8E8E8;
}
.paragraphs-items-field-tabs .nav-wrapper .nav-tabs {
  border: none;
  padding: 0;
}
.paragraphs-items-field-tabs .nav-wrapper .nav-tabs li {
  margin: 0;
}
@media (max-width: 767px) {
  .paragraphs-items-field-tabs .nav-wrapper .nav-tabs li {
    width: 100% !important;
    border-bottom: 1px solid #fff;
  }
}
.paragraphs-items-field-tabs .nav-wrapper .nav-tabs li.active {
  background: #D8D8D8;
}
@media (min-width: 768px) {
  .paragraphs-items-field-tabs .nav-wrapper .nav-tabs li.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    margin: 0 auto;
    width: 20px;
    height: 10px;
    border-top: 10px solid #D8D8D8;
    border-left: 10px solid #F8F8F8;
    border-right: 10px solid #F8F8F8;
  }
}
.paragraphs-items-field-tabs .nav-wrapper .nav-tabs li > a {
  background: none;
  border: none;
  border-radius: 0;
  padding: 1.3rem 0px;
  text-align: center;
  text-decoration: none;
  color: #3A435D;
  margin: 0;
}
.paragraphs-items-field-tabs .nav-wrapper .nav-tabs li > a:hover, .paragraphs-items-field-tabs .nav-wrapper .nav-tabs li > a:focus {
  background: #D8D8D8;
  border: none;
}
.paragraphs-items-field-tabs .field-name-field-bp-title {
  display: none;
}
.paragraphs-items-field-tabs .tab-content {
  margin: 3rem auto;
}

.sort-up {
  background: url(/misc/arrow-desc.png) no-repeat center;
  display: block;
  width: 30px;
  height: 30px;
  float: right;
}

.sort-down {
  background: url(/misc/arrow-asc.png) no-repeat center;
  display: block;
  width: 30px;
  height: 30px;
  float: right;
}

tr.draggable:hover {
  outline: 1px dashed #ccc;
}
tr.draggable:first-child > td.sorting .sort-up {
  display: none;
}
tr.draggable:last-child > td.sorting .sort-down {
  display: none;
}

.field-name-field-bp-carousel-slides .field-name-field-bp-column-style {
  display: none;
}

.draft {
  border: dashed pink 3px;
}
.draft:before {
  content: 'DRAFT';
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  color: pink;
  font-weight: bold;
  font-size: 3rem;
  line-height: 1em;
  z-index: 1000;
}
