
/*----------------------------------------------------------------
HERO
----------------------------------------------------------------*/

#hero .carousel {
  height: 500px;
  overflow: hidden;
}
#hero .carousel img {
  height: 800px;
  position: relative;
}
#hero .carousel-caption {
  text-align: left;
}

#hero .carousel-caption h3 {
  color: white;
  text-shadow: black 1px 1px 2px;
  line-height: 43px;
  font-size: 42px !important;
  font-weight: 700;
  margin-bottom: 10px;
  background-color: #000000a8;
  padding: 20px;
  width: fit-content;
}
.btn-hero {
  background-color: #202F64 !important;
  color: white;
  border-radius: 0;
  padding: 10px 20px;
  max-width: 200px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  width: 200px;
  margin-top: 10px;
}
#hero .carousel-inner,
#hero .carousel-item {
  height: 500px;
}
#hero .carousel-item {
  width: 100vw;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/*----------------------------------------------------------------
QUOTE
----------------------------------------------------------------*/
#quote {
  position: relative;
  height: 113px;
  background-color: #323232;
  color: white;
}
#quote p {
  margin: 0;
  padding: 0 20px;
  color: white;
}
.quote {
  margin-bottom: 10px !important;
  font-size: 25px;
  font-style: italic;
  display: block;
  font-weight: 300;
  font-weight: light;
}

.quote-auth {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: bold;
}
.quote-wrap {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
/* ----------------------------------------------------------------
INTRO
---------------------------------------------------------------- */
#intro .desktop {
  /* height: 350px; */
  background-size: cover;
}
#intro {
  padding: 30px 0;
  /* height: 410px !important; */
  height: auto;
  display: flex !important;
}
#intro .text {
  display: flex !important;
  justify-content: center;
  padding: 0 122px 0px 40px;
}
#intro .btn-blue {
  max-width: 300px;
  padding: 15px 20px;
}
#intro p {
  padding-right: 0px;
}
/* ----------------------------------------------------------------
JOIN
---------------------------------------------------------------- */
#join {
  padding: 100px 0px 40px;
}
a.btn.btn-danger.btn-member {
  box-shadow: none !important;
}
#join .img {
  position: relative;
  height: 200px;
  background-position: center;
  background-size: cover;
  background-image: url("/wp-content/themes/cwo/img/home/placeholder1.jpg");
}

