﻿/*
//-----------------------------------------------------------------------
// <copyright file="carousel.less" company="Federal Reserve Bank of Boston">
//     © 2024 Federal Reserve Bank of Boston
// </copyright>
// <summary>This is the carousel.less file.</summary>
//-----------------------------------------------------------------------
// Internal FR – Source Code
*/
/* ReSharper disable UnknownCssVendorExtension */
/* ReSharper disable CssBrowserCompatibility */
.carousel-control.right,
.carousel-control.left {
  background-image: none !important;
}
.carousel-date {
  background-color: #6ba2b9;
  color: #fff;
  float: left;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: .8;
  padding: 5px 15px;
}
.carousel-img-column {
  padding-right: 0;
}
.carousel-outer-container-column {
  overflow: hidden;
}
.carousel-row-wrapper {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  margin: 0 3px 4px;
}
.carousel-subtitle {
  color: #3f4041;
  font-weight: 300;
  line-height: 20px;
}
.carousel-text-column {
  /*background-image: url(/~/media/FRB/Articles/pattern2xpng.png);*/
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 50% auto;
  text-align: left;
}
.carousel-text-column .call-to-action {
  border: 1px solid #6ba2b9;
  border-radius: 4px;
  color: #6ba2b9;
  float: left;
  font-style: normal;
  font-weight: 400;
  padding: 5px 10px;
}
.carousel-text-column .call-to-action a {
  color: #6BA2B9;
}
.carousel-text-column h2 {
  color: #003a5d;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 21px;
}
.carousel-text-column h4 {
  clear: both;
  color: #003a5d;
  font-size: 15px;
  font-weight: 400;
  margin-top: 3px;
}
.carousel-text-column h4 a,
.carousel-text-column h2 a,
.carousel-subtitle a {
  color: #003a5d;
}
.carousel-text-column,
.carousel-img-column {
  padding-left: 3px;
  padding-right: 3px;
}
.carousel-text-column-inner,
.carousel-img-column-inner {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  /*margin-right: -3px;*/
}
.xsmall-carousel-img-column {
  padding: 0;
}
.small-carousel-large-section-row {
  margin-bottom: 20px;
}
.small-carousel-small-section-row .carousel-text-column {
  background-image: none;
  position: relative;
}
.small-carousel-small-section-row .carousel-text-column .carousel-date {
  position: absolute;
  right: 0;
  top: 0;
}
.small-carousel-small-section-row .small-carousel-text-column h2 {
  margin-top: 0;
}
a.video span {
  background: url("/-/media/FRB/Icons/SimpleLink_svg.svg") no-repeat;
  background-position: 50% 50%;
  height: 100%;
  position: absolute;
  width: 100%;
}
div.carousel-bottom-column {
  border-right: 1px solid #dfe4e9;
  border-top: 1px solid #dfe4e9;
  color: #6ba2b9;
  font-size: 14px;
  line-height: 17px;
  min-height: 50px;
}
div.carousel-bottom-column.active {
  background-color: #003a5d;
  border: 0;
  color: #fff;
}
div.carousel-bottom-column.active:hover {
  background-color: #003a5d;
}
div.carousel-bottom-column:hover {
  background-color: transparent;
  cursor: pointer;
}
div.carousel-bottom-column:last-child {
  border-right: 0;
}
.carousel-subtitle {
  font-size: 17px;
}
.carousel-text-column .call-to-action {
  font-size: 13px;
  margin-top: 0;
}
.carousel-text-column-inner {
  padding: 25px 25px 10px;
}
.small-carousel-small-section-row .carousel-text-column {
  padding: 35px 25px 25px;
}
a.video span {
  background-size: 10%;
}
.small-carousel-large-section-row > div img,
.small-carousel-img-column > div img {
  position: static;
  max-width: 100%;
  min-height: 0;
}
.small-carousel-large-section-row .carousel-img-column-inner,
.small-carousel-large-section-row .carousel-inner,
.small-carousel-large-section-row .carousel-inner > div {
  height: 100%;
}
.small-carousel-img-column {
  padding: 0;
}
.small-carousel-small-section-row {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  margin-bottom: 20px;
  margin-left: -3px;
  margin-right: -3px;
}
/* Media queries */
@media (min-width: 640px) {
  .carousel-text-column-inner {
    padding: 35px 150px 25px 35px;
  }
  .small-carousel-small-section-row .carousel-text-column {
    padding: 45px 35px 10px;
  }
  a.video span {
    background-size: 12%;
  }
  div.carousel-bottom-column {
    padding: 25px 40px;
  }
}
@media (min-width: 768px) {
  .crop-left-20-percent {
    left: -20%;
  }
  .crop-left-40-percent {
    left: -40%;
  }
  .square-img-container {
    height: 267px;
    overflow: hidden;
    position: relative;
    width: 267px;
  }
  .small-carousel-img-column > div img {
    position: absolute;
    max-width: none;
    min-height: 100%;
  }
}
@media (min-width: 992px) {
  .carousel-subtitle {
    font-size: 17px;
  }
  .carousel-text-column {
    padding: 25px 35px 5px;
  }
  .carousel-text-column .call-to-action {
    font-size: 13px;
    margin-top: 0;
  }
  .square-img-container {
    height: auto;
    width: auto;
  }
  a.video span {
    background-size: 15%;
  }
  div.carousel-bottom-column {
    padding: 25px 40px;
  }
  div.carousel-img-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -10px;
    margin-right: -11px;
  }
  .carousel-img-container {
    height: 355px;
  }
}
@media (min-width: 1200px) {
  .carousel-subtitle {
    font-size: 20px;
  }
  .carousel-text-column {
    padding: 100px 35px 10px;
  }
  .carousel-text-column .call-to-action {
    font-size: 14px;
    margin-top: 10px;
  }
  div.carousel-bottom-column {
    padding: 25px 40px;
  }
  div.carousel-img-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -15px;
    margin-right: -15px;
  }
  .carousel-img-container {
    height: 427px;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none), (min-width: 992px) {
  /*Add your IE10+ specific styles here*/
  a.video span {
    background-size: 10%;
  }
}
@media (max-width: 1200px) {
  .carousel-text-column h4 {
    font-size: 13px;
  }
  .carousel-text-column h2 {
    font-size: 18px;
    line-height: 21px;
  }
  .carousel-subtitle {
    font-size: 15px;
    line-height: 17px;
  }
  .div.carousel-bottom-column {
    font-size: 13px;
    line-height: 17px;
  }
}