| Current Path : /var/www/html/mmishra/uprtou_files/ |
| Current File : /var/www/html/mmishra/uprtou_files/menu.css |
/* Some stylesheet reset */
#nav, #nav ul {
margin: 0;
padding: 0;
list-style: none outside none;
line-height: 1;
color:#FFFFFF;
text-transform:uppercase;
z-index:1;
}
/* The main container */
#nav {
/* Layout and positioning */
display: block;
position: relative;
height: 40px;
width: 1200px; /* CHANGE this if you want another width or remove it if you want the width of the container */
border-radius: 3px;
color:#FFFFFF;
padding-top:3px;
background:#0B99BC;
z-index:1;
/*border: 1px solid #c1c1c1;*/
/* Background and effects */
/*background: #eaeaea;*/ /* Background for IE9 and older browsers */
/*background: -webkit-linear-gradient(bottom, #e1e1e1, #f4f4f4);*/ /* Background for Chrome & Safari */
/*background: -moz-linear-gradient(bottom, #e1e1e1, #f4f4f4);*/ /* Background for Firefox */
/*background: -o-linear-gradient(bottom, #e1e1e1, #f4f4f4);*/ /* Background for Opera */
/*background: -ms-linear-gradient(bottom, #e1e1e1, #f4f4f4);*/ /* Background for Internet Explorer 10 */
/*box-shadow: inset 0 1px 0 #fff;*/
}
#nav>li {
display: block;
position: relative;
float: left;
margin: 0;
padding: 0 5px 0px 5px;
border-left:1px solid #c1c1c1;
/* background: url(menu/menu_line.png) no-repeat;*/
background:#0B99BC;
color:#FFFFFF;
}
/* The main navigation links */
#nav>li>a {
/* Layout */
display: block;
padding: 11px 6px;
background:#0B99BC;
/* Typography */
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-decoration: none;
color:#FFFFFF;
text-shadow: 0 1px 0 #fff;
/* Effects */
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
}
/* The hover state of the navigation links */
#nav>li>a:hover, #nav>li:hover>a {
background:#076278;
/*background: rgba(255, 255, 255, .6);*/
color: #FFFFFF;
}
#nav>li:first-child>a {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
background:#0B99BC;
}
#nav>.dropdown>a {
padding-right: 26px;
background:#0B99BC;
}
/* The arrow indicating a dropdown menu */
#nav>.dropdown>a::after {
content: "";
position: absolute;
top: 14px;
right: 11px;
width: 4px;
height: 4px;
border-bottom: 1px solid #9a9a9a;
border-right: 1px solid #9a9a9a;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
background:#0B99BC;
}
/* Changing the color of the arrow on hover */
#nav>.dropdown>a:hover::after, #nav>.dropdown:hover>a::after {
border-color: #999;
background:#0B99BC;
}
#nav ul {
position: relative;
position: absolute;
left: -9999px;
display: block;
box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
background:#0B99BC;
}
/* Level 1 submenus */
#nav>li>ul {
padding-top: 0px;
z-index: 99;
border-top: 1px solid #c9c9c9;
top: 34px;
background:#0B99BC;
}
/* Making the level 1 submenu to appear on hover */
#nav>li:hover>ul {
left: -1px;
background:#0B99BC;
}
/* Level 2+ submenus */
#nav ul ul {
left: -9999px;
top: 0px;
z-index: 4;
}
/* Making the level 2+ submenu to appear on hover */
#nav ul>li:hover>ul {
left: 280px;
top: -1px;
}
/* The submenu link containers */
#nav ul li {
position: relative;
display: block;
border-left: 1px solid #c1c1c1;
border-right: 1px solid #c1c1c1;
/* Creating the slide effect. The list elements which contain the links have 0 height. On hover, they will expand */
height: 0px;
-webkit-transition: height .3s;
-moz-transition: height .3s;
-o-transition: height .3s;
-ms-transition: height .3s;
}
/* Expanding the list elements which contain the links */
#nav li:hover>ul>li {
height: 25px;
}
#nav ul li:hover>ul>li:first-child {
height: 26px;
}
/* The links of the submenus */
#nav ul li a {
/* Layout */
display: block;
width: 250px;
padding: 6px 10px 6px 20px;
border-bottom: 1px solid #e1e1e1;
/* Typography */
font-size: 12px;
color:#FFFFFF;
font-family: Helvetica, Arial, sans-serif;
text-decoration: none;
/* Background & effects */
background: #0B99BC;
-webkit-transition: background .3s;
-moz-transition: background .3s;
-ms-transition: background .3s;
-o-transition: background .3s;
transition: background .3s;
}
/* The hover state of the links */
#nav ul li>a:hover, #nav ul li:hover>a {
font-family:Arial, Helvetica, sans-serif;
background:#076278;
color: #FFFFFF;
font-weight:bold;
}
#nav ul ul>li:first-child>a {
border-top: 1px solid #c1c1c1;
}
#nav ul>li:last-child>a {
border-bottom: 1px solid #c1c1c1;
}
/* The arrow indicating a level 2+ submenu */
#nav ul>.dropdown>a::after {
content: "";
position: absolute;
top: 10px;
right: 8px;
width: 4px;
height: 4px;
border-bottom: 1px solid #a6a6a6;
border-right: 1px solid #a6a6a6;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
}
#nav ul>.dropdown:hover>a::after, #nav ul>.dropdown>a:hover::after {
border-color: #a1a1a1;
}
ul.vert-one{margin:0; margin-left:3px; margin-top:3px;padding:0;list-style-type:none;display:block;
font:bold 12px Arial, Helvetica, sans-serif;line-height:165%;
width:200px;
}
ul.vert-one li{margin:0;padding:0;border-top:1px solid #4D0000;
border-bottom:1px solid #761A1A;
height:25px;
}
ul.vert-one li a{display:block;text-decoration:none;color:#fff;
background:#600;padding:0 0 0 20px;width:180px;
height:25px;
}
ul.vert-one li a:hover{
background:#880015 url("images/vert-one_arrow.gif") no-repeat 0 9px;}
ul.vert-one li a.current,ul.vert-one li a.current:hover{
background:#880015 url("images/vert-one_arrow.gif") no-repeat 0 9px;}
#lavalamp {
/* background: url('lavalamp.png') no-repeat scroll 0 0 transparent;*/
height: 16px;
left: 13px;
position: absolute;
top: 0px;
width: 64px;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
}
#lavalamp:hover {
-moz-transition-duration: 3000s;
-ms-transition-duration: 3000s;
-o-transition-duration: 3000s;
-webkit-transition-duration: 3000s;
transition-duration: 3000s;
}
#nav li:nth-of-type(1):hover ~ #lavalamp {
left: 0px;
}
#nav li:nth-of-type(2):hover ~ #lavalamp {
left: 85px;
}
#nav li:nth-of-type(3):hover ~ #lavalamp {
left: 185px;
}
#nav li:nth-of-type(4):hover ~ #lavalamp {
left: 300px;
}
#nav li:nth-of-type(5):hover ~ #lavalamp {
left: 427px;
}
#nav li:nth-of-type(6):hover ~ #lavalamp {
left: 525px;
}
#nav li:nth-of-type(7):hover ~ #lavalamp {
left: 610px;
}
#nav li:nth-of-type(8):hover ~ #lavalamp {
left: 725px;
}