/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
/**	margin: 0 auto 60px;*/
	margin: 0 auto;
	padding: 0;
	min-height:50px;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
/*	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;
	border: solid #fff 5px;
	left: -5px;*/
	background: #fff;

}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}
.bxslider{margin:0;}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(../images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: "Open Sans Condensed";
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: none repeat scroll 0 0 rgb(96, 96, 96);  display: block;
  height: 20px;
  margin: 0 1px 0 0;
  text-indent: -9999px;
  width: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link0 {
  background: none repeat scroll 0 0 rgb(136, 136, 136);
}
.bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link1 {
  background: none repeat scroll 0 0 rgb(96, 96, 96);
}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
  background: none repeat scroll 0 0 rgb(31, 135, 198);
  box-shadow: 0 0 3px rgba(31, 135, 198, 0.9);
}
.bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link0:hover, .bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link0.active {
  background: none repeat scroll 0 0 rgb(31, 135, 198);
  box-shadow: 0 0 3px rgba(31, 135, 198, 0.9);
}
.bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link1:hover, .bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link1.active {
  background: none repeat scroll 0 0 rgb(31, 135, 198);
  box-shadow: 0 0 3px rgba(31, 135, 198, 0.9);
}


/**
.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 1px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}*/

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(../images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(../images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(../images/controls.png) -86px -11px no-repeat;
	margin: 5px 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(../images/controls.png) -86px -44px no-repeat;
	margin: 5px 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 96%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 20px;
}

/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
  background: #888\9;
  background: rgba(80, 80, 80, 0.65);
  left: 23%;
  position: absolute;
/* bottom: 0; */
  top: 22px;
  width: 74%;
/*  left: 0;
  width: 100%;*/
}
.bx-wrapper .bx-caption span {
  color: rgb(255, 255, 255);
  display: block;
  font-family: "Open Sans Condensed";
  font-size: 14px;
  padding: 2px;
  text-align: center;
}
/*
.bx-wrapper .bx-caption {
	position: absolute;
	top: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: "Open Sans Condensed";
	display: block;
	font-size: 14px;
	padding: 5px 20px 5px 0px;
	text-align:right;
}*/

