.ui-widget.ui-widget-content{
  max-height: 112px;
  overflow: hidden;
  background: #FDF7EB;
  border-radius: 4px;
  z-index: 9999;
}
.ui-menu .ui-menu-item-wrapper{
  display: block;
  font-family: "Montserrat", sans-serif;
}
.ui-menu .ui-menu-item-wrapper:hover,.ui-menu .ui-menu-item-wrapper.ui-state-active{
  border: none;
  background: #01344b;
}
.ui-menu .ui-menu-item-wrapper b{
  color: #01344b;
}
.ui-menu .ui-menu-item-wrapper:hover b,.ui-menu .ui-menu-item-wrapper.ui-state-active b{
  color: #fff;
}
.portfolio-card__wrapper-media{
  background: #F1ECE1;
  border-radius: 40px;
}
.portfolio-card .portfolio-card__link .portfolio-card__content .h4{
  color: #01344b !important;
  font-weight: bold;
}
@media (min-width: 575.98px) {
  .portfolio-card .portfolio-card__link .portfolio-card__content .h4{
    height: 100%;
    min-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}
@media (max-width:768px) {
  .ui-widget.ui-widget-content{
    max-height: 97px;
  }
}

/* Search Popup */
body.popup-search-show{
  overflow: hidden;
}
body.popup-search-show #page-header{
  background: rgb(253, 247, 235);
}
body.popup-search-show #page-header .header__bar{
  transform: none !important;
  background: rgb(253, 247, 235);
}
#page-header{
  position: relative;
  z-index: 9999;
}
#search_popup.search-popup-show{
  top: -1px;
  z-index: 9999 !important;
}
.admin-bar #search_popup.search-popup-show{
  top: 10px;
}

body.popup-search-show #page-header {
  z-index: 9999 !important;
  background-color: transparent !important;
}

body.popup-search-show header .header__wrapper-overlay-menu {
  display: none;
  z-index: 1 !important;
}

.mfp-fade.mfp-bg.mfp-ready{
  z-index: 99999;
}

.mfp-fade.mfp-wrap{
  z-index: 999999;
}



.search-popup-global {
    width: 100%;
    padding: 30px 4vw;
    margin: auto;
    height: 100%;
}
.search-popup-global .wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.search-popup-global .project-search-form {
    max-width: 730px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    padding: 30px 0;
    width: 100%;
}
.search-popup-global .project-search-form input {
    padding: 12px 50px 12px 30px;
    border: 0;
    outline: none;
    background: transparent;
    border-radius: 30px;
    width: 100%;
}
.search-popup-global .project-search-form .project-search-button {
    position: absolute;
    padding: 5px;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    border: 0;
    background: transparent;
    font-size: 24px;
    color: #333;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}
.search-popup-global .project-search-form svg {
    width: 1em;
    height: 1em;
}
.global-search-result{
  position: relative;
  min-height: 100px;
  padding: 30px 0;
  overflow: auto;
  max-height: calc(100vh - 300px);
}

.loading-ajax{
  position: absolute;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: none;
  top: 0;
  left: 0;
}

#temp-search-result{
  max-width: 1080px;
  margin: auto;
}

.global-search-result.loading{
  opacity: 0.6;
}
.global-search-result.loading .loading-ajax{
  display: flex;
}

.loading-ajax img{
  max-width: 40px;
}

.item-pp{
  gap: 20px;
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #c0c0c0;
}

.item-pp:last-child{
  border-bottom: none;
}

.img-pp{
  width: 30%;
}

.img-pp img{
  border-radius: 8px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.info-pp{
  width: 70%;
}

.info-pp h4{
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 0;
  color: #01344b !important;
  font-weight: bold;
}

.not-found_posts{
  color: #01344b;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1.3px;
  padding: 10px;
  position: fixed;
  bottom:50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%)
}

.not-found_posts .btn-404{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
}

.not-found_posts .btn-404 a{
  font-size: 16px;
  background: #01344b;
  color: #fff;
  border-radius: 30px;
  letter-spacing: 2.3px;
}

@media (max-width: 768px){
  .img-pp img {
      height: 120px;
  }
  .info-pp h4{
    font-size: 24px;
  }
  .not-found_posts{
    font-size: 16px;
  }
  .not-found_posts .btn-404 {
      flex-wrap: wrap;
      gap: 20px;
  }
  .not-found_posts .btn-404 a{
    font-size: 14px;
  }
}

/* Search Popup */

/*Custom theme*/
.home .section-portfolio-headings-centered__desc{
  max-width: 615px;
  margin-left: auto;
  margin-right: auto;
  color: #757982;
}

