diff --git a/Gemfile b/Gemfile index c74d61d..4a8ea68 100644 --- a/Gemfile +++ b/Gemfile @@ -9,7 +9,6 @@ gem 'coderay' gem 'sass' gem 'compass' -gem 'bourbon' gem 'typogruby' gem 'nanoc-cachebuster' diff --git a/Gemfile.lock b/Gemfile.lock index 183be85..70015d4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,9 +3,6 @@ GEM specs: adsf (1.1.1) rack (>= 1.0.0) - bourbon (3.1.1) - sass (>= 3.2.0) - thor chunky_png (1.2.7) coderay (1.0.9) colored (1.2) @@ -37,7 +34,6 @@ GEM rubypants (0.2.0) sass (3.2.7) systemu (2.5.2) - thor (0.17.0) tilt (1.3.6) typogruby (1.0.15) rubypants @@ -53,7 +49,6 @@ PLATFORMS DEPENDENCIES adsf - bourbon coderay compass haml diff --git a/Rules b/Rules index 51a27ee..13a0bde 100644 --- a/Rules +++ b/Rules @@ -1,9 +1,5 @@ #!/usr/bin/env ruby -SASS_LOAD_PATHS = [ - File.join(`bundle show bourbon`.chomp, *%w[app assets stylesheets]) -] - BYPASS_FILES = %w(404.html crossdomain.xml humans.txt robots.txt) unless defined?(BYPASS_FILES) BYPASS_FILES.each do |file| @@ -18,7 +14,7 @@ end compile '/css/*/' do # filter :sass, syntax: :scss, load_paths: SASS_LOAD_PATHS - filter :sass, Compass.sass_engine_options.merge(load_paths: SASS_LOAD_PATHS) + filter :sass, Compass.sass_engine_options end compile '/js/*/' do diff --git a/content/css/_fonts.scss b/content/css/_fonts.scss new file mode 100644 index 0000000..6886563 --- /dev/null +++ b/content/css/_fonts.scss @@ -0,0 +1,266 @@ +body {font:13px/18px Arial, Helvetica, 'Nimbus Sans L', sans-serif;} + +li p { + font-size:13px; + line-height:18px; +} + +input, textarea {font:13px/18px "Droid Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +code {font:12px/16px Monaco,Menlo,Consolas,"Courier New",monospace;} + +h1 {font:36px/54px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +h2 {font:800 24px/36px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +h3, +.sitemap > li > a {font:22px/36px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +h4, +#sidebar .widgettitle {font:18px/24px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +h5 {font:italic 18px/24px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +h6, +.portfolio_inner .hover_effect .post_category a, +.sitemap > li > ul > li > a, +.cms_archive li {font:italic 14px/18px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +small, +abbr {font:12px/18px Arial, Helvetica, 'Nimbus Sans L', sans-serif;} + +blockquote, +q, +.format-aside .entry-content {font:italic 18px/24px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +q:after, blockquote:after {font-family:"Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +span.dropcap, +span.dropcap2 {font-family: "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +.button, +.button_medium, +.button_large, +.comment-reply-link, +.tabs li a, +.cmsms_comments {font-family:"Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +#navigation > li > a {font:600 14px/20px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +#navigation ul li a {font:600 13px/20px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + + +/* Colors */ + +/* ---------------------------------------------- Content Color */ + +body, +a:hover, +.jp-playlist-current a, +.wp-pagenavi a, +.cmsmsLike span {color:#808080;} + +input, +textarea {color:#808080;} + +.cmsmsLike {background-color:#cccccc;} + +.cont_nav, +.cont_nav a {color:#ffffff;} + +/* ---------------------------------------------- Navigation Color */ + +#navigation > li > a { + background-color:#313131; + color:#ffffff; +} + +.nav_wrap_inner.navi_scrolled {background-color:#313131;} + +#navigation ul li a { + background-color:#313131; + color:#838383; +} + +#navigation > li > ul {background-color:#313131;} + +#navigation ul li.current_page_item > a, +#navigation ul li > a:hover, +#navigation ul li:hover > a { + background-color:#252525; + color:#ffffff; +} + +/* ---------------------------------------------- Buttons Colors */ + +.cmsmsLike:hover, +.resp_navigation.active, +.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li.active a, +.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li:hover a, +.widget_custom_testimonials_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li.active a, +.widget_custom_testimonials_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li:hover a, +.tp-bullets.simplebullets .bullet:hover, +.tp-bullets.simplebullets .bullet.selected, +#slide_top {background-color:#ff9108;} + +/* ---------------------------------------------- Headings Colors */ + +h1, +.post .entry-title a, +.post.format-link .entry-title a:hover {color:#565656;} + +h2 {color:#565656;} + +h3 {color:#565656;} + +h4 {color:#565656;} + +h5 {color:#565656;} + +h6, +.portfolio_inner .entry-title a {color:#565656;} + +.color_2, +q:before, +blockquote:before, +q, +blockquote, +.tog, +.tog:hover, +.tabs li a, +.tour li a {color:#565656;} + +/* ---------------------------------------------- Links Colors */ + +a, +.color_3, +.post footer .published, +.post .entry-title a:hover, +.post.format-link .entry-title a, +.cmsmsLike:hover span, +.portfolio_inner .entry-title a:hover {color:#ff9108;} + +ul.cmsms_slides_nav li.active a, +ul.cmsms_slides_nav li:hover a, +span.dropcap2, +.tog:hover .cmsms_plus, +.tog.current .cmsms_plus, +.tour li.current .cmsms_plus, +.tour li a:hover .cmsms_plus, +.cmsms_comments, +.wp-pagenavi > span.current, +.wp-pagenavi a:hover, +.portfolio_inner .hover_effect {background-color:#ff9108;} + +.tabs li a.current {background:#ff9108;} + +input[type="text"]:focus, +textarea:focus, +select:focus, +#bottom input:focus, +#bottom textarea:focus, +#bottom select:focus, +.tabs > li a.current, +.wp-pagenavi > span.current, +.wp-pagenavi a:hover { + border-color:#ff9108; +} + +/* ---------------------------------------------- Slider colors */ + +a.cmsms_close_video:hover {background-color:#ff9108;} + +.slideCaptionInnerBlock { + background:#000000; + background:rgba(0, 0, 0, .7); +} + +.responsiveSlider, +.responsiveSlider h1, +.responsiveSlider h2, +.responsiveSlider h3, +.responsiveSlider h4, +.responsiveSlider h5, +.responsiveSlider h6 {color:#ffffff;} + +.responsiveSlider h1 { + font-size:30px; + line-height:36px; +} + +/* ---------------------------------------------- Revolution Slider */ + +.fullwidthbanner h1 { + font:36px/36px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif; + color:#3a3a3a; +} + +.fullwidthbanner h2 { + font:800 36px/36px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif; + color:#3a3a3a; +} + +.fullwidthbanner h3 {font:800 72px/72px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif;} + +/* ---------------------------------------------- Bottom and Footer Colors */ + +#bottom, +#bottom a:hover {color:#817e75;} + +#bottom h1 {color:#ffffff;} + +#bottom h2 {color:#ffffff;} + +#bottom h3 {color:#ffffff;} + +#bottom h4 {color:#ffffff;} + +#bottom h5 {color:#ffffff;} + +#bottom h6 {color:#ffffff;} + +#bottom .color_2 {color:#ffffff;} + +#footer, +#footer a {color:#808080;} + + +/* ---------- Small Monitor (Note: Design for a width less than 1024px) ---------- */ + +@media only screen and (max-width: 1023px) { + + .responsiveSlider h1 { + font-size:1.5em; + line-height:1.2em; + } + + .portfolio_inner .hover_effect .post_category a {font-size:.9em;} + + .portfolio_inner .hover_effect .entry-title {font-size:1.1em;} + +} + +/* ---------- Small Tablet & Mobile (Note: Design for a width less than 541px) ---------- */ + +@media only screen and (max-width: 540px) { + + .responsibe_block_inner {border-color:#ff9108;} + + #navigation > li > ul {background:none;} + + #navigation > li > a, + #navigation ul li a{ + background-color:#ffffff; + color:#3c3c3c; + font-weight:normal; + font-style:italic; + } + + #navigation ul li.current_page_item a, + #navigation ul li a:hover, + #navigation ul li:hover > a { + background-color:#fcfcfc; + color:#3c3c3c; + } + +} \ No newline at end of file diff --git a/content/css/_jquery_prettyphoto.scss b/content/css/_jquery_prettyphoto.scss new file mode 100644 index 0000000..a5d6ae5 --- /dev/null +++ b/content/css/_jquery_prettyphoto.scss @@ -0,0 +1 @@ +div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}div.pp_default .pp_top .pp_left{background:url(../../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat}div.pp_default .pp_top .pp_middle{background:url(../../images/prettyPhoto/default/sprite_x.png) top left repeat-x}div.pp_default .pp_top .pp_right{background:url(../../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat}div.pp_default .pp_content .ppt{color:#f8f8f8}div.pp_default .pp_content_container .pp_left{background:url(../../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}div.pp_default .pp_content_container .pp_right{background:url(../../images/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px}div.pp_default .pp_next:hover{background:url(../../images/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer}div.pp_default .pp_previous:hover{background:url(../../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer}div.pp_default .pp_expand{background:url(../../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}div.pp_default .pp_expand:hover{background:url(../../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer}div.pp_default .pp_contract{background:url(../../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}div.pp_default .pp_contract:hover{background:url(../../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer}div.pp_default .pp_close{width:30px;height:30px;background:url(../../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;cursor:pointer}div.pp_default .pp_gallery ul li a{background:url(../../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto}div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}div.pp_default .pp_content_container .pp_details{margin-top:5px}div.pp_default .pp_nav{clear:none;height:30px;width:105px;position:relative}div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;font-color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}div.pp_default .pp_bottom .pp_left{background:url(../../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat}div.pp_default .pp_bottom .pp_middle{background:url(../../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x}div.pp_default .pp_bottom .pp_right{background:url(../../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat}div.pp_default .pp_loaderIcon{background:url(../../images/prettyPhoto/default/loader.gif) center center no-repeat}div.light_rounded .pp_top .pp_left{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}div.light_rounded .pp_top .pp_right{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}div.light_rounded .pp_next:hover{background:url(../../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}div.light_rounded .pp_previous:hover{background:url(../../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}div.light_rounded .pp_expand{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}div.light_rounded .pp_expand:hover{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}div.light_rounded .pp_contract{background:url(../../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}div.light_rounded .pp_contract:hover{background:url(../../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}div.light_rounded .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}div.light_rounded .pp_nav .pp_play{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.light_rounded .pp_nav .pp_pause{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.light_rounded .pp_arrow_previous{background:url(../../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat}div.light_rounded .pp_arrow_next{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat}div.light_rounded .pp_bottom .pp_left{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat}div.light_rounded .pp_bottom .pp_right{background:url(../../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat}div.dark_rounded .pp_top .pp_left{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat}div.dark_rounded .pp_top .pp_right{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat}div.dark_rounded .pp_content_container .pp_left{background:url(../../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y}div.dark_rounded .pp_content_container .pp_right{background:url(../../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y}div.dark_rounded .pp_next:hover{background:url(../../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;cursor:pointer}div.dark_rounded .pp_previous:hover{background:url(../../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}div.dark_rounded .pp_expand{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}div.dark_rounded .pp_expand:hover{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}div.dark_rounded .pp_contract{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}div.dark_rounded .pp_contract:hover{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}div.dark_rounded .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}div.dark_rounded .pp_description{margin-right:85px;color:#fff}div.dark_rounded .pp_nav .pp_play{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.dark_rounded .pp_nav .pp_pause{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.dark_rounded .pp_arrow_previous{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat}div.dark_rounded .pp_arrow_next{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat}div.dark_rounded .pp_bottom .pp_left{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat}div.dark_rounded .pp_bottom .pp_right{background:url(../../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat}div.dark_rounded .pp_loaderIcon{background:url(../../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat}div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square .pp_right,div.dark_square .pp_content{background:#000}div.dark_square .pp_description{color:#fff;margin:0 85px 0 0}div.dark_square .pp_loaderIcon{background:url(../../images/prettyPhoto/dark_square/loader.gif) center center no-repeat}div.dark_square .pp_expand{background:url(../../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;cursor:pointer}div.dark_square .pp_expand:hover{background:url(../../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;cursor:pointer}div.dark_square .pp_contract{background:url(../../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;cursor:pointer}div.dark_square .pp_contract:hover{background:url(../../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;cursor:pointer}div.dark_square .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;cursor:pointer}div.dark_square .pp_nav{clear:none}div.dark_square .pp_nav .pp_play{background:url(../../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.dark_square .pp_nav .pp_pause{background:url(../../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.dark_square .pp_arrow_previous{background:url(../../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat}div.dark_square .pp_arrow_next{background:url(../../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat}div.dark_square .pp_next:hover{background:url(../../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat;cursor:pointer}div.dark_square .pp_previous:hover{background:url(../../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;cursor:pointer}div.light_square .pp_expand{background:url(../../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;cursor:pointer}div.light_square .pp_expand:hover{background:url(../../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;cursor:pointer}div.light_square .pp_contract{background:url(../../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;cursor:pointer}div.light_square .pp_contract:hover{background:url(../../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;cursor:pointer}div.light_square .pp_close{width:75px;height:22px;background:url(../../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;cursor:pointer}div.light_square .pp_nav .pp_play{background:url(../../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.light_square .pp_nav .pp_pause{background:url(../../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.light_square .pp_arrow_previous{background:url(../../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat}div.light_square .pp_arrow_next{background:url(../../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat}div.light_square .pp_next:hover{background:url(../../images/prettyPhoto/light_square/btnNext.png) center right no-repeat;cursor:pointer}div.light_square .pp_previous:hover{background:url(../../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;cursor:pointer}div.facebook .pp_top .pp_left{background:url(../../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat}div.facebook .pp_top .pp_middle{background:url(../../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x}div.facebook .pp_top .pp_right{background:url(../../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat}div.facebook .pp_content_container .pp_left{background:url(../../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y}div.facebook .pp_content_container .pp_right{background:url(../../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y}div.facebook .pp_expand{background:url(../../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;cursor:pointer}div.facebook .pp_expand:hover{background:url(../../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;cursor:pointer}div.facebook .pp_contract{background:url(../../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;cursor:pointer}div.facebook .pp_contract:hover{background:url(../../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;cursor:pointer}div.facebook .pp_close{width:22px;height:22px;background:url(../../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;cursor:pointer}div.facebook .pp_description{margin:0 37px 0 0}div.facebook .pp_loaderIcon{background:url(../../images/prettyPhoto/facebook/loader.gif) center center no-repeat}div.facebook .pp_arrow_previous{background:url(../../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;height:22px;margin-top:0;width:22px}div.facebook .pp_arrow_previous.disabled{background-position:0 -96px;cursor:default}div.facebook .pp_arrow_next{background:url(../../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;height:22px;margin-top:0;width:22px}div.facebook .pp_arrow_next.disabled{background-position:-32px -96px;cursor:default}div.facebook .pp_nav{margin-top:0}div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px}div.facebook .pp_nav .pp_play{background:url(../../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;height:22px;width:22px}div.facebook .pp_nav .pp_pause{background:url(../../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;height:22px;width:22px}div.facebook .pp_next:hover{background:url(../../images/prettyPhoto/facebook/btnNext.png) center right no-repeat;cursor:pointer}div.facebook .pp_previous:hover{background:url(../../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;cursor:pointer}div.facebook .pp_bottom .pp_left{background:url(../../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat}div.facebook .pp_bottom .pp_middle{background:url(../../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x}div.facebook .pp_bottom .pp_right{background:url(../../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat}div.pp_pic_holder a:focus{outline:none}div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}.pp_content{height:40px;min-width:40px}* html .pp_content{width:40px}.pp_content_container{position:relative;text-align:left;width:100%}.pp_content_container .pp_left{padding-left:20px}.pp_content_container .pp_right{padding-right:20px}.pp_content_container .pp_details{float:left;margin:10px 0 2px}.pp_description{display:none;margin:0}.pp_social{float:left;margin:7px 0 0}.pp_social .facebook{float:left;position:relative;top:-1px;margin-left:5px;width:55px;overflow:hidden}.pp_social .twitter{float:left}.pp_nav{clear:right;float:left;margin:3px 10px 0 0}.pp_nav p{float:left;margin:2px 4px}.pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}.pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}.pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}.pp_gallery div{float:left;overflow:hidden;position:relative}.pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0}.pp_gallery ul a{border:1px rgba(0,0,0,0.5) solid;display:block;float:left;height:33px;overflow:hidden}.pp_gallery ul a img{border:0}.pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}.pp_gallery li.default a{background:url(../../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;display:block;height:33px;width:50px}.pp_gallery .pp_arrow_previous,.pp_gallery .pp_arrow_next{margin-top:7px!important}a.pp_next{background:url(../../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%}a.pp_previous{background:url(../../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%}a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}a.pp_close{position:absolute;right:0;top:0;display:block;line-height:22px;text-indent:-10000px}.pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px 0 0 -12px}#pp_full_res{line-height:1!important}#pp_full_res .pp_inline{text-align:left}#pp_full_res .pp_inline p{margin:0 0 15px}div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px 15px}div.pp_default .pp_content,div.light_rounded .pp_content{background-color:#f8f8f8;}div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.facebook #pp_full_res .pp_inline{color:#000}div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected a{border-color:#fff}div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded .pp_details,div.dark_square .pp_details,div.light_square .pp_details,div.facebook .pp_details{position:relative}div.light_rounded .pp_top .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right,div.light_square .pp_content,div.facebook .pp_content{background:#fff}div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px}div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next{margin-top:12px!important}div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}div.light_rounded .pp_arrow_next.disabled,div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat}div.dark_rounded .pp_top .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_bottom .pp_middle{background:url(../../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat}div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4}div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff}.pp_top,.pp_bottom{height:20px;position:relative}* html .pp_top,* html .pp_bottom{padding:0 20px}.pp_top .pp_left,.pp_bottom .pp_left{height:20px;left:0;position:absolute;width:20px}.pp_top .pp_middle,.pp_bottom .pp_middle{height:20px;left:20px;position:absolute;right:20px}* html .pp_top .pp_middle,* html .pp_bottom .pp_middle{left:0;position:static}.pp_top .pp_right,.pp_bottom .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}.pp_fade,.pp_gallery li.default a img{display:none} \ No newline at end of file diff --git a/content/css/_main.scss b/content/css/_main.scss index f39236c..c88c1f2 100644 --- a/content/css/_main.scss +++ b/content/css/_main.scss @@ -1,60 +1,3 @@ body { - @include background(linear-gradient(red, green) left repeat); - color: white; - font-weight: bold; -} - -h1, h2, h3 { - text-shadow: 1px 1px 2px #9af; -} - -#content > h1 { - overflow: auto; - img { - border: 1px solid #888; - margin-right: 0.5em; - float: left; - } -} - -p, li { - text-shadow: 1px 1px black; -} - -a, a:link, a:visited { - color: #9af; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -#content { - position: absolute; - - top: 40px; - left: 300px; - margin-right: 100px; - - border-left: 3px solid #888; - padding-left: 40px; -} - -#sidebar { - position: absolute; - - top: 40px; - left: 20px; - width: 260px; - - padding: 20px 20px 0 0; - - text-align: right; -} - -#sidebar ul { - list-style-type: none; - - margin: 20px 0; + font: 14px/20px "Open Sans", Helvetica, "Nimbus Sans L", sans-serif; } \ No newline at end of file diff --git a/content/css/_normalize.scss b/content/css/_normalize.scss deleted file mode 100644 index 4617600..0000000 --- a/content/css/_normalize.scss +++ /dev/null @@ -1,504 +0,0 @@ -/*! normalize.css v1.0.2 | MIT License | git.io/normalize */ - -/* ========================================================================== - HTML5 display definitions - ========================================================================== */ - -/* - * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section, -summary { - display: block; -} - -/* - * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/* - * Prevents modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/* - * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3, - * and Safari 4. - * Known issue: no IE 6 support. - */ - -[hidden] { - display: none; -} - -/* ========================================================================== - Base - ========================================================================== */ - -/* - * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using - * `em` units. - * 2. Prevents iOS text size adjust after orientation change, without disabling - * user zoom. - */ - -html { - font-size: 100%; /* 1 */ - -webkit-text-size-adjust: 100%; /* 2 */ - -ms-text-size-adjust: 100%; /* 2 */ -} - -/* - * Addresses `font-family` inconsistency between `textarea` and other form - * elements. - */ - -html, -button, -input, -select, -textarea { - font-family: sans-serif; -} - -/* - * Addresses margins handled incorrectly in IE 6/7. - */ - -body { - margin: 0; -} - -/* ========================================================================== - Links - ========================================================================== */ - -/* - * Addresses `outline` inconsistency between Chrome and other browsers. - */ - -a:focus { - outline: thin dotted; -} - -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ - -a:active, -a:hover { - outline: 0; -} - -/* ========================================================================== - Typography - ========================================================================== */ - -/* - * Addresses font sizes and margins set differently in IE 6/7. - * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, - * and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -h2 { - font-size: 1.5em; - margin: 0.83em 0; -} - -h3 { - font-size: 1.17em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -/* - * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. - */ - -abbr[title] { - border-bottom: 1px dotted; -} - -/* - * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -blockquote { - margin: 1em 40px; -} - -/* - * Addresses styling not present in Safari 5 and Chrome. - */ - -dfn { - font-style: italic; -} - -/* - * Addresses styling not present in IE 6/7/8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/* - * Addresses margins set differently in IE 6/7. - */ - -p, -pre { - margin: 1em 0; -} - -/* - * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - _font-family: 'courier new', monospace; - font-size: 1em; -} - -/* - * Improves readability of pre-formatted text in all browsers. - */ - -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -/* - * Addresses CSS quotes not supported in IE 6/7. - */ - -q { - quotes: none; -} - -/* - * Addresses `quotes` property not supported in Safari 4. - */ - -q:before, -q:after { - content: ''; - content: none; -} - -/* - * Addresses inconsistent and variable font size in all browsers. - */ - -small { - font-size: 80%; -} - -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ========================================================================== - Lists - ========================================================================== */ - -/* - * Addresses margins set differently in IE 6/7. - */ - -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -/* - * Addresses paddings set differently in IE 6/7. - */ - -menu, -ol, -ul { - padding: 0 0 0 40px; -} - -/* - * Corrects list images handled incorrectly in IE 7. - */ - -nav ul, -nav ol { - list-style: none; - list-style-image: none; -} - -/* ========================================================================== - Embedded content - ========================================================================== */ - -/* - * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3. - * 2. Improves image quality when scaled in IE 7. - */ - -img { - border: 0; /* 1 */ - -ms-interpolation-mode: bicubic; /* 2 */ -} - -/* - * Corrects overflow displayed oddly in IE 9. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* ========================================================================== - Figures - ========================================================================== */ - -/* - * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. - */ - -figure { - margin: 0; -} - -/* ========================================================================== - Forms - ========================================================================== */ - -/* - * Corrects margin displayed oddly in IE 6/7. - */ - -form { - margin: 0; -} - -/* - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/* - * 1. Corrects color not being inherited in IE 6/7/8/9. - * 2. Corrects text not wrapping in Firefox 3. - * 3. Corrects alignment displayed oddly in IE 6/7. - */ - -legend { - border: 0; /* 1 */ - padding: 0; - white-space: normal; /* 2 */ - *margin-left: -7px; /* 3 */ -} - -/* - * 1. Corrects font size not being inherited in all browsers. - * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, - * and Chrome. - * 3. Improves appearance and consistency in all browsers. - */ - -button, -input, -select, -textarea { - font-size: 100%; /* 1 */ - margin: 0; /* 2 */ - vertical-align: baseline; /* 3 */ - *vertical-align: middle; /* 3 */ -} - -/* - * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -button, -input { - line-height: normal; -} - -/* - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Corrects inability to style clickable `input` types in iOS. - * 3. Improves usability and consistency of cursor style between image-type - * `input` and others. - * 4. Removes inner spacing in IE 7 without affecting normal text inputs. - * Known issue: inner spacing remains in IE 6. - */ - -button, -html input[type="button"], /* 1 */ -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ - *overflow: visible; /* 4 */ -} - -/* - * Re-set default cursor for disabled elements. - */ - -button[disabled], -input[disabled] { - cursor: default; -} - -/* - * 1. Addresses box sizing set to content-box in IE 8/9. - * 2. Removes excess padding in IE 8/9. - * 3. Removes excess padding in IE 7. - * Known issue: excess padding remains in IE 6. - */ - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ - *height: 13px; /* 3 */ - *width: 13px; /* 3 */ -} - -/* - * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. - * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome - * (include `-moz` to future-proof). - */ - -input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ - box-sizing: content-box; -} - -/* - * Removes inner padding and search cancel button in Safari 5 and Chrome - * on OS X. - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* - * Removes inner padding and border in Firefox 3+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/* - * 1. Removes default vertical scrollbar in IE 6/7/8/9. - * 2. Improves readability and alignment in all browsers. - */ - -textarea { - overflow: auto; /* 1 */ - vertical-align: top; /* 2 */ -} - -/* ========================================================================== - Tables - ========================================================================== */ - -/* - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} \ No newline at end of file diff --git a/content/css/_willbridge.scss b/content/css/_willbridge.scss new file mode 100644 index 0000000..54da3b6 --- /dev/null +++ b/content/css/_willbridge.scss @@ -0,0 +1,3879 @@ +/* +Template Name: Willbridge HTML +Template URI: http://willbridge-html.cmsmasters.net/ +Author: cmsmasters +Author URI: http://cmsmasters.net/ +Description: The Willbridge Responsive HTML5 Site Template. +Version: 1.0 +License: +License URI: +Tags: light, white, one-column, two-columns, left-sidebar, right-sidebar, custom-colors, post-formats, responsive, html5, css3 +*/ + +html, body, #page {height:100%;} + +body { + background:url(../images/bgs/01.jpg) repeat-x 50% 0; + text-align:left; + margin:0; + padding:0; +} + +header, +footer, +article, +section, +nav, +figure, +address, +hgroup, +abbr, +figcaption, +aside { + margin:0; + padding:0; + display:block; +} + +abbr {border:none;} + +address {font-style:normal;} + +a { + outline:none; + text-decoration:none; + cursor:pointer; + -webkit-transition:color .2s ease-out; + -moz-transition:color .2s ease-out; + -ms-transition:color .2s ease-out; + -o-transition:color .2s ease-out; + transition:color .2s ease-out; +} + +p { + margin:0; + padding:0 0 18px; +} + +table { + padding:0; + margin:0; + border-collapse:collapse; +} + +td, +th, +tr { + padding:0; + margin:0; +} + +ol, +ul, +li, +dl, +dt, +dd { + padding:0; + margin:0; +} + +ol, +ul {margin:0 0 18px;} + +ol {list-style-position:inside;} + +ol li {line-height:24px;} + +ul {list-style:inside url(../images/arrow_list.png);} + +li {line-height:24px;} + +img { + padding:0; + border:0; +} + +a img { + border:0; + display:block; +} + +.fullwidth { + display:block; + min-width:100%; + max-width:100%; +} + +img.fullwidth { + image-rendering:optimizeQuality; + -ms-interpolation-mode:bicubic; +} + +.preloader { + background:url(../images/loader.gif) 50% 50% no-repeat; + display:block; + width:100%; + height:0; + padding-bottom:56.25%; + position:relative; +} + +.resizable_block { + width:100%; + height:0; + padding-bottom:56.25%; + position:relative; + overflow:hidden; +} + +.preloader .fullwidth, +.portfolio_container .preloader .fullwidth, +.resize .preloader .fullwidth, +.resizable_block .fullwidth { + width:100%; + height:100%; + position:absolute; + top:0; + left:0; +} + +div { + text-align:left; + margin:0; + padding:0; +} + +blockquote, +input, +textarea { + padding:0; + margin:0; +} + +object, +video, +audio, +embed, +canvas {display:block;} + +form { + border:none; + margin:0; + padding:0; +} + +fieldset { + border:0; + margin:0; + padding:0; +} + +label { + display:block; + margin:0; + padding:0; +} + +input { + border:0; + background:none; + outline:none; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; +} + +textarea { + background:none; + border:0; + min-height:260px; + overflow:hidden; + outline:none; + resize:none; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin:0 0 18px; + padding:0; +} + +.cl {clear:both;} + +.ovh {overflow:hidden;} + +.fl {float:left;} + +.fr {float:right;} + +#page { + height:auto; + min-height:100%; + margin:0 auto; + position:relative; +} + +.container {padding-bottom:70px;} + + +/* ---------- Header ---------- */ + +#header { + width:980px; + margin:0 auto; + position:relative; +} + +.header_inner { + height:117px; + overflow:hidden; + position:relative; +} + +.custom_html { + position:absolute; + left:193px; + top:48px; +} + +.logo { + display:inline-block; + position:absolute; + left:0; + top:32px; +} + +.responsibe_block, +.responsibe_block .social_list {display:none;} + +.header_inner .social_list { + position:absolute; + top:50px; + right:27px; +} + +.social_list {margin:0;} + +.social_list li { + list-style:none; + float:left; + margin:0; + padding-right:1px; +} + +.social_list li a img { + -webkit-transition:opacity .3s ease-out; + -moz-transition:opacity .3s ease-out; + -ms-transition:opacity .3s ease-out; + -o-transition:opacity .3s ease-out; + transition:opacity .3s ease-out; +} + +.social_list li a:hover img { + opacity:.6; + filter:alpha(opacity=60); +} + +/* ---------- Navigation ---------- */ + +#header .nav_wrap { + height:66px; + position:relative; + top:-6px; +} + +.touch_dev .nav_wrap_inner.navi_scrolled { + background:none; + position:relative; + top:0; + opacity:1; + width:auto; +} + +.touch_dev .navi_scrolled nav {width:auto;} + +.nav_wrap_inner.navi_scrolled { + background:url(../images/bg_sharp.png) repeat 0 0; + position:fixed; + left:0; + top:-60px; + width:100%; + opacity:0; + z-index:201; +} + +.navi_scrolled nav { + width:980px; + margin:0 auto; +} + +.navi_scrolled #navigation > li:first-child > a, +.navi_scrolled #navigation > li:last-child > a, +.navi_scrolled #navigation > li:first-child > a > span, +.navi_scrolled #navigation > li:last-child > a > span { + border-radius:0; + -moz-border-radius:0; + -webkit-border-radius:0; +} + +.navi_scrolled #navigation > li > a {margin-top:0;} + +.navi_scrolled #navigation > li.current_page_item > a > span, +.navi_scrolled #navigation > li:hover > a > span, +.navi_scrolled #navigation > li > a:hover > span {padding-top:15px;} + +.navi_scrolled #navigation > li > ul {top:60px;} + +.navi_scrolled #navigation > li:last-child > a {border-right:1px solid #1d1d1d;} + +.navi_scrolled #navigation > li:last-child > a > span { + -webkit-box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; + -moz-box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; + box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; +} + +.navi_scrolled #navigation > li:first-child > a {border-left:1px solid #1d1d1d;} + +.navi_scrolled #navigation > li > a { + border-left:1px solid #1d1d1d; + -webkit-box-shadow:-1px 0 0 rgba(255, 255, 255, .1); + -moz-box-shadow:-1px 0 0 rgba(255, 255, 255, .1); + box-shadow:-1px 0 0 rgba(255, 255, 255, .1); +} + +#header nav {position:relative;} + +#navigation, +#navigation ul { + margin:0; + padding:0; + list-style:none; +} + +#navigation:after {clear:both;} + +#navigation { + width:100%; + display:table; + z-index:202; + zoom:1; +} + +#navigation li { + line-height:20px; + padding-left:0; + margin:0 0 0 30px; + position:relative; + z-index:203; +} + +#navigation a {z-index:204;} + +#navigation > li > a, +.touch_dev #navigation > li > a { + border-left:1px solid #1d1d1d; + display:block; + padding-bottom:12px; + margin-top:6px; + -webkit-box-shadow:-1px 1px 0 rgba(0, 0, 0, .1) inset; + -moz-box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; + box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; +} + +#navigation > li { + display:block; + width:20%; + float:left; + vertical-align:top; + margin:0; +} + +#navigation > li:first-child > a, +.touch_dev #navigation > li:first-child > a { + border-left:none; + border-radius:5px 0 0 5px; + -moz-border-radius:5px 0 0 5px; + -webkit-border-radius:5px 0 0 5px; +} + +#navigation > li:last-child > a, +.touch_dev #navigation > li:last-child > a { + border-radius:0 5px 5px 0; + -moz-border-radius:0 5px 5px 0; + -webkit-border-radius:0 5px 5px 0; +} + +#navigation > li:first-child > a > span, +.touch_dev #navigation > li:first-child > a > span { + border-radius:5px 0 0 0; + -moz-border-radius:5px 0 0 0; + -webkit-border-radius:5px 0 0 0; +} + +#navigation > li:last-child > a > span, +.touch_dev #navigation > li:last-child > a > span { + border-radius:0 5px 0 0; + -moz-border-radius:0 5px 0 0; + -webkit-border-radius:0 5px 0 0; +} + +#navigation > li > a > span { + background:#363636 url(../images/bg_sharp.png) repeat 0 0; + border-bottom:2px solid; + text-shadow:0 1px 0 rgba(0, 0, 0, .5); + display:block; + padding:15px 20px 11px; + -webkit-box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; + -moz-box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; + box-shadow:-1px 0 0 rgba(255, 255, 255, .1) inset; +} + +#navigation > li:last-child > a > span { + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; +} + +.touch_dev #navigation > li.current_page_item > a > span, +#navigation > li.current_page_item > a > span, +#navigation > li:hover > a > span, +#navigation > li > a:hover > span { + background-color:#1e1e1e; + padding-top:21px; +} + +#navigation > li.current_page_item > a, +#navigation > li > a:hover, +#navigation > li:hover > a { + background-color:#212121; + margin-top:0; +} + +#navigation ul { + width:100%; + padding:0; + margin:20px 0 0 0; + opacity:0; + visibility:hidden; + position:absolute; + z-index:9998; + -webkit-transition:opacity .2s ease-in-out, margin .2s ease-in-out; + -moz-transition:opacity .2s ease-in-out, margin .2s ease-in-out; + -ms-transition:opacity .2s ease-in-out, margin .2s ease-in-out; + -o-transition:opacity .2s ease-in-out, margin .2s ease-in-out; + transition:opacity .2s ease-in-out, margin .2s ease-in-out; +} + +#navigation > li > ul { + background-image:url(../images/bg_sharp.png); + background-repeat:repeat; + background-position:0 0; + padding-bottom:10px; + top:66px; + -webkit-box-shadow:0 -1px 0 rgba(255, 255, 255, 0.1) inset; + -moz-box-shadow:0 -1px 0 rgba(255, 255, 255, 0.1) inset; + box-shadow:0 -1px 0 rgba(255, 255, 255, 0.1) inset; +} + +#navigation li:hover > ul { + opacity:1; + visibility:visible; + margin:0; +} + +#navigation ul ul { + margin:0 0 0 20px; + left:100%; + top:-1px; + z-index:9999; +} + +#navigation ul li { + display:block; + padding:0; + margin:0; + float:none; +} + +#navigation ul li:first-child > a {border-top:1px solid #1d1d1d;} + +#navigation ul li a span { + text-shadow:0 1px 0 rgba(0, 0, 0, .4); + display:block; +} + +#navigation ul li.drop > a span { + background:url(../images/arrow_navi.png) no-repeat right -35px; + padding-right:9px; +} + +#navigation ul li.drop:hover > a > span, +#navigation ul li.drop > a:hover > span, +#navigation ul li.current_page_item.drop > a > span {background-position:right 5px;} + +#navigation ul li a { + border-bottom:1px solid #1d1d1d; + font-size:13px; + line-height:20px; + display:block; + float:none; + padding:9px 8px 10px 20px; +} + +#navigation > li > ul > li:last-child {border-bottom:1px solid rgba(255, 255, 255, .1);} + +#navigation ul ul li a {margin-left:1px;} + +/* ---------- Top ---------- */ + +#top { + overflow:hidden; + border-radius:5px 5px 0 0; + -moz-border-radius:5px 5px 0 0; + -webkit-border-radius:5px 5px 0 0; +} + +#slider { + background:url(../images/loader.gif) no-repeat scroll 50% 50%; + list-style:none; + padding:0; + margin:0; + overflow:hidden; + position:relative; +} + + +/* ---------- Splash ---------- */ + +.splash { + background:#ffffff; +} + +.splash #header {z-index:999;} + +.splash #top { + position:absolute; + width:100%; + height:100%; + left:0; + top:0; +} + +.splash .responsiveSlider .cmsms_img {display:none !important;} + +.splash a.cmsms_next_slide {right:0;} + +.splash a.cmsms_prev_slide {right:32px;} + +.splash #top ul.cmsms_slides_nav {right:65px;} + +.splash .cmsms_nav_wrap_wrap {height:0;} + +.splash .cmsms_nav_wrap { + width:980px; + position:relative; + margin:0 auto; +} + +.splash .responsiveSlider > li { + background-repeat:no-repeat; + background-position:50% 50%; + background-size:cover; +} + +.splash #page { + height:auto; + padding-bottom:70px; +} + +.splash .cmsms_slider_parent, +.splash #slider { + padding-bottom:0; + height:100%; +} + +.splash .responsiveSlider .slideCaption.left, +.splash .responsiveSlider .slideCaption.right { + width:980px !important; + margin:0 auto; + right:auto !important; + position:relative; +} + +.splash .responsiveSlider .slideCaption > .slideCaptionInner {width:30% !important;} + +.splash .responsiveSlider .slideCaption.right > .slideCaptionInner { + right:0; + display: table-cell; + vertical-align: middle; +} + +.splash .responsiveSlider .slideCaption.right .splashCaption {float:right;} + +.splash .responsiveSlider .slideCaption.left .splashCaption {float:left;} + +.splashCaption {width:40%;} + +/* ---------- Top Sidebar ---------- */ + +#top_sidebar { + margin:0 20px; + position:relative; +} + +#top_sidebar .widget, +#top_sidebar .one_first {padding-bottom:0;} + + +/* ---------- Middle ---------- */ + +#middle { + background-color:#ffffff; + width:980px; + margin:27px auto 0; + position:relative; + border-radius:5px 5px 0 0; + -moz-border-radius:5px 5px 0 0; + -webkit-border-radius:5px 5px 0 0; +} + +#middle:before { + content:""; + position:absolute; + z-index:-2; + height:800px; + top:10px; + left:0; + right:0; + -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .05); + -moz-box-shadow:0 0 10px rgba(0, 0, 0, .05); + box-shadow:0 0 10px rgba(0, 0, 0, .05); + -webkit-border-radius:10px / 100px 100px 275px 275px; + -moz-border-radius:10px / 100px 100px 275px 275px; + border-radius:10px / 100px 100px 275px 275px; +} + +#middle_content { + padding:55px 0; + margin:0 auto; + position:relative; +} + +#slide_top { + background: url(../images/top_slide.png) no-repeat 21px 24px; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + bottom: 10px; + display: none; + opacity: 0.5; + position: fixed; + right: 10px; + z-index: 998; + height:50px; + width:50px; + text-indent:-9999px; + -webkit-transition:opacity .2s ease-in-out; + -moz-transition:opacity .2s ease-in-out; + -ms-transition:opacity .2s ease-in-out; + -o-transition:opacity .2s ease-in-out; + transition:opacity .2s ease-in-out; +} + +#slide_top:hover {opacity:1;} + +video {background-color:#000000;} + +.cont_nav { + width:980px; + padding:11px 20px 0; + margin:0 auto -19px; +} + +.cont_nav a {text-decoration:underline;} + +.cont_nav a:hover {text-decoration:none;} + +.cont_nav > a:first-child {padding-left:5px;} + +.headline { + border-bottom:2px solid #bbbbbb; + padding:20px 18px; +} + +.headline h2 {margin:4px 0 6px;} + +.headline table h2 {margin:0;} + +.headline table h6 {margin:-5px 0 0;} + +.headline img {margin:0 20px -10px 0;} + +.headline table td {vertical-align:middle;} + +.one_first { + width:100%; + padding-bottom:20px; +} + +.one_half { + width:48%; + float:left; + padding-bottom:20px; + padding-right:4%; +} + +.one_half.last { + width:48%; + float:right; + padding-right:0; +} + +.one_third { + width:30.6%; + float:left; + padding-bottom:20px; + padding-right:4%; +} + +.one_third.last { + width:30.6%; + float:right; + padding-right:0; +} + +.two_third { + width:65.2%; + float:left; + padding-bottom:20px; + padding-right:4%; +} + +.two_third.last { + width:65.2%; + float:right; + padding-right:0; +} + +.one_fourth { + width:22%; + float:left; + padding-bottom:20px; + padding-right:4%; +} + +.one_fourth.last { + width:22%; + float:right; + padding-right:0; +} + +.three_fourth { + width:74%; + float:left; + padding-bottom:20px; + padding-right:4%; +} + +.three_fourth.last { + width:74%; + float:right; + padding-right:0; +} + +.one_half+.one_half, +.one_third+.two_third, +.two_third+.one_third, +.one_third+.one_third+.one_third, +.one_fourth+.one_fourth+.one_half, +.one_fourth+.one_half+.one_fourth, +.one_half+.one_fourth+.one_fourth, +.one_fourth+.three_fourth, +.three_fourth+.one_fourth, +.one_fourth+.one_fourth+.one_fourth+.one_fourth { + float:right; + padding-right:0; +} + + +/* ---------- Content ---------- */ + +.content_wrap { + background:url(../images/content_sep.png) repeat-y 69% 0; + margin:0 20px; + position:relative; + overflow:hidden; +} + +.content_wrap.nobg {background:none;} + +.content_wrap.sidebar_left {background-position:31% 0;} + +.content_wrap.sidebar_left #content { + float:right; + padding:55px 0 55px 2%; +} + +.content_wrap.sidebar_left #sidebar {padding:55px 2% 55px 0;} + +#content { + width:67%; + float:left; + padding:55px 2% 55px 0; + position:relative; +} + +figure img {display:block;} + +.sitemap li, +.cms_archive li { + list-style:none; + line-height:30px; + padding-left:0; +} + +.sitemap {margin-bottom:0;} + +.sitemap ul, +.cms_archive ul {margin-bottom:0;} + +.sitemap > li { + border-bottom:1px solid #ebebeb; + width:100%; + padding-bottom:30px; + margin-bottom:30px; +} + +.sitemap > li:last-child { + border:none; + margin-bottom:0; +} + +.sitemap > li > ul { + overflow:hidden; + position:relative; + width:100%; + margin-top:20px; +} + +.sitemap > li > ul > li > ul {margin-top:15px;} + +.sitemap > li > ul > li { + float: left; + width: 25%; +} + +.sitemap > li > ul > li:nth-child(4n+1) {clear:both;} + +.cms_category { + list-style:none; + margin-bottom:40px; +} + +.cms_archive li { + width:25%; + float:left; + padding-bottom:30px; +} + +.cms_archive li:nth-child(4n+1) {clear:both;} + +.about_social { + background:url(../images/tog_divider.png) repeat-x 0 0; + list-style:none; + overflow:hidden; +} + +.about_social li { + float:left; + padding:12px 3px 0 0; +} + +/* ---------- Sidebar ---------- */ + +#sidebar { + width:29%; + padding:55px 0 55px 2%; + float:right; + position:relative; +} + +#sidebar .widget { + background:url(../images/divider.png) repeat-x 0 bottom; + padding:10px 0 20px; + overflow:hidden; +} + +#sidebar .widgettitle {margin-bottom:25px;} + +#sidebar > div:last-child .widget {background:none;} + +#sidebar .widget_custom_flickr_entries, +#sidebar .widget_custom_advertisement_entries {padding-bottom:5px;} + +#sidebar.fl {float:left;} + +#sidebar .one_half, +#sidebar .one_half.last, +#sidebar .one_third, +#sidebar .one_third.last, +#sidebar .two_third, +#sidebar .two_third.last, +#sidebar .one_fourth, +#sidebar .one_fourth.last, +#sidebar .three_fourth, +#sidebar .one_fourth.last { + width:auto; + float:none; + padding-right:0; +} + +#sidebar .one_half+.one_half, +#sidebar .one_third+.two_third, +#sidebar .two_third+.one_third, +#sidebar .one_third+.one_third+.one_third, +#sidebar .one_fourth+.one_fourth+.one_half, +#sidebar .one_fourth+.one_half+.one_fourth, +#sidebar .one_half+.one_fourth+.one_fourth, +#sidebar .one_fourth+.three_fourth, +#sidebar .three_fourth+.one_fourth, +#sidebar .one_fourth+.one_fourth+.one_fourth+.one_fourth {float:none;} + + +/* ---------- Middle Sidebar ---------- */ + +.middle_sidebar { + border-top:1px solid #ebebeb; + padding:35px 0 10px; + margin:0 20px; + position:relative; + overflow:hidden; +} + +.middle_sidebar .widgettitle {margin-bottom:30px;} + + +/* ---------- Shortcodes ---------- */ + +.alignleft { + float:left; + margin:0 20px 18px 0; +} + +.alignright { + float:right; + margin:0 0 18px 20px; +} + +.aligncenter { + text-align:center; + margin:0 auto; +} + +.wp-caption { + background-color:#ffffff; + border:1px solid #e3e3e3; + padding:4px; +} + +.wp-caption-text { + text-align:center; + padding:5px 0 0; +} + +.divider { + border-top:1px solid #ebebeb; + margin:18px 0 36px; + clear:both; +} + +.table { + width:100%; + margin-bottom:20px; +} + +.table thead th:first-child { + border-radius:5px 0 0 0; + -moz-border-radius:5px 0 0 0; + -webkit-border-radius:5px 0 0 0; +} + +.table thead th:last-child { + border-radius:0 5px 0 0; + -moz-border-radius:0 5px 0 0; + -webkit-border-radius:0 5px 0 0; +} + +.table td {padding:15px 0 15px 20px;} + +.table thead th { + background:#4f4f4f; + background:linear-gradient(#5d5d5d, #414141); + background:-moz-linear-gradient(#5d5d5d, #414141); + background:-webkit-gradient(linear, left top, left bottom, from(#5d5d5d), to(#414141)); + background:-o-linear-gradient(#5d5d5d, #414141); + background: -ms-linear-gradient(top, #5d5d5d 0%,#414141 100%); + color:#ffffff; + text-align:left; + padding:14px 0 15px 20px; +} + +.table tfoot td {padding:10px 0 10px 20px;} + +.table tbody tr:first-child td {background-image:none;} + +.table td { + background:#ffffff url(../images/resp_divider.png) repeat-x 0 0; +} + +span.dropcap { + float:left; + font-size:48px; + line-height:46px; + font-weight:800; + margin-top:3px; + padding:0 22px 0 9px; +} + +span.dropcap2 { + color:#ffffff; + font-size:32px; + font-weight:800; + line-height:52px; + text-align:center; + width:56px; + height:56px; + float:left; + margin-right:12px; + border-radius:28px; + -moz-border-radius:28px; + -webkit-border-radius:28px; +} + +q, +blockquote { + padding:0 0 20px 33px; + margin:0; + position:relative; + vertical-align:baseline; +} + +q:before, +blockquote:before { + font-size:28px; + content:'\201C'; + display:block; + padding:0; + position:absolute; + left:0; + top:5px; +} + +q:after, +blockquote:after {clear:both;} + +blockquote p, +q p {padding-bottom:0;} + +code { + border-radius: 3px; + padding: 2px 4px; + color: #d14; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; +} + +pre > code { + border-top:3px solid #565656; + background:#f4f5f6; + color: #444; + display:block; + padding:19px 20px 18px; + position:relative; + -webkit-box-shadow:0 1px 0 #ffffff inset; + -moz-box-shadow:0 1px 0 #ffffff inset; + box-shadow:0 1px 0 #ffffff inset; +} + +.cmsms_plus { + background:#555555; + display:block; + width:25px; + height:25px; + position:absolute; + top:50%; + left:0; + margin-top:-13px; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + -webkit-transition:background .2s ease-in-out; + -moz-transition:background .2s ease-in-out; + -ms-transition:background .2s ease-in-out; + -o-transition:background .2s ease-in-out; + transition:background .2s ease-in-out; +} + +.cmsms_plus .vert_line, +.cmsms_plus .horiz_line {background-color:#ffffff;} + +.cmsms_plus .vert_line { + display:block; + width:1px; + height:7px; + position:absolute; + left:12px; + top:9px; + z-index:2; +} + +.cmsms_plus .horiz_line { + display:block; + width:7px; + height:1px; + position:absolute; + left:9px; + top:12px; +} + +.togg, +.accordion .acc, +.tour li { + background:url(../images/tog_divider.png) repeat-x 0 100%; + overflow:hidden; + position:relative; +} + +.tog, +.tour li a { + font-style:italic; + font-size:14px; +} + +.togg .tog, +.accordion .tog, +.tour li a { + line-height:20px; + display:block; + padding:13px 0 13px 40px; + margin:0; + position:relative; +} + +.tog.current .cmsms_plus .vert_line {display:none;} + +.togg .tab_content, +.accordion .tab_content { + padding:13px 0 29px; + display:none; + overflow:hidden; +} + +.related_posts ul { + list-style:none; + overflow:hidden; +} + +.related_posts ul li { + margin-right:10px; + float:left; +} + +.related_posts_content .alignleft { + display:table-cell; + margin-bottom:0; +} + +.related_posts .one_half, +.related_posts .one_third { + display:table; + padding-bottom:12px; +} + +.tab { + margin-bottom:20px; + overflow:hidden; + position:relative; +} + +.tabs { + display:table; + width:100%; +} + +.tabs li { + line-height:20px; + padding-left:0; + display:table-cell; +} + +.tabs li {position:relative;} + +.tabs > li a { + border-top:1px solid #edeeef; + border-right:1px solid #e1e1e1; + font-size:14px; + font-style:italic; + display:block; + padding:15px 20px; + background:#edeeef; + background:linear-gradient(#f6f7f7, #edeeef); + background:-moz-linear-gradient(#f6f7f7, #edeeef); + background:-webkit-gradient(linear, left top, left bottom, from(#f6f7f7), to(#edeeef)); + background:-o-linear-gradient(#f6f7f7, #edeeef); + background: -ms-linear-gradient(top, #f6f7f7 0%,#edeeef 100%); + -webkit-box-shadow:-1px 0 0 #ffffff inset; + -moz-box-shadow:-1px 0 0 #ffffff inset; + box-shadow:-1px 0 0 #ffffff inset; +} + +.tabs > li:last-child a { + border-right:none; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; +} + +.tabs > li a.current { + color:#ffffff; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; +} + +.tabs > li a { + -webkit-transition:none; + -moz-transition:none; + -ms-transition:none; + -o-transition:none; + transition:none; +} + +.tab_content {width:100%;} + +.related_posts_content, +.tabs_tab, +.tabs { + overflow:hidden; + position:relative; +} + +.related_posts_content { + font-size:14px; + font-style:italic; + padding-top:22px; +} + +.related_posts_content h6 { + width:100%; + display:table-cell; + vertical-align:middle; + margin:0; +} + +.tabs_tab { + background-color:#ffffff; + display:none; + padding:30px 0; +} + +.google_map {margin-bottom:18px;} + +.tour_content { + overflow:hidden; + position:relative; + margin-bottom:20px; +} + +.tour { + background:url(../images/tog_divider.png) repeat-x 0 0; + list-style:none; + width:27%; + float:left; + margin:30px 0 0; +} + +.tour_shadow { + width:73%; + height:100%; + overflow:hidden; + position:absolute; + right:0; + top:0; + z-index:2; +} + +.tour_shadow:before { + content:''; + height:90%; + overflow:hidden; + position:absolute; + left:0; + top:15px; + z-index:2; + -webkit-box-shadow:0 0 7px 1px rgba(0, 0, 0, .2); + -moz-box-shadow:0 0 7px 1px rgba(0, 0, 0, .2); + box-shadow:0 0 7px 1px rgba(0, 0, 0, .2); +} + +.tour li { + background:url(../images/tog_divider.png) repeat-x 0 100%; + position:relative; + padding:5px 0 4px; +} + +.tour li a { + padding-top:8px; + padding-bottom:8px; + display:block; + position:relative; +} + +.tour .cmsms_plus {margin-top:-14px;} + +.tour li.current a .tour_title { + opacity:1; + filter:alpha(opacity=100); +} + +.tour li a .tour_title { + display:block; + opacity:.5; +} + +.tour_box { + width:70%; + float:right; + display:none; + overflow:hidden; + padding:25px 0 30px 3%; + position:relative; +} + + +/* ---------- Buttons ---------- */ + +.button, +.button_medium, +.button_large, +.comment-reply-link { + border:1px solid rgba(0, 0, 0, .15); + background-color:#ededed; + display:inline-block; + margin-bottom:5px; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + -webkit-box-shadow:0 1px 0 rgba(0, 0, 0, .1); + -moz-box-shadow:0 1px 0 rgba(0, 0, 0, .1); + box-shadow:0 1px 0 rgba(0, 0, 0, .1); +} + +.comment-reply-link {margin-bottom:2px;} + +.button > span, +.button_medium > span, +.button_large > span, +.comment-reply-link > span { + color:#565656; + line-height:30px; + text-transform:uppercase; + text-shadow:0 1px 0 rgba(255, 255, 255, .9); + display:block; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + -webkit-box-shadow:0 0 1px rgba(255, 255, 255, .7) inset; + -moz-box-shadow:0 0 1px rgba(255, 255, 255, .7) inset; + box-shadow:0 0 1px rgba(255, 255, 255, .7) inset; + -webkit-transition:box-shadow .2s ease-out, background .2s ease-out; + -moz-transition:box-shadow .2s ease-out, background .2s ease-out; + -ms-transition:box-shadow .2s ease-out, background .2s ease-out; + -o-transition:box-shadow .2s ease-out, background .2s ease-out; + transition:box-shadow .2s ease-out, background .2s ease-out; +} + +.related_posts li a.button.current > span, +.p_sort a.current[name="p_name"] > span, +.p_sort a.current[name="p_date"] > span, +.p_filter_container:hover .p_cat_filter > span, +.button:hover > span, +.button_medium:hover > span, +.button_large:hover > span, +.comment-reply-link:hover > span { + background:rgba(0, 0, 0, .1); + -webkit-box-shadow:0 0 5px rgba(0, 0, 0, .2) inset; + -moz-box-shadow:0 0 5px rgba(0, 0, 0, .2) inset; + box-shadow:0 0 5px rgba(0, 0, 0, .2) inset; +} + +.button > span, +.comment-reply-link > span { + background-image:url(../images/button.png); + background-repeat:repeat-x; + background-position:0 0; + font-size:14px; + font-weight:600; + padding:4px 22px; +} + +.comment-reply-link > span { + line-height:20px; + font-weight:normal; + font-style:italic; + text-transform:none; + padding:0 12px; +} + +.button_medium > span { + background:url(../images/button_medium.png) repeat-x 0 0; + font-size:22px; + padding:9px 23px; +} + +.button_large > span { + background:url(../images/button_large.png) repeat-x 0 0; + font-size:28px; + padding:14px 25px; +} + +.box {margin:0 0 20px;} + +.box table {width:100%;} + +.box table td p {padding:0 20px 0 0;} + +.box table td { + text-align:left; + padding:25px 0; +} + +.box table td:first-child {width:80px;} + +.error_box { + background:#f8d9cf; + background:rgba(255, 132, 89, .25); + border:1px solid #fac0ad; + border:1px solid rgba(255, 132, 89, .4); +} + +.warning_box { + background:#f5e5b8; + background:rgba(244, 177, 0, .25); + border:1px solid #ffd35a; + border:1px solid rgba(244, 177, 0, .4); +} + +.success_box { + background:#d9eecb; + background:rgba(129, 211, 72, .25); + border:1px solid #b3e68b; + border:1px solid rgba(129, 211, 72, .4); +} + +.notice_box { + background:#cde0f1; + background:rgba(90, 166, 234, .25); + border:1px solid #b3d6f7; + border:1px solid rgba(90, 166, 234, .4); +} + +.download_box { + background:#c5f1d1; + background:rgba(67, 242, 112, .25); + border:1px solid #9bd5a9; + border:1px solid rgba(67, 242, 112, .4); +} + +.box.error_box table td:first-child {background:url(../images/error.png) center center no-repeat;} + +.box.success_box table td:first-child {background:url(../images/success.png) center center no-repeat;} + +.box.notice_box table td:first-child {background:url(../images/notice.png) center center no-repeat;} + +.box.warning_box table td:first-child {background:url(../images/warning.png) center center no-repeat;} + +.box.download_box table td:first-child {background:url(../images/download.png) center center no-repeat;} + +.box.css_box { + border:1px solid #ececec; + border:1px solid rgba(0, 0, 0, .1); + padding:20px; +} + +.box.css_box p {padding:0;} + +.error { + text-align:center; + margin-bottom:50px; +} + +.error .search_line { + width:30%; + margin:105px auto 30px; + overflow:hidden; +} + +.error h1 { + font-size:240px; + line-height:1em; + margin-bottom:10px; +} + +.error h3 { + font-size:24px; + font-style:normal; +} + + +/* ---------- Widgets ---------- */ + +.widget_custom_colored_blocks_entries { + padding:0; + margin:0 -20px; +} + +.widget_colored { + border-left:1px solid #ebebeb; + border-bottom:1px solid #ebebeb; + display:table-cell; +} + +.widget_colored:first-child {border-left:none;} + +.widget_colored_inner {padding:26px 20px 20px;} + +.widget_colored.four_box {width:25%;} + +.widget_colored.three_box {width:33.3%;} + +.widget_colored.two_box {width:50%;} + +.widget_colored.one_box {width:100%;} + +.widget_colored .widgettitle { + border-bottom:2px solid; + padding-bottom:8px; + margin-bottom:35px; +} + +.widget_custom_popular_portfolio_entries figure {margin-bottom:13px;} + +.post_type_shortcode .cmsms_content_slider_parent > .responsiveContentSlider > li, +.widget_custom_popular_portfolio_entries .responsiveContentSlider > li, +.widget_custom_testimonials_entries .responsiveContentSlider > li { + padding-left:2px; + padding-right:2px; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; +} + +.cmsms_rounding, +.widget_custom_popular_portfolio_entries figure img { + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; +} + +.widget_custom_popular_portfolio_entries .cmsms_nav_wrap_wrap { + padding-top:21px; + height:12px; +} + +.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li a, +.widget_custom_testimonials_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li a {background-color:#817e75;} + +.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li, +.widget_custom_testimonials_entries .cmsms_content_slider_parent ul.cmsms_slides_nav li { + display:inline-block; + float:none; + vertical-align:top; +} + +.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent ul.cmsms_slides_nav, +.widget_custom_testimonials_entries .cmsms_content_slider_parent ul.cmsms_slides_nav { + text-align:center; + height:10px; + width:100%; + display:block; + position:absolute; + bottom:3px; + left:0; + float:none; +} + +.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent, +.widget_custom_testimonials_entries .cmsms_content_slider_parent {text-align:center;} + +.widget_custom_popular_portfolio_entries .responsiveContentSlider > li, +.widget_custom_testimonials_entries .responsiveContentSlider > li {padding-bottom:33px;} + +.widget_custom_popular_portfolio_entries a.cmsms_content_prev_slide span, +.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide span, +.widget_custom_testimonials_entries a.cmsms_content_prev_slide span, +.widget_custom_testimonials_entries a.cmsms_content_next_slide span, +.post_type_shortcode a.cmsms_content_next_slide span, +.post_type_shortcode a.cmsms_content_prev_slide span { + background:url(../images/arrow_popular_widget.png) no-repeat 0 0; + display:block; + width:8px; + height:12px; +} + +.post_type_shortcode a.cmsms_content_next_slide span, +.widget_custom_testimonials_entries a.cmsms_content_next_slide span, +.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide span {background-position:0 -22px;} + +.widget_custom_testimonials_entries ul.cmsms_slides_nav, +.widget_custom_popular_portfolio_entries ul.cmsms_slides_nav {background:none;} + +.post_type_shortcode, +.widget_custom_testimonials_entries_container { + overflow:hidden; + position:relative; +} + +.post_type_shortcode .one_fourth, +.post_type_shortcode .one_third, +.post_type_shortcode .one_half {padding-bottom:0;} + +.post_type_shortcode > h3 {padding:0 60px 15px 0;} + +.post_type_shortcode a.cmsms_content_next_slide, +.post_type_shortcode a.cmsms_content_prev_slide { + position:absolute; + top:17px; +} + +.post_type_shortcode a.cmsms_content_next_slide {right:12px;} + +.post_type_shortcode a.cmsms_content_prev_slide {right:43px;} + +.widget_custom_popular_portfolio_entries_container {position:relative;} + +.widget_custom_testimonials_entries a.cmsms_content_next_slide, +.widget_custom_testimonials_entries a.cmsms_content_prev_slide, +.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide, +.widget_custom_popular_portfolio_entries a.cmsms_content_prev_slide { + position:absolute; + right:0; + bottom:2px; + z-index:11; +} + +.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide, +.widget_custom_testimonials_entries a.cmsms_content_next_slide {right:10px;} + +.widget_custom_popular_portfolio_entries a.cmsms_content_prev_slide, +.widget_custom_testimonials_entries a.cmsms_content_prev_slide { + left:10px; + right:auto; +} + +.widget_custom_flickr_entries ul {overflow:hidden;} + +.widget_custom_flickr_entries li { + list-style:none; + float:left; + padding:0 8% 8% 0; +} + +.widget_custom_flickr_entries li a img, +.preloader .image_container_img { + -webkit-transition:opacity .3s ease-out; + -moz-transition:opacity .3s ease-out; + -ms-transition:opacity .3s ease-out; + -o-transition:opacity .3s ease-out; + transition:opacity .3s ease-out; +} + +.widget_custom_flickr_entries:hover a img {opacity:.6;} + +.widget_custom_flickr_entries:hover a:hover img {opacity:1;} + +.widget_custom_comments_entries .published {padding-top:3px;} + +.published { + color:#bfbfbf; + font-style:italic; +} + +.widget_custom_comments_entries ul {list-style:none;} + +.widget_custom_comments_entries li {padding-bottom:18px;} + +.widget_custom_comments_entries li:first-child {margin-top:-3px;} + +.widget_links li:first-child, +.cmsms_details > li:first-child { + background:none; + padding-top:0; +} + +.widget_links li, +.cmsms_details > li { + background:url(../images/tog_divider.png) repeat-x 0 0; + padding:9px 0 7px ; + overflow:hidden; +} + +.widget_custom_recent_entries li:first-child { + background:none; + padding-top:0; +} + +.widget_custom_recent_entries li { + background:url(../images/tog_divider.png) repeat-x 0 0; + list-style:none; + padding:17px 0 23px; +} + +.widget_custom_recent_entries li .published {padding:7px 0 9px;} + +.widget_custom_recent_entries li p {padding:0;} + +.widget_custom_tweets_entries li { + list-style:none; +} + +.widget_custom_tweets_entries abbr {padding:18px 10px 17px 4px;} + +.testimonials_text, +.jta-tweet-text { + border:1px solid #e6e6e6; + background-color:#ffffff; + padding:12px 12px 27px 12px; + position:relative; + border-radius:6px; + -moz-border-radius:6px; + -webkit-border-radius:6px; +} + +.testimonials_text:before, +.jta-tweet-text:before { + border-right: 12px solid transparent; + border-top: 12px solid #e6e6e6; + bottom: -13px; + content: ""; + height: 0; + left: 12px; + position: absolute; + width: 0; +} + +.testimonials_text:after, +.jta-tweet-text:after { + border-right:12px solid transparent; + border-top:12px solid #ffffff; + bottom:-11px; + content:""; + height:0; + left:13px; + position:absolute; + width:0; +} + +.testimonials_name { + display:block; + padding-top:18px; +} + +.testimonials_text p {padding-bottom:0;} + +.widget_custom_contact_form_entries .loading { + float:left; + margin-top:10px; +} + +.widget_custom_contact_form_entries .button {float:right;} + +.widget_custom_contact_form_entries textarea {min-height:130px;} + +.widget {padding-bottom:20px;} + +.widget ul {margin-bottom:0;} + +.widgetinfo { + border:1px solid #a8a8a8; + background:#f1f1f1; + text-align:center; + display:none; + padding:5px 10px; + margin:0 0 15px; + border-radius:4px; + -moz-border-radius:4px; + -webkit-border-radius:4px; +} + +.loader { + background:url(../images/loader.gif) center 0 no-repeat; + height:5px; + width:100%; + display:block; +} + +.search_line input[type="text"] { + float:left; + padding-right:32px; +} + +.search_line input[type="submit"] { + background:url(../images/icon_search.png) no-repeat 7px 10px; + width:32px; + height:32px; + float:left; + margin-left:-32px; + cursor:pointer; +} + + +/* ---------- Blog ---------- */ + +.blog .post { + border-bottom:1px solid #ebebeb; + margin-bottom:30px; +} + +.post { + padding-bottom:25px; + position:relative; +} + +.post footer { + position:relative; +} + +.cmsms_format { + background: url(../images/icon_format.png) no-repeat 0 1px; + float:left; + width:20px; + height:20px; + margin-right:68px; +} + +.post footer .published {display:inline;} + +.post .entry-content { + padding:25px 10px 0 100px; +} + +.post .more_button { + display:inline-block; + margin-top:5px; +} + +.atricle_box { + border:1px solid #dbdbdb; + font-style:italic; + font-size:12px; + padding:11px 70px 9px 10px; + position:relative; +} + +.format-aside .cmsms_format {background-position:0 -39px;} + +.format-audio .cmsms_format {background-position:0 -107px;} + +.format-image .cmsms_format {background-position:0 -130px;} + +.format-gallery .cmsms_format {background-position:2px -18px;} + +.format-link .cmsms_format {background-position:2px -84px;} + +.format-video .cmsms_format {background-position:0 -60px;} + +.format-quote .cmsms_format {background-position:0 -154px;} + +.blog .format-quote .entry-content p {padding-left:33px;} + +.cmsms_comments { + font-size:18px; + font-style:normal; + line-height:50px; + color:#ffffff; + text-align:center; + display:block; + width:40px; + height:50px; + position:absolute; + top:-1px; + right:20px; + z-index:99; +} + +.wp-pagenavi {overflow:hidden;} + +.wp-pagenavi a, +.wp-pagenavi > span { + border:1px solid; + line-height:23px; + text-align:center; + float:left; + margin-right:4px; + width:23px; + height:23px; +} + +.wp-pagenavi > span.current, +.wp-pagenavi a:hover, +.cmsms_comments:hover {color:#ffffff;} + +.wp-pagenavi a { + border-color:#dadada; + -webkit-transition:background-color 0.2s ease, border-color 0.2s ease; + -moz-transition:background-color 0.2s ease, border-color 0.2s ease; + -ms-transition:background-color 0.2s ease, border-color 0.2s ease; + -o-transition:background-color 0.2s ease, border-color 0.2s ease; + transition:background-color 0.2s ease, border-color 0.2s ease; +} + + +/* ---------- Open Post ---------- */ + +.project_navi, +.share_posts, +.about_author, +#commentform, +.related_posts { + border-top:1px solid #ebebeb; + overflow:hidden; + padding:25px 0 0; + margin:25px 0 0; +} + +.related_posts { + border-bottom:1px solid #ebebeb; + padding-bottom:25px; +} + +#comments {padding-top:25px;} + +#middle_content #comments, +#middle_content #commentform {width:67%;} + +.project_navi a[rel="next"] {float:right;} + +.about_author .alignleft, +.about_author p { + margin-bottom:0; + padding-bottom:0; +} + +.cmsms_share {margin:20px 0 1px;} + +.cmsms_social a { + display:inline-block; + padding:5px 10px 0 2px; +} + +.cmsmsLike { + background:url(../images/heart.png) no-repeat 4px 6px; + text-decoration:none; + display:block; + height:22px; + width:22px; + float:left; + margin:-1px 60px 3px 0; + border-radius:11px; + -moz-border-radius:11px; + -webkit-border-radius:11px; + -webkit-transition:background-color 0.2s ease; + -moz-transition:background-color 0.2s ease; + -ms-transition:background-color 0.2s ease; + -o-transition:background-color 0.2s ease; + transition:background-color 0.2s ease; +} + +.cmsmsLike span { + line-height:22px; + padding-left:34px; +} + +.cmsms_social { + display:none; + margin-top:25px; + overflow:hidden; +} + +.comment-body h6 { + float:left; + padding-left:3px; + margin:0; +} + +.comment-body .published { + font-size:11px; + padding:0 0 10px; +} + +.comment-reply-link { + float:right; +} + +.comment-body .alignleft img { + display:block; + margin-bottom:10px; +} + +.comment-body { + border:1px solid #dbdbdb; + padding:20px; + margin:0 0 20px; + overflow:hidden; + position:relative; +} + +.comment-content {overflow:hidden;} + +.commentlist { + padding-top:10px; + margin-bottom:30px; +} + +.commentlist li {list-style:none;} + +.commentlist ul li { + background:url(../images/comment_line.png) no-repeat 0 37px; + padding-left:40px; +} + +.commentlist ul { + border-left:1px solid #dbdbdb; + margin:0 0 0 20px; +} + +.comment-body p {padding-bottom:0;} + +#commentform label { + line-height:32px; + display:inline-block; + padding-left:20px; +} + + +/* ---------- Portfolio ---------- */ + +.portfolio_container { + margin-right:-4%; + position:relative; + overflow:visible !important; +} + +.portfolio .preloader {padding-bottom:80%;} + +.touch_dev .hover_effect {display:none;} + +.portfolio_inner .hover_effect, +.portfolio_inner .hover_effect .entry-title a, +.portfolio_inner .hover_effect .post_category a:hover {color:#ffffff;} + +.portfolio_inner .hover_effect .post_category, +.portfolio_inner .hover_effect .post_category a, +.portfolio_inner .hover_effect .entry-title a:hover {color:#000000;} + +.portfolio .cmsms_content_slider_parent, +.portfolio .responsiveContentSlider {padding-bottom:80%;} + +.portfolio_inner .hover_effect .post_category { + width:100%; + padding:0 20px; + position:absolute; + bottom:15px; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; +} + +.portfolio_inner .hover_effect .post_category, +.hover_effect_links, +.portfolio_inner .hover_effect .entry-content {text-align:center;} + +.cmsms_link, +.cmsms_imagelink { + display:inline-block; + width:42px; + height:42px; + margin:0 3px; +} + +.cmsms_link {background:url(../images/effect_link.png) no-repeat 0 0;} + +.cmsms_imagelink {background:url(../images/effect_image.png) no-repeat 0 0;} + +.format-video .cmsms_imagelink {background:url(../images/effect_video.png) no-repeat 0 0;} + +.portfolio_inner { + background-color:#ffffff; + position:relative; + overflow:hidden; +} + +.portfolio_inner_box {border:1px solid #dadada;} + +.portfolio_container .format-video .portfolio_inner .cmsms_media { + height:0; + padding-bottom:80%; +} + +.portfolio_inner .hover_effect .entry-title {margin:20px 10px;} + +.portfolio_inner .hover_effect .hover_effect_links { + position:absolute; + top:50%; + margin-top:-21px; + width:100%; +} + +.portfolio_inner .hover_effect .entry-title, +.portfolio_inner .hover_effect .cmsms_link, +.portfolio_inner .hover_effect .cmsms_imagelink, +.portfolio_inner .hover_effect .post_category { + -webkit-transform:translateY(-100%); + -moz-transform:translateY(-100%); + -o-transform:translateY(-100%); + -ms-transform: translateY(-100%); + transform:translateY(-100%); + -webkit-transition: all 0.2s ease-in-out 0.2s; + -moz-transition: all 0.2s ease-in-out 0.2s; + -o-transition: all 0.2s ease-in-out 0.2s; + -ms-transition: all 0.2s ease-in-out 0.2s; + transition: all 0.2s ease-in-out 0.2s; +} + +.portfolio_inner .preloader .image_rollover {display:none;} + +.portfolio_inner .hover_effect { + text-align:center; + height:100%; + width:100%; + position:absolute; + left:0; + top:-100%; + z-index:10; + -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; +} + +.portfolio_inner:hover .hover_effect {top:0;} + +.portfolio_inner:hover .hover_effect .entry-title, +.portfolio_inner:hover .hover_effect .cmsms_link, +.portfolio_inner:hover .hover_effect .cmsms_imagelink, +.portfolio_inner:hover .hover_effect .post_category { + -webkit-transform:translateY(0); + -moz-transform:translateY(0); + -o-transform:translateY(0); + -ms-transform:translateY(0); + transform:translateY(0); + -webkit-transition-delay:0.2s; + -moz-transition-delay:0.2s; + -o-transition-delay:0.2s; + -ms-transition-delay:0.2s; + transition-delay:0.2s; +} + +.portfolio_inner .entry-header { + padding:0 20px; + overflow:hidden; + position:relative; +} + +.format-slider .portfolio_inner .entry-header {padding-right:40px;} + +.portfolio_inner .cmsms_content_prev_slide, +.portfolio_inner .cmsms_content_next_slide { + background:url(../images/arrow_project.png) no-repeat 0 0; + display:block; + width:5px; + height:9px; + position:absolute; + bottom:18px; + z-index:3; +} + +.portfolio_inner .cmsms_content_next_slide {right:12px;} + +.portfolio_inner .cmsms_content_prev_slide { + background-position:0 -9px; + right:35px; +} + +.portfolio_container .portfolio .li-jp-full-screen, +.portfolio_container.four_blocks .portfolio .jp-duration, +.portfolio_container.four_blocks .portfolio .jp-current-time, +.portfolio_container.four_blocks .portfolio .jp-time-sep, +.portfolio_container .portfolio .jp-full-screen {display:none !important;} + +.portfolio_container .portfolio div.jp-volume-bar {right:6px;} + +.portfolio_container .portfolio ul.jp-toggles li {float:right;} + +.cmsms_details_links { + max-width:60%; + float:right; +} + +.opened-article .portfolio.format-video .cmsms_media, +.opened-article .portfolio.format-slider .cmsms_media, +.opened-article .portfolio.one_block .resize {padding-bottom:30px;} + +.opened-article .portfolio .entry-content, +.opened-article .portfolio .cmsms_details {padding-top:20px;} + +.opened-article .portfolio .one_third, +.opened-article .portfolio .two_third {padding-bottom:0;} + +.opened-article .format-album.one_block .cmsms_media {padding-bottom:30px;} + +.resize {overflow:hidden;} + +.format-album .resize {margin-bottom:10px;} + +.format-album .resize .cmsms_media_box { + float:left; + padding-right:4%; + padding-bottom:20px; +} + +.format-album.four_blocks .resize .cmsms_media_box {width:22%;} + +.format-album.three_blocks .resize .cmsms_media_box {width:30.6%;} + +.format-album.two_blocks .resize .cmsms_media_box {width:48%;} + +.format-album.four_blocks .resize .cmsms_media_box+.cmsms_media_box+.cmsms_media_box+.cmsms_media_box, +.format-album.three_blocks .resize .cmsms_media_box+.cmsms_media_box+.cmsms_media_box, +.format-album.two_blocks .resize .cmsms_media_box+.cmsms_media_box {padding-right:0;} + +.portfolio_container .portfolio_inner footer { + border-top:1px solid #e5e5e5; + background:#fbfbfb; + padding:11px 20px 14px; +} + +.portfolio_inner .entry-title {margin:16px 0 12px;} + +.portfolio_inner .hover_effect .entry-title {margin-top:10%;} + +.portfolio_inner .hover_effect .post_category {bottom:10%;} + +.portfolio_container .portfolio { + float:left; + padding-right:4%; + padding-bottom:30px; +} + +.portfolio_container.four_blocks .portfolio .jp-duration, +.portfolio_container.four_blocks .portfolio .jp-current-time, +.portfolio_container.four_blocks .portfolio .jp-time-sep {display:none;} + +.portfolio_container.four_blocks {margin-right:-3.9%;} + +.portfolio_container.four_blocks .portfolio {width:21%;} + +.portfolio_container.three_blocks .portfolio {width:29.3%;} + +.portfolio_container.two_blocks .portfolio {width:46%;} + +.pj_sort { + border-bottom:1px solid #dadada; + padding-top:66px; + position:relative; +} + +.pj_sort .divider {margin:0;} + +.p_options_loader { + background:url(../images/loader_white.gif) no-repeat 0 0; + display:block; + width:160px; + height:20px; + position:absolute; + top:21px; + right:20px; +} + +.p_options_block { + padding:0; + display:none; + position:absolute; + right:20px; + top:15px; + z-index:29; + opacity:1; +} + +.p_sort_block {float:left;} + +.p_sort_block p {margin-left:10px;} + +.p_sort { + float:right; + position:relative; +} + +.p_sort a[name="p_date"] { + display:block; + float:left; +} + +.p_cat_filter span, +.p_sort a span { + font-size:13px; + line-height:25px; + font-weight:normal; +} + +.p_cat_filter > span {padding:4px 18px;} + +.p_sort a[name="p_name"] span span, +.p_sort a[name="p_date"] span span { + background:url(../images/arrow_sort.png) no-repeat right 12px; + display:block; + padding:0 27px 0 0; +} + +.p_sort a.current.reversed[name="p_name"] span span, +.p_sort a.current.reversed[name="p_date"] span span {background-position:right 10px;} + +.p_sort a[name="p_name"] > span, +.p_sort a[name="p_date"] > span {padding:4px 10px 4px 12px;} + +.p_sort a[name="p_name"]:hover > span, +.p_sort a[name="p_date"]:hover > span, +.p_sort a.current[name="p_name"] > span, +.p_sort a.current[name="p_date"] > span {background-position:right -32px;} + +.p_sort a.current.reversed[name="p_name"] span span, +.p_sort a.current.reversed[name="p_date"] span span {background-position:right -36px;} + +.p_sort a[name="p_name"] { + margin-right:8px; + display:block; + float:left; +} + +.p_filter_container { + position:relative; + z-index:29; +} + +div.p_filter { + float:right; + padding:0 8px 0 0; +} + +a.p_cat_filter { + display:block; + position:relative; + z-index:31; +} + +.p_filter_container ul.p_filter { + background-color:#ffffff; + list-style:none; + display:block; + width:100%; + padding:0; + overflow:hidden; + position:absolute; + top:20px; + left:0; + z-index:30; + opacity:0; + -webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.2); + -moz-box-shadow:0 0 5px rgba(0, 0, 0, 0.2); + box-shadow:0 0 5px rgba(0, 0, 0, 0.2); + border-radius:0 0 4px 4px; + -moz-border-radius:0 0 4px 4px; + -webkit-border-radius:0 0 4px 4px; + -webkit-transition:opacity 0.5s ease; + -moz-transition:opacity 0.5s ease; + -ms-transition:opacity 0.5s ease; + -o-transition:opacity 0.5s ease; + transition:opacity 0.5s ease; +} + +.p_filter_container:hover ul.p_filter { + opacity:1; + padding:10px 0 5px; +} + +ul.p_filter li a { + color:#333333; + text-decoration:none; + display:block; + height:0; + padding:0 15px; + z-index:30; + -webkit-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease; + -moz-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease; + -ms-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease; + -o-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease; + transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease; +} + +.p_filter_container:hover ul.p_filter li a { + padding:5px 15px; + height:20px; +} + +ul.p_filter li a:hover, +.p_filter_container:hover ul.p_filter li a { + display:block; +} + +ul.p_filter li:first-child {padding-top:10px;} + +ul.p_filter li { + background:none; + position:relative; + overflow:hidden; + display:block; + z-index:30; +} + +.p_date, +#middle .portfolio_container .portfolio .jp-video .jp-restore-screen, +#middle .portfolio_container .portfolio .jp-video .jp-full-screen {display:none;} + +a span.image_rollover { + display:block; + width:100%; + height:100%; + position:absolute; + top:0; + left:0; + opacity:.7; + -webkit-transition:background-color .4s ease-in-out; + -moz-transition:background-color .4s ease-in-out; + -ms-transition:background-color .4s ease-in-out; + -o-transition:background-color .4s ease-in-out; + transition:background-color .4s ease-in-out; +} + +a span.image_rollover > span { + background:url(../images/hover_content.png) 50% 50% no-repeat; + display:block; + width:42px; + height:42px; + position:absolute; + top:50%; + left:50%; + margin:-21px 0 0 -21px; + opacity:0; + filter:alpha(opacity=0); + -webkit-transition:opacity .5s ease-in-out; + -moz-transition:opacity .5s ease-in-out; + -ms-transition:opacity .5s ease-in-out; + -o-transition:opacity .5s ease-in-out; + transition:opacity .5s ease-in-out; +} + +.format-image span.image_rollover > span, +.opened-article span.image_rollover > span {background-image:url(../images/hover_image.png);} + +.format-link a span.image_rollover > span {background-image:url(../images/hover_link.png);} + +.format-video a span.image_rollover > span {background-image:url(../images/hover_video.png);} + +a:hover span.image_rollover {background-color:#000000;} + +a:hover span.image_rollover > span { + opacity:1; + filter:alpha(opacity=100); + -webkit-transition-delay:.3s; + -moz-transition-delay:.3s; + -ms-transition-delay:.3s; + -o-transition-delay:.3s; + transition-delay:.3s; +} + +/* ---------- Bottom ---------- */ + +#bottom { + background:#212121 url(../images/bg_sharp.png) repeat 0 0; + padding:33px 0 0; + overflow:hidden; + position:relative; + opacity:.95; + filter:alpha(opacity=95); +} + +.bottom_inner { + width:940px; + padding-bottom:20px; + margin:0 auto; + overflow:hidden; + position:relative; +} + +#bottom .widgettitle {margin-bottom:30px;} + +#bottom input, +#bottom textarea, +#bottom select, +#bottom .testimonials_text, +#bottom .jta-tweet-text { + background-color:#4b4b4b; + border-color:#222222; +} + +#bottom input, +#bottom select, +#bottom textarea { + box-shadow:0 2px 3px rgba(0, 0, 0, 0.2) inset; + -moz-box-shadow:0 2px 3px rgba(0, 0, 0, 0.2) inset; + -webkit-box-shadow:0 2px 3px rgba(0, 0, 0, 0.2) inset; +} + +#bottom .testimonials_text:after, +#bottom .jta-tweet-text:after { + border-right: 12px solid transparent; + border-top: 12px solid #4b4b4b; +} + +#bottom .testimonials_text:before, +#bottom .jta-tweet-text:before { + border-right:12px solid transparent; + border-top:12px solid #222222; +} + + +#bottom .cmsms-form-builder .check_parent input[type="radio"]+label {background:url(../images/radio_check.png) no-repeat 0 -226px;} + +#bottom .cmsms-form-builder .check_parent input[type="radio"]:checked+label {background:url(../images/radio_check.png) no-repeat 0 -264px;} + +#bottom .cmsms-form-builder .check_parent input[type="checkbox"]+label {background:url(../images/radio_check.png) no-repeat 0 -149px;} + +#bottom .cmsms-form-builder .check_parent input[type="checkbox"]:checked+label {background:url(../images/radio_check.png) no-repeat 0 -187px;} + + +/* ---------- Footer ---------- */ + +#footer { + background-color:#ffffff; + height:70px; + margin-top:-70px; + overflow:hidden; + position:relative; +} + +.footer_inner { + width:940px; + height:20px; + padding:25px 0; + margin:0 auto; + overflow:hidden; + position:relative; +} + +.footer_nav {margin-bottom:0;} + +.footer_nav li { + display:inline-block; + padding:0 4px; +} + +.footer_nav li a { + text-decoration:none; +} + +/* ---------- Form builder ---------- */ + +.cmsms-form-builder label {padding-bottom:8px;} + +select { + border:1px solid #e5e5e5; + background-color:#f9f9f9; + height:35px; + line-height:20px; + width:275px; + padding:5px 10px; + margin:0 0 3px; +} + +select:focus {background-color:#ffffff;} + +.widget select {width:100%;} + +option { + background-color:#ffffff; + border:none; + height:20px; + padding:0; + margin:0; +} + +.cmsms-form-builder .form_info {padding-bottom:20px;} + +.widget .cmsms-form-builder .form_info {padding-bottom:16px;} + +.widget .cmsms-form-builder input[type="text"] {width:100%;} + +.cmsms-form-builder span.db { + color:#bfbfbf; + font-size:12px; + font-style:italic; + display:block; + padding-top:5px; +} + +#commentform {padding-bottom:20px;} + +.cmsms-form-builder input[type="text"]{width:50%;} + +input[type="text"], +textarea { + background-color:#fdfdfd; + border:1px solid #e5e5e5; + line-height:20px; + height:35px; + width:100%; + padding:5px 10px; +} + +textarea {padding:7px 10px;} + +input[type="text"]:focus, +textarea:focus, +select:focus {background-color:#ffffff;} + +#commentform input[type="text"] { + width:50%; + float:left; +} + +#commentform textarea { + width:90%; + min-height:260px; + resize:none; +} + +#commentform p { + overflow:hidden; + clear:both; +} + +#commentform input[type="text"]+label { + line-height:42px; + float:left; + padding-left:20px; +} + +.cmsms-form-builder .check_parent { + padding:6px 0; + position:relative; + overflow:hidden; +} + +.cmsms-form-builder .check_parent label {padding:0;} + +.cmsms-form-builder .check_parent input[type="checkbox"], +.cmsms-form-builder .check_parent input[type="radio"] { + float:left; + position:absolute; + top:0; + left:0; + opacity:0; +} + +.cmsms-form-builder .check_parent input[type="radio"]+label {background:url(../images/radio_check.png) no-repeat 0 -73px;} + +.cmsms-form-builder .check_parent input[type="radio"]:checked+label {background:url(../images/radio_check.png) no-repeat 0 -111px;} + +.cmsms-form-builder .check_parent input[type="checkbox"]+label {background:url(../images/radio_check.png) no-repeat 0 1px;} + +.cmsms-form-builder .check_parent input[type="checkbox"]:checked+label {background:url(../images/radio_check.png) no-repeat 0 -36px;} + +.cmsms-form-builder .check_parent input[type="checkbox"]+label, +.cmsms-form-builder input[type="radio"]+label { + line-height:20px; + font-weight:normal; + display:block; + height:20px; + float:left; + padding:0 0 0 25px; + margin:0; + overflow:hidden; + position:relative; + cursor:pointer; + z-index:1; +} + +.cmsms-form-builder .cmsms_checkbox .db, +.cmsms-form-builder .cmsms_radio .db, +.cmsms-form-builder .cmsms_checkboxes .db { + display:block; + padding-bottom:15px; +} + +.loading { + background:url(../images/loader.gif) no-repeat 0 0; + height:5px; + width:40px; + float:right; + opacity:0; + position:relative; + margin-top:11px; +} + + +/* ---------- Form Error ---------- */ + +.inputContainer { + position:relative; + float:left; +} + +.formError { + display:block; + position:absolute; + top:300px; + left:300px; + cursor:pointer; + z-index:5000; +} + +.ajaxSubmit { + border:1px solid #999999; + background:#55ea55; + display:none; + padding:20px; +} + +.formError .formErrorContent { + border:1px solid #333333; + background:#000000; + color:#ffffff; + font-family:Tahoma; + font-size:11px; + width:150px; + padding:4px 10px; + position:relative; + z-index:5001; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; +} + +.greenPopup .formErrorContent {background:#33be40;} + +.blackPopup .formErrorContent { + background:#393939; + color:#ffffff; +} + +.formError .formErrorArrow { + width:15px; + margin:-2px 0 0 13px; + position:relative; + z-index:5006; +} + +.formError .formErrorArrowBottom { + margin:0 0 0 12px; + top:2px; +} + +.formError .formErrorArrow div { + border-left:1px solid #333333; + border-right:1px solid #333333; + background:#000000; + font-size:0; + line-height:0; + display:block; + height:1px; + margin:0 auto; +} + +.greenPopup .formErrorArrow div {background:#33be40;} + +.blackPopup .formErrorArrow div { + background:#393939; + color:#ffffff; +} + +.formError .formErrorArrow .line10 { + border:0; + width:15px; +} + +.formError .formErrorArrow .line9 { + border:0; + width:13px; +} + +.formError .formErrorArrow .line8 {width:11px;} + +.formError .formErrorArrow .line7 {width:9px;} + +.formError .formErrorArrow .line6 {width:7px;} + +.formError .formErrorArrow .line5 {width:5px;} + +.formError .formErrorArrow .line4 {width:3px;} + +.formError .formErrorArrow .line3 { + border-bottom:0; + border-left:1px solid #333333; + border-right:1px solid #333333; + width:1px; +} + +.formError .formErrorArrow .line2 { + border:0; + background:#333333; + width:1px; +} + +.formError .formErrorArrow .line1 { + border:0; + background:#333333; + width:0; +} + +.content_wrap { + -webkit-transition:background-position .3s ease-in-out; + -moz-transition:background-position .3s ease-in-out; + -ms-transition:background-position .3s ease-in-out; + -o-transition:background-position .3s ease-in-out; + transition:background-position .3s ease-in-out; +} + +.error h1 { + -webkit-transition:font-size .3s ease-in-out, padding .3s ease-in-out; + -moz-transition:font-size .3s ease-in-out, padding .3s ease-in-out; + -ms-transition:font-size .3s ease-in-out, padding .3s ease-in-out; + -o-transition:font-size .3s ease-in-out, padding .3s ease-in-out; + transition:font-size .3s ease-in-out, padding .3s ease-in-out; +} + + +/* ---------- Responsive Top Main Slider ---------- */ + +.cmsms_slider_parent, +#slider { + width:100%; + height:0; + padding-bottom:41%; + position:relative; +} + +.cmsms_slider_parent #slider {background:none;} + +.responsiveSlider { + text-align:left; + display:block; + list-style:none; + padding:0; + margin:0; + position:relative; + overflow:hidden; + opacity:0; + filter:alpha(opacity=0); + -webkit-transition:opacity .5s ease-in-out; + -moz-transition:opacity .5s ease-in-out; + -ms-transition:opacity .5s ease-in-out; + -o-transition:opacity .5s ease-in-out; + transition:opacity .5s ease-in-out; +} + +.responsiveSlider .cmsms_img { + min-width:100%; + max-width:100%; + display:block; +} + +.cmsms_slider_parent>.responsiveSlider { + width:100%; + height:100%; + opacity:1; + filter:alpha(opacity=100); +} + +.responsiveSlider, +.responsiveSlider>li { + display:block; + width:100%; + height:100%; + padding:0; + margin:0; + overflow:hidden; + position:absolute; +} + +.responsiveSlider { + top:0; + left:0; +} + +ul.responsiveSlider {list-style:none;} + +.responsiveSlider>li { + top:0; + left:100%; + z-index:1; +} + +.responsiveSlider>li div.cmsms_img_pattern { + background-position:0 0; + background-repeat:repeat; + width:100%; + height:100%; + position:absolute; + top:0; + left:0; +} + +.responsiveSlider>li.link a.cmsms_img_link, +.responsiveSlider>li.video a.cmsms_img_video { + background:url(../images/video.png) 0 0 no-repeat; + display:block; + width:100px; + height:100px; + margin:-50px 0 0 -50px; + position:absolute; + top:50%; + left:50%; + cursor:pointer; + opacity:0.33; + filter:alpha(opacity=33); + -webkit-transition:opacity .5s ease-in-out; + -moz-transition:opacity .5s ease-in-out; + -ms-transition:opacity .5s ease-in-out; + -o-transition:opacity .5s ease-in-out; + transition:opacity .5s ease-in-out; +} + +.responsiveSlider>li.link a.cmsms_img_link { + background:url(../images/link.png) 0 0 no-repeat; + display:none; +} + +.responsiveSlider>li.video a.cmsms_img_video {background:url(../images/video.png) 0 0 no-repeat;} + +.responsiveSlider>li.link a.cmsms_img_link:hover, +.responsiveSlider>li.video a.cmsms_img_video:hover { + opacity:1; + filter:alpha(opacity=100); +} + +.cmsms_slider_video { + background:#000000; + width:100%; + height:100%; + position:absolute; + top:0; + left:0; + z-index:150; + visibility:visible; +} + +.cmsms_slider_video.hidden {visibility:hidden;} + +.cmsms_slider_video iframe { + width:100%; + height:100%; + position:absolute; +} + +.responsiveSlider>li.left-img img { + min-width:50%; + max-width:50%; + height:100%; + max-height:100%; + float:left; +} + +.responsiveSlider>li.right-img img { + min-width:50%; + max-width:50%; + max-height:100%; + height:100%; + float:right; +} + +.responsiveSlider>li.right-img .slideCaption.left, +.responsiveSlider>li.left-img .slideCaption.right { + margin:0; + width:50%; +} + +.responsiveSlider .slideCaption { + display:table; + width:30%; + margin:0 50px 0 0; + position:absolute; + display:block\0/IE9; +} + +.responsiveSlider .slideCaption.left, +.responsiveSlider .slideCaption.right { + width:30%; + margin:0 80px; +} + +.responsiveSlider .slideCaption.top, +.responsiveSlider .slideCaption.bottom { + display:block; + width:auto; + margin:0; +} + +.responsiveSlider .slideCaption { + top:auto; + bottom:0; +} + +.responsiveSlider>li.left-img .slideCaption.top, +.responsiveSlider>li.right-img .slideCaption.top, +.responsiveSlider>li.left-img .slideCaption.bottom, +.responsiveSlider>li.right-img .slideCaption.bottom { + display:table; + width:43%; + padding:2%; + margin:0; + display:block\0/IE9; +} + +.responsiveSlider .slideCaption>.slideCaptionInner { + display:table-cell; + width:100%; + vertical-align:middle; +} + +.responsiveSlider .slideCaption.top>.slideCaptionInner, +.responsiveSlider .slideCaption.bottom>.slideCaptionInner { + display:block; + vertical-align:baseline; +} + +.responsiveSlider .slideCaption.right>.slideCaptionInner .slideCaptionInnerBlock, +.responsiveSlider .slideCaption.left>.slideCaptionInner .slideCaptionInnerBlock{ + display:table-cell\0/IE9; + vertical-align:middle\0/IE9; +} + +.responsiveSlider>li.left-img .slideCaption.top>.slideCaptionInner, +.responsiveSlider>li.right-img .slideCaption.top>.slideCaptionInner, +.responsiveSlider>li.left-img .slideCaption.bottom>.slideCaptionInner, +.responsiveSlider>li.right-img .slideCaption.bottom>.slideCaptionInner { + display:table-cell; + padding:4%; + vertical-align:middle; +} + +.slideCaptionInnerBlock { + padding:7% 10%; + position:relative; +} + +.responsiveSlider .slideCaption.left .slideCaptionInnerBlock, +.responsiveSlider .slideCaption.right .slideCaptionInnerBlock { + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; +} + +.responsiveSlider .slideCaption.top .slideCaptionInnerBlock { + border-radius:5px 5px 0 0; + -moz-border-radius:5px 5px 0 0; + -webkit-border-radius:5px 5px 0 0; +} + +.responsiveSlider .slideCaption.top .slideCaptionInnerBlock, +.responsiveSlider .slideCaption.bottom .slideCaptionInnerBlock { + position:absolute; + width:94%; + padding:2% 3%; +} + +.responsiveSlider .slideCaption.bottom .slideCaptionInnerBlock {bottom:0;} + +.responsiveSlider .slideCaption.top .slideCaptionInnerBlock h1, +.responsiveSlider .slideCaption.bottom .slideCaptionInnerBlock h1 {margin-bottom:10px;} + +.responsiveSlider .slideCaption.top .slideCaptionInnerBlock p, +.responsiveSlider .slideCaption.bottom .slideCaptionInnerBlock p {padding-bottom:10px;} + +a.cmsms_prev_slide, +a.cmsms_next_slide { + background:#363636 url(../images/bg_sharp.png) repeat 0 0; + position:absolute; + bottom:22px; + z-index:11; +} + +a.cmsms_prev_slide span, +a.cmsms_next_slide span { + background:url(../images/arrow_slide.png) no-repeat 11px 12px; + display:block; + width:32px; + height:36px; +} + +a.cmsms_prev_slide { + right:54px; + border-radius:5px 0 0 5px; + -moz-border-radius:5px 0 0 5px; + -webkit-border-radius:5px 0 0 5px; + box-shadow:-1px 0 0 rgba(0, 0, 0, .3) inset; + -moz-box-shadow:-1px 0 0 rgba(0, 0, 0, .3) inset; + -webkit-box-shadow:-1px 0 0 rgba(0, 0, 0, .3) inset; +} + +a.cmsms_next_slide { + right:22px; + border-radius:0 5px 5px 0; + -moz-border-radius:0 5px 5px 0; + -webkit-border-radius:0 5px 5px 0; + box-shadow:1px 0 0 rgba(255, 255, 255, .1) inset; + -moz-box-shadow:1px 0 0 rgba(255, 255, 255, .1) inset; + -webkit-box-shadow:1px 0 0 rgba(255, 255, 255, .1) inset; +} + +a.cmsms_next_slide span {background-position:12px -21px;} + +a.cmsms_prev_slide:hover, +a.cmsms_next_slide:hover {opacity:1;} + +a.cmsms_close_video { + background-color:#ffffff; + background-image:url(../images/video_close.png); + background-position:12px -49px; + background-repeat:no-repeat; + bottom:50px; + right:15px; + width:41px; + height:41px; + display:block; + overflow:hidden; + position:absolute; + border-radius:20.5px; + -moz-border-radius:20.5px; + -webkit-border-radius:20.5px; + -webkit-transition:background-color .3s ease-in-out, background-position .3s ease-in-out; + -moz-transition:background-color .3s ease-in-out, background-position .3s ease-in-out; + -ms-transition:background-color .3s ease-in-out, background-position .3s ease-in-out; + -o-transition:background-color .3s ease-in-out, background-position .3s ease-in-out; + transition:background-color .3s ease-in-out, background-position .3s ease-in-out; + z-index:160; + opacity:0; + filter:alpha(opacity=0); +} + +a.cmsms_close_video:hover {background-position:12px 11px;} + +#top ul.cmsms_slides_nav { + background:#363636 url(../images/bg_sharp.png) repeat 0 0; + right:87px; + bottom:22px; +} + +ul.cmsms_slides_nav { + list-style:none; + position:absolute; + right:20px; + bottom:20px; + padding:12px; + margin:0; + z-index:10; + -webkit-transition:opacity .3s ease-in-out; + -moz-transition:opacity .3s ease-in-out; + -ms-transition:opacity .3s ease-in-out; + -o-transition:opacity .3s ease-in-out; + transition:opacity .3s ease-in-out; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; +} + +ul.cmsms_slides_nav li { + display:block; + float:left; + padding:0 0 0 8px; +} + +ul.cmsms_slides_nav li:first-child {padding:0;} + +ul.cmsms_slides_nav li a { + background-color:#ffffff; + display:block; + text-indent:-9999px; + width:12px; + height:12px; + border-radius:6px; + -moz-border-radius:6px; + -webkit-border-radius:6px; + -webkit-transition:background-color .3s ease-in-out; + -moz-transition:background-color .3s ease-in-out; + -ms-transition:background-color .3s ease-in-out; + -o-transition:background-color .3s ease-in-out; + transition:background-color .3s ease-in-out; +} + +.cmsms_slider_timer { + position:absolute; + bottom:15px; + left:15px; + z-index:10; + -webkit-transition:opacity .3s ease-in-out; + -moz-transition:opacity .3s ease-in-out; + -ms-transition:opacity .3s ease-in-out; + -o-transition:opacity .3s ease-in-out; + transition:opacity .3s ease-in-out; +} + + +/* ---------- Responsive Content Slider ---------- */ + +.cmsms_content_slider_parent { + width:100%; + height:0; + padding-bottom:56.25%; + position:relative; +} + +.responsiveContentSlider { + background:url(../images/loader.gif) 50% 50% no-repeat; + text-align:left; + display:block; + list-style:none; + width:100%; + height:0; + padding:0 0 56.25%; + margin:0; + position:relative; + overflow:hidden; +} + +.cmsms_content_slider_parent>.responsiveContentSlider, +.responsiveContentSlider>li { + display:block; + width:100%; + height:100%; + padding:0; + margin:0; + overflow:hidden; + position:absolute; +} + +.responsiveContentSlider { + top:0; + left:0; +} + +.responsiveContentSlider>li { + top:0; + left:100%; + z-index:1; +} + +.cmsms_content_slider_parent ul.cmsms_slides_nav { + list-style:none; + float:right; + padding:0; + margin:0; + z-index:10; + -webkit-transition:opacity .3s ease-in-out; + -moz-transition:opacity .3s ease-in-out; + -ms-transition:opacity .3s ease-in-out; + -o-transition:opacity .3s ease-in-out; + transition:opacity .3s ease-in-out; +} + +.cmsms_content_slider_parent ul.cmsms_slides_nav li { + display:block; + float:left; + padding:0 0 0 8px; +} + +.cmsms_content_slider_parent ul.cmsms_slides_nav li.active a, +.cmsms_content_slider_parent ul.cmsms_slides_nav li:hover a {background-color:#000000;} + + .cmsms_content_slider_parent ul.cmsms_slides_nav li:first-child {padding:0;} + +.cmsms_content_slider_parent ul.cmsms_slides_nav li a { + background-color:#ffffff; + display:block; + text-indent:-9999px; + width:10px; + height:10px; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + -webkit-transition:background-color .3s ease-in-out; + -moz-transition:background-color .3s ease-in-out; + -ms-transition:background-color .3s ease-in-out; + -o-transition:background-color .3s ease-in-out; + transition:background-color .3s ease-in-out; +} + +.cmsms_nav_wrap_wrap { + text-align:center; + width:100%; + height:36px; + position:absolute; + bottom:0; + z-index:3; +} + + +/* ---------------------------------- Media Queries ----------------------------------------------*/ + +/* ---------- Large Monitor (Note: Design for a width more than 1440px) ---------- */ + +@media only screen and (min-width: 1440px) { + + #header, + #middle, + .navi_scrolled nav, + .cont_nav, + .splash .cmsms_nav_wrap {width:1200px;} + + .splash .responsiveSlider .slideCaption.left, + .splash .responsiveSlider .slideCaption.right {width:1200px !important;} + + .bottom_inner, + .footer_inner {width:1160px;} + + .widget_custom_advertising_entries ul li {padding:0 8% 8% 0;} + +} + +/* ---------- Medium Monitor (Note: Design for a width more than 1023px but less than 1440px) ---------- */ + +@media only screen and (min-width: 1124px) and (max-width: 1439px) { + + .widget_custom_flickr_entries li {padding:0 5% 5% 0;} + + .one_fourth .portfolio_inner .hover_effect .hover_effect_links {padding:0;} + + .one_fourth .portfolio_inner .hover_effect .entry-title {margin:10px 0;} + +} + + +/* ---------- Tablet Portrait (Note: Design for a width more than 767px but less than 1024px) ---------- */ + +@media only screen and (min-width: 768px) and (max-width: 1023px) { + + #header, + #middle, + .navi_scrolled nav, + .cont_nav, + .splash .cmsms_nav_wrap {width:90%;} + + .splash .responsiveSlider .slideCaption.left, + .splash .responsiveSlider .slideCaption.right {width:90% !important;} + + .cont_nav {padding:0;} + + .bottom_inner, + .footer_inner { + width:90%; + padding-left:5%; + padding-right:5%; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; + } + + #navigation > li > a {min-width:115px;} + + .widget_custom_popular_entries li .ovh {overflow:visible;} + + #content .tabs li, + #content .tabs{display:block;} + + #content .tabs li a {border-right:none;} + + #content .tour, + #content .tour_box{ + width:100%; + float:none; + } + + #content .tour_shadow:before {display:none;} + + .portfolio_inner .entry-header, + .portfolio_inner .hover_effect .post_category {padding:0 10px;} + +} + + +/* ---------- Small Tablet (Note: Design for a width more than 540px but less than 768px) ---------- */ + +@media only screen and (min-width: 541px) and (max-width: 767px) { + + .one_fourth, + .one_fourth+.one_fourth+.one_fourth, + .widget_colored.four_box:nth-child(odd), + .portfolio_container.four_blocks .portfolio:nth-child(odd), + .format-album.four_blocks .resize .cmsms_media_box:nth-child(odd), + .post_type_shortcode.four_blocks article:nth-child(odd), + .cms_archive li:nth-child(odd), + .sitemap > li > ul > li:nth-child(odd) { + width:48%; + float:left; + padding-right:4%; + } + + .one_fourth.last, + .one_fourth+.one_fourth, + .one_fourth+.one_fourth+.one_fourth+.one_fourth, + .portfolio_container.four_blocks .portfolio:nth-child(even), + .format-album.four_blocks .resize .cmsms_media_box:nth-child(even), + .post_type_shortcode.four_blocks article:nth-child(even), + .cms_archive li:nth-child(even), + .sitemap > li > ul > li:nth-child(even) { + width:48%; + float:right; + padding-right:0; + } + + .portfolio_container.four_blocks {margin-right:0;} + + .widget_colored.four_box:nth-child(even)+.widget_colored.four_box {border-left:none;} + +} + +/* ---------- Small Monitor (Note: Design for a width less than 1024px) ---------- */ + +@media only screen and (max-width: 1023px) { + + #middle { + width:90%; + margin:27px 5% 0; + } + + .error .search_line {width:40%;} + + .commentlist ul li {padding-left:19px;} + + .commentlist ul {margin:0;} + +} + +/* ---------- Small Tablet & Mobile (Note: Design for a width less than 768px) ---------- */ + +@media only screen and (max-width: 767px) { + + #header, + #middle, + .cont_nav, + .splash .cmsms_nav_wrap {width:90%;} + + .cont_nav {padding:0;} + + .bottom_inner, + .footer_inner { + width:90%; + padding-left:5%; + padding-right:5%; + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; + } + + .splash .responsiveSlider .slideCaption.left, + .splash .responsiveSlider .slideCaption.right {width:90% !important;} + + .navi_scrolled nav {width:100%;} + + #content, + .content_wrap.sidebar_left #content, + #sidebar, + .content_wrap.sidebar_left #sidebar { + width:100%; + float:none; + padding:25px 0; + } + + .content_wrap { + background:none; + top:auto; + padding-bottom:0; + } + + .portfolio_container.three_blocks, + .portfolio_container.one_blocks {margin-right:0;} + + .one_half, + .one_half.last, + .one_third, + .one_third.last, + .two_third, + .two_third.last, + .three_fourth, + .three_fourth.last, + .three_fourth+.one_fourth, + .one_fourth+.one_half+.one_fourth, + .portfolio_container.three_blocks .portfolio, + .format-album.two_blocks .resize .cmsms_media_box, + .format-album.three_blocks .resize .cmsms_media_box { + width:100%; + float:none; + padding-right:0; + } + + .responsiveSlider .slideCaption>.slideCaptionInner {padding:10px 0;} + + .responsiveSlider .slideCaption.top, + .responsiveSlider .slideCaption.left, + .responsiveSlider .slideCaption.right, + .responsiveSlider .slideCaption.bottom {display:none;} + + .error .search_line {width:60%;} + + .tour, + .tour_box{ + width:100%; + float:none; + } + + .tour_shadow:before {display:none;} + + .tabs li, + .tabs{display:block;} + + .tabs li a {border-right:none;} + + .footer_inner, .footer_inner .fr { + text-align:center; + float:none; + } + + .footer_html {display:inline-block;} + + .footer_inner {padding:18px 5% 52px 5%;} + + .post_type_shortcode .one_fourth, + .post_type_shortcode .one_third, + .post_type_shortcode .one_half {padding-bottom:20px;} + + .header_inner { + height:auto; + padding:27px 0 24px; + text-align:center; + } + + .logo { + position:relative; + margin:0 0 8px; + top:auto; + left:auto; + } + + .custom_html { + text-align:center; + margin:0; + position:relative; + top:auto; + left:auto; + } + + .header_inner .social_list { + text-align:center; + display:inline-block; + position:relative; + top:auto; + right:auto; + margin:20px 0 0; + } + +} + +/* ---------- Mobile (Note: Design for a width less than 541px) ---------- */ + +@media only screen and (max-width: 540px) { + + .nav_wrap_inner.navi_scrolled { + background:none; + z-index:9999; + } + + #header .nav_wrap {height:auto;} + + .header_inner .social_list {display:none;} + + .responsibe_block, + .responsibe_block .social_list {display:block;} + + .responsibe_block { + background-color:#313131; + padding-bottom:7px; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + } + + .responsibe_block_inner .social_list li a img { + opacity:.2; + filter:alpha(opacity=20); + -webkit-transition:opacity .3s ease-out; + -moz-transition:opacity .3s ease-out; + -ms-transition:opacity .3s ease-out; + -o-transition:opacity .3s ease-out; + transition:opacity .3s ease-out; + } + + .responsibe_block_inner .social_list li a:hover img { + opacity:.8; + filter:alpha(opacity=80); + } + + .responsibe_block_inner { + background:#363636 url(../images/bg_sharp.png) repeat 0 0; + border-bottom:2px solid; + height:38px; + padding:12px 13px 0; + overflow:hidden; + border-radius:5px 5px 0 0; + -moz-border-radius:5px 5px 0 0; + -webkit-border-radius:5px 5px 0 0; + } + + .resp_navigation { + background:#000000 url(../images/resp_navi_bg.png) no-repeat 50% 50%; + display:block; + width:36px; + height:27px; + float:right; + border-radius:5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + } + + #navigation { + display:none; + margin:0; + overflow:hidden; + position:relative; + } + + #navigation > li {width:auto;} + + #navigation li a span {font-size:14px;} + + #navigation > li.current_page_item > a, + #navigation > li > a:hover, + #navigation > li:hover > a { + background-color:#f9f9f9; + } + + #navigation li { + float:none; + overflow:hidden; + } + + #navigation li > a { + background-image:url(../images/resp_divider.png); + background-repeat:repeat-x; + background-position:0 0; + display:block; + padding:10px 7px 10px 10px; + margin:0; + } + + #navigation > li:first-child > a {background-image:none;} + + #navigation > li > a { + border-left:none; + padding-left:30px; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; + } + + #navigation > li > ul > li > a {padding-left:50px;} + + #navigation > li > ul > li > ul > li > a {padding-left:70px;} + + #navigation > li > ul > li:last-child, + #navigation ul li a, + #navigation ul li:first-child > a, + #navigation > li > ul > li:last-child, + .navi_scrolled #navigation > li > a, + .navi_scrolled #navigation > li:first-child > a, + .touch_dev .navi_scrolled #navigation > li > a, + .touch_dev .navi_scrolled #navigation > li:first-child > a, + .touch_dev #navigation > li > a {border:none;} + + #navigation > li:first-child > a, + #navigation > li:last-child > a, + #navigation > li:first-child > a > span, + #navigation > li:last-child > a > span, + .touch_dev #navigation > li:last-child > a > span, + .touch_dev #navigation > li:last-child > a, + .touch_dev #navigation > li:first-child > a > span, + .touch_dev #navigation > li:first-child > a{ + -webkit-border-radius:0; + -moz-border-radius:0; + border-radius:0; + } + + .touch_dev #navigation > li > a {padding-bottom:10px;} + + .touch_dev #navigation > li > a {margin-top:0;} + + .touch_dev #navigation > li.current_page_item > a > span, + #navigation > li.current_page_item > a > span, + #navigation > li:hover > a > span, + #navigation > li > a:hover > span { + padding:0; + background:none; + } + + #navigation ul li a {width:auto;} + + #navigation ul li a span, + .navi_scrolled #navigation > li > a {text-shadow:none;} + + #navigation ul ul li a { + margin-left:0; + padding-left:25px; + } + + #navigation > li > a > span { + border:none; + background:none; + text-shadow:none; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; + } + + #navigation ul li.drop > a span, + #navigation ul li.drop:hover > a > span, + #navigation ul li.drop > a:hover > span, + #navigation ul li.current_page_item.drop > a > span { + background:url(../images/arrow_navi.png) no-repeat right -75px; + } + + #navigation ul, + #navigation ul ul, + #navigation > li > ul { + background:none; + width:auto; + display:none; + padding:0; + margin:0; + visibility:visible; + position:relative; + left:auto; + top:auto; + opacity:1; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; + -webkit-border-radius:0; + -moz-border-radius:0; + border-radius:0; + -webkit-transition:none; + -moz-transition:none; + -ms-transition:none; + -o-transition:none; + transition:none; + } + + #navigation ul li, + #navigation li > a > span {padding:0;} + + .navi_scrolled #navigation > li.current_page_item > a > span, + .navi_scrolled #navigation > li:hover > a > span, + .navi_scrolled #navigation > li > a:hover > span, + .touch_dev .navi_scrolled #navigation > li.current_page_item > a > span, + .touch_dev .navi_scrolled #navigation > li:hover > a > span, + .touch_dev .navi_scrolled #navigation > li > a:hover > span {padding-top:0;} + + .navi_scrolled #navigation > li > ul {top:auto;} + + div.jp-video div.jp-current-time, + div.jp-audio div.jp-current-time, + div.jp-video div.jp-time-sep, + div.jp-audio div.jp-time-sep, + div.jp-video div.jp-duration, + div.jp-audio div.jp-duration {display:none;} + + .widget_colored.four_box, + .one_fourth, + .one_fourth.last, + .one_fourth+.one_fourth, + .one_fourth+.one_fourth+.one_fourth, + .one_fourth+.one_fourth+.one_fourth+.one_fourth, + .portfolio_container.two_blocks .portfolio, + .portfolio_container.four_blocks .portfolio:nth-child(odd), + .portfolio_container.four_blocks .portfolio:nth-child(even), + .format-album.four_blocks .resize .cmsms_media_box:nth-child(odd), + .format-album.four_blocks .resize .cmsms_media_box:nth-child(even), + .post_type_shortcode.four_blocks article:nth-child(odd), + .post_type_shortcode.four_blocks article:nth-child(even), + .cms_archive li:nth-child(odd), + .cms_archive li:nth-child(even), + .sitemap > li > ul > li:nth-child(odd), + .sitemap > li > ul > li:nth-child(even) { + width:100%; + float:none; + padding-right:0; + } + + .widget_colored.four_box { + display:block; + border-left:none; + } + + #sidebar {border-top:2px solid #ebebeb;} + + #sidebar .widget {padding-bottom:0;} + + .cmsms_format {margin-right:6px;} + + .post .entry-content {padding-left:10px;} + + .post_type_shortcode.four_blocks, + .post_type_shortcode.two_blocks, + .portfolio_container.two_blocks .portfolio, + .portfolio_container.four_blocks {margin-right:0;} + + .cmsms-form-builder .cmsms_input {width:100%;} + + .comment-body .published, + .p_sort, + .comment-reply-link, + .comment-content h6 {float:none;} + + .comment-reply-link, + #commentform textarea {margin-top:10px;} + + .comment-body .published, + #commentform label {padding-left:0;} + + .comment-body .alignleft {margin-bottom:4px;} + + #commentform input[type="text"], + #commentform textarea, + .cmsms-form-builder input[type="text"] {width:100%;} + + .pj_sort {padding-top:117px;} + + div.p_filter {padding:10px 0 0;} + + .error h1 {font-size:140px;} + + .error .search_line {width:90%;} + +} diff --git a/content/css/ie.css b/content/css/ie.css new file mode 100644 index 0000000..6dc087c --- /dev/null +++ b/content/css/ie.css @@ -0,0 +1,70 @@ +.p_options_block, +.p_filter_container:hover ul.p_filter {filter:alpha(opacity=100);} + +.p_filter_container ul.p_filter, +.cmsms-form-builder .check_parent input[type="checkbox"], +.cmsms-form-builder .check_parent input[type="radio"], +.loading {filter:alpha(opacity=0);} + +.button, +.button_medium, +.button_large, +.dropcap2, +.tabs li a.current, +.related_posts > ul > li a.current, +.tour li a, +.comment-reply-link, +.cmsmsLike, +.cmsms_rounding { + position:relative; + z-index:0; +} + +div.p_filter {height:1000px;} + +.p_filter_container ul.p_filter {top:32px;} + +.button span, +.button_medium span, +.button_large span {transition:none;} + +.button, +.button_medium, +.button_large {margin-right:3px;} + +.cmsms-form-builder .check_parent input[type="radio"]+label, +.cmsms-form-builder .check_parent input[type="checkbox"]+label {background-image:none;} + +.cmsms-form-builder .check_parent input[type="radio"], +.cmsms-form-builder .check_parent input[type="checkbox"] { + filter:alpha(opacity=100); + margin-top:11px; +} + +.cmsms_slider_video.hidden {display:none;} + +@media only screen and (min-width: 541px) and (max-width: 767px) { + + .widget_colored.four_box, + .one_fourth, + .one_fourth.last, + .one_fourth+.one_fourth, + .one_fourth+.one_fourth+.one_fourth, + .one_fourth+.one_fourth+.one_fourth+.one_fourth, + .portfolio_container.two_blocks .portfolio, + .portfolio_container.four_blocks .portfolio:nth-child(odd), + .portfolio_container.four_blocks .portfolio:nth-child(even), + .format-album.four_blocks .resize .cmsms_media_box:nth-child(odd), + .format-album.four_blocks .resize .cmsms_media_box:nth-child(even), + .post_type_shortcode.four_blocks article:nth-child(odd), + .post_type_shortcode.four_blocks article:nth-child(even), + .cms_archive li:nth-child(odd), + .cms_archive li:nth-child(even), + .sitemap > li > ul > li:nth-child(odd), + .sitemap > li > ul > li:nth-child(even) { + width:100%; + float:none; + padding-right:0; + } + +} diff --git a/content/css/ieCss3.css b/content/css/ieCss3.css new file mode 100644 index 0000000..5143f65 --- /dev/null +++ b/content/css/ieCss3.css @@ -0,0 +1,21 @@ +span.dropcap2, +.button, +.button > span, +.button_medium, +.button_medium >span, +.button_large, +.button_large > span, +.cmsmsLike, +.cmsms_close_video, +#slide_top, +.cmsms_slides_nav, +a.cmsms_prev_slide, +a.cmsms_next_slide, +.cmsms_rounding, +.widget_custom_popular_portfolio_entries figure img, +.tp-bullets, +.tp-leftarrow, +.tp-rightarrow{behavior:url(css/styles/pie.htc);} + +.p_options_block .button, +.p_options_block .button span {behavior:none;} \ No newline at end of file diff --git a/content/css/style.scss b/content/css/style.scss index 2979185..c9435ae 100644 --- a/content/css/style.scss +++ b/content/css/style.scss @@ -1,3 +1,5 @@ -@import "normalize"; -@import "bourbon"; +@import "willbridge"; +@import "fonts"; +@import "jquery_prettyphoto"; + @import "main"; \ No newline at end of file diff --git a/content/images/arrow_list.png b/content/images/arrow_list.png new file mode 100755 index 0000000..03f8766 Binary files /dev/null and b/content/images/arrow_list.png differ diff --git a/content/images/arrow_navi.png b/content/images/arrow_navi.png new file mode 100755 index 0000000..14eba12 Binary files /dev/null and b/content/images/arrow_navi.png differ diff --git a/content/images/arrow_popular_widget.png b/content/images/arrow_popular_widget.png new file mode 100755 index 0000000..10adb75 Binary files /dev/null and b/content/images/arrow_popular_widget.png differ diff --git a/content/images/arrow_project.png b/content/images/arrow_project.png new file mode 100755 index 0000000..2e92df2 Binary files /dev/null and b/content/images/arrow_project.png differ diff --git a/content/images/arrow_slide.png b/content/images/arrow_slide.png new file mode 100755 index 0000000..8319336 Binary files /dev/null and b/content/images/arrow_slide.png differ diff --git a/content/images/arrow_sort.png b/content/images/arrow_sort.png new file mode 100755 index 0000000..a6d99a0 Binary files /dev/null and b/content/images/arrow_sort.png differ diff --git a/content/images/bg_sharp.png b/content/images/bg_sharp.png new file mode 100755 index 0000000..b446cbc Binary files /dev/null and b/content/images/bg_sharp.png differ diff --git a/content/images/bgs/01.jpg b/content/images/bgs/01.jpg new file mode 100755 index 0000000..3a953cd Binary files /dev/null and b/content/images/bgs/01.jpg differ diff --git a/content/images/bgs/02.jpg b/content/images/bgs/02.jpg new file mode 100755 index 0000000..9d9e828 Binary files /dev/null and b/content/images/bgs/02.jpg differ diff --git a/content/images/bgs/03.jpg b/content/images/bgs/03.jpg new file mode 100755 index 0000000..f360cc7 Binary files /dev/null and b/content/images/bgs/03.jpg differ diff --git a/content/images/bgs/04.jpg b/content/images/bgs/04.jpg new file mode 100755 index 0000000..966573f Binary files /dev/null and b/content/images/bgs/04.jpg differ diff --git a/content/images/bgs/05.jpg b/content/images/bgs/05.jpg new file mode 100755 index 0000000..09161df Binary files /dev/null and b/content/images/bgs/05.jpg differ diff --git a/content/images/button.png b/content/images/button.png new file mode 100755 index 0000000..c56c301 Binary files /dev/null and b/content/images/button.png differ diff --git a/content/images/button_large.png b/content/images/button_large.png new file mode 100755 index 0000000..5f9acb0 Binary files /dev/null and b/content/images/button_large.png differ diff --git a/content/images/button_medium.png b/content/images/button_medium.png new file mode 100755 index 0000000..300b817 Binary files /dev/null and b/content/images/button_medium.png differ diff --git a/content/images/comment_line.png b/content/images/comment_line.png new file mode 100755 index 0000000..05279ec Binary files /dev/null and b/content/images/comment_line.png differ diff --git a/content/images/content_sep.png b/content/images/content_sep.png new file mode 100755 index 0000000..2daf30c Binary files /dev/null and b/content/images/content_sep.png differ diff --git a/content/images/download.png b/content/images/download.png new file mode 100755 index 0000000..3b69b10 Binary files /dev/null and b/content/images/download.png differ diff --git a/content/images/effect_image.png b/content/images/effect_image.png new file mode 100755 index 0000000..7a4a049 Binary files /dev/null and b/content/images/effect_image.png differ diff --git a/content/images/effect_link.png b/content/images/effect_link.png new file mode 100755 index 0000000..11b15ec Binary files /dev/null and b/content/images/effect_link.png differ diff --git a/content/images/effect_video.png b/content/images/effect_video.png new file mode 100755 index 0000000..673285b Binary files /dev/null and b/content/images/effect_video.png differ diff --git a/content/images/error.png b/content/images/error.png new file mode 100755 index 0000000..1134fd9 Binary files /dev/null and b/content/images/error.png differ diff --git a/content/images/favicon.ico b/content/images/favicon.ico new file mode 100755 index 0000000..ba0ad2b Binary files /dev/null and b/content/images/favicon.ico differ diff --git a/content/images/heart.png b/content/images/heart.png new file mode 100755 index 0000000..b5681cd Binary files /dev/null and b/content/images/heart.png differ diff --git a/content/images/hover_content.png b/content/images/hover_content.png new file mode 100755 index 0000000..6f82413 Binary files /dev/null and b/content/images/hover_content.png differ diff --git a/content/images/hover_image.png b/content/images/hover_image.png new file mode 100755 index 0000000..b9bbac7 Binary files /dev/null and b/content/images/hover_image.png differ diff --git a/content/images/hover_link.png b/content/images/hover_link.png new file mode 100755 index 0000000..d36d0a5 Binary files /dev/null and b/content/images/hover_link.png differ diff --git a/content/images/hover_video.png b/content/images/hover_video.png new file mode 100755 index 0000000..695ea39 Binary files /dev/null and b/content/images/hover_video.png differ diff --git a/content/images/icon_format.png b/content/images/icon_format.png new file mode 100755 index 0000000..68fc146 Binary files /dev/null and b/content/images/icon_format.png differ diff --git a/content/images/icon_search.png b/content/images/icon_search.png new file mode 100755 index 0000000..9c8aecc Binary files /dev/null and b/content/images/icon_search.png differ diff --git a/content/images/img/about.jpg b/content/images/img/about.jpg new file mode 100755 index 0000000..c6130e3 Binary files /dev/null and b/content/images/img/about.jpg differ diff --git a/content/images/img/about_1.jpg b/content/images/img/about_1.jpg new file mode 100755 index 0000000..3564413 Binary files /dev/null and b/content/images/img/about_1.jpg differ diff --git a/content/images/img/about_2.jpg b/content/images/img/about_2.jpg new file mode 100755 index 0000000..3564413 Binary files /dev/null and b/content/images/img/about_2.jpg differ diff --git a/content/images/img/about_3.jpg b/content/images/img/about_3.jpg new file mode 100755 index 0000000..3564413 Binary files /dev/null and b/content/images/img/about_3.jpg differ diff --git a/content/images/img/about_4.jpg b/content/images/img/about_4.jpg new file mode 100755 index 0000000..3564413 Binary files /dev/null and b/content/images/img/about_4.jpg differ diff --git a/content/images/img/ambleside.png b/content/images/img/ambleside.png new file mode 100755 index 0000000..2d82cc5 Binary files /dev/null and b/content/images/img/ambleside.png differ diff --git a/content/images/img/animal.png b/content/images/img/animal.png new file mode 100755 index 0000000..0e33b35 Binary files /dev/null and b/content/images/img/animal.png differ diff --git a/content/images/img/author.jpg b/content/images/img/author.jpg new file mode 100755 index 0000000..bba0efc Binary files /dev/null and b/content/images/img/author.jpg differ diff --git a/content/images/img/blog_1.jpg b/content/images/img/blog_1.jpg new file mode 100755 index 0000000..c6130e3 Binary files /dev/null and b/content/images/img/blog_1.jpg differ diff --git a/content/images/img/blog_2.jpg b/content/images/img/blog_2.jpg new file mode 100755 index 0000000..bca5ef2 Binary files /dev/null and b/content/images/img/blog_2.jpg differ diff --git a/content/images/img/blog_3.jpg b/content/images/img/blog_3.jpg new file mode 100755 index 0000000..3564413 Binary files /dev/null and b/content/images/img/blog_3.jpg differ diff --git a/content/images/img/fproject_4_1.jpg b/content/images/img/fproject_4_1.jpg new file mode 100755 index 0000000..0541476 Binary files /dev/null and b/content/images/img/fproject_4_1.jpg differ diff --git a/content/images/img/fproject_4_2.jpg b/content/images/img/fproject_4_2.jpg new file mode 100755 index 0000000..fe34ebf Binary files /dev/null and b/content/images/img/fproject_4_2.jpg differ diff --git a/content/images/img/fproject_4_3.jpg b/content/images/img/fproject_4_3.jpg new file mode 100755 index 0000000..fe34ebf Binary files /dev/null and b/content/images/img/fproject_4_3.jpg differ diff --git a/content/images/img/fproject_4_4.jpg b/content/images/img/fproject_4_4.jpg new file mode 100755 index 0000000..fe34ebf Binary files /dev/null and b/content/images/img/fproject_4_4.jpg differ diff --git a/content/images/img/fproject_4_5.jpg b/content/images/img/fproject_4_5.jpg new file mode 100755 index 0000000..fe34ebf Binary files /dev/null and b/content/images/img/fproject_4_5.jpg differ diff --git a/content/images/img/fproject_4_6.jpg b/content/images/img/fproject_4_6.jpg new file mode 100755 index 0000000..0541476 Binary files /dev/null and b/content/images/img/fproject_4_6.jpg differ diff --git a/content/images/img/fproject_4_7.jpg b/content/images/img/fproject_4_7.jpg new file mode 100755 index 0000000..fe34ebf Binary files /dev/null and b/content/images/img/fproject_4_7.jpg differ diff --git a/content/images/img/fproject_4_8.jpg b/content/images/img/fproject_4_8.jpg new file mode 100755 index 0000000..0541476 Binary files /dev/null and b/content/images/img/fproject_4_8.jpg differ diff --git a/content/images/img/icon_billing.png b/content/images/img/icon_billing.png new file mode 100755 index 0000000..9fbbac6 Binary files /dev/null and b/content/images/img/icon_billing.png differ diff --git a/content/images/img/icon_docs.png b/content/images/img/icon_docs.png new file mode 100755 index 0000000..ac70d80 Binary files /dev/null and b/content/images/img/icon_docs.png differ diff --git a/content/images/img/icon_facebook.png b/content/images/img/icon_facebook.png new file mode 100755 index 0000000..4d908c8 Binary files /dev/null and b/content/images/img/icon_facebook.png differ diff --git a/content/images/img/icon_google.png b/content/images/img/icon_google.png new file mode 100755 index 0000000..b2a1b7e Binary files /dev/null and b/content/images/img/icon_google.png differ diff --git a/content/images/img/icon_linkedin.png b/content/images/img/icon_linkedin.png new file mode 100755 index 0000000..59091a1 Binary files /dev/null and b/content/images/img/icon_linkedin.png differ diff --git a/content/images/img/icon_twitter.png b/content/images/img/icon_twitter.png new file mode 100755 index 0000000..0e0b597 Binary files /dev/null and b/content/images/img/icon_twitter.png differ diff --git a/content/images/img/oakland.png b/content/images/img/oakland.png new file mode 100755 index 0000000..52d0916 Binary files /dev/null and b/content/images/img/oakland.png differ diff --git a/content/images/img/pacifico.png b/content/images/img/pacifico.png new file mode 100755 index 0000000..db4077b Binary files /dev/null and b/content/images/img/pacifico.png differ diff --git a/content/images/img/services_1.jpg b/content/images/img/services_1.jpg new file mode 100755 index 0000000..a9952f8 Binary files /dev/null and b/content/images/img/services_1.jpg differ diff --git a/content/images/img/shepard.png b/content/images/img/shepard.png new file mode 100755 index 0000000..21e7198 Binary files /dev/null and b/content/images/img/shepard.png differ diff --git a/content/images/img/slide_1.jpg b/content/images/img/slide_1.jpg new file mode 100755 index 0000000..ffe4f02 Binary files /dev/null and b/content/images/img/slide_1.jpg differ diff --git a/content/images/img/slide_1_1.png b/content/images/img/slide_1_1.png new file mode 100755 index 0000000..8f351e3 Binary files /dev/null and b/content/images/img/slide_1_1.png differ diff --git a/content/images/img/slide_1_2.png b/content/images/img/slide_1_2.png new file mode 100755 index 0000000..802cc88 Binary files /dev/null and b/content/images/img/slide_1_2.png differ diff --git a/content/images/img/slide_1_3.png b/content/images/img/slide_1_3.png new file mode 100755 index 0000000..b96400d Binary files /dev/null and b/content/images/img/slide_1_3.png differ diff --git a/content/images/img/slide_2.jpg b/content/images/img/slide_2.jpg new file mode 100755 index 0000000..ffe4f02 Binary files /dev/null and b/content/images/img/slide_2.jpg differ diff --git a/content/images/img/slide_2_1.png b/content/images/img/slide_2_1.png new file mode 100755 index 0000000..8fdd4bd Binary files /dev/null and b/content/images/img/slide_2_1.png differ diff --git a/content/images/img/slide_2_2.png b/content/images/img/slide_2_2.png new file mode 100755 index 0000000..1e35121 Binary files /dev/null and b/content/images/img/slide_2_2.png differ diff --git a/content/images/img/slide_2_3.png b/content/images/img/slide_2_3.png new file mode 100755 index 0000000..1161889 Binary files /dev/null and b/content/images/img/slide_2_3.png differ diff --git a/content/images/img/slide_2_4.png b/content/images/img/slide_2_4.png new file mode 100755 index 0000000..e2e23c3 Binary files /dev/null and b/content/images/img/slide_2_4.png differ diff --git a/content/images/img/slide_2_5.png b/content/images/img/slide_2_5.png new file mode 100755 index 0000000..708137f Binary files /dev/null and b/content/images/img/slide_2_5.png differ diff --git a/content/images/img/slide_2_6.png b/content/images/img/slide_2_6.png new file mode 100755 index 0000000..deb65fd Binary files /dev/null and b/content/images/img/slide_2_6.png differ diff --git a/content/images/img/slide_2_7.png b/content/images/img/slide_2_7.png new file mode 100755 index 0000000..d826faa Binary files /dev/null and b/content/images/img/slide_2_7.png differ diff --git a/content/images/img/slide_2_8.png b/content/images/img/slide_2_8.png new file mode 100755 index 0000000..37bd079 Binary files /dev/null and b/content/images/img/slide_2_8.png differ diff --git a/content/images/img/slide_3.jpg b/content/images/img/slide_3.jpg new file mode 100755 index 0000000..ffe4f02 Binary files /dev/null and b/content/images/img/slide_3.jpg differ diff --git a/content/images/img/slide_3_1.png b/content/images/img/slide_3_1.png new file mode 100755 index 0000000..532a951 Binary files /dev/null and b/content/images/img/slide_3_1.png differ diff --git a/content/images/img/slide_4.jpg b/content/images/img/slide_4.jpg new file mode 100755 index 0000000..ffe4f02 Binary files /dev/null and b/content/images/img/slide_4.jpg differ diff --git a/content/images/img/splash_1.jpg b/content/images/img/splash_1.jpg new file mode 100755 index 0000000..0867350 Binary files /dev/null and b/content/images/img/splash_1.jpg differ diff --git a/content/images/img/splash_2.jpg b/content/images/img/splash_2.jpg new file mode 100755 index 0000000..0867350 Binary files /dev/null and b/content/images/img/splash_2.jpg differ diff --git a/content/images/img/splash_3.jpg b/content/images/img/splash_3.jpg new file mode 100755 index 0000000..0867350 Binary files /dev/null and b/content/images/img/splash_3.jpg differ diff --git a/content/images/img/tab_1.jpg b/content/images/img/tab_1.jpg new file mode 100755 index 0000000..b2f4741 Binary files /dev/null and b/content/images/img/tab_1.jpg differ diff --git a/content/images/img/tab_2.jpg b/content/images/img/tab_2.jpg new file mode 100755 index 0000000..b2f4741 Binary files /dev/null and b/content/images/img/tab_2.jpg differ diff --git a/content/images/img/tab_3.jpg b/content/images/img/tab_3.jpg new file mode 100755 index 0000000..b2f4741 Binary files /dev/null and b/content/images/img/tab_3.jpg differ diff --git a/content/images/img/tour.jpg b/content/images/img/tour.jpg new file mode 100755 index 0000000..1096fb7 Binary files /dev/null and b/content/images/img/tour.jpg differ diff --git a/content/images/img/typography_1.jpg b/content/images/img/typography_1.jpg new file mode 100755 index 0000000..3b368a8 Binary files /dev/null and b/content/images/img/typography_1.jpg differ diff --git a/content/images/img/typography_2.jpg b/content/images/img/typography_2.jpg new file mode 100755 index 0000000..3b368a8 Binary files /dev/null and b/content/images/img/typography_2.jpg differ diff --git a/content/images/img/typography_3.jpg b/content/images/img/typography_3.jpg new file mode 100755 index 0000000..3b368a8 Binary files /dev/null and b/content/images/img/typography_3.jpg differ diff --git a/content/images/img/user.jpg b/content/images/img/user.jpg new file mode 100755 index 0000000..802a4fb Binary files /dev/null and b/content/images/img/user.jpg differ diff --git a/content/images/img/video_img.jpg b/content/images/img/video_img.jpg new file mode 100755 index 0000000..e7953a2 Binary files /dev/null and b/content/images/img/video_img.jpg differ diff --git a/content/images/img/video_img_blog.jpg b/content/images/img/video_img_blog.jpg new file mode 100755 index 0000000..fa8fd40 Binary files /dev/null and b/content/images/img/video_img_blog.jpg differ diff --git a/content/images/img/video_youtube.jpg b/content/images/img/video_youtube.jpg new file mode 100755 index 0000000..bfe71ca Binary files /dev/null and b/content/images/img/video_youtube.jpg differ diff --git a/content/images/img/video_youtube_blog.jpg b/content/images/img/video_youtube_blog.jpg new file mode 100755 index 0000000..eed5b75 Binary files /dev/null and b/content/images/img/video_youtube_blog.jpg differ diff --git a/content/images/jPlayer/jp_bg.png b/content/images/jPlayer/jp_bg.png new file mode 100755 index 0000000..ed8f42d Binary files /dev/null and b/content/images/jPlayer/jp_bg.png differ diff --git a/content/images/jPlayer/jp_load.gif b/content/images/jPlayer/jp_load.gif new file mode 100755 index 0000000..a06f8fe Binary files /dev/null and b/content/images/jPlayer/jp_load.gif differ diff --git a/content/images/jPlayer/jp_play.png b/content/images/jPlayer/jp_play.png new file mode 100755 index 0000000..f2903c3 Binary files /dev/null and b/content/images/jPlayer/jp_play.png differ diff --git a/content/images/jPlayer/jp_sprite.png b/content/images/jPlayer/jp_sprite.png new file mode 100755 index 0000000..b458689 Binary files /dev/null and b/content/images/jPlayer/jp_sprite.png differ diff --git a/content/images/loader.gif b/content/images/loader.gif new file mode 100755 index 0000000..9b1a932 Binary files /dev/null and b/content/images/loader.gif differ diff --git a/content/images/loader_white.gif b/content/images/loader_white.gif new file mode 100755 index 0000000..b36c6c4 Binary files /dev/null and b/content/images/loader_white.gif differ diff --git a/content/images/logo.png b/content/images/logo.png new file mode 100755 index 0000000..8406ab8 Binary files /dev/null and b/content/images/logo.png differ diff --git a/content/images/notice.png b/content/images/notice.png new file mode 100755 index 0000000..476c040 Binary files /dev/null and b/content/images/notice.png differ diff --git a/content/images/pixel.png b/content/images/pixel.png new file mode 100755 index 0000000..8705eb1 Binary files /dev/null and b/content/images/pixel.png differ diff --git a/content/images/prettyPhoto/dark_rounded/btnNext.png b/content/images/prettyPhoto/dark_rounded/btnNext.png new file mode 100755 index 0000000..b28c1ef Binary files /dev/null and b/content/images/prettyPhoto/dark_rounded/btnNext.png differ diff --git a/content/images/prettyPhoto/dark_rounded/btnPrevious.png b/content/images/prettyPhoto/dark_rounded/btnPrevious.png new file mode 100755 index 0000000..e0cd9c4 Binary files /dev/null and b/content/images/prettyPhoto/dark_rounded/btnPrevious.png differ diff --git a/content/images/prettyPhoto/dark_rounded/contentPattern.png b/content/images/prettyPhoto/dark_rounded/contentPattern.png new file mode 100755 index 0000000..e5a047c Binary files /dev/null and b/content/images/prettyPhoto/dark_rounded/contentPattern.png differ diff --git a/content/images/prettyPhoto/dark_rounded/default_thumbnail.gif b/content/images/prettyPhoto/dark_rounded/default_thumbnail.gif new file mode 100755 index 0000000..2b1280f Binary files /dev/null and b/content/images/prettyPhoto/dark_rounded/default_thumbnail.gif differ diff --git a/content/images/prettyPhoto/dark_rounded/loader.gif b/content/images/prettyPhoto/dark_rounded/loader.gif new file mode 100755 index 0000000..50820ee Binary files /dev/null and b/content/images/prettyPhoto/dark_rounded/loader.gif differ diff --git a/content/images/prettyPhoto/dark_rounded/sprite.png b/content/images/prettyPhoto/dark_rounded/sprite.png new file mode 100755 index 0000000..fb8c0f8 Binary files /dev/null and b/content/images/prettyPhoto/dark_rounded/sprite.png differ diff --git a/content/images/prettyPhoto/dark_square/btnNext.png b/content/images/prettyPhoto/dark_square/btnNext.png new file mode 100755 index 0000000..b28c1ef Binary files /dev/null and b/content/images/prettyPhoto/dark_square/btnNext.png differ diff --git a/content/images/prettyPhoto/dark_square/btnPrevious.png b/content/images/prettyPhoto/dark_square/btnPrevious.png new file mode 100755 index 0000000..e0cd9c4 Binary files /dev/null and b/content/images/prettyPhoto/dark_square/btnPrevious.png differ diff --git a/content/images/prettyPhoto/dark_square/contentPattern.png b/content/images/prettyPhoto/dark_square/contentPattern.png new file mode 100755 index 0000000..7b50aff Binary files /dev/null and b/content/images/prettyPhoto/dark_square/contentPattern.png differ diff --git a/content/images/prettyPhoto/dark_square/default_thumbnail.gif b/content/images/prettyPhoto/dark_square/default_thumbnail.gif new file mode 100755 index 0000000..2b1280f Binary files /dev/null and b/content/images/prettyPhoto/dark_square/default_thumbnail.gif differ diff --git a/content/images/prettyPhoto/dark_square/loader.gif b/content/images/prettyPhoto/dark_square/loader.gif new file mode 100755 index 0000000..50820ee Binary files /dev/null and b/content/images/prettyPhoto/dark_square/loader.gif differ diff --git a/content/images/prettyPhoto/dark_square/sprite.png b/content/images/prettyPhoto/dark_square/sprite.png new file mode 100755 index 0000000..4fe3547 Binary files /dev/null and b/content/images/prettyPhoto/dark_square/sprite.png differ diff --git a/content/images/prettyPhoto/default/default_thumb.png b/content/images/prettyPhoto/default/default_thumb.png new file mode 100755 index 0000000..1a26e4b Binary files /dev/null and b/content/images/prettyPhoto/default/default_thumb.png differ diff --git a/content/images/prettyPhoto/default/loader.gif b/content/images/prettyPhoto/default/loader.gif new file mode 100755 index 0000000..35d397c Binary files /dev/null and b/content/images/prettyPhoto/default/loader.gif differ diff --git a/content/images/prettyPhoto/default/sprite.png b/content/images/prettyPhoto/default/sprite.png new file mode 100755 index 0000000..5f07ddc Binary files /dev/null and b/content/images/prettyPhoto/default/sprite.png differ diff --git a/content/images/prettyPhoto/default/sprite_next.png b/content/images/prettyPhoto/default/sprite_next.png new file mode 100755 index 0000000..379dc0d Binary files /dev/null and b/content/images/prettyPhoto/default/sprite_next.png differ diff --git a/content/images/prettyPhoto/default/sprite_prev.png b/content/images/prettyPhoto/default/sprite_prev.png new file mode 100755 index 0000000..1ee4865 Binary files /dev/null and b/content/images/prettyPhoto/default/sprite_prev.png differ diff --git a/content/images/prettyPhoto/default/sprite_x.png b/content/images/prettyPhoto/default/sprite_x.png new file mode 100755 index 0000000..d4433ab Binary files /dev/null and b/content/images/prettyPhoto/default/sprite_x.png differ diff --git a/content/images/prettyPhoto/default/sprite_y.png b/content/images/prettyPhoto/default/sprite_y.png new file mode 100755 index 0000000..7786ab5 Binary files /dev/null and b/content/images/prettyPhoto/default/sprite_y.png differ diff --git a/content/images/prettyPhoto/facebook/btnNext.png b/content/images/prettyPhoto/facebook/btnNext.png new file mode 100755 index 0000000..e809c3b Binary files /dev/null and b/content/images/prettyPhoto/facebook/btnNext.png differ diff --git a/content/images/prettyPhoto/facebook/btnPrevious.png b/content/images/prettyPhoto/facebook/btnPrevious.png new file mode 100755 index 0000000..0812542 Binary files /dev/null and b/content/images/prettyPhoto/facebook/btnPrevious.png differ diff --git a/content/images/prettyPhoto/facebook/contentPatternBottom.png b/content/images/prettyPhoto/facebook/contentPatternBottom.png new file mode 100755 index 0000000..a9be3b2 Binary files /dev/null and b/content/images/prettyPhoto/facebook/contentPatternBottom.png differ diff --git a/content/images/prettyPhoto/facebook/contentPatternLeft.png b/content/images/prettyPhoto/facebook/contentPatternLeft.png new file mode 100755 index 0000000..277c87a Binary files /dev/null and b/content/images/prettyPhoto/facebook/contentPatternLeft.png differ diff --git a/content/images/prettyPhoto/facebook/contentPatternRight.png b/content/images/prettyPhoto/facebook/contentPatternRight.png new file mode 100755 index 0000000..76e50d0 Binary files /dev/null and b/content/images/prettyPhoto/facebook/contentPatternRight.png differ diff --git a/content/images/prettyPhoto/facebook/contentPatternTop.png b/content/images/prettyPhoto/facebook/contentPatternTop.png new file mode 100755 index 0000000..8b110ba Binary files /dev/null and b/content/images/prettyPhoto/facebook/contentPatternTop.png differ diff --git a/content/images/prettyPhoto/facebook/default_thumbnail.gif b/content/images/prettyPhoto/facebook/default_thumbnail.gif new file mode 100755 index 0000000..2b1280f Binary files /dev/null and b/content/images/prettyPhoto/facebook/default_thumbnail.gif differ diff --git a/content/images/prettyPhoto/facebook/loader.gif b/content/images/prettyPhoto/facebook/loader.gif new file mode 100755 index 0000000..7ac990c Binary files /dev/null and b/content/images/prettyPhoto/facebook/loader.gif differ diff --git a/content/images/prettyPhoto/facebook/sprite.png b/content/images/prettyPhoto/facebook/sprite.png new file mode 100755 index 0000000..660a254 Binary files /dev/null and b/content/images/prettyPhoto/facebook/sprite.png differ diff --git a/content/images/prettyPhoto/light_rounded/btnNext.png b/content/images/prettyPhoto/light_rounded/btnNext.png new file mode 100755 index 0000000..b28c1ef Binary files /dev/null and b/content/images/prettyPhoto/light_rounded/btnNext.png differ diff --git a/content/images/prettyPhoto/light_rounded/btnPrevious.png b/content/images/prettyPhoto/light_rounded/btnPrevious.png new file mode 100755 index 0000000..e0cd9c4 Binary files /dev/null and b/content/images/prettyPhoto/light_rounded/btnPrevious.png differ diff --git a/content/images/prettyPhoto/light_rounded/default_thumbnail.gif b/content/images/prettyPhoto/light_rounded/default_thumbnail.gif new file mode 100755 index 0000000..2b1280f Binary files /dev/null and b/content/images/prettyPhoto/light_rounded/default_thumbnail.gif differ diff --git a/content/images/prettyPhoto/light_rounded/loader.gif b/content/images/prettyPhoto/light_rounded/loader.gif new file mode 100755 index 0000000..7ac990c Binary files /dev/null and b/content/images/prettyPhoto/light_rounded/loader.gif differ diff --git a/content/images/prettyPhoto/light_rounded/sprite.png b/content/images/prettyPhoto/light_rounded/sprite.png new file mode 100755 index 0000000..7f28379 Binary files /dev/null and b/content/images/prettyPhoto/light_rounded/sprite.png differ diff --git a/content/images/prettyPhoto/light_square/btnNext.png b/content/images/prettyPhoto/light_square/btnNext.png new file mode 100755 index 0000000..b28c1ef Binary files /dev/null and b/content/images/prettyPhoto/light_square/btnNext.png differ diff --git a/content/images/prettyPhoto/light_square/btnPrevious.png b/content/images/prettyPhoto/light_square/btnPrevious.png new file mode 100755 index 0000000..e0cd9c4 Binary files /dev/null and b/content/images/prettyPhoto/light_square/btnPrevious.png differ diff --git a/content/images/prettyPhoto/light_square/default_thumbnail.gif b/content/images/prettyPhoto/light_square/default_thumbnail.gif new file mode 100755 index 0000000..2b1280f Binary files /dev/null and b/content/images/prettyPhoto/light_square/default_thumbnail.gif differ diff --git a/content/images/prettyPhoto/light_square/loader.gif b/content/images/prettyPhoto/light_square/loader.gif new file mode 100755 index 0000000..7ac990c Binary files /dev/null and b/content/images/prettyPhoto/light_square/loader.gif differ diff --git a/content/images/prettyPhoto/light_square/sprite.png b/content/images/prettyPhoto/light_square/sprite.png new file mode 100755 index 0000000..4fe3547 Binary files /dev/null and b/content/images/prettyPhoto/light_square/sprite.png differ diff --git a/content/images/radio_check.png b/content/images/radio_check.png new file mode 100755 index 0000000..ad669c3 Binary files /dev/null and b/content/images/radio_check.png differ diff --git a/content/images/resp_divider.png b/content/images/resp_divider.png new file mode 100755 index 0000000..26a1344 Binary files /dev/null and b/content/images/resp_divider.png differ diff --git a/content/images/resp_navi_bg.png b/content/images/resp_navi_bg.png new file mode 100755 index 0000000..a3f6e90 Binary files /dev/null and b/content/images/resp_navi_bg.png differ diff --git a/content/images/share_icons/bligg.png b/content/images/share_icons/bligg.png new file mode 100755 index 0000000..adf6080 Binary files /dev/null and b/content/images/share_icons/bligg.png differ diff --git a/content/images/share_icons/blogmarks.png b/content/images/share_icons/blogmarks.png new file mode 100755 index 0000000..ed49368 Binary files /dev/null and b/content/images/share_icons/blogmarks.png differ diff --git a/content/images/share_icons/delicious.png b/content/images/share_icons/delicious.png new file mode 100755 index 0000000..252ca55 Binary files /dev/null and b/content/images/share_icons/delicious.png differ diff --git a/content/images/share_icons/digg.png b/content/images/share_icons/digg.png new file mode 100755 index 0000000..8f31940 Binary files /dev/null and b/content/images/share_icons/digg.png differ diff --git a/content/images/share_icons/ekudos.png b/content/images/share_icons/ekudos.png new file mode 100755 index 0000000..a00cc87 Binary files /dev/null and b/content/images/share_icons/ekudos.png differ diff --git a/content/images/share_icons/facebook.png b/content/images/share_icons/facebook.png new file mode 100755 index 0000000..a0181d6 Binary files /dev/null and b/content/images/share_icons/facebook.png differ diff --git a/content/images/share_icons/flickr.png b/content/images/share_icons/flickr.png new file mode 100755 index 0000000..1bb77d6 Binary files /dev/null and b/content/images/share_icons/flickr.png differ diff --git a/content/images/share_icons/furl.png b/content/images/share_icons/furl.png new file mode 100755 index 0000000..4f996f9 Binary files /dev/null and b/content/images/share_icons/furl.png differ diff --git a/content/images/share_icons/google.png b/content/images/share_icons/google.png new file mode 100755 index 0000000..850541d Binary files /dev/null and b/content/images/share_icons/google.png differ diff --git a/content/images/share_icons/googleplus.png b/content/images/share_icons/googleplus.png new file mode 100755 index 0000000..c776ff3 Binary files /dev/null and b/content/images/share_icons/googleplus.png differ diff --git a/content/images/share_icons/lastfm.png b/content/images/share_icons/lastfm.png new file mode 100755 index 0000000..79a5b1f Binary files /dev/null and b/content/images/share_icons/lastfm.png differ diff --git a/content/images/share_icons/linkedin.png b/content/images/share_icons/linkedin.png new file mode 100755 index 0000000..122ff0a Binary files /dev/null and b/content/images/share_icons/linkedin.png differ diff --git a/content/images/share_icons/live.png b/content/images/share_icons/live.png new file mode 100755 index 0000000..b21c0a3 Binary files /dev/null and b/content/images/share_icons/live.png differ diff --git a/content/images/share_icons/magnolia.png b/content/images/share_icons/magnolia.png new file mode 100755 index 0000000..68820fe Binary files /dev/null and b/content/images/share_icons/magnolia.png differ diff --git a/content/images/share_icons/mail.png b/content/images/share_icons/mail.png new file mode 100755 index 0000000..9eeaa4b Binary files /dev/null and b/content/images/share_icons/mail.png differ diff --git a/content/images/share_icons/misterwong.png b/content/images/share_icons/misterwong.png new file mode 100755 index 0000000..a988b0b Binary files /dev/null and b/content/images/share_icons/misterwong.png differ diff --git a/content/images/share_icons/myspace.png b/content/images/share_icons/myspace.png new file mode 100755 index 0000000..7e152ce Binary files /dev/null and b/content/images/share_icons/myspace.png differ diff --git a/content/images/share_icons/netscape.png b/content/images/share_icons/netscape.png new file mode 100755 index 0000000..2115f77 Binary files /dev/null and b/content/images/share_icons/netscape.png differ diff --git a/content/images/share_icons/newsvine.png b/content/images/share_icons/newsvine.png new file mode 100755 index 0000000..67dd071 Binary files /dev/null and b/content/images/share_icons/newsvine.png differ diff --git a/content/images/share_icons/nujij.png b/content/images/share_icons/nujij.png new file mode 100755 index 0000000..fd672c3 Binary files /dev/null and b/content/images/share_icons/nujij.png differ diff --git a/content/images/share_icons/reddit.png b/content/images/share_icons/reddit.png new file mode 100755 index 0000000..d544fd1 Binary files /dev/null and b/content/images/share_icons/reddit.png differ diff --git a/content/images/share_icons/sphere.png b/content/images/share_icons/sphere.png new file mode 100755 index 0000000..e79a633 Binary files /dev/null and b/content/images/share_icons/sphere.png differ diff --git a/content/images/share_icons/stumbleupon.png b/content/images/share_icons/stumbleupon.png new file mode 100755 index 0000000..4454a20 Binary files /dev/null and b/content/images/share_icons/stumbleupon.png differ diff --git a/content/images/share_icons/symbaloo.png b/content/images/share_icons/symbaloo.png new file mode 100755 index 0000000..ecce703 Binary files /dev/null and b/content/images/share_icons/symbaloo.png differ diff --git a/content/images/share_icons/tailrank.png b/content/images/share_icons/tailrank.png new file mode 100755 index 0000000..da4f31e Binary files /dev/null and b/content/images/share_icons/tailrank.png differ diff --git a/content/images/share_icons/technorati.png b/content/images/share_icons/technorati.png new file mode 100755 index 0000000..e797c13 Binary files /dev/null and b/content/images/share_icons/technorati.png differ diff --git a/content/images/share_icons/tumblr.png b/content/images/share_icons/tumblr.png new file mode 100755 index 0000000..9f201c5 Binary files /dev/null and b/content/images/share_icons/tumblr.png differ diff --git a/content/images/share_icons/twitter.png b/content/images/share_icons/twitter.png new file mode 100755 index 0000000..6d85d73 Binary files /dev/null and b/content/images/share_icons/twitter.png differ diff --git a/content/images/share_icons/vimeo.png b/content/images/share_icons/vimeo.png new file mode 100755 index 0000000..1ee1752 Binary files /dev/null and b/content/images/share_icons/vimeo.png differ diff --git a/content/images/share_icons/yahoo.png b/content/images/share_icons/yahoo.png new file mode 100755 index 0000000..b81be2e Binary files /dev/null and b/content/images/share_icons/yahoo.png differ diff --git a/content/images/share_icons/youtube.png b/content/images/share_icons/youtube.png new file mode 100755 index 0000000..fa0e0fc Binary files /dev/null and b/content/images/share_icons/youtube.png differ diff --git a/content/images/socicons/aim.png b/content/images/socicons/aim.png new file mode 100755 index 0000000..2957ac4 Binary files /dev/null and b/content/images/socicons/aim.png differ diff --git a/content/images/socicons/amazon.png b/content/images/socicons/amazon.png new file mode 100755 index 0000000..ae7d750 Binary files /dev/null and b/content/images/socicons/amazon.png differ diff --git a/content/images/socicons/appstore.png b/content/images/socicons/appstore.png new file mode 100755 index 0000000..f6bdd54 Binary files /dev/null and b/content/images/socicons/appstore.png differ diff --git a/content/images/socicons/bebo.png b/content/images/socicons/bebo.png new file mode 100755 index 0000000..863a02e Binary files /dev/null and b/content/images/socicons/bebo.png differ diff --git a/content/images/socicons/behance.png b/content/images/socicons/behance.png new file mode 100755 index 0000000..3e56002 Binary files /dev/null and b/content/images/socicons/behance.png differ diff --git a/content/images/socicons/blogger.png b/content/images/socicons/blogger.png new file mode 100755 index 0000000..ace09ea Binary files /dev/null and b/content/images/socicons/blogger.png differ diff --git a/content/images/socicons/delicious.png b/content/images/socicons/delicious.png new file mode 100755 index 0000000..03da24d Binary files /dev/null and b/content/images/socicons/delicious.png differ diff --git a/content/images/socicons/deviantart.png b/content/images/socicons/deviantart.png new file mode 100755 index 0000000..2acee62 Binary files /dev/null and b/content/images/socicons/deviantart.png differ diff --git a/content/images/socicons/digg.png b/content/images/socicons/digg.png new file mode 100755 index 0000000..46929ce Binary files /dev/null and b/content/images/socicons/digg.png differ diff --git a/content/images/socicons/dribbble.png b/content/images/socicons/dribbble.png new file mode 100755 index 0000000..9f0e04a Binary files /dev/null and b/content/images/socicons/dribbble.png differ diff --git a/content/images/socicons/email.png b/content/images/socicons/email.png new file mode 100755 index 0000000..3f95fd4 Binary files /dev/null and b/content/images/socicons/email.png differ diff --git a/content/images/socicons/facebook.png b/content/images/socicons/facebook.png new file mode 100755 index 0000000..784443f Binary files /dev/null and b/content/images/socicons/facebook.png differ diff --git a/content/images/socicons/flickr.png b/content/images/socicons/flickr.png new file mode 100755 index 0000000..71eb3d2 Binary files /dev/null and b/content/images/socicons/flickr.png differ diff --git a/content/images/socicons/google-plus.png b/content/images/socicons/google-plus.png new file mode 100755 index 0000000..5ed3196 Binary files /dev/null and b/content/images/socicons/google-plus.png differ diff --git a/content/images/socicons/google.png b/content/images/socicons/google.png new file mode 100755 index 0000000..a55a28f Binary files /dev/null and b/content/images/socicons/google.png differ diff --git a/content/images/socicons/last-fm.png b/content/images/socicons/last-fm.png new file mode 100755 index 0000000..52e344d Binary files /dev/null and b/content/images/socicons/last-fm.png differ diff --git a/content/images/socicons/linkedin.png b/content/images/socicons/linkedin.png new file mode 100755 index 0000000..d2668b1 Binary files /dev/null and b/content/images/socicons/linkedin.png differ diff --git a/content/images/socicons/myspace.png b/content/images/socicons/myspace.png new file mode 100755 index 0000000..45ad915 Binary files /dev/null and b/content/images/socicons/myspace.png differ diff --git a/content/images/socicons/paypal.png b/content/images/socicons/paypal.png new file mode 100755 index 0000000..b0a4168 Binary files /dev/null and b/content/images/socicons/paypal.png differ diff --git a/content/images/socicons/picasa.png b/content/images/socicons/picasa.png new file mode 100755 index 0000000..c8c14be Binary files /dev/null and b/content/images/socicons/picasa.png differ diff --git a/content/images/socicons/pinterest.png b/content/images/socicons/pinterest.png new file mode 100755 index 0000000..a68a276 Binary files /dev/null and b/content/images/socicons/pinterest.png differ diff --git a/content/images/socicons/rss.png b/content/images/socicons/rss.png new file mode 100755 index 0000000..6506af3 Binary files /dev/null and b/content/images/socicons/rss.png differ diff --git a/content/images/socicons/skype.png b/content/images/socicons/skype.png new file mode 100755 index 0000000..6fa59f3 Binary files /dev/null and b/content/images/socicons/skype.png differ diff --git a/content/images/socicons/stumbleupon.png b/content/images/socicons/stumbleupon.png new file mode 100755 index 0000000..28bd095 Binary files /dev/null and b/content/images/socicons/stumbleupon.png differ diff --git a/content/images/socicons/tumblr.png b/content/images/socicons/tumblr.png new file mode 100755 index 0000000..e060219 Binary files /dev/null and b/content/images/socicons/tumblr.png differ diff --git a/content/images/socicons/twitter.png b/content/images/socicons/twitter.png new file mode 100755 index 0000000..e389ca2 Binary files /dev/null and b/content/images/socicons/twitter.png differ diff --git a/content/images/socicons/twitter2.png b/content/images/socicons/twitter2.png new file mode 100755 index 0000000..6bc9a23 Binary files /dev/null and b/content/images/socicons/twitter2.png differ diff --git a/content/images/socicons/vimeo.png b/content/images/socicons/vimeo.png new file mode 100755 index 0000000..79b80c6 Binary files /dev/null and b/content/images/socicons/vimeo.png differ diff --git a/content/images/socicons/website.png b/content/images/socicons/website.png new file mode 100755 index 0000000..0216f27 Binary files /dev/null and b/content/images/socicons/website.png differ diff --git a/content/images/socicons/wordpress.png b/content/images/socicons/wordpress.png new file mode 100755 index 0000000..f1573d3 Binary files /dev/null and b/content/images/socicons/wordpress.png differ diff --git a/content/images/socicons/yahoo.png b/content/images/socicons/yahoo.png new file mode 100755 index 0000000..17ef658 Binary files /dev/null and b/content/images/socicons/yahoo.png differ diff --git a/content/images/socicons/youtube.png b/content/images/socicons/youtube.png new file mode 100755 index 0000000..b21a676 Binary files /dev/null and b/content/images/socicons/youtube.png differ diff --git a/content/images/success.png b/content/images/success.png new file mode 100755 index 0000000..01ea3f1 Binary files /dev/null and b/content/images/success.png differ diff --git a/content/images/timer.png b/content/images/timer.png new file mode 100755 index 0000000..39827d9 Binary files /dev/null and b/content/images/timer.png differ diff --git a/content/images/tog_divider.png b/content/images/tog_divider.png new file mode 100755 index 0000000..f0ba986 Binary files /dev/null and b/content/images/tog_divider.png differ diff --git a/content/images/top_slide.png b/content/images/top_slide.png new file mode 100755 index 0000000..1c66f6b Binary files /dev/null and b/content/images/top_slide.png differ diff --git a/content/images/video.png b/content/images/video.png new file mode 100755 index 0000000..ed94de6 Binary files /dev/null and b/content/images/video.png differ diff --git a/content/images/video_close.png b/content/images/video_close.png new file mode 100755 index 0000000..6ee6b8b Binary files /dev/null and b/content/images/video_close.png differ diff --git a/content/images/warning.png b/content/images/warning.png new file mode 100755 index 0000000..fd85bc0 Binary files /dev/null and b/content/images/warning.png differ diff --git a/content/index.haml b/content/index.haml index 9d73e2b..010ed0b 100644 --- a/content/index.haml +++ b/content/index.haml @@ -1,14 +1,15 @@ --- title: Home --- -%h1 ariejan.net +.headline + %h2 Ariejan's Blog +.content_wrap.nobg + %section#middle_content + - articles_by_year.each do |year, articles| + %h2= year -#posts -- articles_by_year.each do |year, articles| - %h2= year - - %ol - - articles.each do |article| - %li - %span.date= article[:created_at] - = link_to article[:title], article.path + %ol + - articles.each do |article| + %li + %span.date= article[:created_at] + = link_to article[:title], article.path diff --git a/content/js/_jquery.js b/content/js/_jquery.js new file mode 100644 index 0000000..a39aba7 --- /dev/null +++ b/content/js/_jquery.js @@ -0,0 +1,12 @@ +/** + * @package WordPress + * @subpackage Pacifico + * @since Pacifico 1.0 + */ + +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ + + +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); diff --git a/content/js/_jquery_easing.js b/content/js/_jquery_easing.js new file mode 100644 index 0000000..7009001 --- /dev/null +++ b/content/js/_jquery_easing.js @@ -0,0 +1,8 @@ +/* + * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ + * + * Open source under the BSD License. + * Copyright 2008 George McGinley Smith + */ + +jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b+c;return-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b+c;return d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b+c;return-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b*b+c;return d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){if(b==0)return c;if(b==e)return c+d;if((b/=e/2)<1)return d/2*Math.pow(2,10*(b-1))+c;return d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){if((b/=e/2)<1)return-d/2*(Math.sqrt(1-b*b)-1)+c;return d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h
 
