body {
  background: url("../img/web-elements/fotolia_61812103oe.jpg") no-repeat fixed;
  background-color: #684e3b;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding:0;
  margin:0;
  position:relative;
}

/* NAVIGATION */

#topnavigation-skewed {
margin-bottom:150px;
}

/* MAIN CONTENT */

#skewed {
	top:-60px;
	width:100%;
  -ms-transform: skewY(-3deg);
  -webkit-transform:skewY(-3deg);
  transform: skewY(-3deg);
  background-color: #f9f7f1;
}

#skewed  .container{
	-ms-transform: skewY(3deg);
	-webkit-transform:skewY(3deg);
	transform: skewY(3deg);
	padding-top:100px;
	padding-bottom:140px;
}

/* WINE SEARCH BOX */

.callwine, .callwine:visited {
  margin-top:0;
  text-align: right;
  background-color: #447100;
	border-color: #447100;
}

.callwine:hover, .callwine:focus {
  background-color: rgb(105, 173, 0);
	border-color: rgb(105, 173, 0);

}

.winesearch {
	text-align: right;
	margin: 30px auto;
}

.winesearch .btn {
	background-color: #9D004A;
	border-color: #9D004A;
	color: #F9F7F1;
	font-weight: 400;
	font-size: 14px;
	text-transform: uppercase;
	border-radius: 0px;
	margin: 0px;
	height:50px;
	padding: 10px 20px;
}

.winesearch .btn:hover, .winesearch .btn:focus {
	background-color: #660030;
}

.winesearch .form-control {
	border-color: #c6bda8;
	background: #f9f7f1;
	border-radius:0;
	height:50px;
	width:250px;

}

.winesearch .form-control:focus {
	border-color: #c6bda8;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(157, 0, 74, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(157, 0, 74, 0.6);
}

/* WINE TABLES NAVIGATION */

#skewed .nav-pills {
	margin: 30px auto;
}

#skewed .nav-pills a {
	border-radius: 0;
	background: #9d004a;
	color:#f9f7f1;
	padding: 15px 15px;
	text-transform:uppercase;
}

#skewed .nav-pills>li+li {
	margin-left:0;
}

#skewed .nav-pills > li.active > a,
#skewed .nav-pills > li.active > a:hover,
#skewed .nav-pills > li.active > a:focus,
#skewed .nav-pills > li > a:hover,
#skewed .nav-pills > li > a:focus {
	color:#f9f7f1;
	background-color:#660030;
}

#skewed .tab-pane .nav-pills {
	border-top:3px solid #f9f7f1;
	margin-top:-30px;
	margin-left:0px;
}

#skewed .tab-pane .nav-pills li {
	display:table-cell;
}

#skewed .tab-pane .nav-pills a {
	padding:8px 20px;
	font-size:12px;
	background: #660030;
}

#skewed .tab-pane .nav-pills > li.active > a,
#skewed .tab-pane .nav-pills > li.active > a:hover,
#skewed .tab-pane .nav-pills > li.active > a:focus,
#skewed .tab-pane .nav-pills > li > a:hover,
#skewed .tab-pane .nav-pills > li > a:focus {
	background:#761d47;
}


/* WINE TABLES */

.winetable  {
	border: 0px transparent;
}

.winetable th {
	font-weight: 400;
}

.winetable span.producer {
	font-weight:300;
	font-style:italic;
	font-size:13px;
}

.winetable span.comment {
	font-weight:300;
	font-size:10px;
}

.table > thead > tr > th, .table > tbody > tr > th,.table > tfoot > tr > th,.table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	border-top: 1px solid #c6bda8;
	vertical-align: middle;
}

.table > thead > tr > th {
	border-bottom: 2px solid #c6bda8;
}

.table-striped > tbody > tr:nth-child(2n+1) {
		background-color:#f2f0ea; /* Change the striping background-color */
}

.table-hover > tbody > tr:hover,
.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
	background-color:#e4e2dd;
}

/* EXTRA SMALL Screens */
@media (max-width: 768px) {
	#topnavigation-skewed {
		margin-bottom:40px;
	}

	#skewed .nav-pills {
		text-align:center;
	}

	.winesearch {
	text-align: center;
	}

	.winesearch .form-group {
		display:inline;
	}

	.winesearch .form-control {
		display:inline;
	}
}


/* EXTRA SMALL Screens*/

@media (min-width:400px) and (max-width: 768px) {
	#skewed .nav-pills {
	text-align:center;
	}
}

/* SMALL Screens */
@media (min-width: 768px) and (max-width: 991px) {
	body {
		background: url("../img/web-elements/fotolia_61812103oe.jpg") no-repeat;
		background-color: #684e3b;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	#topnavigation-skewed {
		margin-bottom:40px;
	}


	.winesearch {
	text-align: left;
	}

}

@media (min-width:991px) and (max-width:1200px) {


	.winesearch {
	text-align: left;
	}

}

@media (min-width: 1380px) {
body {
  background: url("../img/web-elements/fotolia_61812103.jpg") no-repeat;
  background-color: #684e3b;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;


}
