/* Fix subscribe color */
.footer .subscribe {
  font-family: Raleway,sans-serif;
  font-weight: 700;
  color: #fff;
}

.pager__item {
  display: inline-block;
  margin: 15px 5px;
}

/* Fix width 500 */
.width-500px {
  width: auto;
  max-width: 500px;
}

/* Fix search page */
.section-welcome-moncton .search-box {
  margin-bottom: 0;
}
.section-search h2 {
  display: none;
}
.section-search .count-items {
  margin-bottom: 10px;
  padding: 0 30px;
}
.search-results li {
  border-bottom: 1px solid #DADADA;
  color: #302C2C;
  padding: 20px 30px;
}
.search-results a {
  color: #0BA8E7;
}
.search-results a:hover {
  color: #17BA46;
}

/* Add styles for marker label */
.mark-label {
  color: #ffffff;
  font-size: 19px;
  font-weight: bold;
  font-family: "Raleway", sans-serif;
  margin-top: -20px;
}

/* Fix multiple top menu */
.topbar .topbar-nav {
  margin-right: 0;
}
.topbar .topbar-nav nav,
.topbar .topbar-nav > ul {
  display: inline-block;
}
.topbar .topbar-nav ul.social-media-links--platforms li:last-child {
  padding-right: 0;
}
.topbar .topbar-nav ul.social-media-links--platforms li .fa {
  font-size: 1.5em;
  color: #0ba8e7;
}
.side-nav ul.social-media-links--platforms li {
  padding: 10px 0;
}
.side-nav ul.social-media-links--platforms li .fa {
  font-size: 1.2em;
  color: #9F9F9F;
}
.footer_social ul.social-media-links--platforms li:last-child {
  padding-right: 0;
}
.footer_social ul.social-media-links--platforms li .fa {
  font-size: 1.2em;
  color: #ffffff;
}

/* Fix poll radios */
.radio-element {
  padding-left: 0;
  padding-right: 0;
}
.radio-element label {
  padding: 0;
}

/* Change active links class */
.footer-nav ul li {
  display: inline-block;
  padding: 0;
}
.footer-nav ul li a {
  display: inline-block;
  padding: 15px 20px;
}
.footer-nav ul li a.is-active {
  background: #ffffff;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  padding: 15px 30px;
  color: #0BA8E7;
}

/* Fix button borders */
button {
  border: 0;
  cursor: pointer;
}

/* Fix no spaces between several buttons */
.btn-text {
  margin-right: 20px;
}

/* Remove spaces from search wrapper elements */
.search-box .form-group {
  padding: 0;
}

/* Remove spaces from subscription wrapper elements */
.subscribe .form-item-message {
  padding: 0;
}
.subscribe .form-group {
  padding-left: 0;
  padding-right: 0;
}
.subscribe .form-submit {
  position: absolute;
  left: -999px;
  visibility: hidden;
}

/* Fix SVG icon output */
.icon-bordered i,
.colorful-icon_icon .icon i {
  display: block;
}
.icon-bordered i svg,
.colorful-icon_icon .icon i svg {
  vertical-align: top;
  display: inline-block;
  margin-top: 18px;
}
.colorful-icon_icon .icon i svg path,
.colorful-icon_icon .icon i svg line,
.colorful-icon_icon .icon i svg circle,
.colorful-icon_icon .icon i svg polyline,
.colorful-icon_icon .icon i svg polygon,
.colorful-icon_icon .icon i svg rect {
  stroke: white;
}

/* Fix cutting button in slider */
.reviews-slider_wrap .slick-list {
  padding-bottom: 30px;
  margin-bottom: -30px;
}
.reviews-slider_wrap .btn {
  bottom: -60px;
}

/* Fix width and margins for AJAX messages */
.container .container {
  width: auto;
}
.container .container.margin-50px {
  margin: 0 0 10px 0 !important;
}

