/*
Theme Name: Thème Devances
Author: Lénaïc Couëllan
Description: Sous-thème Bootstrap
Template: nova-lite
*/

@import url("../nova-lite/style.css");


/* Colors : 

Noir header / Footer : #262626;
Noir écriture : #333;
Bleu : #3498db;
Gris footer : #93A1A7;
*/



/* General */
body {
	background: white !important;
}
body.blog{
	font-family: 'Lato',sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Cabin' !important;
	color: #333;
}
h1.title{
	font-family: 'Lato',sans-serif !important;
	color: #333 !important;
	text-align: center;
}
h1.title::before{
	font-family: FontAwesome;
}
p, li, address, dd, blockquote, td, th, .textwidget{
	font-family: 'Lato',sans-serif;
	font-weight: 300;
	font-size: 13px;
	color: #333;
}
.bottom a, .bottom p, .bottom li, .bottom address, .bottom dd, .bottom blockquote, .bottom td, .bottom th, .bottom .textwidget, #footer a, #footer p, #footer li, #footer address, #footer dd, #footer blockquote, #footer td, #footer th, #footer .textwidget{
	font-family: 'Lato',sans-serif;
}
.form-group{
	font-family: 'Lato',sans-serif;
}
form .btn-primary{
	border-radius: 5px !important;
	background-color: #3498db;
}
.page .col-sm-9 .container {
	max-width: 100%;
}
.container img{
	max-width: 100%;
	height: auto;
}
.article p img{
	width: 100%;
}
.pin-article{
	background: transparent !important;
	box-shadow: 0 0 0 !important;
}
.pin-article p{
	font-size: 16px;
}
.pin-article.span12 ul {
	list-style-type: circle;
}
.pin-article.span12 ul li {
	font-size: 16px;
}
.pin-article.span4 {display:none;}
hr{
	max-width: 600px;
	margin: 1em auto;
	border: 0 !important;
	height: 1px !important;
	background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	display: block;
	padding: 0;
}

/* Articles images */
.img-content-box{
    width: 100%;
    margin-top: 2.500em;
    position: relative;
    border-radius: 0.313em;
    overflow: hidden;
    background-color: #B1B1B1;
}
.img-content-box img{
	width: 100%;
	margin-bottom: 0;
}
.img-content-box p{
	display: none;
}
.img-content-box .overlay{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    background-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4));
    transition:all 0.5s cubic-bezier(0.77, 0, 0.18, 1) 0s;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 0 25%;
}
.img-content-box .overlay:hover{
	background: transparent;
}
.img-content-box .overlay .titre{
	font-size: 36px;
    font-weight: 600;
    margin: 0;
    color: white;
    font-family: 'Lato',sans-serif;
}

/* Titles */

.page-id-18 h1.title::before{
	content: "\f003";
}
.page-id-16 h1.title::before{
	content: "\f124";
}



/* Header */

#top-header {
	background-color: #3498db;
	color: white;
	text-align: center;
	font-size: 14px;
	padding-top: 7px;
	padding-bottom: 6px;
	line-height: 100%;
}
#top-header .fa-phone {
	margin-left: 20px;
}
#top-header .col-sm-4:nth-child(2n){
	padding-right:5%;
}
#top-header .col-sm-4 a{
	color: white;
	padding:0 10px;
}
#top-header .col-sm-4 a:hover{
	color: rgba(255,255,255,0.5);
}
#header{
	margin-bottom: 0;
	border-bottom: 10px solid;
	border-color:#3498db!important;
	min-height: 100px;
}
#header .container {
	width: 90%;
}
#header #header-txt-1,#header #header-txt-2{
	font-family: 'Lato';
	font-size: 28px;
	letter-spacing: 1px;
}
#header #header-txt-2{
	color:#93A1A7;
}
#header #mainmenu {
	min-height: 90px;
}
#header #mainmenu ul li a{
	font-family: 'Lato';
	font-size: 16px;
	text-transform: none;
    padding: 30px 0 30px 30px;
}
#logo a img {
	margin-top: 0px;
	width: 70px;
}
#logo {
	margin: 0;
}

/* Submenu */

.col-sm-3 .pin-article .article{
	padding: 0 auto;
}
.col-sm-3 .pin-article .article .title{
	display: none;
}
.menu-sous-menu-container{
	background: #333;
}
.menu-sous-menu-container ul{
	margin:0;
	padding: 0;
}
.menu-sous-menu-container ul li:first-child{
	border-top: 5px solid #3498db;
}
.menu-sous-menu-container ul li{
    margin: 0;
    padding: 6px 0px 6px 20px;
    transition: all .3s ease 0s;
}
.menu-sous-menu-container ul li a{
	color: white;
	font-weight: 500;
    line-height: 39px;
	display: block;
}
.menu-sous-menu-container ul li:hover,.menu-sous-menu-container ul .current_page_item {
	background: repeating-linear-gradient(-55deg, #f0f0f0, #f0f0f0 10px, #f5f5f5 10px, #f5f5f5 20px) repeat scroll 0% 0%;
}
.menu-sous-menu-container ul li:hover a,.menu-sous-menu-container ul .current_page_item a{
	color: #333;
	font-size: 16px;
}
.menu-sous-menu-container ul li:hover a{
	padding-left: 20px;
}



/* Homepage */



/* Slider */

#metaslider_8{
	border-bottom: 10px solid #3498db;
}
#metaslider_container_8 .theme-default .nivo-controlNav {
	padding: 8px 0;
}




