/*
 Theme Name:     next100years
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    next100years
 Author:         Nuno Sarmento
 Author URI:     https://www.nuno-sarmento.com
 Template:       Divi
 Version:        1.0.1
*/
/* Please NOTE - I heritage the css style below and added to the child theme that I created. I try to tidy up as much as I cloud/time reserverd */
/* =Theme customization starts here
 *
 * 1 - Typograpy
 * 2 - Forms
 * 3 - Layout
 * 4 - Header & Menu
 * 5 - Footer
 * 6 - Pages
 * 7 - Media CSS
 *
------------------------------------------------------- */
/*
* 1 - Typograpy
*/
a {
  color: #ff0005;
}

h1 {
  font-size: 44px;
  font-weight: normal;
  color: #ed0000;
  line-height: 50px;
}

h2 {
  font-size: 44px;
  font-weight: normal;
  color: #ed0000;
  line-height: 50px;
}

li ul, li ol {
  margin-left: 20px;
  padding-bottom: 0px !important;
}

p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}

.btn-regular {
  min-width: 200px;
}

.head-black h1, .head-black h2, .head-black h3 {
  font-weight: 900 !important;
}

.head-black h3 {
  font-weight: 700 !important;
}

/*
* 2 - Forms
*/
::-webkit-input-placeholder {
  /* Edge */
  color: #000;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #000;
}

::placeholder {
  color: #000;
}

/* Contact form 7 styles */
.wpcf7 input.text,
.wpcf7 input.title,
.wpcf7 input[type=email],
.wpcf7 input[type=password],
.wpcf7 input[type=tel],
.wpcf7 input[type=text],
.wpcf7 select, textarea,
.wpcf7-form-control {
  padding: 12px 15px !important;
  border: none !important;
  color: #000 !important;
  margin-bottom: 16px !important;
  font-size: 16px !important;
  background-color: #fafbfa !important;
  width: 100% !important;
}

.wpcf7 input[type="submit"] {
  color: #ffffff !important;
  border-width: 0px !important;
  border-radius: 0px;
  font-size: 16px;
  background-color: #ff0006 !important;
  font-weight: 500;
  padding: 14px 15px;
  width: auto;
  cursor: pointer;
  width: 100%;
  margin-top: 0px;
}

#main-footer .wpcf7 input[type="submit"] {
  margin-top: -20px;
}

.wpcf7-list-item-label {
  text-transform: none;
  font-size: 14px;
}

.wpcf7-form a {
  color: #000 !important;
  text-decoration: underline;
  font-weight: 700;
}

.wpcf7-file {
  font-size: 13px;
}

.grecaptcha-badge {
  visibility: collapse !important;
}

div#wpcf7-f192-o1 input.wpcf7-form-control.wpcf7-submit {
  background-color: #000 !important;
}

div#wpcf7-f192-o1 .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors,
div#wpcf7-f192-o1 span.wpcf7-not-valid-tip {
  color: #fff !important;
}

div#wpcf7-f55-o2 input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email,
div#wpcf7-f55-o3 input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email{
    font-size: 13px !important;
}

input {
  border-radius: 0 !important;
}

.wpcf7-form-control-signature-wrap {
  position: relative;
  border: 1px solid;
  border-color: #b3b2b2;
  width: 100% !important;
}

input#wpcf7_signature_clear {
  padding: 10px 20px 10px 20px;
  margin-top: 20px;
}

#wpcf7-f384-p358-o2 input[type="submit"] {
  width: 29%;
  margin-top: 15px;
}

input.wpcf7-form-control.wpcf7-submit.facethefuture,
input.wpcf7-form-control.wpcf7-submit.contact-page{
    width: 100% !important;
    max-width: 200px;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #f00 !important;
    font-size: 10px;
}
span.wpcf7-not-valid-tip {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}

/*
* 3 - Layout
*/
.row {
  margin-left: -8px;
  margin-right: -8px;
}

.row:after, .row:before {
  content: '';
  display: table;
}

.row:after {
  clear: both;
}

.col-md-6, .col-md-12 {
  padding-left: 8px;
  padding-right: 8px;
}

.center-text {
  text-align: center !important;
}

.pum-content.popmake-content .et_pb_section {
  background: #ed0001;
  padding: 0 0px !important;
}

.pum-content.popmake-content .et_pb_row {
  padding: 15px 0px 0px 0px !important;
  width: 97%;
}

