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

a{color: #474747;text-decoration: none;float:left;text-align:center;  margin: 2.1% 4.2%;margin-top:3.2%;margin-bottom:3.2%;width: 120px;
        height: 90px;}
p{text-align:center;}

#main-content { 
		width: 850px; height: 100%; margin: auto; position: relative;}
		
#main-content>h2 { 
		text-align:center}
		
#main-content>a> img{
         width: 120px;
        height: 120px;
        margin: 1% 3%;     		
     }
#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 { 
		 float: left; width: 100%; height: 60px; bottom:40px;position: fixed;}
#submain-content>a{
		margin: 6px 6px;
     }
#submain-content>a> img{
        width: 60px;
        height: 60px;
     }
#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;
}
.cat_toggle>a> img{
         width: 120px;
        height: 120px;
        margin: 1% 3%;      		
}

.cat_toggle>a> img:hover, 
.cat_toggle>a> img:focus{
	cursor: pointer;
		width: 120px;
        height: 120px; 
		 
    transition-duration: 0.4s;
}
.modal-content {
    position: relative;
    background-color: rgba(254,254,254,0.8);
    margin: 1px auto;
    padding: 0;
    border: 1px solid #888;
    width: 70%;
	
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
.modal-contentm {
    position: relative;
    background-color: rgba(254,254,254,0.8);
    margin: 1px auto;
    padding:0;
    border: 1px solid #888;
    width: 70%;
	
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
.modal-content img{
		width: 130px;
        height: 78px;  
		
}
.menu{
	margin-left:20px;
	text-align: left;
	font-family:"Tahoma";
	margin-bottom:15px;
}
.sub-menu{
	margin-left:15px;	
}

.modal-header {
    padding: 8px 16px;
    background-color: #5cb85c;
    color: white;
	font-size:20px;
}
.modal-headerm {
    padding: 8px 16px;
    background-color: #5cb85c;
    color: white;
	font-size:20px;
	text-align:center;
	margin-bottom:15px;
}
.row {
	 display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
