#header1 {
         background-color:#204060;
         color:white;
         height:125px;
         width:1000px;
         top:0;
         background-image:url(http://www.rocksandminerals.com/images/logo.png);
         background-repeat:no-repeat; 
         padding-top:40px;
}

#nav1 {
    line-height:30px;
    height:595px;
    width:210px;
    margin-left:10px;
    padding:5px;
    position: absolute;
    margin-top:10px;
    background-image:url(http://www.rocksandminerals.com/backdrop.jpg); 
}

#nav2 {
    line-height:30px;
    background-color:#204060;
    color:#ffffff;
    height:30px;
    width:350px;
    text-align:center;
    padding:5px; 
}

#nav3 {
    line-height:30px;
    background-color:#204060;
    color:#ffffff;
    height:30px;
    width:430px;
    text-align:center;
    padding:5px; 
}

body {
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
    background-color:#ffffff;
    background-repeat: repeat;
    width: auto;
}

#wrapper {
   margin-top: 0;
   margin-bottom: 0;
   margin-left:auto;
   margin-right: auto;
   width: 1202px;
   background-color:#dce1e6;
}

#wrapper1 {
   margin-top: 0;
   margin-bottom: 0;
   margin-left:auto;
   margin-right: auto;
   width: 1000px;
   background-color:#dce1e6;
   border:1px solid Gray;
}

#container {
   width: 740px;
   margin-left: 240px;
   margin-top:10px;
   background-color:#8294a6;
   padding: 5px;
}

#main {
      background-color:#bcc6cf; 
      width:720px;
      margin-left:262px;
      margin-top:10px;
      padding: 10px;  
}
#main1{
      background-color:#bcc6cf; 
      width:650px;
      margin-left:165px;
      margin-top:10px;
      padding: 10px;  
}

#section {
    width:700px;
    margin-left:260px; 
    background-color:#bcc6cf;
    padding: 10px;             
}

#section1 {
   width: 700px;
   text-align:justify;
}

#section2 {
   width: 700px;
   text-align:justify;
}

#table, th {
      background-color:white;
      text-align:center;
      padding:2px;
}
#table, td {
      background-color:#bcc6cf;
}

p {
      text-align:justify;
      max-width:700px;
      display: inline;
}

#footer {
      background-color:#204060;
      color:#ffffff;
      width: 1180px;
      bottom: 0;
      padding: 10px;
      text-align:center;
      clear:both;    
}

#footer1 {
      background-color:#204060;
      color:#ffffff;
      width: 980px;
      bottom: 0;
      padding: 10px;
      text-align:center;
      clear:both;    
}

hr {
    display: block;
    border-style: none;
    background-color:#ffcc00;
}

ul {
    list-style-type: none;
    margin-left: 0;
    padding: 0;
} 

ul.a {
    list-style-type: none;
    margin-left: 1em;
    padding: 0;
}
ul.b {
    list-style-type:square;
    margin-top:0;
    margin-bottom: 0;
    margin-left: 12px;
    padding: 5px;
}

ul.rig {
		list-style: none;
		font-size: 0px;
		margin-left: -2.5%; 
	}
	ul.rig li {
		display: inline-table;
		padding: 10px;
      	margin: 0 0 2.5% 2.5%;
		background: #204060;
		border: solid 1px #ffffff;
		font-size: 16px;
		font-size: 16px;
		vertical-align: top;
		box-shadow: 0 0 10px #204060;
		box-sizing: border-box; 
         border-radius: 4px; 
	}
	ul.rig li img {
		max-width: 100%;
		height:240px; 
         width:220px;
		margin: 0 -2px -5px;
	}
	
	ul.rig.columns-2 li {
		width: 47.5%; 
	}
	
	ul.rig.columns-3 li {
		width: 30.83%; 
	}

	ul.rig.columns-4 li {
		width: 22.5%; 
	}

	@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; 
		margin: 0 0 20px;
	}
	}

#thumbwrap {
	position:relative;
	margin:auto;
	width:auto; height:auto;
}
.thumb img { 
   background-color: #637990;
padding: 2px;
box-shadow: 0 0 6px  rgb(132, 132, 132);
border-radius: 4px; 
}
.thumb span { 
   position:absolute;
   visibility:hidden;
   background-color:#ffcc00;
   padding: 5px;
   font-family: arial, helvetica, sans-serif;
   font-size:.9em;
   text-align: center; 
   color: #000000; 
   box-shadow: 0 0 20px rgb(0,0,0);
   border-radius:8px;
}
.thumb:hover, .thumb:hover span { 
	visibility:visible;
	top:auto; 
     left:100px;
	z-index:1;
}

#thumbwrap1 {
	position:relative;
	margin:auto;
	width:auto; height:auto;
}
.thumb1 img { 
   background-color: #e8e8e8;
padding: 5px;
box-shadow: 0 0 30px rgb(132, 132, 132);
border-radius: 5px; 
}
.thumb1 span { 
   position:absolute;
   visibility:hidden;
   background-color:#ffcc00;
   padding: 5px;
   font-family: arial, helvetica, sans-serif;
   font-size:.9em;
   text-align: center; 
   color: #000000; 
   box-shadow: 0 0 20px rgb(0,0,0);
   border-radius:8px;
}

 h1.c1 {color:#ff3300}
 h2.c4 {color:#ff3300}
 span.c1 {color:#000000} 
 span.c2 {color:#C61414}
 span.c3 {color:#ffcc00}
 span.c4 {color:#ffffff}
 span.c5 {color:#0033cc}
 div.c1 {text-align: left}
 div.c2 {text-align: center}
 div.c3 {text-align: right}
 div.c4 {text-align: justify}
 div.c5 {text-indent: 50px}

h1 { 
    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight:normal;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: normal;
}

h4 { 
    display: block;
     font-size: .90em;
    margin-top: 1.33em;
    margin-bottom: 1.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h5 { 
    display: block;
    font-size: .83em;
    margin-top: 1.67em;
    margin-bottom: 1.67em;
    margin-left: 0px;
    margin-right: 0;
    font-weight: normal;
}

h6 { 
    display: block;
    font-size: .67em;
    margin-top: 2.33em;
    margin-bottom: 2.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: normal;
}



a:link {
    color: #ffffff;
    text-decoration: none;
}

a:visited {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #C61414;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
}

a:active {
    color: #ffffff;
    text-decoration: none;
}
