/* Theme Name: Egovt Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of egovt
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: egovt
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  egovt-child
*/

:root {
  /* Brand colors */
  --primary-color: #09497a;
  --secondary-color: #f07122;
  --green-color: #177b3d;
  --white-color: #f4f6f7;
  --black-color: #2c3e50;
  --link-color: #f07122;
  --link-hcolor: #000000;
  --text-color: #343434;
  --heading-color: #202020;
  --border-radius-20: 20px;
  --background-light-color: #f2f2f2;
}
h1,
h2,
h3,
h4,
h5,
h6,
.nav_comment_text {
  color: var(--primary-color);
}
ol,
ul {
  padding: 0 0 0 22px;
}
a {
  color: var(--link-color);
}
a:hover {
  color: var(--link-hcolor);
}
.home .home-title-hide {
  display: none;
  visibility: hidden;
  height: 0px;
  width: 0px;
}
p {
  line-height: inherit;
  margin: 0 0 20px 0;
}
p:last-child {
  margin: 0px;
}
b,
strong {
  font-weight: 600;
}
.elementor-button {
  text-align: inherit;
}
.ova_box_feature_2 .readmore a {
  border-radius: 8px;
}
.ova_box_feature_2 {
  height: 100%;
}
bg-white-full-right:after {
  position: absolute;
  content: "";
  width: 3000px;
  height: 1000px;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 20px;
}
.program-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 30px -15px 15px;
  justify-content: center;
}
.program-grid .program-item {
  width: 33.33%;
  padding: 0 15px 30px;
  transition: all 0.3s;
}

.program-grid .program-content {
  position: relative;
  display: block;
  box-shadow: 0px 10px 40px 0px rgba(6, 22, 58, 0.1);
  overflow: hidden;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius-20);
  height: 100%;
}

.program-grid .program-featured-image {
  margin: -20px;
  margin-bottom: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.program-grid .program-featured-image .program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.program-grid .program-item:hover .program-img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.program-grid .program-content .program-icon {
  position: absolute;
  top: 0;
  right: 0px;
  z-index: 1;
}
.program-grid .program-icon .p-icon {
  position: relative;
  width: 110px;
  height: 85px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  align-content: center;
  justify-content: center;
  border-bottom-left-radius: 20px;
}
.program-grid .program-icon .p-icon img {
  width: auto;
  height: 55px;
}
.program-grid .program-title {
  margin: 30px 0 20px;
  font-size: 22px;
  color: var(--primary-color);
  line-height: 1.3;
}
.program-grid a {
  color: var(--primary-color);
}
.program-grid a:hover {
  color: var(--secondary-color);
}
.program-grid .program-cta {
  margin-top: 20px;
}
.program-grid .program-cta .program-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-style: none;
  border-radius: 8px;
  padding: 12px 24px;
  display: block;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  transition: all 0.3s;
}
.program-grid .program-cta .program-button:hover,
.program-grid .program-cta .program-button:focus {
  background-color: var(--secondary-color);
  color: var(--white-color);
}
ul.list-style {
  margin: 20px 0;
  list-style: none;
  padding: 0;
}
ul.list-style li {
  padding: 0;
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
ul.list-style li:before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
}
.page-container,
.ova_sev_wrap {
  padding: 60px 0 20px;
}
.single-program .program-wrap,
.resources-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
  width: 100%;
  margin-bottom: 40px;
}
.program-wrap .program-scontent {
  width: calc(100% - 340px);
  padding-right: 50px;
}
.program-wrap .program-sidebar {
  max-width: 340px;
  flex: 0 0 340px;
}
.program-wrap .program-sidebar .sidebar-info {
  position: sticky;
  top: 150px;
  left: 0;
  margin-bottom: 40px;
  background-color: var(--primary-color);
  padding: 30px;
  color: var(--white-color);
  border-radius: var(--border-radius-20);
}

