/*----------------------------------------------------------------------------------------------------------- This theme is largely inspired by the Mega menu tutorial on net.tutsplus.com : http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-a-kick-butt-css3-mega-drop-down-menu/ Ce theme est largement inspire du tutoriel de Mega menu sur net.tutsplus.com http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-a-kick-butt-css3-mega-drop-down-menu/ -------------------------------------------------------------------------------------------------------------*/ .clr {clear:both;visibility: hidden;} /*--------------------------------------------- --- menu container --- ----------------------------------------------*/ /* menu */ div#maximenuck196 { font-size:14px; line-height:21px; text-align:left; zoom:1; } .maxiroundedcenter { display: flex; border-top: solid 1px #ccc; margin-top: 35px; border-bottom: solid 1px #ccc; line-height:64px; } /* container style */ div#maximenuck196 ul.maximenuck { clear:both; position : relative; z-index:999; overflow: visible !important; display: block !important; float: none !important; visibility: visible !important; opacity: 1 !important; list-style:none; margin:0 auto; height: auto; padding:0px 20px 0px 20px; filter: none; text-align: left; zoom: 1; } /* vertical menu */ div#maximenuck196.maximenuckv ul.maximenuck { padding: 5px; } div#maximenuck196 ul.maximenuck:after { content: " "; display: block; height: 0; clear: both; visibility: hidden; font-size: 0; } /*--------------------------------------------- --- Root items - level 1 --- ----------------------------------------------*/ div#maximenuck196 ul.maximenuck li.maximenuck.level1 { display: inline-block; float: none !important; position:static; list-style : none; border: 1px solid transparent; /*float:left;*/ text-align:center; padding: 0 15px; margin: 2px 10px 0 0; cursor: pointer; vertical-align: middle; box-shadow: none; filter: none; } /** IE 7 only **/ *+html div#maximenuck196 ul.maximenuck li.maximenuck.level1 { display: inline !important; } /* vertical menu */ div#maximenuck196.maximenuckv ul.maximenuck li.maximenuck.level1 { display: block !important; margin: 0; padding: 4px 0px 2px 8px; text-align: left; } div#maximenuck196 ul.maximenuck li.maximenuck.level1 > a, div#maximenuck196 ul.maximenuck li.maximenuck.level1 > span.separator { font-size:14px; color: #464646; display:block; float : none !important; float : left; position:relative; text-decoration:none; box-shadow: none; min-height : 34px; outline : none; background : none; filter: none; border : none; padding : 0; white-space: normal; filter: none; } /* parent item on mouseover (if subemnus exists) horizonal menu only */ div#maximenuck196.maximenuckh ul.maximenuck li.maximenuck.level1.parent:hover, div#maximenuck196.maximenuckh ul.maximenuck li.maximenuck.level1.parent:hover { -moz-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 5px 5px 0px 0px; border-radius: 5px 5px 0px 0px; } /* item color on mouseover */ div#maximenuck196 ul.maximenuck li.maximenuck.level1:hover > a span.titreck, div#maximenuck196 ul.maximenuck li.maximenuck.level1.active > a span.titreck, div#maximenuck196 ul.maximenuck li.maximenuck.level1:hover > span.separator, div#maximenuck196 ul.maximenuck li.maximenuck.level1.active > span.separator { color : #161616; } div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent > a, div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent > span.separator { padding: 0 12px 0 0; } /* arrow image for parent item */ div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent > a:after, div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent > span.separator:after { content: ""; display: block; position: absolute; width: 0; height: 0; border-style: solid; border-width: 7px 6px 0 6px; border-color: #EEEEEE transparent transparent transparent; top: 7px; right: -4px; } div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent:hover > a:after, div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent:hover > span.separator:after, div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent.active > a:after, div#maximenuck196.maximenuckh ul.maximenuck li.level1.parent.active > span.separator:after { border-top-color : #161616; } /* vertical menu */ div#maximenuck196.maximenuckv ul.maximenuck li.level1.parent > a:after, div#maximenuck196.maximenuckv ul.maximenuck li.level1.parent > span.separator:after { display: inline-block; content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 7px; border-color: transparent transparent transparent #EEEEEE; margin: 5px 10px 3px 0; position: absolute; right: 3px; top: 3px; } div#maximenuck196.maximenuckv ul.maximenuck li.level1.parent:hover > a:after, div#maximenuck196.maximenuckv ul.maximenuck li.level1.parent:hover > span.separator:after, div#maximenuck196.maximenuckv ul.maximenuck li.level1.parent.active > a:after, div#maximenuck196.maximenuckv ul.maximenuck li.level1.parent.active > span.separator:after { border-left-color : #161616; } /* arrow image for submenu parent item */ div#maximenuck196 ul.maximenuck li.level1.parent li.parent > a:after, div#maximenuck196 ul.maximenuck li.level1.parent li.parent > span.separator:after, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li.parent > a:after, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li.parent > a:after { display: inline-block; content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 7px; border-color: transparent transparent transparent #015b86; margin: 3px; position: absolute; float: right; right: 3px; top: 2px; } div#maximenuck196 ul.maximenuck li.level1.parent li.parent:hover > a:after, div#maximenuck196 ul.maximenuck li.level1.parent li.parent:hover > span.separator:after, div#maximenuck196 ul.maximenuck li.level1.parent li.parent.active > a:after, div#maximenuck196 ul.maximenuck li.level1.parent li.parent.active > span.separator:after{ border-left-color : #029feb; } /* styles for right position */ div#maximenuck196 ul.maximenuck li.maximenuck.level1.align_right, div#maximenuck196 ul.maximenuck li.maximenuck.level1.menu_right, div#maximenuck196 ul.maximenuck li.align_right, div#maximenuck196 ul.maximenuck li.menu_right { float:right !important; margin-right:0px !important; } div#maximenuck196 ul.maximenuck li.align_right:not(.fullwidth) div.floatck, div#maximenuck196 ul.maximenuck li:not(.fullwidth) div.floatck.fixRight { left:auto; right:-1px; top:auto; -moz-border-radius: 5px 0px 5px 5px; -webkit-border-radius: 5px 0px 5px 5px; border-radius: 5px 0px 5px 5px; } /* arrow image for submenu parent item to open left */ div#maximenuck196 ul.maximenuck li.level1.parent div.floatck.fixRight li.parent > a, div#maximenuck196 ul.maximenuck li.level1.parent div.floatck.fixRight li.parent > span.separator, div#maximenuck196 ul.maximenuck li.level1.parent.menu_right li.parent > a, div#maximenuck196 ul.maximenuck li.level1.parent.menu_right li.parent > span.separator { border-color: transparent #015b86 transparent transparent; } /* margin for right elements that rolls to the left */ div#maximenuck196 ul.maximenuck li.maximenuck div.floatck div.floatck.fixRight, div#maximenuck196 ul.maximenuck li.level1.parent.menu_right div.floatck div.floatck { margin-right : 93%; } div#maximenuck196 ul.maximenuck li div.floatck.fixRight{ -moz-border-radius: 5px 0px 5px 5px; -webkit-border-radius: 5px 0px 5px 5px; border-radius: 5px 0px 5px 5px; } /*--------------------------------------------- --- Sublevel items - level 2 to n --- ----------------------------------------------*/ div#maximenuck196 ul.maximenuck li div.floatck ul.maximenuck2, div#maximenuck196 ul.maximenuck2 { z-index:11000; clear:left; text-align : left; background : transparent; margin : 0 !important; padding : 0 !important; border : none !important; box-shadow: none !important; width : 100%; /* important for Chrome and Safari compatibility */ position: static !important; overflow: visible !important; display: block !important; float: none !important; visibility: visible !important; } div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.maximenuck, div#maximenuck196 ul.maximenuck2 li.maximenuck { text-align : left; z-index : 11001; padding:0; font-size:12px; position:static; text-shadow: 1px 1px 1px #ffffff; padding: 5px 0px; margin: 0px 0px 4px 0px; float:none !important; text-align:left; background : none; list-style : none; display: block; } div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.maximenuck:hover, div#maximenuck196 ul.maximenuck2 li.maximenuck:hover { background: transparent; } /* all links styles */ div#maximenuck196 ul.maximenuck li.maximenuck a, div#maximenuck196 ul.maximenuck li.maximenuck span.separator, div#maximenuck196 ul.maximenuck2 a, div#maximenuck196 ul.maximenuck2 li.maximenuck span.separator { margin : 0; font-size:14px; font-weight : normal; color: #a1a1a1; display:block; text-decoration:none; text-transform : none; /*text-shadow: 1px 1px 1px #000;*/ outline : none; background : none; filter: none; border : none; padding : 0 5px; white-space: normal; box-shadow: none; position:relative; } /* submenu link */ div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li a, div#maximenuck196 ul.maximenuck2 li a { color:#015b86; text-shadow: 1px 1px 1px #ffffff; } div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 a, div#maximenuck196 ul.maximenuck2 a { font-size:12px; color:#161616; display: block; position: relative; } div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > a, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h2 a, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h3 a, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 li.active > a, div#maximenuck196 ul.maximenuck2 li:hover > a, div#maximenuck196 ul.maximenuck2 li:hover > h2 a, div#maximenuck196 ul.maximenuck2 li:hover > h3 a, div#maximenuck196 ul.maximenuck2 li.active > a{ color:#029feb; background: transparent; } /* link image style */ div#maximenuck196 li.maximenuck > a img { margin : 3px; border : none; } /* img style without link (in separator) */ div#maximenuck196 li.maximenuck img { border : none; } /* item title */ div#maximenuck196 span.titreck { /*text-transform : none; font-weight : normal; font-size : 14px; line-height : 18px;*/ text-decoration : none; min-height : 17px; float : none !important; float : left; margin: 0; } /* item description */ div#maximenuck196 span.descck { display : block; text-transform : none; font-size : 10px; text-decoration : none; height : 12px; line-height : 12px; float : none !important; float : left; } /*-------------------------------------------- --- Submenus ------ ---------------------------------------------*/ /* submenus container */ div#maximenuck196 div.floatck { position : absolute; display: none; padding : 0; background : url(../images/transparent.gif); /* important for hover to work good under IE7 */ /*width : 180px;*/ /* default width */ margin: 2px 0 0 -10px; text-align:left; padding:5px 5px 0 5px; border:1px solid #777777; border-top:none; background:#F4F4F4; background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB)); -moz-border-radius: 0px 5px 5px 5px; -webkit-border-radius: 0px 5px 5px 5px; border-radius: 0px 5px 5px 5px; filter: none; width: inherit; z-index:9999; cursor: auto; } div#maximenuck196 div.maxidrop-main { width : 180px; /* default width */ } /* vertical menu */ div#maximenuck196.maximenuckv div.floatck { margin : -39px 0 0 90%; border:1px solid #777777; border-left:none; -moz-border-radius: 0px 5px 5px 5px; -webkit-border-radius: 0px 5px 5px 5px; border-radius: 0px 5px 5px 5px; } div#maximenuck196 .maxipushdownck div.floatck { margin: 0; } /* child blocks position (from level2 to n) */ div#maximenuck196 ul.maximenuck li.maximenuck div.floatck div.floatck { margin : -30px 0 0 93%; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border:1px solid #777777; } /** ** Show/hide sub menu if mootools is off - horizontal style **/ div#maximenuck196 ul.maximenuck li:hover:not(.maximenuckanimation) div.floatck div.floatck, div#maximenuck196 ul.maximenuck li:hover:not(.maximenuckanimation) div.floatck:hover div.floatck div.floatck, div#maximenuck196 ul.maximenuck li:hover:not(.maximenuckanimation) div.floatck:hover div.floatck:hover div.floatck div.floatck, div#maximenuck196 ul.maximenuck li.sfhover:not(.maximenuckanimation) div.floatck div.floatck, div#maximenuck196 ul.maximenuck li.sfhover:not(.maximenuckanimation) div.floatck.sfhover div.floatck div.floatck, div#maximenuck196 ul.maximenuck li.sfhover:not(.maximenuckanimation) div.floatck.sfhover div.floatck.sfhover div.floatck div.floatck { display: none; } div#maximenuck196 ul.maximenuck li.maximenuck:hover > div.floatck, div#maximenuck196 ul.maximenuck li.maximenuck:hover > div.floatck li.maximenuck:hover > div.floatck, div#maximenuck196 ul.maximenuck li.maximenuck:hover> div.floatck li.maximenuck:hover > div.floatck li.maximenuck:hover > div.floatck, div#maximenuck196 ul.maximenuck li.maximenuck:hover > div.floatck li.maximenuck:hover > div.floatck li.maximenuck:hover > div.floatck li.maximenuck:hover > div.floatck, div#maximenuck196 ul.maximenuck li.sfhover > div.floatck, div#maximenuck196 ul.maximenuck li.sfhover > div.floatck li.sfhover > div.floatck, div#maximenuck196 ul.maximenuck li.sfhover > div.floatck li.sfhover > div.floatck li.sfhover > div.floatck, div#maximenuck196 ul.maximenuck li.sfhover > div.floatck li.sfhover > div.floatck li.sfhover > div.floatck li.sfhover > div.floatck { display: block; } div#maximenuck196 div.maximenuck_mod ul { display: block; } /*--------------------------------------------- --- Columns management --- ----------------------------------------------*/ div#maximenuck196 ul.maximenuck li div.floatck div.maximenuck2 { /*width : 180px;*/ /* default width */ margin: 0; padding: 0; } /* h2 title */ div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 h2 a, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 h2 span.separator, div#maximenuck196 ul.maximenuck2 h2 a, div#maximenuck196 ul.maximenuck2 h2 span.separator { font-size:21px; font-weight:400; letter-spacing:-1px; margin:7px 0 14px 0; padding-bottom:14px; border-bottom:1px solid #666666; line-height:21px; text-align:left; } /* h3 title */ div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 h3 a, div#maximenuck196 ul.maximenuck li.maximenuck ul.maximenuck2 h3 span.separator, div#maximenuck196 ul.maximenuck2 h3 a, div#maximenuck196 ul.maximenuck2 h3 span.separator { font-size:14px; margin:7px 0 14px 0; padding-bottom:7px; border-bottom:1px solid #888888; line-height:21px; text-align:left; } /* paragraph */ div#maximenuck196 ul.maximenuck li ul.maximenuck2 li p, div#maximenuck196 ul.maximenuck2 li p { line-height:18px; margin:0 0 10px 0; font-size:12px; text-align:left; } /* image shadow with specific class */ div#maximenuck196 .imgshadow { /* Better style on light background */ background:#FFFFFF !important; padding:4px; border:1px solid #777777; margin-top:5px; -moz-box-shadow:0px 0px 5px #666666; -webkit-box-shadow:0px 0px 5px #666666; box-shadow:0px 0px 5px #666666; } /* blackbox style */ div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.blackbox, div#maximenuck196 ul.maximenuck2 li.blackbox { background-color:#333333 !important; color: #eeeeee; text-shadow: 1px 1px 1px #000; padding:4px 6px 4px 6px !important; margin: 0px 4px 4px 4px !important; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -webkit-box-shadow:inset 0 0 3px #000000; -moz-box-shadow:inset 0 0 3px #000000; box-shadow:inset 0 0 3px #000000; } div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.blackbox:hover, div#maximenuck196 ul.maximenuck2 li.blackbox:hover { background-color:#333333 !important; } div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.blackbox a, div#maximenuck196 ul.maximenuck2 li.blackbox a { color: #fff; text-shadow: 1px 1px 1px #000; /*display: inline !important;*/ } div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.blackbox:hover > a, div#maximenuck196 ul.maximenuck2 li.blackbox:hover > a{ text-decoration: underline; } /* greybox style */ div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.greybox, div#maximenuck196 ul.maximenuck2 li.greybox { background:#f0f0f0 !important; border:1px solid #bbbbbb; padding: 4px 6px 4px 6px !important; margin: 0px 4px 4px 4px !important; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; } div#maximenuck196 ul.maximenuck li ul.maximenuck2 li.greybox:hover, div#maximenuck196 ul.maximenuck2 li.greybox:hover { background:#ffffff !important; border:1px solid #aaaaaa; } /*--------------------------------------------- --- Module in submenus --- ----------------------------------------------*/ /* module title */ div#maximenuck196 ul.maximenuck div.maximenuck_mod > div > h3, div#maximenuck196 ul.maximenuck2 div.maximenuck_mod > div > h3 { width : 100%; font-weight : bold; color: #555; border-bottom: 1px solid #555; text-shadow: 1px 1px 1px #000; font-size: 16px; } div#maximenuck196 div.maximenuck_mod { /*width : 100%;*/ padding : 0; white-space : normal; } div#maximenuck196 div.maximenuck_mod div.moduletable { border : none; background : none; } div#maximenuck196 div.maximenuck_mod fieldset{ width : 100%; padding : 0; margin : 0 auto; overflow : hidden; background : transparent; border : none; } div#maximenuck196 ul.maximenuck2 div.maximenuck_mod a { border : none; margin : 0; padding : 0; display : inline; background : transparent; font-weight : normal; } div#maximenuck196 ul.maximenuck2 div.maximenuck_mod a:hover { } div#maximenuck196 ul.maximenuck2 div.maximenuck_mod ul { margin : 0; padding : 0; width : 100%; background : none; border : none; text-align : left; } div#maximenuck196 ul.maximenuck2 div.maximenuck_mod li { margin : 0 0 0 15px; padding : 0; background : none; border : none; text-align : left; font-size : 11px; float : none; display : block; line-height : 20px; white-space : normal; } /* login module */ div#maximenuck196 ul.maximenuck2 div.maximenuck_mod #form-login ul { left : 0; margin : 0; padding : 0; width : 100%; } div#maximenuck196 ul.maximenuck2 div.maximenuck_mod #form-login ul li { margin : 2px 0; padding : 0 5px; height : 20px; background : transparent; } .nav_wrap .maxiroundedcenter { margin-top: 0; } div#maximenuck196 form { margin: 0 0 5px; } /*--------------------------------------------- --- Fancy styles (floating cursor) --- ----------------------------------------------*/ div#maximenuck196 .maxiFancybackground { position: absolute; bottom : -1.5px; list-style : none; padding: 0 !important; margin: 0 !important; border: none !important; z-index: -1; } div#maximenuck196 .maxiFancybackground .maxiFancycenter { border-top: 3px solid #cf001c; } /*--------------------------------------------- --- Button to close on click --- ----------------------------------------------*/ div#maximenuck196 span.maxiclose { color: #fff; } /*--------------------------------------------- --- Stop the dropdown --- ----------------------------------------------*/ div#maximenuck196 ul.maximenuck li.maximenuck.nodropdown div.floatck, div#maximenuck196 ul.maximenuck li.maximenuck div.floatck li.maximenuck.nodropdown div.floatck, div#maximenuck196 .maxipushdownck div.floatck div.floatck { position: static !important; background: none; border: none; left: auto; margin: 3px; moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; display: block !important; } div#maximenuck196 ul.maximenuck li.level1.parent ul.maximenuck2 li.maximenuck.nodropdown li.maximenuck, div#maximenuck196 .maxipushdownck ul.maximenuck2 li.maximenuck.nodropdown li.maximenuck { background: none; text-indent: 5px; } div#maximenuck196 ul.maximenuck li.maximenuck.level1.parent ul.maximenuck2 li.maximenuck.parent.nodropdown > a, div#maximenuck196 ul.maximenuck li.maximenuck.level1.parent ul.maximenuck2 li.maximenuck.parent.nodropdown > span.separator, div#maximenuck196 .maxipushdownck ul.maximenuck2 li.maximenuck.parent.nodropdown > a, div#maximenuck196 .maxipushdownck ul.maximenuck2 li.maximenuck.parent.nodropdown > span.separator { background: none; } /* remove the arrow image for parent item */ div#maximenuck196 ul.maximenuck li.maximenuck.level1.parent ul.maximenuck2 li.parent.nodropdown > *:after, div#maximenuck196 .maxipushdownck ul.maximenuck2 li.parent > *:after { display: none; } div#maximenuck196 li.maximenuck.nodropdown > div.floatck > div.maxidrop-main { width: auto; } /*--------------------------------------------- --- Full width --- ----------------------------------------------*/ div#maximenuck196.maximenuckh li.fullwidth > div.floatck { margin: 0; padding: 0; width: auto !important; left: 0; right: 0; } div#maximenuck196.maximenuckv li.fullwidth > div.floatck { margin: 0 0 0 -5px; padding: 0; top: 0; bottom: 0; left: 100%; right: auto !important; } div#maximenuck196 li.fullwidth > div.floatck > div.maxidrop-main { width: auto; } .tab_subnav div#maximenuck196 .maxiroundedcenter{ background: #f9f9f9; line-height: 54px; border-top: none; margin-top: 0; margin-bottom: 40px; } @media all and (max-height: 850px) { .navbar-nav > li > a { line-height: 82px; } .logo { line-height: 80px; } .logo img { max-height: 6.5vh; max-width: 13.5vw; min-height: 38px; } #t3-mainnav .dropdown-menu { top: 82px; } .wechat { line-height: 82px; } #t3-mainnav .dropdown-menu { top: 82px; } }