.ddsmoothmenu{width: 100%;display: none; }
.ddsmoothmenu ul{z-index:100; margin:0; padding:0; list-style-type:none; position:relative; height:50px; }
.ddsmoothmenu ul li ul{position:absolute; left:-3000px; width:100%; top:0; min-width:200px; display:none; visibility:hidden;  box-shadow:0 0 3px rgba(0,0,0,.2); height: auto !important}
.ddsmoothmenu ul li ul li ul{ top: 0; margin:0 0 0 0px; }
.ddsmoothmenu ul li{position: relative;display: inline-block; float: left; width:14.2% }
.ddsmoothmenu ul li+li{background: url(../images/web/menu_sp.png) no-repeat center left;}
.ddsmoothmenu ul li ul li{display: list-item; float: none; width: auto; background: none;}

.ddsmoothmenu ul li:nth-child(1){ width:11% }
.ddsmoothmenu ul li:nth-child(2){ width:16% }
.ddsmoothmenu ul li:nth-child(3){ width:16% }
.ddsmoothmenu ul li:nth-child(4){ width:12.5% }
.ddsmoothmenu ul li:nth-child(5){ width:14.5% }
.ddsmoothmenu ul li:nth-child(6){ width:11% }
.ddsmoothmenu ul li:nth-child(7){ width:9% }
.ddsmoothmenu ul li:nth-child(8){ width:10% }


.ddsmoothmenu ul li ul li:nth-child(1){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(2){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(3){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(4){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(5){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(6){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(7){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li:nth-child(8){ width:100%; min-width: 100% }
.ddsmoothmenu ul li ul li{ width:100%; min-width: 100% }



/*Top level menu link items style*/
.ddsmoothmenu ul li a{ display: block; padding: 10px 0; color: #ffffff; text-align: center; font-size:18px ; font-weight: normal;-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;  }

@media screen and (max-width: 1200px) {
.ddsmoothmenu ul li a { font-size:17px; line-height:21px;}
}

.ddsmoothmenu ul li a p{ font-size:14px; color:#ffea00;}  

.ddsmoothmenu ul li a:hover, .ddsmoothmenu ul li a.selected, .ddsmoothmenu ul li a.current { color:#fff; text-decoration:none; background: #16356f ; }


.ddsmoothmenu > ul > li > a:hover, .ddsmoothmenu > ul > li > a.selected, .ddsmoothmenu > ul > li > a.current{}
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{ }
.ddsmoothmenu ul li a.selected {}

.ddsmoothmenu ul li ul li a{ width: auto; padding: 10px 5px; margin: 0; border-top: 0px solid #ddd; background:#fff; font-size:15px; display:block;text-shadow: none;color: #686868; border-top-right-radius: 0px; border-top-left-radius: 0px; line-height:21px;}
.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 ul li ul li a:hover,.ddsmoothmenu ul li ul li a.selected{background: #ff9c00;color: #fff;}

.ddsmoothmenu ul li ul li a.current { background:#005eac}
/*.ddsmoothmenu p{ width:76px; height:79px; position:absolute; top:-5px; left:24px; z-index:1}
.btn_school p{ background:url(../images/btn_school.png) no-repeat ; }
.btn_school a:hover p, .btn_school a.selected p{ background:url(../images/btn_school.png) no-repeat center top; color:#5ec2f3}
.btn_school a:hover, .btn_school a.selected, .btn_school a.current{ background:#5dbded; color:#fff }


.btn_religion p{ background:url(../images/btn_religion.png) no-repeat ; }
.btn_religion a:hover p, .btn_religion a.selected p{ background:url(../images/btn_religion.png) no-repeat center top; }
.btn_religion a:hover, .btn_religion a.selected, .btn_religion a.current{ background: #9bc24d; color:#fff}

.btn_course p{ background:url(../images/btn_course.png) no-repeat ; }
.btn_course a:hover p, .btn_course a.selected p{ background:url(../images/btn_course.png) no-repeat center top;}
.btn_course a:hover, .btn_course a.selected, .btn_course a.current{ background:#4bb491; color:#fff}

.btn_develop p{ background:url(../images/btn_develop.png) no-repeat ; }
.btn_develop a:hover p, .btn_develop a.selected p{ background:url(../images/btn_develop.png) no-repeat center top;}
.btn_develop a:hover, .btn_develop a.selected, .btn_develop a.current{ background:#ecc62e; color:#fff}

.btn_events p{ background:url(../images/btn_events.png) no-repeat ; }
.btn_events a:hover p, .btn_events a.selected p{ background:url(../images/btn_events.png) no-repeat center top;}
.btn_events a:hover, .btn_events a.selected, .btn_events a.current{ background:#9f56c4; color:#fff}

.btn_parents p{ background:url(../images/btn_parents.png) no-repeat ; }
.btn_parents a:hover p, .btn_parents a.selected p{ background:url(../images/btn_parents.png) no-repeat center top;}
.btn_parents a:hover, .btn_parents a.selected, .btn_parents a.current{ background:#f57677; color:#fff}

.btn_graduate p{ background:url(../images/btn_graduate.png) no-repeat ; }
.btn_graduate a:hover p, .btn_graduate a.selected p{ background:url(../images/btn_graduate.png) no-repeat center top;}
.btn_graduate a:hover, .btn_graduate a.selected, .btn_graduate a.current{ background:#32a5dd; color:#fff}

.btn_contact p{ background:url(../images/btn_contact.png) no-repeat ; }
.btn_contact a:hover p, .btn_contact a.selected p{ background:url(../images/btn_contact.png) no-repeat center top;}
.btn_contact a:hover, .btn_contact a.selected, .btn_contact a.current{ background:#b27a46; 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: 15px;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: #414141;
color: white;
position: fixed;
top: 0;
left: 0;
width: 200px; /* width of mobile menu */
height: 300px;
overflow: hidden;
visibility: hidden;
border-radius: 0 0 10px 0;
box-shadow: 0 0 10px gray;
}

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 gray;
position: relative;
font-weight: bold;
}

div.ddsmoothmobile ul li.breadcrumb{ /* breadcrumb LI that's added to the top of every sub level UL */
cursor: pointer;
padding: 10px;
background: black;
}

div.ddsmoothmobile ul li a{
display: block;
padding: 6px;
}

div.ddsmoothmobile ul li a:hover{
background: black;
}

/* ############# Animated Drawer icon (mobile menu toggler) CSS ############# */

.animateddrawer{
  font-size: 10px; /* Base font size. Adjust this value to modify size of drawer icon */
  width: 3em; 
  height: 2.8em; 
  outline: none;
  position: fixed; /* BY default, make toggler fixed on screen */
  display: none;
  top: 10px; /* Position at upper right corner */
  right: 10px;
  background: white;
  z-index: 1000;
}

.animateddrawer:before, .animateddrawer:after{
  position: absolute;
  content: '';
  display: block;
  width: 100%;
  height: 0.6em; /* height of top and bottom drawer line */
  background: black;
  border-radius: 2px;
  top: 0;
  left: 0;
  opacity: 1;
  -webkit-transition: all 0.3s ease-in; /* set transition type and time */
  transition: all 0.3s ease-in; 
}

.animateddrawer:after{
  top: auto;
  bottom: 0;
}

.animateddrawer span{
  width: 100%;
  height: 0.6em; /* height of middle drawer line */
  background: black;
  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: black;
  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_school a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_religion a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_course a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_develop a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_events a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_parents a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_graduate a.current{ background: none; color:#ffa200; font-weight:bold }
.btn_contact a.current{ background: none; color:#ffa200; font-weight:bold }
}