/* Add styles for system messages. */
.messages {
  line-height: normal;
  background: no-repeat 10px 17px;
  /* LTR */
  border: 1px solid;
  border-width: 1px 1px 1px 0;
  /* LTR */
  border-radius: 2px;
  padding: 15px 20px 15px 35px;
  /* LTR */
  word-wrap: break-word;
  overflow-wrap: break-word;
}
[dir="rtl"] .messages {
  border-width: 1px 0 1px 1px;
  background-position: right 10px top 17px;
  padding-left: 20px;
  padding-right: 35px;
  text-align: right;
}
.messages + .messages {
  margin-top: 1.538em;
}
.messages__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.messages__item + .messages__item {
  margin-top: 0.769em;
}
/* See .color-success in Seven's colors.css */
.messages--status {
  color: #325e1c;
  background-color: #f3faef;
  border-color: #c9e1bd #c9e1bd #c9e1bd transparent;
  /* LTR */
  background-image: url(/core/misc/icons/73b355/check.svg);
  box-shadow: -8px 0 0 #77b259;
  /* LTR */
}
[dir="rtl"] .messages--status {
  border-color: #c9e1bd transparent #c9e1bd #c9e1bd;
  box-shadow: 8px 0 0 #77b259;
  margin-left: 0;
}
/* See .color-warning in Seven's colors.css */
.messages--warning {
  background-color: #fdf8ed;
  background-image: url(/core/misc/icons/e29700/warning.svg);
  border-color: #f4daa6 #f4daa6 #f4daa6 transparent;
  /* LTR */
  color: #734c00;
  box-shadow: -8px 0 0 #e09600;
  /* LTR */
}
[dir="rtl"] .messages--warning {
  border-color: #f4daa6 transparent #f4daa6 #f4daa6;
  box-shadow: 8px 0 0 #e09600;
}
/* See .color-error in Seven's colors.css */
.messages--error {
  background-color: #fcf4f2;
  color: #a51b00;
  background-image: url(/core/misc/icons/e32700/error.svg);
  border-color: #f9c9bf #f9c9bf #f9c9bf transparent;
  /* LTR */
  box-shadow: -8px 0 0 #e62600;
  /* LTR */
}
[dir="rtl"] .messages--error {
  border-color: #f9c9bf transparent #f9c9bf #f9c9bf;
  box-shadow: 8px 0 0 #e62600;
}
.messages--error p.error {
  color: #a51b00;
}

.section-welcome .section-bg video {
  height: 100%;
  width: 177.77777778vh; /* 100 * 16 / 9 */
  min-width: 100%;
  min-height: 56.25vw; /* 100 * 9 / 16 */
}

.section-welcome .section-bg {
  overflow: hidden;
}

/* New */

.header-logo {
  height: auto;
}

.arrive p {
  width: 100%;
}

.colorful-icon .colorful-icon_desc {
  width: 100%;
}

a.link-arrow:after {
  top: 50%;
  margin-top: -6px;
}

.breadcrumbs ol {
  padding: 10px;
}
.breadcrumbs ol li {
  display: inline;
  padding: 0 10px;
}
.breadcrumbs ol li:first-child {
  padding-left: 0;
}
.breadcrumbs ol li:last-child {
  padding-right: 0;
}

.side-nav.show {
  overflow: scroll;
  z-index: 10000;
}

.bg-wrapper {
  background: none no-repeat center center;
  background-size: cover;
}

@media (max-width: 480px){
  .bg-wrapper {
    background: none no-repeat left center;
    background-size: cover;
  }
}

.section-welcome .section-bg video {
  width: 100%;
  object-fit: cover;
}

.section-carshare .container.with-logo {
  padding-top: 0;
}

@media (max-width: 768px){
  .section-carshare {
    margin-top: -200px;
  }
}

.section-carshare .container.with-logo .bg-wrapper {
  background-size: contain;
  background-position: center top;
  width: 50%;
}

.section-carshare .container.with-logo .bg-wrapper img {
  object-fit: contain;
  object-position: center top;
}

.section-drive {
  margin: 70px 0 100px;
}

.events-list {
  flex-wrap: wrap;
}

