/*correzioni bootstrap------------------------------------------------------------------*/
body, h1, h2, h3, h4, h5, h6, th, td {
	font-family:'Open Sans',sans-serif !important;
	text-shadow: none !important;
}
#wrapper {
	margin-bottom: 0;
}
@media (max-width:979px) {
	.pull-right img {
		padding-right: 10px;
	}
}
/*correzione scroll header su mobile*/
@media (max-width:672px) {
	#wrapper {
		margin-top: 30px;
	}
	header {
		position: relative;
		margin-bottom: 0;
	}
}
/*fine correzioni bootstrap--------------------------------------------------------------*/

/*google drive---------------------------------------------------------------------------*/
.gdoc {
	overflow: hidden;
	text-align:justify;
	font-family:'Open Sans',sans-serif !important;
}
.gdoc span {
	width: 100% !important;
	height: auto !important;
}
.gdoc p > img {
	float:left;
}
.gdoc p > img:only-child {
	float: none;
}
.gdoc img {
	padding: 0 20px 0 0;
	width: auto !important;
	height: auto !important;
}
.img-link {
	padding: 0 !important;
}
/*fine google drive-----------------------------------------------------------------------*/

/* Form modali ---------------------------------------------------------------------------*/

/* permette di eliminare la barra di scorrimento nel caso di form lunghi */
.modal {
	position: absolute;
}
.modal-body {
	max-height: none;
}

.form-horizontal .modal-body .control-group {
	margin-bottom: 10px;
}
.form-horizontal .modal-body .control-group select,
.form-horizontal .modal-body .control-group textarea,
.form-horizontal .modal-body .control-group input[type="text"],
.form-horizontal .modal-body .control-group input[type="password"],
.form-horizontal .modal-body .control-group input[type="datetime"],
.form-horizontal .modal-body .control-group input[type="datetime-local"],
.form-horizontal .modal-body .control-group input[type="date"],
.form-horizontal .modal-body .control-group input[type="month"],
.form-horizontal .modal-body .control-group input[type="time"],
.form-horizontal .modal-body .control-group input[type="week"],
.form-horizontal .modal-body .control-group input[type="number"],
.form-horizontal .modal-body .control-group input[type="email"],
.form-horizontal .modal-body .control-group input[type="url"],
.form-horizontal .modal-body .control-group input[type="search"],
.form-horizontal .modal-body .control-group input[type="tel"],
.form-horizontal .modal-body .control-group input[type="color"],
.form-horizontal .modal-body .control-group .uneditable-input {
	height: 30px;
	width: 100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.form-horizontal .modal-body .control-group textarea {
	height: auto;
}
.form-horizontal .modal-body legend {
	font-size: 16px;
	line-height: 28px;
}

.slider-range input {
	width: 49.5% !important;
	margin-bottom: 5px;
}
.slider-range input:first-child {
	margin-right: 1%;
}
.slider-range .ui-slider {
	margin: 0 8px 4px 7px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
}
.validation-summary-valid {
    display: none;
}

/* Fine form modali ---------------------------------------------------------------------------*/

/*lista barche----------------------------------------------------------------------------*/
#nbl_boats_list img {
	width: 140px;
}
.small_size_div {
	/*display: none;*/
}

/*tablesorter - tables*/
table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 0;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url(../img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}
/*tablesorter - pager*/
div.tablesorterPager {
	padding: 10px 0 10px 0;
	/*background-color: #D6D2C2;*/
	text-align: center;
}
div.tablesorterPager span {
	padding: 0 5px 0 5px;
}
div.tablesorterPager input.prev {
	width: auto;
	margin-right: 10px;
}
div.tablesorterPager input.next {
	width: auto;
	margin-left: 10px;
}
div.tablesorterPager input {
	/*font-size: 10px;*/
	width: 50px;
	border: 1px solid #330000;
	text-align: center;
}
#pager {
	position:static !important;
}

.boat-home-int_scheda {
    display: block;
    margin: 0 3px 6px;
    overflow: hidden;
    position: relative;
		width:300px;
}

/*lista barche responsive*/

.hide {
	display:table-cell;
}
.header {}
#showtd {
	display:none;
}
#description {
	display:none;
}
.btn-overlay {
	width:92px;
	display:inline-block;
}
#nbl_search_box span {
	overflow: hidden;
}

@media (min-width:1200px) {
	#img_td {
		width:140px
	}
	#nbl_search_box input:not(.pagedisplay) {
		width: 155px !important;
		margin-right: 5px;
	}
	#nbl_search_box select:not(.pagesize){
		width: 169px !important;
		margin-right: 5px;
	}
	#nbl_search_box span {
		display: inline-block;
		width: 93px !important;
	}
	#search_btn {
		margin-left: 96px;
		width: 169px;
	}
	
	/*crop immagini css*/
	.boat-home-int_scheda {
		width: 140px;
		height: 105px;
		overflow: hidden; 
	}
	.boat-home-int_scheda img {
		width: 100%;
		height: auto; 
	}
	/*fine crop immagini css*/

}

