/* case study */

@font-face {
    font-family: 'ProximaNova-Bold';
    src: url('../fonts/ProximaNova-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    /*font-display: swap;*/
  }
  @font-face {
    font-family: 'ProximaNova-Extrabld';
    src: url('../fonts/ProximaNova-Extrabld.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    /*font-display: swap;*/
  }
  @font-face {
    font-family: 'ProximaNova-Regular';
    src: url('../fonts/ProximaNova-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    /*font-display: swap;*/
  }


.case-s-info { display: none;}
body.page-template-template-case-study section.portfolio-main .wrap {  max-width: 100% !important; padding: 0;}
/* body.page-template-template-case-study .portfolio-main #page-heading {   padding: 40px 0px 20px 10px;  text-align: center;  max-width: 1092px; margin: 0 auto;} */
body.page-template-template-case-study .portfolio-item div.overlay {    background-color: rgb(80 80 80 / 30%); transition: 0.6s all ease-in-out; opacity: unset;}
body.page-template-template-case-study .portfolio-item:hover div.overlay { background: rgb(0 0 0 / 68%);}
body.page-template-template-case-study .portfolio-item:hover:after {background-color: inherit;  transform: scale(1.5);    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);}
body.page-template-template-case-study .portfolio-item div.overlay>header { justify-content: flex-end;  align-items: center;}
body.page-template-template-case-study .portfolio-content .portfolio-item:hover header h3 {transform: scale(1);}
body.page-template-template-case-study .portfolio-item div.overlay>header h3 { transform: translateY(0px) !important;  transition: 0.4s all ease-in-out;  font-family: 'ProximaNova-Extrabld', Arial;}
body.page-template-template-case-study.portfolio-main #page-heading { padding: 40px 0px 20px 10px; text-align: center;  max-width:1060px;  margin: 0 auto;}
body.page-template-template-case-study .overlay .case-s-info { display: flex;  justify-content: center; align-items: center; height: 100%; z-index: 999;  color: #fff;}
body.page-template-template-case-study .case-s-info { position: absolute; top: 50%; left: 50%;  transform: translate(-50%, -50%) scale(1);  color: #fff; transition: all 0.6s ease;text-align: center;}
body.page-template-template-case-study .case-s-info h4 { font-size: 100px; color: #fff;line-height: 91px; font-weight: 600; font-family: 'ProximaNova-Extrabld', Arial; display: flex; justify-content: center;}
body.page-template-template-case-study .case-s-info span { font-size: 18px;font-family: 'ProximaNova-Extrabold', Arial;display: block;}
body.page-template-template-case-study .case-s-info p{font-size: 20px;font-family: 'ProximaNova-Extrabold', Arial;}
body.page-template-template-case-study .portfolio-content .portfolio-item img { transition: transform 0.6s,scale(1.3);}
body.page-template-template-case-study .portfolio-content .portfolio-item:hover img { transform: scale(1);}
body.page-template-template-case-study .new-case-study-design .portfolio-item header h3.post-title {font-size: 21px;font-family: 'ProximaNova-Extrabld', Arial;}
body.page-template-template-case-study .portfolio-content .portfolio-item { margin: 0px!important;}
body.page-template-template-case-study .portfolio-content .portfolio-item{padding: 0;}
body.page-template-template-case-study .portfolio-item div.overlay h3.post-title {line-height: 23px;}
body.page-template-template-case-study .case-study-main-wrap { padding: 0px 0px 72px 0px;}
body.page-template-template-case-study  .casestudy-content img{padding:23px 0px 0px 0px; width: 100%;}
body.page-template-template-case-study .casestudy-content { padding-bottom:20px;}
body.page-template-template-case-study .fl-node-9t0nz7j6g5ae .fl-module-content { margin: 0 20px;}
body.page-template-template-case-study .portfolio-content .portfolio-item {max-width: 100% !important;width: 100% !important;margin: 0 !important;padding: 15px 25px; height: fit-content;} 
body.page-template-template-case-study .portfolio-content .portfolio-item .case-s-info h3{color: #fff; font-family: 'ProximaNova-Extrabld', Arial;}
body.page-template-template-case-study .fl-col.fl-node-ntwe4dkcz95v {width: 100%;}
body.page-template-template-case-study .whatyou-see { background-color: #738942;padding: 50px 20px;}
body.page-template-template-case-study .whatyou-see h2 { color: #fff; font-size: 42px;line-height: 52px; text-align: center;  font-family: 'ProximaNova-Extrabld', Arial;}
html body.page-template-template-case-study .whatyou-see .getproposal-btn a { position: relative; padding: 8px 53px 8px 31px !important;}
html body.page-template-template-case-study .whatyou-see .getproposal-btn a:hover span{color: #fff !important;}
html body.page-template-template-case-study .whatyou-see .getproposal-btn a:hover { background: #738942 !important;  color: #ffffff !important;  border: 2px solid #fff !important;}
body.page-template-template-case-study .whatyou-see .getproposal-btn a:after {  content: "";  position: absolute;  background: url(/wp-content/themes/thrive-agency/images/custom-svg-arrow-white.svg) no-repeat center; width: 20px;height: 20px; right: 22px; top: 13px;}
 body.page-template-template-case-study .whatyou-see p{color:#fff;font-family: 'ProximaNova-regular', Arial;line-height: 35px; font-size: 20px;}
 body.page-template-template-case-study .whatyou-see .fl-module-content {  margin: 0; }
 body.page-template-template-case-study .case-s-info { display:block;  width: 100%;z-index: 1;}
body.page-template-template-case-study sub {
    bottom: 0em;
    font-size: 60px;
    color: #fff;
    line-height: 91px;
    font-family: 'ProximaNova-Extrabld', Arial;
    display: flex;
}
body.page-template-template-case-study .case-study-thumbnail {  position: relative;} 
/* body.page-template-template-case-study .filterable-portfolio {  position: relative; overflow: scroll; height: 500px;} */
body.page-template-template-case-study .case-study-thumbnail img {/*height: 330px; */ object-fit: cover; width: 100%;}
body.page-template-template-case-study div#portfolio-wrap {  overflow: hidden;  position: relative; background: #F8F9FB; height: auto;}
/* #portfolio-wrap .portfolio-content.isotope {   overflow: visible !important;} */
body.page-template-template-case-study .thrive-breadcrumb { display: none;}
body.page-template-template-case-study .casestudy-content .innerwrap figure { width: 90%;text-align: center;}
/*body.page-template-template-case-study .portfolio-content .portfolio-item:hover header h3 { transform: translateY(0) !important;opacity: 1 !important;}*/
body.page-template-template-case-study .portfolio-content .portfolio-item:hover header h3 { transform: translateY(-140px) !important;opacity: 1 !important;font-size: 30px;color: #51c336;line-height: 35px;text-shadow: 0 0 40px #82cf47;}
body.page-template-template-case-study .casestudy-content .innerwrap { padding: 0 30px;}
body.page-template-template-case-study .getproposal-btn{text-align: center;}

body.page-template-template-case-study .portfolio-content {
    overflow: inherit;
    display: block !important;
    max-width: 100%;
    margin: 0;
    display: block;
    float: none;
    width: 100%;
}


.getproposal-btn a { font-family: 'ProximaNova-Extrabld', Arial; font-weight: normal; border-radius: 50px!important;   background: #db7803 !important; border: 2px solid #db7803!important; text-transform: uppercase;   color: #fff;  display: inline-block; font-size: 20px!important;  line-height: 30px !important; letter-spacing: 1px; padding: 8px 20px !important; text-decoration: none; text-shadow: none;}

/* Media query */
@media(min-width:991px) and (max-width:1400px){
    body.page-template-template-case-study .case-s-info h4 {font-size:60px;line-height: normal;}
    body.page-template-template-case-study .case-s-info {  padding: 0px 10px;}
}
    @media(min-width:1024px) and (max-width:1280px){
        body.page-template-template-case-study.case-s-info span {font-size: 16px;}
    }
    @media (min-width:991px) { 
    body.page-template-template-case-study .portfolio-content .portfolio-item .case-s-info h3{display: none;}
    
    body.page-template-template-case-study .portfolio-content .portfolio-item:hover .case-s-info {transform: translate(-50%, -50%) scale(0.7); opacity: 0.6;}
    
    body.post-type-archive-our-work .portfolio-content.isotope,
    body.page-template-template-case-study .portfolio-content.isotope {margin-left:-1px;  margin-right:-1px;  width:100.2%;max-width: 1250px;margin: 30px auto;}
	
    }
    
    @media(min-width:100px) and (max-width:960px){
    body.page-template-template-case-study .portfolio-content .portfolio-item .case-s-info h3{display: block;margin-top: 10px;}
    body.page-template-template-case-study .case-s-info {z-index: 1;}
    body.page-template-template-case-study .case-s-info h4 { font-size: 70px;  margin-bottom: 0px;line-height: 70px;}
    body.page-template-template-case-study .portfolio-item div.overlay>header { display: none;}
    body.page-template-template-case-study #portfolio-wrap .portfolio-item .overlay { opacity: 1;}
    body.page-template-template-case-study .portfolio-main #page-heading { padding: 40px 10px 20px 10px;}
    }

    @media(min-width:768px) and (max-width:960px){
    body.page-template-template-case-study .portfolio-content .portfolio-item {max-width:50%!important; width: 100%!important; }

    body.page-template-template-case-study .case-s-info { padding: 0 13px;}
    /* body.page-template-template-case-study .portfolio-content.isotope article:nth-child(odd) .case-study-thumbnail { border-left: none !important;} */
    }

    @media (max-width:820px){
    
       body.page-template-template-case-study .casestudy-content .innerwrap figure {  width: 100%; }
    
    }

    @media (min-width:768px){
        .body.page-template-template-case-study .casestudy-content {  padding-bottom: 29px;}
        .body.page-template-template-case-study .casestudy-content img {  padding-top: 20px;} 
    
    }
    @media(max-width:768px){
        body.page-template-template-case-study .hide-me-mobile-text {  display: block;   opacity: 1; visibility: visible;}
     }

@media(min-width:100px) and (max-width:767px){
    body.page-template-template-case-study #portfolio-wrap .portfolio-item {margin: 0px !important;}
    body.page-template-template-case-study.portfolio-main #page-heading {  padding: 26px 10px 0px 10px; }
    body.page-template-template-case-studyarticle.isotope-item {  margin-bottom: 0px !important; }
    body.page-template-template-case-study .case-s-info {  transform: none; z-index: 99; left: 0; text-align: left; width: 100%;  padding: 0 18px;bottom: 40px; top: inherit;}
    body.page-template-template-case-study .whatyou-see p br { display: none;}
    
    body.page-template-template-case-study .portfolio-content .portfolio-item {max-width: 100%!important; width: 100%!important; }
    
    .hoverInfo { opacity: 1;}
    body.page-template-template-case-study .case-study-main-wrap { padding: 0px 0px 45px 0px;}
    body.page-template-template-case-study .casestudy-content { padding-bottom: 7px;}
    body.page-template-template-case-study .whatyou-see .getproposal-btn a:after {    top: 14px;  width: 17px; height: 17px;}
    
    body.page-template-template-case-study .whatyou-see h2 {  font-size: 36px;}
    body.page-template-template-case-study .whatyou-see {  padding: 50px 20px;}
    body.page-template-template-case-study .case-study-thumbnail { border-left: none; border-top: 1px solid #ccc; border-right: none;}
       
}




/* portfolio content work page  */



.portfolio-item header {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 0%;
    width: 100%;
    height: 100%;
    padding: 1em;
    border-bottom: 0;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    z-index: 3;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

body.page-template-page-casestudy-new-layout .portfolio-item div.overlay>header {
    justify-content: flex-end;
    align-items: center;
}

.portfolio-item:hover header {
    bottom: 0;
}

/* case-study-wrap */

.case-study-wrap h3.post-title {
    color: #fff;
    font-weight: 600;
}

@media (max-width:1199px){
    body.page-template-template-case-study sub {
        font-size: 33px;
        line-height: 70px;
    }
}

/* loading css  */
/* .portfolio-content.loading {
  height: 0 !important;
  width: 0 !important;
  padding: 15px;
  border: 6px solid #ccc;
  border-right-color: #888;
  border-radius: 22px;
  -webkit-animation: rotate 1s infinite linear;
  position: absolute;
  left: 50%;
  top: 50%;
  right: 50%;
  margin-bottom: 100px;
}
.filterable-portfolio {
    padding-bottom: 50px;
    position: relative;
} */

@-webkit-keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

.case-study-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 40px; */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  padding: 40px;
  height: fit-content;
}
#portfolio-wrap .portfolio-content {
      min-height: 500px ;
}
.case-study-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: -webkit-fill-available;
}

.case-study-thumbnail {
  flex: 1;
  text-align: right;
}

.case-study-thumbnail img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.case-client {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
}

.case-title {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 600;
}

.case-desc {
  font-size: 20px;
  margin-bottom: 12px;
}

.case-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.case-link {
  font-weight: 500;
  color: #000;
  text-decoration: none;
  position: relative;
}

.case-link:hover {
  color: #000;
}
.case-link::after{
	content: '';
	position: absolute;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23666'/></svg>");
    width: 14px;
    height: 12px;
	top: 8px;
    margin-left: 10px;
    background-size: 13px;
    background-repeat: no-repeat;
    transition: all .3s;
	transform: rotate(-90deg);
	filter: brightness(0) contrast(25);
}
.innerFilterWrap{
	display: flex;
    align-items: center;
    justify-content: center;
    border-left: none;
    border-right: none;
    gap: 10px;
}
.innerFilterWrap .filter {
    border: 1px solid #d5d5d5 !important;
}
.new-case-study-design .custom-filter-case-study .innerFilterWrap .filter{
	padding: 0;
}
.new-case-study-design .custom-filter-case-study .innerFilterWrap .filter:not(:last-child){
	border-right: 1px solid #e7e7e7;
}
.custom-filter-case-study .innerFilterWrap select {
	border: none;
	width: 100%;
    max-width: 340px;
	position: relative;
	appearance: none;
	padding: 24px 20px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23666'/></svg>");
	background-size: 13px;
	background-position-x: 95%;
    filter: brightness(7) invert(1);
}
@media(min-width: 1200px){
.custom-filter-case-study .innerFilterWrap select{
	min-width: 360px;
}
}
@media(max-width: 960px){
.case-study-inner {
    gap: 25px;
    padding: 20px;
    flex-direction: column-reverse;
}
}
@media(max-width: 767px){
.case-study-inner {
    gap: 20px;
}
.innerFilterWrap {
    flex-direction: column;
    width: 100%;
}
.new-case-study-design .custom-filter-case-study .innerFilterWrap .filter:not(:last-child) {
    border-right: none;
}
.custom-filter-case-study .innerFilterWrap select {
    max-width: 100%;
}
body.page-template-template-case-study .portfolio-content .portfolio-item {
    padding: 15px 15px;
}
}
@media (min-width:768px) and (max-width: 820px){
.custom-filter-case-study .innerFilterWrap select {
    max-width: 300px;
    min-width: 245px;
}
}
@media (min-width:821px) and (max-width: 1024px){
.custom-filter-case-study .innerFilterWrap select {
    max-width: 340px;
    min-width: 300px;
}

.portfolio-content.loading { 
    visibility: hidden; 
}
.portfolio-content.ready { 
    visibility: visible; 
}
}