/* Just some styles to set the page layout. */

#productes p {
	font-size: 16px;
	margin: 10px 0;
}
#productes a {
	font-size: 12px;
	text-decoration: none;
	color: #f00;
}
#productes p span {
	color: #00f;
}
#productes #container {
	width: 960px;
	margin: 0 auto;
	padding-bottom: 40px;
}
#productes #examples {
	margin-top: 60px;
}

.clear {
	clear: both;
}

#productes li {
	list-style-position: inside;
}
#productes  #example4 > ul > li.frame-0.frame.frame-closed {
	background-image: url(../images/metges.jpg);
}
#productes #example4 > ul > li.frame-1.frame.frame-closed {
	background-image: url(../images/particulars.jpg);
}
#productes #example4 > ul > li.frame-2.frame.frame-closed {
	background-image: url(../images/empreses.jpg);
}
#productes #example4 > ul > li.frame-3.frame.frame-closed {
	background-image: url(../images/dia-a-dia.jpg);
}
#productes #example4 ul {
	list-style: none;
}
#productes #example4 h3 {
	color: #fff;
	/*text-transform: uppercase;*/
	font-size: 24px;
	line-height: 1;
}
#productes #example4 p {
	color: #fff;
}
#productes #example4 .frame-0 {
	background: url(../images/metges.jpg) top left;
}
#productes #example4 .frame-1 {
	background: url(../images/particulars.jpg) top left;
}
#productes #example4 .frame-2 {
	background: url(../images/empreses.jpg) top left;
}
#productes #example4 .frame-3 {
	background: url(/images/metges.jpg) top left;
}

#productes #example4 .frame-visible {
	width: 200px;
	padding: 15px;
	background: #FFF;
	margin-left: 0;
	margin-top: 50px;
	
}
#productes #example4 .frame-visible h3 {
	color: #333;
	font-size: 20px;
}
#productes #example4 .frame-content {
	width: 400px;
	padding: 50px;
}
#productes #example4 .frame-closed .frame-content {
	display: none;
}
#productes #example4 .frame-open .frame-content {
	display: block;
	animation-name: fadeIn;
	animation-duration: 2000ms;
}
#productes #example4 .frame-closed .frame-visible {
	display: block;
	animation-name: backInLeft;
	animation-duration: 1000ms;
}
#productes #example4 .frame-open .frame-visible {
	display: none;
}
#productes button {
	background: #000;
	border: 1px solid #000;
	color: #fff;
	padding: 14px 30px;
	font-size: 14px;
	-webkit-border-radius: 130px;
	-moz-border-radius: 130px;
	border-radius: 130px;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	font-weight: 500;
	margin-top: 50px;
}
#productes #example3 {
	display: none;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
#productes #example4 .frame-visible {
	width: 165px;
	padding: 15px;
	background: #FFF;
	margin-left: 0;
	margin-top: 50px;}
	
}
@media (max-width: 992px) {
	#productes #example4 {
		display: none;
	}
	#productes #example3 {
		display: block;
	}
}
#productes #example3 .accordion-title {
	width: 440px;
	padding: 15px;
	background: #FFF;
	opacity: 0.6;
	margin-left: 0;
	margin-top: 0px;
	color: #000;
	font-size: 20px;
	flex-grow: 0;
	flex-basis: auto;
}
#productes #example3 .accordion-bg .accordion-header {
    background-color: transparent;
    padding: 0 0 20px 0;
    border-radius: 0;
    margin: 0;
    margin-bottom: 5px;
    border-top: 0;
}
#productes #example3 .frame-0 {
	background: url(../images/metges.jpg) top left;
	margin-bottom: 5px;
}
#productes #example3 .frame-1 {
	background: url(../images/particulars.jpg) top left;
	margin-bottom: 5px;
}
#productes #example3 .frame-2 {
	background: url(../images/empreses.jpg) top left;
	margin-bottom: 5px;
}
#productes #example3 .accordion-bg .accordion-content {
    padding: 20px;
	color: #FFF;
}
/*.accordion {
	margin: 50px auto;
	width: 380px;
	background: #ccc;
	cursor: pointer;
}
.accordion .item {
	height: 100px;
}
.accordion .item h3 {
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	padding-left: 50px;
	font-family: "JF Flat Regular";
	font-size: 20px;
	font-weight: 400;
}
.accordion .item img {
	padding-left: 15px;
	width: 30px;
	vertical-align: middle;
}
.accordion .item h3:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
.accordion .item:first-of-type {
	background-image: url(../images/ahorro.jpg);
	color: #f4ce74;
}
.accordion .item:nth-of-type(2) {
	background-image: url(../images/movilidad_ocio.jpg);
	color: #ffe9c1;
}
.accordion .item:nth-of-type(3) {
	background-image: url(../images/hogar.jpg);
	color: #620808;
}
.accordion .item:nth-of-type(4) {
	background-image: url(../images/dia-a-dia.jpg);
	color: #d5441c;
}
.accordion p {
	font-family: "JF Flat Regular";
	font-size: 18px;
	font-weight: 400;
	padding: 15px;
	display: none;
	box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.2);
}
.accordion p:first-of-type {
	background: #620808;
	color: #f4ce74;
}
.accordion p:nth-of-type(2) {
	background: #a53f3f;
	color: #ffe9c1;
}
.accordion p:nth-of-type(3) {
	background: #f4ce74;
	color: #620808;
}
.accordion p:nth-of-type(4) {
	background: #ffe9c1;
	color: #d5441c;
}
.accordion p:last-of-type {
	background: #d5441c;
	color: #ffe9c1;
}*/
