/**
 * 2008 - 2015 HDClic
 *
 * MODULE PrestaBlog
 *
 * @version   3.6.6
 * @author    HDClic <prestashop@hdclic.com>
 * @link      http://www.hdclic.com
 * @copyright Copyright (c) permanent, HDClic
 * @license   Addons PrestaShop license limitation
 *
 * NOTICE OF LICENSE
 *
 * Don't use this module on several shops. The license provided by PrestaShop Addons
 * for all its modules is valid only once for a single shop.
 */

/** filtrage page recherche */
#categoriesFiltrage {
	display: block;
}
#categoriesFiltrage form {
	margin-top: 0;
}
#categoriesFiltrage input.search_query {
	width: 200px;
	float: left;
}
#categoriesFiltrage select {
	height: 28px;
}
#categoriesFiltrage div#categoriesForFilter { }
#categoriesFiltrage div.filtrecat {
	float:left;
	color: #fff;
	padding: 5px;
	margin-right: 5px;
	background: #333 none repeat scroll 0 0;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
#categoriesFiltrage div.deleteCat {
	float:right;
	cursor: pointer;
	margin-left: 5px;
}
#categoriesFiltrage div.deleteCat:hover {
	color: #6f6f6f;
}
/** /filtrage page recherche */

/** Force margin for template without margin on there paragraphe css **/
#prestablogfont p, #prestablogfont ul, #prestablogfont ol { margin: 0 0 15px; }

/** Bloc Search **/
#prestablog_bloc_search {
	position:relative;
}

#prestablog_bloc_search .btn.button-search {
	background: #0c9cfd none repeat scroll 0 0;
	border: medium none;
	color: #fff;
	display: block;
	padding: 0px 5px 0px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 70px;
}
#prestablog_bloc_search .btn.button-search span {
	display: none;
}
#prestablog_bloc_search .btn.button-search::before {
	content: "";
	display: block;
	font-family: "FontAwesome";
	font-size: 26px;
	text-align: center;
	width: 100%;
	line-height:48px;
}
#prestablog_bloc_search .btn.button-search:hover {
	color: #ffffff;
	background: #0984d6 none repeat scroll 0 0;
}
#prestablog_bloc_search #prestablog_search {
	 background: #ffffff none repeat scroll 0 0;
	 display: inline;
	 height: 48px;
	 margin-right: 1px;
	 padding: 13px 60px 13px 13px;
	 border-color:#ebebeb;
}
/** /Bloc Search **/

/** Related article on product */
ul.related_blog_product li {
	 display: block;
	 height: auto;
	 margin-bottom: 20px;
	 min-height: 40px;
	 width: 100%;
}
/** Block rss */
#prestablog_block_rss a {
	 background: none repeat scroll 0 0 #333333;
	 /*color: #777777;*/
	 color: #fff;
	 display: block;
	 font-weight: bold;
	 overflow: hidden;
	 padding: 7px 10px 10px 10px;
	 text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
	 font: 600 18px/22px "Open Sans",sans-serif;
}

#prestablog_block_rss a:hover {
	 background: none repeat scroll 0 0 #777777;
	 color: #fff;
}

#prestablog_block_rss a i {
	float:right;
}


/** Top NAV Menu */
.prestablog-nav-top {
	 border-left: 1px solid #515151;
	 float: right;
}

