/*
Design by Metamorphosis Design
http://www.metamorphozis.com
Released for free under a Creative Commons Attribution 2.5 License
*/




#buttons
{
	border-style: groove;
	border-width: 5px;
	border-color: inherit;
	width: 100%;
	height: 48px;
	background: #312A8C left top no-repeat;
	text-align: center;

}
#buttons ul {padding-left:0;margin:0}
#buttons li {display:inline}
#buttons a {font-family:Georgia, Arial,Helvetica,sans-serif;font-size:15px;font-weight:normal;display:block;float:left;width:120px;height:35px;text-decoration:none;color:#F9B796;padding-top:13px;margin-left:0px;text-align:center}
#buttons a:hover {text-decoration:underline;color:#E7E5F0;;background:#150F62 0 2px repeat-x}


ul#menu li, ul#menu ul.sub-menu li {
    list-style-type: none;
    display: inline-block;
	width:98px;
	
}
/*Link Appearance*/

/*Make the parent of sub-menu relative*/
ul#menu li {
    position: relative;
}
/*sub menu*/
ul#menu li ul.sub-menu {
    display:none;
    position: absolute;
    top: 30px;
    left: 0;
    z-index:10;
}
ul#menu li:hover ul.sub-menu {
    display:block;
	background-color:#312A8C;
	margin-top:10px;
	width:250px;
}


/*popup css */

#thover{
  position:fixed;
  background:#000;
  width:100%;
  height:100%;
   z-index:50;
  opacity: .6
  
}
 
#tpopup
{
	 z-index:101;
  position:absolute;
  width:360px;
  height:343px;
  background:#fff;
  left:50%;
  top:5%;
  border-radius:5px;
  padding:60px 0;
   margin-left:-120px;/* width/2 + padding-left */
   /*margin-top:-10px; height/2 + padding-top */
  text-align:center;
  box-shadow:0 0 10px 0 #000;
}
#tclose
{
	 z-index:102;
  position:absolute;
  background:black;
  color:white;
  right:-15px;
  top:-15px;
  border-radius:50%;
  width:30px;
  height:30px;
  line-height:30px;
  text-align:center;
  font-size:8px;
  font-weight:bold;
  font-family:'Arial Black', Arial, sans-serif;
  cursor:pointer;
  box-shadow:0 0 10px 0 #000;
}

/*end popup css*/

/* start menu response*/
<style>
body {margin:0;}

.topnav {
  overflow: hidden;
  background-color: #312A8C;
 border-style: groove;
	border-width: 5px;
	border-color: inherit;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

}
</style>
/* end menu response*/