/*##################################################################
# Owl Carousel
#####################################################################*/
/*.owl-carousel .owl-item img {
	max-height:200px;
    display: block;
}*/

.owl-theme .owl-nav {
  margin-top: 0 !important;
}

/*div.accordionRowContainer  max-width:750px; */
.owl-dots {
  position: absolute;
  left: 50%;
  top: 92%;
}
.owl-dot {
  position: relative;
  left: -50%;
  bottom: 50px;
  /*background-color: white;*/
  padding: 5px 0px 5px 0px !important;
  min-width: inherit !important;
}
.owl-theme .owl-dots .owl-dot span {
  background: #ededed;
  border: 2px solid #672572;
  width: 1em;
  height: 1em;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #672572;
  border: 2px solid #672572;
}

div.owl-dot:first-child {
  padding: 5px 1px 5px 5px !important;
  border-radius: 3px 0px 0px 3px !important;
}
div.owl-dot:last-child {
  padding: 5px 5px 5px 1px !important;
  border-radius: 0px 3px 3px 0px !important;
}

@media (min-width: 0px) and (max-width: 900px) {
  div.owl-carousel {
  }

  div.owl-dots {
    top: 100%;
  }
}

@media (min-width: 900px) {
  div.owl-dots {
    top: 96%;
  }
}

@media (min-width: 1024px) {
  .owl-carousel .owl-item {
    /* This helps sizing with auto-height:true enabled */
    /* Needs to be enabled for IE11 - otherwise gap at bottom is displayed */
    /*min-height:533px;    */
  }
  div.owl-carousel {
  }
}
/*##################################################################
# END - Owl Carousel
#####################################################################*/

/** Temporary homepage modifications that needs to be updated globally **/
.nav-language {
  color: #1e2d73 !important;
}

.nav-language:visited {
  color: #483fcd !important;
}

.nav-language:hover {
  color: #00093a !important;
}

.CoveoSearchButton {
  background-color: #00093a !important;
  border-color: #00093a !important;
}

.CoveoSearchbox .magic-box {
  border-color: #00093a !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: none !important;
}

.menutext {
  color: #1e2d73 !important;
}

header nav {
  background-color: #00093a;
}

header nav > ul > li > a.current-page-item {
  background-color: #da291c !important;
}
/** End of Temporary homepage modifications that needs to be updated globally **/

.section-one .top-slider {
  max-width: 100%;
  padding: 0;
  background: linear-gradient(to bottom, white 50%, #f0f1f3 50%);
}

.section-one .owl-carousel .owl-stage-outer.owl-height {
  min-height: 700px;
  height: 700px;
}

.section-one .owl-carousel .item .content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 700px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: inherit;
  /* background-image: linear-gradient(to bottom, white 50%, #f0f1f3 50%); */
  background-color: #00093a;
}

.section-one .owl-carousel .item .content .pause-video-button {
  position: absolute;
  font-size: 34px;
  height: 40px;
  line-height: 34px;
  min-height: 40px;
  min-width: 40px;
  width: 40px;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background-color: #00093a;
  color: white;
  border: none;
}

.section-one .owl-carousel .item .content .pause-video-button::after {
  content: "||";
  display: block;
  font-size: 0.43em;
  letter-spacing: 0.2em;
  margin-right: -0.1em;
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
}

.section-one .owl-carousel .item .content .pause-video-button.pause::after {
  content: "⏵";
  font-size: 1.5rem;
}

.section-one .owl-carousel .item .content video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: inherit;
  height: 100%;
  object-fit: cover;
}

.section-one .owl-carousel .item .content .hero-banner {
  max-width: 920px;
  min-width: 920px;
  margin: auto;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.section-one .owl-carousel .item .content .hero-banner .hero-banner-left,
.section-one .owl-carousel .item .content .hero-banner .hero-banner-right {
  border: none;
}

.section-one .owl-carousel .item .content .hero-banner .hero-banner-left {
  border: none;
  background-color: white;
  text-align: left;
  padding: 50px 60px;
  height: fit-content;
  width: 50%;
  position: relative;
}

.section-one
  .owl-carousel
  .item
  .content
  .hero-banner
  .hero-banner-left::after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: calc(50% - 50px);
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid white;
}

.section-one
  .owl-carousel
  .item
  .content
  .hero-banner
  .hero-banner-left
  .hero-banner-left-title {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 3.2rem;
  font-weight: bold;
  color: #00093a;
}