@media (min-width:980px) and (max-width:1199px) {
	#img_td {
		width:140px
	}
	
	#nbl_search_box input:not(.pagedisplay) {
		width: 103px !important;
		margin-right: 5px;
	}
	#nbl_search_box select:not(.pagesize){
		width: 116px !important;
		margin-right: 5px;
	}
	#nbl_search_box span {
		display: inline-block;
		width: 93px !important;
	}
	#search_btn {
		margin-left: 96px;
		width: 116px;
	}
	
	/*crop immagini css*/
	.boat-home-int_scheda {
		width: 140px;
		height: 105px;
		overflow: hidden; 
	}
	.boat-home-int_scheda img {
		width: 100%;
		height: auto; 
	}
	/*fine crop immagini css*/

}

@media (min-width:693px) and (max-width:979px) {
	#nbl_search_box input:not(.pagedisplay) {
		width: 94px !important;
		margin-right: 5px;
	}
	#nbl_search_box select:not(.pagesize){
		width: 108px !important;
		margin-right: 5px;
	}
	#nbl_search_box span {
		display: inline-block;
		width: 93px !important;
	}
	#search_btn {
		display: inline-block;
    text-align: center;
    margin-left: 96px;
		width: 108px;
	}
	
	.header, .no-sorter {
		display:none;
	}
	.hide {
		display:none;
	}
	#nbl_boats_list img {
		width:300px;
	}
	#showtd {
		display: table-cell;
		width: 50%;
	}
}

@media (min-width:376px) and (max-width:692px) {
	#b {
		width: 100%;
	}
	#nbl_search_box input:not(.pagedisplay) {
		width: 98% !important;
	}
	.header, .no-sorter {
		display:none;
	}
	.hide {
		display:none;
	}
	#nbl_boats_list img {
		width:300px;
	}
	#showtd {
		display:none;
	}
	#img_td {
		text-align:center;
	}
	#description {
		display:block;
	}
	.boat-home-int_scheda {
		margin:auto;
	}
	.btn-overlay {
		margin-top: 18px;
		margin-bottom: 5px;
		width: 100%;
	}
	#search_btn {
		width: 100%;
	}
}

@media (max-width:375px) {
	#b {
		width: 100%;
	}
	#nbl_search_box input:not(.pagedisplay) {
		width: 96% !important;
	}
	.header, .no-sorter {
		display:none;
	}
	.hide {
		display:none;
	}
	#nbl_boats_list img {
		width: 220px;
	}
	#showtd {
		display:none;
	}
	#description {
		display:block;
	}
	.boat-home-int_scheda {
    margin:auto;
		width:220px;
	}
	.btn-overlay {
		margin-top: 18px;
		margin-bottom: 5px;
		width: 100%;
	}
	#search_btn {
		width: 100%;
	}
}

/*fine lista barche-----------------------------------------------------------------------*/

/*scheda barca----------------------------------------------------------------------------*/

/*-------------------*/
/*scheda barca mobile*/
/*-------------------*/

.posts > .collapse {
	padding-top: 7px;
}

.posts > .collapse > div {
	color: #414141;
	font-size: 12px;
}

.block {
	display: inline-block;
	padding-right: 25px;
	width: 200px;
	vertical-align: top;
}

.block > label, .block > div {
	display: inline !important;
}

.block > label {
	color: #888888 !important;
}

.block > div {
	float: right;
}

#demo h4, #demo3 h4, #demo4 h4, .block-title {
	font-size: 14px !important;
	font-weight: bold !important;
	color: #888888 !important;
	padding-top: 5px;
	border-bottom: 1px solid #888888;
}

#stampe_mobile .btn {
	width:22.4% !important;	
}
#stampe_mobile .btn.rid {
	width:30.7% !important;	
}
#stampe_mobile {
		margin-left: 0;
		padding-left: 20px;
	}
@media (max-width:1199px) {
	#stampe_mobile .btn {
		width:21.8% !important;	
	}
	#stampe_mobile .btn.rid {
	width:30% !important;	
	}
}
@media (max-width:979px) {
	#stampe_mobile .btn {
		width:20% !important;	
	}
	#stampe_mobile .btn.rid {
	width:28% !important;	
	}
}
@media (max-width:672px) {
	#stampe_mobile .btn {
		width:42.6% !important;	
	}
	#stampe_mobile .btn.rid {
	width:100% !important;	
	}
	#stampe_mobile {
		margin-left: 0;
		padding-left: 20px;
		padding-right: 0;
	}
}
@media (max-width:450px) {
	#stampe_mobile .btn {
	width:100% !important;
	}
	#stampe_mobile {
		margin-left: 0;
		padding-left: 20px;
		padding-right: 20px;
	}
}