.sidebar-info a {
  color: inherit;
}
.sidebar-info .contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}
.sidebar-info .contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}
.sidebar-info .contact-info li {
  margin-bottom: 10px;
}
.sidebar-info .contact-info li strong {
  display: block;
}
.rsingle-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.rsingle-wrapper .resource-content {
  width: calc(100% - 340px);
  padding-left: 30px;
}
.rsingle-wrapper .resource-meta {
  max-width: 340px;
  flex: 0 0 340px;
}
.rsingle-wrapper .resource-meta .meta-inner {
  position: sticky;
  top: 150px;
  left: 0;
  margin-bottom: 40px;
  background-color: var(--background-light-color);
  padding: 30px;
  border-radius: var(--border-radius-20);
}
.btn {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2em;
  border-radius: 8px;
  padding: 12px 24px 12px 24px;
  letter-spacing: 0.5px;
}
.btn:focus,
.btn.focus {
  outline: 0;
  box-shadow: none;
}
.btn-white {
  color: var(--primary-color) !important;
  background-color: var(--white-color);
  border-color: var(--white-color);
}
.btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-white:hover,
.btn-white:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color) !important;
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.sidebar-info .sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgb(255 255 255 / 34%);
}
.sidebar-title.title {
  font-size: 30px;
  border: none;
  text-transform: none;
  line-height: 1.2;
}
.sidebar-info .sidebar-block {
  margin-bottom: 30px;
}
.sidebar-info .sidebar-block:last-child {
  margin-bottom: 0;
}
.sidebar-block .program-icon img {
  width: auto;
  max-height: 130px;
  margin-bottom: 15px;
}
.program-scontent .program-description {
  margin-top: 30px;
}
.wrap_site,
.ova_dep_wrap,
.ova_team_single,
.archive_team,
.wrap-portfolio {
  padding: 50px 10px;
  margin-bottom: 0;
}
.blog-grid + .pagination-wrapper {
  margin: 0;
  padding: 0;
}
.blog_pagination .pagination {
  padding: 20px 0 60px 0;
}
.blog-grid article.post-wrap .post-meta-grid .post-meta-content-grid a,
.blog-grid article.post-wrap .post-meta-grid .post-meta-content-grid span {
  font-size: 14px;
  line-height: 1.2;
  color: #62718d;
  padding: 0px;
}
.blog-grid article.post-wrap .post-meta-grid {
  margin: 15px 0;
}

