/*
  Theme Name: CSJ Theme
  Author: Seb Jagoe
  Author URI: https://sebjagoe.com/
  Description: A custom theme built for CSJ.
  Version: 1.0
*/

:root {
  --dark-color: #f0f4e8;
  --grey-color: #3b4d48;
  --light-color: #253334;
  --accent-color: #7C9A92;
  --orange: #CC632C;
  --orange2: #d88a5f;
  --accent-color2: #C2CAB3;
  --padding-horizontal: 10%;
}
/* :root {
  --dark-color: #183b3b;
  --grey-color: #F5E1C5;
  --light-color: #fff2df;
  --accent-color: #5b918f;
  --accent-color2: #CC632C;
  --padding-horizontal: 10%;
} */

html, body {
  color: var(--dark-color);
  background-color: var(--light-color);
  font-family: "Lato";
  overflow-x: hidden !important;
}

h1 {
  font-family: 'Krona One', sans-serif;
  color: var(--accent-color2)
}

h2 {
  font-family: "Playfair";
}

hr {
  border: 1px solid var(--accent-color2);
  opacity: 0.6;
}

p {
  letter-spacing: 0.02rem;
}

a, a:visited {
  color: var(--orange);
  transition: 0.2s;
}

a:hover, a:focus, a:active {
  text-decoration: none;
  color: var(--orange2);
}

.container-fluid {
  padding: 0 20%;
}

.padding {
  padding: 7% 20%;
}

#title-section {
  padding: calc(6% + 40px) 20% 7% 20%;
}

.content {
  padding: 5% 20%;
}

.padding-10 {
  padding: 10px;
}

/* NAVBAR */
nav a {
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

nav a:hover, nav a:focus, nav a:active {
  color: var(--accent-color) !important;
}

.dropdown-item:active {
  background-color: var(--accent-color2);
}

.donate-link {
  background-color: var(--orange) !important;
  border: 2px solid var(--orange) !important;
}
.donate-link:hover, .donate-link:active, .donate-link:focus {
  background-color: var(--orange2) !important;
  color: var(--dark-color) !important;
  border: 2px solid var(--orange2) !important;
}

@media (min-width: 992px){
  .navbar li {
      margin-left : 1em;
      margin-right : 1em;
  }
}

.card {
  background-color: var(--grey-color);
  color: var(--dark-color);
  transition: 0.3s ease-in-out;
  margin: 10px;
}

.card:hover, .card:active {
  background-color: var(--grey-color);
}

.card-horizontal {
  display: flex;
  flex: 1 1 auto;
}

.category {
  position: relative;
  float: right;
}

.card ul {
  list-style: none;
}

/* LANDING PAGE */
#hero h1 {
  color: var(--dark-color)
}

#hero h2 {
  line-height: 2rem;
  font-size: 1rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}

#hero .card {
  position: relative;
  top: -80px;
  z-index: 99;
  transform: rotate(4deg);
  margin: 30px;
}

#hero .card p {
  font-size: 0.8rem;
}

#hero::before {    
  content: "";
  background-image: url(images/svg4.svg);
  background-size: 900px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.2;
}

.hero-image {
  display: none;
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
  transform: rotate(90deg);
  opacity: 0.4;
}

/* BTN button */
.btn, .mailpoet_submit {
  background-color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 7px 30px;
  transition: 0.2s ease-in-out;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  color: var(--dark-color) !important;
}

.btn:hover, .btn:focus, .btn:active, .mailpoet_submit:hover {
  background-color: var(--accent-color2);
  border: 2px solid var(--accent-color2);
}

.btn-outline, .mailpoet_submit {
  background-color: var(--grey-color);
  border: 2px solid var(--accent-color2);
  color: var(--accent-color2);
}

/* SECTIONS */
.section-dark {
  background-color: var(--dark-color);
  color: var(--light-color);
}

.section-light {
  background-color: var(--light-color);
  color: var(--dark-color);
}

.section2 {
  background-color: var(--grey-color);
}

/* FOOTER */
footer .row {
  padding: 50px;
}
footer .container-fluid {
  padding: 0 4%;
}

/* PROJECTS */
.projects {
  background-color: var(--dark-color);
  color: var(--light-color);
  border: 2px solid var(--accent-color);
  margin: 20px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}

/* NEWS */
.news-container {
  background-color: var(--grey-color);
}

/* THUMBNAIL IMAGE FEATURED IMAGE */
.wp-post-image {
  width: 100%;
  height: auto;
}

/* CATEGORY PROJECTS */
.project-container {
  border: 2px solid black;
}

