/*
  Theme Name:   Tackling The Blues
  Theme URI:  http://sites.edgehill.ac.uk/tacklingtheblues
  Description:  Stackable Child Theme
  Author:   Chris Lomas
  Author URI:   http://www.edgehill.ac.uk
  Template:   stackable
  Version:  1.0.0
  License:  GNU General Public License v2 or later
  License URI:  http://www.gnu.org/licenses/gpl-2.0.html
  Tags:   light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
  Text Domain:  edgehill
*/

/*==========================================================================
HOME
==========================================================================*/
:root {
  --text: #575756;
  --white: #ffffff;
  --blue: #0a54a1;
  --grey: #e1e1e1;
  --lightgrey: #f5f5f5;
  --light-blue: #a6ddf5;
  --lightblue: #a6ddf5;
  --midblue: #009fe3;
  --yellow: #f4ab2d;
  --lightgreen: #dff0ee;
  --green: #2a9d8f;
  --lightred: #f3b7a8;
  --red: #e76f51;
  --sand: #fbddab;
  --darksand: #e8ad4a;
  --lightyellow: #fdeed5;
}
/*==========================================================================
RESET
==========================================================================*/
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
/*==========================================================================
GENERAL
==========================================================================*/
body {
  background: var(--white);
  color: var(--text);
  font: 16px/1.8 'Public Sans', sans-serif;
  margin:0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 1240px;
  width:100%;
  margin: 50px auto 30px auto;
}
.container-block {
  max-width: 1240px;
  width:100%;
  margin:30px auto;
}
.inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}
blockquote {
  font-size: inherit;
  font-style: unset;
  line-height: 1.2;
  margin-bottom: 1.875rem;
  padding-left: 1.875rem;
  border-left-width: 0;
  border: none;
}
/*==========================================================================
HOME
==========================================================================*/
.hero {
  height:600px;
  width: 100%;
  position: relative;
}
.inner-hero {
  height: 500px;
  width: 100%;
  position: relative;
}
.light-blue-hero:before,
.blue-hero:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 500px;
}
.blue-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blue);
  width: 100%;
  padding: 30px 0;
}
.light-blue-bar {
  background: var(--midblue);
}
.yellow-bar {
  background: var(--yellow);
}
.red-bar {
  background: var(--red);
}
.yellow-hero:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 500px;
}
.red-hero:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 500px;
}
.green-bar {
  background: var(--green);
}
.green-hero:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 500px;
}
.blue-bar h1 {
  color: var(--white);
  margin: 0;
  font-size: 25px;
  max-width: 900px;
}
.white-block {
  position: relative;
  background: var(--white);
  margin: 0 auto;
  padding: 50px 0;
}
.grey-block {
  position: relative;
  background: var(--lightgrey);
  margin: 0 auto;
  padding: 50px 0;
}
.four-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  justify-items: stretch;
  align-items: initial;
  margin: 30px auto;
}
.four-col img {
  display: block;
  margin: 0;
  width: 100%;
  height: auto;
}
.four-col {
  transition: all 0.3s ease-in-out;
}
.four-col:hover {
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}
.four-content {
  position: relative;
  padding: 60px 20px;
  color: var(--white);
  height: 160px;
}
.four-content:before {
  content: "";
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top:  1%;
  bottom: 1%;
  left: 0;
  right: 0;
  height: 98%;
  width: 100%;
}
.four-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.four-content h5 {
  font-weight: 400;
  margin: 0;
  color: var(--white);
}
.dark-blue-section h2 {
  color: var(--blue);
}
.dark-blue-section .four-content {
  background-color: var(--blue);
}
.blue-section h2 {
  color: var(--blue);
}
.blue-section .four-content {
  background-color: var(--midblue);
}
.yellow-section h2 {
  color: var(--yellow);
}
.yellow-section .four-content {
  background-color: var(--yellow);
}
.green-section h2 {
  color: var(--green);
}
.green-section .four-content {
  background-color: var(--green);
}
.red-section h2 {
  color: var(--red);
}
.red-section .four-content {
  background-color: var(--red);
}
.logo-block {
  border-top: 3px solid var(--grey);
  border-bottom: 3px solid var(--grey);

}
.logo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-items: stretch;
  align-items: center;
  margin: 30px auto;
}
.logo-grid img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
}
.breadcrumbs {
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 30px 0;
}
.breadcrumbs a {
  color:var(--text);
}
.two-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  justify-items: stretch;
  align-items: initial;
  margin: 50px auto;
}
.three-col iframe,
.one-col iframe,
.two-col iframe {
  display: block;
  margin: 0 0 20px 0;
}
.three-col h4,
.one-col h4,
.two-col h4 {
  display: block;
  color: var(--midblue);
  margin: 20px 0 10px 0;
}
.three-col p,
.one-col p,
.two-col p {
  margin: 0;
}
.light-blue-block {
  padding: 75px 0;
  background: var(--lightblue);
  margin: 0 0 -5px 0;
  z-index: 99;
  position: relative;
}
.light-blue-block .four-col {
  transition: all 0.3s ease-in-out;
  background:var(--midblue);
}
.blue-block {
  padding: 75px 0;
  background: var(--midblue);
  margin: 0 0 -5px 0;
  z-index: 99;
  position: relative;
}
.yellow-block .four-col {
  background: var(--yellow);
  color: var(--white);
}
.lightblue-block .four-col {
  background: var(--midblue);
  color: var(--white);
}
.green-block .four-col {
  background: var(--green);
  color: var(--white);
}
.green-block .four-content,
.yellow-block .four-content,
.lightblue-block .four-content {
  padding: 30px;
}
.green-block .four-col h5,
.yellow-block .four-col h5,
.lightblue-block .four-col h5 {
  color: var(--white);
}
.green-block {
  padding: 75px 0;
  background: var(--lightgreen);
  margin: 0 0 -5px 0;
  z-index: 99;
  position: relative;
}
.yellow-block {
  padding: 75px 0;
  background: var(--lightyellow);
  margin: 0 0 -5px 0;
  z-index: 99;
  position: relative;
}
.three-grid {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  justify-items: stretch;
  align-items: initial;
  margin: 0 auto;
}
.col-count-2 {
  grid-template-columns: 1fr 1fr;
}
.col-count-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.col-count-4 {
  grid-template-columns:  1fr 1fr 1fr 1fr;
}
.yellow-title {
  color: var(--yellow)!important;
}
.green-title {
  color: var(--green)!important;
}
.red-title {
  color: var(--red)!important;
}
.light-blue-title {
  color: var(--midblue)!important;
}
.journey-slider {
  padding: 0 50px;
}
.journey-slide {
  max-width: 1140px;
  padding: 0 50px;
  text-align: center;
}
.journey-slide img {
  display: block;
  text-align: center;
}
.journey-slide p {
  margin: 10px 0 0 0;
}
.container ul {
  display: block;
  margin: 30px;
  list-style: none;
}
.container li {
  list-style: none;
}
.container li::before {
  content: "•";
  font-size: 20px;
  margin: 0 10px 0 -15px;
  color: var(--yellow);
}
.icon-block {
  max-width: 1140px;
  padding: 50px 0;
  margin: 50px auto;
}
.icon-block .three-grid {
  max-width: 900px;
  text-align: center;
}
.icon-block p {
  margin: 0;
}
.icon-block h5 {
  color: var(--yellow);
  font-size: 22px;
  margin: 10px 0 0 0;
}
.two-grid-alt {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  justify-items: stretch;
  align-items: center;
  margin: 0 auto;
}
.three-grid-alt {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  justify-items: stretch;
}
.blog-block {
  margin: 60px auto;
  max-width: 900px;
}
.pink-button  {
  color:var(--blue)!important;
}
.news-item a {
  color:var(--text);
}
.news-item {
  transition: all 0.3s ease-in-out;
}
.news-item:hover {
  opacity:0.6;
  transition: all 0.3s ease-in-out;
}
ul {
  margin:30px;
  list-style:disc;
}
.nav-wrapper ul {
  margin:0;
  list-style:none;
}
/*==========================================================================
accordion
==========================================================================*/
.accordion-section .fa,
.accordion-section .fab,
.accordion-section .fal,
.accordion-section .far,
.accordion-section .fas {
  line-height: 2!important;
}
.accordion-container {
  width: 100%;
  display: block;
}
.accordion {
  position: relative;
  cursor: pointer;
  color: var(--white);
  margin: 2px 0 0 0;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease-in;
  padding: 10px 20px;
  background: var(--green);
  display: block;
}
.accordion:hover {
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}
.accordion:after {
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  content: "\f078";
  position: relative;
  color: var(--text);
  float: right;
  display: inline-block;
  padding: 0 0 0 10px;
}
.content {
  padding: 20px;
  background: var(--lightgreen);
  display: none;
}
.content:first-of-type {
  display: block;
}
.less::after {
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  color: var(--white);
  content: "\f077";
}
.acc-grid {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  justify-items: stretch;
  align-items: initial;
  margin: 0;
}

