
.page-link {
    color: #00244c;

}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #00244c;
    border-color: #00244c;
}
/*********Blog*******/
p{
    line-height:1.4;
}
#secondary .recent_post li {
  display: flex;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(136, 136, 136, 0.3);
}
.recent_post li img {
  border-radius: 5px;
  margin-right: 10px;
  width: 70px;
}
.recent_post li a {
  font-family: var(--font-secondary);
  font-weight: bold;
  color: var(--color-accent-secondary-2) !important;
  flex: 0 0 80%;
}
.postsbycategory {
  padding-left: 0;
}
.cat-item a {
  color: #222;
}
.blog_date {
  color: #888;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  align-items: center;
}
.blog_date img {
  width: 20px !important;
  margin-right: 5px;
}

.blog_tittle a {
  color: #111;
}
.blog_tittle {
  font-size: 20px;
  line-height: 24px;
}
.blog_tittle a:hover {
  color: #00244c;
}
.two_column_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  margin: 0 auto;
}
.three_column_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
  margin: 0 auto;
}

.widget-title {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  word-break: break-word;
  z-index: 1;
}
.widget-title:first-child::after {
  content: "";
  width: 100%;
  height: 1px;
  top: 14px;
  border-top: 1px solid #00244c;
  margin: 0 0 0 30px;
  flex: 1 0 20px;
}
.post-title{
    font-size: 0.8vw;
    line-height: 1.4;
}
.post_img {
  margin-bottom: 20px;
}
.post_detail {
  margin-bottom: 40px;
}
.post_detail ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  gap: 15px;
}
.post_detail ul li {
  font-size: 14px;
  display: flex;
  align-items: center;
}
.post_detail ul li:last-child {
  margin-right: 0;
}
.post_detail ul li img {
  width: 20px;
  margin-right: 7px;
}

/*masonary blog**/
.blog-page .grid-item {
  margin-bottom: 20px;
  padding: 10px;
}

.post-img {
  overflow: hidden;
}
.blog-page .page-item .page-numbers {
  padding: 0.375rem 0.75rem;
  color: #00244c;
  border: 1px solid #ddd;
  background-color: #fff;
}
.blog-page .page-item .page-numbers.current {
  color: #fff;
  border: 1px solid #00244c;
  background-color: #00244c;
}
.masonry.sm-grid .grid-sm-boxes-in .grid-sm-border:hover .img-responsive,
.post-img:hover img {
  transform: scale(1.2);
  transition: ease all 0.5s;
}
.masonry.sm-grid .grid-sm-boxes-in .grid-sm-border .img-responsive,
.post-img img {
  overflow: hidden;
  height: 100%;
  width: 100%;
  transform: scale(1);
  transition: ease all 0.5s;
  display: block;
}
.blog_desc{
    font-size: 0.8vw;
    line-height:1.4;
}

.blogpage .btn {
  border-radius: 0;
  font-size: 0.7vw;
  text-transform: uppercase;
  padding: 0.5vw 1vw;
  letter-spacing: 4px;
  background-color: #00244c !important;
  border: 1px solid #00244c !important;
}
.read-more {
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 1px;
  transition: all 0.3s;
  background-color: #00244c;
  border: 1px solid #00244c;
}
.blog_date{
    font-size: 0.7vw;
}
/*************Media Queries***************/

/* ============ desktop view .end// ============ */

@media only screen and (max-width: 1199px) {
  .sec-padd {
    padding: 50px 0;
  }
  .sec-padd-top {
    padding-top: 50px;
  }
  .sec-padd-bot {
    padding-bottom: 50px;
  }
  .title-box h3 {
    font-size: 20px !important;
  }

  .section-title,
  h2 {
    font-size: 25px !important;
  }
  .btn {
    padding: 6px 13px;
    font-size: 10px;
    line-height: 20px;
  }
  .sp-pcp-post-content p,
  .blog_desc {
    font-size: 14px;
  }
  .blog_date{
    font-size: 12px;
  }
  .subhead {
    font-size: 18px;
  }
  .post-title{
    font-size:16px;
}
}

@media only screen and (max-width: 991px) {
  .sec-padd {
    padding: 30px 0;
  }

  .sec-padd-top {
    padding-top: 30px;
  }
  .sec-padd-bot {
    padding-bottom: 30px;
  }
  .sec-mar {
    margin: 30px 0;
  }
  .mt-60 {
    margin-top: 30px;
  }
  .section-title,
  .h2,
  h2 {
    font-size: 35px !important;
  }
  .conf-title {
    font-size: 17px;
  }
  .round-btn {
    font-size: 13px;
    line-height: 23px;
  }

  #secondary {
    margin-top: 25px;
  }
  .widget {
    margin-bottom: 30px;
  }
  .three_column_grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 767px) {
  .section-title,
  .h2,
  h2 {
    font-size: 26px !important;
  }
  .blog-page .grid-item {
    width: 100%;
  }
  .wpb-posts-nav {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
}

@media only screen and (max-width: 420px) {
  .two_column_grid {
    grid-template-columns: 1fr;
  }
  .three_column_grid {
    grid-template-columns: 1fr;
  }
}
