/**************** CSS RESET ***********************/
.bcn-avis * {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    font-family: "Source Sans Pro", sans-serif;
    vertical-align: baseline;
}

/**************** CSS RESET ***********************/

.bcn-avisos {
	text-decoration: none;
    display: block;
    clear: both;
}
.bcn-avisos:hover {
	text-decoration: none;
}

/******************* GRID IF NO BOOTSTRAP *******************/
.bcn-avisos .bcn-avisos-grid {
    width: 1080px;
    margin: 0 auto;
    height: auto;
    position: relative;
    height: 100%;
}

@media screen and (max-width: 1024px) {
    .bcn-avisos .bcn-avisos-grid {
        width: 906px;
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
    .bcn-avisos .bcn-avisos-grid {
        width: 90.1%;
    }
}

@media screen and (max-width: 767px) {
    .bcn-avisos .bcn-avisos-grid {
        width: 93.75%;
    }
}
/******************* GRID IF NO BOOTSTRAP *******************/


#bcn-avisos-mesura {
	visibility: hidden;
	display: none;
}

.bcn-avisos p {
	font-size: 18px;
	line-height: 20px;
}

.bcn-avisos sub {
    bottom: 0;
    font-size: 60%;
}

.bcn-avisos .bcn-avisos-titol {
	background-color: white;
}

.bcn-avisos.negatiu  {
	background-color: #4869ad;
}

.bcn-avisos.negatiu .bcn-avisos-titol {
	background-color: #4869ad;
}

.bcn-avisos.negatiu .bcn-avisos-titol p,
.bcn-avisos.negatiu .bcn-avisos-text p,
.bcn-avisos.negatiu .bcn-icon-dreta-bold {
	color: white;
}

.bcn-avisos .bcn-avisos-text p,
.bcn-avisos .bcn-icon-dreta-bold {
	color: black;
}

.bcn-avisos .bcn-avisos-titol p {
	color: #e62037;
}

#bcn-avisos .bcn-avisos .bcn-avisos-text p::first-letter {
	font-size: 18px;
	line-height: 55px;
	height: auto;
	float: none;
	padding: 0;
	margin: 0;
}

@media screen and (max-width: 767px) {
	#bcn-avisos .bcn-avisos .bcn-avisos-text p::first-letter {
		font-size: 14px;
		line-height: 16px;
	}
}
/* PARTIAL SLIDE */
@-moz-keyframes partial {
	0% {
		-moz-transform: translate(0);
	}
	100% {
		-moz-transform: translate(-100%);
	}
}

@-webkit-keyframes partial {
	0% {
		-webkit-transform: translate(0);
	}
	100% {
		-webkit-transform: translate(-100%);
	}
}

@keyframes partial {
	0% {
		transform: translate(0);
	}
	100% {
		transform: translate(-100%);
	}
}

/* FULL SLIDE */
@-moz-keyframes slide {
	0% {
		-moz-transform: translate(100%);
	}
	100% {
		-moz-transform: translate(-100%);
	}
}

@-webkit-keyframes slide {
	0% {
		-webkit-transform: translate(100%);
	}
	100% {
		-webkit-transform: translate(-100%);
	}
}

@keyframes slide {
	0% {
		transform: translate(100%);
	}
	100% {
		transform: translate(-100%);
	}
}

.bcn-avisos .bcn-avisos-text p.bcn-partial {
	/*Firefox*/
	-moz-animation-name: partial;
	-moz-animation-duration: 30s;
	-moz-animation-iteration-count: 1;
	-moz-animation-timing-function: linear;
	-moz-animation-delay: 5s;
	/*Webkit*/
	-webkit-animation-name: partial;
	-webkit-animation-duration: 30s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	-webkit-animation-delay: 5s;
	/*Standard*/
	animation-name: partial;
	animation-duration: 30s;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-delay: 5s;
}


.bcn-avisos .bcn-avisos-text p.bcn-slide {
	/*Firefox*/
	-moz-animation-name: slide;
	-moz-animation-duration: 45s;
	-moz-animation-iteration-count: 1;
	-moz-animation-timing-function: linear;
	/*-moz-animation-delay: 15s;*/
	/*Webkit*/
	-webkit-animation-name: slide;
	-webkit-animation-duration: 45s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: linear;
	/*-webkit-animation-delay: 15s;*/
	/*Standard*/
	animation-name: slide;
	animation-duration: 45s;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	/*animation-delay: 15s;*/
}