#join .right .img::after,
#join .left .img::after {
  content: "Donate to The CWO";
  position: absolute;
  top: -20px;
  left: -10px;
  background: #00AEBE;
  color: white;
  padding: 0 20px;
  line-height: 39px;
  font-size: 20px;
}
#join .left .img::after {
  content: "Register to join CWO";
}
#join p {
  margin-top: 10px;
}
#join a {
  margin: 20px auto;
  text-align: center;
  display: block;
  max-width: 300px;
  padding: 15px 20px;
}
#join h2 {
  margin-bottom: 60px !important;
}
/* ----------------------------------------------------------------
POSTS
---------------------------------------------------------------- */
#posts .card img {
  width: 100%;
  height: auto;
  /* max-height: 220px; */
}
#posts .card .card-header {
  padding: 0 !important;
  border: 1px solid rgba(0,0,0,.125) !important;
}
#posts {
  padding: 60px;
  background: #f2f2f2;
}
#posts .card::before {
  content: "Article";
  font-size: 14px;
  line-height: 20px;
  position: absolute;
  top: 10px;
  left: -10px;
  background: #00AEBE;
  color: white;
  padding: 7px 10px;
}
#posts .card h3 {
  font-size: 18px;
  line-height: 25px;
  font-weight: bold;
  text-align: left;
}
#posts .card h3 span {
  font-size: 16px;
  font-weight: bold;
  /* margin-left: 20px; */
}
#posts .card h3 a {
  color: #202F64;
}
#posts .card p {
  text-align: left;
}
#posts .card .more {
  text-align: right;
  font-weight: bold;
}
#posts .card .more a {
  color: #202F64 !important;
}
#posts .card-body {
  padding-bottom: 0 !important;
}
.btn-morepost {
  width: 300px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 15px 70px;
  border-radius: 0;
  margin-top: 35px;
}
.btn-morepost:hover {
  color: white;
  opacity: 0.9;
}
/* -----------------------------------------------------------------
EVENT
----------------------------------------------------------------- */
#event {
  padding: 60px 0;
}
#event img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0,0,0,.125) !important;
}
#event .card .col-5,
#event .card .card-body {
  padding: 0 !important;
}
#event .card {
  margin-bottom: 20px;
  background-color: #f2f2f2;
  border: none;
  position: relative;
}
#event h2 {
  margin-bottom: 40px;
}
#event h3 {
  margin-top: 15px !important;
  font-size: 21px;
}
#event .category {
  display: inline-block;
  background-color: #00AEBE;
  color: white;
  padding: 5px;
  position: relative;
}
#event .category a {
  color: white;
  pointer-events: none;
}
#event .col-lg-8 {
  padding: 20px 0;
}
#event .category span {
  position: absolute;
  color: black;
  top: 50%;
  transform: translatey(-50%);
  right: -140px;
  font-weight: bold;
}
#event h3 a {
  color: #202F64;
}
#event .btn-blue {
  position: absolute;
  right: 15px;
  bottom: 0;
  width: 200px;
  padding: 10px 15px;
}
#event .date {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #333 !important;
  font-family: "Roboto", sans-serif;
}
#event .card p {
  padding-right: 50px;
}
/*------------------------------------------------------------------
NEWSLETTER
------------------------------------------------------------------*/
#newsletter {
  background: #f2f2f2;
  padding: 50px 0;
  position: relative;
}
#newsletter p {
  margin-bottom: 30px;
}
#newsletter form {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#newsletter .col-md-3 {
  position: relative;
  padding: 0 5px !important;
}
#newsletter input {
  width: 100%;
  border-radius: 0;
}
#newsletter button {
  width: 200px;
}
#newsletter .button {
  text-align: left !important;
}
/* ----------------------------------------------------------------
RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1500px) {
  #intro p {
    padding-right: 0 !important;
  }
}
@media (max-width: 767.99px){
#intro .text {
    padding: 0 20px 0px 20px;
}
}
@media (max-width: 1300px) {
  #intro .text {
    padding: 0 20px 0px 20px;
  }
}
@media (max-width: 1200px) {
  #event .col-8 {
    padding: 20px 10px;
  }
}
@media (max-width: 991px) {
  #hero .carousel-caption {
    width: 100% !important;
    padding: 0 20px;
  }
  #hero .carousel-caption {
    left: 50%;
    transform: translatex(-50%);
  }
  #intro .desktop {
    height: auto;
    min-height: 450px;
  }
  #event img {
    height: 100%;
  }
  #event p {
    font-size: 14px;
    padding-bottom: 12px;
  }
  #event .excerpt {
    padding: 0 !important;
  }
  #event .col-7 {
    padding: 10px;
  }
}
@media (max-width: 906px) {
  #quote {
    height: 150px;
  }
}
@media (max-width: 767px) {
  #hero .carousel-caption {
    width: 100% !important;
    padding: 0 20px;
  }
  #hero .carousel-caption {
    left: 50%;
    transform: translatex(-50%);
  }
  #hero .carousel {
    height: 300px;
    overflow: hidden;
  }
  #hero .carousel-inner,
  #hero .carousel-item {
    height: 300px;
  }
  #hero .carousel img {
    height: 500px;
    position: relative;
  }
  #hero .carousel-caption h3 {
    text-shadow: black 1px 1px 2px;
    line-height: 27px;
    font-size: 26px !important;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  section#join .col-sm-12.right {
    margin: 3rem 0 0;
}
  #join {
    padding: 140px 0px 80px;
  }
  #posts .card {
    margin-bottom: 20px;
  }
  #event .card-body .col-md-7 {
    padding: 10px 30px;
  }
  #newsletter .col-md-3 {
    margin-bottom: 10px !important;
  }
  #newsletter .button {
    text-align: center !important;
  }
}
@media (max-width: 767.999px) {
  #join {
    padding: 40px 0px 80px;
  }
}
/* @media (max-width: 594px) {
  #join {
    padding: 220px 0px 80px;
  }
} */
@media (max-width: 575px) {
  .desktop {
    display: none;
  }
  #intro h2 {
    font-size: 26px;
  }
  #intro p {
    font-size: 15px;
  }
  #intro {
    text-align: center;
    height: auto !important;
  }
  #intro a {
    margin: 30px auto;
    width: 300px;
  }
  #join {
    padding: 0px 0px 20px;
  }
  #join h2 {
    font-size: 26px;
  }
  #join .inner-wrap {
    margin-bottom: 70px;
  }

  #posts {
    /* padding: 60px 0; */
    padding: 0px 0 40px;
  }
  #newsletter .col-md-3 {
    padding: 0 40px !important;
  }
}
@media (max-width: 491px) {
  #quote {
    height: 170px;
  }
  .quote {
    font-size: 22px !important;
  }
}
@media (max-width: 479px) {
  #hero .carousel-caption {
    text-align: center;
  }
  .btn-morepost,
  .btn-blue {
    max-width: 200px !important;
  }
  #newsletter h2 {
    font-size: 26px;
  }
  #newsletter button {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 330px) {
  #quote p {
    font-size: 16px;
  }
}