.issues-section .card {
  height: 100%;
}

.issues-section {
  padding: 10px;
}

/* MOBILE NAVBAR */
.offcanvas-header{ display:none; }
.screen-overlay {
  height: 100%;
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  opacity:0;
  visibility:hidden;
  background-color: rgba(34, 34, 34, 0.6);
  transition:opacity .2s linear, visibility .1s, width 1s ease-in;
}
.screen-overlay.show {
  transition:opacity .5s ease, width 0s;
  opacity:1;
  width:100%;
  visibility:visible;
}

#navbar_main {
  background-color: var(--light-color) !important;
  padding-left: 30px;
  padding-right: 30px;
}

.nav-link, .navbar-brand{
  color: var(--dark-color) !important;
}
	
@media all and (max-width:992px) { 

 .offcanvas-header{ display:block; }
 
 .mobile-offcanvas{
    visibility: hidden;
    transform:translateX(-100%);
    border-radius:0; 
    display:block;
    position: fixed;
    top: 0; left:0;
    height: 100%;
    z-index: 1200;
    width:80%;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: visibility .2s ease-in-out, transform .2s ease-in-out;
  }

  .mobile-offcanvas.show{
    visibility: visible;
    transform: translateX(0);
  }
}

/* HIDE MOBILE */

@media only screen and (max-width: 992px) {
  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block !important;
  }
}

.show-mobile {
  display: none;
}


.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  margin: 10px;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Contact FORM */
form {
  color: var(--dark-color);
  text-align: center !important;
  padding: 20px;
  width: 100%;
  max-width: 800px;
}

form input {
  background-color: var(--dark-color);
  width: 100%;
  max-width: 700px;
  margin: auto;
  padding: 10px 10px;
  display: block;
}


/* LANDING PAGE */

@media only screen and (max-width: 992px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }

  #hero h2 {
    line-height: 1.2rem;
  }
}

.svg-landing-page {
  position: absolute;
}

.svg1 {
  width: 340px;
  top: -100px;
  left: 300px;
}
.svg12 {
  width: 100px;
  top: 20%;
  left: 10%;
}
.svg2 {
  width: 440px;
  top: -200px;
  left: 200px;
}

.svg-blob {
  width: 700px;
  top: -200px;
  left: 150px;
}

.event-page-blob {
  width: 80%;
  top: -200px;
}

.col-6-image {
  width: 60%;
  max-height: 600px;
}

.pagination {
  justify-content: center;
  
}

.page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}

footer p {
  line-height: 0.9rem !important;
}

.logo {
  width: 100%;
  padding-left: 30px;
  max-width: 300px;
}

@media (max-width: 992px) {
  .logo {
    padding-left: 0px;
    padding-bottom: 20px;
  }
}

nav .logo {
  width: 200px;
}

.svg {
  fill: red;
}

/* DONATE */
.IATS_ContentDiv {
  background-color: var(--grey-color);
  color: var(--dark-color);
  padding: 30px;
}
.IATS_Div {
  background-color: var(--bg-color) !important;
}

#IATS_PaymentBoxDiv {
  width: 100% !important;
}
.IATS_EventTitle, .IATS_AmountSectionTitle, .IATS_PaymentSectionTitle,.IATS_SocialMediaDiv a, .IATS_RadioPaymentLabel {
  color: var(--dark-color) !important;
}

#IATS_Payment_ShareLinkDiv {
  display: none;
}

.IATS_TitleSelectBoxOptionContainer {
  background-color: var(--grey-color) !important;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .text-justify-sm {
      text-align: left !important;
  }
}

ul {
  padding-left: 0;
}

.contact-section ul {
  list-style: none;
}

.list-style li {
  list-style: disc;
  padding-left: 10px;
}
li {
  list-style: none;
  padding-left: 10px;
}
.list-style ul {
  padding-left: 30px;
}


ul li {
  padding-bottom: 1rem;
}

/* MAILPOET FORM */

.mailpoet_form, .mailpoet_text, form {
  background-color: var(--accent-color);
  border-radius: 4px !important;
  margin: 10px;
  text-align: left;
}

#mailpoet_form_1 {
  max-width: 400px;
}
.mailpoet_text, form input {
  background-color: var(--grey-color);
  color: var(--dark-color);
  border: 2px solid var(--accent-color2);
}
.mailpoet_text:focus, form input:focus {
  background-color: var(--grey-color);
  color: var(--dark-color)
}

/* // Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) { 
  .container-fluid {
    padding: 0 8%;
  }
  
  .padding {
    padding: 10% 10%;
  }
  
  .content {
    padding: 5% 10%;
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
}