.light-blue-accordion-container .accordion {background: var(--midblue);}
.light-blue-accordion-container .content {background: var(--lightblue);}
.blue-accordion-container .accordion {background: var(--midblue);}
.blue-accordion-container .content {background: var(--lightblue);}

.yellow-accordion-container .accordion {background: var(--yellow);}
.yellow-accordion-container .content {background: var(--sand);}

.red-accordion-container .accordion {background: var(--red);}
.red-accordion-container .content {background: var(--lightred);}
.green-accordion-container .accordion {background: var(--green);}
.green-accordion-container .content {background: var(--lightgreen);}

/*==========================================================================
FOOTER
==========================================================================*/
footer {
  padding: 50px 0;
  text-align: center;
  font-size: 14px;
}

footer ul {
  list-style: none;
}
footer li {
  display: inline-block;
  margin: 0 20px;
}
/*==========================================================================
ANIMATION
==========================================================================*/
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInRight {
  from {
  opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.fadeInUp {
  opacity: 1;
  -webkit-animation-duration:0.5s;
  animation-duration: 0.5s;
  --animate-delay:0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
.fadeInLeft {
  opacity: 1;
  -webkit-animation-duration:0.5s;
  animation-duration: 0.5s;
  --animate-delay:0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}
.fadeInRight {
  opacity: 1;
  -webkit-animation-duration:0.5s;
  animation-duration: 0.5s;
  --animate-delay:0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}
.fadeIn {
  opacity: 1;
  animation-name: fadeIn;
  -webkit-animation-duration: 2s;
  animation-duration:  2s;
  --animate-delay:0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.delay {
  -webkit-animation-duration:1.5s;
  animation-duration: 1.5s;
  --animate-delay:1.5s;
}
.delay2 {
  -webkit-animation-duration:1.0s;
  animation-duration: 1.0s;
  --animate-delay:1.0s;
}
.delay3 {
  -webkit-animation-duration:0.75s;
  animation-duration: 0.75s;
  --animate-delay:0.75s;
}
/*==========================================================================
MEDIA QUERIES
==========================================================================*/
@media screen and (max-width: 900px) {
  .logo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .four-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .search-div {
    display: none;
  }
  .mob-show {
    display: inline-block;
  }
  .blue-bar h1 {
    font-size: 20px;
    line-height: 30px;
  }
  header .inner {
    padding: 0 20px;
  }
  .hero {
    height: 500px;
  }
  footer li {
    display: inline-block;
    margin: 0 10px;
  }
  .three-grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }
  .two-grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }
  .acc-grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
}

@media screen and (max-width: 640px) {
  .two-grid-alt,
  .three-grid-alt {
    grid-template-columns: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
}
@media screen and (max-width: 524px) {
  .social {
    display: none;
  }
  header {
    padding: 5px 0;
  }
  .four-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: 1fr 1fr; 
  }
}
@media screen and (max-width: 320px) {
  .container {
    min-width: 240px;
    width: 100%;
  }
}
