
.bg-cloud-1 {
  background-image: url('../jpg/cloud-3.jpg');
}
.bg-cloud-1-45 {
  background-image: url('../jpg/cloud-1-46.jpg');
}
.bg-cloud-1-tr-bl {
  background-image: url('../jpg/cloud-1-tr-bl-2.jpg');
}
.bg-cloud-1-l {
  background-image: url('../jpg/cloud-1-l-2.jpg');
}
.bg-cloud-2 {
  background-image: url('../jpg/cloud-4.jpg');
}

.bg-image {
  background-image: url('../jpg/placeholder.jpg');
}
.adventure-block-page-header {
  background-image:none;
}

.adventure-block-page-header {
  background-color: transparent;
}

/* under any text transforms */
.adventure-block-heading { text-transform: initial }

.adventure-block-photo-subhead-image img {
  width: 100%; height: auto;
}

/* Adventure positioning options */

/* Shapes */
.adventure-block-shape-wrapper { position: absolute; z-index: 5; }
.adventure-block-shape-wrapper .adventure-block-shape { position: relative; }


.adventure-block-stat.adventure-pos-mobile--static,
.adventure-block-shape.adventure-pos-mobile--static,
.adventure-block-shape-wrapper.adventure-pos-mobile--static,
.itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-mobile--static{
  position: static; display: block;
}
.adventure-block-stat.adventure-pos-mobile--relative,
.adventure-block-shape.adventure-pos-mobile--relative,
.adventure-block-shape-wrapper.adventure-pos-mobile--relative,
.itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-mobile--relative {
  position: relative; display: block;
}
.adventure-block-stat.adventure-pos-mobile--absolute,
.adventure-block-shape.adventure-pos-mobile--absolute,
.adventure-block-shape-wrapper.adventure-pos-mobile--absolute,
.itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-mobile--absolute{
  position: absolute; display: block;
}
.adventure-block-stat.adventure-pos-mobile--hidden,
.adventure-block-shape.adventure-pos-mobile--hidden,
.adventure-block-shape-wrapper.adventure-pos-mobile--hidden,
.itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-mobile--hidden{
  display: none;
}
@media screen and (min-width: 992px) {
  .adventure-block-stat.adventure-pos-desktop--static,
  .adventure-block-shape.adventure-pos-desktop--static,
  .adventure-block-shape-wrapper.adventure-pos-desktop--static,
  .itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-desktop--static {
    position: static; display: block;
  }
  .adventure-block-stat.adventure-pos-desktop--relative,
  .adventure-block-shape.adventure-pos-desktop--relative,
  .adventure-block-shape-wrapper.adventure-pos-desktop--relative,
  .itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-desktop--relative{
    position: relative; display: block;
  }
  .adventure-block-stat.adventure-pos-desktop--absolute,
  .adventure-block-shape.adventure-pos-desktop--absolute,
  .adventure-block-shape-wrapper.adventure-pos-desktop--absolute,
  .itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-desktop--absolute{
    position: absolute; display: block;
  }
  .adventure-block-stat.adventure-pos-desktop--hidden,
  .adventure-block-shape.adventure-pos-desktop--hidden,
  .adventure-block-shape-wrapper.adventure-pos-desktop--hidden,
  .itswd-section .contextual-region.adventure-block-shape-wrapper.adventure-pos-desktop--hidden{
    display: none;
  }
}


