.caseStudyNav {
	color: #044160;
    font-weight: 700;
    margin-right: 25px;
    transition: all 300ms ease-in-out;
}

.caseStudyNav:hover { 
	color: #e17438;
}

.caseStudyNav.active {
	color: #e17438;
}

.caseStudyNav.active:hover { opacity: 1; }

.caseStudyNav:after {
    content: "";
    width: 0%;
    height: 2px;
    background: #e17438;
    display: block;
    margin: 2px auto 0;
    transition: all 300ms ease-in-out;
}

.caseStudyNav:hover:after{
    width: 100%;
}


.caseItem { 
	display: none;
    padding: 30px;
}
.caseItem.active { display: block; }

.caseItem .expandItem { 
    max-height: 150px;
    overflow: hidden;
    margin: 10px 0 0;
    transition: all 300ms ease-in-out;
}
.caseItem .expandItem.expand { max-height: 1400px!important; }

.caseItem .expandItem p {
	font-size: 14px;
}

.caseItem small { color:#e17438; margin:10px 0; display:block; }
.caseItem h2 {
	color: #31A4DD;
    font-size: 18px;
    font-weight: 400;
}

.showBtn {
	font-size: 14px;
	margin: 20px 0px;
    color: rgb(225, 116, 56);
}



#portfolio-fixed-wrap.fixedsubnav {
    position: fixed !important;
    top: 145px;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; scroll-padding: 280px; }
.logo img{
   transition: all .4s;
   height: 50px;
}

@media(min-width: 1025px) {
  .sm-nav .logo img {
      height: 40px;
  }
}
* { font-family: 'Montserrat', sans-serif; }
 .animateLine {
	 animation: animateLine 1000ms ease-out forwards;
     animation-delay: 500ms;
	 width: 0;
  }
  @keyframes animateLine{
	 from {width: 0px;}
	 to {width: calc(100% - 50px);}
  }
.off-white-circle {
	position: relative;
    overflow: hidden;
}
.off-white-circle:before {
	content: "";
    width: 110%;
    position: absolute;
    height: 100%;
    top: 0;
    left: 50%;
    z-index: 1;
    max-height: 600px;
    background: var(--color-meg-off-white);
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%);
}
@media(max-width:767px) {
	.off-white-circle:before {
    	border-radius: 0 0 100px 100px;
    }
}
.off-white-circle .inner-section {
	position: relative;
	z-index: 100;
}
#portfolio-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255, 0.5);
  z-index: 9999;
}
#portfolio-modal.active {
    display: block;
}
#portfolio-modal-wrap.active {
	transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
#portfolio-modal-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  background-color: var(--color-meg-dark-blue);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  width: 80%;
  transform-origin: center center;
  transition: opacity 0.3s linear, transform 0.3s linear;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  z-index: 1000;
}
.close-btn img {
    width: 100%;
    display: block;
}
@media(max-width: 767px) {
	.close-btn {
      width: 20px;
      height: 20px;
    }
}
.portfolio-inner-wrap img {
max-width: 100%;
}
.slidewrap{
    display: block;
    padding: 0 2px;
}
.slidewrap > div {
    width: 40%;
    padding-left: 20px;
    float: left;
}
.slidewrap .image-wrap {
    width: 58%;
    padding: 0;
    float: left;
}
.slidewrap .popup-iframe {
    width: 60%;
    position: relative;
}
.slidewrap .popup-iframe:before {
    content: "";
    padding-top: 56.25%;
    display: block;
}
.slidewrap .popup-iframe iframe {
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}
.slidewrap:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.psliderthumb {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 0 30px 0;
    width: 80%;
}
@media(max-width: 980px) {
  .psliderthumb {
      max-width: 400px;
  }	
}
.psliderthumb img {
    padding: 0px 0;
    width: 100%;
}
.psliderthumb .slidethumb {
    padding: 0px 5px 10px;
}
.slidethumb.slick-current {
	position: relative;
}
.slidethumb.slick-current:before {
    content: "";
    display: block;
    width: calc(100% - 10px);
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: 0px;
}
#mobile-toggle span {
	
}
#mobile-toggle span.close-toggle {
	opacity: 0;
}
#mobile-toggle.active span.open-toggle {
	opacity: 0;
}
#mobile-toggle.active span.close-toggle {
	opacity: 1;
    transition: opacity .4s;
}
#portfolio-filter::-webkit-scrollbar {
      height: 0px;
       background: rgba(255,255,255,.2);
       margin-right: 2px;
     }
#portfolio-filter::-webkit-scrollbar-thumb {
    background: #06547D;
  }
div#scroll-l-btn {
    position: absolute;
    left: 0px;
    top: 0px;
    filter: invert(1);
    z-index: 10;
    width: 30px;
    height: 50px;
    padding: 12px 0;
    box-shadow: 3px 0 5px rgba(0,0,0,0.2);
}
div#scroll-r-btn {
    position: absolute;
    right: 0;
    top: 0px;
    filter: invert(1);
    z-index: 10;
    width: 30px;
    height: 50px;
    padding: 12px 0;
    box-shadow: -3px 0 5px rgba(0,0,0,0.2);
}
div#scroll-l-btn, div#scroll-r-btn {
	display: none;
}
.show-arrows div#scroll-r-btn {
	display: block;
}
.show-arrows.show-sl div#scroll-l-btn {
	display: block;
}
.show-arrows.hide-sr div#scroll-r-btn {
	display: none;
}
div#scroll-l-btn img,div#scroll-r-btn img {
	height: 24px;
    margin: auto;
}