@media (max-width: 479px) {
	.prestablog-nav-top {
		 text-align: center;
		 width: 25%;
	}
}
.prestablog-nav-top a {
	 color: #FFFFFF;
	 cursor: pointer;
	 display: block;
	 font-weight: bold;
	 padding: 8px 10px 11px;
	 text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
@media (max-width: 479px) {
	.prestablog-nav-top a {
		 font-size: 11px;
		 padding-left: 5px;
		 padding-right: 5px;
	}
}
.prestablog-nav-top a:hover, .prestablog-nav-top a.active {
	 background: none repeat scroll 0 0 #2B2B2B;
}

/** Slide */

.prestablog_slide {
	width: 100%;
	margin:0;
	padding:0;
	position: relative;
	float: left;
	margin-bottom: 7px;
	background: #FFF;
}

/** If an image is wrapped in a link  */
.prestablog_slide .nivoSlider a.nivo-imageLink {
	position:absolute;top:0px;left:0px;width:100%;
	border:0;padding:0;margin:0;z-index:6;display:none; overflow:hidden; height: 100%;}

.prestablog_slide .nivoSlider img, .productslinks .nivoSlider img {display:none;position:absolute;top:0px;left:0px;max-width: none;}
.prestablog_slide .nivo-main-image, .productslinks .nivo-main-image {display: block !important;position: relative !important; width: 100% !important;}
.prestablog_slide .nivo-slice, .productslinks .nivo-slice {display:block;position:absolute;z-index:5;height:100%;top:0;}
.prestablog_slide .nivo-box, .productslinks .nivo-box {display:block;position:absolute;z-index:5;overflow:hidden;}
.prestablog_slide .nivo-box img, .productslinks .nivo-box img { display:block; }
.prestablog_slide .nivoSlider, .productslinks .nivoSlider {position:relative;}

.prestablog_slide .nivo-controlNav {
	text-align: center;
	position: absolute;
	top: 5px;
	right: 0px;
	width: 100%;
	height: 10px;
	z-index:8;
}
.prestablog_slide .nivo-controlNav a {
	background: none repeat scroll 0 0 #2A2A2A;
	border-radius: 5px 5px 5px 5px;
	float: none;
	display: inline-block;
	height: 0;
	overflow: hidden;
	padding: 6px 3px 0;
	width: 6px;
	box-shadow: #ccc 2px 2px 3px;
	cursor: pointer;
	text-indent: -9999;
	margin-top: 4px;
	margin-right: 4px;
}
.prestablog_slide .nivo-controlNav a.active, .prestablog_slide .nivo-controlNav a:hover {
	background: #fff;
	border: 2px solid #333;
	margin-bottom: -2px;
}
.prestablog_slide .nivo-directionNav .nivo-prevNav {
	background: url(../img/controls.png) no-repeat left bottom;
	float: left;
	left: 5px;
	 top: 40%;
}
.prestablog_slide .nivo-directionNav .nivo-nextNav {
	background: url(../img/controls.png) no-repeat right bottom;
	float: right;
	right: 5px;
	 top: 40%;
}
.prestablog_slide .nivo-directionNav .nivo-prevNav:hover {
	background: url(../img/controls.png) no-repeat left top;
}
.prestablog_slide .nivo-directionNav .nivo-nextNav:hover {
	background: url(../img/controls.png) no-repeat right top;
}
.prestablog_slide .nivo-directionNav a {
	position: absolute;
	 cursor: pointer;
	 z-index: 99;
	height: 32px;
	width: 35px;
	text-indent: -9999px;
	-webkit-transition: all 200ms ease-in-out;
	 -moz-transition: all 200ms ease-in-out;
	 -o-transition: all 200ms ease-in-out;
	 transition: all 200ms ease-in-out;
	opacity: 0;
}
.prestablog_slide:hover .nivo-directionNav a { opacity: 1; }

.prestablog_slide .nivo-caption  {
	position: absolute;
	top: 80%;
	background: #FFFFFF;
	border: 1px solid #ebebeb;
	padding: 20px;
	height: auto;
	width: 90%;
	margin-left:5%;
	color: #000000;
	z-index: 8;
	line-height:30px;
	font-size:25px;
	font-weight:bold;
}

.prestablog_slide .nivo-caption span{display:block; font-weight:normal; font-size:16px;}


/** Product linked slide */
#blog_product_linked {
	float: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 10px;
}
.productslinks {
	float: left;
	padding: 5px;
	width: 23%;
	text-align: center;
	margin-right: 10px;
	margin-bottom: 10px;
	border: 1px solid #E5E5E5;
	-webkit-transition: all 200ms ease-in-out;
	 -moz-transition: all 200ms ease-in-out;
	 -o-transition: all 200ms ease-in-out;
	 transition: all 200ms ease-in-out;
	 min-height:170px;
	 font-weight:bold;

}
.productslinks:hover {
	border: 1px solid #ff0000;
}

