/*!
Theme Name: QINeS
Version: 3.1.1
*/


/* Widget Area Homepage
/* -------------------------------------------------------------------------- */
.card .card-content {
  padding: 2rem 0;
}

.wp-post-image{
margin-top:1vw;
}
.widget-custom-post-excerpt {
  text-align: justify;
  margin-bottom: 1rem;
}

.widget-custom-post-excerpt a:hover{
  color: black;
  text-decoration: none;
}
  
.widget-custom-post-excerpt p {
  font-size: 0.9rem;
  line-height: 1.625rem;
}

.a_widget-excerpt{
  color: black;
  text-decoration: none;
}
.a_widget-excerpt a:hover{
  color: black;
  text-decoration: none;
}

.widget-product-post-excerpt {
  margin-left: 5.5rem;
}

.widget-post-type-product .card-header {
  height: 3rem;
}

.widget-home-page .card-header {
  background-color: inherit;
}


.a_blk_link{
color:black;
}

.a_blk_link{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card_blk:hover{
  background-color:#e9ecef ;
  box-shadow: 0px 4px 4px #e9ecef;   
  border-radius: 16px;
  padding: 1rem;
  /* #e8f0fe */
}

.widget-post-type-service {
  background: url(/wp-content/themes/qines/assets/images/home-service-bg-2.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3rem 0;
}

.widget-post-type-service .card {
  padding: 1rem;
  border: 1px solid #DAE2EB !important;
  box-shadow: 0px 4px 4px rgba(24, 27, 54, 0.15);
  border-radius: 16px !important;
}

.widget-post-type-service .card-header {
  height: 5rem;
}

.img-heading_service{
  max-width: 4rem;
  max-height: 4rem;
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.service_relative,.acc_relative,.topics_relative {
  position: relative;
  overflow:hidden;
}

.img_qines_service{
  display: block !important;
  position:absolute;
  bottom: -6vw;
  left: 1vw;
  width: 28vw;
}

.img_qines_acc{
  display: block !important;
  position:absolute;
  top: -4vw;
  right: 1vw;
  width:28vw;
}

.img_qines_topics{
  display: block !important;
  position:absolute;
  top: -4.5vw;
  left: 1vw;
  width:28vw;
}

.widget-post-type-mobilityservice {
  margin-bottom: 100px;
}

.report_relative{
  position: relative;
  overflow:hidden;
}

.accumlation {
  background: url(/wp-content/themes/qines/assets/images/acc_back.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3rem 0;
}

.widget-post-type-topics {
  background: url(/wp-content/themes/qines/assets/images/report-back.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3rem 0;
}

.acc-card {
  padding: 1rem;
  border: 1px solid #DAE2EB !important;
  box-shadow: 0px 4px 4px rgba(24, 27, 54, 0.15);
  border-radius: 16px !important;
  margin: 1rem;
  background-color: #fff;
}

.widget-post-type-engineer-report .card {
  padding: 1rem;
  border: 1px solid #DAE2EB !important;
  box-shadow: 0px 4px 4px rgba(24, 27, 54, 0.15);
  border-radius: 16px !important;
  margin: 1rem;
}

.widget-post-type-topics .card {
  padding: 0;
  border: 1px solid #DAE2EB !important;
  box-shadow: 0px 4px 4px rgba(24, 27, 54, 0.15);
  border-radius: 16px !important;
  margin: 1rem;
}

.widget-post-type-engineer-report .card .card-content.line-separate {
  border-top:none;
}

.widget-page-title a {
  font-weight: 600;
  color: #1A2792;
  border-left: 8px solid;
  padding-left: 1rem;
  line-height: 6rem;
}

.widget-custom-post-title a {
  font-weight: 500;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #1D1D1F;
  text-decoration: none;
}

.widget-custom-post-title_new a {
  font-weight: 500;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color:  #1D1D1F;
}
.widget-custom-post-title_new a:hover {
  color: #1A2792;
  text-decoration: none;
}


.widget-post-type-service .card-title a {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 2rem;
  color: #1D1D1F;
  vertical-align: -webkit-baseline-middle;
}

.widget-post-type-engineer-report .widget-post-type-topics {
  padding: 3rem 0;
}

.widget-page-excerpt {
  font-size: 2rem;
  line-height: 3.25rem;
  color: #1D1D1F;
  margin-bottom: 1rem;
}

.widget-custom-post-title .img-heading {
  margin-right: 1rem;
  max-width: 4rem;
  max-height: 4rem;
}

.img-overlay {
  display: flex;
  flex-direction: row;
}

.widget-post-type-product{
  position: relative;
}
.widget-prod-row{
  flex-direction: row;
  align-items: center;
}
.right-img-pc{
  position: absolute;
  right: 0; 
  overflow:hidden;
}
.right-img{
  display: none;    
}
.meta-data {
  margin-top: .5rem;
}

.widget-home-page-thumbnail {
  position: relative;
  margin: 1rem 0rem 0rem 1rem;
}

.meta-author {
  height: 3rem;
  line-height: 3rem;
  background-color: #1A2792;
  font-size: 1rem;
  color: #FFFFFF;
  opacity: 0.8;
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.meta-data .meta-date, .meta-data .meta-ref {
  font-size: 1rem;
}

.meta-data .meta-date {
  color: #9C9CA2;
  margin-right: 1rem;
}

.meta-data .meta-ref {
  color: #F08A08;
}

@media (max-width: 995px) {
   .right-img {    
    display: block;
    
  }
  .right-img-pc{
    display: none;    
  }

  .widget-post-type-mobilityservice {
    background:none;
    padding:0;
  }

}

@media (max-width: 767.98px) {
  .card-header {
    margin-bottom: 1rem;
  }
  .widget-page-title a {
    font-size: 2rem;
    line-height: 3rem;
  }

  .widget-post-type-product {
    padding-top: 0rem;
  }

  .widget-post-type-product .right-img {    
    display: block;
  }
  .right-img-pc{
    display: none;    
  }
  .widget-post-type-product .img-overlay img {
    width: 100%;
    height: auto;

  }

  .right-img{
    position: static;
    width: 100%;
  }

  .widget-post-type-service .card {
    margin-bottom: 2rem;
  }

  .widget-post-type-service .card.c-last {
    margin-bottom: 0;
  }

  .widget-custom-post-title a {
    font-size: 1.5rem;
  }

  .card-title.widget-custom-post-title {
    margin-top: 1rem;
  }

  .widget-home-page-thumbnail .widget-custom-post-thumbnail {
    width: 100vw;
  }
}

@media (max-width: 575.98px) {
  .meta-data .meta-date, .meta-data .meta-ref {
    font-size: .875rem;
  }


  .widget-custom-post-excerpt, .widget-service-post-excerpt, .widget-product-post-excerpt p {
    overflow: hidden;
    text-overflow:  ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  } 

  .row-overlay
  {
    margin-bottom: 3rem;
  }
}

.height-100{
height: 100px;
}