',gallery_markup:'',image_markup:'',flash_markup:'',quicktime_markup:'',iframe_markup:'',inline_markup:'
{content}
',custom_markup:'',social_tools:''},pp_settings);var matchedObjects=this,percentBased=false,pp_dimensions,pp_open,pp_contentHeight,pp_contentWidth,pp_containerHeight,pp_containerWidth,windowHeight=$(window).height(),windowWidth=$(window).width(),pp_slideshow;doresize=true,scroll_pos=_get_scroll();$(window).unbind('resize.prettyphoto').bind('resize.prettyphoto',function(){_center_overlay();_resize_overlay();});if(pp_settings.keyboard_shortcuts){$(document).unbind('keydown.prettyphoto').bind('keydown.prettyphoto',function(e){if(typeof $pp_pic_holder!='undefined'){if($pp_pic_holder.is(':visible')){switch(e.keyCode){case 37:$.prettyPhoto.changePage('previous');e.preventDefault();break;case 39:$.prettyPhoto.changePage('next');e.preventDefault();break;case 27:if(!settings.modal) +$.prettyPhoto.close();e.preventDefault();break;};};};});};$.prettyPhoto.initialize=function(){settings=pp_settings;if(settings.theme=='pp_default')settings.horizontal_padding=16;if(settings.ie6_fallback&&$.browser.msie&&parseInt($.browser.version)==6)settings.theme="light_square";theRel=$(this).attr('rel');galleryRegExp=/\[(?:.*)\]/;isSet=(galleryRegExp.exec(theRel))?true:false;pp_images=(isSet)?jQuery.map(matchedObjects,function(n,i){if($(n).attr('rel').indexOf(theRel)!=-1)return $(n).attr('href');}):$.makeArray($(this).attr('href'));pp_titles=(isSet)?jQuery.map(matchedObjects,function(n,i){if($(n).attr('rel').indexOf(theRel)!=-1)return($(n).find('img').attr('alt'))?$(n).find('img').attr('alt'):"";}):$.makeArray($(this).find('img').attr('alt'));pp_descriptions=(isSet)?jQuery.map(matchedObjects,function(n,i){if($(n).attr('rel').indexOf(theRel)!=-1)return($(n).attr('title'))?$(n).attr('title'):"";}):$.makeArray($(this).attr('title'));set_position=jQuery.inArray($(this).attr('href'),pp_images);rel_index=(isSet)?set_position:$("a[rel^='"+theRel+"']").index($(this));_build_overlay(this);if(settings.allow_resize) +$(window).bind('scroll.prettyphoto',function(){_center_overlay();});$.prettyPhoto.open();return false;} +$.prettyPhoto.open=function(event){if(typeof settings=="undefined"){settings=pp_settings;if($.browser.msie&&$.browser.version==6)settings.theme="light_square";pp_images=$.makeArray(arguments[0]);pp_titles=(arguments[1])?$.makeArray(arguments[1]):$.makeArray("");pp_descriptions=(arguments[2])?$.makeArray(arguments[2]):$.makeArray("");isSet=(pp_images.length>1)?true:false;set_position=0;_build_overlay(event.target);} +if($.browser.msie&&$.browser.version==6)$('select').css('visibility','hidden');if(settings.hideflash)$('object,embed,iframe[src*=youtube],iframe[src*=vimeo]').css('visibility','hidden');_checkPosition($(pp_images).size());$('.pp_loaderIcon').show();if($ppt.is(':hidden'))$ppt.css('opacity',0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find('.currentTextHolder').text((set_position+1)+settings.counter_separator_label+$(pp_images).size());if(pp_descriptions[set_position]!=""){$pp_pic_holder.find('.pp_description').show().html(unescape(pp_descriptions[set_position]));}else{$pp_pic_holder.find('.pp_description').hide();} +movie_width=(parseFloat(getParam('width',pp_images[set_position])))?getParam('width',pp_images[set_position]):settings.default_width.toString();movie_height=(parseFloat(getParam('height',pp_images[set_position])))?getParam('height',pp_images[set_position]):settings.default_height.toString();percentBased=false;if(movie_height.indexOf('%')!=-1){movie_height=parseFloat(($(window).height()*parseFloat(movie_height)/100)-150);percentBased=true;} +if(movie_width.indexOf('%')!=-1){movie_width=parseFloat(($(window).width()*parseFloat(movie_width)/100)-150);percentBased=true;} +$pp_pic_holder.fadeIn(function(){(settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined")?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(' ');imgPreloader="";skipInjection=false;switch(_getFileType(pp_images[set_position])){case'image':imgPreloader=new Image();nextImage=new Image();if(isSet&&set_position<$(pp_images).size()-1)nextImage.src=pp_images[set_position+1];prevImage=new Image();if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find('#pp_full_res')[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){pp_dimensions=_fitToViewport(imgPreloader.width,imgPreloader.height);_showContent();};imgPreloader.onerror=function(){alert('Image cannot be loaded. Make sure the path is correct and image exist.');$.prettyPhoto.close();};imgPreloader.src=pp_images[set_position];break;case'youtube':pp_dimensions=_fitToViewport(movie_width,movie_height);movie='http://www.youtube.com/embed/'+getParam('v',pp_images[set_position]);(getParam('rel',pp_images[set_position]))?movie+="?rel="+getParam('rel',pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case'vimeo':pp_dimensions=_fitToViewport(movie_width,movie_height);movie_id=pp_images[set_position];var regExp=/http:\/\/(www\.)?vimeo.com\/(\d+)/;var match=movie_id.match(regExp);movie='http://player.vimeo.com/video/'+match[2]+'?title=0&byline=0&portrait=0';if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=pp_dimensions['width']+'/embed/?moog_width='+pp_dimensions['width'];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,pp_dimensions['height']).replace(/{path}/g,movie);break;case'quicktime':pp_dimensions=_fitToViewport(movie_width,movie_height);pp_dimensions['height']+=15;pp_dimensions['contentHeight']+=15;pp_dimensions['containerHeight']+=15;toInject=settings.quicktime_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case'flash':pp_dimensions=_fitToViewport(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf('flashvars')+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf('?'));toInject=settings.flash_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+'?'+flash_vars);break;case'iframe':pp_dimensions=_fitToViewport(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf('iframe')-1);toInject=settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{path}/g,frame_url);break;case'ajax':doresize=false;pp_dimensions=_fitToViewport(movie_width,movie_height);doresize=true;skipInjection=true;$.get(pp_images[set_position],function(responseHTML){toInject=settings.inline_markup.replace(/{content}/g,responseHTML);$pp_pic_holder.find('#pp_full_res')[0].innerHTML=toInject;_showContent();});break;case'custom':pp_dimensions=_fitToViewport(movie_width,movie_height);toInject=settings.custom_markup;break;case'inline':myClone=$(pp_images[set_position]).clone().append('
').css({'width':settings.default_width}).wrapInner('
').appendTo($('body')).show();doresize=false;pp_dimensions=_fitToViewport($(myClone).width(),$(myClone).height());doresize=true;$(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,$(pp_images[set_position]).html());break;};if(!imgPreloader&&!skipInjection){$pp_pic_holder.find('#pp_full_res')[0].innerHTML=toInject;_showContent();};});return false;};$.prettyPhoto.changePage=function(direction){currentGalleryPage=0;if(direction=='previous'){set_position--;if(set_position<0)set_position=$(pp_images).size()-1;}else if(direction=='next'){set_position++;if(set_position>$(pp_images).size()-1)set_position=0;}else{set_position=direction;};rel_index=set_position;if(!doresize)doresize=true;$('.pp_contract').removeClass('pp_contract').addClass('pp_expand');_hideContent(function(){$.prettyPhoto.open();});};$.prettyPhoto.changeGalleryPage=function(direction){if(direction=='next'){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0;}else if(direction=='previous'){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage;}else{currentGalleryPage=direction;};slide_speed=(direction=='next'||direction=='previous')?settings.animation_speed:0;slide_to=currentGalleryPage*(itemsPerPage*itemWidth);$pp_gallery.find('ul').animate({left:-slide_to},slide_speed);};$.prettyPhoto.startSlideshow=function(){if(typeof pp_slideshow=='undefined'){$pp_pic_holder.find('.pp_play').unbind('click').removeClass('pp_play').addClass('pp_pause').click(function(){$.prettyPhoto.stopSlideshow();return false;});pp_slideshow=setInterval($.prettyPhoto.startSlideshow,settings.slideshow);}else{$.prettyPhoto.changePage('next');};} +$.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find('.pp_pause').unbind('click').removeClass('pp_pause').addClass('pp_play').click(function(){$.prettyPhoto.startSlideshow();return false;});clearInterval(pp_slideshow);pp_slideshow=undefined;} +$.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;$.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find('object,embed').css('visibility','hidden');$('div.pp_pic_holder,div.ppt,.pp_fade').fadeOut(settings.animation_speed,function(){$(this).remove();});$pp_overlay.fadeOut(settings.animation_speed,function(){if($.browser.msie&&$.browser.version==6)$('select').css('visibility','visible');if(settings.hideflash)$('object,embed,iframe[src*=youtube],iframe[src*=vimeo]').css('visibility','visible');$(this).remove();$(window).unbind('scroll.prettyphoto');settings.callback();doresize=true;pp_open=false;delete settings;});};function _showContent(){$('.pp_loaderIcon').hide();projectedTop=scroll_pos['scrollTop']+((windowHeight/2)-(pp_dimensions['containerHeight']/2));if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find('.pp_content').animate({height:pp_dimensions['contentHeight'],width:pp_dimensions['contentWidth']},settings.animation_speed);$pp_pic_holder.animate({'top':projectedTop,'left':(windowWidth/2)-(pp_dimensions['containerWidth']/2),width:pp_dimensions['containerWidth']},settings.animation_speed,function(){$pp_pic_holder.find('.pp_hoverContainer,#fullResImage').height(pp_dimensions['height']).width(pp_dimensions['width']);$pp_pic_holder.find('.pp_fade').fadeIn(settings.animation_speed);if(isSet&&_getFileType(pp_images[set_position])=="image"){$pp_pic_holder.find('.pp_hoverContainer').show();}else{$pp_pic_holder.find('.pp_hoverContainer').hide();} +if(pp_dimensions['resized']){$('a.pp_expand,a.pp_contract').show();}else{$('a.pp_expand').hide();} +if(settings.autoplay_slideshow&&!pp_slideshow&&!pp_open)$.prettyPhoto.startSlideshow();if(settings.deeplinking) +setHashtag();settings.changepicturecallback();pp_open=true;});_insert_gallery();};function _hideContent(callback){$pp_pic_holder.find('#pp_full_res object,#pp_full_res embed').css('visibility','hidden');$pp_pic_holder.find('.pp_fade').fadeOut(settings.animation_speed,function(){$('.pp_loaderIcon').show();callback();});};function _checkPosition(setCount){(setCount>1)?$('.pp_nav').show():$('.pp_nav').hide();};function _fitToViewport(width,height){resized=false;_getDimensions(width,height);imageWidth=width,imageHeight=height;if(((pp_containerWidth>windowWidth)||(pp_containerHeight>windowHeight))&&doresize&&settings.allow_resize&&!percentBased){resized=true,fitting=false;while(!fitting){if((pp_containerWidth>windowWidth)){imageWidth=(windowWidth-200);imageHeight=(height/width)*imageWidth;}else if((pp_containerHeight>windowHeight)){imageHeight=(windowHeight-200);imageWidth=(width/height)*imageHeight;}else{fitting=true;};pp_containerHeight=imageHeight,pp_containerWidth=imageWidth;};_getDimensions(imageWidth,imageHeight);if((pp_containerWidth>windowWidth)||(pp_containerHeight>windowHeight)){_fitToViewport(pp_containerWidth,pp_containerHeight)};};return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(pp_containerHeight),containerWidth:Math.floor(pp_containerWidth)+(settings.horizontal_padding*2),contentHeight:Math.floor(pp_contentHeight),contentWidth:Math.floor(pp_contentWidth),resized:resized};};function _getDimensions(width,height){width=parseFloat(width);height=parseFloat(height);$pp_details=$pp_pic_holder.find('.pp_details');$pp_details.width(width);detailsHeight=parseFloat($pp_details.css('marginTop'))+parseFloat($pp_details.css('marginBottom'));$pp_details=$pp_details.clone().addClass(settings.theme).width(width).appendTo($('body')).css({'position':'absolute','top':-10000});detailsHeight+=$pp_details.height();detailsHeight=(detailsHeight<=34)?36:detailsHeight;if($.browser.msie&&$.browser.version==7)detailsHeight+=8;$pp_details.remove();$pp_title=$pp_pic_holder.find('.ppt');$pp_title.width(width);titleHeight=parseFloat($pp_title.css('marginTop'))+parseFloat($pp_title.css('marginBottom'));$pp_title=$pp_title.clone().appendTo($('body')).css({'position':'absolute','top':-10000});titleHeight+=$pp_title.height();$pp_title.remove();pp_contentHeight=height+detailsHeight;pp_contentWidth=width;pp_containerHeight=pp_contentHeight+titleHeight+$pp_pic_holder.find('.pp_top').height()+$pp_pic_holder.find('.pp_bottom').height();pp_containerWidth=width;} +function _getFileType(itemSrc){if(itemSrc.match(/youtube\.com\/watch/i)){return'youtube';}else if(itemSrc.match(/vimeo\.com/i)){return'vimeo';}else if(itemSrc.match(/\b.mov\b/i)){return'quicktime';}else if(itemSrc.match(/\b.swf\b/i)){return'flash';}else if(itemSrc.match(/\biframe=true\b/i)){return'iframe';}else if(itemSrc.match(/\bajax=true\b/i)){return'ajax';}else if(itemSrc.match(/\bcustom=true\b/i)){return'custom';}else if(itemSrc.substr(0,1)=='#'){return'inline';}else{return'image';};};function _center_overlay(){if(doresize&&typeof $pp_pic_holder!='undefined'){scroll_pos=_get_scroll();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=(windowHeight/2)+scroll_pos['scrollTop']-(contentHeight/2);if(projectedTop<0)projectedTop=0;if(contentHeight>windowHeight) +return;$pp_pic_holder.css({'top':projectedTop,'left':(windowWidth/2)+scroll_pos['scrollLeft']-(contentwidth/2)});};};function _get_scroll(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset};}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft};}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft};};};function _resize_overlay(){windowHeight=$(window).height(),windowWidth=$(window).width();if(typeof $pp_overlay!="undefined")$pp_overlay.height($(document).height()).width(windowWidth);};function _insert_gallery(){if(isSet&&settings.overlay_gallery&&_getFileType(pp_images[set_position])=="image"&&(settings.ie6_fallback&&!($.browser.msie&&parseInt($.browser.version)==6))){itemWidth=52+5;navWidth=(settings.theme=="facebook"||settings.theme=="pp_default")?50:30;itemsPerPage=Math.floor((pp_dimensions['containerWidth']-100-navWidth)/itemWidth);itemsPerPage=(itemsPerPage";};toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find('#pp_full_res').after(toInject);$pp_gallery=$('.pp_pic_holder .pp_gallery'),$pp_gallery_li=$pp_gallery.find('li');$pp_gallery.find('.pp_arrow_next').click(function(){$.prettyPhoto.changeGalleryPage('next');$.prettyPhoto.stopSlideshow();return false;});$pp_gallery.find('.pp_arrow_previous').click(function(){$.prettyPhoto.changeGalleryPage('previous');$.prettyPhoto.stopSlideshow();return false;});$pp_pic_holder.find('.pp_content').hover(function(){$pp_pic_holder.find('.pp_gallery:not(.disabled)').fadeIn();},function(){$pp_pic_holder.find('.pp_gallery:not(.disabled)').fadeOut();});itemWidth=52+5;$pp_gallery_li.each(function(i){$(this).find('a').click(function(){$.prettyPhoto.changePage(i);$.prettyPhoto.stopSlideshow();return false;});});};if(settings.slideshow){$pp_pic_holder.find('.pp_nav').prepend('Play') +$pp_pic_holder.find('.pp_nav .pp_play').click(function(){$.prettyPhoto.startSlideshow();return false;});} +$pp_pic_holder.attr('class','pp_pic_holder '+settings.theme);$pp_overlay.css({'opacity':0,'height':$(document).height(),'width':$(window).width()}).bind('click',function(){if(!settings.modal)$.prettyPhoto.close();});$('a.pp_close').bind('click',function(){$.prettyPhoto.close();return false;});$('a.pp_expand').bind('click',function(e){if($(this).hasClass('pp_expand')){$(this).removeClass('pp_expand').addClass('pp_contract');doresize=false;}else{$(this).removeClass('pp_contract').addClass('pp_expand');doresize=true;};_hideContent(function(){$.prettyPhoto.open();});return false;});$pp_pic_holder.find('.pp_previous, .pp_nav .pp_arrow_previous').bind('click',function(){$.prettyPhoto.changePage('previous');$.prettyPhoto.stopSlideshow();return false;});$pp_pic_holder.find('.pp_next, .pp_nav .pp_arrow_next').bind('click',function(){$.prettyPhoto.changePage('next');$.prettyPhoto.stopSlideshow();return false;});_center_overlay();};if(!pp_alreadyInitialized&&getHashtag()){pp_alreadyInitialized=true;hashIndex=getHashtag();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf('/')+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf('/'));setTimeout(function(){$("a[rel^='"+hashRel+"']:eq("+hashIndex+")").trigger('click');},50);} +return this.unbind('click.prettyphoto').bind('click.prettyphoto',$.prettyPhoto.initialize);};function getHashtag(){url=location.href;hashtag=(url.indexOf('#!')!=-1)?decodeURI(url.substring(url.indexOf('#!')+2,url.length)):false;return hashtag;};function setHashtag(){if(typeof theRel=='undefined')return;location.hash='!'+theRel+'/'+rel_index+'/';};function getParam(name,url){name=name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS="[\\?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(url);return(results==null)?"":results[1];}})(jQuery);var pp_alreadyInitialized=false; \ No newline at end of file diff --git a/content/js/_jquery_script.js b/content/js/_jquery_script.js new file mode 100644 index 0000000..5ed0fd9 --- /dev/null +++ b/content/js/_jquery_script.js @@ -0,0 +1,551 @@ +/** + * @package Site Template + * @subpackage Willbridge HTML + * @since Willbridge HTML 1.0 + * + * Template Scripts + * Created by CMSMasters + * + */ + +/* + * Responsive Content Slider v1.0.1 - jQuery Content Slider + * + * (c) Copyright Steven "cmsmasters" Masters + * http://cmsmastrs.net/ + * For sale on ThemeForest.net + */ + + +(function(a){a.fn.cmsmsResponsiveContentSlider=function(b){var c={sliderWidth:1e3,sliderHeight:500,animationSpeed:500,animationEffect:"slide",animationEasing:"easeInOutExpo",pauseTime:5e3,activeSlide:1,touchControls:true,pauseOnHover:true,arrowNavigation:true,arrowNavigationHover:false,slidesNavigation:true,slidesNavigationHover:false,afterSliderLoad:function(){},beforeSlideChange:function(){},afterSlideChange:function(){}},d=this,e=d.wrap('
').parent(),f=undefined,g={};g={init:function(){g.options=a.extend({},c,b);g.el=d;g.vars={};g.vars.oldSlide=undefined;g.vars.newSlide=undefined;g.vars.active_sl_numb=g.options.activeSlide==="random"?0:Number(g.options.activeSlide-1);g.vars.ifWNumber=typeof g.options.sliderWidth==="number"?true:false;g.vars.ifHNumber=typeof g.options.sliderHeight==="number"?true:false;g.vars.autoHeight=g.options.sliderHeight==="auto"?true:false;g.vars.inPause=true;g.vars.inAnimation=true;g.vars.mouseClicked=false;if(g.options.pauseTime!==0){g.vars.countdown=Math.round(g.options.pauseTime/50);g.vars.countMax=Math.round(g.options.pauseTime/50)}else{g.vars.countdown=-1;g.vars.countMax=-1}if(!g.vars.autoHeight){e.css({height:g.options.sliderHeight})}g.setSliderVars();g.preloadSlider()},setSliderVars:function(){g.vars.sliderWidth=g.vars.ifWNumber?g.options.sliderWidth+"px":g.options.sliderWidth;g.vars.sliderHeight=g.vars.ifHNumber?g.options.sliderHeight+"px":g.options.sliderHeight;g.vars.slides=g.el.find(">li");g.vars.sl_count=g.vars.slides.length;g.vars.first_sl=g.vars.slides.first();g.vars.last_sl=g.vars.slides.eq(g.vars.sl_count-1)},preloadSlider:function(){var b=g.vars.slides.find("img:eq(0)"),c=b.length;if(b.length>0){b.each(function(){var b=new Image,d=a(this).attr("src");b.src=d;a(this).addClass("cmsms_img");var e=setInterval(function(){if(isImageOk(b)||isImageOk(b)==="stop"){clearInterval(e);c-=1;if(c===0){g.buildSlider();g.buildControls();g.attachEvents();g.afterSliderLoad()}}},50)})}else{g.buildSlider();g.buildControls();g.attachEvents();g.afterSliderLoad()}},buildSlider:function(){g.vars.slides.addClass("cmsmsContentSlide").css({left:g.vars.sliderWidth});if(g.options.activeSlide==="random"){g.vars.active_sl_numb=parseInt(Math.random()*g.vars.sl_count)}g.el.css({background:"none"});e.css({width:g.vars.sliderWidth,padding:0,opacity:0});if(g.vars.autoHeight){g.vars.slides.css({height:"auto"});g.setSlideHeight(g.vars.slides.eq(g.vars.active_sl_numb),false)}g.vars.slides.eq(g.vars.active_sl_numb).css({left:0,zIndex:2}).addClass("active");e.animate({opacity:1},g.options.animationSpeed/2,g.options.animationEasing);g.vars.inPause=false;g.vars.inAnimation=false},buildControls:function(){if(g.options.slidesNavigation){e.append('
a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
t
",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
","
"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/content/js/vendor/modernizr.js b/content/js/vendor/modernizr.js deleted file mode 100644 index abfe536..0000000 --- a/content/js/vendor/modernizr.js +++ /dev/null @@ -1,4 +0,0 @@ -/* Modernizr 2.6.2 (Custom Build) | MIT & BSD - * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load - */ -;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d',a,""].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f FakeSMC +** Audio => Realtek ALC8xx => Without DSDT => Latest version for ALC8887/888b. +** Network => maolj's AtherosL1cEthernet +** Disk => TRIM fix for 1.8.1+ +** Bootloaders => Chimera + +That's all. Install that stuff. Now, you should be able to reboot your CustoMac and boot it without the USB drive. + +If things don't work out (like a black or white screen, kernel panics, whatever), just plugin your USB drive again, boot from it and select your 'Macintosh HD'. + +## Graphics + +At this point, you should have a working CustoMac with sound and network working. The only thing missing is a proper graphics card. + +You'll need to make some tweaks to the chameleon plist file. Then shutdown your computer and install the graphics card. + +_Note: this works for my XFX ATI Radeon HD 6870 card. There may be subtle differences for different version and brands. Just use the Google to find hints, boot with the USB drive to get to your system and make updates as needed._ + +In `/Extra/org.chameleon.Boot.plist` make sure you have the following entries: + + AtiConfig + Duckweed + AtiPorts + 5 + Graphics Mode + 1920x1080x32 + GraphicsEnabler + Yes + PciRoot + 1 + +Depending on which slot you used for your graphics card, you may have to set `PciRoot` to `0`. + +I also had to add `npci=0x2000` to `Kernel Flags`, but you may or may not need it. + + Kernel Flags + npci=0x2000 darkwake=0 + +## Boot up! + +Now, reboot one last time and everything should go smoothly. + +If your system comes up without any troubles, start attaching those others disks and drives you had disconnected during the installation. There shouldn't be any issues here. + +## You're done! + +Congratulations. You now have a CustoMac! + +Keep in mind that you should not blindly install any update you see. Installing an update my change the bootloader or change kernel extensions that break your system. + +A good tip is to create a full disk image of your SSD using a tool like [Super Duper][7]. In case of shit hitting the fan after an update, you can easily restore your disk to working order. + +In my case, I've attached an old 500GB drive to store this disk image. It works great. + +## Shiny and fast! + +Just as a side-note, my CustoMac is blazingly fast. It's the combination of the fast _Ivy Bridge_ architecture, the i5 processor, and the SSD. + +I've measured boot-up time from pressing the power button to the Mac OS X login screen at about 11 seconds. + +[1]: http://en.wikipedia.org/wiki/Ivy_Bridge_%28microarchitecture%29 +[2]: http://wiki.osx86project.org/wiki/index.php/HCL_10.8.2 +[3]: http://en.wikipedia.org/wiki/Hyper-threading +[4]: http://www.tonymacx86.com/downloads +[5]: http://tonymacx86.blogspot.nl/2011/10/unibeast-install-mac-os-x-lion-using.html +[6]: http://jollyjinx.tumblr.com/post/34638496292/fusion-drive-on-older-macs-yes-since-apple-has +[7]: http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html +[8]: http://www.amazon.com/gp/product/B0087EVHTE/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B0087EVHTE&linkCode=as2&tag=ariejannet-20 +[9]: http://www.amazon.com/gp/product/B007R21JWC/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B007R21JWC&linkCode=as2&tag=ariejannet-20 +[10]: http://www.amazon.com/gp/product/B0047ZH7GE/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B0047ZH7GE&linkCode=as2&tag=ariejannet-20 \ No newline at end of file diff --git a/content/posts/2012-11-29-binary-debugging-with-git-bisect.md b/drafts/2012-11-29-binary-debugging-with-git-bisect.md similarity index 100% rename from content/posts/2012-11-29-binary-debugging-with-git-bisect.md rename to drafts/2012-11-29-binary-debugging-with-git-bisect.md diff --git a/content/posts/2012-12-18-instagram-governments-and-cypherpunks.md b/drafts/2012-12-18-instagram-governments-and-cypherpunks.md similarity index 100% rename from content/posts/2012-12-18-instagram-governments-and-cypherpunks.md rename to drafts/2012-12-18-instagram-governments-and-cypherpunks.md diff --git a/content/posts/2013-03-08-review-commits-in-your-feature-branch.md b/drafts/2013-03-08-review-commits-in-your-feature-branch.md similarity index 100% rename from content/posts/2013-03-08-review-commits-in-your-feature-branch.md rename to drafts/2013-03-08-review-commits-in-your-feature-branch.md diff --git a/layouts/default.haml b/layouts/default.haml index e94b8b2..9556918 100644 --- a/layouts/default.haml +++ b/layouts/default.haml @@ -1,47 +1,88 @@ -!!! 5 - - - - -%html.no-js - +!!! +/[if lt IE 7] +/[if IE 7] +/[if IE 8] +/ [if gt IE 8]> "ltr", :lang => "en-US"} + / "utf-8" } - %meta{ "http-equiv" => "X-UA-Compatible", :content => "IE=edge,chrome=1" } - %title ariejan.net - #{@item[:title]} - %meta{ :name => "description", :content => "" } - %meta{ :name => "author", :content => "" } - %meta{ :name => "generator", :content => "nanoc #{Nanoc::VERSION}" } - %meta{ :name => "viewport", :content => "width=device-width" } + %meta{:content => "text/html;charset=utf-8", "http-equiv" => "content-type"} + %meta{:content => "cmsmasters responsive html5 website template", :name => "description"} + %meta{:content => "html5, css3, template, responsive, adaptive", :name => "keywords"} + %meta{:content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport"} - -# Place favicon.ico and apple-touch-icon.png in the root directory + %link{:href => "/images/favicon.ico", :rel => "shortcut icon", :type => "image/x-icon"} - %link{ :rel => "stylesheet", :href => "/css/style.css" } - %script{ :src => "/js/vendor/modernizr.js" } + %link{:href => "/css/style.css", :media => "screen", :rel => "stylesheet", :type => "text/css"} + + %link{:href => "http://fonts.googleapis.com/css?family=Open+Sans:400,600,800,400italic", :rel => "stylesheet", :type => "text/css"} + + /[if lt IE 9] + + + + %script{:src => "/js/application.js", :type => "text/javascript"} + + %title ariejan.net %body - /[if lt IE 7 ] - %p.chromeframe - You are using an outdated browser. - Please upgrade your browser or - activate Google Chrome Frame - to improve your experience. + / __________________________________________________ Start Page + %section#page + %a#slide_top{:href => "#"} + .container + / __________________________________________________ Start Header + %header#header + .header_inner + %a.logo{:href => "index.html"} + %img{:alt => "", :src => "/images/logo.png"}/ + .custom_html + %h3{:style => "color:#ffffff; margin:0; line-height:24px;"} May the Source be with you + = render 'social_list' - #sidebar - %ul - %li asdf - %li narf + .nav_wrap + .nav_wrap_inner + .responsibe_block + .responsibe_block_inner + %a.resp_navigation{:href => "#"} + = render 'social_list' - #content - = yield + %nav + %ul#navigation + %li + %a{:href => "/"} + %span{:style => "border-color:#ff9108;"} Blog - %script{ :src => "//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" } - :javascript - window.jQuery || document.write('