.productslinks .img-thumbnail {border:0 !important;}

/** Article link */
ul.articleslinks {
	padding-left: 40px;
	margin-bottom: 10px;
	list-style: square;
}

/** FIN SLIDE */
a.bloc-rss img {
	margin-bottom:5px;
}

a.bloc-rss:hover img {
	opacity: 0.7;
	filter:alpha(opacity=70);
}
/** Listing */
#blog_list * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin:0;
}
#blog_list {
	display: block;
	float: left;
	width: 100%;
	clear: both;
}
#blog_list li {padding-top:30px; padding-bottom:30px;}

.more_lnk{text-align:right; text-transform:uppercase; font-size:25px;}
.more_lnk a{color:#0099ff; text-decoration:none;}
.more_lnk a:hover{color:#FF0000; text-decoration:none;}

#blog_list li.tiers {width:50%; padding:0 15px; float:left;padding-bottom: 30px; padding-top: 30px;}
#blog_list li.tiers h3{ color:#0c9cfd; font-weight:500;}
#blog_list li.tiers h3 a { color: #0c9cfd;}
#blog_list h3 a{color: #000000;}
 #blog_list li .link_toplist {
	border-radius: 20px;
	width: 30px;
	height: 30px;
	display: block;
	margin-top: 20px;
	margin-bottom: 20px;
    padding-top: 5px;
    padding-left: 7px;
	color: #000000;
	background-color: #fff;
	font-family: "FontAwesome";
    margin-right: auto;
    margin-left: auto;
}

 #blog_list li .link_toplist:before { content: '\f002';}
 #blog_list li .link_toplist:hover {background-color: #ff5600;}
#blog_list li:hover {

}
#blog_list h3 {
	color:#0c9cfd; text-transform:uppercase; font-weight:bold; font-size:25px; line-height:30px; padding-bottom:15px; min-height:80px;
}
#blog_list h3 a{color:#0c9cfd;}
#blog_list h3 a:hover{color:#ff0000;}

#blog_list .block_cont {
	width: 100%;
}
#blog_list .block_top {	width: 100%; position: relative;}
#blog_list .block_top .blog_desc {
	position: absolute;
	width: 100%;
	height: 0%;
	padding: 30px;
	background-color: rgba(0, 0, 0, 0.4);
	margin: 0;
	color: #fff;
	font-size: 16px;
	opacity: 0;
	overflow: hidden;
}
#blog_list li:hover .block_top .blog_desc {opacity: 1; height: 100%;}
#blog_list .block_top img {width: 100%; height: auto;}
#blog_list .block_bas {
	width: 100%;
    font-size: 16px;
    line-height: normal;}
#blog_list .blog_link{font-size: 25px;
    text-align: right; float: right;
    text-transform: uppercase;   color: #0099ff;
    text-decoration: none;}
.product_img_link{margin-bottom:25px !important; display:block;}
.product_img_link img{width:100%;-webkit-transition-duration: 0.3s;-moz-transition-duration: 0.3s;transition-duration: 0.3s; opacity:1;}
.product_img_link img:hover{-webkit-transition-duration: 0.3s;-moz-transition-duration: 0.3s;transition-duration: 0.3s; opacity:0.8;}
.blog_crop_desc{font-size:16px; line-height:28px;}

/*#blog_list .blog_link:after {
	font-family: "FontAwesome";
	content: '\f054 \f054';
    margin-left: 6px;
    font-size: 10px;
}*/
#blog_list .comments {float: right;   font-size: 14px;}
#blog_list .comments:before{
	font-family: "FontAwesome";
	content: "\f0e6";
    margin-right: 1px;
}

