html, body {
  height: 100%;
  scroll-behavior: smooth;  /* Makes jumping to anchor links smooth */
}

body {
  font-family: "CeraGR-Regular",sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  color: #786969;
  background-color: #F5F2F2;
}

.partners {
  font-family: "futura-pt",sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  color: #3d3c3f;
  font-weight: 400;
}

.content {
    min-height: 100%;
}

.navbar {
  height: 86px;
  box-shadow: 0 2px 2px -2px rgba(0,0,0,.2);
  background-color: white;
}

.navbar-brand {
  padding-left: 50px;
}

.navbar-nav {
  padding-top: 15px;
  /*padding-left: 30px;*/
}

.navbar-right {
  padding-right: 20px;
}

.navbar-toggle span {
    background-color: black;
}

.navbar-collapse {
    background-color: white;
}


/*From https://stackoverflow.com/questions/18529274/change-navbar-color-in-twitter-bootstrap*/

/* Link */
.navbar-nav a {
  font-family: "CeraGR-Medium", sans-serif;
  font-size: 15px;
  line-height: 24px;
}

.navbar-fixed-top .navbar-nav > li > a {
    color: #3C3131;

    padding-bottom: 3px;  /* Pull underline up */
    padding-left: 0;  /* No padding otherwise line too tode -- use margin instead to space items */
    padding-right: 0;
    /*margin-right: 50px;*/
    margin-left: 40px;

}

.navbar-fixed-top .navbar-nav > li > a > img {
  /* Pull image navbar items in line with text ones */
  margin-top: -5px;
}

.navbar-fixed-top .navbar-nav > li > a > img {
  /* Pull image navbar items in line with text ones */
  margin-top: -5px;
}