.blog-grid article.post-wrap .post-title h2.post-title a,
.blog-grid article.post-wrap .post-title h2.post-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--primary-color);
}
.blog-grid article.post-wrap .post-title h2.post-title a:hover {
  color: var(--secondary-color);
}
.contact-form-egovt .con {
  margin-left: -10px;
  margin-right: -10px;
}
.contact-form-egovt .con .input {
  padding: 0 10px;
}
.contact-form-egovt .con .input.w100 {
  width: 100%;
}
.contact-form-egovt .con .wpcf7-form-control-wrap textarea,
.contact-form-egovt .con .input .wpcf7-form-control-wrap input,
.wpcf7-form-control {
  width: 100%;
  border: 1px solid #e5e5e5;
  padding: 10px 15px 10px 15px;
  font-size: 15px;
  color: var(--text-color);
  letter-spacing: 0;
  line-height: normal;
  height: auto;
}
.contact-form-egovt .con .wpcf7-form-control-wrap textarea:focus,
.contact-form-egovt .con .wpcf7-form-control-wrap textarea:focus-visible,
.contact-form-egovt .con .input .wpcf7-form-control-wrap input:focus,
.wpcf7-form-control:focus {
  border-color: var(--secondary-color);
  outline: none;
}
.contact-form-egovt input[type="submit"] {
  border: none;
  transition: 0.2s;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: 0.5px;
  color: var(--white-color);
  border-style: none;
  border-radius: 8px 8px 8px 8px;
  padding: 12px 24px 12px 24px;
  margin: 0;
  height: auto;
  background-color: var(--primary-color);
  width: auto;
}
.contact-form-egovt input[type="submit"]:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}
.ova-contact-info.type2 .address .text_link,
.ova-contact-info.type2 .address .text_link a {
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}
.ova-contact-info.type2 .address .sub_text_link {
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #7d7d7d !important;
  font-weight: 500 !important;
  margin-bottom: 4px;
}
.ova_feature_box_3 {
  height: 100%;
}
.ova_feature_box_3 .readmore a {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--white-color);
  font-weight: 400;
  display: inline-block;
  height: auto;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 8px 8px 8px 8px;
  padding: 12px 24px 12px 24px;
  background-color: var(--primary-color);
}
.ova_feature_box_3 .readmore a:hover {
  background: var(--secondary-color);
}
.egovt_404_page {
  padding: 60px;
  margin: 0px;
}
.container-event {
  padding: 50px 15px;
}
article.post-wrap .post-media img {
  width: auto;
  transition: 0.4s;
}
.partners-wrapper,
.partner-group-warpper {
  margin: 30px 0;
}
h2.partner-group-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--heading-color);
  text-transform: uppercase;
}
h2.partner-group-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background-color: var(--secondary-color);
  margin: 15px 0;
  border-radius: 100px;
}
.partner-items-list {
  display: flex;
  flex-wrap: wrap;
  margin: 30px -15px 15px;
}
.partner-row-item {
  width: 33.33%;
  padding: 0 15px 30px;
  transition: all 0.3s;
}
.partner-row-item .partner-content {
  position: relative;
  display: block;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius-20);
  height: 100%;
  transition: all 0.3s;
  font-size: 14px;
  line-height: 1.6;
}
.partner-row-item .partner-content:hover {
  border-color: var(--secondary-color);
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.16);
}
.partner-row-item .partner-logo {
  text-align: center;
  margin-bottom: 20px;
}
.partner-row-item .partner-featured-img {
  max-width: 100%;
}
h3.partner-entry-title {
  font-size: 22px;
  font-weight: 600;
}

.partner-btn-wrap .partner-btn {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-btn-wrap .partner-btn i {
  color: var(--primary-color);
}
.resources-sidebar {
  min-width: 315px;
  flex: 0 0 315px;
  margin-bottom: 30px;
}

.resources-content {
  width: calc(100% - 315px);
  padding-left: 25px;
}
.resources-sidebar .filters-rwrapper {
  position: sticky;
  top: 150px;
  left: 0;
  margin-bottom: 40px;
  background-color: var(--background-light-color);
  padding: 25px;
  border-radius: var(--border-radius-20);
}
.resource-filters label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 0 5px;
}
.resources-wrapper {
  padding: 0px;
}
.resource-grid {
  display: flex;
  flex-wrap: wrap;
}
.resource-grid .resource-card {
  width: 50%;
  padding: 0 15px 30px;
  transition: all 0.3s;
}
.resource-grid .resource-card .resource-content {
  position: relative;
  display: block;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius-20);
  height: 100%;
  transition: all 0.3s;
  font-size: 14px;
  line-height: 1.5;
}
.resource-grid .resource-card .resource-content:hover {
  border-color: var(--secondary-color);
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.16);
}
.custom-select-box {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.custom-select-box select {
  width: 100%;
  height: 45px;
  padding: 0 40px 0 15px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition: all 0.3s ease;
}

.custom-select-box select::-ms-expand {
  display: none;
}

.custom-select-box select:hover {
  border-color: var(--secondary-color);
}

.custom-select-box select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: none;
}