/* configurable adventure menu offsets */
.block-top-offset-mobile-0px { margin-top: 0; }
.block-top-offset-mobile--15px { margin-top: -15px; }
.block-top-offset-mobile--30px { margin-top: -30px; }
.block-top-offset-mobile--45px { margin-top: -45px; }
.block-top-offset-mobile--60px { margin-top: -60px; }
.block-top-offset-mobile--75px { margin-top: -75px; }
.block-top-offset-mobile--90px { margin-top: -90px; }
.block-top-offset-mobile--105px { margin-top: -105px; }
.block-top-offset-mobile--120px { margin-top: -120px; }
.block-top-offset-mobile--135px { margin-top: -135px; }
.block-top-offset-mobile--150px { margin-top: -150px; }
@media screen and (min-width: 992px) {
  .block-top-offset-desktop-0px { margin-top: 0; }
  .block-top-offset-desktop--15px { margin-top: -15px; }
  .block-top-offset-desktop--30px { margin-top: -30px; }
  .block-top-offset-desktop--45px { margin-top: -45px; }
  .block-top-offset-desktop--60px { margin-top: -60px; }
  .block-top-offset-desktop--75px { margin-top: -75px; }
  .block-top-offset-desktop--90px { margin-top: -90px; }
  .block-top-offset-desktop--105px { margin-top: -105px; }
  .block-top-offset-desktop--120px { margin-top: -120px; }
  .block-top-offset-desktop--135px { margin-top: -135px; }
  .block-top-offset-desktop--150px { margin-top: -150px; }
}





/*  These use the btn classes with load later as theme css so I neeed extra context to make these work. */

.adventure-block-photo-1 .btn.btn-shape,
.adventure-block-photo-2 .btn.btn-shape{
  position: absolute;
}


.btn.btn-shape { position: relative; }
.btn.btn-circle, .btn.btn-circle-shadow { border-radius: 50%; }
.btn.btn-circle-shadow { border-width: 2px; }