#demo, #demo2, #demo3, #demo4, #demo5 {
	margin-bottom:10px;
}
#container_mobile button {
	width:100%;
	background-color:#DDDDDD;
}
#container_mobile .btn-overlay {
	width:100%;
	margin-left:0;
}
#mobile_slider a {
  color: #333333;
  outline: medium none;
  padding-left: 3px;
  padding-right: 3px;
}

#mobile_slider {
	padding-left:20px;
	margin-top:10px;
	margin-bottom:20px;
}
@media (min-width:768px) {
	#mobile_slider {
		padding-left:0px;
		margin-top:10px;
		margin-bottom:20px;
	}
}

#primaTab td, #secondaTab td, #terzaTab td, #quartaTab td {
	width:70%
}
#tabella_motori .maintd {
	width:25%
}
#tabella_motori td {
	width:70%;
}
#tabella_abitabilita_sx td, #tabella_abitabilita_dx td {
	width:70%
}
#tabella_abitabilita_tipo {
	text-align:left;
}
.pull-right a:hover {
	text-decoration:none;
}
table {
border-collapse:initial;
}
#demo2 h4 {
	display:none;
}
#demo3 h4 {
	font-weight:bold !important;
}
#demo4 b {
	font-weight:normal !important;
	font-size: 12px !important;
}
#demo4 .info > div {
	font-weight:normal !important;
	font-size: 11px !important;
}
#abitabilita_sx h4 {
	display:none;
}
#tabella_abitabilita_tipo h4 {
	font-weight:bold !important;
}
#abitabilita_sx label {
	display:table-row-group;
	font-size:12px;
}

/*-----------------------*/
/*SCHEDA BARCA-----------*/
/*-----------------------*/
#esterno { 
  margin: 0 auto;
  min-width: 916px;
  max-width: 1400px;
}
div#title {
  min-height: 50px;
  padding: 0 0 20px 0;
  position: relative;
  text-align: left;
  vertical-align: top;
}
#detailTitle {
  padding: 0 5px;
	font-size:24px;
}
#detailTitle2 {
  font-size:14px;
}
#detailTitle3 {
  padding: 0px 5px;
	font-size:21px;
}
.topleft {
	 width:80%;
	 float: left;
}
.topright {
	 width:20%;
	 float: right;
	 display:block;
	 text-align: right;
}

#images {
	height: 100%;
  max-width: 300px;
}

#left {
	width:30%;
	display:inline-block;
}
#right {
	width:70%;
	float:right;
	display:inline-block;
}

.maintable {
  border-collapse: collapse;
}
.maintable .maintd {
  padding: 5px;
  text-align: left;
  vertical-align: top;
}
/* Tabella con bordo nero */
.maintable {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #000000;
	padding: 10px;
}
.maintable .maintd {
	vertical-align: top;
	text-align: left;
	padding: 5px;
}
.maintable th {
	padding: 5px;
	text-align: left;
	background-color: #dedede
}
/* Tabelle all'interno della maintable */
.maintable .maintd table {
	width: 100%;
}
.maintable .maintd table td {
	width: 50%;
	padding: 2px 2px 3px 2px;
	font-size: 11px;
}
.maintable.notes {
	margin-bottom: 2em;
	background-color: #EDEDED;
	text-align: left;
}
.menu_stampe {
	width: 100%;
	margin-bottom: 7px;
	border-collapse: collapse;
}
.menu_stampe a {
	background-color: #DDDDDD;
	display: block;
	padding: 4px 2px 5px 2px;
	margin: 1px 4px 0 4px;
	text-align: center;
	border: 1px solid #5D5D5D;
	font-size: 12px;
	color: #333333;
	text-decoration:none
}
.menu_stampe td {
	width: 25%;
	white-space: nowrap;
}
.menu_stampe img {
	margin: 0 3px;
	vertical-align: top;
}
.menu_stampe a:hover {
	background-color: #666666;
	color: #FFFFFF;
	border: 1px solid #000000;
}
.table_title {
	width: 20%;
	background-color:#DDDDDD;
	border-radius:5px 5px 0 0 ;
	border:1px solid black;
	border-bottom:none;
}
.label_tab {
	text-align:center
}
#div_img_list img {
	padding: 2px;
}
div#esterno table {
  border-collapse:initial;
}
#contenuti {
	padding: 20px 4px;
}
.lb-image{
	max-width: inherit;
}
#table_vele {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2em;
}