#blog_list a.blog_link:hover, #blog_list .comments:hover {
	text-decoration: none;
	color: #ff5600;
}
#blog_list p {
	margin: 12px 0px;
	min-height:100px;
	line-height: 24px;
}
#blog_list .block_top .blog_desc, #blog_list .block_top .blog_desc a {
	-webkit-transition: all .6s ease-in;
	 -moz-transition: all .6s ease-in;
	 -o-transition: all .6s ease-in;
	 transition: all .6s ease-in;
}
/** Typo*/

#prestablogfont ul, #prestablogfont ol {
	padding-left: 40px;
	margin-bottom: 15px;
}

#prestablogfont ul li {
	list-style: square;
}

#prestablogfont ol {
	list-style: decimal;
}

.info_blog {
	font-size: 11px;
	color: #8B8B8B;
	}
.info_blog a, .date_blog-cat, ul#blog_list li .date_blog-cat a { color: #ACACAC; }
.date_blog-cat {
	font-size: 10px;
	font-weight: normal;
}

.categorie_blog {
	color: #A020F0;
}

.categorie_blog:hover {
	text-decoration:underline;
}

/** Navigation slide */
#prestablog_nav_slide {
	width: 100%;
	float: left;
	display: block;
	clear: both;
	text-align: center;
	padding-bottom: 5px;
}
#prestablog_nav_slide a {
	background: url(../img/nav-slide.png) no-repeat right top;
	display: inline-block;
	height: 16px;
	width: 16px;
	outline: medium none;
	text-indent: -9999em;
	margin-right: 1px;
	margin-left: 1px;
}
#prestablog_nav_slide a.activeSlide {
	background: url(../img/nav-slide.png) left top;
}
#prestablog_nav_slide a:hover {
	background: url(../img/nav-slide.png) left top;
}
.prestablog_slide ul.admin { padding:0px; }

/** date */
#prestablog_dateliste ul {
	font-weight:bold;
}

#prestablog_dateliste ul ul {
	color:#7F7F7F;
	font-size:90%;
	font-weight:normal;
	margin-left:15px;
}
#prestablog_dateliste ul ul li {
	list-style-type: square;
	margin-top: 2px;
	margin-bottom: 2px;
}
/** bloc last liste */
img.lastlisteimg {
	float: left;
	margin-right: 7px;
	margin-bottom: 7px;
	margin-top: 5px;
}

/** Pagination category */
.cat_prestablog p {
	margin-top: 5px;
	margin-bottom: 5px;
	padding-bottom: 0px;
}
div.prestablog_pagination {
	text-align:left;
	margin-top:15px;
	margin-bottom:40px;
	margin-right:15px;
	margin-left:15px;
}
div.prestablog_pagination a {
	padding: 10px 14px;
	margin-right: 2px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: #000000;
	display: inline-block
}
div.prestablog_pagination a:hover, div.prestablog_pagination a:active {
	padding: 10px 14px;
	margin-right: 2px;
	border: 1px solid #a0a0a0;
}
div.prestablog_pagination span.current {
	padding:  10px 15px;
	margin-right: 2px;
	border: 1px solid #929EA2;
	background-color: #BDC5C8;
	color: #4D4D4D;
}
div.prestablog_pagination span.disabled {
	padding: 10px 14px;
	margin-right: 2px;
	border: 1px solid #f3f3f3;
	color: #ccc;
	display:inline-block
}
div.prestablog_pagination span.more {
	padding: 10px 14px;
	margin-right: 2px;
	border: 1px solid #ddd;
	color: #aaa;
}

div.block_bas p.categories {
	font-size: 85%;
}

div.block_bas p.categories a {
	font-size: 115%;
}

/** Commentaires Facebook */
#prestablog-fb-comments .fb-comments,
#prestablog-fb-comments .fb-comments iframe[style],
#prestablog-fb-comments .fb-like-box,
#prestablog-fb-comments .fb-like-box iframe[style]
{width: 100% !important;}
#prestablog-fb-comments .fb-comments span,
#prestablog-fb-comments .fb-comments iframe span[style],
#prestablog-fb-comments .fb-like-box span,
#prestablog-fb-comments .fb-like-box iframe span[style]
{width: 100% !important;}

