/** Case study page CSS **/
.publish-date-category {
    margin: 30px 0 0 0 !important;
}
.cs-content-desc h2 {
    font-size: 28px !important;
}
.cs-post-title h2 {
  font-size: 35px !important;
}
.cs-content-desc h3 {
    font-size: 24px !important;
}
.case-study-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
   
}
.social-share {
    padding: 5px
}

.social-share .share-list {
    display: flex;
    flex-direction: row
}

.share-list i {
    color: #fff
}
.social-share .share-list a {
    border-radius: 100px;
    width: 35px;
    height: 35px;
    padding: 9px;
    margin: 5px 5px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}
.col-md-4.rec-cs-thumb-col {
    display: flex;
    align-items: center;
}
.rec-cs-thumb-col img {
    border-radius: 5px;
}
.cs-master-banner img {
    border-radius: 5px;
}

.ast-plain-container, .ast-page-builder-template {
  background-color: #fff !important;
}
.button-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.case-study-title {
  color: #000;
}

.case-study-title:hover, .case-study-title:focus {
  color: #000;
}

.case-study-blog-item .cat {
    text-transform: capitalize;
}

button#load_more_case_studies {
    border: 1px solid #000;
}
button#load_more_case_studies:hover {
    border: 1px solid #000;
}

/**.banner img {
    width: 100%;
    height: auto;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}**/
.case-study-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    background-color: rgba(0, 0, 0, 0.5);
    
}
.case-study-banner-title {
    position: absolute;
    top: 40%;
    left: 10%;
   /* transform: translate(-50%, -50%);*/
    color: #fff;
    font-size: 60px;
    font-family: "MyriadPro", sans-serif;
}

body {
    font-family: "MyriadPro", sans-serif;
    margin: 0;
    padding: 0;
}
.case-study-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.case-study-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    justify-items: start;
    justify-content: space-between;
}

.case-study-blog-item {
    background-color: #f9f9f9;
    padding: 0px; /*20px before*/
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.case-study-blog-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    
}

.case-study-blog-item h2 {
    font-size: 20px !important;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px 37px;
}

.case-study-blog-item p {
    font-size: 16px;
    color: #000000;
    padding: 8px 37px;
}

.case-study-read-more {
    display: inline-block;
    color: #000000;
    padding: 8px 55px 20px;/*before 16px*/
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    margin-left: -17px;
    margin-bottom: 22px;
}
 .case-study-read-more:hover
  {
    color:#000000 !important;
  }
 .blog-info .cat 
 {
    color: #666;
  }

/* b-dev */

#main-content {
	margin-bottom:4rem;	
}

.cs-post-content-section p a:hover, .cs-post-content-section ul li a:hover{
	color:#000 !important;
}

#main-content .csbtn-1 a:hover{
		transition: 0.4s !important;
    background: #000 !important;
    color: #fff !important;
}

/* end b-dev */
/*search box css*/
.case-study-search {
  overflow: hidden;
  background-color: #ffffff;
  padding-bottom: 29px;
}

.case-study-search a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.case-study-search a.active {
  background-color: #2196F3;
  color: white;
}

.case-study-search .case-study-search-container {
  float: right;
  padding-bottom: 22px;
  position: relative;
}

.case-study-search input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 14px;
  border-radius: 7px;
  background-color: #F5F5F7;
  border-color: #7A7A7A;
  border-width: 1px;

}

.case-study-search .case-study-search-container button {
  position: absolute;
  background: no-repeat;
  font-size: 15px;
  color: #7A7A7A;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
  padding: 10px;
  right: 0;
  top: 42%;
} 
/*.case-study-search button {
      position: absolute;
      right: 5px; /* Adjust this value as needed 
      top: 50%;
      transform: translateY(-50%);
      border: none;
      background: none;
      color: #aaa;
      cursor: pointer;
    }*/

.case-study-search .case-study-search-container button:hover {
  background: none;
}
/**.case-study-load-more{
    width: 151px;
    align-items: center;
    margin-top: 37px;
    border-radius: 13px;
    padding: 7px;
    justify-items: center;
    text-align: center;
    display: inline-block;
    margin-left: 45%;
    
}**/
.case-study-load-more {
    width: 151px;
    align-items: center;
    margin-top: 37px;
    border-width: 1px;
    border-radius: 13px;
    padding: 8px;
    color: black;
    justify-items: center;
    text-align: center;
    display: inline-block;
    margin-left: 45%;
    margin-bottom: 22px;
}
.loading-spinner {
    border: 4px solid rgba(216, 37, 37, 0.1);
    border-left-color: #424eb8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 50%;
    display: flex;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* b-css */

/* Main css */

.cs-master-banner img{
  width: 100%;
}
.cs_categ a{
  color: #000 !important;
}
.cs_categ a:hover{
  color:#2196F3 !important;
}

.cs-recent-post-row{
  padding: 6px;
}
.header-cs-top{
  height: 100px;
}
.cs-header-background{
  height: 100px;
  background-color: #000;
}
/* recent CS list  */
.rec-blog-thumb-col{
  /* padding: 5px !important; */
    width: 36.333333%;
  }
  .rec-blog-cont-col{
    margin-left: -10px !important;
    margin-top: -7px !important;
    padding: 5px !important;
  }
  .recent-title h5 a {
    font-family: "MyriadPro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 2px !important;
    color: #000;
  }
  .recent-short-details .recent-title h5{
    line-height: 16px; 
  }
  .recent-excert p{
    font-size: 14px;
    line-height: 18px;
    font-family: "MyriadPro", sans-serif !important;
  }
  .recent-short-details p a{
    color: #000;
    font-family: "MyriadPro", sans-serif !important;
  }
/* end b-css */

/*media query for mobile view*/
@media screen and (max-width: 600px)  {
    .case-study-banner img
  {
    width: 100%;
    height: 49%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  } 
  .case-study-banner-title 
  {
    position: absolute;
    top: 42%;   
  }  
  .case-study-banner-overlay
  { 
    position: absolute;
    top: 0;
    left: 0;
    height: 49%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .case-study-container
  {
      max-width: 1200px;
      background-color: #ffffff;
      /**margin: -326px auto;**/
  }
  .case-study-blog-grid
  {
      margin: 10px;
  }
  .case-study-search .search-container
  {
      float: none;
  }
  .case-study-search a, .case-study-search input[type=text], .case-study-search .search-container button 
  {
    float: inline-end;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0px;
    padding: 14px;
  }
  .case-study-search input[type=text] 
  {
      border: 1px solid #ccc;  
  }
  .case-study-search .case-study-search-container button
  {
    top: 36%;
  }
  .case-study-search .case-study-search-container 
  {
      float: right;
      width: 96%;
      margin-right: 6px;
      padding-bottom: 22px;
  }
  .case-study-load-more
  {
    margin-left: 119px;
  }
}

@media (max-width:768px){
 /* b-dev */
 .cs-header-background {
  height: 70px;
  background-color: #000;
  }
  .recent-title{
    margin-top: 1rem;
  }
  .recent-title h5 a{
    font-size: 18px !important;
    line-height: 1.5;
  }
/* end b-dev */
}

/*media query for tablet view*/
@media screen and (max-width: 768px){
  .case-study-banner-title 
  {
      font-size: 1.5rem;
  }  
  .case-study-banner img
  {
    width: 100%;
    height: 49%;
  } 
 
}
