Template:Team:HokkaidoU Japan/header

From 2013.igem.org

Revision as of 11:01, 18 July 2013 by TaKeZo (Talk | contribs)

body{background:#fff}#globalWrapper{position:absolute;top:0;left:0;width:100%;height:0;margin:0;padding:0;border:0;font-size:100%}#content{position:absolute;top:0;left:0;width:100%;height:0;margin:0;padding:0;border:0;font-size:100%}#bodyContent{position:absolute;top:0;left:0;width:100%;height:0;margin:0;padding:0;border:0;font-size:100%}#p-logo{display:none}#footer-box{display:none}#catlinks{display:none}.firstHeading{display:none}#search-controls{display:none}#top-section{border:0}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ul{list-style:disc}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:;content:none}table{border-collapse:collapse;border-spacing:0}html{overflow-y:scroll}body{font-size:18px;line-height:28px;text-align:justify}h1,h2,h3,h4,h5,h6{font-family:'Rosario',sans-serif}ul,ol{margin-left:40px}th,td{padding:0 10px}th{font-family:'Rosario',sans-serif}dt{margin-left:20px}dd{margin-left:60px}#background{position:absolute;top:0;width:100%;margin:0;padding:0}.wrapper{width:960px;margin:0 auto 0}.clearfix{clear:both;height:0}#hokkaidou-contents{font-family:'Open Sans',sans-serif;font-weight:300 !important;width:880px;margin:60px auto 0}#hokkaidou-contents h1{font-size:44px;line-height:52px;margin:90px 0 20px}#hokkaidou-contents h2{font-size:32px;line-height:40px;margin:50px 0 10px}#hokkaidou-contents h3{font-size:22px;line-height:28px;margin:30px 0 10px}#hokkaidou-contents p{margin:30px 0 0}#hokkaidou-contents p:first-letter {margin-left:20px}#hokkaidou-contents h1+p,#hokkaidou-contents h2+p,#hokkaidou-contents h3+p{margin:0}#hokkaidou-contents p{font-family:'Open Sans',sans-serif;font-weight:300 !important;}#hokkaidou-contents sup{vertical-align:super;font-size:smaller}#hokkaidou-contents .fig{float:right;padding:30px}#hokkaidou-contents .fig div{font-size:14px;line-height:20px;padding-top:20px;text-align:center}#hokkaidou-contents .fig200{width:160px}#hokkaidou-contents .fig200 img{width:160px}#hokkaidou-contents .fig300{width:260px}#hokkaidou-contents .fig300 img{width:260px}#hokkaidou-contents .fig400{width:360px}#hokkaidou-contents .fig400.para{float:left;padding:30px 40px}#hokkaidou-contents .fig400 img{width:360px}#hokkaidou-contents .fig800{float:none;width:800px;margin:30px auto}#hokkaidou-contents .fig800 img{width:800px}#hokkaidou-contents .citation-list{margin-top:40px}#top-section{width:100%;margin:0 auto}#menubar{font-family:'Open Sans',sans-serif;font-weight:300 !important;background:transparent!important;color:transparent!important}#menubar ul{margin:4px 0 0;padding:0;background:transparent;color:transparent!important}#menubar ul li{margin:0 10px 0 0;padding:0;background:transparent;color:transparent!important}#menubar ul li:last-child{margin:0}#menubar ul li a{margin:0;padding:0;font-size:12px;line-height:18px;background:transparent!important;color:transparent!important}#menubar ul:hover a{color:#a4a4a4!important}ul.mega-menu{height:40px;margin:0;padding:0;border:0;list-style:none}ul.mega-menu ul{padding:0;margin:0}ul.mega-menu ul li ul{display:none}ul.mega-menu>li{float:left;margin:0;padding:0;color:white;font-size:16px;list-style:none}ul.mega-menu>li.dc-nonmega-li{position:relative}ul.mega-menu>li.dc-nonmega-li .sub-container{position:absolute}ul.mega-menu>li.mega-hover a{color:#010101}ul.mega-menu>li>a{float:left;display:block;padding:0 20px;color:white;line-height:40px;text-decoration:none;font-family:'Rosario',sans-serif}ul.mega-menu>li div.sub-container{position:absolute;font-family:'Open Sans',sans-serif;font-weight:300 !important;}ul.mega-menu>li div.sub-container.mega ul.sub{padding:10px 0 0}ul.mega-menu>li div.sub-container.mega ul.sub div.row{width:100%;padding:5px 0;overflow:hidden;clear:both;background:white;border:1px solid #e6e6e6;box-shadow:5px 5px 1px rgba(0,0,0,0.1)}ul.mega-menu>li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr{margin:0 5px 0;float:left}ul.mega-menu>li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr a.mega-hdr-a{padding:5px 5px 5px 15px;margin-bottom:5px;background:#e6e6e6;text-transform:uppercase;font-weight:bold;color:#010101}ul.mega-menu>li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr a.mega-hdr-a:hover{color:#af3a2e}ul.mega-menu>li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr ul li a{padding:4px 5px 4px 20px;font-weight:normal}ul.mega-menu>li div.sub-container.mega ul.sub div.row li.mega-unit.mega-hdr ul li a:hover{color:#af3a2e;background:#e6e6e6}ul.mega-menu>li div.sub-container.non-mega{padding:10px 20px 10px 0}ul.mega-menu>li div.sub-container.non-mega ul.sub{padding:5px;background:white;border:1px solid #e6e6e6;box-shadow:5px 5px 1px rgba(0,0,0,0.1)}ul.mega-menu>li div.sub-container.non-mega ul.sub li{padding:0;width:190px;margin:0}ul.mega-menu>li div.sub-container.non-mega ul.sub li a{padding:7px 5px 7px 22px}ul.mega-menu>li div.sub-container.non-mega ul.sub li a:hover{color:#af3a2e;background:#e6e6e6}ul.mega-menu>li div.sub-container ul.sub{display:none;padding:20px 20px 20px 10px}ul.mega-menu>li div.sub-container ul.sub a{background:0;border:0;text-shadow:none;color:#010101;padding:7px 10px;display:block;float:none;text-decoration:none;font-size:14px}ul.mega-menu>li div.sub-container ul.sub li{list-style:none;float:none;width:170px;font-size:14px;font-weight:normal}ul.mega-menu>li div.sub-container ul.sub li ul{display:block}ul.mega-menu>li div.sub-container ul.sub li ul li{padding-right:0}#footer-background{width:100%;height:200px;margin-top:100px}#footer{position:relative;width:100%;height:200px}#footer #footer-img{position:absolute;left:0;top:0}#footer #footer-tw{position:absolute;right:0;top:0;width:300px;height:200px}#footer #footer-tw div{position:absolute;top:68px;right:70px;color:#fff;font-size:24px;line-height:32px;font-family:'Rosario',sans-serif}#footer #footer-tw img{position:absolute;top:75px;right:0}#common-header-top-background{font-family:'Rosario',sans-serif;height:40px;background:#cf6f65;color:#fff}#common-header-top-background .wrapper{position:relative;height:100%}#common-header-top-background .wrapper #common-header-logo{position:absolute;left:0;top:5px}#common-header-top-background .wrapper #common-header-team{position:absolute;left:45px;top:7px;width:145px;margin:0;padding:0;font-size:24px}#common-header-top-background .wrapper #common-header-menu-container{float:right;margin-right:-20px}#common-header-top-background .wrapper #common-header-menu-container #header-menu .sub-container.mega{width:100%}#common-header-top-background .wrapper #common-header-menu-container #header-menu .sub-container.mega .sub .row{float:right}#common-header-top-background .wrapper #common-header-menu-container #header-menu .sub-container.non-mega{position:relative}#common-header-top-background .wrapper #common-header-menu-container #header-menu .sub-container.non-mega .sub{position:absolute;right:-60px}#common-header-bottom-background{font-family:'Rosario',sans-serif;height:140px;background:lightgreen}#common-header-bottom-background .wrapper{position:relative;height:100%}#common-header-bottom-background .wrapper #common-header-title{position:absolute;left:0;top:5px;margin:0;padding:0;font-size:64px;line-height:80px}#common-header-bottom-background .wrapper #common-header-subtitle{position:absolute;left:0;bottom:15px;margin:0;padding:0;font-size:40px;line-height:54px}#common-header-bottom-background .wrapper #common-header-img{position:absolute;right:0;top:20px;height:100px}#hokkaidou-contents .workflow-container{width:100%;margin:40px 0 0}#hokkaidou-contents .steps{width:4px;margin:0 0 0 120px;list-style:none;background:#e6e6e6}#hokkaidou-contents .step{margin:0 0 40px}#hokkaidou-contents .step .step-tile{width:244px;height:80px;margin-left:-120px;background:#fff;border:2px solid #e6e6e6}#hokkaidou-contents .start .step-tile{background:#d2f1eb;border:2px solid #c1ddd8}#hokkaidou-contents .complete .step-tile{margin-bottom:0;background:#f0d3d0;border:2px solid #dcc2bf}#hokkaidou-contents .step-tile h2{text-align:center;font-size:20px;line-height:80px;margin:0}#hokkaidou-contents .start .step-tile h2,#hokkaidou-contents .complete .step-tile h2{font-size:32px}#hokkaidou-contents .step-detail{position:relative;width:674px;margin-top:20px;margin-left:22px;padding:10px 30px;border:2px solid #e6e6e6}#hokkaidou-contents .step-detail:after{content:;position:absolute;top:-10px;left:10px;border-bottom:14px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}#hokkaidou-contents .step-detail:before{content:;position:absolute;top:-14px;left:10px;border-bottom:14px solid #e6e6e6;border-right:7px solid transparent;border-left:7px solid transparent}#hokkaidou-contents .step-detail .step-detail-trials{list-style-image:url("HokkaidoU2013_CalendarIcon.png");margin:10px 40px}#hokkaidou-contents .step-detail .step-detail-trials time{vertical-align:5px}#top-header-background{background:#cf6f65}#top-header{position:relative;width:100%;height:130px}#top-header #top-header-logo{position:absolute;top:25px;left:465px}#top-header #top-header-team{position:absolute;top:65px;left:407px;color:#010101;font-size:24px}#top-header #top-header-menu-container{position:absolute;bottom:0;left:0;width:100%;height:40px}#top-header #top-header-menu-container #header-menu{margin:0 0 0 252px}#top-header #top-header-menu-container #header-menu .sub-container.mega{width:100%}#top-header #top-header-menu-container #header-menu .sub-container.mega .sub .row{margin:0 auto;background:white}#hokkaidou-contents .top-title{margin:80px 0 0;text-align:center;font-size:64px;line-height:80px}#hokkaidou-contents .top-subtitle{margin:80px 0 0;text-align:center;font-size:40px;line-height:52px}#hokkaidou-contents .top-title-img{display:block;height:250px;margin:80px auto 0}#hokkaidou-contents .top-text{width:660px;margin:80px auto 0;font-size:18px;line-height:28px;text-align:justify}#hokkaidou-contents .top-tile-container{width:100%;margin:60px 0 0}#hokkaidou-contents .top-tile-container+.top-title{margin-top:80px}#hokkaidou-contents .top-tile-container ul{list-style:none;margin:0}#hokkaidou-contents .top-tile-container ul .top-tile{width:100%;height:225px}#hokkaidou-contents .top-tile-container ul .top-tile .top-tile-left{float:left;position:relative;width:544px;height:100%}#hokkaidou-contents .top-tile-container ul .top-tile .top-tile-left .top-tile-title{position:absolute;top:40px;width:100%;text-align:center;font-size:56px;line-height:70px;font-weight:normal}#hokkaidou-contents .top-tile-container ul .top-tile .top-tile-left .top-tile-left-linkgroup{position:absolute;top:145px;width:100%;text-align:center;font-size:24px;color:#010101}#hokkaidou-contents .top-tile-container ul .top-tile .top-tile-right{float:right;width:336px;height:100%;text-align:center}#hokkaidou-contents .top-tile-container ul .top-tile .top-tile-right:before{content:;display:inline-block;height:100%;vertical-align:middle}#hokkaidou-contents .top-tile-container ul .top-tile .top-tile-right img{display:inline-block;vertical-align:middle}#maestro-top-tile-container .top-tile:nth-child(1) .top-tile-left{background:#f1f9eb}#maestro-top-tile-container .top-tile:nth-child(1) .top-tile-right{background:#dde4d8}#maestro-top-tile-container .top-tile:nth-child(2) .top-tile-left{background:#dff1d1}#maestro-top-tile-container .top-tile:nth-child(2) .top-tile-right{background:#cdddc0}#maestro-top-tile-container .top-tile:nth-child(3) .top-tile-left{background:#cce8b6}#maestro-top-tile-container .top-tile:nth-child(3) .top-tile-right{background:#bbd5a7}#maestro-top-tile-container .top-tile:nth-child(4) .top-tile-left{background:#bae09d}#maestro-top-tile-container .top-tile:nth-child(4) .top-tile-right{background:#abce90}#human-practice-top-tile-container .top-tile:nth-child(1) .top-tile-left{background:#ebf9f6}#human-practice-top-tile-container .top-tile:nth-child(1) .top-tile-right{background:#d8e4e2}#human-practice-top-tile-container .top-tile:nth-child(2) .top-tile-left{background:#d2f1eb}#human-practice-top-tile-container .top-tile:nth-child(2) .top-tile-right{background:#c1ddd8}#footer-background{background:#cf6f65} .italic{font-style: italic;} .bold{font-weight:400;} /*!

* hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+
* http://cherne.net/brian/resources/jquery.hoverIntent.html
*
* You may use hoverIntent under the terms of the MIT license. Basically that
* means you are free to use hoverIntent as long as this header is left intact.
* Copyright 2007, 2013 Brian Cherne
*/

(function(a){a.fn.hoverIntent=function(m,d,h){var j={interval:100,sensitivity:7,timeout:0};if(typeof m==="object"){j=a.extend(j,m)}else{if(a.isFunction(d)){j=a.extend(j,{over:m,out:d,selector:h})}else{j=a.extend(j,{over:m,out:m,selector:d})}}var l,k,g,f;var e=function(n){l=n.pageX;k=n.pageY};var c=function(o,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);if((Math.abs(g-l)+Math.abs(f-k))<j.sensitivity){a(n).off("mousemove.hoverIntent",e);n.hoverIntent_s=1;return j.over.apply(n,[o])}else{g=l;f=k;n.hoverIntent_t=setTimeout(function(){c(o,n)},j.interval)}};var i=function(o,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);n.hoverIntent_s=0;return j.out.apply(n,[o])};var b=function(p){var o=jQuery.extend({},p);var n=this;if(n.hoverIntent_t){n.hoverIntent_t=clearTimeout(n.hoverIntent_t)}if(p.type=="mouseenter"){g=o.pageX;f=o.pageY;a(n).on("mousemove.hoverIntent",e);if(n.hoverIntent_s!=1){n.hoverIntent_t=setTimeout(function(){c(o,n)},j.interval)}}else{a(n).off("mousemove.hoverIntent",e);if(n.hoverIntent_s==1){n.hoverIntent_t=setTimeout(function(){i(o,n)},j.timeout)}}};return this.on({"mouseenter.hoverIntent":b,"mouseleave.hoverIntent":b},j.selector)}})(jQuery);(function(a){a.fn.dcMegaMenu=function(c){var d={classParent:"dc-mega",classContainer:"sub-container",classSubParent:"mega-hdr",classSubLink:"mega-hdr",classWidget:"dc-extra",rowItems:3,speed:"fast",effect:"fade",event:"hover",fullWidth:false,onLoad:function(){},beforeOpen:function(){},beforeClose:function(){}};var c=a.extend(d,c);var b=this;return b.each(function(p){var j=d.classSubParent;var o=d.classSubLink;var m=d.classParent;var n=d.classContainer;var k=d.classWidget;l();function i(){var q=a(".sub",this);a(this).addClass("mega-hover");if(d.effect=="fade"){a(q).fadeIn(d.speed)}if(d.effect=="slide"){a(q).show(d.speed)}d.beforeOpen.call(this)}function f(r){var q=a(".sub",r);a(r).addClass("mega-hover");if(d.effect=="fade"){a(q).fadeIn(d.speed)}if(d.effect=="slide"){a(q).show(d.speed)}d.beforeOpen.call(this)}function h(){var q=a(".sub",this);a(this).removeClass("mega-hover");a(q).hide();d.beforeClose.call(this)}function e(r){var q=a(".sub",r);a(r).removeClass("mega-hover");a(q).hide();d.beforeClose.call(this)}function g(){a("li",b).removeClass("mega-hover");a(".sub",b).hide()}function l(){$arrow='';var s=m+"-li";var r=b.outerWidth();a("> li",b).each(function(){var D=a("> ul",this);var u=a("> a",this);if(D.length){u.addClass(m).append($arrow);D.addClass("sub").wrap('<div class="'+n+'" />');var y=a(this).position();pl=y.left;if(a("ul",D).length){a(this).addClass(s);a("."+n,this).addClass("mega");a("> li",D).each(function(){if(!a(this).hasClass(k)){a(this).addClass("mega-unit");if(a("> ul",this).length){a(this).addClass(j);a("> a",this).addClass(j+"-a")}else{a(this).addClass(o);a("> a",this).addClass(o+"-a")}}});var v=a(".mega-unit",this);rowSize=parseInt(d.rowItems);for(var J=0;J<v.length;J+=rowSize){v.slice(J,J+rowSize).wrapAll('<div class="row" />')}D.show();var B=a(this).width();var H=pl+B;var G=r-H;var F=D.outerWidth();var E=D.parent("."+n).outerWidth();var C=E-F;if(d.fullWidth==true){var w=r-C;D.parent("."+n).css({width:w+"px"});b.addClass("full-width")}var x=a(".mega-unit",D).outerWidth(true);var I=a(".row:eq(0) .mega-unit",D).length;var z=x*I;var A=z+C;a(".row",this).each(function(){a(".mega-unit:last",this).addClass("last");var N=undefined;a(".mega-unit > a",this).each(function(){var O=parseInt(a(this).height());if(N===undefined||N<O){N=O}});a(".mega-unit > a",this).css("height",N+"px");a(this).css("width",z+"px")});if(d.fullWidth==true){M={left:0}}else{var K=G<K?K+K-G:(A-B)/2;var L=pl-K;var M={left:pl+"px",marginLeft:-K+"px"};M={left:0}}a("."+n,this).css(M);a(".row",D).each(function(){var N=a(this).height();a(".mega-unit",this).css({height:N+"px"});a(this).parent(".row").css({height:N+"px"})});D.hide()}else{a(this).addClass("dc-nonmega-li");a("."+n,this).addClass("non-mega").css("left",pl+"px")}}});var t=a("> li > a",b).outerHeight(true);a("."+n,b).css({top:t+"px"}).css("z-index","1000");if(d.event=="hover"){var q={sensitivity:2,interval:100,over:i,timeout:400,out:h};a("li",b).hoverIntent(q)}if(d.event=="click"){a("body").mouseup(function(u){if(!a(u.target).parents(".mega-hover").length){g()}});a("> li > a."+m,b).click(function(u){var v=a(this).parent();if(v.hasClass("mega-hover")){e(v)}else{f(v)}u.preventDefault()})}d.onLoad.call(this)}})}})(jQuery);(function(){$(function(){$("#header-menu").dcMegaMenu({rowItems:"5",speed:"fast",effect:"fade"});return $("#header-menu .dc-nonmega-li .sub-container").css("left",0)})}).call(this);(function(){$(function(){return $("#menubar.left-menu ul li:last-child").css("color","")})}).call(this);