*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-family: sans-serif;
	color: white;
	/*text-align: center;*/
}	

body {
	/*padding: min(50px, 7%);*/
	padding: 0 min(50px, 7%);
	background-color: white;
	max-width: 1400px; /* Controls website width. */
	margin: auto;	/* Centers website on screen. */
}

h1 {
	margin: 0px;
	text-align: center;
	color: black;
	font-size: 30px;
	text-decoration: none;
}

h2 {
	margin-bottom: 0px;
	color: black;
}

h3 {
	margin-bottom: 0px;
	color: black;
}

a {
	color: red;
	padding: 0px;
	text-decoration: none;
}

a:hover {
	color: gray;
}

.card h2 {
	margin-top: 20px;
	margin-bottom: 0px;	
}

.card h3 {
	margin-top: 20px;
	margin-bottom: 0px;	
}

p {
	padding-top: 0px;
	padding-bottom: 0px;
	color: black;
}

p.open-text{
	line-height: 1.4;
}

.open-text-links{
	text-align: center;
}

.card p {
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 10px;
}

.card-link a {
	color: red;
}

.card-link a:hover {
	color: gray;
}

.contact-card-text p {
	margin-top: 10px;
	margin-bottom: 10px;
}

img {
	width: 100%;
	vertical-align: middle;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	border-radius: 10px;
	margin: 20px 0px 20px;
}

.atc-button	 {		/* ATC - Add to Cart */
	background-color: #999999;
	border: 1px solid #777777;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	color: black;
	border-radius: 10px;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	margin-top: 10px;
	padding: 10px 20px;
	margin-bottom: 0px;
	cursor: pointer;
}

.atc-button:hover{
	background-color: #888888;
	transition: background-color 150ms ease;
}

.md-button	 {		/* MD - More Details */
	background-color: #999999;
	border: 1px solid #777777;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	color: black;
	border-radius: 10px;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	margin-top: 10px;
	padding: 10px 20px;
	margin-bottom: 0px;
	cursor: pointer;
}

.md-button:hover{
	background-color: #888888;
	transition: background-color 150ms ease;
}

label{
	margin: 0px;
	color: black;
}

/* -------------------- HEADER STYLES - NONE --------------------- */



/* -------------------- ORIGINAL NAVIGATION --------------------- */

nav ul{
	list-style: none;
	display: flex;
	font-size: 14px;
}

nav li{
	display: flex;
}

nav .home-li{
	margin-right: auto;
}

nav a{
	display: flex;
	text-decoration: none;
	color: red;
	padding: 1em 1em;
	transition: background-color 150ms ease;
}

nav a:hover{
	background-color: none;
	color: gray;
}

nav a.active-link{
	border-bottom: 0px solid #555555;
}

nav a.accent-link{
	background-color: none;
}

.sub-menu{
	position: absolute;
	z-index: 999;
	opacity: 5;
	transform: translateY(-200px);
	pointer-events: none;
	transition: 0.4s ease-out;
}

#open-sidebar-button{
	display: none;
	background: none;
	border: none;
	padding: 1em;
	margin-left: auto;
	cursor: pointer;
}

#close-sidebar-button{
	display: none;
	background: none;
	border: none;
	padding: 3em;
	cursor: pointer;
}

#overlay{
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	inset: 0;
	z-index: 9;
	display: none;
}

	
/* -------------------- STUFF THAT LOOKS GOOD BELOW --------------------- */	

.card {
	padding: 2em;
	border: 1px solid #000000;
	border-radius: 10px;
	background-color: white;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	text-align: center;
	
}

