/*
Theme Name: Bestidf
Author: Agence Ceasy
Author URI: https://www.ceasy.fr
*/

@font-face {
  font-family: 'CenturyGothic';
  src: url('fonts/CenturyGothic.eot?#iefix') format('embedded-opentype'),
  url('fonts/CenturyGothic.woff') format('woff'),
  url('fonts/CenturyGothic.ttf') format('truetype'),
  url('fonts/CenturyGothic.svg#CenturyGothic') format('svg');
  font-weight: normal;
  font-style: normal;
}

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


html,
button,
input,
select,
textarea {

border: 0px;

}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

html {
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'CenturyGothic';
	font-size: 18px;
    background: #000;
}
.blog {
	background: #fff;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.left{
	float: left;
}

.right{
	float: right;
}

.center{
	text-align: center,
}

.clear{
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
	margin: 0;
}

.wrapper{
	position: relative;
	width: 925px;
	margin: 0 auto;
}

#content{
	background: #fff;
	padding: 20px 0 0px 0;
}


/* Header */

a img {
  border: 0;
}

header{
	width: 100%;
	background: #fff;
	-webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
	padding: 30px 0 25pxb;
	position: relative;
}

header #logo{
	width: 314px;
	height: 125px;
	float: left;
	margin: 30px 0 25px;
}

header #logo a{
	width: 314px;
	height: 125px;
	display: block;
}

header nav{
	float: right;
	margin: 128px 0 0;
}

header nav ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav li{
	border-left: 1px solid #000;
	vertical-align: bottom;
	display: inline-block;
}

header nav li:first-child, header nav li:last-child{
	border: 0 none;
}

header nav li a{
	color: #000;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	padding: 2px 20px;
	font-size: 12px;
}
header nav li a:hover{
	color: #0050A0;
}

#col-left{
	width: 320px;
	float: left;
}

#col-left #box-bleu{
	background: #0050a0;
	padding: 15px;
	color: #fff;
	margin: 0 0 10px 0;
	height: 150px;
}

#col-left #box-bleu h1{
	margin: 0 0 5px 0;
	font-size: 38px;
	line-height: 41px;
	text-transform: uppercase;
	font-weight: normal;
}

#col-left #box-bleu p{
	font: 18px "CenturyGothic-Bold";
	margin: 0;
}

#col-left #box-rouge{
	background: #e20821;
	color: #fff;
	margin: 0 0 10px 0;
	text-align: center;
	padding: 10px 0;
	height: 143px;
}

#col-left #box-rouge p{
	margin: 0;
	font-size: 14px;
}

#col-left #box-rouge .border{
	position: relative;
}

#col-left #box-rouge .border:after{
	content: "";
	background: #fff;
	height: 1px;
	width: 290px;
	display: block;
	position: absolute;
	left: 15px;
	top: 8px;
}

#col-left #box-rouge strong{
	text-transform: uppercase;
	font-size: 14px;
	display: inline-block;
	margin: 0 0 5px 0;
	padding: 0 15px;
	position: relative;
	z-index: 1;
	background: #e20821;
}

#col-left #box-rouge #actu{
	display: block;
	color: #fff;
	font-size: 14px;
	padding: 10px;
	background: #f399a4;
	text-decoration: none;
	margin: 0 0 10px 0;
}

#col-left #box-rouge #actu:hover{
	background: #000;
}

#col-left #realisations{
	padding: 10px 15px;
	border: 1px solid #b5caea;
	box-sizing: border-box;
}

#col-left #realisations h2{
	margin: 0 0 5px 0;
	font-size: 29px;
	text-transform: uppercase;
	font-weight: normal;
	background: url('images/ico-fleche-bleu.png') no-repeat left center;
	color: #0050a0;
	padding: 0 0 0 20px;
}

#col-left #nos-agences p{
	margin: 0;
}

#col-left #nos-agences h2 a{
	text-decoration: none;
	color: #000;
}

