ul.rig {
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* should match li left margin */
}
ul.rig li {
	display: inline-block;
	padding: 5px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	box-shadow: 0 0 0px #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;
}
ul.rig li p {
	font-size: .9em;
	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.4%; /* 30.83 this value + 2.5 should = 33% */
	height: 200px;
}
/* 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;
	}
}

#header
{

  padding-top: 10px;
  padding-bottom; 0px;
  position:relative;
  height: 45px;
  width: 990px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

#whitebox
{
  padding: 0px;
  width: 650px;
  line-height: 28px;
  
}

#whitebox2
{
  width: 960px;
  line-height: 28px;
  
}

#graybox
{
  padding: 20px;
  width: 650px;
  background-color: #F0F0F0;
  line-height: 28px;
}

#graybox2
{
  float: left;
  padding: 20px;
  width: 300px;
  height: 350px;
  background-color: #F0F0F0;
  line-height: 28px;
}

#graybox3
{
  float: left;
  margin-left: 10px;
  padding: 20px;
  width: 300px;
  height: 350px;
  background-color: #F0F0F0;
  line-height: 28px;
}

#graybox4
{
  padding: 20px;
  margin-top: 10px;
  width: 650px;
  background-color: #FFFFFF;
  line-height: 28px;
  float: left;
}

#graybox5
{
  padding: 20px;
  width: 920px;
  height: 500px;
  background-color: #F0F0F0;
  line-height: 28px;
  background-image: url("../a.png");
  background-repeat: no-repeat;
  background-position: right bottom; 
}

#graybox5a
{
  padding: 20px;
  width: 920px;
  background-color: #F0F0F0;
  line-height: 28px;
  background-repeat: no-repeat;
  background-position: right bottom; 
}

#graybox55
{
  padding: 20px;
  width: 920px;
  height: 100px;
  background-color: #F0F0F0;
  line-height: 28px; 
}

#graybox6
{
  
  padding: 21px;
  width: 150px;
  height: 180px;
  background-color: #FFFFFF;
  line-height: 19px;
  float: left;
}

#graybox_graphics
{
  
  padding: 21px;
  width: 118px;
  height: 180px;
  background-color: #FFFFFF;
  line-height: 19px;
  float: left;
}

#tech
{
  float: left;
  padding: 20px;
  position:relative;
  width: 570px;
  /*background-color: #F0F0F0; */
  line-height: 23px;
  margin: 5px;
}

#sidecontent
{
  float:left;
  width:240px;
  height: 700px;
}

#sidecontent
{
  color:#333;
  list-style:none;
  padding-left: -30px;
  
}

#sidecontent a
{
  border-bottom: 1px solid #eee;  
  color:#000;
  text-decoration:none;
  font-size:1em;
  display:block;
  padding:8px 10px;
  background:inherit;
}

#sidecontent a:hover
{
  background:#eee;

}


/*Add some spacing*/
.faq-section{
    margin: 10px 0;
        position: relative;
}

/*Hide the paragraphs*/
.faq-section p{
    display:none;
}   

/*Hide the checkboxes */
.faq-section input{
    position: absolute;
    z-index: 2;
    cursor: pointer;
    opacity: 0;         
    display: none\9; /* IE8 and below */
    margin: 0;          
    width: 100%;
    height: 36px;
}

/*Show only the clipped intro */
.faq-section label+p{
    display: block; 
    color: #999;
    font-size: .85em;
    transition: all .15s ease-out;
    /* Clipping text */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;                       
}

/*If the checkbox is checked, show all paragraphs*/
.faq-section input[type=checkbox]:checked~p{
    display: block;
    color: #444;
    font-size: 1em;
    /* restore clipping defaults */
    text-overflow: clip; 
    white-space: normal;
    overflow: visible;  
}

/*Style the label*/
.faq-section label{
    font-size: 1.2em;
    background: #eee;
    display: block;
    position: relative;
    height: 20px;
    padding: 7px 10px;
    font-weight: bold;
    border: 1px solid #ddd;
    border-left: 3px solid #AF2D37;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    transition: all .15s ease-out;          
}

/*Remove text selection when toggle-ing*/
.faq-section label::selection{
    background: none;
}

.faq-section label:hover{
    background: #f5f5f5;
}

/*If the checkbox is checked, style the label accordingly*/
.faq-section input[type=checkbox]:checked~label{
    border-color: #E1E1E1;          
    background: #F5DAA2;
    background-image: linear-gradient(to bottom, #fff, #F5DAA2);
    box-shadow: 0 0 1px rgba(0,0,0,.4);             
}

/*Label's arrow - default state */
.faq-section label::before{
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -6px;
    border: 6px solid transparent;
    border-left-color: inherit; 
}

/*Update the right arrow*/
.faq-section input[type=checkbox]:checked~label::before{
    border: 6px solid transparent;
    border-top-color: inherit;
    margin-top: -3px;
    right: 10px;    
}

.faq-section input{
    position: absolute; 
    z-index: 2;
    cursor: pointer;
    opacity: 0;         
    display: none\9; /* IE8 and below */
    margin: 0;          
    width: 100%;
    height: 36px;
}

#cssmenu {
  width: auto;
  padding-top: 5px;
}
#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: block;
  zoom: 1;
}
#cssmenu ul:after {
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#cssmenu ul li {
  display: inline-block;
  padding: 0;
  margin: 0;
}
#cssmenu.align-right ul li {
  float: right;
}
#cssmenu.align-center ul {
  text-align: center;
}
#cssmenu ul li a {
  color: #333333;
  text-decoration: none;
  display: block;
  padding: 14px 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  position: relative;
  -webkit-transition: color .25s;
  -moz-transition: color .25s;
  -ms-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}
#cssmenu ul li a:hover {
  color: #333333;
}
#cssmenu ul li a:hover:before {
  width: 100%;
}
#cssmenu ul li a:after {
  content: "";
  display: block;
  position: absolute;
  right: -3px;
  top: 19px;
  height: 6px;
  width: 6px;
  background: #ffffff;
  opacity: .5;
}
#cssmenu ul li a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #AF2D37;
  -webkit-transition: width .11s;
  -moz-transition: width .11s;
  -ms-transition: width .11s;
  -o-transition: width .11s;
  transition: width .11s;
}
#cssmenu ul li.last > a:after,
#cssmenu ul li:last-child > a:after {
  display: none;
}
#cssmenu ul li.active a {
  color: #333333;
}
#cssmenu ul li.active a:before {
  width: 100%;
}
#cssmenu.align-right li.last > a:after,
#cssmenu.align-right li:last-child > a:after {
  display: block;
}
#cssmenu.align-right li:first-child a:after {
  display: none;
}