@media only screen and (min-width:768px) {

	.bcn-avisos {
		overflow: hidden;
		min-height: 55px;
		height: auto;
	}

	.bcn-avisos .container, .bcn-avisos .row, .bcn-avisos .col-xs-12 {
		height: 100%;
	}

	.bcn-avisos .bcn-avis {
		position: relative;
		overflow: hidden;
		line-height: 55px;
	}

	.bcn-avisos .bcn-avisos-titol {
		position: relative;
		z-index: 1;
		float: left;
        line-height: 52px;
	}

	.bcn-avisos .bcn-avisos-titol * {
		display: inline-block;
	}

	.bcn-avisos .bcn-avisos-text {
		overflow: hidden;
	}

	.bcn-avisos .bcn-avisos-titol img {
		height: 30px;
        width: auto;
		vertical-align: middle;
        margin-right: 16px;
	}

	.bcn-avisos p {
		font-size: 18px;
		line-height: 55px;
	}

	.bcn-avisos .bcn-avisos-titol p {
		vertical-align: middle;
		padding-right: 12px;
		font-weight: 600;
		letter-spacing: -0.1px;
		/*margin-top: 8px;*/
	}

	.bcn-avisos .bcn-avisos-text p {
		line-height: 55px;
		letter-spacing: -0.1px;
	}

	.bcn-avisos .bcn-avisos-text p.bcn-fixed {
    	position: absolute;
    	white-space: nowrap;
	}


	.bcn-avisos .bcn-icon-dreta-bold {
		position: absolute;
		top: 50%;
		right: 0;
		-ms-transform: translate(0,-50%);
		-moz-transform: translate(0,-50%);
		-webkit-transform: translate(0,-50%);
		transform: translate(0,-50%);

		font-size: 18px;

		padding-left: 22px;
	    padding-top: 8px;
	    padding-bottom: 8px;
	    line-height: 55px;
	}

	.bcn-avisos .bcn-icon-baix-light {
		display: none;
	}

	.bcn-avisos .bcn-icon-dreta-bold {
		background-color: white;
	}
	.bcn-avisos.negatiu .bcn-icon-dreta-bold {
		background-color: #4869ad;
	}

	.bcn-avisos .bcn-avisos-text .clon {
		-ms-transform: translate(100%,0);
		-moz-transform: translate(100%,0);
		-webkit-transform: translate(100%,0);
		transform: translate(100%,0);
	}

	.bcn-avisos.bcn-ie9 {
		height: auto;
	}
	.bcn-avisos.bcn-ie9 .bcn-avis {
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		overflow: auto;
		padding: 6px 0;
	}

}

@media only screen and (max-width:767px) {

	.bcn-avisos {
		padding-top: 8px;
		padding-bottom: 10px;
	}

	.bcn-avisos .grid {
		position: relative;
	}

	.bcn-avisos .bcn-avisos-titol {
		margin-bottom: 6px;
	}

	.bcn-avisos .bcn-avisos-titol img {
		margin-right: 8px;
		vertical-align: middle;
		float: left;
		margin-bottom: 4px;
        height: 21px;
        width: auto;
	}

	.bcn-avisos .bcn-avisos-titol p {
		display: block;
        font-size: 16px;
        line-height: 16px;
        font-weight: 600;
        vertical-align: middle;
        position: relative;
        float: left;
        width: calc(100% - 30px);
        margin-bottom: 10px;
	}

	.bcn-avisos .bcn-avisos-text {
		padding-right: 18px;
		transition: all ease .5s;
		height: auto;
		clear: both;
	}

	.bcn-avisos .bcn-avisos-text.bcn-clamp {
		height: 32px !important;
		overflow: hidden;

	}

	.bcn-avisos .bcn-avisos-text p {
		font-size: 14px;
		line-height: 16px;
	}

	.bcn-avisos .bcn-icon-dreta-bold {
		display: none;
	}

	.bcn-avisos .bcn-icon-baix-light {
		position: absolute;
    	right: 10px;
    	bottom: 0px;
    	font-size: 18px;
    	transition: all ease .5s;
	}

	.bcn-avisos .bcn-icon-baix-light.bcn-rotate {
		-ms-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}

	.bcn-avisos .bcn-icon-baix-light {
		color: black;
	}
	.bcn-avisos.negatiu .bcn-icon-baix-light {
		color: white;
	}
}