.section-one .owl-carousel .item .content .hero-banner .hero-banner-left a {
  margin: 0;
  background-color: #da291c;
  color: white;
  padding: 1em 5em;
  border: 2px solid #da291c;
}

.section-one
  .owl-carousel
  .item
  .content
  .hero-banner
  .hero-banner-left
  a:focus,
.section-one
  .owl-carousel
  .item
  .content
  .hero-banner
  .hero-banner-left
  a:hover {
  background-color: white;
  outline-color: #da291c;
  color: #da291c;
  border: 2px solid #da291c;
}

.section-one div.owl-carousel div.owl-nav button.owl-prev,
.section-one div.owl-carousel div.owl-nav button.owl-next {
  background-color: transparent !important;
}

.section-one .owl-theme .owl-dots .owl-dot span {
  background-color: white;
  border-color: #00093a;
}

.section-one .owl-theme .owl-dots .owl-dot.active span,
.section-one .owl-theme .owl-dots .owl-dot:hover span {
  background-color: #00093a;
  border-color: #00093a;
}

.section-two {
  background-color: #f0f1f3;
  padding: 20px 0;
  position: relative;
}

.section-two::after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: calc(50% - 50px);
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid #f0f1f3;
  z-index: 1000;
}

.infoGraphicV2-header {
  text-align: center;
  margin: 2.5em 0 3.5em 0;
}

.infoGraphicV2-header h1 {
  line-height: 45px;
  font-size: 2.5rem;
  /* color: #00093a; */
  margin-bottom: 20px;
  font-weight: bold;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#00093a),
    to(#da291c)
  );
  background: linear-gradient(to right, #00093a 0, #da291c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.infoGraphicV2-header p {
  color: #00093a;
}

.infoGraphicV2-content {
  grid-gap: 0 2em;
}

.infoGraphicV2-content li {
  display: flex;
  height: fit-content;
  padding: 20px;
  align-items: center;
  border: none;
}

.infoGraphicV2-content li:hover {
  border: none !important;
  background-color: #e1e4e7;
}

.infoGraphicV2-content li > a {
  display: flex;
  padding: 0;
}

.infoGraphicV2-content-graphics {
  height: 120px;
  margin-right: 0.95em;
}

.infoGraphicV2-content-info {
  text-align: left;
}

.infoGraphicV2-content-info h2 {
  margin: 0.3em 0;
  font-size: 1.5rem;
  color: #00093a;
}

.infoGraphicV2-content-info p {
  margin: 0;
  font-size: 1rem !important;
  color: #00093a;
}

.section-three {
  position: relative;
  background-color: #00093a;
  padding: 0 2em;
}

/* .section-three::after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: calc(50% - 50px);
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid #00093a;
  z-index: 1000;
} */

.section-three .section-background {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("https://assets.cmhc-schl.gc.ca/sites/cmhc/home/section-background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  height: 625px;
  width: 100%;
}

.section-three .owl-carousel .owl-stage-outer {
  max-height: 545px;
}

.section-three div.section-featured-products {
  padding: 7em 0 5em 0;
}

.featured-products {
  text-align: center;
  background-color: #ffffff;
  position: relative;
  padding: 1.5em 0;
}

.featured-products::after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: calc(50% - 50px);
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid #ffffff;
  z-index: 1000;
}

.featured-products h2 {
  font-size: 2rem;
  color: #00093a;
}

.featured-products p {
  color: #00093a;
}

.featured-products div.owl-carousel div.owl-nav button.owl-prev,
.featured-products div.owl-carousel div.owl-nav button.owl-next {
  background-color: transparent !important;
  color: #00093a !important;
}

.featured-products .ia-hero-banner {
  padding-bottom: 5em;
}

.featured-products .banner-content h3 {
  font-size: 1.5rem;
}

.featured-products .banner-content h3,
.featured-products .banner-content p {
  color: #00093a;
}

.featured-products .banner-content a {
  background-color: white;
  border-color: #00093a;
  color: #00093a;
  padding: 1em 5em;
  border: 2px solid #00093a;
}

.featured-products .banner-content a:focus,
.featured-products .banner-content a:hover {
  background-color: #00093a;
  outline-color: white;
  color: white;
  border: 2px solid #00093a;
}

.featured-products .ia-hero-banner .section-right .banner-image {
  background-size: contain;
  display: block;
}

.featured-products .owl-theme .owl-dots .owl-dot span {
  background-color: white;
  border-color: #00093a;
}

.featured-products .owl-theme .owl-dots .owl-dot.active span,
.featured-products .owl-theme .owl-dots .owl-dot:hover span {
  background-color: #00093a;
  border-color: #00093a;
}

.trending-topics-text {
  display: none;
}

.section-four {
  position: relative;
  background-color: #00093a;
  padding: 0 2em;
}

.success-stories {
  text-align: center;
}

.success-stories h2 {
  font-size: 2rem;
  color: #00093a;
}

.success-stories p {
  color: #00093a;
  margin: 0;
}

.success-stories-grid {
  /* background-color: #ffffff; */
  background-color: #00093a;
  margin: 0;
  /* margin-top: 5em; */
  padding-bottom: 3.5em;
  float: inherit;
  padding-left: 0;
  padding-right: 0;
}

.success-stories-grid .related-wrapper {
  /* background-color: #ffffff; */
  background-color: #00093a;
}

.success-stories-grid .related-wrapper h2.article-title {
  font-size: 2rem;
  margin-bottom: 20px;
  /* color: #00093a; */
  color: #ffffff;
}

.success-stories-grid .related-wrapper .article-wrapper {
  /* border-color: #00093a;
  background-color: #00093a; */
  border: none;
}

.success-stories-grid .related-wrapper .article-wrapper .text-posts {
  height: fit-content;
  /* padding-left: 0; */
}

.success-stories-grid .related-wrapper .article-wrapper span,
.success-stories-grid .related-wrapper .article-wrapper p {
  color: #1e2d73;
}

.success-stories-grid .related-wrapper .show-more-button a {
  background-color: #f0f1f3;
  border-color: #f0f1f3;
  color: #00093a;
  padding: 1em 5em;
  border: 2px solid #f0f1f3;
}

.success-stories-grid .related-wrapper .show-more-button a:focus,
.success-stories-grid .related-wrapper .show-more-button a:hover {
  background-color: #00093a;
  outline-color: #f0f1f3;
  color: #f0f1f3;
  border: 2px solid #f0f1f3;
}

#observer-showall-home {
  margin-top: 2em;
}

