/*
Theme Name: ERIANE
Author: Woozup
Author URI: https://www.woozup.com
Version: 1.0
*/

/* Couleurs :
bleu : #0f477d
rouge : #d41b31
*/

*{font-family: 'Tahoma', sans-serif;}
body{/*background-image: url("img/granularite.png"); background-repeat: repeat;*/background-color: #c2dcec;}
/*.body {background-image: url("img/bg3.jpg"); background-repeat: no-repeat; background-position: center 60px; background-size: 100% auto;}*/
.h1, .h2, .h3, h1, h2, h3{font-family: 'Aptos', sans-serif; font-weight: 300; margin-bottom: 10px; margin-top: 10px;}
h1{margin:50px 0; font-size: 48px; color: #0f477d}
h2{margin: 40px 0 20px 0;}
p{line-height: 24px}
img{max-width: 100%; height: auto;}
.nopadding{padding:0;}
.padding{padding:20px}
.spacetop{margin-top:20px;}
.large-container{max-width: 1600px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px;}

/* COLORS */
.bleu{background-color:#0f477d; color:#FFF;}
.rouge{background-color:#d41b31; color:#FFF;}
.blanc{background-color:#FFF; color:#000;}
.gris{background-color:#F6F6F6; color:#000;}
.violet {background-color: #2b2936; color:#FFF;}
.bgstrong{background-color: rgba(0,0,0,0.1);}
.bglight{background-color: rgba(255,255,255,0.1);}
.text-bleu{color:#0f477d;}
.text-rouge{color:#d41b31;}


/* HEADER */
header{background:#FFF; padding-top: 20px}
header .logo-RGE{height: auto; width: 100px; padding: 0 10px}
.phone{font-size:18px; padding:8px 16px; box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.4); font-weight: 700;}
a{text-decoration:none;color: #FFF;} 

header .navbar-default {background-color: #FFF;border:none;}
header .navbar-default .navbar-nav > li > a:hover {text-decoration: none; background:#d41b31; color:#FFF;}
header .navbar {margin-bottom: 0; margin-top: 20px;}
header .navbar-default .navbar-collapse, .navbar-default {padding:0;}


ul.menu{list-style: none; padding: 0; margin: 20px 0 0 0;}
ul.menu li{display:inline-block; margin: 0;}
ul.menu li a{display:inline-block; padding: 10px; font-size:16px; font-weight: 300; color:#666868; margin: 0; }
ul.menu li a:hover{text-decoration: none; background:#d41b31; color:#FFF;}
ul.menu li.current_page_item a{text-decoration: none; background:#d41b31; color:#FFF}

ul.menu li:hover > ul {visibility: visible;}
ul.menu li ul{display: block; width:200px; position: absolute; margin:0; padding:0; background:#FFF; text-align: left; visibility: hidden; z-index:999;}
ul.menu li ul li {display: block; background:#d41b31;}
ul.menu li ul li a{display: block; background-color: rgba(0,0,0,0.1); color:#FFF;}

ul.menu li:hover > ul li ul{visibility: visible;}
ul.menu li ul li ul{display: block; width:200px; position: relative; margin:0; padding:0; background:#FFF; text-align: left; visibility: hidden; z-index:999;}
ul.menu li ul li ul li a{display: block; background-color: rgba(0,0,0,0.05); color:#FFF; font-size: 12px; padding-left: 10px}


/* HOME */
.slogan{padding: 120px 0 20px;}
.slogan span.rouge{display: inline-block;}
.slogan span {font-size: 50px;}
.home-products{list-style: none; margin: 0; padding:0;position: relative;z-index: 99;top: 100px;}

.home-products li .product{ background-size: cover; color : white; background-color: #0f477d;height: 230px;filter: grayscale(0%);transition:all 0.3s;box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);}
.home-products li .lien-rouge{display:block; height:60px;line-height: 60px; font-size: 20px; text-align: center; cursor: pointer; background-color: rgba(15,71,126, 0.8); color:#FFF;border:1px solid transparent;position: relative;top: -60px;}
.home-products li .product:hover {filter: grayscale(100%); box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.8);}

.product-toiture{background-image:url("img/bg_toiture.jpg");}
.product-facade{background-image:url("img/bg_facade.jpg");}
.product-sol{background-image:url("img/bg_sol.jpg");}
.product-balcon{background-image:url("img/bg_balcon.jpg");}
.intro{background-image: url("img/bg_intro.jpg"); background-repeat: no-repeat; background-position: top right; background-size: auto 100%; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);}

/*Actu - home */
.blog-home article{padding-top:20px; padding-bottom: 40px;}
.blog-home article .more-link{padding: 8px 16px}
.blog-home article time {font-style: italic;color:#CCC;}
.blog-home article .more-link:hover {color: #FFF;}
.blog-home h2 {margin-bottom: 0px;}

/* CONTENT */
.content{padding:20px 0;}
.flex-content{padding-top: 40px; padding-bottom: 40px;}


/* REALISATIONS > LISTE */
ul.filtre{list-style: none; padding: 0; margin: 10px 0;}
ul.filtre li{display: inline-block;}
ul.filtre li a{display: inline-block; padding: 8px 16px; border: 1px solid #666; color: #666 }
ul.filtre li.active a{background-color: #d41b31; color: #FFF; border: 1px solid #d41b31;}


.realisations .realisation-item a{position: relative; overflow: hidden; display: block; background-size:cover; background-color: #333; margin-bottom: 0px; min-height: 180px}
.realisations .realisation-item:before a{content: ""; display: block; padding-top: 70%;}
.realisations .realisation-content{ position:  absolute; top: 0; left: 0; bottom: 0; right: 0; color: white;}
.realisations .realisation-content div {display: table; width: 100%; height: 100%;}
.realisations .realisation-content span{display: table-cell; text-align: center; vertical-align: middle; font-size: 24px;}
.realisations .realisation-content span i{visibility: hidden;}
.realisations .realisation-content span:hover {background-color:rgba(49, 58, 94, 0.7);}
.realisations .realisation-content span:hover>i{visibility: visible;}
.realisations .description{background-color: #d9d9d9; min-height: 70px; padding: 15px; margin-bottom: 25px;}
.realisations .description h2{font-size: 18px;
    color: #0F477D;
    font-weight: bold;
    margin: 0;
    line-height: 20px;
    text-transform: uppercase;}

/* REALISATION > SINGLE */
.single-realisation .galerie{list-style: none; margin: 0; }
.single-realisation .galerie li{display: inline-block; margin: 5px;}
.single-realisation .galerie li a{}
.realisation-solutions{padding-left:100px}
.realisation-solutions h2{margin-top: 40px}
.icon-resalisation{background-repeat: no-repeat; background-size: 60px auto; background-position:20px 0;}
.icon-proposition{background-image: url(img/icon-proposition.png);}
.icon-technique{background-image: url(img/icon-technique.png);}
.icon-plus{background-image: url(img/icon-plus.png);}

.bloc-infos h3{padding:10px;}
.bloc-infos ul{list-style: none; padding:0; margin: 0;}
.bloc-infos ul li{padding: 14px 0; border-bottom:1px solid #DC3437; text-align: center;}
.bloc-infos ul li:last-child{border-bottom:none;}
.bloc-infos ul li label{display:block; padding-right: 8px; text-transform: uppercase;}

/* FACADE */ 
.sidebar  {padding: 0px; list-style-type: none; padding: 10px;}
.sidebar li a {color: #000; display: block; padding: 5px 0;}

/* GOOGLE MAP */
.ggmap {width: 100%; height: 180px; border: #ccc solid 1px; margin:0;}
.ggmap img {max-width: inherit !important;}
.map-contact {height: 350px!important;}

/*CONTACT*/
#ninja_forms_field_25_div_wrap {display: none;}
.ouvert {display: block!important;}
iframe {width: 100%;}
/* ACTU */
.blog article{padding-top:20px; padding-bottom: 40px; border-bottom:1px solid #CCC;}
.blog article .more-link{padding: 8px 16px}
.blog article time {font-style: italic;color:#CCC;}
.blog article .more-link:hover {color: #FFF;}

/* FOOTER */
footer{ background:#285d84; padding: 20px 0;}
.menu-footer{list-style: none; padding: 0; margin:0; font-size: 12px}
.menu-footer li a{color: #EEE;}
footer h5{font-size: 18px; font-weight: 700; margin-bottom: 0}
footer .phone{font-size:16px; padding:0; box-shadow: none; font-weight: 700;}
.logo-RGE{padding: 15px 0 10px 15px;}


/* OWL */
.owl-carousel{padding:20px 50px;}
.owl-nav .owl-prev{text-indent: -9999px; display: block; width: 40px; height: 80px; background-image:url('img/owl-nav.png'); background-position: top left;  position:absolute; top: 60px; left:0;}
.owl-nav .owl-next{text-indent: -9999px; display: block; width: 40px; height: 80px; background-image:url('img/owl-nav.png'); background-position: top right; position:absolute; top: 60px; right:0;} 
.owl-nav .disabled{background-image: none;}



/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

@media screen and (max-width: 1024px) {
    
}

@media screen and (max-width: 768px) {
/* header */
   header .navbar-toggle {background:#d41b31; color:#FFF;border:none;border-radius: 0;margin-right: 20px;}
   header .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {background-color: #ecf3f7;}
   header .navbar-default .navbar-toggle:focus .icon-bar, .navbar-default .navbar-toggle:hover .icon-bar {background-color: #0f477d;}
   header .navbar-default .navbar-toggle .icon-bar {background-color: #FFF}
   header ul.menu {display: block;padding: 0 20px;}
   header ul.menu li {display: block; text-align: right;}
   header ul.menu li a {font-size: 18px;width: 100%}
   header .mobile-center {text-align: center!important;margin-top: 30px;}

   /* front */
   .intro .blanc-responsive {background-color: rgba(255,255,255, 0.5);padding: 10px;}

}

@media screen and (max-width: 685px) {
    /*home*/
    .phone {display: inline-block;margin-top: 20px;}

}

@media screen and (max-width: 480px) {
  

}

