* {
  box-sizing: border-box;
}

body {
  	font-family: Arial, Helvetica, sans-serif;
	 background-color: navy;
}

header {
  max-width: 900px;
  margin: auto;
  background: url('Images/Scematic_Header2.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 3px solid navy;
  height: 150px;
}
footer {
  	max-width: 900px;
  	margin: auto;
	background-color: #55aaff;
	padding: 10px;
	text-align: center;
	color: white;
	border-top: 3px solid navy;
}
.company_name {

	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 15px;

  background: url('Images/company_name.png');
  background-repeat: no-repeat;
  height: 100px;
}

/* Container for flexboxes */
section {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	display: -webkit-flex;
	display: flex;
}
article {
	float: left;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 5px 10px 10px 5px;
	background-color: white;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
  background-color: white;
}

/* Right column */
.rightcolumn {
  float: left;
  margin-left: auto;
  margin-right: auto;
  width: 25%;
  background-color: white;

}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 80%;
  padding: 20px;
}
/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 10px;
  margin-top: 10px;
}

.fakeimg2 {
font-size: 0;
 background-color:white;
 width: 95%;
} 
#img1 { opacity: 1 }
#img1:hover { opacity: 0.6 }

#img2 { opacity: 1 }
#img2:hover { opacity: 0.6 }

.center {
    margin-left: auto;
    margin-right: auto;
	text-align: center;
    width: 100%;
 }

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
/**********************************NAV*****************************************/
.container {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}

.navborder {
  border-bottom:2pt solid navy;
}

.searchborder {
  border-bottom:1pt solid navy;
}

nav {
	max-width: 100%;
	z-index: 500;
	background-color: #e7ecf2;
}

.nav-placeholder {
	margin: 0 0 0 0;
}

.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: transparent;
}

.fixed .nav-inner {
	padding: 0 10px;
}

.fixed .nav-inner-most {
	max-width: 900px;
	margin: 0 auto;
	background-color: #e7ecf2;
}

nav ul {
	margin: 0;
	padding: 0;
}

nav ul li {
	list-style: none;
	float: left;
}

nav ul li a:link,
nav ul li a:visited {
	display: block;
	text-decoration: none;
	padding: 15px 8px;
	background-color: #e7ecf2;
	border-right: 2px solid #d5dce4;
	color: #33557c;
	font-size: 95%;
	font-weight: bold;
}

nav ul li a:hover {
	background-color: #dbe1e8;
}


nav ul li:last-child a:link,
nav ul li:last-child a:visited { border-right: none; }

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.clearfix li.icon {display: none;}
ul.clearfix li.icon2 {display: none;}
ul.clearfix li.phone {display: none;}
ul.clearfix li.text {display: none;}
ul.clearfix li.cart { float: left; display: inline-block; }

