/*
Theme Name:   GeneratePress Child
Description:  Child theme for GeneratePress
Author:       Fabmedia
Template:     generatepress
Version:      1.0.0
*/

html {
  scroll-behavior: smooth;
}

a {
/*   color: #ED1C23; */
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

header#masthead {
  border-top: 10px solid;
  border-top-width: 10px;
  border-image-slice: 1;
  border-width: 10px;
  border-image-source: linear-gradient(to left, #eb2c23, #e07707);
}
nav#site-navigation {
    display: none;
}

#mobile-menu-control-wrapper {
  display: none;
}

.site-content {
  display: block;
  padding: 20px 40px;
}
@media (max-width: 768px) {
  .site-content {
    padding-right: 30px;
    padding-left: 30px;
  }
}

.inside-header {
  padding: 0;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -15px;
  margin-right: -15px;
  padding: 40px 0;
}

.logos > div {
  width: 50%;
  padding: 0 15px;
}

.logos img {
  max-height: 50px;
  max-width: 100%;
}

.posts-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-left: -15px;
  margin-right: -15px;
}
.post-box-wrapper {
  width: 100%;
  padding: 0 15px 30px;
}
.post-box {
  border: 1px solid #E0DFDA;
  border-radius: 4px;
  background: #FAFAFA;
  padding: 20px 30px 50px;
  transition: all 0.2s ease;
  height: 100%;
}
.post-box:hover {
  background: #f7f7f7;
  box-shadow: 0 0 10px #dfdfdf;
}
@media (min-width: 768px) {
  .post-box-wrapper {
    width: 50%;
  }
}
@media (min-width: 992px) {
  .post-box-wrapper {
    width: 33.33%;
  }
}

.post-box a {
/*   color: #ED1C23; */
  font-weight: 500;
}
.post-box h2 {
  font-size: 21px;
  font-weight: 600;
}
.post-box h2 a {
  color: #000;
  font-weight: 600;
}


.btn-red {
  background: #ED1C23;
  padding: 8px 20px;
  color: #fff;
  font-weight: 500;
  border-radius: 4px;
}
.btn-red:hover {
  color: #fff;
}

.bottom-head {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 992px) {
  .bottom-head {
    flex-direction: row;
    align-items: end;
  }
}

.single-post h2 {
  font-size: 2.5rem;
  font-weight: 600;
}
.post-title h2 {
  margin-bottom: 0;
}
.post-title {
  padding-bottom: 50px;
}

.post-btns{
  margin-bottom: 50px;
}
.post-video {
  width: 100%    !important;
  height: auto   !important;
}
.post-video video {
  border: 1px solid #E0DFDA;
  border-radius: 4px;
  background: #FAFAFA;
  padding: 5px;
}

#steps {
  margin-top: 50px;
}
#steps h2 {
  margin-bottom: 50px;
}

#steps .step {
  margin-bottom: 100px;
}
#steps .step-box-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}
#steps .step-box-wrapper h3 {
  margin: 0;
  margin-right: 10px;
}
#steps .step-box {
  width: 48px;
  background: #ED1C23;
  padding: 10px;
  text-align: center;
  color: #fff;
  font-weight: 500;
  border-radius: 4px;
}
.step-img img {
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
  border: 1px solid #E0DFDA;
  border-radius: 4px;
  background: #FAFAFA;
  padding: 5px;
}