/*
Theme Name: The7 child theme by MPC
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/


/*--------------------------------------------------------------
# From theme options
--------------------------------------------------------------*/

.sub-nav .menu-item i.fa,
.sub-nav .menu-item i.fas,
.sub-nav .menu-item i.far,
.sub-nav .menu-item i.fab {
	text-align: center;
	width: 1.25em;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/*
* Colors
*/

:root {
	--theme-color:#ef9028;
	--dark-color:#000;
}

/*--------------------------------------------------------------
# Réalisations
--------------------------------------------------------------*/

/*
* Liste Réalisations
*/

/* Masonry */

/*.portfolio-content.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: masonry;
}*/

.portfolio-content.masonry::after {
  content: '';
  display: block;
  clear: both;
}

.grid-sizer, .portfolio-item {
	width: calc(33.333% - 30px);
}

.gutter-sizer { 
	width: 30px;
}

.portfolio-content.masonry .portfolio-item {
	/*float: left;
	width:32%;*/
  	margin-bottom: 30px;
	text-align: center;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.portfolio-item .itembox {
	/*border: 5px solid #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.2);*/
	position: relative;
	line-height: 0;
}

.portfolio-content.masonry .portfolio-item .itembox {
	width: 100%;
	margin: 0 auto;
}


.portfolio-content.masonry .portfolio-item .item-text {
	text-align:left;
	margin:15px 0 0 10px;
}

.portfolio-content.masonry .portfolio-item .item-text a {
	text-decoration: none;
}

.portfolio-content.masonry .portfolio-item .item-text h3 {
	margin-top:0;
	font-size:20px;
	color:var(--dark-color);
	text-transform: uppercase;
}

.portfolio-content.masonry .portfolio-item .item-text a:hover h3 {
	color:var(--theme-color);
}

.portfolio-content.masonry .portfolio-item .item-info {
	text-align:left;
	margin:0 0 15px 10px;
	color:var(--theme-color);
	font-size:16px;
	font-weight:600;
}

@media screen and (max-width:980px) {
	.grid-sizer, .portfolio-item {
		width: calc(50% - 30px);
	}
}

@media screen and (max-width:768px) {
	.grid-sizer, .portfolio-item {
		width: 100%;
	}
	.gutter-sizer { 
		width: 0;
	}
}

/* List */

.portfolio-content.list .portfolio-item {
	 margin-bottom: 30px;
}

@media screen and (min-width:981px) {
    .portfolio-content.list .portfolio-item {
        display: -webkit-box;
        display: -moz-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
	
	.portfolio-content.list .portfolio-item .itembox {
		margin-right:30px;
	}
}

.portfolio-content.list .portfolio-item .itembox img {
  width: 240px;
  height: 180px;
  object-fit: cover;
}

@media screen and (max-width:980px) {
	.portfolio-content.list .portfolio-item .item-text {
		margin-top:15px;
	}
	.portfolio-content.list .portfolio-item .itembox {
		width: auto;
		display: inline-block;
	}
}

/* Images */


.portfolio-item .portfolio-gallery-img {
	display:none;
}

.svc_rollover .rollover_thumbs {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 9;
	  width: 170px;
  height: 70px;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  -moz-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  -ms-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  -o-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  transition: visibility 0.3s 0.3s, opacity 0.3s linear;
	display:flex;
	align-items:center;
	justify-content: center;
}

.portfolio-item:hover .svc_rollover .rollover_thumbs, .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs {
	opacity: 1;
	visibility: visible;
}

.portfolio-item .svc_rollover .rollover_thumbs a, .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs a {
  	width: 69px;
  	height: 69px !important;
	position: absolute;
	top: 0;
}

.portfolio-item:hover .svc_rollover .rollover_thumbs a, .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs a {
	display:inline-block;
}

.portfolio-item:hover .svc_rollover .rollover_thumbs a:not(:first-child):not(:nth-of-type(2)):not(:nth-of-type(3)), .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs a:not(:first-child):not(:nth-of-type(2)):not(:nth-of-type(3)) {
	display:none;
}

.svc_rollover .rollover_thumbs a img {
	border: 3px solid #fff;
  	-webkit-border-radius: 50%;
  	border-radius: 50%;
  	height: 100%;
  	max-width: 100%;
}


.svc_rollover .rollover_thumbs a:first-of-type {
	z-index: 102;
	left: 0;
	
}

.svc_rollover .rollover_thumbs a:nth-of-type(2) {
	z-index: 101;
	left: 49px;
}

.svc_rollover .rollover_thumbs a:nth-of-type(3) {
	z-index: 100;
	left: 98px;
}

/* Overlay */

.portfolio-item .portfolio-overlay {
  	color: #fff;
	position: absolute;
  	left: 0;
	top: 0;
	transition:all ease .2s;
  	opacity: 0;
  	background: rgba(0,0,0,.25);
  	overflow: hidden;
	font-size: 32px;
	z-index: 1;
	display:flex;
	align-items:center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.portfolio-item:hover .portfolio-overlay {
	opacity: 1;
}

.portfolio-item .portfolio-overlay span.arrow_triangle-right {
	font-size: 64px;
}

/* Loader */

.loader{
	background:url(img/loader.gif) no-repeat top center #fff;
	width:100%;
	height:100%;
	position:absolute;
	/*opacity:0.7;*/
	z-index: 9999;
}


/*
* Page Réalisations
*/

.single-realisation #page .page-title h1.entry-title {
	color: var(--dark-color);
}

.single-realisation .post-thumbnail {
	text-align: center;
}

.single-realisation .post-thumbnail img {
    width: auto !important;
}

.single-realisation .rea-images-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 15px;
	grid-row-gap: 15px;
}

@media screen and (max-width:980px) {
	.single-realisation .rea-images-grid {
  		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width:980px) {
	.single-realisation .rea-images-grid {
  		grid-template-columns: repeat(1, 1fr);
	}
}
/*
* Owl carousel
*/

.owl-carousel.unicrenov-theme {
	padding: 0 25px;
}

.owl-carousel.unicrenov-theme .owl-stage {
	margin-left: auto;
    margin-right: auto;
}

.owl-carousel.unicrenov-theme div.item {
	text-align: center;
}

/* Bug chrome */

.owl-carousel .owl-stage-outer {
    width: 100%;
    -webkit-transform-style:preserve-3d;
    -moz-transform-style:preserve-3d;
    transform-style:preserve-3d;
}

/* Navigation */

.owl-carousel.unicrenov-theme .owl-prev, .owl-carousel.unicrenov-theme .owl-next  {
	display: block !important;
    width: 15px;
    height: 100px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}

.owl-carousel.jcms-theme.title-below .owl-prev, .owl-carousel.jcms-theme .owl-next  {
    -webkit-transform: translateY(calc(-25px - 50%));
    -moz-transform: translateY(-calc(-25px - 50%));
    transform: translateY(calc(-25px - 50%));
}

.owl-carousel.unicrenov-theme .owl-prev {
    left: -25px;
}

.owl-carousel.unicrenov-theme .owl-next {
    right: 20px;
}

.owl-carousel.unicrenov-theme .owl-prev span, .owl-carousel.unicrenov-theme .owl-next span {
	transform : scale(1,6);
	font-size: 60px;
	color: var(--dark-color);
}

.owl-carousel.unicrenov-theme .owl-prev span:hover, .owl-carousel.unicrenov-theme .owl-next span:hover {
	color: var(--theme-color);
}

/* Dots */

.owl-carousel.unicrenov-theme .owl-dots {
	display: flex;
    justify-content: center;
    margin-top: 30px;
    column-gap: 5px;
}

.owl-carousel.unicrenov-theme .owl-dots .owl-dot span {
	display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--dark-color);
	border: 1px solid var(--dark-color);
	border-radius:100px;
}

.owl-carousel.unicrenov-theme .owl-dots .owl-dot.active span, .owl-carousel.unicrenov-theme .owl-dots .owl-dot:hover span  {
	background-color: var(--theme-color);
	border-color: var(--theme-color);
}

.owl-carousel.unicrenov-theme .owl-dots .owl-dot.active span {
	position:relative;
	top:3px;
	width: 24px;
    height: 24px;
}