@media (max-width: 1320px) and (min-width: 801px){
  body.page-template-project-detail-2 .hero-section h2.title-custom-rp {
      font-size: 55px;
      white-space: nowrap;
  }
  body.page-template-project-detail-2 .hero-section div.h4{
    font-size: 35px;
  }
  body.page-template-project-detail-2 .content-section .section h2{
    font-size: 30px;
  }
}

@media only screen and (min-width: 992px) {
  .be-filter-project .feature-project{
    /* margin-top: -116px; */
    padding-bottom: 215px;
    padding-top: 5px;
  }
}

@media only screen and (max-width: 768px) {
  .header__bar[data-arts-header-logo="secondary"] .logo__img-primary{
    width: 135px;
  }
  header .search-btn svg{
    width: 25px;
  }
  .home .section-portfolio-headings-centered .container{
    padding: 0 5px;
  }
  .home .section-portfolio-headings-centered .section-portfolio__heading h2{
    font-weight: 900 !important;
    line-height: 60px;
    font-size: 48px !important;
  }
  body.page-template-homepage .section-portfolio__heading .heading {
      padding-top: 17px;
      padding-bottom: 46px;
  }
  .home .section-portfolio-headings-centered__link.hover-zoom{
    border-radius: 18px;
  }
  body.page-template-homepage .section-portfolio-headings-centered__link h2 br{
    display: none;
  }
  .btn-primary{
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 800;
    font-stretch: normal;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.87px;
    text-align: center;
  }
  .home .creative-partner .container{
    position: relative;
    z-index: 2;
  }
  body.page-template-homepage .creative-partner__content--item .item-img img{
    height: 100%;
  }
  body.page-template-homepage .creative-partner__content--item .item-title{
    margin-top: 30px;
    margin-bottom: 0;
  }
  .footer__column3{
    display: none;
  }
  .footer__column1--info br{
    display: none;
  }
  .footer__column1--info p{
    margin-bottom: 0;
  }
  .footer__top img{
    width: 70px;
  }
  .footer__top::after{
    width: calc(100% - 100px);
  }
  .footer__column1--social .social-item i {
      color: #01344b;
  }
  .footer__column2 .gform_wrapper .gform_title{
    font-size: 21px;
  }
  .footer__column2 .gform_wrapper .gform-body .gform_fields .gfield label{
    color: #01344b;
    position: absolute;
    font-size: 15px;
    top: 16px;
    left: 12px;
  }
  .footer__column2 .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]){
    padding-left: 70px;
    font-size: 14px;
  }
  header .header__wrapper-overlay-menu .header__overlay-inner{
    border-radius: 24px;
  }
  header .header__wrapper-overlay-menu .header__overlay-inner .text-start{
    margin-top: 90px;
  }
  header ul.main-menu{
    padding-left: 2rem;
  }
  header ul.main-menu>li>a{
    padding: 20px 0;
  }
  .header__burger_opened .header__burger-line:nth-of-type(1), .header__burger_opened .pswp-custom-button__close-line:nth-of-type(1), .header__burger_opened:hover .header__burger-line:nth-of-type(1),
  .header__burger_opened .header__burger-line:nth-of-type(2), .header__burger_opened .pswp-custom-button__close-line:nth-of-type(2), .header__burger_opened:hover .header__burger-line:nth-of-type(2){
    width: 24px;
  }
}

@media only screen and (max-width: 414px) {
  .home .section-portfolio-headings-centered .section-portfolio__heading h2{
    font-size: 40px !important;
    line-height: 45px;
  }
  .footer__column1--info p{
    font-size: 16px;
  }
}

/*Custom theme*/

@media screen and (max-width: 991px) {
    .filter__inner {
        width: 100%;
        overflow-x: unset;
    }
    .filter__inner .row {
        width: auto;
        padding-left: 0px !important;
    }
    .filter .filter__item:first-child {
        padding-top: 0.5em;
    }
    .filter .filter__item, body.blog .filter__cate {
        display: inline-block;
        width: auto;
    }
}

button#load-more {
    display: inline-block;
    padding: 16px 36px;
    font-family: "Montserrat", sans-serif;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1.52px;
    text-align: center;
    color: #fdf7eb;
    background-color: #01344b !important;
    border-radius: 29px;
    transition: all 0.3s;
    line-height: normal;
    border: none;
}
button#load-more:hover {
    background-color: #f05b24 !important;
    color: #fdf7eb;
}

@media (max-width:768px){
  button#load-more {
    margin-top: 20px;
  }
}