.section-linksbox .btn {
  z-index: 10;
  position: absolute;
  bottom: -20px;
  width: 200px;
  left: 50%;
  margin-left: -100px;
}

html[lang=fr] .section-linksbox .btn {
  width: 230px;
}

html[lang=fr] .topbar-nav .links .fr {
  display: none;
}

html[lang=en] .topbar-nav .links .en {
  display: none;
}

.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media only screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .section-resources .col + .col {
    margin: 0;
  }
  .section-resources .col:last-child {
    margin-bottom: 20px;
  }
  .photoslider-item img {
    width: 100%;
    height: auto;
  }
  .section-carshare .container.with-logo .bg-wrapper {
    width: 100%;
    height: auto;
  }
  .section-carshare .container.with-logo .bg-wrapper img {
    width: 100%;
    height: auto;
  }
  .section-carshare .container.with-logo .carshare_textbox {
    margin-top: 0;
  }
  .section-drive .section-drive_box {
    margin-bottom: 0;
  }
  .linksbox-links {
    margin-bottom: 50px;
  }
}

@media only screen and (max-width: 480px) {
  .header {
    padding-top: 16px;
  }
  .topbar {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    margin-bottom: 10px;
  }
  .reviews-slider .slick-arrow {
    width: 40px !important;
    height: 74px !important;
  }
  .reviews-slider .slick-prev {
    left: -15px !important;
  }
  .reviews-slider .slick-next {
    right: -15px !important;
    left: auto !important;
  }
}

/* IMAGE AND TEXT */

.main-wrapper {
  display: block;
  width: 80%;
  max-width: 1100px;
  margin: 50px auto;
}

.image-left-text {
  display: flex;
}

.text-img-section {
  margin-bottom: 75px;
  margin-top: 30px;
}

.text-img-section .flex-wrap .txt {
  display: flex;
  align-items: center;
  padding: 10px 0;

}

.text-img-section .flex-wrap .txt h2 {
  padding: 0;
  margin: 0 0 25px;
}

.text-img-section .img-right {
  flex-direction: row-reverse;
}

.text-img-section .img-right .txt {
  flex-direction: row-reverse;
  margin: 25px auto !important;
}



.text-img-section .img-right .width-50per {
  padding-right: 30px;
  box-sizing: border-box;
}

.text-img-section .img-right .txt {
  margin-right: 70px;
  margin-left: 0;
}

.text-img-section p {
  padding: 5px 0;
}

.text-img-section .text-img-section-buttons .btn {
  margin: 20px 0 0;
}

.text-img-section .img-left .width-50per {
  padding-left: 30px;
  box-sizing: border-box;
}

.text-img-section .txt {
  width: 350px;
  margin-left: 70px;
}

.text-img-section .txt h2 {
  margin-bottom: 20px;
}

.text-img-section .txt h3 {
  margin-bottom: 20px;
}

.text-img-section .txt p {
  line-height: 150%;
}

.text-img-section .txt .wrap {
  width: 350px;
}

.text-img-section .txt.width-50per {
  width: 50%;
  margin-left: 0;
}

.text-img-section .txt.width-50per .btn {
  margin-bottom: 0;
}

.text-img-section .img {
  width: 50%;
}

.text-img-section .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  margin-bottom: -2.5px;
}

.dialog-off-canvas-main-canvas {
  overflow-x: hidden;
}

@media only screen and (max-width: 880px) {
  .image-left-text {
    flex-direction: column;
  }
  .text-img-section .flex-wrap .txt {
    margin: 25px 0;
  }
  .text-img-section .img {
    width: 100%;
  }
}

.main-menu .menu .menu-item:last-child {
    position: relative;
    padding: 10px 10px;
    font-weight: 400;
    font-size: 16px;
    font-family: Quicksand,sans-serif;
    background: linear-gradient(135deg,#17ba45 0,#17ba45 15%,#0ba9e7 100%);
    transition: .4s;
    border-radius: 30px;
}
.main-menu .menu .menu-item:last-child a{
    color: white;
}