/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* Global */
body {
  overflow-wrap: anywhere;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2 !important;
}
a {
  text-decoration: none;
}
a:not(.dt-btn):hover {
  color: #404a1c;
}
.dt-btn {
  margin-bottom: 35px;
  transition: transform 0.25s ease-in-out !important;
}
.dt-btn:hover {
  transform: scale(0.95);
}
.grecaptcha-badge { 
  visibility: hidden !important;
}
.wfd-green-background-row *:not(a):not(i) {
  color: #fff;
}
.wfd-links-list {
  font-size: 24px;
  font-weight: 500;
}
.wfd-links-list p {
  margin-bottom: 25px;
}
#main ul:not(.eo-events):not(.wfd-normal-size-list),
#main ol:not(.wfd-normal-size-list) {
  font-size: 22px;
  line-height: 1.4;
}
#main ul:not(.eo-events),
#main ol {
  margin-left: 35px;
}
#main ul:not(.eo-events) > li > ul {
  list-style: circle;
}
hr.wfd-header-divider {
  border-color: #d9910b;
  max-width: 65%;
  margin: 20px auto;
}
.wfd-secondary-title {
  font-size: 40px;
}
.wfd-full-width-images .wpb_single_image * {
  width: 100%;
}
.wfd-curved-bottom-row {
  clip-path: ellipse(125% 100% at 40% 0%);
}
@media (max-width: 1200px) {
  .wfd-curved-bottom-row {
    clip-path: ellipse(150% 100% at 40% 0%);
  }
}
@media (max-width: 778px) {
  .wfd-curved-bottom-row {
    clip-path: ellipse(175% 100% at 40% 0%);
  }
}
@media (min-width: 779px) {
  .page-title > .wf-wrap {
    gap: 35px;
  }
}

/* Header */
header,
.mobile-header-bar {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}
.top-bar {
  max-width: calc(1200px) !important;
  margin-top: 15px !important;
  background-color: #1c4036;
}
.top-bar-bg {
  display: none;
}
.top-bar a:hover {
  opacity: 1;
}
.wfd-top-bar-icon-link {
  color: #d9910b !important;
  font-size: 16px;
  text-decoration: none !important;
}
.wfd-top-bar-icon-link > i {
  color: #fff !important;
  padding-right: 10px;
}
.wfd-top-bar-icon-link:hover {
  color: #fff !important;
}
.top-header .main-nav.level-arrows-on > li.has-children > a .menu-text {
  padding-right: 15px;
}
#primary-menu > .menu-item > .sub-nav {
  top: 70% !important;
}
.mobile-main-nav .next-level-button svg {
  fill: rgba(217, 145, 11, 1);
}
.mobile-mini-widgets-in-menu {
  display: flex;
  justify-content: center;
}
.mobile-mini-widgets-in-menu > div {
  margin-right: 0 !important;
}
.mobile-mini-widgets-in-menu > .soc-ico {
  order: 2;
}
@media (max-width: 1300px) {
  .top-bar {
    margin-left: 50px !important;
    margin-right: 50px !important;
  }
}
@media (min-width: 768px) and (max-width: 1150px) {
  header .branding {
    max-width: 42%;
  }
  .main-nav > li > a {
    margin: 18px 8px;
  }
  .main-nav > li > a .menu-text {
    font-size: 17px;
  }
}
@media (max-width: 778px) {
  .top-bar {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  .mobile-header-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .mobile-navigation {
    margin: 0 !important;
  }
}

/* Homepage */
body.home #main {
  padding-top: 0 !important;
}
#wfd-homepage-hero,
#wfd-homepage-hero h2 {
  color: #fff;
}
#wfd-homepage-hero {
  font-size: 18px;
}
#wfd-homepage-hero h2 {
  font-size: 50px;
}
#wfd-homepage-hero hr {
  border-color: #d9910b;
  max-width: 450px;
  margin: 20px auto;
}

/* Posts */
body.single-post .page-title {
  background-image: url(./images/post-title-image-green-overlay.jpg) !important;
}