/* CUSTOM PAGER */
#bx-pag * {font-family:'Open Sans Condensed';color:rgb(46, 46, 46);}
#bx-pag.bx-pag {height:auto;text-align: center;max-width:97%;vertical-align:top;font-size: 1.0em;font-weight: bold; margin-top:5px;color: rgb(102, 102, 102);}
#bx-pag.bx-pag a {margin: 0px;display: block;height: 14px;text-indent: -9999px;}
#bx-pag.bx-pag a.bx-pag-link0 {background: none repeat scroll 0 0 rgb(96, 96, 96);}
#bx-pag.bx-pag a.bx-pag-link1 {background: none repeat scroll 0 0 rgb(136, 136, 136);}
#bx-pag.bx-pag a:hover,#bx-pag.bx-pag a.active {background: none repeat scroll 0 0 rgb(31, 135, 198); box-shadow: 0 0 3px rgba(31, 135, 198, 0.75);}
.bx-pag-day {display: block;text-align: center;background-color:#E0E0E0; margin-right:1px;}
.pager-date {height: 40px;text-align: left;display: inline-block;vertical-align: top;text-transform: lowercase;zoom:1;*display: inline;}

.bx-pag-w4-0, .bx-pag-w4-1,
.bx-pag-w5-0, .bx-pag-w5-1,
.bx-pag-w6-0, .bx-pag-w6-1,
.bx-pag-w10-0,.bx-pag-w10-1,
.bx-pag-w12-0,.bx-pag-w12-1,
.bx-pag-w15-0,.bx-pag-w15-1,
.bx-pag-w20-0,.bx-pag-w20-1  {height: 14px; margin-right: 1px; display: inline-block; vertical-align: top;zoom:1;*display: inline;}

.bx-pag-w4-h0,.bx-pag-w4-h1,.bx-pag-w4-h2,
.bx-pag-w5-h0,.bx-pag-w5-h1,.bx-pag-w5-h2,
.bx-pag-w6-h0,.bx-pag-w6-h1,.bx-pag-w6-h2,
.bx-pag-w10-h0,.bx-pag-w10-h1,.bx-pag-w10-h2,
.bx-pag-w12-h0,.bx-pag-w12-h1,.bx-pag-w12-h2,
.bx-pag-w15-h0,.bx-pag-w15-h1,.bx-pag-w15-h2,
.bx-pag-w20-h0,.bx-pag-w20-h1,.bx-pag-w20-h2 {margin-right: 1px; display: inline-block; vertical-align: top; font-style: normal; font-size: 0.8em; line-height:1em;zoom:1;*display: inline;}

.bx-pag-w4-h0,.bx-pag-w5-h0,.bx-pag-w6-h0,.bx-pag-w10-h0,.bx-pag-w12-h0,.bx-pag-w15-h0,.bx-pag-w20-h0  {border-left: 1px solid rgb(96, 96, 96);}
.bx-pag-w4-h1,.bx-pag-w5-h1,.bx-pag-w6-h1,.bx-pag-w10-h1,.bx-pag-w12-h1,.bx-pag-w15-h1,.bx-pag-w20-h1  {border-left: 1px solid rgb(136, 136, 136);}

.bx-pag-w4-0, .bx-pag-w4-1, .bx-pag-w4-h0, .bx-pag-w4-h1, .bx-pag-w4-h2  {width: 4px;}
.bx-pag-w5-0, .bx-pag-w5-1, .bx-pag-w5-h0, .bx-pag-w5-h1, .bx-pag-w5-h2  {width: 5px;}
.bx-pag-w6-0, .bx-pag-w6-1, .bx-pag-w6-h0, .bx-pag-w6-h1, .bx-pag-w6-h2  {width: 6px;}
.bx-pag-w10-0,.bx-pag-w10-1,.bx-pag-w10-h0,.bx-pag-w10-h1,.bx-pag-w10-h2 {width: 10px;}
.bx-pag-w12-0,.bx-pag-w12-1,.bx-pag-w12-h0,.bx-pag-w12-h1,.bx-pag-w12-h2 {width: 12px;}
.bx-pag-w15-0,.bx-pag-w15-1,.bx-pag-w15-h0,.bx-pag-w15-h1,.bx-pag-w15-h2 {width: 15px}
.bx-pag-w20-0,.bx-pag-w20-1,.bx-pag-w20-h0,.bx-pag-w20-h1,.bx-pag-w20-h2 {width: 20px}

.bx-wrapper .bx-controls-auto .bx-controls-auto-item {width:3%;display: inline-block;float: right;position:relative;top:-32px;}
.bx-wrapper .bx-controls-auto {position: absolute;top: 5px;width: 100%;}

.scale-sst {width:100%; height:28px; background: url('http://www.ipma.pt/resources.www/data/previsao/mar/escala-mar.png') 0px 0px no-repeat;margin-top:2px}
.scale-ssh {width:100%; height:28px; background: url('http://www.ipma.pt/resources.www/data/previsao/mar/escala-mar.png') 0px -28px no-repeat;margin-top:2px}
.scale-hs {width:100%; height:28px; background: url('http://www.ipma.pt/resources.www/data/previsao/mar/escala-mar.png') 0px -56px no-repeat;margin-top:2px}
.scale-currents {width:100%; height:40px; background: url('http://www.ipma.pt/resources.www/data/previsao/mar/escala-mar.png') 0px -84px no-repeat;margin-top:2px}
.scale-tp{width:100%; height:28px; background: url('http://www.ipma.pt/resources.www/data/previsao/mar/escala-mar.png') 0px -122px no-repeat;margin-top:2px}