/** Commentaire */
fieldset#prestablog-comment {
	padding: 10px;
}
fieldset#prestablog-comment input {
	width: 100%;
}
fieldset#prestablog-comment input#submitComment {
	width: auto;
}
fieldset#prestablog-comment input.text {
	border: 1px solid #CCC;
	height: 20px;
}
fieldset#prestablog-comment textarea {
	width: 100%;
	height: 200px
}

fieldset#prestablog-comment p#errors {
	text-align:center;
	font-weight:bold;
}

fieldset#prestablog-comment input.errors, fieldset#prestablog-comment textarea.errors {
	border:solid 1px #0B9A0B;
}

div#comments {
	display: none;
}

span#toggle-comments {
	cursor:pointer;
}

div.comment h4 a {
	text-decoration:none;
}

div.comment h4 a:hover {
	text-decoration:underline;
}

div.comment {
	margin: 10px 0 10px 0;
	padding:5px;
}

div.comment hr {
	color:#E5E5E5;
	background-color: #D9D7D7;

}

div.comment p.date-comment {
	color:#7F7F7F;
	font-size:90%;
	 margin-top: -4px;
	margin-bottom : 10px;
	padding: 0px;
}

div#abo {
	font-size:90%;
	float:right;
}

div#abo a {
	color: #DD2A81;
	text-decoration:none;
}

div#abo a:hover {
	text-decoration:underline;
}


#block_footer_last_list {
	 float: left;
	 width: 175px;
	 padding: 15px 10px;
}

/** fix p sur bloc héritage prestashop */
.prestablog_cat_img {
	display: inline-block;
	height: auto;
	margin-bottom: 15px;
	max-width: 100%;
}

#prestablog_lastliste p, #prestablog_catliste p, #prestablog_dateliste li  {
	margin: 0;
	padding: 20px 0px;
	border-bottom: 1px solid #030303;
	/*float: left;*/
	width: 100%;
	display: inline-block;
	background: #FFF;
}

.catblog_p a{color:#000; text-decoration:none; font-size:16px;}
.catblog_p a:hover{color:#F00; text-decoration:none;}

#prestablog_dateliste li {
	border-bottom: none;
}
#prestablog_dateliste li li {
	border-bottom: 1px solid #030303;
}
#prestablog_lastliste a.button_large, #prestablog_catliste a.button_large, #prestablog_dateliste a.button_large {
	margin-top:10px;
}

.prestablog_thumb_cat {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}

/** Menu category */
#prestablog_menu_cat {
	 width: 100%;
	float: left;
}

#prestablog_menu_cat nav ul {
	min-height: 40px;
}
#prestablog_menu_cat nav a.mparent {
	background: url(../img/flechebas.png) no-repeat right center;
}

#prestablog_menu_cat nav ul ul a.mparent {
	background: url(../img/flechedroite.png) no-repeat right center;
}

#prestablog_menu_cat nav #nav-version {
	float:right;
}
#prestablog_menu_cat nav #nav-version:hover {
	background:none;
}
#prestablog_menu_cat nav {
	margin-bottom:10px;
}
#prestablog_menu_cat nav ul ul {
	display: none;
}
#prestablog_menu_cat nav ul li:hover > ul {
		display: block;
}
#prestablog_menu_cat nav ul, img.logo_home {
	list-style: none;
	position: relative;
	background: #333333;
}
#prestablog_menu_cat nav ul:after {
		content: ""; clear: both; display: block;
}
#prestablog_menu_cat nav ul li {
	float: left;
}
#prestablog_menu_cat nav span.parent {
	float: right;
}
#prestablog_menu_cat nav ul li:hover {
	background: #6A6A6A;
}
#prestablog_menu_cat nav ul li:hover a {color: #fff;}

#prestablog_menu_cat nav ul li a {
	display: block;
	padding: 9px 20px;
	color: #FFFFFF;
	text-decoration: none;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
	font: 600 18px/22px "Open Sans",sans-serif;
}

#prestablog_menu_cat nav ul li > img {
	padding: 0px 0px;
}

