/* 
Theme Name:		 Twenty Seventeen Child Bkompani
Theme URI:		 
Description:	 Thème enfant de twenty seventeen pour Bkompani
Author:			 Fab
Author URI:		 http://fqboy.com
Template:		 twentyseventeen
Version:		 1.0.0
License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:	 Tw17-child
-------------------------------------------------------------- */

@font-face {
    font-family: 'bkompani text';
    src: url('fonts/bkompani-Bold.eot');
    src: url('fonts/bkompani-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/bkompani-Bold.woff2') format('woff2'),
        url('fonts/bkompani-Bold.woff') format('woff'),
        url('fonts/bkompani-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bkompani text';
    src: url('fonts/bkompani-Regular.eot');
    src: url('fonts/bkompani-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/bkompani-Regular.woff2') format('woff2'),
        url('fonts/bkompani-Regular.woff') format('woff'),
        url('fonts/bkompani-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bkompani text';
    src: url('fonts/bkompani-Medium-Regular.eot');
    src: url('fonts/bkompani-Medium-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/bkompani-Medium-Regular.woff2') format('woff2'),
        url('fonts/bkompani-Medium-Regular.woff') format('woff'),
        url('fonts/bkompani-Medium-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bkompani text';
    src: url('fonts/bkompani-Light-Regular.eot');
    src: url('fonts/bkompani-Light-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/bkompani-Light-Regular.woff2') format('woff2'),
        url('fonts/bkompani-Light-Regular.woff') format('woff'),
        url('fonts/bkompani-Light-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bkompani text';
    src: url('fonts/bkompani-ExtraLight-Regular.eot');
    src: url('fonts/bkompani-ExtraLight-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/bkompani-ExtraLight-Regular.woff2') format('woff2'),
        url('fonts/bkompani-ExtraLight-Regular.woff') format('woff'),
        url('fonts/bkompani-ExtraLight-Regular.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@media screen and (max-width: 1200px) {
	
	.custom-logo {
		width: 55vw !important;
		max-width: unset !important;
	}
	
	.custom-logo .custom-akompani-img {
		width: 100% !important;
	}
	
}

@media screen and (max-width: 769px) {
	
	.menu-toggle {
		background: #FFF;
		font-weight: 600;
	}
	
	.main-navigation.toggled-on .menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:active,
	.menu-toggle:focus {
		background: #e9530e !important;
		color: #FFF;
	}
	
	.menu-menu-superieur-container {
		display: none;
		box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
		margin: 0 0.5rem;
		border-radius: 2px;
	}
	
	.main-navigation.toggled-on .menu-menu-superieur-container {
		display: flex;
	}
	
	.main-navigation.toggled-on #top-menu {
		flex-direction: column;
		padding: 0.5rem;
		background: #FFF;
		gap: 0.25rem;
		border-radius: 2px;
	}
	
	#top-menu li {
		border-radius: 2px;
	}
	
	#top-menu li a {
		padding: 1em 1.5em !important;
	}
	
	#top-menu li a:hover {
		border-left: 2px solid #e9530e !important;
	}
	
	#top-menu li.active a {
		border-color: #e9530e;
	}
	
	#top-menu li:first-child img {
		display: none;
	}
	
	#top-menu li:first-child span {
		display: inline !important;
	}
	
	.main-navigation.toggled-on li {
		rotate: unset;
		margin-top: 0;
		width: 100%;
		box-shadow: unset;
		border-radius: unset;
	}
	
	.main-navigation.toggled-on li * {
		font-weight: 400;
	}
	
	#top-menu a {
		border-left: 2px solid #CCC;
		border-bottom: 0 !important;
	}
	
	.custom-logo {
		top: 36% !important;
	}
	
	.custom-logo .custom-akompani-img {
		width: 100% !important;
	}
	
	.custom-header-title {
		line-height: 3rem;
	}
	
}

@media screen and (max-width: 680px) {
	
	.custom-header-title {
		font-size: 2rem;
		line-height: 2rem;
	}
	
	.custom-logo {
		width: 70vw !important;
	}
}

@media screen and (max-width: 480px) {
	
	.custom-logo {
		width: 80vw !important;
	}
	
	.img-bureau {
		display: none;
	}
	
	#post-39, #post-115 {
		background: #FFF;
	}
	
	#post-115 .entry-content p:nth-child(4) a:nth-child(2) {
		display: none;
	}
	
	#post-115 p a.bkompani-credits-link {
		margin-left: 10px;
	}
	
	#post-115 .entry-content p:nth-child(4) a {
		margin-right: 0.5rem;
	}
	
	.site-footer {
		padding-top : 1rem;
		text-align: center;
		z-index: 2;
		position: relative;
		background: #FFF;
	}
	
	.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
		margin-top: -2px;
	}
	
	p {
		text-align: left;
	}
	
}

*:focus {
	outline: none !important;
}

a:active {
    outline: none !important;
}

