@charset "UTF-8";
/* CSS Document */

/* Set a max-width for horizontal fluid layout. */
.container-fluid {
	/*margin-top: -25px;*/
	margin: -15px;
	max-width: 999px;
	text-align: left;
}
.font-75 {
	font-size: 75%;
}
.size-22 {
	font-size: 22px;
}
.sidebar-title {
	background: #FFFFFF;
	padding: 9px 0 9px 0;
	color: #444;
/*
	border-top: solid #333333;
	border-bottom: solid #333333;
 */
	text-align: center;
}
.tabbable {
	background: #FFFFFF;
	padding: 5px;
	border: 1px #CCCCCC;
}

/* Add a tab container class, for a border around the entire tabset. */
.nav-tabs-container {
	padding: 10px;
	border: 1px solid #333333;
	border-radius: 4px;
}

/* Index pages with photos */
ul.rig {
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* Should match li left margin. */
}
ul.rig li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: bottom;
	/*text-align: center;*/
	box-shadow: 0 0 5px #ddd;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
ul.rig li img {
	max-width: 100%;
	height: auto;
	margin: 0 0 10px;
}
ul.rig li h3 {
	margin: 0 0 5px;
	font-size: 1.3rem; /* was 1.5 */
}
ul.rig li p {
	font-size: 0.9em; /* was 1.1 */
	line-height: 1.5em;
	color: #999;
}
/* Class for 2 columns. */
ul.rig.columns-2 li {
	width: 47.5%; /* this value + 2.5 should = 50% */
}
/* Class for 3 columns. */
ul.rig.columns-3 li {
	width: 30.83%; /* This value + 2.5 should = 33%. */
	vertical-align: top;
}
/* class for 4 columns */
ul.rig.columns-4 li {
	width: 22.5%; /* This value + 2.5 should = 25%. */
}

@media (max-width: 480px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	ul.grid-nav li a {
		display: block;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		/*width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}
	/* class for 3 columns */
	ul.rig.columns-3 li {
		width: 30.83%; /* This value + 2.5 should = 33%. */
		margin: 0 3px 20px;
	}
	/* class for 4 columns */
	ul.rig.columns-4 li {
		width: 47.5% !important; /* This value + 2.5 should = 50%. */
		margin: 0 3px 20px;
	}
	.no_show {
  /* Hide things on small screens */
		display: none;
	}
}

/* ----------------------------- */

/* 
 * Setting this to 769px (1 more than 768) hides the menu on an iPad in portrait mode.
 * See simple-sidebar.css
*/
@media screen and (min-width:769px) {
  .toggle {
  /* Hide the "Toggle Menu" hamburger button on larger screens */
	  display: none;
	  }
}


/* grid */
.row {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -10px;
  margin-bottom: 10px;
  vertical-align:bottom;
}
.row:last-child {
  margin-bottom: 10px;
}
/* This breaks the form on build-your-own.php  Why? */
/*
[class*="col-"] {
  padding: 10px;
  width: 100%;
}
 */


@media all and ( min-width: 600px ) {

  /* set col widths */
  .col-2-3 {
    width: 66.66%;
  }
  .col-1-2 {
    width: 50%;
  }
  .col-1-3 {
    width: 33.33%;
  }
  .col-1-4 {
    width: 25%;
  }
  .col-1-8 {
    width: 12.5%;
  }

  #page-content-wrapper {
	  background: #FFFFFF;
/* 	  background-image: url('//www.superiorshelving.com/graphics/diamond-plate.gif'); */
	  background-attachment: local;  /* 'local' attaches the image to the container - 'fixed' attaches it to the body  */
	  background-repeat: repeat-y;
  }
  .container-fluid {
	margin-top: -5px;
	margin-left: -20px;
  }

}

.borderless tbody tr td, .borderless tbody tr th, .borderless thead tr th {
	border: none;
}
.table-nonfluid {
	width:  auto !important;
}