#col-left #nos-agences{
	padding: 17px 10px;
	border: 1px solid #b5caea;
	box-sizing: border-box;
	text-align: center;
	margin: 0 0 0 0;
	height: 250px;
}

#col-left #nos-agences h2{
	background: url("images/ico-fleche-bleu.png") no-repeat scroll 20px center rgba(0, 0, 0, 0);
	color: #0050a0;
	font-size: 29px;
	font-weight: normal;
	margin: 0 0 5px;
	padding: 0 0 0 45px;
	text-transform: uppercase;
}

#col-left #nos-agences p{
	float: right;
	font-style: italic;
	position: relative;
	right: 45px;
}

#col-right{
	width: 590px;
	float: right;
}

.flexslider .flex-control-nav{
	position: absolute;
	bottom: 10px;
}

.flexslider .flex-control-nav a{
	margin: 0 3px !important;
}

.metaslider .flexslider{
	margin: 0 0 20px 0 !important; /* 10px IMPORTANT */ 
}

#col-right #projets{
	background: none repeat scroll 0 0 #0050a0;
	box-sizing: border-box;
	float: left;
	font-size: 10px;
	font-weight: lighter;
	height: 250px;
	margin: 0 0 16px;
	padding: 10px 25px;
	width: 410px;
}

#col-right #projets a img{
	width: 165px;
	height: 69px;
}

#col-right #projets .carte a img{
	height: auto;
}

#col-right #projets h2{
	margin: 0 0 5px 0;
	font-size: 28px;
	color: #fff;
	text-transform: uppercase;
	background: none;
}

#col-right #projets p{
	color: #fff;
	margin: 0;
	background: url('images/ico-fleche-blanc.png') no-repeat left center;
	padding: 0 0 0 20px;
}

#col-right #projets a:hover{
	opacity: 0.6;
}

#col-right #blocs{
	float: right;
	height: 250px;
	width: 170px;
}

#col-right #blocs ul{
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

#col-right #blocs ul li{
	height: 72.5px;
	line-height: 20px;
	margin: 0 0 16px;
}

#col-right #blocs ul li:last-child{
	margin: 0 0;
}

#col-right #blocs ul li a{
	color: #fff;
	display: block;
	font-size: 14px;
	padding: 23px 5px 20px 60px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bolder;
}

#col-right #blocs ul li:last-child a{
	padding: 15px 25px 10px 65px;
}

#col-right #blocs ul li:first-child a{
	color: #000;
}

#col-right #blocs ul li#menu-item-130, #col-right #blocs ul li#menu-item-137, #col-right #blocs ul li#menu-item-515{
	background: url('images/ico-metiers.png') no-repeat 10px center #f4d92a;
}

#col-right #blocs ul li#menu-item-30{
	background: url('images/ico-actus.png') no-repeat 10px center #e20821;
}

#col-right #blocs ul li#menu-item-29{
	background: url('images/ico-contact.png') no-repeat 10px center #0050a0;
}

#col-right #blocs ul li:hover{
	opacity: 0.8;
}

