/*
Theme Name:  Interico: Child Theme
Theme URI:   http://www.themicart.com/
Description: Child theme for the Interico WordPress Theme. Use it for manipulating the theme files so the core remains original, which is necessary for updates not to override the changes made.
Author:      Themicart
Template:    interico
Version:     1.0.0
*/

/* begin CSS code */

.subnav .social i:hover {
	color: rgba(255, 255, 255, 0.5) !important;
}
.subnav .social i {
	color: rgba(255, 255, 255, 1) !important;
}
.subnav-item a {
	font-size: 1em;
}

/****** GENERAL ******/

.vc_row {
	padding: 80px 0;
}
.vc_row.vc_grid, .vc_row .vc_inner, .content, section {
	padding: 0;
}

.vertical-align {
	display: flex;
	align-items: center;
}
.vertical-align > .wpb_column {
	float: none;
	display: flex;
	align-content: center;
}
.shadow-box.opacity:before {
	background: rgba(255,255,255,0.5);
}
.shadow-box.opacity {
	background: rgba(255,255,255,0.5);
}
.shadow-box.opacity p {
	color: #333;
}
.overlap-right .shadow-box.opacity, .overlap-left .shadow-box.opacity {
	margin-top: 50px;
	margin-bottom: 50px;
}
.spaced.vc_row {
	padding: 110px 0;
}
.spaced.large.vc_row {
	padding: 150px 0;
}
.padding-column > .wpb_column {
	padding: 0 15px;
}



/* TABS / COLLAPSIBLE */
.nav-tabs.style-accent > li.active > a:hover {
	color: #fff !important;
}
.nav-tabs.light > li.active > a, .nav-tabs.light > li > a {
	font-size: 18px;
}
.panel-body, .tab-content.style-accent {
	font-size: 15px;
	line-height: 26px;
}
.panel-body, .tab-content a {
	color: #fff;
	opacity: 0.7;
	transition: all ease 250ms;
}
.panel-body, .tab-content a:hover {
	color: #fff;
	opacity: 1;
}

/* FORM */
.form-wrap {
	margin: 0 -10px;
	display: flex;
	flex-wrap: wrap;
}
.form-wrap label {
	flex: 50%;
	padding: 0 10px;
}

.wpcf7-form label {
	width: 100%;
}

/* FEATURE BOX */
.feature-box.icon-large-left {
	display: flex;
	align-items: center;
}
.feature-box .lnr {
	font-size: 50px;
	margin-right: 5px;
}
.feature-box .feature-title {
	font-size: 1.6em;
}

img.tooltip-image {
	max-height: 40px;
	width: auto;
	opacity: 0.5;
}
img.tooltip-image:hover {
	opacity: 1;
}
.feature-box.center{
	justify-content: center;
}



/****** MENU / HEADER ******/
.subnav-item i {
	font-weight: 700;
}
.subnav-item p, .subnav-item a {
	display: flex;
	align-items:center;
	font-weight: 600;
}
.subnav .social i {
	background-color: #3a332b;
}
header #logo {
	margin-top: 10px !important;
}
header #logo img {
	height: 92px;
}



/****** HOME ******/

/* SLIDER */
.slide-title h1.headline-small, .slide-title h2.headline-small, #slider-fullwidth.slider-style-3 .slide-content p {
	font-size: 65px;
	line-height: 68px;
	text-shadow: 2px 2px 4px #000000;
}
.carousel-control.left {
	top: calc(40% - 20px);
	right: 62px;
}
.slide-buttons .btn-primary {
	background: rgba(122,119,119, 0.8) !important;
	box-shadow: 1px 1px 3px #000;
	text-shadow: 1px 1px 3px #000;
}



/****** MECANISMES ARCHIVE ******/

.mecanism-row {
	padding: 80px 0 0;
}
.mecanism-row:last-child {
	padding-bottom: 80px;
}
.mecanism-row .content {
	padding: 10px 5px;
	box-shadow: 1px 1px 2px #ddd;
}
.mecanism-row .mecanism-box {
	margin-bottom: 15px;
}
.mecanism-row .mecanism-box .background {
	padding-top: 90%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.mecanism-subrow {
	margin-bottom: 25px;
}
.mecanism-subrow:last-child {
	margin-bottom: 0;
}


/****** REALISATION ******/
.gallery-categories #filters {
	margin-bottom: 20px;
}
.gallery-categories #filters a {
	font-weight: 500;
}
.gallery-categories .sub-category ul li a {
	padding: 15px;
}
.gallery-categories .sub-category {
	display: none;
}
.gallery-categories .sub-category.active {
	display: block;
}
.captions-cards .project-category {
	display: none;
}
.portfolio-box .fancybox {
	display: none;
}
.portfolio-box .main-fancybox {
	position: relative;
	display: block;
}
.portfolio-box .image-container::after {
	pointer-events: none;
}

