/*
 * Project Archive
 */

.project-archive-box {
	margin: 0 45px;
}
ul.penci-grid.projects-grid {
    margin-bottom: 50px;
}
.archive-box.project-archive-box h1 {
	color: #313131;
}
.archive-project-header {
    margin-bottom: 50px;
}
.archive-project-header::after {
    display: none;
}
.archive-box.project-archive-box .post-entry{
	text-align: center;
    margin-bottom: 60px;
}
.project-item {
	position: relative;
	margin: auto;
    overflow: hidden;
    transition: box-shadow .3s ease-in-out;
}
.project-item:hover {
    box-shadow: 0 0 15px 0 rgba(0, 155, 172, .6);
}
.project-item .project-overlay {
	background: rgba(0, 155, 172, 0);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	-webkit-transition: all 0.6s ease-in-out 0s;
	-moz-transition: all 0.6s ease-in-out 0s;
	transition: all 0.6s ease-in-out 0s;
}
.project-item:hover .project-overlay {
	background: rgba(0, 155, 172, .6);
}
.project-item h2 {
    opacity: 0;
}
.project-item:hover h2 {
    opacity: 1;
	position: absolute;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
	color: #ffffff;
	font-size: 18px;
	width: 100%;
    text-align: center;
    padding: 0 15px;
    line-height: 26px;
}
@media screen and (max-width: 767px) {
    .project-archive-box {
        margin: 0;
    }
}

/*
 * Project posts
 */
 .header-standard.header-classic.project-header {
    margin-bottom: 50px;
}
.project-date {
   margin-top: 3px;
   color: #888888;
   font-size: 16px;
}
.post-entry.project-post {
    display: flex;
    flex-direction: column;
}
.project-post-section {
   display: flex;
   flex-direction: row;
}
.project-post-col-details {
   width: 40%;
   display: flex;
   flex-direction: column;
   align-items: center;
   padding-right: 40px;
}
.project-post-col-details p {
   margin-top: 20px;
}
.project-post-col-details img {
   max-width: 300px;
}
.project-post-col-main {
    width: 60%;
}
ul.project-details-list {
    margin: 25px 0;
    padding: 0;
    display: flex;
}
.post-entry ul li.details-item {
    list-style-type: none;
    padding: 0 5px;
}

.post-entry ul li.details-item a {
   width: 42px;
   height: 42px;
   border: 1px solid rgb(0, 155, 172);
   font-size: 18px;
   line-height: 42px;
   color: rgb(0, 155, 172);
   display: flex;
   justify-content: center;
   border-radius: 50%;
   transition: all 0.4s ease-in-out;
   display: flex;
   justify-content: center;
   align-items: center;
}
.post-entry ul li.details-item a:hover {
   text-decoration: none;
}
.post-entry ul li.details-item a:hover {
    text-decoration: none;
    background-color: rgb(0, 155, 172);
    color: rgb(255, 255, 255);
}
.project-partners-grid ul {
    padding: 0;
    display: flex;
    justify-content: space-between;
}
.project-partners-grid ul li {
    list-style-type: none;
    width: 30%;
}
.project-gallery-photos {
    margin-top: 50px;
}
ul.project-gallery {
   display: flex;
   flex-wrap: wrap;
   padding-left: 0;
   margin-left: -10px;
   margin-top: -10px;
}
ul.project-gallery li {
   flex: 1 0 200px;
   box-sizing: border-box;
   margin-left: 10px;
   margin-top: 10px;
   margin-bottom: 10px;
   list-style-type: none;
   padding: 10px;
}

@media (min-width: 480px) {
   ul.project-gallery li {
     max-width: calc(50% - 10px);
   }
 }
 @media (min-width: 768px) {
   ul.project-gallery li {
     max-width: calc(33.33333% - 10px);
   }
 }
 @media (min-width: 961px) {
   ul.project-gallery li{
     max-width: calc(25% - 10px);
   }
 }
/*
* Partners carousel
*/
.post-entry ul.owl-carousel {
    padding-left: 0px;
}
.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}
.post-entry ul.owl-carousel li {
    list-style-type: none;
}
.owl-carousel .owl-item img.slide {
   position: relative;
   z-index: 1;
   width: 220px;
   margin: 0 auto;
}
.owl-carousel .owl-nav {
   display: block;
   position: absolute;
   top: 80px;
   width: 100%;
}
.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
   font-size: 60px !important;
   font-family: 'Open Sans' !important;
   width: 20px;
   height: 42px;
}
.owl-carousel .owl-nav button.owl-prev {
   float: left;
}
.owl-carousel .owl-nav button.owl-next {
   float: right;
}
.owl-carousel .owl-nav button.owl-prev:hover span, .owl-carousel .owl-nav button.owl-next:hover span {
   opacity: .8;
}
.owl-carousel .owl-dots {
   display: flex;
   justify-content: center;
   margin-top: 10px;
}
.owl-carousel button.owl-dot {
   width: 11px;
   height: 11px;
   background: rgba(0, 0, 0, 0.1) !important;
   border-radius: 50%;
   margin: 0 2px;
}
.owl-carousel button.owl-dot.active {
   background: #009CAB !important;
}

@media (max-width: 960px) {
    .post-entry.project-post {
		flex-direction: column;
	}
	.project-post-section {
		flex-direction: column;
	}
	.project-post-col-details, .project-post-col-main {
		width: 100%;
	}
	.project-post-col-details {
		margin-bottom: 30px;
		align-items: center;
		padding-right: 0;
	}
	ul.project-gallery li {
		width: 48%;
	}
}
@media (max-width: 767px) {
    .project-archive-box {
	    margin: 0;
    }
}
@media screen and (max-width: 479px) {
    ul.project-gallery li {
		width: 100%;
	}
}