.pum-content.popmake-content .et_pb_column_0 {
  padding-left: 10px;
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
  padding-right: 0px !important;
}

div#popmake-892 {
    background: #ed0001;
    padding: 30px;
}

@media(min-width: 768px) {
  .col-md-6 {
    float: left;
    width: 50%;
  }
}

/*
* 4 - Header & Menu
*/
.nav li ul {
  padding: 5px 0;
  margin-left: 0px;
}

ul.sub-menu li {
  padding: 0 !important;
  margin: 0 !important;
  margin-bottom: 10px !important;
}

#top-menu li a:hover, #top-menu li a:focus {
  color: #fd0101 !important;
  opacity: 1 !important;
}

.et-fixed-header #top-menu li .sub-menu li a {
  color: #fff !important;
}

.et-fixed-header #top-menu li .sub-menu li a:hover {
  color: #fd0101 !important;
}

#top-menu>li:last-child>a {
  display: inline-block;
  background: rgba(255, 255, 255, 0);
  padding: 10px 12px !important;
  border-radius: 3px;
  border: 1px solid;
  border-color: #ed0000;
  /* color: #ed0000 !important; */
}

#top-menu>li:last-child>a:focus, #top-menu>li:last-child>a:hover {
  background: #fd0101;
  color: white !important;
}

#top-menu li.current-menu-item>a {
  color: #ed0000;
}

#top-menu .sub-menu li.current-menu-item>a {
  color: white !important;
}

#et-top-navigation #top-menu-nav {
  display: inline-block;
}

#et-top-navigation .social-wrap {
  display: inline-block;
  padding-top: 5px;
  margin-left: 10px;
}

#et-top-navigation .social-wrap .et-social-icons li a {
  color: white;
  font-size: 16px;
  opacity: 1;
}

#et-top-navigation .social-wrap .et-social-icons li {
  margin-left: 6px;
}

#logo {
  max-height: 70% !important;
}

.load-none .ex-loadmore {
  display: none;
}

@media(max-width: 600px) {
  .et_header_style_left .logo_container {
    padding-top: 3px;
    padding-bottom: 3px;
  }
}

/*
* 5 - Footer
*/
#footer-widgets .footer-widget li {
  padding-left: 0px;
  list-style: none !important;
  margin-bottom: 10px;
}

.footer-widget, .footer-widget li, .footer-widget li a, #footer-info {
  line-height: 1.2em;
}

#footer-bottom #footer-info {
  line-height: 4px;
}

#footer-widgets .footer-widget ul {
  margin-top: 5px;
}

#footer-widgets p {
  font-weight: 400;
}

#footer-widgets .mc4wp-form {
  margin-top: -12px;
}

#footer-widgets .footer-widget li:before {
  content: none;
}

#footer-widgets .footer-widget .et-social-icons li {
  margin-left: 0px;
}

#footer-widgets .footer-widget li a {
  font-weight: 400;
  font-size: 16px;
}

#footer-widgets .widget_media_image {
  margin-bottom: 45px;
}

#footer-widgets .widget_media_image img {
  max-height: 90px;
  width: auto;
}

#footer-widgets .footer-widget .et-social-icons li a {
  margin-right: 5px;
  font-size: 17px;
}

#footer-widgets .footer-widget li a:hover, #footer-widgets .footer-widget .title a:hover {
  color: #ff0006 !important;
}

.et-social-icons {
  margin-top: 0px;
  width: 100%;
}

#footer-bottom .bottom-nav {
  float: left;
  padding: 0px;
}

#footer-bottom .bottom-nav li {
  padding-right: 15px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

#footer-bottom .bottom-nav a {
  color: white;
}

#footer-info {
  float: left;
  padding-top: 5px;
}

.footer-widget .title {
  padding-bottom: 10px;
  margin-bottom: 8px;
  font-weight: 700;
}

.footerText a {
  color: #ff0006 !important;
}

@media(max-width: 600px) {
  #footer-widgets {
    padding: 40px 10px 1px 15px;
  }

  footer#main-footer .container {
    width: 90%;
  }

  .footerText {
    font-size: 13px !important;
  }

  .footerText a {
    font-size: 11px !important;
  }

  #footer-widgets .footer-widget ul {
    text-align: left;
  }
}

/*
* 6 - Pages
*/
.home-banner .et_pb_button_module_wrapper {
  display: inline-block;
}

.center-text-color p {
  color: #fff;
}

.inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.home #main-content,
.page-id-3097 #main-content{
  background-image: radial-gradient(circle, rgba(63,64,70,1), #111);
}

#hero-home {
  background-color: transparent;
  padding: calc(80px + 6rem) 0 6rem;
}

#hero-home:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0, .7);
  z-index: 1;
}

#hero-home-image-caption {
  color: #eee;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.5;
}

#hero-home-image-caption p {
  padding: 0 !important;
}

#hero-home h1 {
  font-size: clamp(1.375rem, 0.6382rem + 3.6842vi, 3.125rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

#hero-home h1 span {
  color: #eee;
  font-weight: 400;
}

#hero-home-text {
  order: 0;
  color: #eee;
  font-size: 1.125rem;
  line-height: 1.7;
}

#hero-home .et_pb_code_inner {
  width: 90%;
  padding-inline: 1.5rem;
}

#hero-home .home-hero-image {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

#hero-home .home-hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: drop-shadow(0 0.2rem 0.25rem rgba(0, 0, 0, 0.6));
}

#hero-home-text p:not(:last-of-type) {
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  background-color: #e02b20;
  border-radius: .25rem;
  cursor: pointer;
  font-weight: 700;
  color: #eee;
  font-size: .95rem;
  padding: .75rem 1.5rem;
  transition: background-color .3s ease-out, color .3s ease-out;
}

.button.secondary {
  background-color: transparent;
  border: 1px solid #eee;
  color: #eee;
}

.button:hover {
  background-color: #eee;
  color: #e02b20;
}

#home-promo {
  background-image: linear-gradient(to right, #e33d34, #b3261e);
  color: #eee;
  font-size: clamp(1.125rem, 0.9946rem + 0.6522vi, 1.5rem);
  line-height: 1.7;
}

#footer-strapline {
  display: block !important;
  background-color: #808080;
  margin: 0;
  padding: 0;
  text-align: center;
}

.footer-strapline p {
  color: #eee;
  font-size: clamp(1.125rem, 0.5461rem + 2.8947vi, 2.5rem);
  line-height: 1.3;
  padding: 3rem 0 !important;
}

/*
* 7 - Media CSS
*/

@media only screen and (min-width: 32.5em) {

  #hero-home {
    padding: calc(6rem + 85px) 0 6rem;
  }

  #hero-home .hero-home-text {
    max-width: 1080px;
    margin-inline: auto;
  }
}

@media only screen and (min-width: 40em) {

  #hero-home .et_pb_code_inner {
    width: 50%;
  }

  #hero-home:before {
    background-image: linear-gradient(to right, #111, transparent);
    background-color: transparent;
  }
}

@media only screen and (min-width: 70em) {

  #hero-home .home-hero-image {
    right: -400px;
    left: auto;
  }

  #hero-home:before {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .4), transparent);
  }

  #home-promo .et_pb_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media only screen and (min-width: 80em) {

  #hero-home {
    background: url('https://next100years.org.uk/wp-content/themes/next100years/images/frames-left.png') no-repeat left -150px center;
    background-size: contain;
  }

  #hero-home .home-hero-image {
    right: -300px;
  }
}

@media only screen and (min-width: 100em) {

  #hero-home {
    background-position: left center;
  }

  #hero-home .home-hero-image {
    right: -200px;
  }
}

@media only screen and (min-width: 120em) {

  #hero-home .home-hero-image {
    right: 0;
  }
}

/* mobile xl */

@media(max-width: 668px) {
  .form-wrap {
    margin-bottom: 15px;
  }

  .media-wrapper .first-col {
    margin-bottom: 20px;
  }

  .media-wrapper .first-col, .media-wrapper .head-black {
    padding: 20px !important;
  }

  .mobile_menu_bar:before {
    color: white;
  }

  #footer-widgets .widget_media_image {
    display: block;
    width: 100%;
  }

  .home-banner .et_pb_button_module_wrapper {
    display: block;
    margin: 8px auto 15px;
    text-align: center;
  }

  .home-banner .et_pb_button_0_wrapper {
    margin-right: 0px !important;
  }
}

@media(max-width: 600px) {

  .container.et_menu_container {
    width: 95%;
  }

  ul#mobile_menu {
    border-top: 3px solid #e02b20;
  }

  .mobile-column-top-padd {
    padding: 5px 0;
  }

  .mobile-column-top-padd .et_pb_column {
    margin-bottom: 20px;
  }
}
