@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=Merriweather:400,300);
@import url(https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic);
@import url(https://fonts.googleapis.com/css?family=Righteous);

#cssmenu{
	font-family:calibri;
	font-weight:lighter;   
    width:1000px;
	background-image:url(../css/navbg.png);
	background-position:center;
	background-repeat:no-repeat;
	
}



#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  text-align:center;
  margin-left: auto;
  margin-right: auto; 
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display:block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}

#cssmenu > ul > li {
	display:inline-table;
	vertical-align:top;
 
  
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li > a {
	margin-left:3px;
	margin-right:3px;
	font-size: 14px;
	letter-spacing: 1px;
	text-decoration: none;
	color: #fff;
	font-weight: normal;
	text-transform: uppercase;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cb60b3+0,c146a1+50,a80077+51,db36a4+100;Pink+Gloss */
background: #cb60b3; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NiNjBiMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2MxNDZhMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2E4MDA3NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYjM2YTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb60b3', endColorstr='#db36a4',GradientType=0 ); /* IE6-8 */

	box-shadow:0px 1px 2px #333333;
	border-radius:10px;
	padding-top: 7px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
}

/* background over colour */
#cssmenu > ul > li > a:hover {
	 background: -webkit-linear-gradient(#e1052f,#8e1e1e); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#e1052f,#8e1e1e); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#e1052f,#8e1e1e); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#e1052f,#8e1e1e); /* Standard syntax */
  opacity:1;

}


#cssmenu > ul > li:hover > a {
  color: #ffe198;   
}

#cssmenu > ul > li.has-sub > a {
  padding-right: 30px;
}

/* + - color */
#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 12px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background:#ffe19; 
  content: '';
}

#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 9px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background:#ffe198;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 18px;
  height: 0;
}
#cssmenu ul ul {
  z-index:999;
  position: absolute;
  left: -9999px; 
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease; 
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu li:hover > ul > li {
  height: 35px;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}

/*drop down menu setting*/
#cssmenu ul ul li a {
  border-bottom: 1px solid #dc629b;
  margin-left:10px;
  padding: 11px 15px;
  white-space:nowrap;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  background: #9d026f;
    text-align:left;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0;
}


/* Sub menu hover background color */
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ffe198;
  background: -webkit-linear-gradient(#e1052f,#8e1e1e); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#e1052f,#8e1e1e); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#e1052f,#8e1e1e); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#e1052f,#8e1e1e); /* Standard syntax */
  opacity:1;
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #c0608d;
  content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
  right: auto;
  left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 15px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #c0608d;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
  right: auto;
  left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 15px;
  height: 0;
}


@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
 #cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  text-align:left;

}
 
  #cssmenu {
	  margin-top:10px;
    width: 100%;
	background-color:#1c1f82;
	


  }
  
#cssmenu > ul > li > a {
	margin-left:0px;
	margin-right:0px;
	border-radius:0px;

	
}
  
  #cssmenu ul {
    width: 100%;
    display: none;
	 	
  }
  
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu ul li {
    width: 100%;
    border-top: 1px solid rgba(120, 120, 120, 0.2);
  }
  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
	  margin-left:0px;
    width: 100%;
    border-bottom: 0;
  }
  #cssmenu > ul > li {
    float: none;
  }
  #cssmenu ul ul li a {
    padding-left: 25px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 35px;
  }
  #cssmenu ul ul li a {
    color: #fff;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    color: #ffe198;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  #cssmenu > ul > li.has-sub > a:after,
  #cssmenu > ul > li.has-sub > a:before,
  #cssmenu ul ul > li.has-sub > a:after,
  #cssmenu ul ul > li.has-sub > a:before {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 17px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
  }
  #cssmenu #menu-button:after {
    position: absolute;
    top: 22px;
    right: 17px;
    display: block;
    height: 4px;
    width: 20px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
  }
  #cssmenu #menu-button:before {
    position: absolute;
    top: 16px;
    right: 17px;
    display: block;
    height: 2px;
    width: 20px;
    background: #fff;
    content: '';
  }
  #cssmenu #menu-button.menu-opened:after {
    top: 23px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #ffffff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #cssmenu #menu-button.menu-opened:before {
    top: 23px;
    background: #ffffff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #cssmenu .submenu-button {	
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    height: 28px;
    width: 35px;
    cursor: pointer;
  }
  
  /* + - background */
  #cssmenu .submenu-button.submenu-opened {
    background: #040649;
  }
  #cssmenu ul ul .submenu-button {
    height: 12px;
    width: 10px;
  }
  
  /* - | background colour */ 
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ffe198;
    content: '';
  }
  #cssmenu ul ul .submenu-button:after {
    top: 12px;
    right: 13px;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    background:#ffe198;
  }
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 9px;
    right: 18px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ffe198;
    content: '';
  }
  #cssmenu ul ul .submenu-button:before {
    top: 9px;
    right: 16px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
}