.cmhc-container > footer {
  margin-top: 0;
}

/** owl carousel stuff **/
.owl-nav .owl-prev.disabled,
.owl-nav .owl-next.disabled {
  visibility: hidden;
}
/** end of owl carousel stuff **/

@media screen and (max-width: 1024px) {
  .section-one .owl-carousel .item .content .hero-banner {
    justify-content: space-around;
  }

  .section-one .owl-carousel .item .content .hero-banner .hero-banner-left h2 {
    font-size: 2.2rem;
  }

  .infoGraphicV2 {
    padding: 0 5em;
  }

  .infoGraphicV2-content {
    grid-gap: 2em 5em;
    grid-template-columns: 1fr !important;
  }

  .section-three div.section-featured-products {
    padding: 3em 0 5em 0;
  }
}

@media screen and (max-width: 920px) {
  .section-three .owl-carousel .owl-stage-outer {
    max-height: inherit;
  }

  .featured-products .banner-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }

  .featured-products .banner-content {
    text-align: center !important;
    padding-top: 0 !important;
  }
}

@media screen and (max-width: 768px) {
  .section-one .owl-carousel .item:first-child .content {
    background: inherit;
    background-color: #00093a;
  }

  .section-one .owl-carousel .item .content video,
  .section-one .owl-carousel .item .content .pause-video-button {
    display: none;
  }

  .section-one .owl-carousel .item .content .hero-banner {
    padding: 80px;
    justify-content: flex-start;
    flex-direction: column;
    min-width: inherit;
  }

  .section-one .owl-carousel .item .content .hero-banner .hero-banner-left {
    text-align: center;
    width: 100%;
  }

  .section-one .owl-carousel .item .content .hero-banner .hero-banner-left h2 {
    font-size: 3.2rem;
  }

  .section-one .owl-carousel .item .content .hero-banner .hero-banner-left a {
    padding: 1em 5em;
  }
}

@media screen and (max-width: 480px) {
  .infoGraphicV2 {
    padding: 0;
  }

  .section-one .owl-carousel .item .content .hero-banner .hero-banner-left a {
    padding: 1em 3em;
  }
}