/* ******************************************************************************
*********************************************************************************
This file contains all the neccessary styles for your blog. The styles included
are for the listing and post templates, featured images and pagination.
Also for the post meta infromation like tags, author and published date
*********************************************************************************
****************************************************************************** */

/* TODO: Find a better place for this */
.content-wrapper {
  margin: 0 auto;
}

.hs-blog-listing .banner-wrap h1 {
  padding: 0.8571em 25px;
  display: inline-block;
  max-width: 100%;
}

.hs-blog-listing .banner-wrap {
  {#margin-top: 23px;#}
  margin-bottom: 30px;
}

.post-item {
 max-width: 33.33333333%;
  width:30.5% !important;
  margin:10px;
  padding:10px;
  height:510px;
  border: 1px solid #ebebeb!important;
box-shadow: 0 2px 10px rgb(0 0 0 / 8%) !important;

}

.post-item-wrap {
  margin: 0 -15px;
  display: flex;
  flex-wrap: wrap;
}

.post-item .thumbnail img {
  margin: 0 0 10px;
  height: 250px !important;
  
}

.post-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  height:140px !important;
}

.post-item h4 a {
  font-weight: 600;
  color: #232a34;
}

.post-item h4 a:hover {
  color: #F22C34;
}

.pt-cv-content {
  margin-bottom: 10px;
  font-weight: 400;

}

.pt-cv-readmore {
  margin: 10px 0;
  max-width: 100%;
  background-color: #DA262E;
  border: none;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: none;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  color: #fff !important;
  text-decoration: none;
  outline: 0;
  font-style: normal;
  box-shadow: none;
}

.pt-cv-content p {
  margin: 0;
height: 170px !important;

}

{#.hs-blog-listing .search_wrap {
  display: none !important;
}#}

.blog-pagination {
  margin: 20px 0 58px;
  display: flex;
  font-weight: 300;
}

.blog-pagination a {
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #da262e;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
}

.blog-pagination a:not(.active):hover {
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}

.blog-pagination a:last-child {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.blog-pagination a:first-child {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.blog-pagination a.active {
  border-color: rgba(66,139,202,.2);
  color: #fff;
  background-color: #da262e;
  cursor: default;
}


.breadcrumbs {
  font-size: 13px;
  line-height: 1.5em;
  float: right;
  padding: 60px 0 1em 2.5em;
  max-width: 37%;
  font-weight: 300;
}

.hs-blog-post .banner-content {
  display: flex;
  justify-content: space-between;
}

.breadcrumbs a {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  color: #fff;
}

.breadcrumbs span {
  display: inline-block;
  position: relative;
  margin: 0 0.5em;
  vertical-align: top;
  text-align: center;
  color: #acb4b6;
}

.breadcrumbs span:before {
  content: '/';
}

.breadcrumbs span.current:before {
  display: none;
}

.breadcrumbs span.current {
  margin: 0;
}

.blog-post {
  padding: 80px 0;
  font-weight: 300;
}

.hover_icon {
  position: relative;
  display: block;
  width: 100%;
}

.hover_icon:before {
  font-family: 'fontello';
  font-size: 50px;
  line-height: 50px;
  color: #ffffff;
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  opacity: 0;
  margin-top: -40px;
  margin-left: -40px;
  border-radius: 50%;
  -webkit-transition: all ease .3s;
  -moz-transition: all ease .3s;
  -ms-transition: all ease .3s;
  -o-transition: all ease .3s;
  transition: all ease .3s;
  z-index: 2;
}

.hover_icon:before {
  content: '\e816';
  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-left: -25px;
}

.hover_icon:after {
  background-color: rgba(218,38,46,0.8);
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hover_icon:hover:before {
  opacity: 1;
}

.hover_icon:hover:after {
  opacity: 1;
}

h3.post_title.entry-title {
  margin-top: 31px;
  margin-bottom: 3px;
}

.post_info {
  color: #bcc1c2;
  font-family: Roboto;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 22px;
}

.post_info .post_info_item {
  margin-right: 8px;
  display: inline-block;
}

.post_info a,.post_info a:hover {
  color: #DA262E;
}

.blog-post__body {
  margin: 30px 0 0;
  font-weight: 400;
}

.hover_icon img {
  width: 100%;
}

.post_thumb {
  max-height: 660px;
  overflow: hidden;
  display: flex;
}

.section.post-footer form {
  padding: 30px 0;
}

.blog-outer-wrap {
  padding: 0 15px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .post-item {
    width: 50%; 
  }
}

@media (max-width: 767px) {
  .post-item {
   max-width: 100% !important;
    width: 100% !important;
    height:auto;
  }
  .hs-blog-listing .call-button {
    display: none;
  }
  .hs-blog-post .banner-content {
    display: block;
  }
  .breadcrumbs {
    max-width: 100% !important;
    float: none;
    text-align: center;
    padding: 0 0 30px !important;
  }
}

{# New blog #}

.hs-form-field input[type=text], .hs-form-field input[type=text], .hs-form-field input[type=email], .hs-form-field input[type=phone], 
.hs-form-field input[type=number], .hs-form-field input[type=tel], .hs-form-field input[type=date], .hs-form-field textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #000 !important;
} 

.et_pb_module.et_pb_cta_0_tb_body.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark.swift-in-viewport h2 {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
  
}
.et_pb_module.et_pb_cta_0_tb_body.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark.swift-in-viewport {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.et_pb_text_inner.swift-in-viewport h3 {
    font-size: 20px;
    font-weight: 700;
}
.et_pb_with_border.et_pb_module.et_pb_text.et_pb_text_0_tb_body.et_pb_text_align_left.et_pb_bg_layout_light.swift-in-viewport {
    border: 2px solid #f1f1f1;
    padding: 20px;
    margin-bottom: 15px;
    margin-top: 20px;
}
ul.hs-menu-children-wrapper {
    padding-left: 25px !important;
}
h2.et_pb_module_header {
    font-size: 30px;
    line-height: 45px;
}
a.et_pb_button.et_pb_custom_button_icon.et_pb_promo_button {
    background-color: #DA262E;
    color: #fff;
    padding: 15px 45px;
    border-radius: 30px;
}
.swift-in-viewport {
    margin-bottom: 20px;
}

li {
    margin-left: 10px;
}