html, body {
  min-height: 100%;
  height: 100%;
}

/* logo */
#logo {
  max-height: 90%;
}

/* header */
#top-menu a {
  font-weight: normal;
  color: #333;
}

#top-menu li.current-menu-item > a, .mobile_menu_bar::before {
  font-weight: bold;
  color: #7d0008;
}

/* PRIMARY */
.h1-styled span {
  background-color: #000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

/* Home styles */
/* .home .et_pb_text_0 h1 {
  font-size: 1.13rem;
  line-height: 2rem;
} */

/* .home .et_pb_text_1 h2 {
  font-size: 1.12rem;
}

.home .et_pb_text_2 h3 {
  font-size: 1rem;
  padding-bottom: 0;
} */

/* .home .et_pb_text_2 h2 {
  font-size: 1.2rem;
} */

.home .et_pb_blog_0:not(.et_pb_blog_grid_wrapper) .et_pb_post {
  margin-bottom: -1.2rem;
}

/* not Found items*/
.not-found-title, .not-found-title + p {
  padding: .5em;
}

/* levels-digital-transformation */
.levels-digital-transformation .et_pb_column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

/* blog single */
.et_pb_post_content p {
  margin-bottom: 1.4em;
}

.et_pb_post_content ul li {
  list-style: circle;
}

.et_pb_post_content ul li,
.et_pb_post_content ol li {
  margin-bottom: 0.3em;
}

.et_pb_post_content .ebg-br-wrapper {
  box-shadow: 10px 10px 15px 0px #eeeeee !important;
}

.et_pb_post_content .ebg-br-wrapper > .ebg-br-background-image {
  z-index: -1 !important;
}

/*serach*/
.db-search input.et_pb_s {
  width: calc(100% - 150px) !important;
  border: 2px solid #eeeeee !important;
  border-radius: 50px !important;
  padding-left: 30px !important;
}

.db-search input.et_pb_searchsubmit {
  width: 140px !important;
  background: #7d0008 !important;
  border: 2px solid #7d0008 !important;
  border-radius: 50px !important;
  transition: all .3s ease !important;
  color: #ffffff !important;
}

.db-blog-4-colum .et_pb_salvattore_content[data-columns]::before {
	content: '4 .column.size-1of4' !important;
}

@media only screen and ( min-width: 981px ) {
	.db-blog-4-colum .column.size-1of4 {
	    width: 24%!important;
	    margin-right: 1%;
	}
}

/* equal heigth */
.et_blog_grid_equal_height article {
	overflow: hidden;
}

/*blog image aspect ratio landscape 16:9*/
.db-blog-image-16-9 .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}

.db-blog-image-16-9 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*vertically align content in Divi columns*/
.db-vertical-align { 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
}

/* vertical blog module */
.db-feature-item {
  margin-bottom: .5em !important;
  border-radius: 5px !important;

}
.db-feature-item article {
  position: relative !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}

.db-feature-item .entry-featured-image-url {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

.db-feature-item .entry-title {
  width: 100%;
  margin-top: 1em;
}

/* Divi WP page Navi*/
.wp-pagenavi {
  border: none !important;
  text-align: center !important;
}

.wp-pagenavi a, 
.wp-pagenavi span {
  padding: 0.4em 0.8em !important;
  font-size: 1.3em !important;
  color: #333333;
  line-height: 2em;
  background: #eeeeee;
  transition: all .5s;
  border-radius: 5px;
  font-weight: bold !important;
}

.wp-pagenavi a.pages, 
.wp-pagenavi span.pages {
    background-color: transparent !important;
}

.wp-pagenavi span.current {
  color: #ffffff !important;
  background: #7d0008 !important;
}

.video-max-width {
  max-width: 880px;
}

@media (min-width: 411px) {
  /* .home .et_pb_text_0 h1 {
    font-size: 1.265rem;
  }
  
  .home .et_pb_text_1 h2 {
    font-size: 1.2rem;
  } */
}

@media (min-width: 767px) {
  /* .home .et_pb_text_0 h1 {
    font-size: 2.5rem;
    line-height: 3.5rem;
  }

  .home .et_pb_text_1 h2 {
    font-size: 1.6rem;
  }

  .home .et_pb_text_2 h3 {
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
  } */
}

@media (min-width: 981px) {
  .db-feature-item .entry-title {
    width: 57%;
  }

  /* main-content */
  #main-content {
    min-height: 90vh;
  }

  /* social-project */
  .social-project {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .social-project .et_pb_team_member_image {
    max-width: 9em;
  }

  .social-project .et_pb_team_member_description {
    flex: 1;
  }

  /* home artigos */
  .db-feature-item.db-blog-image-16-9 .entry-featured-image-url {
    padding-top: 25.25%;
  }

  .db-feature-item .entry-featured-image-url {
      width: 100%;
      max-width: 40%;
      margin-bottom: 0px;
      margin-right: 9.6px;
  }

  .db-feature-item .post-meta {
    position: absolute;
    left: 42%;
    align-self: baseline;
  }

  .home .et_pb_blog_0:not(.et_pb_blog_grid_wrapper) .et_pb_post {
    margin-bottom: 1rem;
  }

  /* flip-box effect */
  .flip-box-row {
    background-color: transparent !important;    
    height: 210px !important;
    -webkit-perspective: 1000px !important;
    perspective: 1000px !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
  }
   
  .flip-box-column {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    -webkit-transition: transform 0.8s !important;
    transition: transform 0.8s !important;
    -webkit-transform-style: preserve-3d !important;
    transform-style: preserve-3d !important;
  }
   
  .flip-box-row:hover .flip-box-column {
    -webkit-transform: rotateY(180deg) !important;
    transform: rotateY(180deg) !important;
  }
   
  .flip-box-front, .flip-box-back{
    position: absolute !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    -webkit-transform: translate3d(0,0,0) !important;
    transform: translate3d(0,0,0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
  }
   
  .flip-box-back {
    -webkit-transform: rotateY(180deg) !important;
    transform: rotateY(180deg) !important;
  }
}

@media (min-width: 1023px) {
  /* .home .et_pb_text_0 {
    margin-top: 12rem !important;
    margin-bottom: 12rem !important;
  } */
}

/* landescape */
@media (orientation: landscape) and (max-width: 666px) {
  /* .home .et_pb_text_0 h1 {
    font-size: 2rem;
    line-height: 3rem;
  } */
  
  /* .home .et_pb_text_0 {
    margin-top: 2rem !important;
    margin-bottom: 0rem !important;
  } */

  /* .home .et_pb_text_1 {
    margin-top: 4rem !important;
  }

  .home .et_pb_text_2 h3 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
  }

  .home .et_pb_text_2 h2 {
    font-size: 2.8rem;
  } */
}

@media (orientation: landscape) and (min-width: 666px) {
  /* .home .et_pb_text_2 h3 {
    font-size: 1.8rem;
  }
  
  .home .et_pb_text_2 h2 {
    font-size: 2.5rem;
  } */
}

@media (orientation: landscape) and (min-width: 683px) {
  /* .home .et_pb_text_2 h3 {
    font-size: 1.9rem;
  }
  
  .home .et_pb_text_2 h2 {
    font-size: 2.65rem;
  } */
}

@media (orientation: landscape) and (min-width: 981px) {
  /* home styles */
  /* .home .et_pb_text_0 h1 {
    font-size: 2.8rem;
    line-height: 3.6rem;
  } */

  /* .home .et_pb_text_0 {
    margin-top: 7rem !important;
    margin-bottom: 7rem !important;
  } */
}