/* Img boxes */

#container-thumbs{
	margin: 0px auto 50px auto;
	width: 100%;
}
#container-thumbs .col-sm-3{
	height:280px;
	overflow:hidden
}
#container-thumbs .col-sm-3 .img-box{
	height:110px;
	overflow:hidden;
	transition:all 0.5s cubic-bezier(0.77, 0, 0.18, 1) 0s;
}
#container-thumbs .col-sm-3:hover .img-box{
	height:220px;
}
#container-thumbs .col-sm-3 .img-box img{
	width: 100%;
	transition:all 0.5s cubic-bezier(0.77, 0, 0.18, 1) 0s;
	transform-origin:top center
}
#container-thumbs .col-sm-3:hover .img-box img{
	transform-origin:160px 4px 0px;
	transform:scale(1.5);
}
#container-thumbs .col-sm-3 .txt-box{
	padding-top:10px
}
#container-thumbs .col-sm-3 .txt-box h4{
	color: #333;
	font-weight: 600 !important;
	white-space: nowrap;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 20px;
	margin-top: 10px;
	margin-bottom: 20px;
}
#container-thumbs .col-sm-3 .txt-box .txt-desc{
	opacity:1;
	transition:.4s ease 0.05s
}
#container-thumbs .col-sm-3:hover .txt-box .txt-desc{
	opacity:0;
	transform:translateY(10px)
}
#container-thumbs .col-sm-3 .txt-box .txt-desc p{
	font-size:16px;
	line-height:20px;
}


/* About us */

#container-aboutus .section-heading{
	margin-bottom: 60px;
}
#container-aboutus .desc{
	font-size: 18px;
}
#container-aboutus{
	margin: 50px auto;
}
#container-aboutus .col-sm-6 p{
	line-height: 1.8;
	margin-bottom: 25px;
	font-size: 17px;
}
#container-aboutus .col-sm-6 ul li{
	font-size: 17px;
	list-style-type: square;
}


/* Quote */

#container-quote{
	border-bottom: 6px solid #3498db;

}
#container-quote:hover i{
	transition: color linear 0.5s;
	color:#3498db;
}
#container-quote .lead{
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 200;
	line-height: 36px;
	text-align: center;
}
#container-quote .lead small{
	display: block;
	color: #93A1A7;
}

/* Slider Logos */

.logos-slider {
	text-align: center;
	margin:30px auto;
	text-align: center;
}

.logos-slider:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

.logos-slider .content{
	text-align: left;
	height: 110px;
	overflow: hidden;
	position: relative;
}

.logos-slider .content .logos {
	position: relative;
	overflow: hidden;
	height: 110px;
	width: 40%;
	margin: auto;
}
.logos-slider .content .logos .slider {
	position: absolute;
	top: 0;
	height: 85px;
}
.logos-slider .content .logos .slider .row {
	float: left;
	margin: 15px;
}
.logos-slider .content .logos .slider .row img {
	margin: 0 15px;
	width: auto;
	height: 100px;
}


.page-id-18 h1.title, .page-id-16 h1.title{
	text-align: left;
}

/* Contact page */

.page-id-18  .pin-article .article>.col-sm-6{
	padding-left: 0;
}
.contact-info{
	background-color: #333;
	color: white;
	width: 300px;
	text-align: left;
	margin: 0 auto;
	padding: 10px 20px;
}
.contact-info .fa{
	padding-right: 5px;
}
.contact-info h4{
	margin-left: 38px;
	font-size: 22px;
}
.contact-info .text-block ul {
	list-style-type: none;
}
.contact-info .text-block ul li{
	color: white;
	font-size: 14px;
}
.page-id-18 .intro{
	margin-bottom: 30px;
	font-size: 16px;
}

/* Access */

.page-id-16 iframe{
	margin-bottom: 50px;
}
.page-id-16 .contact-info .text-block ul li {
	font-size: 15px;
	margin-bottom: 20px;
}
.page-id-16 .contact-info .text-block h4{
	margin-bottom: 20px;
}
.page-id-16 .contact-info{
	width: 375px;
}

/* Page 

/* Content pages */

.page-id-14 .img-content-box {
	margin-top: 0;
}
.page-id-14 .row .article .col-sm-4{
	margin: 40px 0px;
}
.page-id-14 .row .article .col-sm-4:first-child{
	padding-left:0 !important;
}

/* Footer */

