/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
  --blue: #2478a8;
}

html {
  scroll-behavior: smooth;
}

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

.small {
  max-width: 600px;
  margin: 0 auto;
}

.medium {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.large {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.x-large {
  max-width: 1470px;
  margin: 0 auto;
  width: 100%;
}

.responsive {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex > * {
  flex: 0 1 auto;
}

.half {
  width: 48%;
}

.main-section {
  padding: 80px 0;
}

.main-section-no-bottom {
  padding: 80px 0 0;
}

.main-button {
  display: inline-block;
  padding: 10px 15px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.5s;
}

.icon::before {
  /* removed font- based rules */
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.entry-header {
  position: absolute;
  left: -9999px;
}

#blog-home .entry-title {
  font-weight: 700;
}

.blog #page,
.archive #page {
  margin-top: 60px;
}

.blog .entry-header,
.single .entry-header,
.archive .entry-header {
  position: relative;
  left: initial;
}

.blog .entry-header,
.archive .entry-header,
.single .entry-header {
  margin-bottom: 20px;
}

.blog .entry-title,
.archive .entry-title {
  margin-bottom: 20px !important;
  font-weight: 700;
}

.archive .entry-summary {
  margin-bottom: 40px !important;
}

.widget-area .widget {
  padding-bottom: 10px !important;
  padding-top: 0 !important;
}

.page-hero {
  overflow: hidden;
  position: relative;
}

.subtitle {
  position: relative;
  padding-left: 10px;
}

.subtitle:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #6200cb;
}

.white-link a {
  color: #fff;
}

.editor-styles-wrapper h1 {
  text-transform: normal;
}

/*===end general==*/

#home-title-div {
  max-width: 978px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

#home-title-div img {
  max-width: 250px;
}

#home-title-div-right {
  margin-left: 20px;
}

#home-title-div-right h2 {
  font-size: 80px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
}

#home-title-div-right h3 {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
}

#home-logos-wrap {
  border-top: solid 1px #fff;
  padding: 30px 0 0 0;
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#home-logos-wrap div {
  flex-basis: 15%;
}

#home-video-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.15;
  background-color: var(--blue);
}

#home-video-wrap video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#gform_wrapper_1 input,
#gform_wrapper_1 textarea,
#gform_wrapper_1 select,
#gform_wrapper_3 input,
#gform_wrapper_3 textarea,
#gform_wrapper_3 select,
#gform_wrapper_2 input,
#gform_wrapper_2 textarea,
#gform_wrapper_2 select {
  background: #f0f0f0;
  border: solid 1px #ccc;
}

#gform_wrapper_1 input[type='submit'],
#gform_wrapper_2 input[type='submit'],
#gform_wrapper_3 input[type='submit'] {
  border: solid 1px var(--blue);
  background: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
}

.home-service-col {
  position: relative;
}

.home-service-button {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.home-latest-news .entry-header {
  position: relative;
  left: initial;
}

.footer-widgets-container {
  max-width: 1500px;
  margin: 0 auto;
}

.footer-widgets .widget .wp-social-link {
  margin-bottom: 12px;
}

.number-list {
  margin-left: 10px;
}

/*===media===*/

.single-media_article .widget-area,
.post-type-archive-media_article .widget-area {
  display: none;
}

.single-media_article .site-content .content-area,
.post-type-archive-media_article .site-content .content-area {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.single-media_article .site-content .content-area {
  padding-top: 60px;
  padding-bottom: 60px;
}

/*===blog===*/

.blog #page,
.single-post #page,
.archive #page {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
}

.blog .entry-summary {
  margin-bottom: 60px;
}

.single .comments-area {
  display: none;
}

.single .entry-meta {
  margin-top: 60px;
}

.archive .page-title {
  margin-bottom: 60px;
}

/*=====responsive=================================================================*/

@media only screen and (max-width: 1550px) {
  .x-large {
    max-width: 95%;
  }
}

@media only screen and (max-width: 1300px) {
  .site-logo {
    max-width: 220px;
  }
}

@media only screen and (max-width: 1280px) {
  .large {
    max-width: 95%;
  }
}

@media only screen and (max-width: 1200px) {
  .inside-header {
    padding-left: 20px;
    padding-right: 0px;
  }
}

@media only screen and (max-width: 1150px) {
  #home-title-div,
  #home-logos-wrap {
    max-width: 95%;
  }
}

@media only screen and (max-width: 1024px) {
  .home-service-button {
    position: relative;
  }
}

@media only screen and (max-width: 1000px) {
  .flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .flex > div {
    width: 100%;
  }

  #home-title-div-right h2 {
    font-size: 60px;
  }

  #home-title-div-right h3 {
    font-size: 30px;
  }

  #home-logos-wrap div {
    flex-basis: 15%;
  }

  .list-top-margin ul {
    margin-top: 20px !important;
  }
}

@media only screen and (max-width: 850px) {
  .medium {
    max-width: 95%;
  }
}

@media only screen and (max-width: 767px) {
  #home-logos-wrap {
    flex-direction: column;
    align-items: center;
  }

  .home-logo-div {
    margin-bottom: 30px;
    max-width: 150px;
  }

  #home-title-div-right h2 {
    font-size: 45px;
  }

  #home-title-div-right h3 {
    font-size: 25px;
  }

  .mobile-no-margin {
    margin-bottom: 0 !important;
  }

  .home-about-button .kt-btn-wrap {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 550px) {
  #home-title-div {
    flex-direction: column;
    align-items: center;
  }

  #home-title-div img {
    order: 2;
    margin-top: 30px;
  }

  #home-title-div-right {
    margin-left: 0;
    text-align: center;
  }
}
