/*Styling of the stylesheet*/

/*clear floats for style of grids*/
*, *::after, *::before {
	box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 1rem 1rem;
  /*display: block;*/
  background-color: #C0DFD9;
  color: #333;
}

.container {
  display: -ms-flex;
  display: flex;

  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
}

.menu {
  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 15%;
  flex-basis: 15%;

  height: 100%;
}

.content {
  -ms-flex-grow: 10;
  flex-grow: 10;

	-ms-flex-basis: 80%;
	flex-basis: 80%;
}

nav, div.topic {
  background-color: white;
  padding: 1em 3em;
  margin-bottom: 2em;
}

nav {
  margin-right: 1em;
  padding: 2em 1.5em 0;
}

.nav-box {
  padding: 0;
  border-top: 1px solid #CCC;
	list-style: none;
}

.nav-item {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px solid #CCC;
  color: #6495ED;
}

.nav-item:active, .nav-item:hover, .nav-item:focus {
  color: white;
  background-color: #99CCCC;
}

.sub-nav {
  padding: 0 0 1.25em;
  margin-bottom: 2em;
  border-bottom: 1px solid #CCC;
  display: inline-block;
}

.sub-nav-item {
	display: inline;
  padding-right: 1em;
}

.sub-nav-item a {
	text-decoration: none;
	color: #484848;
}

.sub-nav-item a:hover, .sub-nav-item a:focus {
  color: #6495ED;
}

/*every section that does not have an id*/
section:not([id]) {
  padding: 1em 0 2em;
  border-top: 0.1em dashed #333;
}

/*styling level of headings*/
h1 {
  display: block;
  font-size: 2em;
  margin-bottom: 0;
}

section h2{
  color: #99CCCC;
  font-weight: bold;
  margin-bottom: 1em;
}

section h3{
  margin-bottom: 2em;
}

section h4 {
  margin-bottom: 0.5em;
}

/*styling for paragraph*/
p {
  max-width: 40em;
  margin: 0;
}

section p {
  margin-top: 0;
  color: #666;
}

section code{
  border: 0.1em solid #99CCCC;
  border-left-width: thick;
  background-color: #F8FFF8;
  color: #666;
  padding: 1.5em;
  display: block;
  line-height: 2em;
}

a.axure {
	color: #6495ED;
	display: block;
	margin-bottom: 2em;
}

a.axure:hover, a.axure:focus {
	color: #08B;
	transition: color 0.5s ease-out;
}

.img-fullsize {
	max-width: 100%;
	margin-bottom: 2em;
}

.separate-img-box {
	display: flex;
	flex-wrap: wrap;
}

.img-fullsize-1of5, .img-fullsize-1of4{
	flex: 1 1 auto;
	max-width: 20%;
	padding: 0 0.5em;
	margin: 0 0 2em 0;
}

.img-fullsize-1of4 {
	max-width: 25%;
}

.img-fullsize img, .img-fullsize-1of5 img, .img-fullsize-1of4 img{
	width: 100%;
	border: 1px solid #DDD;
}

/*styling for the citations page*/
ul.citations {
  padding-left: 0
}

ul.citations li {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  padding-bottom: 1em;
}

ul.citations li strong {
  font-weight: normal;
  font-style: italic;
}

cite {
  font-style: normal;
}

/*
  Interactive Elements Section
*/

/*styling for the in-text link*/
.link-in_text {
  text-decoration: none;
  color: #6495ED;
  display: inline-block;
}

.link-in_text:hover, .link-in_text:focus {
  text-decoration: underline;
  color: #08B;
  transition: color 0.5s ease-out;
}

/*styling of default button*/
.button, button {
  text-decoration: none;
  display: inline-block;
  padding: 0.75em 3em;
  background-color: #f2f2f2;
  color: #484848;
  border-radius: 0.5em;
}

/*styling for the navigation buttons*/
.button-nav {
  text-decoration: none;
  display: inline-block;
  padding: 0.75em 3em;
  background-color: white;
  color: #484848;
  border-radius: 0.5em;
  transition: background-color 0.5s ease-out;
}

.button-nav:active,.button-nav:hover, .button-nav:focus {
  background-color: #99CCCC;
}

/*styling for the submit and reset buttons*/
.button-submit, .button-reset {
  border: 1px solid #99CCCC;
  background-color: #99CCCC;
  color: white;
}

.button-submit:hover, .button-submit:focus {
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.button-reset {
  background-color: white;
  color: #484848;
}

.button-reset:hover, .button-reset:focus {
  background-color: #99CCCC;
  color: white;
}

/*styling for text input field and a label*/
input[type=text] {
  display: block;
  width: 20em;
  padding: 12px 20px;
  margin: 0.5em 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type=text]:active, input[type=text]:hover, input[type=text]:focus {
  color: #666;
  border: 1px solid #99CCCC;
}

/*styling for bulletted list*/
ul.list-bulletted{
  list-style-type: square;
  line-height: 1.5em;
  margin: 0;
}

/*styling for Numbered list*/
ol.list-numbered{
  line-height: 1.5em;
  margin: 0;
}

/*styling for main naigation bar*/
.nav-active {
  background-color: #99CCCC;
  text-decoration: underline;
  color: white;
}

.nav-active:hover, .nav-active:focus {
  color: #484848;
}

.box, .color-swatch-box, .product-listing {
  margin: 0;
  display: -ms-flex;
  display: flex;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  -ms-justify-content: space-around;
  justify-content: space-around;
}

.box-item-nav {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

/*styling for product listing*/
.product-listing {
  width: 20em;
  border: 1px solid #C5D5CD;
}

img.product-img {
  max-width: 100%;
  height: 20em;
}

.col-1of2 {
  margin: 0;
  padding: 0.25em 1em;
  display: inline-flex;
}

.product-price {
  color: #F08080;
}

.button-product-details {
  text-decoration: none;
  padding: 0.75em 3em;
  margin: 1em;
  background-color: white;
  border: 1px solid #99CCCC;
  color: #484848;
  border-radius: 0.5em;
}

.button-product-details:hover, .button-product-details:focus {
  background-color: #99CCCC;
  color: white;
}

/*styling for the website grid structure*/
.col-grid {
  margin: 0;
  display: -ms-flex;
  display: flex;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.col-1of5 {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;

  background-color: #C0DFD9;
  padding: 1em;
}

p.col-item {
  padding: 2em;
  background-color: #99CCCC;
  text-align: center;
}

/*styling for color swatches*/
.color-swatch-item {
  list-style: none;
  padding: 1.5em 2em;
  border-radius: 1em;
  color: white;
}

.cw1{
  background-color: #99CCCC;
}

.cw2{
  background-color: #C0DFD9;
}

.cw3{
  background-color: #C5D5CD;
}

.cw4{
  background-color: #9FA8A3;
}

.cw5{
  background-color: #484848;
}

.cw6{
  background-color: #333333;
}