#prestablog_menu_cat nav ul ul {
	background: #6A6A6A;
	border-radius: 0px;
	padding: 0;
	position: absolute;
	min-width: 150px;
	z-index: 10;
}
#prestablog_menu_cat nav ul ul li {
	float: none;
	border-top: 1px solid #737373;
	border-bottom: 1px solid #737373;
	position: relative;
	}
#prestablog_menu_cat nav ul ul li a {
			padding: 10px 10px;
			color: #fff;
		}
#prestablog_menu_cat nav ul ul li a img {padding-right:5px;}
#prestablog_menu_cat nav ul ul ul {
	position: absolute; left: 100%; top:0;
}
img.news {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	max-width: 100%;
	}
#prestablogfont img {max-width: 100%;}
#prestablogfont img.f_left {
	margin-right: 10px;
	margin-bottom: 10px;
}
#prestablogfont img.f_right {
	margin-left: 10px;
	margin-bottom: 10px;
}
#prestablogfont iframe {border: none; max-width:100%;}
@media (max-width: 1024px) {
#blog_list .block_top .blog_desc {font-size: 12px;}
#blog_list li.tiers {width: 50%;}
#blog_list li .link_toplist {
    width: 26px;
    height: 26px;
}
}
@media (max-width: 700px) {
	#prestablog_menu_cat nav {display: none;}
	#prestablog_menu_cat nav ul {padding: 0;}
	#menu-mobile {
		cursor: pointer;
		background: #333333 url(../img/menu-toggle-mobile.png) no-repeat 10px center;
		display: block;
		height: 26px;
		width: 100%;
		margin-bottom: 10px;
	}
	#prestablog_menu_cat nav ul ul {
		left: 40px;
		width: auto;
	}
	#prestablog_menu_cat nav ul ul ul {
		 position: absolute;
		 top: 0px;
		width: auto;
	}
	#prestablog_menu_cat nav ul li {
		float: none;
	}
}
@media (max-width: 600px) {
#blog_list .block_top .blog_desc {font-size: 12px;}
#blog_list li, #blog_list li.tiers {width: 100%;}
}

@media (max-width: 400px) {
img.news {
	float: none;
	display: block;
	clear: both;
	}
#blog_list .block_top {
	text-align: center;
	width: 100%;
}
#blog_list .block_bas {
	 width: 100%;
}
}

@media (max-width: 991px) {
	.productslinks {width:auto;}
		
}

#prestablog_catliste li {
  position: relative; }
#prestablog_catliste li span.grower {
 display: block;
 background: #f6f6f6;
 position: absolute;
 right: 0;
 top: 0;
 cursor: pointer;
 font-family: "FontAwesome";
 font-size: 14px; }
 #prestablog_catliste li span.OPEN:before, #prestablog_catliste li span.CLOSE:before {
	content: "\f068";
	display: block;
	vertical-align: middle;
	width: 30px;
	height: 30px;
	color: #333333;
	line-height: 30px;
	text-align: center; }
 #prestablog_catliste li span.CLOSE:before {
	content: "\f067";
	color: silver; }

 #prestablog_catliste li span.OPEN ~ p {background-color: #f5f5f5;}
 
#categoriesFiltrage{background:#eee; padding:15px;}
#categoriesFiltrage select{width:200px !important; background:#ffffff; float:left;}
#categoriesFiltrage div.selector{float:left; margin-right:15px; background:#ffffff;}
#categoriesFiltrage form{margin-top:0 !important;}
#categoriesFiltrage .search_query{margin-right:15px;}
#categoriesFiltrage .button-search{width:auto; padding-left:10px; padding-right:10px; border:0; background:#ff0000; color:#ffffff; font-size:14px; text-transform:uppercase; font-weight:bold;}
#categoriesFiltrage .button-search:hover{ border:0; background:#eb1414; color:#ffffff;}

@media (max-width: 767px) {
	#categoriesFiltrage div.selector{margin-bottom:15px;}
	#categoriesFiltrage .search_query{margin-bottom:15px;width:100% !important;}
	#categoriesFiltrage select{width:100% !important;}
}