.comp {
	width: 200px;
	float: none !important;
}

.block-img b {
	font-weight: normal !important;
	font-size: 11px;
	padding: 6px 0 6px 7px;
}

.info > div {
	font-size: 11px;
	padding: 0 0 0 20px;
}

.td_access {
	font-size: 11px !important;
	padding: 7px 0 8px 0;
}

/*fine scheda barca-----------------------------------------------------------------------*/

/*CAROUSEL--------------------------------------------------------------------------------*/

#DetailSlider .image_carousel_det {
	padding-bottom:0px;
	width:100%;   
	margin-left:0px;
	overflow:hidden;
	height:160px;
}
.image_carousel_det li {
  margin: 0px;
  display: block;
  float: left;   
}
.clearfix {
  float: none;
  clear: both;
}
.image_carousel_det li img {
  height:160px;
}
#carousel_detail_images {
	width:100%;
	margin-left:0px !important; 
	margin-bottom:0 !important; 
}
.slider_wrap {
	position: relative;
	background: transparent;
	padding: 0;
	clear: both;
}
.prev-page,
.next-page {
  position: absolute;
  z-index: 200;
  top: 0;
  width: 25px;
  height: 100%;
  right: 0;
  text-indent: -9999px;
  display: block;
  opacity: .8;
  background: #6d767e url(../img/sliderarrows.png) -80px 50% no-repeat;
}
.next-page { border-left: 2px solid #fff }
.prev-page {
  left: -1px;
  right: auto;
  background-position: -110px 50%;
  border-right: 2px solid #fff;
}
.next-page:hover,
.prev-page:hover { opacity: .5 }
.no-js .prev-page,
.no-js .next-page { display: none }
@media only screen and (min-width: 980px) { 
	.prev-page,
	.next-page {
		width: 40px;
		background-position: 5px 50%;
	}
	.prev-page { background-position: -40px 50% }
} 
@media only screen and (min-width: 1100px) { 
  .prev-page,
  .next-page {
    width: 40px;
    height: 100%;
  }
  .prev-page { }
}
/*DESCRIZIONE BARCHE CAROUSEL*/
.boat-home-int {
	margin: 0 3px 6px;
	overflow: hidden;
	position: relative;
	max-width: 398px;
	display: block;
}
.boat-home-descr, .boat-home-descr-bg {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	height: 35px;
	font-size: 14px;
	font-weight: bold;
	line-height: 17px;
	text-shadow: 0 1px 0 #000000;
	color: #FFFFFF;
}
.boat-home-descr {
	padding: 0 3px;
}
.boat-home-descr div {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;      
}
.boat-home-descr-bg {
	background-color: #333333;
	opacity: 0.6;
}
#under-footer-copyright {
  margin: 10px 0 0 0 !important;
	text-align:right;
}
#under-footer-copyright	a {
  color:initial;
}

/*fine CAROUSEL---------------------------------------------------------------------------*/

/* Waiter ---------------------------------------------------------------------------*/

.waiter {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -69px 0 0 -101px;
	background-color: #FFFFFF;
	background-image: url("../img/waiter.gif");
	background-position: center 35px;
	background-repeat: no-repeat;
	border: 1px solid #BBBBBB;
	border-radius: 6px;
	box-shadow: 0 0 2px #BBBBBB;
	font-size: 17px;
	line-height: 26px;
	padding: 75px 0 35px;
	text-align: center;
	width: 200px;
	z-index: 2;
	display: none;
}
/* Fine waiter ---------------------------------------------------------------------------*/


/*vendibarca-----------------------------------------------------------------------------*/

form.vendi {
	margin-top: 1em !important;
}

form.vendi .validation-summary-errors ul {
	display: none;
}

form.vendi .vendi-block {
	display: inline-block;
	min-width: 65px;
}

form.vendi .vendi-vela div {
	width: 100%;
}

form.vendi .vendi-label {
	display: block;
	/*margin: 15px 0 15px 0;*/
}

form.vendi .accs {
	text-align: left;
}

form.vendi .acc {
	width: 230px;
	height: 40px;
	vertical-align: top;
	display: inline-block;
	margin: 0px auto;
	text-align: left;
}

	form.vendi .acc .in {
		float: left;
		width: 20px;
	}

	form.vendi .acc label {
		padding-left: 20px;
		padding-top: 2px;
	}

form.vendi .vendi-hide {
	display: none;
}

form.vendi h3 {
	color: #02327c;
	margin: 20px 0 10px;
}

form.vendi h4 {
	font-size: 16px;
	color: #02327c;
	margin: 15px 0;
}

input.input-validation-error[type="checkbox"] + input + label {
	border: 1px solid red;
	color: red;
}

/*fine vendibarca------------------------------------------------------------------------*/