#portfolio-fixed-wrap.fixedsubnav div#scroll-l-btn, #portfolio-fixed-wrap.fixedsubnav div#scroll-r-btn{
	filter: invert(0);
}
@media(max-width:1279px) {
	#portfolio-fixed-wrap.fixedsubnav {
      top: 82px;
    }
}
.accordion-item:nth-last-of-type(1) .accordion-title {
    border-bottom: none;
}
.accordion-title:after {
    position: absolute;
    content: "";
    display: block;
    width: 4px;
    height: 16px;
    background: var(--color-meg-orange);
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .4s;
}
.accordion-title:before {
    position: absolute;
    content: "";
    display: block;
    width: 16px;
    height: 4px;
    background: var(--color-meg-orange);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.accordion-title {
    position: relative;
    padding-left: 36px;
    cursor: pointer;
}
.accordion-title.active:after {
    opacity: 0;
}

#hp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255, 0.5);
    z-index: 9999;
}
#hp-modal-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
    background-color: var(--color-meg-dark-blue);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 80%;
    transform-origin: center center;
    transition: opacity 0.3s linear, transform 0.3s linear;
}
@media(max-width:767px) {
	#hp-modal-wrap {
    	width: 98%;
        padding: 20px 10px 10px;
    }
}
@media(max-height:400px) {
	#hp-modal-wrap {
    	width: 50%;
        padding: 20px 10px 10px;
    }
}
#hp-modal.active {
    display: block;
}
#hp-modal-wrap.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
div#gdpr-cookie-message {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px 20px 5px;
    background: #fff;
    box-shadow: 0 0px 15px 0 rgba(0,0,0,0.2);
    z-index: 2000;
}
div#gdpr-cookie-message h4 {
    display: block;
    margin: auto;
    max-width: 1366px;
    width: 100%;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-meg-blue);
}
div#gdpr-cookie-message p, div#gdpr-cookie-message > div {
    display: block;
    margin: auto;
    max-width: 1366px;
    width: 100%;
    font-size: 14px;
}
div#gdpr-cookie-message p {
	margin-bottom: 15px;
}
div#gdpr-cookie-message button {
    margin-right: 10px;
        border-radius: 9999px;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(0 158 158 / var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1;
    --tw-text-opacity: 1;
    color: rgb(225 116 56 / var(--tw-text-opacity));
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
div#gdpr-cookie-message button:hover {
	--tw-border-opacity: 1;
    border-color: rgb(225 116 56 / var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: rgb(225 116 56 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}
div#gdpr-cookie-message > div#gdpr-cookie-types {
		margin-bottom: 15px;
}
#gdpr-cookie-advanced {
display: none !important;
}
@media(max-width:980px) {
  .slidewrap{
    display: block;
    flex-wrap: wrap;
    gap: 0px;
  }
  .slidewrap > div {
    width: 100%;
    margin-top: 30px;
  }
  .slidewrap .image-wrap {
    width: 100%;
  }
  .slidewrap .popup-iframe {
    width: 100%;
  }
}
@media(max-width: 980px) and (orientation: landscape) {
	.pslider {
    	padding: 0px !important;
    }
	#portfolio-modal-wrap {
    	max-height: 95%;
        overflow: hidden;
        width: 95%;
    }
    .slidewrap {
      max-height: none !important;
    }
    .slidewrap .image-wrap {
      width: 55% !important;
      margin: 20px 0 10px;
      padding: 0 0;
      vertical-align: top !important;
      min
	}
    .slidewrap .popup-iframe {
      width: 55%;
      margin: 20px 0 10px;
      padding: 0 0;
      vertical-align: top !important;
    }
    .slidewrap .text-white {
        width: 45%;
        margin-top: 15px;
        padding: 0 10px 0 20px;
    }
    .portfolio-inner-wrap {
    	overflow: auto;
        max-height: 300px;
        display: block;
        padding-bottom: 30px;
    }
    .portfolio-inner-wrap::-webkit-scrollbar {
         width: 5px;
         background: rgba(255,255,255,.2);
         margin-right: 2px;
       }
    .portfolio-inner-wrap::-webkit-scrollbar-thumb {
      background: #06547D;
    }
}
@media(max-width: 640px) {
  #portfolio-modal-wrap {
    width: 95%;
    padding: 40px 20px 20px;
  }
  .slidewrap .popup-iframe {
    width: 100%;
  }
  .slidewrap {
    width: 98%;
    margin: auto;
  	max-height: 400px;
    overflow-y: auto;
    padding: 0 10px;
  }
  .slidewrap::-webkit-scrollbar {
       width: 5px;
       background: rgba(255,255,255,.2);
       margin-right: 2px;
     }
  .slidewrap::-webkit-scrollbar-thumb {
    background: #06547D;
  }
}
@media(max-width:1279px) {
	#site-nav {
    	transform: translateX(100%);
        transition: all .4s;
    }
    #site-nav.active {
    	transform: translateX(0%)
    }
}

.max-w-none {
    max-width: none;
}

.duration-500 {
    transition-duration: 500ms;
}

.w-\[200\%\] {
    width: 200%;
}

.indicatorSlide {
bottom: 5px !important;
}
