.main-aside {
  margin: 2rem 0;
}

.main-aside-newsletter,
.main-aside-cowork {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 1rem;
  align-items: center;
  padding: 0.7rem;
}

.main-aside-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-aside-icon img {
  max-width: 50px;
}

.main-aside-text {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  padding: 5px 5px 5px 0;
}

.main-aside-text p {
  margin: 0;
  padding: 0;
}

.card-container {
  cursor: pointer;
  perspective: 600;
  position: relative;
}
.card {
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: all 1s ease-in-out;
  width: 100%;
  background-color: #a3c83c;
}
.card-container:hover .card {
  transform: rotateY(180deg);
}
.card .side {
  backface-visibility: hidden;
  height: 100%;
  position: absolute;
  overflow: hidden;
  width: 100%;
}
.card .back {
  background: #eaeaed;
  color: #0087cc;
  line-height: 150px;
  text-align: center;
  transform: rotateY(180deg);
}
.circle-counter {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 0;
  padding: 50% 0;
  border-radius: 50%;
  border: 2px solid #a3c83c;
  text-align: center;
}
.flip-horizontal {
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
  -ms-filter: fliph;
  filter: fliph;
}
.related_btn {
  background-color: #b4b4b4;
  color: #ffffff;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  float: right;
}
.related_btn span {
  position: absolute;
  font-size: 18px;
}
.related_btn:hover {
  background-color: #a3c83c;
}

.main-inicio-content {
  margin: 2rem 0 !important;
}

@media (max-width: 767px) {
  .homepage_service_slider {
    position: relative !important;
    left: auto !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0px auto !important;
  }
}

.fadeover .image {
  display: block;
  width: 100%;
  height: auto;
}

.fadeover .overlaytitle {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background-color: #a3c83c !important;
  opacity: 1 !important;
  color: #fff !important;
  height: 130px;
  padding-right: 40px;
  padding-left: 40px;
  padding-top: 30px;
  z-index: 99999;
}

.fadeover .overlaytitle h1,
.fadeover .overlaytitle .h1,
.fadeover .overlaytitle h2,
.fadeover .overlaytitle .h2 {
  color: #fff !important;
}

@media (max-width: 1415px) {
  .fadeover .overlaytitle h1,
  .fadeover .overlaytitle .h1,
  .fadeover .overlaytitle h2,
  .fadeover .overlaytitle .h2 {
    font-size: 22px;
  }
}

@media (max-width: 1417px) {
  .fadeover .overlaytitle h1,
  .fadeover .overlaytitle .h1,
  .fadeover .overlaytitle h2,
  .fadeover .overlaytitle .h2 {
    font-size: 18px;
  }
}

@media (max-width: 415px) {
  .fadeover .overlaytitle h1,
  .fadeover .overlaytitle .h1,
  .fadeover .overlaytitle h2,
  .fadeover .overlaytitle .h2 {
    font-size: 16px;
  }
}

@media (max-width: 374px) {
  .fadeover .overlaytitle h1,
  .fadeover .overlaytitle .h1,
  .fadeover .overlaytitle h2,
  .fadeover .overlaytitle .h2 {
    font-size: 14px;
  }
}

.fadeover .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  overflow: hidden;
  width: 100%;
  height: 130px;
  transition: 0.5s ease;
  opacity: 1 !important;
  background-color: #a3c83c;
  /* background-color: rgba(255,255,255,0.6); */
  z-index: 999;
}

.fadeover .fadeovercontainer:hover .overlay {
  height: 100%;
  opacity: 1 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fadeover .fadeovercontainer:hover .text {
  visibility: visible;
}

.fadeover .text {
  padding-top: 150px;
  color: #787878 !important;
  font-size: 20px;
  position: relative;
  visibility: hidden;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.text p,
.text .p {
  color: #787878 !important;
}

.noticias_arrows {
  height: 50px;
  width: 50px;
}
.noticias_arrows:hover {
  background-color: #a3c83c !important;
}

.inicio_destaques a:hover {
  text-decoration: none !important;
}

.inicio_destaques_content {
  border-bottom: 1px solid #0a283c !important;
}

.inicio_destaques_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 100%;
  background-color: #f5f5f5;
}

/* new feature overlay */

.image_feature:hover .image_feature_overlay_desc {
  /* position: relative; */
  max-height: 900px;
  /* height: auto; */
  opacity: 1;
  pointer-events: all;
}
.image_feature:hover .image_feature_overlay {
  min-height: 100%;
}

.image_feature_overlay {
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  transition: all 0.5s ease-in-out;

  min-height: 1%;
}
.image_feature_overlay_desc {
  transition: all 0.5s ease-in-out;

  /* position: absolute; */
  /* height: 0px; */
  max-height: 0px;
  opacity: 0;
  pointer-events: none;
}
/* end new feature overlay */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .main-aside-newsletter,
  .main-aside-cowork {
    grid-template-columns: 2fr 3fr;
  }

  .main-aside-icon img {
    max-width: 75px;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .main-aside-newsletter,
  .main-aside-cowork {
    grid-template-columns: 2fr 3fr;
  }

  .main-aside-icon img {
    max-width: 75px;
  }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .main-aside-icon img {
    max-width: 100px;
  }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .inicio_container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    grid-gap: 4rem;
  }

  .main-aside {
    order: 2;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }

  .main-aside-text p:first-child {
    padding-bottom: 1.5px;
  }

  .main-aside-text p {
    padding-bottom: 1px;
  }
}
