/*
Theme Name: Features Post css
Author URI: https://www.63sats.com/
Description: This CSS used in features
Version: 1
*/

/*feature page css*/ 

@media only screen and (max-width: 500px) 
{
  .content-left-box{
    padding: 20px 10px; 
  }
  .container{
    background-color: #fff;
  }
  #page .site-content {
    flex-grow: 1;
    background-color: #fff;
  }
  .features-banner-text {
    padding-top: 27% !important;
    padding-bottom: 102px !important;
  }
  .col 
   {
     padding: 0px;
     width: 100%;
     margin-top: 0px !important;
    
   }

   .img-box-1 img {
     width: 100%;
   }  

   .img-box-3 {
     height: 257px;
   }

  .button {
     margin-right: 204px !important;
     font-size: 14px !important;
     margin-top: -58px !important;

   }

   .date {
     margin-right: 71px !important;
     margin-top: 7px !important;
     font-size: 14px !important;

   }

  .grid-container {
     display: block !important;
     width: 100%;
  }
  .grid-item {
    width: 100%;
    display: block;
    background-color: #f1f1f1;
    border: 1px;
    margin: 4px !important;
    border-radius: 22px;
    padding-bottom: 22px !important;
    font-size: 16px;
    text-align: left;
    padding-left: 27px;
  }
 .buttonc{
  background-color: #f1f1f1;
  color: #000;

 }
 .container1 {
   width: 100%;
   height: 100%;
   background-color: #ffffff;
  }

  .col {
   padding: 28px;
   background-color: #fff;

   }
   #news_rows {
    width: 120%;
    
  }
  .right-feature-thum img{
  width: 97%;
  }
  .column-right{
    margin-top: -3px;
    
  }
  .column-left {
    width: 100%;
  }
}
/*desktop view*/
  .content-left-box{
    padding: 1.5rem 1rem;
  }
  .btn.buttonc {
    font-size: 12px;
    margin-top: 0 !important;
  }
  .col
  {
    background-color: #fff;
    padding: 22px;
  }

 .features-banner-text {
     color: #ffffff;
     font-size: 50px;
     padding-top: 17%;
     padding-left: 7%;
     padding-bottom: 190px;
  }

 .column-left {
    height: 100%;
    font-size: 22px;
    background-color: #f1f1f1;
    border-radius: 16px;

  }
  .column-left a, .column-right a{
    color: #000 !important;
  }

  #right-inner-col-5{
    padding-right: 0px !important;
  }
  #right-row-box{
    display: flex;
    flex-wrap: wrap;
  }

  .right-feature-thum {
    position: relative;
    height: 100%;
    width: 100%;
  }

  .right-feature-thum img{
    height: 100%;
    width: 96%;
    object-fit: cover;
    border-radius: 12px;
  }
  .right-content .heading h4{
    font-size: 18px;
    font-weight: 500;
    color: #000;
    overflow: hidden;
    display: -webkit-box;
   -webkit-line-clamp: 2; 
    line-clamp: 2; 
   -webkit-box-orient: vertical;
  }
 .button 
  { 
    margin: -10px;
    font-size: 15px;
    margin-top: -102px;
    float: right;
    margin-right: 150px;

  }
  .datep{
    font-size: 13px;
  }
  .btn-block{
    text-align: right;
    padding: 10px 23px;
    bottom: 0px;
    color:#fff !important;
    position: relative;
  }
  .btn.buttonc {
    color: #000000 !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: none !important;
  }

  .buttonc a {
    font-size: 14px;
  }
 .img-box-2 {
    background-color: #f1f1f1f1;
    border-radius: 12px;
    object-fit: cover;
  }

  .right-content{
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    object-fit: cover;
  }
  
  .img-box-3 {
    height: 50em;
    background-color: #f1f1f1
    object-fit: cover;
  }
  /* B-dev New section */

  #news_rows {
    display: flex;
    flex-wrap: wrap;
  }

  #news_rows .col-md-4 {
    /* flex: 1 0 33.33%; */
    display: flex;
  }

  .custom-grid-item {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
    background:#f1f1f1;
    justify-content: space-between;
  }

  .custom-grid-item .heading h4 a{
    color: #000000 !important;
    
  }

  .col-content {
    flex-grow: 1;
  }
  .custom-grid-item span{
    color: #000000 !important;
    font-size: 13px;
  }
  .custom-grid-item{
    background-color: #f1f1f1;
    border-radius: 12px;
    padding: 12px;
  }

  #news_load-more_btn{
    color: #000 !important;
    border-radius: 8px;
    border:1px solid #000;
    position: relative;
   /* padding-right: 30px;need to add in another class*/
   
  }
  #news_load-more_btn:hover{
    background-color: #000;
    color: #fff !important;
    transition: 0.3s;
  }
  .padding-added{
   padding-right: 30px !important;
  }
  /* News Section end */

  .news {
    font-size: 2em;
    font-weight: 700;
    margin-top: 23em;
  }

  .grid-container {
    display: grid;
    width: 100%;
    grid-template-columns: auto auto auto;
    background-color: #ffffff;
    padding: 10px;
  }

  .grid-item {
    background-color: #f1f1f1;
    border: 1px;
    margin: 22px;
    border-radius: 22px;
    padding: 22px;
    font-size: 19px;
    text-align: left;
  }

 .headingp {
    margin-top: 35px;
    font-size: 22px;
    
  }

 .buttonp {
    margin-top: 15px;
    color: #000000 !important;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    cursor: pointer;
    background: #f1f1f1 !important;
    font-weight: 700px;
  }
  .loader1{
    text-align: center;
    border: 4px solid #fff;
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    position: absolute;
    top: 10px;
    right: 5px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .img-box-1 img {
    border-radius: 16px;
    object-fit: cover;

  }
  .mb-1 {
    margin-bottom: -1em !important;
    font-size: 13px;
  }
  .col-md-7 {
    flex: 0 0 auto;
    width: 52.333333% !important;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 47% !important;
  }
/*samall screen size*/
@media (max-width: 768px) {
  .right-feature-thum img {
    height: 175%;
  }
  .right-content {
    padding: 147px 10px;
  }
  .right-feature-thum {
      height: 200px; /* Adjust height for smaller screens */
  }
   .container{
    background-color: #fff;
  }
  #page .site-content {
    flex-grow: 1;
    background-color: #fff;
  }
}
  /* Tablet View */
  @media only screen and (max-width: 991px) {
  .btn.buttonc{
    font-size:12px;
  }
 .col-md-7 {
    flex: 0 0 auto;
    width: 98.333333% !important;
  }
  #right-row-box {
    margin-top: 21px;
    object-fit: cover;

  }
 .col-md-12 {
    flex: 0 0 auto;
    width: 100% !important;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 100.666667% !important;
    object-fit: cover !important;
  }
}
/* Media Query for 1024px Screens */
  @media only screen and (min-width: 1024px) and (max-width: 1199px) {
    /* Add your CSS rules here for screens with width 1024px */
    .right-content{
    padding: 0px 10px;
  }

}