/* MISC */
.container-fluid,
.container {
  max-width: 1440px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.header-container,
.header-container header {
  background-color: #172f46;
}
.header-container-top,
.header-container-top .header-top {
  background-color: #32689b;
}
.onscroll.headroom--scroll-up .header-container header {
  border-bottom: 1px #eee solid;
}
.header-top__container {
  padding: 15px 0 0;
}
a.site-branding__logo img {
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.logo {
  margin: 0;
}
#block-headerlinksright {
  float: right;
  padding: 0 0 20px;
}
#block-headerlinksright a {
  color: #fff;
  font-size: 20px;
}
#block-headerlinksright a:hover {
  color: #aad6ff;
}
#block-headerlinksright p {
  margin: 5px 0 0;
}
#block-headerlinksright .header-link-text {
  margin-left: 5px;
  font-size: 14px;
}
#block-searchform {
  max-width: 300px;
  float: right;
  margin-right: 30px;
}
#block-searchform #edit-keys {
  background-color: #fff;
  padding: 5px 10px;
}
#block-searchform .form-actions {
  top: -7px;
  right: -50px;
}
#block-searchform .form-actions:after {
  background: none;
}
#block-searchform .form-type-search .form-search {
  background-color: #fff;
  padding: 5px 10px;
}
#hero-top {
  background: url(/themes/custom/cleanplus/images/bg-bottom-title.png) repeat-x center bottom #ebebeb;
  margin-bottom: 50px;
  padding: 0;
}
#block-cleanplus-page-title h1 {
  font-size: 1.8em;
  padding: 0 0 20px;
}
.breadcrumb__items,
.breadcrumb__items li,
.breadcrumb__items li a,
.breadcrumb__items li span {
  font-weight: normal;
}
#block-cleanplus-breadcrumbs {
  margin-top: 20px;
}
#block-homedewmessage {
  text-align: center;
}
.dew-message {
  background-color: #32689b !important;
}
.path-frontpage #featured-top {
  background-color: #f0f0f0;
  border-top: 8px solid #707372;
  border-bottom: 8px solid #707372;
}
#featured {
  background: none;
  background-color: #fff;
  padding: 0px 0;
}
.featured__section {
  padding: 0;
}
.galleryContainer,
.galleryContainer li {
  list-style-type: none !important;
  display: block;
  width: 100%;
  height: 100%;
}
.view-mode-portfolio-masonry-block .galleryContainer li {
  width: 24%;
  height: 120px !important;
  display: inline-block;
  vertical-align: top;
}
.galleryContainer li {
  width: 33%;
  height: 300px;
}
.galleryContainer li:first-child {
  height: 500px;
}
.galleryContainer li:nth-child(7),
.galleryContainer li:nth-child(10),
.galleryContainer li:nth-child(15) {
  height: 500px;
}
.galleryWrapper {
  margin: 1px;
  overflow: hidden;
}
#footer {
  background: none;
  background-color: #32689b;
  border-top: 1px solid #dcdcdc;
}
#subfooter {
  background: none;
  background-color: #172f46;
  border-top: 1px solid #DCDCDC;
}
.sidebar__section h4.title:before,
.sidebar__section h2.title:before,
.sidebar__section nav > h2:before,
.sidebar__section .block-search > h2:before {
  display: none;
}
.block > h2.title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 15px;
  padding-left: 0px;
  margin-bottom: 0px;
}
.content .node__main-content video {
  width: 100%;
}
.main-content__section,
.sidebar__section,
.col-12 .block {
  padding-top: 0px;
  padding-bottom: 20px;
}
.footer__section {
  padding: 50px 0;
}
.featured-top__section {
  padding: 20px 0;
}
.sidebar__section .block {
  padding: 10px;
  margin-bottom: 0px;
}
.post-content .views-more-link {
  display: inline-block;
  background-color: #32689b;
  border-color: #32689b !important;
  padding: 8px 18px;
  font-size: 15px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 50%) inset, 0 1px 2px rgb(0 0 0 / 25%);
  vertical-align: bottom;
  border-radius: 0;
  color: #fff;
  margin-top: 10px;
}
.post-content .views-more-link:hover {
  background-color: #2BA077;
  border-color: #2a9c74 !important;
  color: #fff;
}
.page-news .views-row {
  display: inline-block;
  vertical-align: top;
  width: 33%;
}
.page-news .views-row .post.teaser,
.page-news .views-row .post.full {
  max-width: 100%;
  flex: 0 0 100%;
  border-bottom: 0px;
}
.page-news .views-row .btn {
  color: #000;
}
.page-news .views-row .btn:hover {
  color: #fff;
}
#content-bottom {
  background-color: #ebebeb;
}
.view-case-studies.view-display-id-page_1 .view-content,
.view-case-studies.view-display-id-block_1 .view-content {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.view-case-studies.view-display-id-block_1 .view-header,
.view-case-studies.view-display-id-block_1 .view-footer {
  text-align: center;
}
.view-case-studies.view-display-id-block_1 .view-footer {
  text-align: center;
  margin: 20px 0 40px;
}
.view-case-studies.view-display-id-block_1 .portfolio-text {
  display: none;
}
.webcreate-events .view-filters {
  margin-bottom: 0;
}
.webcreate-events label {
  font-size: 15px !important;
}
.webcreate-events .form-actions {
  display: inline-block;
  margin: 33px 0 0;
}
.webcreate-events .form-item-field-event-date2-value,
.webcreate-events .form-item-field-event-date2-end-value {
  width: 200px;
}
.webcreate-events .form-actions input {
  padding-top: 5px;
  padding-bottom: 5px;
}
.search-results .search-result__title {
  font-size: 20px;
}
.path-search #edit-help-link,
.mt-mobile-menu-widget-wrapper {
  display: none;
}
.path-frontpage #banner > .container-fluid {
  max-width: 100%;
  padding: 0 !important;
}
.path-frontpage #banner .container-fluid .field--name-field-mt-main-slideshow-slide,
.path-frontpage #banner .row {
  margin: 0;
}
.path-frontpage #banner .row > .col-12,
.path-frontpage #main-content .main-content__section,
.path-frontpage #main-content .main-content__section .node__header {
  padding: 0;
}
#block-mainslideshowfullscreen .main-slideshow-block.rev_slider_wrapper,
#block-mainslideshowfullscreen .tp-fullwidth-forcer {
  max-height: calc(100vh - 155px) !important;
}

