/*
 Theme Name:     Artisen child theme
 Theme URI:      https://www.detype.com
 Description:    Custom theme
 Author:         DeType
 Author URI:     https://www.detype.com
 Template:       Divi
 Version:        1.0.0
*/
/* =Theme customization starts here
------------------------------------------------------- */
@media only screen and (min-width: 980px) {
  li.menu-item.menu-item-29 {
    display: block !important;
    text-align: right;
    padding-right: 0px !important;
  }
  li.menu-item.menu-item-29 a {
    font-size: 30px !important;
    font-weight: 300 !important;
    padding-bottom: 23px !important;
  }
}
@media only screen and (max-width: 979px) {
  li.menu-item.menu-item-29 {}
  li.menu-item.menu-item-29 a {
    font-size: 20px !important;
    font-weight: 300 !important;
  }
}
.footer-widget .widget_media_image {
  max-width: 200px;
}
.footer-widget .textwidget ul li:before {
  content: "\35" !important;
  top: 0 !important;
  font-size: 25px !important;
  font-family: etmodules;
  border: 0px !important;
  color: #add605;
}
.footer-widget .textwidget ul li {
  padding-left: 25px !important;
  padding-bottom: 5px;
  line-height: 28px;
  font-size: 18px !important;
  cursor: pointer;
}
.footer-widget .textwidget ul li b {
  font-size: 20px;
}
.footer-widget .textwidget ul li:hover {
  color: #add605 !important;
}
div#footer-bottom ul.et-social-icons {
  display: none;
}
/* -------------- border effect ------------- */
.et_pb_with_border.green-arrow::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 0;
  height: 100%;
  background: transparent;
  border: 2px solid transparent;
}
.et_pb_with_border.green-arrow:hover::after {
  animation: art-animates 1s linear forwards;
}
@keyframes art-animates {
  0% {
    width: 0;
    height: 100%;
    border-bottom-color: white;
  }
  100% {
    width: 100%;
    height: 100%;
    border-bottom-color: white;
  }
}
.et_pb_with_border.green-arrow .et_pb_text_inner::before {
  transition: all .2s ease-in;
}
.et_pb_with_border.green-arrow:hover .et_pb_text_inner::before {
  color: white;
}
.et_pb_with_border.black-arrow-left::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 0;
  height: 100%;
  background: transparent;
  border: 2px solid transparent;
}
.et_pb_with_border.black-arrow-left:hover::after {
  animation: art-1-animates 1s linear forwards;
}
@keyframes art-1-animates {
  0% {
    width: 0;
    height: 100%;
    border-bottom-color: black;
  }
  100% {
    width: 100%;
    height: 100%;
    border-bottom-color: black;
  }
}
.et_pb_with_border.black-arrow-left .et_pb_text_inner::before {
  transition: all .2s ease-in;
}
.et_pb_with_border.black-arrow-left:hover .et_pb_text_inner::before {
  color: white;
}
/* CSS for buttons - Animated Lines on hover - Corners */
.dl-lines-corners {
  --border-width: 2px; /* set line width */
  --border-color: #000 /* set line color */
}
#page-container .et-l .et_pb_section .et_pb_button.dl-lines-corners::before, #page-container .et-l .et_pb_section .et_pb_button.dl-lines-corners::after {
  display: block !important;
  margin: 0;
  content: '';
  border-radius: inherit;
  border-width: var(--border-width);
  border-color: transparent;
  border-style: solid;
  opacity: 1;
  width: 0;
  height: 0;
}
#page-container .et-l .et_pb_section .et_pb_button.dl-lines-corners::before {
  top: calc(var(--border-width) * (-1));
  left: calc(var(--border-width) * (-1));
  bottom: auto;
  right: auto;
  border-right: none;
  border-bottom: none;
}
#page-container .et-l .et_pb_section .et_pb_button.dl-lines-corners::after {
  top: auto;
  left: auto;
  bottom: calc(var(--border-width) * (-1));
  right: calc(var(--border-width) * (-1));
  border-left: none;
  border-top: none;
}
#page-container .et-l .et_pb_section .et_pb_button.dl-lines-corners:hover::before, #page-container .et-l .et_pb_section .et_pb_button.dl-lines-corners:hover::after {
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  border-color: var(--border-color);
}
/* --------------------- nrg insights post listing archive page ----------------- */
.page-header {
  background: #1e1e1e;
  padding: 50px 0;
  margin-bottom: 50px;
  padding-top: 150px;
  color: #FFF;
}
.page-header h1 {
  color: #FFF;
  line-height: 1;
  padding-bottom: 0;
}
.art_posts {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 40px;
  row-gap: 40px;
  margin-bottom: 100px;
}
@media(min-width:768px) {
  .art_posts {
    grid-template-columns: 1fr 1fr;
  }
}
.art_posts .art_post {
  position: relative;
}
.art_posts .art_post__image {
  overflow: hidden;
}
.art_posts .art_post__image img {
  display: block;
  height: 300px;
  width: 100%;
  object-fit: cover;
  transition: all 300ms ease;
}
.art_posts .art_post:hover .art_post__image img {
  transform: scale(1.2);
}
.blog-box-top {
  background-color: #aed706;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-bottom: 0;
  z-index: 9;
  position: absolute;
}
.art_posts .art_post__content {
  position: absolute;
  bottom: 0px;
  padding: 20px;
  background-color: rgb(0 0 0 / 82%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.art_posts .art_post__content .title {
  width: calc(100% - 50px);
}
.art_posts .art_post__content .title h3 {
  color: #fff;
  line-height: 1.5;
  padding-bottom: 0;
}
.art_posts .art_post__content .action {
  width: 35px;
}
.art_posts .art_post__content .action {}
.art_posts .art_post__content .action img.icon {
  display: block;
  transition: all 300ms ease;
}
.art_posts .art_post__content .action img.hover-icon {
  display: none;
  transition: all 300ms ease;
}
.art_posts .art_post__content .action:hover img.icon {
  display: none;
}
.art_posts .art_post__content .action:hover img.hover-icon {
  display: block;
}
/* --------------- post pagination ------------ */
.post-pagination {
  margin: 50px 0;
}
.post-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.post-pagination li a, .post-pagination li span {
  display: block;
  width: 40px;
  height: 40px;
  border: #000 solid 1px;
  text-align: center;
  line-height: 38px;
  text-decoration: none;
  margin: 0 3px;
  color: #fff;
  font-weight: bold;
  border-radius: 0px;
}
.post-pagination li a img, .post-pagination li span img {
  max-width: 32px;
  display: block;
  margin: 3px auto 0;
}
.post-pagination li .current {
  background-color: #add505;
  color: #000;
}
.post-pagination li .dots {
  border-color: transparent;
}
.post-pagination li a.prev, .post-pagination li a.next {
  border-color: transparent;
}
/********* Mobile Menu Collapse ********/
/**** This hides the sub menu items on mobile ****/
#main-header .et_mobile_menu li ul.hide {
  display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#mobile_menu .menu-item-has-children {
  position: relative;
}
#mobile_menu .menu-item-has-children > a {
  background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#mobile_menu .menu-item-has-children > a + span {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
}
/**** Here you can swap out the actual icons ****/
span.menu-closed:before {
  content: "\4c";
  display: block;
  color: #fff;
  font-size: 16px;
  font-family: ETmodules;
}
span.menu-closed.menu-open:before {
  content: "\4d";
}
.case-study-gallery{ margin:0px; padding:0!important; }
.case-study-gallery li a img{
  width: 100%; height: 352px; object-fit: cover;
}
.case-study-gallery .slick-slide {
    padding-left: 10px!important;
    padding-right: 10px!important;
}