#footer .container .row{
	padding-top: 30px;
	padding-bottom: 20px;
}
#footer .container .row .col-sm-4{
	margin-bottom: 30px;
}
#footer .container .row .col-sm-4 img{
	margin-top: 30px;
}
#footer .container .row .col-sm-4 h2{
	color: white;
	margin-bottom: 25px;
	padding-bottom: 0px;
	font-size: 1.1em;
}
#footer .container .row .col-sm-4:nth-child(2) ul {
	min-height: 250px;
}
#footer .container .row .col-sm-4 ul li{
	color: #93A1A7;
	line-height: 35px;
	font-family: 'Lato';
	font-weight: normal;
	font-size: 12px;
	text-transform: uppercase;
	transition:.4s ease 0.05s;
}
#footer .container .row .col-sm-4 ul li.active{
	font-size: 12px;
	color:white;
	font-weight: bold;
}
#footer .container .row .col-sm-4:nth-child(2n) ul li a {
	font-size: 14px;
	text-transform: none;
}
#footer .container .row .col-sm-4:nth-child(2n) ul li:first-child:hover{
	font-size: 12px !important;
}
#footer .container .row .col-sm-4:nth-child(2n) ul li:hover{
	color:white;
	font-weight: bold;
}
#footer .container .row .col-sm-4:nth-child(2n) ul li:last-child{
	margin-left: 92px;
}
#footer .container .row .col-sm-4 ul li span{
	color: white;
	margin-right: 10px;
	font-size: 12px !important;
	font-weight: normal;
	min-width: 80px;
	display: inline-block;
}

#footer .container .row .col-sm-4 ul li a{
	font-size: 12px;
	margin-left: 2px;
	display: inline-block;
}
#footer .container .row .col-sm-12{
	padding-top: 1em;
	border-top: 1px solid rgba(255,255,255,0.1);
}
#footer .container .row .col-sm-12 ul{
	text-align: center;
}
#footer .container .row .col-sm-12 li{
	border-right: 1px solid #3498db;
	display: inline-block;
	padding: 0 36px;
}
#footer .container .row .col-sm-12 li:last-child{
	border-right: none;
}
.bottom_socials{
	padding: 0;
}
.socials {
	margin: 25px 0 25px 0 !important;
}
.bottom_socials .socials a{
	display: none;
	color:#93A1A7;
}
#copyright{
	text-align: center;
    margin: auto;
    display: block;
	color:#93A1A7;
}
#mentions-siret{
	text-align: center;
	margin-bottom: 5px;
}
#mentions-siret p{
	font-weight: normal;
	font-size: 11px;
    margin: 0;
    line-height: 14px;
}



/* Responsive */

/* Tablets & Desktop */
@media (max-width: 1400px) and (min-width: 768px) {
	#container-thumbs {
		margin: 0px auto 50px auto;
		width: 100%;
	}
	#container-thumbs .col-sm-3 .txt-box h4 {
		white-space: normal;
	}
}

/* Phones */
@media (max-width: 768px){
	#top-header .col-sm-4{
		padding:0 !important;
		margin-bottom: 10px;
	}
	#header #header-txt-1, #header #header-txt-2{
		font-size: 22px;
	}
	#metaslider_8 .nivo-caption{
		display: none !important;
	}
	#container-thumbs{
		width: 100%;
	}
	#container-thumbs .col-sm-3{
		height: auto;
		margin-bottom: 50px;
	}
	#container-thumbs .col-sm-3 .img-box {
		height: auto;
	}
	#container-quote{
		margin-bottom: 50px;
	}
	.logos-slider .content .logos{
		width: 80%;
	}
	#footer .col-sm-4 ul{
		margin-left: 25%;
	}
	#footer .container .row .col-sm-4:first-child{
		display: none;
	}
	#footer .container .row .col-sm-4:nth-child(3n){
		text-align: center;
	}
	#footer .container .row .col-sm-4 ul li{
		font-size: 11px;
	}
	#footer .container .row .col-sm-4 ul li span {
		font-size: 11px !important;
	}
	#footer .container .row .col-sm-4 ul li h2{
		text-align: center;
	}
	#footer .container .row .col-sm-4:nth-child(2) {
	    display: flex;
	    justify-content: center;
	}
	#footer .container .row .col-sm-12 ul li{
		padding: 0 18px;
		font-size: 12px;
	}
	.socials{
		text-align: center;
	}
	#copyright{
		display: block;
		margin-left: 0%;
		text-align: center;
		width: 100%;
	}
	.col-sm-8,.col-sm-4{
		padding: 0;
	}
	.article{
		padding: 20px 0;
	}
	.page-id-16 iframe{
		height: auto;
	}
	.page-id-16 .contact-info {
    	width: 250px;
    	padding: 20px 5px;
	}
	.page-id-16 .contact-info .text-block ul{
		padding-left: 10px;
	}
}

/* Iphone 5 */
@media (max-width: 330px){
	#header #header-txt-1, #header #header-txt-2{
		font-size: 16px;
	}
}
#top-header div.container div.row {display:flex; margin-left:10px;}
#top-header div.container div.row div.col-sm-4 {margin-left:10px;}
#footer div.container div.row div.col-sm-4.animated.fadeInRight {float:left;margin-left:30px;}