#block-mainslideshowfullscreen .tp-caption .tp-caption__text {
  background-color: rgba(23, 47, 70, 0.6) !important;
  text-shadow: 0px 2px 2px rgb(0 0 0 / 50%) !important;
  font-size: 38px;
  line-height: 48px;
  padding: 10px;
  border-radius: 5px;
}

@media (max-width: 991px) {
	#block-mainslideshowfullscreen .tp-caption .tp-caption__text {
  	font-size: 24px;
  	line-height: 28px;
	}
}
/*#block-mainslideshowfullscreen .rev_slider ul li:nth-child(2) div.tp-parallax-wrap:nth-child(3),
#block-mainslideshowfullscreen .rev_slider ul li:nth-child(4) div.tp-parallax-wrap:nth-child(3) {
  left: 50vw !important;
}
#block-mainslideshowfullscreen .rev_slider ul li div.tp-parallax-wrap:nth-child(3) {
  left: 15vw !important;
}*/
.page-node-type-event .share-links li {
  display: inline-block;
  margin: 0 10px 10px;
}
#search-block-form label.visually-hidden {
  color: #000;
  background-color: #fff;
}
.path-frontpage #superfish-main > li:first-child {
  display: none;
}

/* MENU NAVIGATION - SUPERFISH*/
#superfish-main li a {
  color: #ebebeb;
  font-weight: 500;
}
#superfish-main > li:hover > a,
#superfish-main li.active-trail > a {
  color: #fff;
  background-color: #204060;
}

#superfish-main ul > li:hover > a
{
  color: #fff;
  background-color: #204060;
}

#superfish-main > li > a {
  text-transform: uppercase;
  padding-right: 10px;
}
#superfish-main ul {
  background-color: #32689b;
  border: none;
  padding: 0;
  width: 15em !important;
}
#superfish-main ul a {
  font-weight: normal;
  font-size: 1em;
}
#superfish-main ul li {
  border-bottom: 1px solid rgba(220,220,220,0.5);
}
#superfish-main ul li:last-child {
  border-bottom: 0px;
}


/* PAGER */
.pager .pager__items > li > a,
.pager .pager__items > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #24557F;
  background-color: #fff;
  border: 1px solid #ddd;
  margin: 0;
  border-radius: 0;
}
.pager .pager__items > li.is-active > a {
  font-weight: bold;
}
.region--default-background .sidebar__section .block {
  box-shadow: unset;
}
form .captcha {
    overflow: hidden;
}
@media only screen and (max-width: 763px) {
  #block-mainmenu .content {
    padding: 10px;
  }
  #block-searchform,
  #block-headerlinksright {
    float: none;
  }
  #block-searchform {
    height: 60px;
    margin: 0 auto;
  }
  #block-searchform .form-type-search {
    width: 100%;
  }
}
@media only screen and (max-width: 500px) {
  #block-searchform .form-actions {
    right: 0;
  }
  #block-searchform .form-actions:after {
    color: #224668;
  }
}