.navbar-fixed-top .navbar-nav > li > a:hover,
.navbar-fixed-top .navbar-nav > li > a:focus {
  color: #FE6124;
  background-color: transparent;

}
.navbar-fixed-top .navbar-nav > .active > a,
.navbar-fixed-top .navbar-nav > .active > a:hover,
.navbar-fixed-top .navbar-nav > .active > a:focus {
    color: #FE6124;

    padding-bottom: 3px;
    padding-left: 0;
    padding-right: 0;
    /*margin-right: 50px;*/
    margin-left: 40px;

    /* Gradient underline */
    border-bottom: 2px solid transparent;
	border-image: linear-gradient(to right, #FE6124  0%, #FFDE00 100%);
	border-image-slice: 1;
}
.navbar-fixed-top .navbar-nav > .open > a,
.navbar-fixed-top .navbar-nav > .open > a:hover,
.navbar-fixed-top .navbar-nav > .open > a:focus {
    color: #FE6124;
    /*background-color: transparent;*/
}
/*!* Caret *!*/
/*.navbar-fixed-top .navbar-nav > .dropdown > a .caret {*/
    /*!*border-top-color: #777;*!*/
    /*!*border-bottom-color: #777;*!*/
  /*background-color: inherit;*/
/*}*/
/*.navbar-fixed-top .navbar-nav > .dropdown > a:hover .caret,*/
/*.navbar-fixed-top .navbar-nav > .dropdown > a:focus .caret {*/
    /*!*border-top-color: #333;*!*/
    /*!*border-bottom-color: #333;*!*/
 /*background-color: inherit;*/
/*}*/
/*.navbar-fixed-top .navbar-nav > .open > a .caret,*/
/*.navbar-fixed-top .navbar-nav > .open > a:hover .caret,*/
/*.navbar-fixed-top .navbar-nav > .open > a:focus .caret {*/
  /*background-color: inherit;*/
/*}*/


/*.navbar-default .navbar-nav li a:hover,*/
 /*.navbar-default .navbar-nav > .active > a:hover {*/
       /*background-color: initial;*/
 /*}*/




.footer {
    position:relative;
   bottom:0;
   width:100%;
    background: #FFFFFF;
   padding-top: 40px;
}

.footer-menu div {
    padding: 50px;

}

.footer-menu h3 {
    font-family: 'CeraGR-Medium', sans-serif;
    font-size: 13px;
    color: #000000;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
	border-image: linear-gradient(to right, #FE6124  0%, #FFDE00 100%);
	border-image-slice: 1;
}

.footer-menu p {
    font-family: 'CeraGR-Regular', sans-serif;
    font-size: 14px;
    color: #786969;
    line-height: 20px;
}

.footer-menu a {
    color: inherit;
}

.social-links {
  text-align: center;
  padding-bottom: 1.5rem;
}

.social-links .follow-us {
    text-transform: uppercase;
    font-family: 'CeraGR-Medium', sans-serif;
    font-size: 13px;
    color: #000000;
    letter-spacing: 1px;
    position: relative;
    top: -8px;
}

.social-links a{
    color: black;
    padding: 10px;
}

.orange-gradient-circle {
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  border-radius: 50px;
  background-image: linear-gradient(white, white), linear-gradient(to right, red, orange);
  background-origin: border-box;
  background-clip: content-box, border-box;
    vertical-align: middle;
  line-height: 54px; /* So FA icons inside are centred (height plus 2x border) */
    display: inline-block;
}

.footer-copyright {
    font-family: 'CeraGR-Regular', sans-serif;
    font-size: 12px;
    color: #A99B9B;
    text-align: center;
    line-height: 20px;

}

.footer-copyright a {
    color: inherit;
}

.page-wrap {
  min-height: 90%;
  /* equal to footer height */
  padding-bottom: 10px;
  margin-bottom: 0px;
}

.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
}

.top5 { margin-top:5px; }
.top7 { margin-top:7px; }
.top10 { margin-top:10px; }
.top15 { margin-top:15px; }
.top17 { margin-top:17px; }
.top30 { margin-top:30px; }

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/**** Hero image ****/
/*Below moved to HTML template, django needs to resolve static URL*/
/*.hero-img, #app { */
  /*background-image: url("/static/images/bg-flamingo.jpg");*/
  /*background-attachment: fixed;*/
  /*background-position: center;*/
  /*background-repeat: no-repeat;*/
  /*background-size: cover;*/
/*}*/


/*.content .hero-img {*/
  /*!*padding-bottom: 5rem;*!*/
  /*background-attachment: fixed;*/
  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
  /*background-position: calc(50% ) 50%;*/
  /*height: 90vh;*/
  /*margin-bottom: 50px;*/
  /**/
/*}*/


.is-centred {
  justify-content: center;
  margin-bottom: 1rem;
}
.is-right {
  text-align: right;
}
.is-left {
  text-align: left;
}



/* jQuery dynamic formsets */

form.multistep-form thead a.btn-primary, form.multistep-form label.formset-delete {
  display: none;
}

form.multistep-form .dynamic-formsets-delete {
  margin-top: -14px;
}

/* Stop typeahead plugin from setting own fonts and sizing */
.typeahead__container input {
  font: inherit;
  font-size: 14px;
}


.typeahead__field {
  display: block;
}

.typeahead__container label {
  font-size: 18px
}

.typeahead__list {
  font-size: 18px
}

.password-reset-link {
  text-align: center;
  font-size: 12px;
  padding-top: 10px;
}

.password-reset-link a {
  color: grey;

}


#callbackModal h4 {
    font-family: 'CeraGR-Medium', sans-serif;
    font-size: 32px;
    color: #3C3131;
    line-height: 36px;
    margin: 20px;
}

#callbackModal .submit-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -25px;
    margin-top: 25px;
    max-width: 100%;
    max-height: auto;
}

.hero-img {
/* URL set with inline style since needs to access django static files */
    background-repeat: no-repeat;
    background-position-y: -250px;
    height: 620px;
    background-size: 2016px 1345px;
}


