/* FAQ Users Prestashop module
 * Copyright 2015, Prestaddons
 * Author: Prestaddons
 * Website: http://www.prestaddons.fr
 */

/* Styles du module FAQ Users */	
#selectFaqSearch{
    background: #fbfbfb none repeat scroll 0 0;
    display: inline;
	width: inherit;
}
#submitSearch{
	margin:0;
}
#faqSortForm{
	padding-bottom:10px;
}
#module-faqusers-view .nbrItemPage{
	float: left;
    text-align: left;
    line-height:1.42857;
	margin: 24px 0;
}
#module-faqusers-view .pagination {
	display:inline-block;
	text-align:center;
	float:right;
}
#module-faqusers-view .pagination > li {
    display: inline-block;
}
#module-faqusers-view #pagination_previous{

}
#module-faqusers-view #pagination_next{

}

.faq_list{
    overflow:hidden;
}
.block_faq, .content_new_question{ 
    margin-bottom: 10px;
	padding: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.content_sortPagiBar,
.content_sortPagiBar .sortPagiBar,
.content_sortPagiBar label {
	border:none;
}
.content_sortPagiBar {
	margin-bottom:20px;
}
.sortPagiBar {
	padding:0 !important;
}
.sortPagiBar #faqSortForm , 
.sortPagiBar #faqSearchForm {
    border:none;
	padding:0 !important;
}
#faqusers_faq_sort {
	float:left;
}
#faqusers_faq_search {
	float:right;
}
#uniform-selectFaqSort {
	float:left;
}
.content_new_question {
    display: none;
	background-color: #FBFBFB;
	border:1px solid #d6d4d4;
}
.new_question_link{
    cursor: pointer;
	border:1px solid #d6d4d4;
    color: #444;
    margin: 0 0 0 7%;
    padding: 0 10px;
	font-size: 1.1em;
	line-height: 25px;
	display:inline-block;
	width:200px;
	text-align: center;
	background-color: #FBFBFB;
}
.new_question_link:hover{
	background-color: #FFF;
}
#faqNewForm ul li{
	width:100%;
	height:50px;
	clear:both;
}
#faqNewForm ul li:last-child{
    clear:both;
}
#faqNewForm ul label{
    width:15%;
	float:left;
	padding-top:5px;
}
#faqNewForm input,
#faqNewForm textarea{
	width: 70%;
	float:left;
}
#faqNewForm select,
#faqNewForm dt{
	border-color:#d6d4d4;
	float:left;
}
#faqNewForm .styled-select ul {
	left:-11px;
	right:inherit;
	top:inherit;
	position:relative;
	border-color: #d6d4d4;
	max-width: 293px;
	width:100%;
}
#faqNewForm .styled-select ul li {
	line-height:20px;
	height:30px;
	margin-top:0;
}
#faqNewForm .styled-select select {
	position:relative;
	float:left;
	height: 0;
}
#faqNewForm textarea {
    resize: none;
}
#faqNewForm input:required,
#faqNewForm textarea:required{
	content:'*';
	color:#333;
}
#faqNewForm input:required + span:after,
#faqNewForm textarea:required + span:after,
#faqNewForm .red {
	color:#ff0000;
}
#faqNewForm input:required + span:after,
#faqNewForm textarea:required + span:after {
	content:'*';
	margin-left:10px;
}
#faqNewForm input:valid + span:after,
#faqNewForm textarea:valid + span:after{
	content: '';
}
#faqNewForm input:focus:invalid,
#faqNewForm textarea:focus:invalid{
	border-color:#ff0000;
	background-image: none;
	-moz-box-shadow: 0px 0px 5px 0px #d45252;
	-webkit-box-shadow: 0px 0px 5px 0px #d45252;
	-o-box-shadow: 0px 0px 5px 0px #d45252;
	box-shadow: 0px 0px 5px 0px #d45252;
}
#faqNewForm .notice{
	float:left;
	margin-top:5px;
}

#faq_list ol {
    list-style: decimal inside;
}

#faq_list ul {
    padding-bottom: 20px;
	list-style: none inside;
}
#faq_list li ul li:before {
    content:'- ';
	line-height:30px;
}
#faq_list li.block_faq {
    list-style: none;
}
.faq_category_title h4 {
    margin-bottom: 5px;
}

#pagination_previous a, 
#pagination_previous span, 
#pagination_next a, 
#pagination_next span {
    width: auto;
}

.success, .error {
    padding: 10px 5px;
    margin: 0 0 10px 0;
    background-color: #46a74e;
    border: 1px solid #36943e;
    color: #FFF;
    font-weight: 700;
}

.error {
    background-color: #D31909;
    border: 1px solid #EB060F;
}

.pagination > li.current > span {border: 1px solid #9B9898;}

.faq_answer p {
	margin:0;
}
#module-faqusers-view #faq_list a {
	font-size:1.1em;
}
/*h2 {
	font-size: 1.4em;
	color:#3a3939;
}*/
h2.page-product-heading i{
	float:right;
}
hr {
	border-color:#d6d4d4;
}

@media (max-width: 1199px) {

	#faqNewForm .styled-select ul {
		left:-41px;
	}
}
@media (max-width: 991px) {
	#faqusers_faq_search {
		float:none;
	}
	.content_sortPagiBar {
		margin:0;
	}
	#faqNewForm .styled-select select {
		position:absolute;
	}
	#faqNewForm .styled-select ul {
		left:106px;
	}
}
@media (max-width: 640px) {

}
@media (max-width: 480px) {
	#submitSearch {
		width:100%;
		margin: 0 0 20px 0;
	}
	#faqNewForm ul li {
		height:auto;
		line-height:initial;
		margin:0;
	}
	#faqNewForm ul label {
		float:none;
		width: 25%;
	}
	#faqNewForm .styled-select ul {
		left:0;
		max-width:none;
	}
	#faqNewForm input,
	#faqNewForm textarea {
		width:100%;
	}
}
/* Section dynamique générée par le backoffice */
#module-faqusers-view .content_scene_cat_bg,
#module-faqusers-link .content_scene_cat_bg {
	background: url(../img/banner-s-1.jpg) 0 top no-repeat !important;
	background-size:contain;
}