/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/

.faq-heading {  
	font-weight: 600;
	font-size: 19px;
	-webkit-transition: text-indent 0.2s;
	text-indent: 20px;
	color: #333;
	margin: 12px 0;
	white-space: nowrap; 
	max-width: 600px; 
	overflow: hidden;
	text-overflow: ellipsis;
}

.faq-text { 
	width:95%;
	padding-left:20px;
	margin-bottom:20px;
}

.faq {
	border-radius: 4px;
	position: relative;
    padding: 0;
    border: solid #E1E1E1;
    border-width: 1px 1px 0px 1px;
}
.faq label {
	display: block;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	height: 56px;
	padding-top:1px;
	background-color: #fff;
	border-bottom: 1px solid #E1E1E1;
}

.faq input[type="checkbox"] {
	display: none;
}

.faq .faq-arrow {
	width: 10px;
	height: 10px;
	transition: -webkit-transform 0.8s;
	transition: transform 0.8s;
	transition: transform 0.8s, -webkit-transform 0.8s;
	-webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
	border-top: 2px solid #333;
	border-right: 2px solid #333;
	float: right;
	position: relative;
	top: -35px;
	right: 20px;
	-webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

 .faq input[type="checkbox"]:checked + label > .faq-arrow {
	transition: -webkit-transform 0.8s;
	transition: transform 0.8s;
	transition: transform 0.8s, -webkit-transform 0.8s;
	-webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
 .faq input[type="checkbox"]:checked + label {
	display: block;
	background: rgba(255,255,255,255) !important;
	color: #4f7351;
	height: 225px;
    overflow-y: scroll;
	transition: height 0.8s;
	-webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

 .faq input[type='checkbox']:not(:checked) + label {
	display: block;
	transition: height 0.8s;
	height: 50px;
	-webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/*-- Responsive design --*/

@media screen and (max-width: 736px) {
	.faq-heading {
		font-size: 17px;
	}
	.faq .faq-arrow {
		top: -30px;
	}
}
@media screen and (max-width: 568px) {
	.faq-heading {
		max-width: 450px;
	}
}
@media screen and (max-width: 480px) {
	
	.faq-heading {
		font-size: 17px;
		text-indent: 0px;
		margin: 10px 40px 10px 20px;
	}
}
@media screen and (max-width: 415px) {
	.faq .faq-arrow {
		top: -25px;
	}
}