#fancybox-right span {
	left: auto !important;
	right: 20px !important;
}
#fancybox-left span {
	right: auto !important;
	left: 20px !important;
}



/****** FOOTER ******/
#footer-logo {
	max-height: 30px;
}
#footer-bot .social i:hover {
	background-color: #36454f !important;
}

@media (min-width: 1200px) {
	
	.mecanism-row .vc_col-20 {
		width: 20%;
	}
}

@media screen and (min-width: 991px) {
	
	.header-typography-style-2 #header #mainmenu > li > a {
		font-size: 18px;
		font-weight: 500;
		letter-spacing: 1px;
	}
}

@media screen and (max-width: 990px) {
	
	header #logo img {
		height: 70px;
	}
}

@media screen and (max-width: 768px) {
	.carousel-control.left {
		top: auto;
		right: 62px;
	}
	.spaced.vc_row {
		padding: 35px 0 20px;
	}
	.spaced.large.vc_row {
		padding: 35px 0;
	}
}

@media screen and (max-width: 767px) {
	
	/****** GENERAL ******/
	.vertical-align {
		display: block;
	}
	.vertical-align > .wpb_column {
		display: block;
	}
	
	.vc_row {
		padding: 50px 0px;
	}
	
	.form-wrap label {
		flex: 100%;
	}
	
	.change-order-xs-2 {
		display: flex;
		flex-direction: column;
	}
	.change-order-xs-2 .wpb_column:first-child {
		display: flex;
		order: 2;
	}
	.padding-column > .wpb_column {
		padding: 0;
	}
	
	
	
	/****** TOP HEADER ******/
	.subnav .subnav-item:nth-child(-n+2), .subnav .social {
		display: none;
	}
	.subnav .subnav-item p i {
		margin-left: auto;
	}
	
	.team-member {
		padding: 0 10px;
	}
	
	/* TABS / COLLAPSIBLE */
	.nav-tabs.light > li.active > a, .nav-tabs.light > li > a {
		font-size: 15px;
	}
	.panel-body, .tab-content.style-accent {
		font-size: 13px;
		line-height: 24px;
	}
	.nav-tabs > li.active > a, .nav-tabs > li > a {
		padding: 15px;
	}
	
	
	
	/****** HOME ******/
	
	/* SLIDER */
	#slider-fullwidth {
		height: 450px;
	}
	.carousel-content {
		top: 30% !important;
	}
	.slide-title h1.headline-small, .slide-title h2.headline-small, #slider-fullwidth.slider-style-3 .slide-content p {
		font-size: 45px;
		line-height: 48px;
	}
	
	/* FEATURE BOX HOME */
	.feature-box {
		flex-direction: column;
		text-align: center;
	}
	.feature-box .content-wrapper {
		margin-top: 10px;
		padding: 0;
	}
	.feature-box .lnr {
		font-size: 45px;
		margin-right: 0;
	}
	.feature-box .feature-title {
		font-size: 1.3em;
	}
	.feature-box.box-hovered .lnr, .feature-box.box-hovered i, .feature-box.box-hovered .feature-text, .feature-box.box-hovered .feature-title, .feature-box.box-hovered .btn-read-more, .feature-box:hover .lnr, .feature-box:hover i, .feature-box:hover .feature-text, .feature-box:hover .feature-title {
		right: 0;
	}
	
	/* DISTRIBUTEUR */
	img.tooltip-image {
		margin: 20px auto;
		max-height: 30px;
		width: auto;
	}
	
	
	
	/****** MECANISMES ARCHIVE ******/

	.mecanism-row {
		padding: 50px 0 0;
	}
	.mecanism-row:last-child {
		padding-bottom: 50px;
	}

	
	
	/****** FOOTER ******/
	#footer-logo {
		max-height: 50px;
	}
}