.hero-text {
  width: 550px;
  /*height: 333px;*/
  background-color: white;
  position: absolute;
  padding: 25px;
  left: 372px;
  top: 154px;
  box-shadow: 0 1px 2px 0 rgba(194,194,194,0.35);
}

@media only screen and (max-width: 768px) {
    .social-links {
        padding-top: 10px;
    }

    .hero-img {
        background-size: 1008px 672px;
        background-position-y: -50px;
        background-position-x: 50%;
      }

      .hero-text{
        width: 90%;
        top: 400px;
        left: 5%;
        height: auto;
      }
}


.hero-buttons {
  padding-top: 15px;
}

.hero-text .rich-text > h2, .hero-text > h2 {
  font-family: CeraGR-Black;
  font-size: 54px;
  background: linear-gradient(to right, #FE6124  0%, #FFDE00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 63px;
}

.hero-text .rich-text > h3, .hero-text > h3 {
  font-family: CeraGR-Medium;
  font-size: 24px;
  color: #000000;
  line-height: 30px;
  padding-bottom: 8px;
  padding-top: 8px;
}

.hero-text .rich-text > p, .hero-text > p {
  font-family: CeraGR-Regular;
  font-size: 17px;
  color: #786969;
  line-height: 24px;
  max-width: 450px;
}

.green-underline {
    border-bottom: 2px solid transparent;
	border-image: linear-gradient(to right, #007363  0%, #FFDE00 100%);
	border-image-slice: 1;
}

.orange-underline {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #FE6124  0%, #FFDE00 100%);
    border-image-slice: 1;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}


.primary-orange-button {
    background-color: #FE6124;
    border-radius: 25px;
    box-sizing: border-box;
    display: inline-block;
    height: 50px;
    margin: 10px;
    padding: 0;
    position: relative;
    text-decoration: none !important;
    z-index: 2;
    font-family: 'CeraGR-Medium', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.primary-orange-button span {
    align-items: center;
    background: #FE6124;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    height: 100%;
    transition: background .5s ease;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

.secondary-orange-button {
    background-color: #FE6124;
    border-radius: 25px;
    box-sizing: border-box;
    display: inline-block;
    height: 50px;
    margin: 10px;
    padding: 2px;
    position: relative;
    text-decoration: none !important;
    z-index: 2;
    font-family: 'CeraGR-Medium', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    color: black;
    letter-spacing: 1px;
}

.secondary-orange-button span {
    align-items: center;
    background: white;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    height: 100%;
    transition: background .5s ease;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

.blog-tag-list {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.rich-text > h4 {
    font-family: 'CeraGR-Medium', sans-serif;
    font-size: 36px;
    color: #3C3131;
    /*text-align: center;*/
    line-height: 38px;
}


.rich-text > h4 > i {
    /* See .orange-underline */
    border-bottom: 2px solid transparent;
	border-image: linear-gradient(to right, #FE6124  0%, #FFDE00 100%);
	border-image-slice: 1;
    font-style: normal;
}

.impact-panel {
  background-color: #FFFFFF;
  position: relative;
  /*top: 100px;*/
  width: 100%;
  height: auto;
}

.impact-panel h1 {
  font-size: 38px;
  font-family: 'CeraGR-Medium', sans-serif;
  color: #3C3131;
  text-align: center;
  line-height: 38px;
  padding-top: 100px;
  padding-bottom: 50px;

}

.impact-panel p {
  font-family: 'CeraGR-Regular', sans-serif;
  font-size: 16px;
  color: #786969;
  text-align: center;
  line-height: 22px;
  padding-bottom: 50px;
}

.impact-panel  h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(to right, #FE6124  0%, #FFDE00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 38px;
}

.impact-panel a {
  justify-content: center;
}

.impact-panel img, .impact-panel svg {
  display: block;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .hover-dropdown:hover .dropdown-menu {
    display: block;
  }
}