*, html, body {
	font-family : 'bkompani text', Arial, sans-serif;
	font-weight: 300;
}

a, a:active, a:visited, a:hover, a:focus {
	color: #0250a7;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

a:hover {
	border-bottom: 1px dashed #0250a7 !important;
}

.main-navigation li {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 0 0 0.5rem 0.5rem;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	transition: all 0.25s;
	rotate: -4deg;
    margin-top: -8px;
}

.site-navigation-fixed .main-navigation li {
	background: rgba(255, 255, 255, 1);
}

#top-menu a {
	color: #2b2b2b;
    text-shadow: unset;
    font-weight: 400;
}

#top-menu li:first-child span {
	display: none;
}

#top-menu li:first-child img {
	width: 32px;
	height: auto;
}

#top-menu li:first-child a {
	padding: calc(0.75em + 5px) 1.5em 0.75em 1.5em;
}

.custom-header-media .wrap {
	background: url('img/dot_bg.png') repeat left top transparent;
	background-attachment: fixed;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	max-width: 100% !important;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.custom-logo {
	width: 100%;
    max-width: 45vw;
	height: auto;
	margin: 0 auto;
	position: fixed;
	top: 50%;
	left: calc(50% + 3.25vw);
	transform: translate(-50%, -50%);
	z-index: 1;
	text-align: center;
	gap: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-akompani-img {
	width: 35vw !important;
	opacity: 0.95;
}

article {
	z-index: 2;
}

.entry-content {
	margin-top: 4rem;
}

.has-header-image .custom-header-media img, .has-header-video .custom-header-media video, .has-header-video .custom-header-media iframe {
	width: unset;
	min-width: unset;
	max-width: unset;
	height: unset;
	min-height: unset;
	max-height: unset;
}

/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
	.has-header-image .custom-header-media img,
	.has-header-video .custom-header-media video,
	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
		height: auto;
		left: 0;
		-o-object-fit: unset;
		object-fit: unset;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: auto;
		height: auto;
		position: relative;
	}
}

.custom-header-title {
	font-size: 2.25rem;
	text-align: center;
	color: #FFF;
    text-shadow: 1px 1px 1px #000000;
    opacity: 0.95;
	margin-left: -3.25vw;
}

.custom-header-title .akompani-sep {
	margin-top: 2rem !important;
}

.navigation-top {
	background: transparent;
	border-top: 0;
	top: 0 !important;
	position: fixed;
	height: 57px;
	font-size: 80%;
	border-bottom: 0;
	z-index: 999;
}

.menu-toggle {
	margin: 0.5rem !important;
	background-color: #FFF;
}

.menu-toggle:focus {
	outline: transparent;
}	

.main-navigation a {
	padding: calc(1em + 5px) 1.5em 1em 1.5em;
}

.navigation-top .wrap {
	padding: 0;
	width: 100% !important;
	max-width: unset;
	text-align: center;
}

.navigation-top li a.menu-active, .navigation-top li a.menu-active:active {
	outline: none !important;
	color: #e9530e !important;
	padding-top: 1.75rem !important;
	box-shadow: rgba(60, 64, 67, 0.5) 0px 1px 2px 0px, rgba(60, 64, 67, 0.35) 0px 1px 3px 1px;
}

.navigation-top.site-navigation-fixed li a.menu-active, .navigation-top.site-navigation-fixed li a.menu-active:active {
	text-decoration: none;
	color: #e9530e !important;
	outline: none !important;
}

.navigation-top a {
	transition: padding 0.25s;
}

.navigation-top a:hover {
	padding-top: 1.75rem;
	box-shadow: rgba(60, 64, 67, 0.75) 0px 1px 2px 0px, rgba(60, 64, 67, 0.55) 0px 1px 3px 1px;
	text-decoration: none;
	color: #e9530e !important;
	border: 0 !important;
}

#top-menu {
	background: transparent;
	display: flex;
	padding: 0 1rem;
	gap: 1rem;
	justify-content: center;
	align-items: flex-start;
}

.wp-custom-header img {
	opacity: 0;
}

.custom-header-media:before {
	background: transparent;
}

.akompani-sep {
	width: 50%;
    height: 3px;
    background: #e9530e;
    border-radius: 20px;
}

.custom-header-media .akompani-sep {
	margin: 0 auto;
}

.akompani-color {
	color: #e9530e;
}

.akompani-entry-title {
	color: #e9530e;
	font-size: 2.2em;
}

@media screen and (min-width: 100px) {
	.img-bureau {
		top: -10vh;
	}
}

@media screen and (min-width: 300px) {
	
	.img-bureau {
		top: -10vh;
	}
	
	.custom-header-media h1 {
		margin-top: -5vh;
	}
	
	
}

