/* ==========================================================================
   Investment Testimonial Quote Module
   Prefix: rc-invest-quote-
   ========================================================================== */

/* --------------------------------------------------------------------------
   Main Container with Parallax Background
   -------------------------------------------------------------------------- */
.rc-invest-quote {
  position: relative;
  background-color: #2c3e50;
  background-attachment: fixed;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0;
  color: #ffffff;
}

.rc-invest-quote__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------------------------------------------------------
   Two-Column Row Layout
   -------------------------------------------------------------------------- */
.rc-invest-quote__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.rc-invest-quote__details {
  flex: 0 0 30%%;
  max-width: 30%;
  padding-right: 30px;
}

.rc-invest-quote__quote-wrap {
  flex: 0 0 58.33333%;
  max-width: 58.33333%;
  padding-left: 30px;
}

/* --------------------------------------------------------------------------
   Investment Details List (Definition List)
   -------------------------------------------------------------------------- */
.rc-invest-quote__list {
  margin: 0;
  padding: 0;
  text-align: right;
}

.rc-invest-quote__list dt {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  display: inline;
  margin: 0;
}

.rc-invest-quote__list dt::after {
  content: ": ";
}

.rc-invest-quote__list dd {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  display: inline;
  margin: 0 0 8px 0;
}

.rc-invest-quote__list dd::after {
  content: "";
  display: block;
}

.rc-invest-quote__list dd:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Blockquote & Citation
   -------------------------------------------------------------------------- */
.rc-invest-quote__blockquote {
  margin: 0;
  padding: 0;
  padding-left: 40px;
  border-left: 8px solid #ffffff;
}

.rc-invest-quote__blockquote q {
  display: block;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3333333;
  margin: 0 0 20px 0;
  quotes: """ """ "'" "'";
}

.rc-invest-quote__blockquote q::before {
  content: open-quote;
}

.rc-invest-quote__blockquote q::after {
  content: close-quote;
}

.rc-invest-quote__blockquote cite {
  display: block;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive - Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .rc-invest-quote {
    padding: 50px 0;
  }
  
  .rc-invest-quote__details {
    flex: 0 0 40%;
    max-width: 40%;
  }
  
  .rc-invest-quote__quote-wrap {
    flex: 0 0 60%;
    max-width: 60%;
  }
  
  .rc-invest-quote__blockquote {
    padding-left: 30px;
    border-left-width: 10px;
  }
  
  .rc-invest-quote__blockquote q {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   Responsive - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rc-invest-quote {
    background-attachment: scroll;
    padding: 40px 0;
  }
  
  .rc-invest-quote__row {
    flex-direction: column;
  }
  
  .rc-invest-quote__details {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 25px;
    margin-bottom: 25px;
  }
  
  .rc-invest-quote__list {
    text-align: left;
  }
  
  .rc-invest-quote__quote-wrap {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
  }
  
  .rc-invest-quote__blockquote {
    padding-left: 25px;
    border-left-width: 8px;
  }
  
  .rc-invest-quote__blockquote q {
    font-size: 20px;
  }
  
  .rc-invest-quote__blockquote cite {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .rc-invest-quote {
    padding: 30px 0;
  }
  
  .rc-invest-quote__blockquote {
    padding-left: 20px;
    border-left-width: 6px;
  }
  
  .rc-invest-quote__blockquote q {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   iOS Safari Fix for Fixed Background
   -------------------------------------------------------------------------- */
@supports (-webkit-touch-callout: none) {
  .rc-invest-quote {
    background-attachment: scroll;
  }
}