.grid-container-1 {	/*Logo Div*/
	display: grid;
	border: 0px solid red;
	/*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));OFF*/
	gap: 15px;
	justify-content: center;
	margin: 30px auto 10px;
	padding: 0px;
	background-image: url('../website-graphics/ns-cmrx-logo-2-1200.jpg');
	height: 250px; /*250px for new logo - 150px for original*/
	max-width: 1200px; /*1200px*/
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.card-100{
  text-align: center;
}

.logo-tagline{
  font-size: 0.95rem;
  color: black;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.card-1 {	/*Logo Div*/
	padding: 0em;
	border: 0px solid #000000;
	border-radius: 10px;
	background-color: none;
	text-align: center;
}

.grid-container-1 img{	/*Logo Div*/
	max-width: 1000px;
}

.grid-container-5 {		/*Slidesshow Div*/
	/*max-width: 800px;*/
	/*display: grid;*/
	border: 0px solid black;
	gap: 15px;
	justify-content: center;
	padding: 15px 0 0px;
}

.grid-container-5 img{
	max-width: 1000px;
}

.card-5 {	/*Slidesshow Div*/
	padding-top: 20px;
	border: 0px solid #000000;
	border-radius: 10px;
	background-color: white;
	text-align: center;
}

.grid-container-text1 {	/*INDEX-HOME Welcome Text*/
	max-width: 800px;
	display: grid;
	border: 0px solid red;
	gap: 15px;
	justify-content: center;
	margin: 20px auto 20px;
	padding: 0px;
}

.grid-container-text1B { /*General Text Row*/
	max-width: 800px;
	display: grid;
	border: 0px solid red;
	gap: 15px;
	justify-content: center;
	margin: 0px auto 0px;
	padding: 0px;
}
	
.card-text1 {	/*Index Welcome Paragraph*/
	display: grid;
	/*text-align: left;*/
	border: 0px solid red;
	gap: 15px;
	justify-content: center;
	padding: 15px;
}

.grid-container-2 {
	display: grid;
	border: 0px solid red;
	/*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
	grid-template-columns: repeat(auto-fit, 300px);
	gap: 15px;
	justify-content: center;
	margin-bottom: 50px;
	padding: 15px;
}

.grid-container-2 ul {
	position: relative;
	/*display: flex;*/
	margin-bottom: 10px;
	margin-right: 10px;
	text-align: center;
}

.grid-container-2 li {
	width: auto;
	/*display: inline;*/
	margin-bottom: 10px;
	margin-right: 10px;
}

.grid-container-3 {
	display: grid;
	border: 0px solid red;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 15px;
	justify-content: center;
	padding: 15px;
}

.grid-container-4 {	/*Footer Div*/
	display: grid;
	border: 0px solid red;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 0px;
	justify-content: center;
	margin-top: 40px;
	padding: 0px;
}


/* -------------------- 2 Column Container --------------------- */


/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 20px;
  /*height: 300px; Should be removed. Only for demonstration */
}

.column h2{
	padding-top: 20px;
}

.column p{
	padding-top: 20px;
}	

.row-container{
	max-width: 750px;
	margin: 20px auto 50px;
	border: 1px solid black;
	border-radius: 10px;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	text-align: center;
}

/* Clears floats after the columns */
.row-container:after {
  content: "";
  display: table;
  clear: both;
}

/* -------------------- SLIDESHOW SPECIFIC --------------------- */

* {
	box-sizing: border-box;
}

.mySlides {
	display: none;
}

/* Slideshow container */
.slideshow-container {
  max-width: 750px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  /*background-color: #bbb;*/
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 1.8s ease;
}

.active {
  /*background-color: #717171;*/
  background-color: #ffffff;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/* -------------------- FOOTER STYLE --------------------- */


.footer-card {
	padding: 2em;
	border: 0px;
	border-radius: 0px;
	background-color: black;
	/*box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);*/
	text-align: center;
	
}

.footer-card p {
	color: white;
}


/* -------------------- ORIGINAL MEDIA QUERY --------------------- */

@media screen and (max-width: 685px){
	nav{
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		width: min(15em, 100%);
		z-index: 10;
		background-color: #000000;
		border-left: 0px solid #000000;
		transition: right 300ms ease-out;
	}
	
	nav.show{
		right: 0;
	}
	
	nav.show ~ #overlay{
		display: block;
	}
	
	nav ul{
		width: 100%;
		flex-direction: column;
	
	}
	
	nav a{
		width: 100%;
		padding-left: 2.5em;
	}
	
	nav .home-li{
		margin-right: unset;
	}
	
	#open-sidebar-button, #close-sidebar-button{
	display: block;
	}
}

/* This is turned off FOR SLIDESHOW - On smaller screens, decrease Caption Text size 
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}*/

@media screen and (max-width: 744px){
.grid-container-1 {	/*Logo Div*/
	display: grid;
	border: 0px solid red;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 15px;
	justify-content: center;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	background-image: url('../website-graphics/ns-cmrx-logo-2-500.jpg');
	height: 300px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
  }	
}




	

