body { background: #999; }
#page-wrap { width: 850px; position: relative; }

a{color: #474747;text-decoration: none;float:left;text-align:center;  margin: 2% 4%;margin-top:2%;margin-bottom:6.2%;padding-left: 160px;}
p{text-align:center;
        }

#main-content { 
		float: left; width: 740px; margin-left: 30px; position: relative;content:center;}		
		
#main-content>a> img{
         width: 320px;
        height: 120px;
        margin: 2px 3px;
		
     }
#main-content>a> img:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
#submain-content { 
		 position: fixed; margin-left: -130px;}
#submain-content>a{
		width: 50px;
        height: 50px;color: #471741;
     }
#submain-content>a> img{
        width: 50px;
        height: 50px;
     }
#submain-content>a> img:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
button{width:182px;height:60px; margin:2px 0px; transition: all 0.5s; cursor: pointer;display: inline-block;}
button:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '»';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}
