div.container {
	background-image: url(../images/bg.jpg);
	
}

.header {
	background-image:url(../images/sail.png);
	background-position: center top;
	background-repeat: no-repeat;
}

.header p {
	text-shadow: 1px 1px #fff;
}

.header-search {
  padding-top: 80px;
  text-align: right;
  font-weight: bold;
}

.navigation, .footer .custom {
	background-color: rgba(255, 255, 2550, 0.5);
	border-radius: 10px;
}

.page-header h2 {
	border-bottom: 1px solid #006;
}

a {
	color: #172660;
}


.pull-right {
	vertical-align: bottom;
}

.pull-right a:link, .pull-right a:visited {
	color: #000;
}


.main-content img {
  width: 100%;
  border-radius: 10px;
}
.img-w100 {
	width: 100%;
}
#content {
    float:right !important;
    margin-left:auto;
}
#sidebar {
    float:left;
    margin-left:0;
}


#sidebar img, div.main-double div.item-page img {
	padding-left:2px;
	border-radius: 10px;
}

#sidebar a, .main-double .item-page a {
	font-weight: bold;
}

#aside {
	display: none;
}

div.rightphoto {
	float: left;
}

.rightphoto img {
	border: 3px solid #fff;
	margin-bottom: 30px;
	width: 200px;
	border-radius: 10px;
}

div.main-double {
	float: left;
	margin-top: 20px;
	width: 100%;
}

div.main-double div.item-page {
	
}

div.item-page {
	float: left;
	background-color: rgba(255, 255, 2550, 0.7);
    border-radius: 5px;
	padding: 5px;
}

#sidebar .sidebar-nav {
	background-color: rgba(255, 255, 2550, 0.7);
    border-radius: 5px;
	padding: 5px;
}

 hr {
	background-color: #006;
	color: #009;
	height: 1px;
	margin: auto;
	width: 90%;
	border: 0 none;
}

.nav-pills {
  text-align: center;
}
.nav-tabs > li, .nav-pills > li {
  display: inline-block;
  float: none;
}

/* Product Pages */

.page-product div.rightphoto {
	float: left;
	background-color: rgba(255, 255, 2550, 0.7);
    border-radius: 5px;
	padding: 5px;
}

.page-product div.rightphoto img {
	width: 285px;

}

.page-product div.main-double img {
	border-radius: 10px;
	border: 3px solid #fff;
	margin: 5px 0;
}

.page-product div.main-double hr {
	margin-bottom: 10px;
}

/* Footer */

footer.footer {
	margin-top: 10px;
}

footer.footer div.custom {
	text-align: center;
	margin: auto;
}
.jcbx-glry-classic {
  background-color: transparent !important;
}

#juicebox-container {
  margin: 0 auto;
}
/* koschtit gallery tweaks */
#kit_docu {
  display: none !important;
}
.koschtitgallery {
  height: auto !important;
  position: relative !important;
  text-align: center;
  width: 90% !important;
	margin: 0 auto;
}
.koschtitgallery .gallery_div {
  height: auto !important;
  left: auto !important;
  position: relative !important;
  top: auto !important;
}
.koschtitgallery-img-div {
  display: inline-block;
  position: relative;
	width: auto !important;
}
.koschtitgallery-img {
  display: inline-block !important;
  left: auto !important;
  margin: 10px !important;
  position: relative !important;
  top: auto !important;
}
.gallery_div > div {
  left: auto !important;
  margin: 0 auto;
  position: relative !important;
  top: auto !important;
  width: 50px;
}
/* end koschtit gallery tweaks */

@media (max-width: 767px) {
    #sidebar {
        display: inline-block;
        margin-top: 20px;
        width: 100%;
    }
    #content {
        float:none !important;
        margin-left:0;
    }

  .header-search {
    padding-top: 0;
    text-align: center;
  }
  .nav-tabs > li, .nav-pills > li {
    display: inline;
    float: none;
  }
  .main-double .item-page p {
    text-align: center;
  }
  .rightphoto {
    text-align: center;
    margin-top: 10px;
  }
  .sidebar-nav .moduletable > p {
    text-align: center;
  }
  
}

@media (max-width: 979px) {
	
	.header {
	background-image: none;
  }
  
  .main-double p,  div#sidebar div.sidebar-nav p {
	width: 100%;
}

 .main-double p img,  div#sidebar div.sidebar-nav p img {
	text-align: center;
	margin: auto;
}
}

