/* Hide image of breadcrumb */
li.breadcrumb-item>span.divider {
  display: none;
}

/* Fixing scounting styling */
b, strong {
  font-weight: 700;
}

/* IcsOverview corrections */
/* .cb-main-item, .cb-items */
.ics-filters .choosebumps {
  font-size: 13px;
  line-height: normal;
}

.datepicker .table {
  width: inherit;
}

.datepicker .table td,
.datepicker .table th {
  padding: 9px 7px;
}

.mgroen .ics-date-selector>div>button,
.mgroen .ics-results>li>div .ics-price-and-booking>div .ics-book {
  background-color: #0066b2;
}

.sgeel .ics-results>li>div .ics-price-and-booking>div a.ics-book,
.sgroen .ics-results>li>div .ics-price-and-booking>div a.ics-book {
  color: #fff !important;
}

@media only screen and (max-width: 520px) {
  .ics-date-selector > div > div input.ics-date {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .ics-results>li>div {
    display:block
  }
  .ics-results>li>div div.ics-image-container {
    width:inherit
  }
  .ics-results>li>div div.ics-image-container+div {
    margin-top:30px
  }
  .ics-results>li>div div.ics-image-container img.ics-image {
    margin:0
  }
  .ics-results>li>div .ics-info {
    width:inherit;
    margin-right:20px
  }
  .ics-results>li>div .ics-price-and-booking {
    width:100%;
    margin-left:0
  }
  .ics-filters .choosebumps {
    margin-left:10px;
    margin-bottom:10px
  }
  .ics-filters .choosebumps+.choosebumps {
    margin-bottom:10px;
    margin-left:10px
  }
  .ics-available-facilities {
    position:static;
    text-align:center;
    margin-top:5px
  }
  .ics-available-facilities img {
    display:initial;
    float:none
  }
  .ics-results>li>div .ics-info {
    text-align:center
  }
}

@media screen and (max-width: 1202px) {
  .ics-date-selector {
    margin:20px 0 40px
  }
  .container .ics-date-selector>div {
    border:0;
    gap:10px
  }
  .ics-date-selector>div>div {
    border:black solid 1px;
    border-radius:30px;
    padding:5px
  }
  .ics-date-selector>div input.ics-date {
    text-align:center
  }
  .container .ics-date-selector>div>div:nth-of-type(2):before {
    border-left:0;
  }
}

@media screen and (min-width: 1203px) {
  .ics-date-selector>div>div:nth-of-type(2):before {
    border-left:solid black 1px;
    content:"";
    height:40px;
    position:absolute
  }
}

/* Green menu color */
.sgroen .nav-item a:not(.active), .sgroen #tc4-buttons a { 
  color: #999 !important; 
}

/* Fix for blog items */
.com-content-category-blog__item.blog-item {
  min-height: 230px;
}

/* Fix accomodation blog */
.ah-blog .item h1 {
  font-size: 2rem;
}

.ah-blog p.readmore {
  font-size: 14px;
  position: absolute;
  bottom: 0;
}

.ah-blog .item {
  min-height: 270px;
  padding-bottom: 60px;
}

.ah-blog .wf-mediabox-has-float {
  float: right !important;
  padding-left: 20px;
}

.ah-blog .items-row {
  margin-bottom: 20px;
}

/* Hide second arrow on button */
p.readmore a.btn::after {
  display: none;
}

/* Fix imageslider */
.slide-desc-text.slide-desc-text-default {
  line-height: 1em;
  font-size: 1em;
}

.slide-desc .slide-desc-text-default .slide-title {
  font-size: 1.2em;
}

.slide-desc-text.slide-desc-text-default p {
  margin-bottom: 3px;
  font-size: 0.8em;
}

/* Fix for jevents calendar */
.mod_events_monthyear.table {
  margin-bottom: inherit;
}

.table td.mod_events_td_daynoevents,
.table td.mod_events_td_dayoutofmonth,
.table td.mod_events_td_todaynoevents,
.table td.mod_events_td_daywithevents {
  padding: 2px;
  vertical-align: inherit;
  line-height: normal;
}

#beschikbaarheid-boeken table.table table.table,
#beschikbaarheid-boeken table table {
  font-size: 10px;
}

.mod_events_table.table td,
.mod_events_table td {
  padding: 2px;
  line-height: normal;
}

.mod_events_monthyear.table td,
.mod_events_monthyear td {
  padding: 2px;
  line-height: normal;
  border-top: 0;
}