/* NOS-SERVICES */
.page-id-23 {
	background: #fff;
}
.services {
	padding: 20px 0 !important;
}
.projets {
	margin: 3px 0;
	padding: 30px;
	width: 425px;
}
.projets h3 {
	margin: 0;
	text-transform: uppercase;
}
.projets ul {
	font-size: 17px;
	font-weight: 100;
	padding: 0 51px 0 0;
}
/* BLANC + JAUNE + ROUGE */
.block-blanc h3, .block-jaune h3, .block-rouge h3 {
	font-size: 25px;
	font-weight: 100;
}
.block-blanc .picto img, .block-jaune .picto img, .block-rouge .picto img {
	margin: 25px 0;
}
.block-blanc .picto, .block-jaune .picto, .block-rouge .picto {
	height: auto;
	margin: 0;
	text-align: center;
	width: 170px;
}
.block-blanc .description, .block-jaune .description, .block-rouge .description {
	width: 59%;
}
.block-blanc ul li{
	padding: 10px 5px;
}
/* BLEU */
.block-bleu {
	background: none repeat scroll 0 0 #155aa1;
	color: #ffffff;
	/* padding: 30px 30px 127px; */
	height: 700px;
}
.block-bleu  ul{
	list-style: outside none none;
	margin: 0;
	padding: 0 60px 0 0;
	text-align: justify;
}
.block-bleu  ul li{
	padding: 25px 5px;
}
.block-bleu h3 {
	font-size: 36px;
}
/* BLANC */
.block-blanc {
	background: none repeat scroll 0 0 #ffffff;
	color: #155aa1;
	height: 550px;
}
/* JAUNE */
.block-jaune {
	background: none repeat scroll 0 0 #f6d712;
	margin: 0 0 60px;
	/* padding: 40px 30px 79px; */
	height: 360px;
}
.block-jaune ul {
	padding: 0 80px 0 0;
}
/* ROUGE */
.block-rouge {
	background: none repeat scroll 0 0 #e10f2b;
	color: #fff;
	margin: 0 0 60px;
	/* padding: 30px 30px 0; */
	height: 510px;
}

/* footer */

footer{
	clear: both;
	background: #000;
	padding: 15px 0;
	text-align: center;
}

footer nav ul{
	margin: 0;
	padding: 0;
	list-style: none;
	display: table;
	width: 100%;
}

footer nav ul li{
	display: inline-block;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #000;
	font-size: 12px;
}

footer nav ul li:last-child{
	border-right: 0 none;
}

footer nav ul li a{
	color: #fff !important;
	display: block;
	padding: 3px 15px;
	text-decoration: none;
}

footer nav ul li:hover{
	border-bottom: 1px solid #fff;
}

footer nav ul li a:hover{
	color: #fff;
}

footer p{
	color: #fff;
	font-size: 12px;
	font-family: Arial, sans-serif;
	font-style: italic;
}

.page-id-5 .page a {
	/* display: unset; */
	float: left;
}

.page-id-7 .menu-item-130:hover  {
	opacity: 0.8;
}
.page-id-7 .menu-item-30:hover {
	opacity: 0.8;
}
.page-id-7 .menu-item-29:hover {
	opacity: 0.8;
}

#partenaires {
	margin: 65px 0 0 0;
}

.over {
	background: rgba(0, 0, 0, 0.75) none repeat scroll 0 0;
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 2;
	display: none;
}
.popup {
	background: #fff none repeat scroll 0 0;
	box-shadow: -3px 3px 6px 2px rgba(0, 0, 0, 0.3);
	height: auto;
	left: 50%;
	margin: 0 0 0 -275px;
	position: fixed;
	top: 25px;
	width: 550px;
	z-index: 3;
	display: none;
}
.popup .bgmp_placemark h3 {
	background: #000 none repeat scroll 0 0;
	color: #fff;
	padding: 15px 0;
	text-align: center;
}
.popup .bgmp_placemark > div {
	padding: 15px 10px;
}
.popup .bgmp_placemark > div div.item {
	/* overflow: hidden; */
	/* height: 500px; */
}
.popup .bgmp_placemark > div div.item img {
	width: 100%;
	height: auto;
}
.popup .bgmp_placemark > div > p{
	margin: 10px 0 0 0;
}

#bgmp_map-canvas .carousel {
  /* max-height: 300px !important; */
  /* overflow: hidden; */
  width: 100% !important;
}
#bgmp_map-canvas h3 + div img {
	width: 500px!important;
	height: auto!important;
	position: relative;
	top: 50%;

	-moz-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	-o-transform: translate(0, -50%);
	transform: translate(0, -50%);
}
.bgmp_placemark .owl-item {
	height: 300px !important; 
	overflow: hidden;
}
.bgmp_placemark div > a {
	display: none;
}
.bgmp_placemark div > a:first-child {
	display: inline-block;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.metaslider {
	margin: 0 0 20px;
}