@media screen and (min-width: 30em) {
.page-one-column .panel-content .wrap {
    max-width: inherit;
}

@media screen and (min-width: 600px) {
	

}

@media screen and (min-width: 800px) {
	
	.img-bureau {
		top: -30vh;
	}
	
}

@media screen and (min-width: 1200px) {

	.panel-content .wrap {
		padding-top: 1.5em;
	}
	
	.custom-header-media .wrap {
		max-width: 79em;
	}
	
	.entry-content {
		float: none;
		width: 100%;
		max-width: 65em;
		line-height: 120%;
	}
	
	.page-one-column .panel-content .wrap {
		max-width: 65em;
	}
	
	body,
	button,
	input,
	select,
	textarea {
		font-size: 20px;
		line-height: 1.5;
	}
	
	.img-bureau {
		top: -25vh;
	}
}

.img-bureau {
    position: absolute;
    z-index: 9;
    right: 3vw;
    max-width: 20vw;
}

#bkompani-waves {
	background: url(img/bkompani-waves.png) no-repeat left top transparent;
	background-size: cover;
	height: 150px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
}

#post-35 {
	border-top: 0;
}

#post-39 {
	background: url('img/2-AKOMPANI_4B.png') no-repeat 23% bottom #FFF;
	background-size: 20%;
	padding-bottom: 160px;
}

#post-39 .panel-content {
	background: url('img/akompani-collab-wave.png') no-repeat center center transparent;
	background-attachment: fixed;
	background-size: 100% auto;
}

#post-39 .wrap {
	background: url('img/akompani-collab-round.png') no-repeat right top transparent;
}

#post-39 .wrap .akompani-entry-title {
	margin-left: 0;
}

#post-82 {
	text-align: justify;
}

#post-82 a {
	white-space: nowrap;
}

#post-115 {
	background: url('img/ecailles.png') repeat center center #FFF;
	background-attachment: fixed;
}

#post-115 .panel-content {
	background: url('img/contact-illustr.png') no-repeat bottom right transparent;
	background-size: 40%;
}

#post-115 img {
	box-shadow: 0 0 0 8px transparent;
}

#post-115 p {
	line-height: 2rem;
}

#post-115 p a.bkompani-credits-link {
	margin-left: 10px;
}

#post-115 .entry-content p:nth-child(4) a {
	margin-right: 0.5rem;
}

/* HIDE VIMEO LINK */

#post-115 .entry-content p:nth-child(4) a:nth-child(2) {
	display: none;
}


.grid_cont {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-direction: row;
	-webkit-flex-wrap: wrap;
}

.grid_c {
	margin-right: 4%;
	margin-top: 2%;
	text-align: left;
	/*background-color: rgba(255, 255, 255, 0.8);*/
	background-color: transparent;
	width: 28%;
}

.grid_center {
	background: url('img/akompani-collab-center-grid-min.png') no-repeat center center rgba(255, 255, 255, 0.8);
	background-size: contain;
	min-height: 280px;
}

.grid_center2 {
	background: url('img/akompani-collab-center-grid-min2.png') no-repeat center center rgba(255, 255, 255, 0.8);
}

.site-navigation-fixed.navigation-top {
	z-index: 10;
}

.anchor{
	display: block;
	height: 100px; /*same height as header*/
	margin-top: -102px; /*same height as header*/
	visibility: hidden;
}

.site-footer {
	margin-top : 0;
	text-align: center;
	z-index: 2;
	position: relative;
	background: #FFF;
}

.site-info {
	width: 100%;
	margin: 0;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #555;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 10%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.navigation-top {
	background-color: transparent;
	-webkit-transition: background-color .5s linear;
	-moz-transition: background-color .5s linear;
	-o-transition: background-color .5s linear;
	-ms-transition: background-color .5s linear;
	transition: background-color .5s linear;
}

.navigation-top .wrap {
	background: transparent;
	/*-webkit-transition: background 1s linear;
	-moz-transition: background 1s linear;
	-o-transition: background 1s linear;
	-ms-transition: background 1s linear;
	transition: background 1s linear;*/
}

#post-115 .fa-envelope {
	font-size: 80%;
}

@media screen and (min-width: 30em) {
	.page-one-column .panel-content .wrap {
		max-width: 65em;
	}
}

@media screen and (max-width: 800px) {
	
	.grid_c {
		width: 100%;
	}
	
	#post-115 .panel-content {
		background: url('img/contact-illustr.png') no-repeat top right transparent;
		background-size: 50%;
	}
	
	.navigation-top.site-navigation-fixed .wrap {
		background-image: none;
	}
	
	#post-39 {
		background: #FFF;
	}
	
	#post-39 .wrap {
		background-size: 25%;
	}
}

@media screen and (min-width: 48em) {
	.panel-content .wrap {
		padding-bottom: 4.5em;
		padding-top: 1em;
	}
	
	.site-info {
		padding: 0.7em;
		margin: 0;
	}
}

@media screen and (min-width: 30em) {
    .panel-content .wrap {
        padding-bottom: 2em;
        padding-top: 2em;
    }
}