/* Events */
ul.eo-events.eo-events-shortcode {
  margin: 0;
  list-style: none;
}
ul.eo-events.eo-events-shortcode li {
  margin-bottom: 15px;
}
ul.eo-events.eo-events-shortcode li a {
  display: block;
}
.eo-fullcalendar h2 {
  font-size: 32px !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
}
.eo-fullcalendar-loading {
  display: none !important;
}
.fc-day-grid-event {
  background-color: #d9910b !important;
  border-color: #d9910b !important;
}
body.single-event .eventorganiser-event-meta > h4 {
  font-size: 26px;
  margin-top: 10px;
}
body.single-event .eo-event-venue-map {
  position: relative;
  z-index: 1;
}
body.single-event .eventorganiser-event-meta {
  margin-bottom: 10px;
}
body.single-event .eventorganiser-event-meta > p {
  display: none;
}
@media (min-width: 600px) {
  body.single-event .eo-event-venue-map {
    bottom: 24px;
  }
}
@media (max-width: 599px) {
  body.single-event .eo-event-venue-map {
    margin-bottom: 15px;
  }
}

/* Forms */
.wpcf7 {
  margin: 0 -15px !important;
}
.wpcf7 h5 {
  margin-bottom: 8px !important;
}
.wpcf7 p {
  margin-bottom: 15px !important;
  line-height: 1.3;
}
.wpcf7 input {
  margin-bottom: 0 !important;
}
.wpcf7-radio.wpcf7-not-valid input,
.wpcf7-checkbox.wpcf7-not-valid input,
.wpcf7-textarea.wpcf7-not-valid {
  outline: 1px solid #f55b5f;
}
.wpcf7-email.wpcf7-not-valid {
  border-color: #f55b5f !important;
}
.wpcf7 ::placeholder {
  color: #000;
  opacity: .6;
}
.wpcf7-select {
  min-width: initial !important;
}
.wpcf7 .required {
  color: red;
}
.dscf7_signature {
  margin-bottom: 20px !important;
}
.dscf7_signature .wpcf7-not-valid-tip {
  display: block !important;
}

/* Fleet */
.wfd-fleet-aspect-ratio img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* Leadership/Membership */
.wfd-leadership-row h3,
.wfd-membership-row h3 {
  margin-bottom: 2px;
  font-weight: 600;
}
.wfd-leadership-row .wpb_text_column {
  margin-bottom: 25px;
}

/* More Safety Topics */
.wfd-more-topics-aspect-ratio img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Contact Form */
.wfd-contact-form {
  border: 3px solid #404A1C;
  border-radius: 5px;
  background-color: #EFF2D8;
  padding-top: 15px;
}
.wfd-contact-form input,
.wfd-contact-form textarea {
  background-color: #fff;
}
@media (max-width: 767px) {
  .wfd-contact-form {
    margin: 0 15px;
  }
}

/* Footer */
#footer.footer-outline-decoration {
  border-top-width: 2px;
}
footer .textwidget {
  font-size: 18px;
  line-height: 1.3;
}
footer .textwidget a:not(.dt-btn) {
  color: #d9910b !important;
}
footer .textwidget a:not(.dt-btn):hover {
  color: #404a1c !important;
}
#footer .wf-container {
  display: flex;
  align-items: center;
}
#wfd-footer-links {
  font-size: 24px;
}
#wfd-footer-links i {
  min-width: 30px;
}
#wfd-footer-links > div > a {
  font-size: 30px;
  margin-right: 25px;
}
#wfd-footer-links > a {
  display: flex;
  align-items: center;
}
#wfd-footer-links a {
  color: #404a1c !important;
  font-weight: 500;
  margin-bottom: 15px;
}
#wfd-footer-links a:hover {
  color: #d9910b !important;
}
#web-design-credit {
  font-size: 13px;
  display: inline-block;
  line-height: 1.2;
}
@media (max-width: 992px) {
  #footer .wf-container {
    flex-direction: column;
  }
  #footer .widget_media_image {
    text-align: center;
    margin-bottom: 10px;
  }
  #wfd-footer-links {
    max-width: 280px;
    margin: 0 auto 15px;
  }
}