.ddsmoothmenu{width: 100%;display: none;}
.ddsmoothmenu ul{z-index:100; margin:0; padding:0; list-style-type:none;}
.ddsmoothmenu ul li ul{position:absolute; left:-3000px; display:none; visibility:hidden; width:100%; max-height:100%; margin-top:2px;  border-top:1px solid #ddd; }
.ddsmoothmenu ul li ul li:last-child{border-bottom:1px solid #ddd;}

.ddsmoothmenu ul li ul li ul{ top: 0; margin:0px 0 0 0px; }
.ddsmoothmenu ul li ul li ul li ul{ top: 0; margin:-1px 0 0 0px; }

.ddsmoothmenu ul li{position: relative;display: inline; float: left; width: 12.5%; height:120px; }
.ddsmoothmenu ul li:nth-child(1){background: url(../images/web/btn_bg_school.png) no-repeat center top; }
.ddsmoothmenu ul li:nth-child(2){background: url(../images/web/btn_bg_info.png) no-repeat center top;}
.ddsmoothmenu ul li:nth-child(3){background: url(../images/web/btn_bg_policy.png) no-repeat center top; }
.ddsmoothmenu ul li:nth-child(4){background: url(../images/web/btn_bg_subject.png) no-repeat center top; }
.ddsmoothmenu ul li:nth-child(5){background: url(../images/web/btn_bg_award.png) no-repeat center top; }
.ddsmoothmenu ul li:nth-child(6){background: url(../images/web/btn_bg_album.png) no-repeat center top; }
.ddsmoothmenu ul li:nth-child(7){background: url(../images/web/btn_bg_pta.png) no-repeat center top; }
.ddsmoothmenu ul li:nth-child(8){background: url(../images/web/btn_bg_alumni.png) no-repeat center top; }




.ddsmoothmenu ul li ul li {display: list-item !important;float: none !important;width: auto !important;margin: 0 !important;border-left: 1px solid #ddd;border-right: 1px solid #ddd;background: none;height: auto !important;text-shadow :none}



/*Top level menu link items style*/
.ddsmoothmenu ul li a{ display: block; padding: 14px 0px 5px 0; color: #fff; text-align: center; font-size:24px;  border-bottom:2px solid rgba(255,255,255,.0);}












.ddsmoothmenu ul li a:hover{ text-decoration:none}
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{ }
.ddsmoothmenu ul li a.selected {}

.ddsmoothmenu ul li ul li a{ width: auto; padding: 5px 0; margin: 0; border-top: 0px solid #ddd; background:#fff; font-size:15px; display:block; color:#333 }

.ddsmoothmenu ul li ul li + li a{ border-top: 1px solid #ddd; }
.ddsmoothmenu ul li ul li ul li a{ border-top: 0px solid #ddd; }
.ddsmoothmenu ul li ul li ul li + li a{ border-top: 1px solid #ddd; }


.ddsmoothmenu p{  position: relative;  z-index: 1; top: 0px; left: 0px; margin: 0 auto; -webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
opacity: 1; right: 0;top:-24px}

.ddsmoothmenu a:hover p, .ddsmoothmenu a.selected p {top:-34px;}

.btn_sch p{ background:url(../images/web/btn_icon_school.png) no-repeat center bottom ;width: 80px;height: 70px; }
.btn_sch a:hover p, .btn_sch a.selected p{ }
.btn_sch a:hover, .btn_sch a.selected, .btn_sch a.current{ }
.btn_sch ul li a:hover, .btn_sch ul li a.selected, .btn_sch ul li a.current{background:#e52445; color:#fff;}

.btn_info p{ background:url(../images/web/btn_icon_info.png) no-repeat center bottom ;width: 65px;height: 70px; }
.btn_info a:hover p, .btn_info a.selected p{ }
.btn_info a:hover, .btn_info a.selected, .btn_info a.current{ }
.btn_info ul li a:hover, .btn_info ul li a.selected, .btn_info ul li a.current{background:#fb7c2f; color:#fff; }

.btn_affairs p{ background:url(../images/web/btn_icon_policy.png) no-repeat center bottom ;width: 65px;height: 70px; }
.btn_affairs a:hover p, .btn_affairs a.selected p{ }
.btn_affairs a:hover, .btn_affairs a.selected, .btn_affairs a.current{ }
.btn_affairs ul li a:hover, .btn_affairs ul li a.selected, .btn_affairs ul li a.current{background:#fcac00; color:#fff; }

.btn_subject p{ background:url(../images/web/btn_icon_subject.png) no-repeat center bottom ;width: 65px;height:70px  ; }
.btn_subject a:hover p, .btn_subject a.selected p{ }
.btn_subject a:hover, .btn_subject a.selected, .btn_subject a.current{  }
.btn_subject ul li a:hover, .btn_subject ul li a.selected, .btn_subject ul li a.current{background:#42a311; color:#fff;}

.btn_award p{ background:url(../images/web/btn_icon_award.png) no-repeat  center bottom ;width: 50px;height:70px ;  }
.btn_award a:hover p, .btn_award a.selected p{ top:-44px;}
.btn_award a:hover, .btn_award a.selected, .btn_award a.current{  }
.btn_award ul li a:hover, .btn_award ul li a.selected, .btn_award ul li a.current{background:#26accd; color:#fff;}

.btn_photo p{ background:url(../images/web/btn_icon_album.png) no-repeat center bottom ;width: 60px;height:70px; }
.btn_photo a:hover p, .btn_photo a.selected p{ }
.btn_photo a:hover, .btn_photo a.selected, .btn_photo a.current{  }
.btn_photo ul li a:hover, .btn_photo ul li a.selected, btn_photo ul li a.current{background:#0b4bab; color:#fff;}

.btn_pta p{ background:url(../images/web/btn_icon_pta.png) no-repeat center bottom ;width: 75px;height:70px  }
.btn_pta a:hover p, .btn_pta a.selected p{ }
.btn_pta a:hover, .btn_pta a.selected, .btn_pta a.current{ }
.btn_pta ul li a:hover, .btn_pta ul li a.selected, .btn_pta ul li a.current{background:#ef73b6; color:#fff;}

.btn_alumni p{ background:url(../images/web/btn_icon_alumni.png) no-repeat center bottom ;width: 75px;height:70px;   }
.btn_alumni a:hover p, .btn_alumni a.selected p{ }
.btn_alumni a:hover, .btn_alumni a.selected, .btn_alumni a.current{ }
.btn_alumni ul li a:hover, .btn_alumni ul li a.selected, .btn_alumni ul li a.current{background:#6530a8; color:#fff; }

* html .ddsmoothmenu ul li a{ display: inline-block;}
* html .ddsmoothmenu{height: 1%;} 


.downarrowclass{ position: absolute; top: 0px; right: 0px; }
.rightarrowclass{ position: absolute;top: 13px;right: 5px;}
.leftarrowclass{margin-right: 5px;}
.ddshadow{ position: absolute;left: 0;top: 0;width: 0;height: 0;background-color: #ccc;}
.toplevelshadow{ margin: 5px 0 0 5px; opacity: 0.8; }
.ddcss3support .ddshadow.toplevelshadow {margin: 0;}
.ddcss3support .ddshadow {
background-color: transparent;
box-shadow: 5px 5px 5px #aaa; /* box-shadow color generally should be a little darker than that for the NON CSS3 capable browsers background-color */
-moz-box-shadow: 5px 5px 5px #aaa;
-webkit-box-shadow: 5px 5px 5px #aaa;
}

/* ######### Mobile menu container CSS ######### */

div.ddsmoothmobile{ /* main mobile menu container */
background: #fff;
position: fixed;
top: 60px;
right:0;
width: 200px; /* width of mobile menu */
height: auto;
overflow: hidden;
visibility: hidden;
border-radius: 0 0 0 10px;
box-shadow: 0 0 5px rgba(0,0,0,.1);
}

div.ddsmoothmobile a{
color: white;
text-decoration: none;
}

div.ddsmoothmobile div.topulsdiv{ /* Single DIV that surrounds all top level ULs before being flattened, or the ULs on the "frontpage" of the menu */
position: relative;
background: #414141;
overflow-y: auto;
width: 100%;
height: 100%;
}

div.ddsmoothmobile ul{ /* style for all ULs in general inside mobile menu */
list-style: none;
width: 100%;
top: 0;
left: 0;
background: #414141;
margin: 0;
padding: 0;
}

div.ddsmoothmobile div.topulsdiv ul.submenu{ /* top level ULs style */
}


div.ddsmoothmobile ul.submenu{ /* sub level ULs style */
position: absolute;
height: 100%;
overflow-y: auto;
}

div.ddsmoothmobile ul li{border-bottom: 1px solid #ddd; position: relative;}

div.ddsmoothmobile ul li.breadcrumb{ /* breadcrumb LI that's added to the top of every sub level UL */
cursor: pointer;
padding: 10px;
background: #085cba; color:#fff
}

div.ddsmoothmobile ul li a{display: block;padding: 10px 10px;}
div.ddsmoothmobile ul li a:hover{background: #fff; color:#333;}

/* ############# Animated Drawer icon (mobile menu toggler) CSS ############# */

.animateddrawer{
	font-size: 10px; /* Base font size. Adjust this value to modify size of drawer icon */
    width: 40px; 
    height: 40px; 
    outline: none;
	position: fixed; /* BY default, make toggler fixed on screen */
	display: none;
	top: 10px; /* Position at upper right corner */
	right: 10px;
	background: #ff5974  url(../images/icon/menu-icon_white.png) no-repeat; background-position:50% 50%;
	z-index: 1000;
}


.animateddrawer:after{
  top: auto;
  bottom: 0;
}

.animateddrawer span{
  width: 100%;
  height: 0.6em; /* height of middle drawer line */
  background: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.3em; /* set this to - half of middle drawer line height */
  border-radius: 2px;
  -ms-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition: all 0.3s ease-in 0.3s; /* set transition type and time */
  transition: all 0.3s ease-in 0.3s;
}

.animateddrawer span::after{
  content: '';
  display: block;
  width: 100%;
  height: 0.6em; /* height of middle drawer line */
  background:  #fff;
  border-radius: 2px;
  position: absolute;
  -ms-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition: all 0.3s ease-in 0.3s; /* set transition type and time */
  transition: all 0.3s ease-in 0.3s;
}

.animateddrawer.open{
}

.animateddrawer.open:before{ /* style when .open class is added to button */
  top: 50%;
  margin-top: -0.3em; /* set this to - half of top drawer line height */
  opacity: 0;
}

.animateddrawer.open:after{ /* style when .open class is added to button */
  bottom: 50%;
  opacity: 0;
}

.animateddrawer.open span{ /* style when .open class is added to button */
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.animateddrawer.open span:after{ /* style when .open class is added to button */
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

@media screen and (max-width: 800px) {

.btn_sch p{background-size:40px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_sch a:hover, .btn_sch a.selected, .btn_sch a.current{ border-bottom:0px solid #e52445; color:#e52445 !important }
.btn_sch ul li a:hover, .btn_sch ul li a.selected, .btn_sch ul li a.current{ background: none; color:#e52445; border-bottom:0px solid #e52445;}


.btn_info p{background-size:27px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_info a:hover, .btn_info a.selected, .btn_info a.current{ border-bottom:0px solid #fe9336; color:#fe9336 }
.btn_info ul li a:hover, .btn_info ul li a.selected, .btn_info ul li a.current{ background:#fe9336; color:#fff;border-bottom:0px solid #fe9336;}


.btn_affairs p{background-size:30px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_affairs a:hover, .btn_affairs a.selected, .btn_affairs a.current{ border-bottom:0px solid #2fac98; color:#2fac98 }
.btn_affairs ul li a:hover, .btn_affairs ul li a.selected, .btn_affairs ul li a.current{ background:#2fac98; color:#fff;border-bottom:0px solid #2fac98;}


.btn_subject p{background-size:27px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_subject a:hover, .btn_subject a.selected, .btn_subject a.current{ border-bottom:0px solid #136ab2; color:#136ab2 }
.btn_subject ul li a:hover, .btn_subject ul li a.selected, .btn_subject ul li a.current{ background:#136ab2; color:#fff;border-bottom:0px solid #e52445;}


.btn_award p{background-size:18px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_award a:hover, .btn_award a.selected, .btn_award a.current{ border-bottom:0px solid #6c2595; color:#6c2595 }
.btn_award ul li a:hover, .btn_award ul li a.selected, .btn_award ul li a.current{ background:#6c2595; color:#fff;border-bottom:0px solid #6c2595;}


.btn_photo p{background-size:35px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_photo a:hover, .btn_photo a.selected, .btn_photo a.current{ border-bottom:0px solid #fd2a6c; color:#fd2a6c }
.btn_photo ul li a:hover, .btn_photo ul li a.selected, btn_photo ul li a.current{ background:#fd2a6c; color:#fff;border-bottom:0px solid #fd2a6c;}


.btn_pta p{background-size:38px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_pta a:hover, .btn_pta a.selected, .btn_pta a.current{ border-bottom:0px solid #2c963f; color:#2c963f }
.btn_pta ul li a:hover, .btn_pta ul li a.selected, .btn_pta ul li a.current{ background:#2c963f; color:#fff;border-bottom:0px solid #2c963f;}


.btn_alumni p{background-size:27px 25px ; width: 40px;height: 25px; float: left; margin:-2px 4px 0 -2px }
.btn_alumni a:hover, .btn_alumni a.selected, .btn_alumni a.current{ border-bottom:0px solid #e52445; color:#e52445 }
.btn_alumni ul li a:hover, .btn_alumni ul li a.selected, .btn_alumni ul li a.current{ background:#e52445; color:#fff;border-bottom:0px solid #e52445;}


}