.btn.border-gold {border-color: #f1be48; }


/* page header flair container */
.adventure-block-page-header-flair {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 768px){
  .adventure-block-page-header-flair { max-width: 750px; }
}
@media (min-width: 992px){
  .adventure-block-page-header-flair { max-width: 970px; }
}
@media (min-width: 1200px){
  .adventure-block-page-header-flair { max-width: 1170px; }
}

.adventure-block-page-header-flair:before, .adventure-block-page-header-flair:after {
  content: " ";
  display: table;
}




.adventure-block-heading {
  text-transform: none;
}
.adventure-block-heading>em {
  /* extends the start of the underline*/
  padding-left: 7px;
  margin-left: -5px;
}

.adventure-block-heading.italic,
.adventure-block-heading.em-italic>em {
  font-style: italic;
  font-family: 'Merriweather';
  font-weight: 300;
}

.adventure-block-heading.not-italic,
.adventure-block-heading.em-not-italic>em {
  font-family: 'Nimbus Sans';
  font-weight: 900;
  font-style: normal;
}

.adventure-block-heading.gold { color: #f1be48; }
.adventure-block-heading.em-red>em {
  color: #c8102e;
  box-shadow: inset 0 -0.5em 0 0 #cde0ee;
}
.adventure-block-heading.em-dark-red>em {
  color: #7c2529;
  box-shadow: inset 0 -0.5em 0 0 #f1be48;

}
.adventure-block-heading.em-gold>em {
  color: #f1be48;
  box-shadow: inset 0 -0.5em 0 0 #c8102e;
}
.adventure-block-heading.em-white>em {
  color: #ffffff;
  box-shadow: inset 0 -0.5em 0 0 #c8102e;
}


.adventure-block-heading.em-underline-black-50>em {
  box-shadow: inset 0 -0.5em 0 0 rgba(0,0,0,.5);
}
.adventureblock-heading.em-underline-light-blue>em {
  box-shadow: inset 0 -0.5em 0 0 #cde0ee;
}
.adventure-block-heading.em-underline-blue>em {
  box-shadow: inset 0 -0.5em 0 0 #006ba6;
}
.adventure-block-heading.em-underline-dark-blue>em {
  box-shadow: inset 0 -0.5em 0 0 #003d4c;
}
.adventureblock-heading.em-underline-light-gold>em {
  box-shadow: inset 0 -0.5em 0 0 #eed484;
}
.adventureblock-heading.em-underline-gold>em {
  box-shadow: inset 0 -0.5em 0 0 #f1be48;
}
.adventure-block-heading.em-underline-red>em {
  box-shadow: inset 0 -0.5em 0 0 #c8102e;
}
.adventure-block-heading.em-underline-dark-red>em {
  box-shadow: inset 0 -0.5em 0 0 #a30011;
}





.adventure-carousel .carousel-inner>.item>img,
.adventure-carousel .carousel-inner>.item>a>img {
  width: 100%;
  height: auto;
  object-fit: unset;
  /* height: 700px */
  /* object-fit: cover */
}

.adventure-carousel .fixed-height .carousel-inner,
.adventure-carousel .fixed-height .carousel-inner>.item {
  height: 100%;
}

.adventure-carousel .fixed-height .carousel-inner>.item > .slideshow-slide-as-button {
  /* button html reset */
  width: 100%;
  height: 100%;
}
.adventure-carousel .fixed-height .carousel-inner>.item>img,
.adventure-carousel .fixed-height .carousel-inner>.item>a>img,
.adventure-carousel .fixed-height .carousel-inner>.item > .slideshow-slide-as-button > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Adventure menu Nav*/

.adventure-block-list-shadow {
  margin-bottom: 20px;
}

.adventure-list.adventure-links li > ul {
  margin: 10px 0 0 20px;
}

.adventure-list.adventure-links a.is-active {
  box-shadow: inset 0 -0.5em 0 0 #f1be48;
}

/*
.dropdown-menu .adv-list li > a,
.dropdown-menu .adv-list li > a:hover,
.dropdown-menu .adv-list li > a:focus,
.dropdown-menu .adv-list li > a:active {
  padding-left: 0;
}
*/


.itswd-layout-region.border-left .itswd-layout-builder-block {
  padding-left: 15px;
}

.adventure-btn-grid {
  margin-bottom: 20px;
}



.layout-builder__region.border-left,
.layout-builder.hide-controls .layout-builder__region.border-left {
  border-color: rgba(0,0,0,0.5);
  border-style: solid;
  border-width: 0 0 0 2px;
}
.layout-builder__region.border-gold,
.layout-builder.hide-controls .layout-builder__region.border-gold {
  border-color: #f1be48;
}



/* tweek adv-block-basic margins */
.adventure-block-basic { /*margin: 10px 0 10px 0;*/}
/*  Lining up bottom for the baskic blocks */


@media screen and (min-width: 992px) {

  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block { height: 100%;}


  /* adv block basic */
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-basic {
    height: 100%;
    margin: 0;
    /*padding: 60px 30px 60px 0;*/
    /*padding: 10px 0 10px 0;*/
  }
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-basic.adventure-block-basic-divider {
    padding-left: 60px;
  }

  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-basic--with-link {
    padding-bottom: 111px; /*button is 51 pxs so  so 60+51 = 111*/
    padding-bottom: 61px; /*button is 51 pxs so  so 10+51 = 61*/
    padding-bottom: 51px;
  }
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-basic--with-link > .adventure-btn {
    position: absolute;
    bottom: 60px;
    bottom: 10px;
    bottom: 0;
  }


  /* adv block subhead */
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead {
    height: 100%;
    margin: 0;
    padding: 60px 0 60px 0; /* margin to padding*/
    padding: 60px 0 111px 0; /*button is 51 pxs so  so 60+51 = 111*/

  }

  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead .adventure-block-subhead-title{
    /* top: 30px; because the new top padding */
    top: 90px;
  }
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead .adventure-block-subhead-header {
    top: -25px; /*-85+60*/
  }
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead .adventure-block-subhead-shadow,
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead .adventure-block-subhead-bg{
    height: 100%;
    position: relative;
  }

  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead .adventure-block-subhead-bg {
    margin-top: 0;
    margin-bottom: 0;
  }
  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead--with-link .adventure-block-subhead-bg{
    margin-bottom: 51px; /*button height*/
  }

  .itswd-layout--match-height > .itswd-layout-region > .itswd-layout-builder-block > .adventure-block-subhead .adventure-block-subhead-link{
    position: absolute;
    bottom: 20px;
    right: 20px; /* 20 padding */
  }

  /* Layout builder Add block */
  .itswd-layout--match-height > .itswd-layout-region > .layout-builder__add-block {
    position: absolute; bottom: 0;
    width: 100%;
  }

}


/* Grid button stack on small*/

@media screen and (max-width: 767px)
{
  .adventure-btn-grid .adventure-btn {
    margin-right: 0;
  }
  .adventure-btn-grid-1 .adventure-btn { width: 100%; }
  .adventure-btn-grid-2 .adventure-btn { width: 100%; }
  .adventure-btn-grid-3 .adventure-btn { width: 100%; }
  .adventure-btn-grid-4 .adventure-btn { width: 100%; }
  .adventure-btn-grid-5 .adventure-btn { width: 100%; }
}



/*
  Expanding panels
*/
.panel-group.panel-group-bg-transparent .panel {
  background-color: transparent;
}

.itswd-panel-expandable .panel-heading { padding: 0; }
.itswd-panel-expandable .panel-heading a {
  display: block; padding: 10px 15px; /* moved padding from heading to link*/
}
.itswd-panel-expandable .panel-heading a > .toggle-icon {
  float: right;
  transform: rotate(-180deg);
  transition: .3s transform ease-in-out;
}
.itswd-panel-expandable .panel-heading a.collapsed>.toggle-icon {
  transform: rotate(0deg)
}
/* Admin form for the panels */
#drupal-off-canvas-wrapper .field--name-field-itswd-panel-exp-item .panel,
#drupal-off-canvas-wrapper .field--name-field-adv-panel-exp-item .panel{
  padding: 0;
}


ul.itswd-list-group-menu{
  /*border: 1px solid #ddd;
  border-radius: 4px;*/
}

ul.itswd-list-group-menu, ul.itswd-list-group-menu ul {
  list-style: none;
  padding-left: 0;
}


ul.itswd-list-group-menu.list-group .sub-list-group .list-group-item { padding-left: 30px; }
ul.itswd-list-group-menu.list-group .sub-list-group .sub-list-group .list-group-item { padding-left: 45px; }
ul.itswd-list-group-menu.list-group .sub-list-group .sub-list-group .sub-list-group .list-group-item { padding-left: 60px; }


.itswd-list-group-menu.list-group .list-group-item:first-child {
  border-top-left-radius: unset;
  border-top-right-radius: unset;
}
.itswd-list-group-menu.list-group  .list-group-item:last-child {
  border-bottom-left-radius: unset;
  border-bottom-right-radius: unset;
  margin-bottom: -1px;
}

ul.itswd-list-group-menu.list-group > li.first > .list-group-item {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
ul.itswd-list-group-menu.list-group > li.last.has-no-submenu > .list-group-item,
ul.itswd-list-group-menu.list-group > li.last.has-submenu > ul > li.last.has-no-submenu > .list-group-item,
ul.itswd-list-group-menu.list-group > li.last.has-submenu > ul > li.last.has-submenu > ul > li.last.has-no-submenu > .list-group-item,
ul.itswd-list-group-menu.list-group > li.last.has-submenu > ul > li.last.has-submenu > ul > li.last.has-submenu > ul > li.last.has-no-submenu > .list-group-item,
ul.itswd-list-group-menu.list-group > li.last.has-submenu > ul > li.last.has-submenu > ul > li.last.has-submenu > ul > li.last.has-submenu > ul > li.last.has-no-submenu > .list-group-item
{
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  margin-bottom: -1px;
}

.reset-case {
  text-transform: none;
}



/* Adding padding to basic block */
.basic-block { display: block; }
.basic-block--padded{
  padding: 10px;
}