.topsearch {  overflow: hidden;  background-color: #e7ecf2; }

.topsearch a {
  float: right;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 14px;
  text-decoration: none;
  font-size: 90%;
}

.topsearch a:hover {
  background-color: #dbe1e8;
  color: black;
}

.topsearch a.active {
  background-color: #dbe1e8;
  color: white;
}

.topsearch .search-container {
  width: 100%;
}

.topsearch input[type=text] {
	padding: 14px 14px;
	font-size:95%;
	width: 80%;
	border-radius: 8px;
	border: none;
}

.topsearch .search-container button {
  float: right;
  padding: 14px 14px;
  background-color: #e7ecf2;
  font-size: 95%;
  width: 20%;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.topsearch .search-container button:hover {
  background: #dbe1e8;
}

/**********************************NAV*****************************************/

/**********************************BUTTONS*****************************************/
.button {
  background-color: #4CAF50; /* Green */
    float: right;

  border: none;
  color: white;
  padding: 8px 18px;

  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}
.button1 {
  background-color: #55aaff; 
  color: white; 
  border: 2px solid navy;
  border-radius:15px;
}
/**********************************BUTTONS*****************************************/

.column-search{
  float: left;
  width: 33%;
  padding: 10px 0 10px 0;
}  
.mfr-search{
  font-size:20px;
  color: 	#ff4000; 
  margin: 0 0 15px 10px;
}
.mfr-detail-search{
  font-size:18px;
  color: 	black; 
  margin: 0 0 5px 10px;
}

/********************FEATURED  CATEGORIES********************************/
div.gallery {
	border-radius: 15px;
  	border: 1px solid #ccc;
    background-color: navy;
	text-decoration: none;
	height: auto;
}
div.gallery:hover {
border-radius: 15px;
border: 1px solid navy;
}
div.gallery img {
	border-radius: 15px;
  	width: 100%;
  	height: auto;
}
div.desc {
	border-radius: 15px;
	display: flex;
    align-items: center;
    justify-content: center;
	text-align: center;
	color: #FFFF00;
	font-size: 90%;
	font-weight: 600; 
	text-decoration: none;
	background-color: navy;
	height: 40px;
}
.ResponsiveImageGallery {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}
/******^^^^^^^^^*****FEATURED  CATEGORIES******^^^^^^^^^^*****************/

/*************Items We Have Serviced***********************/
div.itemgallery {
	opacity: 1.0;
  	border: 1px solid #ccc;
    background-color: white;
	text-align: center;
	font-size: 90%;
	height: auto;

}
div.itemgallery:hover {
opacity: 0.6;
border: 1px solid navy;
}
div.itemgallery img {
  	width: 100%;
  	height: 120px;
	overflow: hidden;
}
div.itemname {
	display: flex;
    align-items: center;
    justify-content: center;
	height: 30px;
	color: navy;
	font-size: 80%;
	font-weight: 600; 
	background-color: white;
    border-bottom:1pt solid black;
}
div.itemdesc {
	display: flex;
    align-items: center;
    justify-content: center;
	height: 30px;
	color: navy;
	font-size: 85%;
	font-weight: 600; 
	background-color: white;
    border-top:1pt solid black;
	border-bottom:1pt solid black;
}
div.descbottom {
	display: flex;
    align-items: center;
    justify-content: center;
	height: 30px;
	color: #FFFF00;	
	font-size: 85%;
	font-weight: 600; 
	background-color: #8b0000;
}

.itemResponsiveImageGallery {
  padding: 5px 5px 5px 5px;
  float: left;
  width: 24.99999%;
}

a.itm:link, a.itm:visited{
	color: #000;
  	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}
a.itm:hover, a.itm:active {
	color: #FF0033;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}

/******^^^^^^^^**Items We Have Serviced******^^^^^^*********/


a.mfr:link, a.mfr:visited{
	color: #000;
  	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	}
a.mfr:hover, a.mfr:active {
	color: #FF0033; 
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}
/*****************************  Slideshow container **********************************/
.slideshow-background {
  background:#000 url(Images/map2.jpg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  width:100%;
  display:flex;
  position:relative;
  border-radius: 15px;
}
.slideshow-container {
	border-radius:15px;
	position: relative;
	width:100%;
}

/* Slides */
.mySlides {
	border-radius:15px;
	display: none;
	padding:80px;
	text-align:center;

}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  height: 80px;
  margin-top: -30px;
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: white;
}

/* Add an italic font style to all quotes */
q {
	font-style: italic;

}

/* Add a blue color to the author */
.author {color: yellow;}

/********************************* FORM ****************************************************/
input[type=text], select, textarea {


  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: white;
  font-weight: bold;
  color: navy;
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
 opacity: 0.6
}
.form-background {
  background:#000 url(Images/board8.jpg);
  color: #fff;
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  border-radius: 15px;
}
.form-color-overlay {
  width:100%;
  height:100%;
  background:navy;
  opacity: .7;
  position:absolute;
  border-radius:15px;
  left:0px;
  top:0px
}

.formcontainer {
  border-radius:5px;
  padding:20px;
  width: 95%;
  z-index:1;
} 


.column-details{
  float: left;
  width: 50%;
}   
.col-20{
  float: left;
  width: 20%;
  margin-top: 6px;
}
.col-25{
  float: left;
  width: 25%;
  margin-top: 6px;
}
.col-33 {
  float: left;
  width: 33%;
  margin-top: 6px;
  padding: 5px 5px 5px 10px;
  background-color: #e7ecf2;
  font-weight: bold;
}
.col-40 {
  float: left;
  width: 40%;
  margin-top: 6px;
  font-weight: bold;
}
.col-50 {
  float: left;
  width: 50%;
  margin-top: 6px;
  font-weight: bold;
}
.col-60 {
  float: left;
  width: 60%;
  margin-top: 6px;
  font-weight: bold;
}
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
  font-weight: bold;
}
.col-100 {
  float: left;
  width: 100%;
  margin-top: 6px;
  font-weight: bold;
}

input::placeholder {
  color: black;
  font-size: 1.2em;
  font-style: italic;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.badge:after{
content:attr(value);
font-size:15px;
background: #ff0000;
font-weight: bold;
color: #fff;
border-radius:50%;
padding:3px;
position:relative;
left:-8px;
top:-10px;
}

/******************************WORKS PERFECTLY BELOW************************************************/
@media only screen 
and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait)
{ 
header {
  padding: 25px;
  background: url('Images/Scematic_Header2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 2px solid navy;
  height: 100px;
}

.company_name {
	margin-top: -15px;
	margin-bottom: 10px;
	margin-left: 2px;
  	background: url('Images/company_name_small.png');
  	background-repeat: no-repeat;
	width:auto;
}
  /* Left Right columns */
.leftcolumn {  width: 100%; }
.rightcolumn  {display: none;}
.col-25 {display: none;}
.col-40{display: none;}

.mfr-search{
  font-size:18px;
  color: 	#ff4000; 
  margin: 0 0 15px 10px;
}
.mfr-detail-search{
  font-size:14px;
  color: 	black; 
  margin: 0 0 5px 10px;
}
.col-75 {
  float: left;
  width: 95%;
  margin-top: 6px;
}
.col-60 {
  float: left;
  width: 95%;
  margin-top: 6px;
}
.col-33 {
  float: left;
  width: 50%;
  margin-top: 6px;
  padding: 5px 5px 5px 10px;
  background-color: #e7ecf2;
  font-weight: bold;
}
.column-details {
    width: 100%;
  }
  
/* 	Images in Left Column */
.ResponsiveImageGallery { width: 49.9999%; }
.itemResponsiveImageGallery { width: 49.9999%; }


/*   items in shrunken menu */
ul.clearfix li:not(:first-child) {display: none;}
ul.clearfix li.phonenumber {display: none;}
ul.clearfix li.email {display: none;}
ul.clearfix li.icon {  display: inline-block;   font-size:100%; }
ul.clearfix li.cart { display: inline-block; font-size:100%; }
ul.clearfix li.text { display: inline-block;  font-size:100%; }
ul.clearfix li.phone { display: inline-block;  font-size:100%; }
ul.clearfix li.search-container { float: right; }
.topsearch a, .topsearch input[type=text], .search-container button
{ float: left;    display: inline-block;   text-align: left; } 
ul.clearfix li.input[type=text] { border: 1px solid #ccc;  }


 /******************    Dropdown nav bar   *******************/
.responsive { width: 100%; }

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
ul.clearfix.responsive {position: relative;}
ul.clearfix.responsive li.icon {display: none;} /*  Dont want in dropdown nav  */
ul.clearfix.responsive li.phone {display: none;} /*  Dont want in dropdown nav  */  
ul.clearfix.responsive li.phonenumber {display: none;} /*  Dont want in dropdown nav  */  
ul.clearfix.responsive li.text {display: none;} /*  Dont want in dropdown nav  */  
ul.clearfix.responsive li.email {display: none;} /*  Dont want in dropdown nav  */  
ul.clearfix.responsive li.icon2 { position: absolute;  right: 0;  top: 0; }/**thi is the X in the top */
  
  ul.clearfix.responsive li {
    float: none;
    display: inline;
  }
  ul.clearfix.responsive li a {
    display: block;
    text-align: left;
  }
   ul.clearfix.responsive li.cart {
	 float: left;
    right: 0;
    top: 0;
  }
}

@media only screen 

and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape)
{
ul.clearfix li:not(:first-child) {display: none;}
ul.clearfix li.phone {display: none;}

ul.clearfix li.icon {  display: inline-block;   font-size:100%; }
ul.clearfix li.cart { display: inline-block; font-size:100%; }
ul.clearfix li.phonenumber {display: inline-block;  font-size:100%; }
ul.clearfix li.email {display: inline-block;  font-size:100%; }
ul.clearfix li.text { display: inline-block;  font-size:100%; }

ul.clearfix li.search-container { float: right; }

.topsearch a, .topsearch input[type=text]
 { float: left;    display: block;   text-align: left; } 
  
 ul.clearfix li.search-container button {
    float: right;
    display: block;
    text-align: left;
 }
  
ul.clearfix li.input[type=text] { border: 1px solid #ccc;  }
  
header {
  padding: 25px;
  background: url('Images/Scematic_Header2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 2px solid navy;
  height: 100px;
}

.company_name {
	margin-top: -15px;
	margin-bottom: 10px;
	margin-left: 2px;
  	background: url('Images/company_name_small.png');
  	background-repeat: no-repeat;
	width:auto;
}
  /* Left column */
.leftcolumn {  width: 75%; }

.rightcolumn  {width: 25%; }

.responsive { width: 100%; }

.ResponsiveImageGallery { width: 24.9999%; }

.itemResponsiveImageGallery { width: 24.9999%; }

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
 ul.clearfix.responsive {position: relative;}
 
  ul.clearfix.responsive li.icon2 {
    position: absolute;
    right: 0;
    top: 0;
  }
ul.clearfix.responsive li.icon {display: none;}
ul.clearfix.responsive li.phone {display: none;}
ul.clearfix.responsive li.phonenumber {display: none;} /*  Dont want in dropdown nav  */ 
ul.clearfix.responsive li.email {display: none;} /*  Dont want in dropdown nav  */  
ul.clearfix.responsive li.text {display: none;} /*  Dont want in dropdown nav  */  
  
  ul.clearfix.responsive li {
    float: none;
    display: inline;
  }
  ul.clearfix.responsive li a {
    display: block;
    text-align: left;
  }
   ul.clearfix.responsive li.cart {
	 float: left;
    right: 0;
    top: 0;
  }
}

.error {color: #FF0000;}

#marqueecontainer{
position: relative;
border-radius: 15px;
width: 100%; /*marquee width */
height: 300px; /*marquee height */
background-color: white;
overflow: hidden;
border: 1px solid white;
padding: 2px;
padding-left: 4px;
}

ul.breadcrumb {
  padding: 5px 5px;
  list-style: none;
}
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}
ul.breadcrumb li+li:before {
  padding: 5px;
  color: black;
  content: ">";
}
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}
/**********************************************************/

div.messageDiv { 
 padding: 6px 6px;
 border: 2px solid #0c7cd5;
 background-color: #e9eff5;
 border-radius: 10px;
}