#beschikbaarheid-boeken>table.table>tbody>tr:nth-of-type(2) td {
  padding: 2px;
  line-height: normal;
  font-size: 13px;
  border-top: 0;
}

#beschikbaarheid-boeken>table.table>tbody>tr:nth-of-type(2) strong {
  font-weight: 800;
}

/* Extra links footer */
.aha-footer a {
  text-decoration: none;
  margin-right: 10px;
}

table.ah-table-responsive tr {
  vertical-align: top;
}

/* Fixing mobile view */
@media only screen and (max-width: 991px) {
  table.ah-table-responsive td {
    display: block;
  }

  .container #content .item-page div[id^="rlta-panel-"] p > img {
    width: inherit;
  }

  .container #content .item-page div#rlta-panel-beschikbaarheid-boeken > div > table > tbody > tr > td {
    display: block;
  }

  .phocamaps-map {
    width: inherit !important;
  }
}

@media only screen and (max-width: 520px) {
  table.ah-table-responsive img {
    width: 100%;
    margin: 0 !important;
  }
}

@media (max-width:991px) {
  .container #content .item-page p > img, 
  .container-sm #content .item-page p > img {
    width: 100%;
  }
}

#search-searchword {
  width: 100%;
}

/* Jdownloads button */
.jd_download_wrapper .jdbutton {
  background-image: none;
  background-color: #0066b2;
  color: #fff !important;
  border: 0;
}

/* Action button */
a.ah-action-btn,
.readon.art-button {
  color: #fff !important;
  zoom: 1;
  text-decoration: none;
  padding: .5em 2em .55em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
  border-radius: .5em;
  float: right;
}

a.ah-action-btn {
  background-color: #0066b2;
}

.readon.art-button {
  background-color: #000;
}

/* Hero content */
#tc4-hero .defaultbanner.laag:before {
  content: "Een terrein vol avontuur";
  position: absolute;
  bottom: 20%;
  left: 9%;
  color: #fff;
  font-size: 4em;
  font-weight: 600;
  text-shadow: 1px 1px 2px black, 0px 0px 5px #0066b2;
  font-family: cursive;
  line-height: 60px;
  overflow-wrap: break-word;
}

#tc4-hero > div.row:first-child div.col {
  position: relative;
}

@media only screen and (max-width: 991px) {
  #tc4-hero .defaultbanner.laag:before {
    left: initial;
    width: 100%;
    text-align: center;
    padding: 0 5px;
  }
}

/* Featured corrections */
.featured-a,
.featured-b,
.featured-c {
  height: 100%;
}
.featured-a > .mod-custom,
.featured-b > .mod-custom,
.featured-c > .mod-custom {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.featured-a > .mod-custom h4, 
.featured-b > .mod-custom h4, 
.featured-c > .mod-custom h4 {
  margin-top: auto;
}

/* Logo */

#tc4-logo .navbar-brand .eigenlogo {
  top: 15px;
  max-height: inherit;
}

#tc4-logo .navbar-brand .eigenlogo.ah-hidden {
  top: -23px;
  max-height: 50px;
  transition: max-height 0.7s linear;
}

#tc4-logo .navbar-brand .eigenlogo.ah-visible {
  top: -23px;
  max-height: 200px;
  transition: max-height 0.7s linear;
}

@media only screen and (max-width: 991px) {
  #tc4-logo .navbar-brand .eigenlogo.small-logo {
    max-height: 50px;
  }
}

/* Table fixes */
.table td, .table th {
  padding: inherit;
  border-top: inherit;
}

/* Cookie message */
#redim-cookiehint .cookiecontent {
  width: 80%;
}
#redim-cookiehint .cookiecontent p {
  margin-bottom: 0;
}
#cookiehintsubmit.btn::after {
  vertical-align: inherit;
}

/* Scenes branding */
.blog.ah-activiteiten p.ah-scenes {
	position: relative;	
}
.blog.ah-activiteiten p.ah-scenes::before {
	content: url("/templates/template_gah_2018_009/images/scenes.webp");
	position: absolute;
	top: -14px;
	left: 227px;
}

/* Phoca popup fixes */
div.pswp__zoom-wrap {
	position:relative;
  height: 100%;
  width:100%;
  transform: none !important;
}

div.pswp__zoom-wrap img.pswp__img {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin: auto;
  width: initial !important;
  height: initial !important;
}