.custom-select-box::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--primary-color);

  /* Prevents the arrow from blocking click events on the select box */
  pointer-events: none;
}
.resource-filter-buttons button {
  cursor: pointer;
}
.resource-filter-buttons button:focus {
  outline: none;
}
.custom-select-box:focus-within::after {
  border-top-color: var(--secondary-color);
}
.resource-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}
.resource-grid .resource-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.resource-grid .resource-category span {
  font-size: 13px;
  font-weight: 500;
  background-color: #e7e7e7;
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 8px;
}
.resource-grid .resource-image {
  margin: -20px -20px 20px -20px;
}
.resource-grid .resource-title {
  font-size: 20px;
  margin: 15px 0 5px;
  font-weight: 600;
}
h6.grid-subheading {
  font-size: 14px !important;
  text-transform: uppercase;
  margin: 5px 0 0;
}
.resource-grid .grid-block {
  margin: 15px 0;
}
nav .page-numbers li .page-numbers {
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-shadow: none;
}
nav .page-numbers li .page-numbers:hover,
nav .page-numbers li .page-numbers:focus,
nav .page-numbers li .page-numbers.current {
  background-color: var(--primary-color);
  color: #fff;
}
.pagination-wrapper {
  margin: 0px 0px 30px 0px;
  padding-top: 10px;
}
.blog-grid article.post-wrap .wrap-article {
  border-radius: var(--border-radius-20);
  overflow: hidden;
}
.sidebar .widget.widget_categories {
  background-color: var(--background-light-color);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 30px;
}
.sidebar .widget h4.widget-title {
  font-size: 16px;
  line-height: 1.2em;
  color: #333333;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 0;
  border: none;
  letter-spacing: 0.5px;
}
.sidebar .widget ul li a {
  font-size: 15px;
  line-height: 1.2;
  color: #000000;
}
.resource-single, .resource-archive-content {
  padding: 50px 0;
}
.resource-meta .resource-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.resource-meta .resource-cat > a {
  font-size: 13px;
  font-weight: 500;
  background-color: #e7e7e7;
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.resource-meta .resource-cat > a:hover{
  background-color: var(--primary-color);
    color: #fff;
}
.resource-featured-image{margin-bottom: 20px;}
.resource-maincontent{margin: 20px 0;}
.resource-featured-image img{border-radius: var(--border-radius-20);}
.meta-inner .meta-block{margin-bottom: 25px;}
.meta-inner .meta-block:last-child{margin-bottom: 0px;}
.meta-block .meta-title{
      font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.resource-action{margin-top: 40px;}
.js-video.postformat_video{
    position: relative;
    display: block;
    width: 100%;
    padding: 0;

}
.js-video.postformat_video:before{
	display: block;
    content: "";
    padding-top: 56.25%;
}
.js-video.postformat_video iframe{
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 1024px) {
}
@media (max-width: 1023px) {
  .program-grid .program-item,
  .partner-row-item {
    width: 50%;
  }

  .program-wrap .program-scontent {
    width: 100%;
    padding-right: 0px;
  }
  .program-wrap .program-sidebar {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .program-wrap .program-sidebar .sidebar-info {
    margin: 0;
  }
  .program-wrap .program-scontent {
    margin-bottom: 40px;
  }
  .resource-grid .resource-card {
    width: 100%;
  }
  .resources-sidebar {
    min-width: 250px;
    flex: 0 0 250px;
    margin-bottom: 30px;
  }
  .resources-content {
    width: calc(100% - 250px);
    padding-left: 15px;
  }
  .resources-sidebar .filters-rwrapper {
    padding: 15px;
  }
}
@media (max-width: 767px) {
  .program-grid .program-item, .partner-row-item {
    width: 100%;
  }
  .program-grid .program-title {
    font-size: 18px;
  }
  .rsingle-wrapper .resource-meta {
    flex: 100%;
    max-width: 100%;
  }
  .rsingle-wrapper .resource-content {
    padding-left: 0;
    width: 100%;
    padding: 0;
  }
}
@media (max-width: 600px) {
  .resources-wrapper {
    padding: 15px;
  }
  .resources-sidebar,
  .rsingle-wrapper .resource-meta {
    flex: 100%;
  }
  .resources-content,
  .rsingle-wrapper .resource-content {
    padding-left: 0;
    width: 100%;
    padding: 0;
  }
  .resources-sidebar .filters-rwrapper {
    position: relative;
    top: 0;
    margin-bottom: 15px;
  }
  .resource-grid .resource-card {
    width: 100%;
    padding: 0;
    margin-bottom: 15px;
  }
}
