From: Steve Sutton Date: Tue, 10 Apr 2018 13:58:02 +0000 (-0400) Subject: initial setup X-Git-Tag: v1.0.0~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2d10a54e815f6df5874cd75c4f93e87106560f09;p=WP-Themes%2Fharborsprings.git initial setup --- 2d10a54e815f6df5874cd75c4f93e87106560f09 diff --git a/404.php b/404.php new file mode 100644 index 0000000..1e0f035 --- /dev/null +++ b/404.php @@ -0,0 +1,13 @@ + +
+
+
+

Uh oh! (404 Error)

+

The page or post you are looking for has been removed, is no longer available, or never existed.

+

Please use the menu at the top of the page to help find what you are looking for.

+

Thanks,

+
+ +
+
+ diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..445180e --- /dev/null +++ b/footer.php @@ -0,0 +1,16 @@ + + + + + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..ff45bbb --- /dev/null +++ b/functions.php @@ -0,0 +1,390 @@ + 'Home Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); +register_sidebar(array( +'name' => 'Rooms Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); +register_sidebar(array( +'name' => 'Amenities Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); +register_sidebar(array( +'name' => 'About Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); +register_sidebar(array( +'name' => 'Guides Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); +register_sidebar(array( +'name' => 'Contact Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); +register_sidebar(array( +'name' => 'Default Sidebar', +'before_widget' => '', +'after_widget' => '', +'before_title' => '

', +'after_title' => '

', +)); + +# remove extra crap in wp_head +remove_action('wp_head', 'rsd_link'); +remove_action('wp_head', 'wp_generator'); +remove_action('wp_head', 'index_rel_link'); +remove_action('wp_head', 'wlwmanifest_link'); +remove_action('wp_head', 'feed_links', 2); +remove_action('wp_head', 'feed_links_extra', 3); +remove_action('wp_head', 'parent_post_rel_link', 10, 0); +remove_action('wp_head', 'start_post_rel_link', 10, 0); +remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0); +remove_action('wp_head', 'wp_shortlink_header', 10, 0); +remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); +remove_action('wp_head', 'rel_canonical'); + +# remove version info from head and feeds +function complete_version_removal() { return ''; } +add_filter('the_generator', 'complete_version_removal'); + +# remove emojis +function mcgwd_disable_emojis() { + remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); + remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); + remove_action( 'wp_print_styles', 'print_emoji_styles' ); + remove_action( 'admin_print_styles', 'print_emoji_styles' ); + remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); + remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); + remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' ); + add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' ); +} +function disable_emojis_tinymce( $plugins ) { + if (is_array($plugins)) { return array_diff($plugins, array('wpemoji')); } else { return array(); } +} +add_action( 'init', 'mcgwd_disable_emojis' ); + +# remove the front end admin bar +function mcgwd_function_admin_bar() { return false; } +add_filter( 'show_admin_bar' , 'mcgwd_function_admin_bar'); + +# cleaner captions per http://justintadlock.com/archives/2011/07/01/captions-in-wordpress +function cleaner_caption( $output, $attr, $content ) { + if (is_feed()) + return $output; + $defaults = array('id' => '', 'align' => 'alignnone', 'width' => '', 'caption' => ''); + $attr = shortcode_atts( $defaults, $attr ); + if (1 > $attr['width'] || empty($attr['caption'])) + return $content; + // $attributes = ( !empty( $attr['id'] ) ? ' id="' . esc_attr( $attr['id'] ) . '"' : '' ); // removed id + $attributes .= ' class="wp-caption ' . esc_attr( $attr['align'] ) . '"'; + $attributes .= ' style="width:' . esc_attr( $attr['width'] ) . 'px"'; + $output = ''; + $output .= do_shortcode( $content ); + $output .= '

' . $attr['caption'] . '

'; + $output .= ''; + return $output; +} +add_filter( 'img_caption_shortcode', 'cleaner_caption', 10, 3 ); + +# remove right curly quote as fonts like Oswald looks nasty w/ them +function mcgwd_remove_smart_quotes($content) { + $content = str_replace('″', '”', $content); + return $content; +} +add_filter('the_content', 'mcgwd_remove_smart_quotes'); + + +# +# IMAGES & MEDIA +# + +# set embedded media width +if (! isset($content_width)) $content_width = 730; + +# remove image post class from images +remove_action( 'begin_fetch_post_thumbnail_html', '_wp_post_thumbnail_class_filter_add' ); + +# add slideshow image size +add_action('after_setup_theme', 'mcgwd_theme_setup'); +function mcgwd_theme_setup() { + add_image_size('homepage-slide', 1400, 450, true); // (cropped) +} +# add it to media library +add_filter('image_size_names_choose', 'mcgwd_custom_sizes'); +function mcgwd_custom_sizes($sizes) { + return array_merge($sizes, array( 'homepage-slide' => __('Home Page Slide'), )); +} + + +# +# BACK END +# + +# style editor using css +function mcgwd_editor_style($url) { + if (!empty($url)) + $url .= ','; + $url .= trailingslashit(get_stylesheet_directory_uri()) . 'style-editor.css'; + return $url; +} +add_filter('mce_css', 'mcgwd_editor_style'); + +# style login page with css +function mcgwd_login_stylesheet() { ?>MCG Web Development, Inc.'; +} +add_filter('admin_footer_text', 'custom_admin_footer'); + +# remove admin update nag except for admin +global $user_login; +get_currentuserinfo(); +if (!current_user_can('update_plugins')) { + add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_version_check' );" ), 2 ); + add_filter( 'pre_option_update_core', create_function( '$a', "return null;" ) ); +} + +# add a dashboard widget +function mcgwd_dashboard_widget_function() { +echo "

Hello,

This is the dashboard for your website. Here you will find quick access to the most useful parts of your CMS. As needed, I'll add additional instructions and/or resources to this panel to assist you in maintaining your site.

Sidebar Content:
All content in the sidebars can be changed from the Appearance Menu » Widgets. For menus, please contact me – as they are hard-coded due to the mega-menu dropdown.

Google Analytics:
To view your site statistics, please login to Google Analytics.

If you have any questions you can always contact me.

Matthew Ginop
MCG Web Development, Inc.

"; +} +function mcgwd_add_dashboard_widgets() { wp_add_dashboard_widget('wp_dashboard_widget', 'Help & Support', 'mcgwd_dashboard_widget_function'); } +add_action('wp_dashboard_setup', 'mcgwd_add_dashboard_widgets'); + +# replace "Howdy" +function replace_howdy($wp_admin_bar) { + $my_account=$wp_admin_bar->get_node('my-account'); + $newtitle = str_replace( 'Howdy,', 'Greetings,', $my_account->title ); + $wp_admin_bar->add_node( array('id' => 'my-account', 'title' => $newtitle,)); +} +add_filter( 'admin_bar_menu', 'replace_howdy',25 ); + +# remove menu items from admin bar +function remove_admin_bar_links() { + global $wp_admin_bar; + $wp_admin_bar->remove_menu('wp-logo'); + $wp_admin_bar->remove_menu('about'); + $wp_admin_bar->remove_menu('wporg'); + $wp_admin_bar->remove_menu('documentation'); + $wp_admin_bar->remove_menu('support-forums'); + $wp_admin_bar->remove_menu('feedback'); + $wp_admin_bar->remove_menu('view-site'); + $wp_admin_bar->remove_menu('new-content'); + $wp_admin_bar->remove_menu('new-link'); + $wp_admin_bar->remove_menu('comments'); + $wp_admin_bar->remove_menu('view'); +} +add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' ); + +# remove welcome panel in dashboard +remove_action( 'welcome_panel', 'wp_welcome_panel' ); + +# remove dashboard meta boxes +function remove_dashboard_widgets() { + remove_meta_box('dashboard_activity', 'dashboard', 'normal'); //Activity + remove_meta_box('dashboard_right_now', 'dashboard', 'normal'); //Right Now + remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal'); //Recent Comments + remove_meta_box('dashboard_incoming_links', 'dashboard', 'normal'); //Incoming Links + remove_meta_box('dashboard_plugins', 'dashboard', 'normal'); //Plugins + remove_meta_box('dashboard_quick_press', 'dashboard', 'side'); //Quick Press + remove_meta_box('dashboard_recent_drafts', 'dashboard', 'side'); //Recent Drafts + remove_meta_box('dashboard_primary', 'dashboard', 'side'); //WordPress Blog + remove_meta_box('dashboard_secondary', 'dashboard', 'side'); //Other WordPress News + remove_meta_box('dashboard_browser_nag', 'dashboard', 'normal'); //Browser Update Nag +} +add_action( 'wp_dashboard_setup', 'remove_dashboard_widgets' ); +add_filter('aioseo_show_seo_news', '__return_false'); //AIO Seo News + +# remove menu items from admin menu +function mcgwd_remove_menu_pages() { +# remove_menu_page('index.php'); //Dashboard + remove_menu_page('edit.php'); //Posts +# remove_menu_page('upload.php'); //Media +# remove_menu_page('edit.php?post_type=page'); //Pages + remove_menu_page('edit-comments.php'); //Comments +# remove_menu_page('themes.php'); //Appearance +# remove_menu_page('plugins.php'); //Plugins +# remove_menu_page('users.php'); //Users + remove_menu_page('tools.php'); //Tools +# remove_menu_page('options-general.php'); //Settings +# remove_submenu_page('index.php', 'update-core.php'); //Dashboard->Updates + //remove_submenu_page('themes.php', 'themes.php'); //Appearance->Themes + remove_submenu_page('themes.php', 'customize.php'); //Appearance->Customize +# remove_submenu_page('themes.php', 'widgets.php'); //Appearance->Widgets + remove_submenu_page('themes.php', 'nav-menus.php'); //Appearance->Menus + remove_submenu_page('themes.php', 'theme-editor.php'); //Appearance->Editor + remove_submenu_page('tools.php', 'tools.php'); //Tools->Available Tools + remove_submenu_page('tools.php', 'import.php'); //Tools->Import + remove_submenu_page('tools.php', 'export.php'); //Tools->Export + remove_submenu_page('options-general.php', 'options-general.php'); //Settings->General + remove_submenu_page('options-general.php', 'options-writing.php'); //Settings->writing + remove_submenu_page('options-general.php', 'options-reading.php'); //Settings->Reading + remove_submenu_page('options-general.php', 'options-discussion.php'); //Settings->Discussion + remove_submenu_page('options-general.php', 'options-media.php'); //Settings->Media + remove_submenu_page('options-general.php', 'options-permalink.php'); //Settings->Permalinks +} +add_action( 'admin_menu', 'mcgwd_remove_menu_pages' ); + +# remove Appearance->Customize menu +function mcgwd_remove_menus () { + global $submenu; + unset($submenu['themes.php'][6]); +} +add_action('admin_menu', 'mcgwd_remove_menus'); + +# remove ACF menu items +function hide_admin_menu() { + global $current_user; + get_currentuserinfo(); + if($current_user->user_login != 'mginop') { echo ''; } +} +add_action('admin_head', 'hide_admin_menu'); + +# remove customizer options +function mcgwd_remove_customizer_options( $wp_customize ) { + $wp_customize->remove_section( 'static_front_page' ); + $wp_customize->remove_section( 'title_tagline' ); + $wp_customize->remove_section( 'colors' ); + $wp_customize->remove_section( 'header_image' ); + $wp_customize->remove_section( 'background_image' ); + $wp_customize->remove_section( 'nav' ); + $wp_customize->remove_section( 'themes' ); + $wp_customize->remove_section( 'featured_content' ); + $wp_customize->remove_panel( 'widgets' ); +} +add_action('customize_register', 'mcgwd_remove_customizer_options', 30); + +# remove widgets +function mcgwd_remove_widgets() { + unregister_widget('WP_Widget_Pages'); //Pages Widget + unregister_widget('WP_Widget_Calendar'); //Calendar Widget + unregister_widget('WP_Widget_Archives'); //Archives Widget + unregister_widget('WP_Widget_Links'); //Links Widget + unregister_widget('WP_Widget_Meta'); //Meta Widget + unregister_widget('WP_Widget_Search'); //Search Widget +# unregister_widget('WP_Widget_Text'); //Text Widget + unregister_widget('WP_Widget_Categories'); //Categories Widget + unregister_widget('WP_Widget_Recent_Posts'); //Recent Posts Widget + unregister_widget('WP_Widget_Recent_Comments'); //Recent Comments Widget + unregister_widget('WP_Widget_RSS'); //RSS Widget + unregister_widget('WP_Widget_Tag_Cloud'); //Tag Cloud Widget + unregister_widget('WP_Nav_Menu_Widget'); //Menus Widget +} +add_action('widgets_init', 'mcgwd_remove_widgets'); + +# remove post columns +function remove_post_columns($columns) { + unset($columns['author']); + unset($columns['comments']); + return $columns; +} +add_filter('manage_posts_columns', 'remove_post_columns'); + +# remove post meta boxes +function remove_default_post_screen_metaboxes() { + remove_meta_box('revisionsdiv', 'post', 'normal'); //Revisions + remove_meta_box('tagsdiv-post_tag', 'post', 'side'); //Tags + remove_meta_box('categorydiv', 'post', 'side'); //Categories + remove_meta_box('formatdiv', 'post', 'normal'); //Post Format + remove_meta_box('postcustom','post','normal'); //Custom Fields + remove_meta_box('postexcerpt','post','normal'); //Excerpt + remove_meta_box('commentsdiv', 'post', 'normal'); //Comments + remove_meta_box('commentstatusdiv','post','normal'); //Discussion + remove_meta_box('trackbacksdiv','post','normal'); //Trackbacks + remove_meta_box('slugdiv','post','normal'); //Slug + remove_meta_box('authordiv','post','normal'); //Author +} +add_action('admin_menu','remove_default_post_screen_metaboxes'); + +# remove pages columns +function remove_pages_columns($columns) { + unset($columns['author']); + unset($columns['comments']); + unset($columns['date']); + return $columns; +} +add_filter('manage_pages_columns', 'remove_pages_columns'); + +# remove page meta boxes +function remove_default_page_screen_metaboxes() { + remove_meta_box('revisionsdiv', 'page', 'normal'); //Revisions + remove_meta_box('postcustom','page','normal'); //Custom Fields + remove_meta_box('commentsdiv', 'page', 'normal'); //Comments + remove_meta_box('commentstatusdiv','page','normal'); //Discussion + remove_meta_box('trackbacksdiv','page','normal'); //Trackbacks + remove_meta_box('slugdiv','page','normal'); //Slug + remove_meta_box('authordiv','page','normal'); //Author +} +add_action('admin_menu','remove_default_page_screen_metaboxes'); + +# adds instruction text after the post title input +function mcgwd_edit_form_after_title() { + $tip = 'TIP: To create a single line break use SHIFT+RETURN. By default, RETURN creates a new paragraph.'; + echo '

'.$tip.'

'; +} +add_action('edit_form_after_title', 'mcgwd_edit_form_after_title'); + +# change default from email address +function new_mail_from($old) { return 'no-reply@harborsprings.com'; } +add_filter('wp_mail_from', 'new_mail_from'); +function new_mail_from_name($old) { return 'Colonial Inn Hotel'; } +add_filter('wp_mail_from_name', 'new_mail_from_name'); + + +# +# Security +# + +# less informative login error message +function explain_less_login_issues(){ return 'ERROR: Entered credentials are incorrect.';} +add_filter('login_errors', 'explain_less_login_issues'); diff --git a/header.php b/header.php new file mode 100644 index 0000000..d63a16c --- /dev/null +++ b/header.php @@ -0,0 +1,83 @@ + + + + +<?php wp_title('| ', true, 'right'); ?><?php bloginfo('name'); ?> + + + +post_name; $dir = " id=\"$slug\""; echo $dir ?>> +
+
+ +

Call: (231) 526-2111

+
210 Artesian Avenue
Harbor Springs MI 49740
+
+
+ + + +
"; + while(has_sub_field('slideshow')) { + $image = get_sub_field('image'); + echo '
' . $image['alt'] . '
'; + } + echo "
\n"; + } +} else { + if(get_field('banner-image')) { + echo "
"; + $image = get_field('banner-image'); + if(!empty($image)){ echo '' . $image['alt'] . ''; } + echo "
\n"; + } +} ?> diff --git a/images/bg.jpg b/images/bg.jpg new file mode 100644 index 0000000..0306166 Binary files /dev/null and b/images/bg.jpg differ diff --git a/images/doc.png b/images/doc.png new file mode 100644 index 0000000..090c9ec Binary files /dev/null and b/images/doc.png differ diff --git a/images/img.png b/images/img.png new file mode 100644 index 0000000..d70d959 Binary files /dev/null and b/images/img.png differ diff --git a/images/index.php b/images/index.php new file mode 100644 index 0000000..e69de29 diff --git a/images/logo-dev.png b/images/logo-dev.png new file mode 100644 index 0000000..1b3b4d2 Binary files /dev/null and b/images/logo-dev.png differ diff --git a/images/logo-login.png b/images/logo-login.png new file mode 100644 index 0000000..7abab9f Binary files /dev/null and b/images/logo-login.png differ diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..a6bb989 Binary files /dev/null and b/images/logo.png differ diff --git a/images/pdf.png b/images/pdf.png new file mode 100644 index 0000000..7a6dcb4 Binary files /dev/null and b/images/pdf.png differ diff --git a/images/ppt.png b/images/ppt.png new file mode 100644 index 0000000..ec3b3db Binary files /dev/null and b/images/ppt.png differ diff --git a/images/quote.png b/images/quote.png new file mode 100644 index 0000000..ca97ace Binary files /dev/null and b/images/quote.png differ diff --git a/images/vid.png b/images/vid.png new file mode 100644 index 0000000..6a382dc Binary files /dev/null and b/images/vid.png differ diff --git a/images/xls.png b/images/xls.png new file mode 100644 index 0000000..3f47759 Binary files /dev/null and b/images/xls.png differ diff --git a/index.php b/index.php new file mode 100644 index 0000000..f100950 --- /dev/null +++ b/index.php @@ -0,0 +1,12 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/old-page-home.php b/old-page-home.php new file mode 100644 index 0000000..c99eb8a --- /dev/null +++ b/old-page-home.php @@ -0,0 +1,24 @@ + +
"; + while(has_sub_field('slideshow')) { + $image = get_sub_field('image'); + echo '
' . $image['alt'] . '
'; + } + echo "
\n"; +} ?> +
+
+
+ + + +
+ +
+
+ diff --git a/page-about.php b/page-about.php new file mode 100644 index 0000000..0953785 --- /dev/null +++ b/page-about.php @@ -0,0 +1,16 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/page-amenities.php b/page-amenities.php new file mode 100644 index 0000000..02056cb --- /dev/null +++ b/page-amenities.php @@ -0,0 +1,16 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/page-contact.php b/page-contact.php new file mode 100644 index 0000000..e2f02ca --- /dev/null +++ b/page-contact.php @@ -0,0 +1,16 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/page-full-width.php b/page-full-width.php new file mode 100644 index 0000000..2afdec7 --- /dev/null +++ b/page-full-width.php @@ -0,0 +1,15 @@ + +
+
+
+ + + +
+
+
+ diff --git a/page-guides.php b/page-guides.php new file mode 100644 index 0000000..fb55087 --- /dev/null +++ b/page-guides.php @@ -0,0 +1,16 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/page-home.php b/page-home.php new file mode 100644 index 0000000..edd43e9 --- /dev/null +++ b/page-home.php @@ -0,0 +1,16 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/page-rooms.php b/page-rooms.php new file mode 100644 index 0000000..8b6164a --- /dev/null +++ b/page-rooms.php @@ -0,0 +1,16 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/page.php b/page.php new file mode 100644 index 0000000..f100950 --- /dev/null +++ b/page.php @@ -0,0 +1,12 @@ + +
+
+
+ + + +
+ +
+
+ diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..28600be Binary files /dev/null and b/screenshot.png differ diff --git a/scripts/index.php b/scripts/index.php new file mode 100644 index 0000000..e69de29 diff --git a/scripts/plugins.js b/scripts/plugins.js new file mode 100644 index 0000000..061091e --- /dev/null +++ b/scripts/plugins.js @@ -0,0 +1,78 @@ +/* Customized - Bootstrap v3.3.5 */if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(a).remove(),t(o).each(function(){var i=t(this),a=e(i),o={relatedTarget:this};a.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(a[0],n.target)||(a.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),a.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),"string"==typeof e&&i[e].call(n)})}var a=".dropdown-backdrop",o='[data-toggle="dropdown"]',r=function(e){t(e).on("click.bs.dropdown",this.toggle)};r.VERSION="3.3.6",r.prototype.toggle=function(i){var a=t(this);if(!a.is(".disabled, :disabled")){var o=e(a),r=o.hasClass("open");if(n(),!r){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;a.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},r.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var a=e(i),r=a.hasClass("open");if(!r&&27!=n.which||r&&27==n.which)return 27==n.which&&a.find(o).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=a.find(".dropdown-menu"+s);if(l.length){var d=l.index(n.target);38==n.which&&d>0&&d--,40==n.which&&df&&e.slideCount>=1,g&&(e._initialized?e.timeout&&(d=e.slides.length,e.nextSlide=e.reverse?d-1:1,e.timeoutId||e.API.queueTransition(e)):e.API.initSlideshow())},calcFirstSlide:function(){var a,b=this.opts();a=parseInt(b.startingSlide||0,10),(a>=b.slides.length||0>a)&&(a=0),b.currSlide=a,b.reverse?(b.nextSlide=a-1,b.nextSlide<0&&(b.nextSlide=b.slides.length-1)):(b.nextSlide=a+1,b.nextSlide==b.slides.length&&(b.nextSlide=0))},calcNextSlide:function(){var a,b=this.opts();b.reverse?(a=b.nextSlide-1<0,b.nextSlide=a?b.slideCount-1:b.nextSlide-1,b.currSlide=a?0:b.nextSlide+1):(a=b.nextSlide+1==b.slides.length,b.nextSlide=a?0:b.nextSlide+1,b.currSlide=a?b.slides.length-1:b.nextSlide-1)},calcTx:function(b,c){var d,e=b;return e._tempFx?d=a.fn.cycle.transitions[e._tempFx]:c&&e.manualFx&&(d=a.fn.cycle.transitions[e.manualFx]),d||(d=a.fn.cycle.transitions[e.fx]),e._tempFx=null,this.opts()._tempFx=null,d||(d=a.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found. Using fade.')),d},prepareTx:function(a,b){var c,d,e,f,g,h=this.opts();return h.slideCount<2?void(h.timeoutId=0):(!a||h.busy&&!h.manualTrump||(h.API.stopTransition(),h.busy=!1,clearTimeout(h.timeoutId),h.timeoutId=0),void(h.busy||(0!==h.timeoutId||a)&&(d=h.slides[h.currSlide],e=h.slides[h.nextSlide],f=h.API.getSlideOpts(h.nextSlide),g=h.API.calcTx(f,a),h._tx=g,a&&void 0!==f.manualSpeed&&(f.speed=f.manualSpeed),h.nextSlide!=h.currSlide&&(a||!h.paused&&!h.hoverPaused&&h.timeout)?(h.API.trigger("cycle-before",[f,d,e,b]),g.before&&g.before(f,d,e,b),c=function(){h.busy=!1,h.container.data("cycle.opts")&&(g.after&&g.after(f,d,e,b),h.API.trigger("cycle-after",[f,d,e,b]),h.API.queueTransition(f),h.API.updateView(!0))},h.busy=!0,g.transition?g.transition(f,d,e,b,c):h.API.doTransition(f,d,e,b,c),h.API.calcNextSlide(),h.API.updateView()):h.API.queueTransition(f))))},doTransition:function(b,c,d,e,f){var g=b,h=a(c),i=a(d),j=function(){i.animate(g.animIn||{opacity:1},g.speed,g.easeIn||g.easing,f)};i.css(g.cssBefore||{}),h.animate(g.animOut||{},g.speed,g.easeOut||g.easing,function(){h.css(g.cssAfter||{}),g.sync||j()}),g.sync&&j()},queueTransition:function(b,c){var d=this.opts(),e=void 0!==c?c:b.timeout;return 0===d.nextSlide&&0===--d.loop?(d.API.log("terminating; loop=0"),d.timeout=0,e?setTimeout(function(){d.API.trigger("cycle-finished",[d])},e):d.API.trigger("cycle-finished",[d]),void(d.nextSlide=d.currSlide)):void 0!==d.continueAuto&&(d.continueAuto===!1||a.isFunction(d.continueAuto)&&d.continueAuto()===!1)?(d.API.log("terminating automatic transitions"),d.timeout=0,void(d.timeoutId&&clearTimeout(d.timeoutId))):void(e&&(d._lastQueue=a.now(),void 0===c&&(d._remainingTimeout=b.timeout),d.paused||d.hoverPaused||(d.timeoutId=setTimeout(function(){d.API.prepareTx(!1,!d.reverse)},e))))},stopTransition:function(){var a=this.opts();a.slides.filter(":animated").length&&(a.slides.stop(!1,!0),a.API.trigger("cycle-transition-stopped",[a])),a._tx&&a._tx.stopTransition&&a._tx.stopTransition(a)},advanceSlide:function(a){var b=this.opts();return clearTimeout(b.timeoutId),b.timeoutId=0,b.nextSlide=b.currSlide+a,b.nextSlide<0?b.nextSlide=b.slides.length-1:b.nextSlide>=b.slides.length&&(b.nextSlide=0),b.API.prepareTx(!0,a>=0),!1},buildSlideOpts:function(c){var d,e,f=this.opts(),g=c.data()||{};for(var h in g)g.hasOwnProperty(h)&&/^cycle[A-Z]+/.test(h)&&(d=g[h],e=h.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),f.API.log("["+(f.slideCount-1)+"]",e+":",d,"("+typeof d+")"),g[e]=d);g=a.extend({},a.fn.cycle.defaults,f,g),g.slideNum=f.slideCount;try{delete g.API,delete g.slideCount,delete g.currSlide,delete g.nextSlide,delete g.slides}catch(i){}return g},getSlideOpts:function(b){var c=this.opts();void 0===b&&(b=c.currSlide);var d=c.slides[b],e=a(d).data("cycle.opts");return a.extend({},c,e)},initSlide:function(b,c,d){var e=this.opts();c.css(b.slideCss||{}),d>0&&c.css("zIndex",d),isNaN(b.speed)&&(b.speed=a.fx.speeds[b.speed]||a.fx.speeds._default),b.sync||(b.speed=b.speed/2),c.addClass(e.slideClass)},updateView:function(a,b){var c=this.opts();if(c._initialized){var d=c.API.getSlideOpts(),e=c.slides[c.currSlide];!a&&b!==!0&&(c.API.trigger("cycle-update-view-before",[c,d,e]),c.updateView<0)||(c.slideActiveClass&&c.slides.removeClass(c.slideActiveClass).eq(c.currSlide).addClass(c.slideActiveClass),a&&c.hideNonActive&&c.slides.filter(":not(."+c.slideActiveClass+")").css("visibility","hidden"),0===c.updateView&&setTimeout(function(){c.API.trigger("cycle-update-view",[c,d,e,a])},d.speed/(c.sync?2:1)),0!==c.updateView&&c.API.trigger("cycle-update-view",[c,d,e,a]),a&&c.API.trigger("cycle-update-view-after",[c,d,e]))}},getComponent:function(b){var c=this.opts(),d=c[b];return"string"==typeof d?/^\s*[\>|\+|~]/.test(d)?c.container.find(d):a(d):d.jquery?d:a(d)},stackSlides:function(b,c,d){var e=this.opts();b||(b=e.slides[e.currSlide],c=e.slides[e.nextSlide],d=!e.reverse),a(b).css("zIndex",e.maxZ);var f,g=e.maxZ-2,h=e.slideCount;if(d){for(f=e.currSlide+1;h>f;f++)a(e.slides[f]).css("zIndex",g--);for(f=0;f=0;f--)a(e.slides[f]).css("zIndex",g--);for(f=h-1;f>e.currSlide;f--)a(e.slides[f]).css("zIndex",g--)}a(c).css("zIndex",e.maxZ-1)},getSlideIndex:function(a){return this.opts().slides.index(a)}},a.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},a.fn.cycle.version=function(){return"Cycle2: "+c},a.fn.cycle.transitions={custom:{},none:{before:function(a,b,c,d){a.API.stackSlides(c,b,d),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:0,visibility:"visible",display:"block"}),b.animIn={opacity:1},b.animOut={opacity:0}}},fadeout:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:1,visibility:"visible",display:"block"}),b.animOut={opacity:0}}},scrollHorz:{before:function(a,b,c,d){a.API.stackSlides(b,c,d);var e=a.container.css("overflow","hidden").width();a.cssBefore={left:d?e:-e,top:0,opacity:1,visibility:"visible",display:"block"},a.cssAfter={zIndex:a._maxZ-2,left:0},a.animIn={left:0},a.animOut={left:d?-e:e}}}},a.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},a(document).ready(function(){a(a.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */ +function(a){"use strict";function b(b,d){var e,f,g,h=d.autoHeight;if("container"==h)f=a(d.slides[d.currSlide]).outerHeight(),d.container.height(f);else if(d._autoHeightRatio)d.container.height(d.container.width()/d._autoHeightRatio);else if("calc"===h||"number"==a.type(h)&&h>=0){if(g="calc"===h?c(b,d):h>=d.slides.length?0:h,g==d._sentinelIndex)return;d._sentinelIndex=g,d._sentinel&&d._sentinel.remove(),e=a(d.slides[g].cloneNode(!0)),e.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(d.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),d._sentinel=e}}function c(b,c){var d=0,e=-1;return c.slides.each(function(b){var c=a(this).height();c>e&&(e=c,d=b)}),d}function d(b,c,d,e){var f=a(e).outerHeight();c.container.animate({height:f},c.autoHeightSpeed,c.autoHeightEasing)}function e(c,f){f._autoHeightOnResize&&(a(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",b),f.container.off("cycle-destroyed",e),f.container.off("cycle-before",d),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}a.extend(a.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),a(document).on("cycle-initialized",function(c,f){function g(){b(c,f)}var h,i=f.autoHeight,j=a.type(i),k=null;("string"===j||"number"===j)&&(f.container.on("cycle-slide-added cycle-slide-removed",b),f.container.on("cycle-destroyed",e),"container"==i?f.container.on("cycle-before",d):"string"===j&&/\d+\:\d+/.test(i)&&(h=i.match(/(\d+)\:(\d+)/),h=h[1]/h[2],f._autoHeightRatio=h),"number"!==j&&(f._autoHeightOnResize=function(){clearTimeout(k),k=setTimeout(g,50)},a(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(g,30))})}(jQuery),/*! caption plugin for Cycle2; version: 20130306 */ +function(a){"use strict";a.extend(a.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"
{{title}}
{{desc}}
",captionModule:"caption"}),a(document).on("cycle-update-view",function(b,c,d,e){if("caption"===c.captionModule){a.each(["caption","overlay"],function(){var a=this,b=d[a+"Template"],f=c.API.getComponent(a);f.length&&b?(f.html(c.API.tmpl(b,d,c,e)),f.show()):f.hide()})}}),a(document).on("cycle-destroyed",function(b,c){var d;a.each(["caption","overlay"],function(){var a=this,b=c[a+"Template"];c[a]&&b&&(d=c.API.getComponent("caption"),d.empty())})})}(jQuery),/*! command plugin for Cycle2; version: 20140415 */ +function(a){"use strict";var b=a.fn.cycle;a.fn.cycle=function(c){var d,e,f,g=a.makeArray(arguments);return"number"==a.type(c)?this.cycle("goto",c):"string"==a.type(c)?this.each(function(){var h;return d=c,f=a(this).data("cycle.opts"),void 0===f?void b.log('slideshow must be initialized before sending commands; "'+d+'" ignored'):(d="goto"==d?"jump":d,e=f.API[d],a.isFunction(e)?(h=a.makeArray(g),h.shift(),e.apply(f.API,h)):void b.log("unknown command: ",d))}):b.apply(this,arguments)},a.extend(a.fn.cycle,b),a.extend(b.API,{next:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?-1:1;a.allowWrap===!1&&a.currSlide+b>=a.slideCount||(a.API.advanceSlide(b),a.API.trigger("cycle-next",[a]).log("cycle-next"))}},prev:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?1:-1;a.allowWrap===!1&&a.currSlide+b<0||(a.API.advanceSlide(b),a.API.trigger("cycle-prev",[a]).log("cycle-prev"))}},destroy:function(){this.stop();var b=this.opts(),c=a.isFunction(a._data)?a._data:a.noop;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stop(),b.API.trigger("cycle-destroyed",[b]).log("cycle-destroyed"),b.container.removeData(),c(b.container[0],"parsedAttrs",!1),b.retainStylesOnDestroy||(b.container.removeAttr("style"),b.slides.removeAttr("style"),b.slides.removeClass(b.slideActiveClass)),b.slides.each(function(){var d=a(this);d.removeData(),d.removeClass(b.slideClass),c(this,"parsedAttrs",!1)})},jump:function(a,b){var c,d=this.opts();if(!d.busy||d.manualTrump){var e=parseInt(a,10);if(isNaN(e)||0>e||e>=d.slides.length)return void d.API.log("goto: invalid slide index: "+e);if(e==d.currSlide)return void d.API.log("goto: skipping, already on slide",e);d.nextSlide=e,clearTimeout(d.timeoutId),d.timeoutId=0,d.API.log("goto: ",e," (zero-index)"),c=d.currSlide .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:""}),a(document).on("cycle-bootstrap",function(a,c,d){d.buildPagerLink=b}),a(document).on("cycle-slide-added",function(a,b,d,e){b.pager&&(b.API.buildPagerLink(b,d,e),b.API.page=c)}),a(document).on("cycle-slide-removed",function(b,c,d){if(c.pager){var e=c.API.getComponent("pager");e.each(function(){var b=a(this);a(b.children()[d]).remove()})}}),a(document).on("cycle-update-view",function(b,c){var d;c.pager&&(d=c.API.getComponent("pager"),d.each(function(){a(this).children().removeClass(c.pagerActiveClass).eq(c.currSlide).addClass(c.pagerActiveClass)}))}),a(document).on("cycle-destroyed",function(a,b){var c=b.API.getComponent("pager");c&&(c.children().off(b.pagerEvent),b.pagerTemplate&&c.empty())})}(jQuery),/*! prevnext plugin for Cycle2; version: 20140408 */ +function(a){"use strict";a.extend(a.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),a(document).on("cycle-initialized",function(a,b){if(b.API.getComponent("next").on(b.nextEvent,function(a){a.preventDefault(),b.API.next()}),b.API.getComponent("prev").on(b.prevEvent,function(a){a.preventDefault(),b.API.prev()}),b.swipe){var c=b.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",d=b.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";b.container.on(c,function(){b._tempFx=b.swipeFx,b.API.next()}),b.container.on(d,function(){b._tempFx=b.swipeFx,b.API.prev()})}}),a(document).on("cycle-update-view",function(a,b){if(!b.allowWrap){var c=b.disabledClass,d=b.API.getComponent("next"),e=b.API.getComponent("prev"),f=b._prevBoundry||0,g=void 0!==b._nextBoundry?b._nextBoundry:b.slideCount-1;b.currSlide==g?d.addClass(c).prop("disabled",!0):d.removeClass(c).prop("disabled",!1),b.currSlide===f?e.addClass(c).prop("disabled",!0):e.removeClass(c).prop("disabled",!1)}}),a(document).on("cycle-destroyed",function(a,b){b.API.getComponent("prev").off(b.nextEvent),b.API.getComponent("next").off(b.prevEvent),b.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),/*! progressive loader plugin for Cycle2; version: 20130315 */ +function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(b,c){if(c.progressive){var d,e,f=c.API,g=f.next,h=f.prev,i=f.prepareTx,j=a.type(c.progressive);if("array"==j)d=c.progressive;else if(a.isFunction(c.progressive))d=c.progressive(c);else if("string"==j){if(e=a(c.progressive),d=a.trim(e.html()),!d)return;if(/^(\[)/.test(d))try{d=a.parseJSON(d)}catch(k){return void f.log("error parsing progressive slides",k)}else d=d.split(new RegExp(e.data("cycle-split")||"\n")),d[d.length-1]||d.pop()}i&&(f.prepareTx=function(a,b){var e,f;return a||0===d.length?void i.apply(c.API,[a,b]):void(b&&c.currSlide==c.slideCount-1?(f=d[0],d=d.slice(1),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.API.advanceSlide(1)},50)}),c.API.add(f)):b||0!==c.currSlide?i.apply(c.API,[a,b]):(e=d.length-1,f=d[e],d=d.slice(0,e),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.currSlide=1,b.API.advanceSlide(-1)},50)}),c.API.add(f,!0)))}),g&&(f.next=function(){var a=this.opts();if(d.length&&a.currSlide==a.slideCount-1){var b=d[0];d=d.slice(1),a.container.one("cycle-slide-added",function(a,b){g.apply(b.API),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(b)}else g.apply(a.API)}),h&&(f.prev=function(){var a=this.opts();if(d.length&&0===a.currSlide){var b=d.length-1,c=d[b];d=d.slice(0,b),a.container.one("cycle-slide-added",function(a,b){b.currSlide=1,b.API.advanceSlide(-1),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(c,!0)}else h.apply(a.API)})}})}(jQuery),/*! tmpl plugin for Cycle2; version: 20121227 */ +function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(b,c){var d=new RegExp(c.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),e=a.makeArray(arguments);return e.shift(),b.replace(d,function(b,c){var d,f,g,h,i=c.split(".");for(d=0;d1)for(h=g,f=0;f-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;di||Math.abs(n.pageY-p)>i,d&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}function I(e){if(g)return;A();var t=C(e.target),n,r;P("vmouseup",e,t),d||(n=P("vclick",e,t),n&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0)),P("vmouseout",e,t),d=!1,_()}function q(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function R(){}function U(t){var n=t.substr(1);return{setup:function(){q(this)||e.data(this,i,{});var r=e.data(this,i);r[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,H),e(this).bind(n,R),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",B).bind("touchend",I).bind("touchmove",F).bind("scroll",j))},teardown:function(){--l[t],l[t]||b.unbind(n,H),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",B).unbind("touchmove",F).unbind("touchend",I).unbind("scroll",j));var r=e(this),s=e.data(this,i);s&&(s[t]=!1),r.unbind(n,R),q(this)||r.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S,x;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(x=0;xMath.floor(e.pageY)||e.pageX===0&&Math.floor(i)>Math.floor(e.pageX))i-=n,s-=r;else if(se.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n}),!0),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,r=e(n),s={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(e.event.special.swipe.eventInProgress)return;e.event.special.swipe.eventInProgress=!0;var r,o=e.event.special.swipe.start(t),u=t.target,l=!1;s.move=function(t){if(!o||t.isDefaultPrevented())return;r=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(o,r,n,u),l&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(o.coords[0]-r.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()},s.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,i.off(f,s.move),s.move=null},i.on(f,s.move).one(a,s.stop)},r.on(u,s.start)},teardown:function(){var t,n;t=e.data(this,"mobile-events"),t&&(n=t.swipe,delete t.swipe,t.length--,t.length===0&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(u,n.start),n.move&&i.off(f,n.move),n.stop&&i.off(a,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this)}); + +/* Lightcase */ +(function(c){window.lightcase={cache:{},support:{},labels:{errorMessage:"Source could not be found...","sequenceInfo.of":" of ",close:"Close","navigator.prev":"Prev","navigator.next":"Next","navigator.play":"Play","navigator.pause":"Pause"},init:function(a){return this.each(function(){c(this).unbind("click").click(function(b){b.preventDefault();c(this).lightcase("start",a)})})},start:function(a){lightcase.settings=c.extend(!0,{idPrefix:"lightcase-",classPrefix:"lightcase-",transition:"elastic",transitionIn:null, +transitionOut:null,cssTransitions:!0,speedIn:250,speedOut:250,maxWidth:800,maxHeight:500,forceWidth:!1,forceHeight:!1,liveResize:!0,fullScreenModeForMobile:!0,mobileMatchExpression:/(iphone|ipod|ipad|android|blackberry|symbian)/,disableShrink:!1,shrinkFactor:.75,overlayOpacity:.9,slideshow:!1,timeout:5E3,swipe:!0,useKeys:!0,navigateEndless:!0,closeOnOverlayClick:!0,title:null,caption:null,showTitle:!0,showCaption:!0,showSequenceInfo:!0,inline:{width:"auto",height:"auto"},ajax:{width:"auto",height:"auto", +type:"get",dataType:"html",data:{}},iframe:{width:800,height:500,frameborder:0},flash:{width:400,height:205,wmode:"transparent"},video:{width:400,height:225,poster:"",preload:"auto",controls:!0,autobuffer:!0,autoplay:!0,loop:!1},attr:"data-rel",href:null,type:null,typeMapping:{image:"jpg,jpeg,gif,png,bmp",flash:"swf",video:"mp4,mov,ogv,ogg,webm",iframe:"html,php",ajax:"json,txt",inline:"#"},errorMessage:function(){return'

'+lightcase.labels.errorMessage+ +"

"},markup:function(){c("body").append($overlay=c('
'),$loading=c('
'),$case=c(''));$case.after($nav=c('
'));$nav.append($close=c(''+ +lightcase.labels.close+""),$prev=c(''+lightcase.labels["navigator.prev"]+"").hide(),$next=c(''+lightcase.labels["navigator.next"]+"").hide(),$play=c(''+lightcase.labels["navigator.play"]+"").hide(),$pause=c(''+lightcase.labels["navigator.pause"]+"").hide());$case.append($content=c('
'),$info=c('
'));$content.append($contentInner=c('
'));$info.append($title=c('

'),$caption=c('

'),$sequenceInfo=c('
'))},onInit:{},onStart:{},onFinish:{},onClose:{},onCleanup:{}},a);lightcase.callHooks(lightcase.settings.onInit);lightcase.objectData=lightcase.getObjectData(this);lightcase.cacheScrollPosition();lightcase.watchScrollInteraction();lightcase.addElements();lightcase.lightcaseOpen();lightcase.dimensions=lightcase.getDimensions()},getObjectData:function(a){a={$link:a,title:lightcase.settings.title||a.attr("title"),caption:lightcase.settings.caption|| +a.children("img").attr("alt"),url:lightcase.verifyDataUrl(lightcase.settings.href||a.attr("data-href")||a.attr("href")),requestType:lightcase.settings.ajax.type,requestData:lightcase.settings.ajax.data,requestDataType:lightcase.settings.ajax.dataType,rel:a.attr(lightcase.settings.attr),type:lightcase.settings.type||lightcase.verifyDataType(a.attr("data-href")||a.attr("href")),isPartOfSequence:lightcase.isPartOfSequence(a.attr(lightcase.settings.attr),":"),isPartOfSequenceWithSlideshow:lightcase.isPartOfSequence(a.attr(lightcase.settings.attr), +":slideshow"),currentIndex:c("["+lightcase.settings.attr+'="'+a.attr(lightcase.settings.attr)+'"]').index(a),sequenceLength:c("["+lightcase.settings.attr+'="'+a.attr(lightcase.settings.attr)+'"]').length};a.sequenceInfo=a.currentIndex+1+lightcase.labels["sequenceInfo.of"]+a.sequenceLength;return a},isPartOfSequence:function(a,b){var k=c("["+lightcase.settings.attr+'="'+a+'"]');return(new RegExp(b)).test(a)&&1');a.html(lightcase.cloneObject(c(lightcase.objectData.url))); +c.each(lightcase.settings.inline,function(b,c){a.attr("data-"+b,c)});break;case "ajax":a=c('
');c.each(lightcase.settings.ajax,function(b,c){"data"!==b&&a.attr("data-"+b,c)});break;case "flash":a=c('');c.each(lightcase.settings.flash,function(b,c){a.attr(b,c)});break;case "video":a=c("");a.attr("src",lightcase.objectData.url);c.each(lightcase.settings.video, +function(b,c){a.attr(b,c)});break;default:a=c(""),a.attr({src:lightcase.objectData.url}),c.each(lightcase.settings.iframe,function(b,c){a.attr(b,c)})}lightcase.addObject(a);lightcase.loadObject(a)},addObject:function(a){$contentInner.html(a);lightcase.loading("start");lightcase.callHooks(lightcase.settings.onStart);!0===lightcase.settings.showSequenceInfo&&lightcase.objectData.isPartOfSequence?($sequenceInfo.html(lightcase.objectData.sequenceInfo),$sequenceInfo.show()):($sequenceInfo.empty(), +$sequenceInfo.hide());!0===lightcase.settings.showTitle&&void 0!==lightcase.objectData.title&&""!==lightcase.objectData.title?($title.html(lightcase.objectData.title),$title.show()):($title.empty(),$title.hide());!0===lightcase.settings.showCaption&&void 0!==lightcase.objectData.caption&&""!==lightcase.objectData.caption?($caption.html(lightcase.objectData.caption),$caption.show()):($caption.empty(),$caption.hide())},loadObject:function(a){switch(lightcase.objectData.type){case "inline":c(lightcase.objectData.url)? +lightcase.showContent(a):lightcase.error();break;case "ajax":c.ajax(c.extend({},lightcase.settings.ajax,{url:lightcase.objectData.url,type:lightcase.objectData.requestType,dataType:lightcase.objectData.requestDataType,data:lightcase.objectData.requestData,success:function(b,c,e){"json"===lightcase.objectData.requestDataType?lightcase.objectData.data=b:a.html(b);lightcase.showContent(a)},error:function(a,c,e){lightcase.error()}}));break;case "flash":lightcase.showContent(a);break;case "video":"function"=== +typeof a.get(0).canPlayType||0===$case.find("video").length?lightcase.showContent(a):lightcase.error();break;default:lightcase.objectData.url?(a.load(function(){lightcase.showContent(a)}),a.error(function(){lightcase.error()})):lightcase.error()}},error:function(){lightcase.objectData.type="error";var a=c('
');a.html(lightcase.settings.errorMessage);$contentInner.html(a);lightcase.showContent($contentInner)},calculateDimensions:function(a){lightcase.cleanupDimensions(); +var b={objectWidth:a.attr("width")?a.attr("width"):a.attr("data-width"),objectHeight:a.attr("height")?a.attr("height"):a.attr("data-height")};if(!lightcase.settings.disableShrink)switch(b.maxWidth=parseInt(lightcase.dimensions.windowWidth*lightcase.settings.shrinkFactor),b.maxHeight=parseInt(lightcase.dimensions.windowHeight*lightcase.settings.shrinkFactor),b.maxWidth>lightcase.settings.maxWidth&&(b.maxWidth=lightcase.settings.maxWidth),b.maxHeight>lightcase.settings.maxHeight&&(b.maxHeight=lightcase.settings.maxHeight), +b.differenceWidthAsPercent=parseInt(100/b.maxWidth*b.objectWidth),b.differenceHeightAsPercent=parseInt(100/b.maxHeight*b.objectHeight),lightcase.objectData.type){case "image":case "flash":case "video":100b.differenceHeightAsPercent&&(b.objectWidth=b.maxWidth,b.objectHeight=parseInt(b.objectHeight/b.differenceWidthAsPercent*100));100b.differenceWidthAsPercent&&(b.objectWidth=parseInt(b.objectWidth/ +b.differenceHeightAsPercent*100),b.objectHeight=b.maxHeight);100b.maxWidth&&(b.objectWidth=b.maxWidth);break;default:(isNaN(b.objectWidth)||b.objectWidth>b.maxWidth)&&!lightcase.settings.forceWidth&&(b.objectWidth=b.maxWidth),(isNaN(b.objectHeight)&& +"auto"!==b.objectHeight||b.objectHeight>b.maxHeight)&&!lightcase.settings.forceHeight&&(b.objectHeight=b.maxHeight)}lightcase.adjustDimensions(a,b)},adjustDimensions:function(a,b){a.css({width:b.objectWidth,height:b.objectHeight,"max-width":a.attr("data-max-width")?a.attr("data-max-width"):b.maxWidth,"max-height":a.attr("data-max-height")?a.attr("data-max-height"):b.maxHeight});$contentInner.css({width:a.outerWidth(),height:a.outerHeight(),"max-width":"100%"});$case.css({width:$contentInner.outerWidth()}); +$case.css({"margin-top":parseInt(-($case.outerHeight()/2)),"margin-left":parseInt(-($case.outerWidth()/2))})},loading:function(a){"start"===a?($case.addClass(lightcase.settings.classPrefix+"loading"),$loading.show()):"end"===a&&($case.removeClass(lightcase.settings.classPrefix+"loading"),$loading.hide())},getDimensions:function(){return{windowWidth:c(window).innerWidth(),windowHeight:c(window).innerHeight()}},verifyDataUrl:function(a){if(!a||void 0===a||""===a)return!1;-1$case.css("opacity")&&(lightcase.transition.zoom($case, +"in",lightcase.settings.speedIn),lightcase.transition.fade($contentInner,"in",lightcase.settings.speedIn));case "fade":case "fadeInline":lightcase.transition.fade($case,"in",lightcase.settings.speedIn);lightcase.transition.fade($contentInner,"in",lightcase.settings.speedIn);break;default:lightcase.transition.fade($case,"in",0)}lightcase.loading("end");lightcase.busy=!1},processContent:function(){lightcase.busy=!0;switch(lightcase.settings.transitionOut){case "scrollTop":case "scrollRight":case "scrollBottom":case "scrollLeft":case "scrollVertical":case "scrollHorizontal":$case.is(":hidden")? +(lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}),lightcase.transition.fade($contentInner,"out",0)):lightcase.transition.scroll($case,"out",lightcase.settings.speedOut,function(){lightcase.loadContent()});break;case "fade":$case.is(":hidden")?lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}):lightcase.transition.fade($case,"out",lightcase.settings.speedOut,0,function(){lightcase.loadContent()});break;case "fadeInline":case "elastic":$case.is(":hidden")? +lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}):lightcase.transition.fade($contentInner,"out",lightcase.settings.speedOut,0,function(){lightcase.loadContent()});break;default:lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()})}},handleEvents:function(){lightcase.unbindEvents();$nav.children().not($close).hide();lightcase.isSlideshowEnabled()&&($nav.hasClass(lightcase.settings.classPrefix+"paused")?lightcase.stopTimeout():lightcase.startTimeout()); +lightcase.settings.liveResize&&lightcase.watchResizeInteraction();$close.click(function(a){a.preventDefault();lightcase.lightcaseClose()});!0===lightcase.settings.closeOnOverlayClick&&$overlay.css("cursor","pointer").click(function(a){a.preventDefault();lightcase.lightcaseClose()});!0===lightcase.settings.useKeys&&lightcase.addKeyEvents();if(lightcase.objectData.isPartOfSequence&&($nav.attr("data-ispartofsequence",!0),lightcase.nav=lightcase.setNavigation(),$prev.click(function(a){a.preventDefault(); +$prev.unbind("click");lightcase.cache.action="prev";lightcase.nav.$prevItem.click();lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),$next.click(function(a){a.preventDefault();$next.unbind("click");lightcase.cache.action="next";lightcase.nav.$nextItem.click();lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),lightcase.isSlideshowEnabled()&&($play.click(function(a){a.preventDefault();lightcase.startTimeout()}),$pause.click(function(a){a.preventDefault();lightcase.stopTimeout()})), +!0===lightcase.settings.swipe)){if(c.isPlainObject(c.event.special.swipeleft))$case.on("swipeleft",function(a){a.preventDefault();$next.click();lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()});if(c.isPlainObject(c.event.special.swiperight))$case.on("swiperight",function(a){a.preventDefault();$prev.click();lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()})}},addKeyEvents:function(){c(document).bind("keyup.lightcase",function(a){if(!lightcase.busy)switch(a.keyCode){case 27:$close.click(); +break;case 37:lightcase.objectData.isPartOfSequence&&$prev.click();break;case 39:lightcase.objectData.isPartOfSequence&&$next.click()}})},startTimeout:function(){$play.hide();$pause.show();lightcase.cache.action="next";$nav.removeClass(lightcase.settings.classPrefix+"paused");lightcase.timeout=setTimeout(function(){lightcase.nav.$nextItem.click()},lightcase.settings.timeout)},stopTimeout:function(){$play.show();$pause.hide();$nav.addClass(lightcase.settings.classPrefix+"paused");clearTimeout(lightcase.timeout)}, +setNavigation:function(){var a=c("["+lightcase.settings.attr+'="'+lightcase.objectData.rel+'"]'),b=lightcase.objectData.currentIndex,k=b+1,e=lightcase.objectData.sequenceLength-1,d={$prevItem:a.eq(b-1),$nextItem:a.eq(k)};0a.width()&&(lightcase.cache.scrollPosition.left=e);b.height()>a.height()&&(lightcase.cache.scrollPosition.top=k)},watchResizeInteraction:function(){c(window).resize(lightcase.resize)},unwatchResizeInteraction:function(){c(window).off("resize",lightcase.resize)},watchScrollInteraction:function(){c(window).scroll(lightcase.cacheScrollPosition)},unwatchScrollInteraction:function(){c(window).off("scroll", +lightcase.cacheScrollPosition)},restoreScrollPosition:function(){c(window).scrollTop(parseInt(lightcase.cache.scrollPosition.top)).scrollLeft(parseInt(lightcase.cache.scrollPosition.left)).resize()},switchToFullScreenMode:function(){lightcase.settings.shrinkFactor=1;lightcase.settings.overlayOpacity=1;c("html").addClass(lightcase.settings.classPrefix+"fullScreenMode")},lightcaseOpen:function(){lightcase.open=!0;lightcase.support.transitions=lightcase.settings.cssTransitions?lightcase.isTransitionSupported(): +!1;lightcase.support.mobileDevice=lightcase.isMobileDevice();lightcase.support.mobileDevice&&(c("html").addClass(lightcase.settings.classPrefix+"isMobileDevice"),lightcase.settings.fullScreenModeForMobile&&lightcase.switchToFullScreenMode());lightcase.settings.transitionIn||(lightcase.settings.transitionIn=lightcase.settings.transition);lightcase.settings.transitionOut||(lightcase.settings.transitionOut=lightcase.settings.transition);switch(lightcase.settings.transitionIn){case "fade":case "fadeInline":case "elastic":case "scrollTop":case "scrollRight":case "scrollBottom":case "scrollLeft":case "scrollVertical":case "scrollHorizontal":$case.is(":hidden")&& +($close.css("opacity",0),$overlay.css("opacity",0),$case.css("opacity",0),$contentInner.css("opacity",0));lightcase.transition.fade($overlay,"in",lightcase.settings.speedIn,lightcase.settings.overlayOpacity,function(){lightcase.transition.fade($close,"in",lightcase.settings.speedIn);lightcase.handleEvents();lightcase.processContent()});break;default:lightcase.transition.fade($overlay,"in",0,lightcase.settings.overlayOpacity,function(){lightcase.transition.fade($close,"in",0);lightcase.handleEvents(); +lightcase.processContent()})}c("html").addClass(lightcase.settings.classPrefix+"open");$case.attr("aria-hidden","false")},lightcaseClose:function(){lightcase.open=!1;lightcase.isSlideshowEnabled()&&(lightcase.stopTimeout(),$nav.removeClass(lightcase.settings.classPrefix+"paused"));$loading.hide();lightcase.unbindEvents();lightcase.unwatchResizeInteraction();lightcase.unwatchScrollInteraction();c("html").removeClass(lightcase.settings.classPrefix+"open");$case.attr("aria-hidden","true");$nav.children().hide(); +lightcase.restoreScrollPosition();lightcase.callHooks(lightcase.settings.onClose);switch(lightcase.settings.transitionOut){case "fade":case "fadeInline":case "scrollTop":case "scrollRight":case "scrollBottom":case "scrollLeft":case "scrollHorizontal":case "scrollVertical":lightcase.transition.fade($case,"out",lightcase.settings.speedOut,0,function(){lightcase.transition.fade($overlay,"out",lightcase.settings.speedOut,0,function(){lightcase.cleanup()})});break;case "elastic":lightcase.transition.zoom($case, +"out",lightcase.settings.speedOut,function(){lightcase.transition.fade($overlay,"out",lightcase.settings.speedOut,0,function(){lightcase.cleanup()})});break;default:lightcase.cleanup()}},unbindEvents:function(){$overlay.unbind("click");c(document).unbind("keyup.lightcase");$case.unbind("swipeleft").unbind("swiperight");$nav.children("a").unbind("click");$close.unbind("click")},cleanupDimensions:function(){var a=$contentInner.css("opacity");$case.css({width:"",height:"",top:"",left:"","margin-top":"", +"margin-left":""});$contentInner.removeAttr("style").css("opacity",a);$contentInner.children().removeAttr("style")},cleanup:function(){lightcase.cleanupDimensions();$loading.hide();$overlay.hide();$case.hide();$nav.children().hide();$case.removeAttr("data-type");$nav.removeAttr("data-ispartofsequence");$contentInner.empty().hide();$info.children().empty();lightcase.cache.originalObject&&lightcase.restoreObject();lightcase.callHooks(lightcase.settings.onCleanup);lightcase.cache={}}};c.fn.lightcase= +function(a){if(lightcase[a])return lightcase[a].apply(this,Array.prototype.slice.call(arguments,1));if("object"!==typeof a&&a)c.error("Method "+a+" does not exist on jQuery.lightcase");else return lightcase.init.apply(this,arguments)}})(jQuery); + +jQuery(document).ready(function() { + + jQuery('#slideshow').cycle({ + slides: '> div.slide', + swipe: true, + fx: 'fadeout', + speed: 750, + timeout: 9500 + }); + + jQuery('a[data-rel^=lightcase]').lightcase({ + showTitle: false + }); + +}); diff --git a/sidebar-about.php b/sidebar-about.php new file mode 100644 index 0000000..8dfcd97 --- /dev/null +++ b/sidebar-about.php @@ -0,0 +1,4 @@ + diff --git a/sidebar-amenities.php b/sidebar-amenities.php new file mode 100644 index 0000000..59110fa --- /dev/null +++ b/sidebar-amenities.php @@ -0,0 +1,4 @@ + diff --git a/sidebar-contact.php b/sidebar-contact.php new file mode 100644 index 0000000..547bb8b --- /dev/null +++ b/sidebar-contact.php @@ -0,0 +1,4 @@ + diff --git a/sidebar-guides.php b/sidebar-guides.php new file mode 100644 index 0000000..c20c20b --- /dev/null +++ b/sidebar-guides.php @@ -0,0 +1,4 @@ + diff --git a/sidebar-home.php b/sidebar-home.php new file mode 100644 index 0000000..e4a853b --- /dev/null +++ b/sidebar-home.php @@ -0,0 +1,4 @@ + diff --git a/sidebar-rooms.php b/sidebar-rooms.php new file mode 100644 index 0000000..a7a54a3 --- /dev/null +++ b/sidebar-rooms.php @@ -0,0 +1,4 @@ + diff --git a/sidebar.php b/sidebar.php new file mode 100644 index 0000000..cfd0121 --- /dev/null +++ b/sidebar.php @@ -0,0 +1,4 @@ + diff --git a/style-editor.css b/style-editor.css new file mode 100644 index 0000000..c3f3802 --- /dev/null +++ b/style-editor.css @@ -0,0 +1,60 @@ +@import 'https://fonts.googleapis.com/css?family=Montserrat|Raleway:500,600'; +@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css); +/* +Theme Name: Colonial Inn Hotel +Theme URI: http://www.mcgwebdevelopment.com/ +Author: MCG Web Development, Inc. +Author URI: http://www.mcgwebdevelopment.com/ +Description: A custom built HTML5/CSS3 theme using H5BP 5.0 and the Bootstrap grid 3.3.5. +Version: 1.0.0 +*/ + +/* Admin Editor Base Styles */ +html { -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; } +html .mceContentBody { max-width:770px; padding:20px !important; margin:0 auto; background:none !important; } +* { font-size:100%; font-family:"Open Sans", sans-serif; line-height:1.42857143; color:#333; } + +/*! normalize.css v3.0.3 [modified and stripped slightly]*/ +html{font-family:-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,figcaption,figure,footer,header,main,menu,nav,section{display:block}audio,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} + +/* Bootstrap v3.3.5 */ +html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Montserrat,sans-serif;font-size:14px;line-height:1.5;color:#2f2f2f;}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#0a1d4a;}a:hover,a:focus{color:#2a79f0;}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle; display:block;max-width:100%;height:auto}hr{margin-top:30px;margin-bottom:20px;border:0;border-top:4px solid #d8d8d8}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6{font-family:"Raleway",sans-serif;font-weight:600;line-height:1.2;text-transform:uppercase;}h2,h3{margin-top:30px;margin-bottom:8px}h4,h5,h6{margin-top:20px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}p{margin:0 0 0.8em;}.lead{margin-bottom:20px;font-size:16px;font-weight:300;}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}abbr[title]{cursor:help;border-bottom:1px dotted #d8d8d8}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #d8d8d8}blockquote p:last-child{margin-bottom:0}address{margin-bottom:20px;font-style:normal;line-height:1.5} +.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#fff;background-color:#0a1d4a;border-color:#0a1d4a}.btn:focus,.btn:active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#fff;text-decoration:none;background-color:#295fb0;border-color:#295fb0;}.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);color:#fff;background-color:#295fb0;border-color:#295fb0;}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%} + +body { font-size:17px; } +h1 {font-size:32px; margin:0 0 8px; color:#0a1d4a; } +h2,h3,h4,h5,h6{font-size:28px; color:#222; } +h3{ font-size:22px; } +h4,h5,h6{font-size:19px} + +blockquote { font-style:italic; } +blockquote p:last-child { text-align:right; font-size:85%; font-style:normal; display:block; } +blockquote p:last-child::before { content: "— "; } + +ul.pdf li, ul li.pdf { background:url(images/pdf.png) no-repeat left 5px; padding-left:22px; list-style:none; margin:0; } +ul.doc li, ul li.doc { background:url(images/doc.png) no-repeat left 5px; padding-left:22px; list-style:none; margin:0; } +ul.xls li, ul li.xls { background:url(images/xls.png) no-repeat left 5px; padding-left:22px; list-style:none; margin:0; } +ul.img li, ul li.img { background:url(images/img.png) no-repeat left 5px; padding-left:22px; list-style:none; margin:0; } +ul.vid li, ul li.vid { background:url(images/vid.png) no-repeat left 5px; padding-left:22px; list-style:none; margin:0; } +ul.ppt li, ul li.ppt { background:url(images/ppt.png) no-repeat left 5px; padding-left:22px; list-style:none; margin:0; } + +/* room galleries */ +ul.room-gallery { list-style:none; width:100%; margin:1.5em 0; padding:0; clear:both; display:block; position: relative; overflow:auto; } +ul.room-gallery li { width:100%; margin:0; padding:0 0 1px; display:block; } +ul.room-gallery li img { display:block; margin:0 auto; } + +hr.clear { margin:0; border:0; height:0; clear:both; } + +.btn { display:block; margin:20px auto; padding:12px 20px; font-size:14px; letter-spacing:3px; transition:all .2s ease-in-out; text-transform:uppercase; font-weight:500; background-color:#0a1d4a; color:#fff; text-decoration:none; text-align:center; max-width:300px; border-radius:1px; } +.btn:hover { background-color:#295fb0; } + +/* Wordpress Generated Classes */ +.alignnone { margin:0.25em 1.5em 1em 0; } +.aligncenter { display:block; margin:0.5em auto 1em; text-align:center; } +.alignleft { float:left; margin:0.25em 1.5em 1em 0; } +.alignright { float:right; margin:0.25em 0 1em 1.5em; } +img.alignleft, img.alignright { max-width:45%; } +.wp-caption { border:1px solid #efefef; text-align:center; background:#efefef; padding:0; max-width:100% !important; text-align:center; } +.wp-caption img { margin:0; padding:0; border-bottom:1px solid #d8d8d8; } +.wp-caption p { margin:0; padding:0; line-height:1em; } +.wp-caption p.wp-caption-text { font-size:13px; font-style:italic; color:#2f2f2f; padding:10px; line-height:1.375em; } diff --git a/style-login.css b/style-login.css new file mode 100644 index 0000000..900ada6 --- /dev/null +++ b/style-login.css @@ -0,0 +1,13 @@ +/* per http://codex.wordpress.org/Customizing_the_Login_Form */ +body.login { background:url(images/bg.jpg); color:#2f2f2f; } +body.login div#login h1 a { background:url(images/logo-login.png) no-repeat top center; width:326px;height:64px;text-indent:-9999px;overflow:hidden;padding-bottom:0;display:block; } /*change height to match logo */ +body.login div#login form#loginform { border-radius:3px; } +body.login div#login p#nav a, body.login div#login p#backtoblog a { color:#0a1d4a !important; } +body.login div#login p#nav a:hover, body.login div#login p#backtoblog a:hover { color:#295fb0 !important; } + +body.login.wp-core-ui .button-primary { background:#0a1d4a; border-color:#0a1d4a; -webkit-box-shadow:none; box-shadow:none; } +body.login.wp-core-ui .button-primary.focus,body.login.wp-core-ui .button-primary.hover,body.login.wp-core-ui .button-primary:focus,body.login.wp-core-ui .button-primary:hover { background:#295fb0; border-color:#295fb0; } +body.login.wp-core-ui .button-primary.focus,body.login.wp-core-ui .button-primary:focus { -webkit-box-shadow:none; box-shadow:none; } +body.login.wp-core-ui .button-primary.active,body.login.wp-core-ui .button-primary.active:focus,body.login.wp-core-ui .button-primary.active:hover,body.login.wp-core-ui .button-primary:active { background:#295fb0; border-color:#295fb0; -webkit-box-shadow:none; box-shadow:none; } + +body.login #login_error, body.login .message { border-left:4px solid #295fb0; background:#0a1d4a; color:#fff; } diff --git a/style.css b/style.css new file mode 100644 index 0000000..e094cce --- /dev/null +++ b/style.css @@ -0,0 +1,310 @@ +@import 'https://fonts.googleapis.com/css?family=Montserrat|Raleway:500,600'; +@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css); +/* +Theme Name: Colonial Inn Hotel +Theme URI: https://www.mcgwebdevelopment.com/ +Author: MCG Web Development, Inc. +Author URI: http://www.mcgwebdevelopment.com/ +Description: A custom built HTML5/CSS3 theme using H5BP 5.0 and the Bootstrap grid 3.3.5. +Version: 1.0.0 +*/ + +/*! normalize.css v3.0.3 [modified and stripped slightly]*/ +html{font-family:-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,figcaption,figure,footer,header,main,menu,nav,section{display:block}audio,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} + +/* Bootstrap v3.3.5 */ +html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Montserrat,sans-serif;font-size:14px;line-height:1.5;color:#2f2f2f;}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#0a1d4a;}a:hover,a:focus{color:#2a79f0;}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle; display:block;max-width:100%;height:auto}hr{margin-top:30px;margin-bottom:20px;border:0;border-top:4px solid #d8d8d8}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6{font-family:"Raleway",sans-serif;font-weight:600;line-height:1.2;text-transform:uppercase;}h2,h3{margin-top:30px;margin-bottom:8px}h4,h5,h6{margin-top:20px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}p{margin:0 0 0.8em;}.lead{margin-bottom:20px;font-size:16px;font-weight:300;}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}abbr[title]{cursor:help;border-bottom:1px dotted #d8d8d8}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #d8d8d8}blockquote p:last-child{margin-bottom:0}address{margin-bottom:20px;font-style:normal;line-height:1.5} +.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media(min-width:768px){.container{width:750px}}@media(min-width:992px){.container{width:970px}}@media(min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}} +fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#656565;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block;height:auto !important;}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#878787}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#878787;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{border:0;background-color:transparent}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type="date"].form-control,input[type="time"].form-control,input[type="datetime-local"].form-control,input[type="month"].form-control{line-height:34px}input[type="date"].input-sm,input[type="time"].input-sm,input[type="datetime-local"].input-sm,input[type="month"].input-sm,.input-group-sm input[type="date"],.input-group-sm input[type="time"],.input-group-sm input[type="datetime-local"],.input-group-sm input[type="month"]{line-height:30px}input[type="date"].input-lg,input[type="time"].input-lg,input[type="datetime-local"].input-lg,input[type="month"].input-lg,.input-group-lg input[type="date"],.input-group-lg input[type="time"],.input-group-lg input[type="datetime-local"],.input-group-lg input[type="month"]{line-height:46px}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media(min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media(min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media(min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}} +.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#fff;background-color:#0a1d4a;border-color:#0a1d4a}.btn:focus,.btn:active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#fff;text-decoration:none;background-color:#295fb0;border-color:#295fb0;}.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);color:#fff;background-color:#295fb0;border-color:#295fb0;}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%} +.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease} +.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \9;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#0a1d4a;border:1px solid #0a1d4a;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);-webkit-background-clip:padding-box;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#295fb0}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.42857143;color:#fff;white-space:nowrap;text-decoration:none;}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#fff;background-color:#295fb0}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#0a1d4a;cursor:default;}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#fff;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media(min-width:992px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{text-decoration:none;position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#295fb0;}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#0a1d4a;border-color:#0a1d4a}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#fc3}.nav>li>a>img{max-width:none}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}@media(min-width:992px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media(min-width:992px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media(max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:992px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0} +.navbar-toggle{position:relative;width:100%;margin:10px 0;padding:8px 0;background-color:transparent;background-image:none;border:0;display:block;}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:40px;height:4px;border-radius:1px;margin:0 auto;}.navbar-toggle .icon-bar+.icon-bar{margin-top:5px;}@media(min-width:992px){.navbar-toggle{display:none}}.navbar-nav{margin:10px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px;display:block;}@media(max-width:991px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:992px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:12px;padding-bottom:12px}} +.navbar-nav>li>.dropdown-menu{margin-top:0;}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;}.navbar-btn{margin-top:13px;margin-bottom:13px}.navbar-btn.btn-sm{margin-top:15px;margin-bottom:15px}.navbar-btn.btn-xs{margin-top:19px;margin-bottom:19px}.navbar-text{margin-top:12px;margin-bottom:12px}@media(min-width:992px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media(min-width:992px){.navbar-left{float:left !important}.navbar-right{float:right !important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{}.navbar-default .navbar-text{color:#fff}.navbar-default .navbar-nav>li>a{color:#fff;text-transform:uppercase;letter-spacing:3px;}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#2a79f0;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#fff;cursor:default;} +.navbar-default .navbar-toggle .icon-bar{background-color:#fff}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#fff}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#0a1d4a;color:#2a79f0;}@media(max-width:991px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#fff; text-align:center;}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#2a79f0;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#2a79f0;background-color:#0a1d4a}}.navbar-default .navbar-link{color:#fff}.navbar-default .navbar-link:hover{color:#2a79f0}.navbar-default .btn-link{color:#fff}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#2a79f0} +.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed} +@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none !important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none !important}@media (max-width:767px){.visible-xs{display:block !important}table.visible-xs{display:table !important}tr.visible-xs{display:table-row !important}th.visible-xs,td.visible-xs{display:table-cell !important}}@media (max-width:767px){.visible-xs-block{display:block !important}}@media (max-width:767px){.visible-xs-inline{display:inline !important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block !important}table.visible-sm{display:table !important}tr.visible-sm{display:table-row !important}th.visible-sm,td.visible-sm{display:table-cell !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline !important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block !important}table.visible-md{display:table !important}tr.visible-md{display:table-row !important}th.visible-md,td.visible-md{display:table-cell !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline !important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width:1200px){.visible-lg{display:block !important}table.visible-lg{display:table !important}tr.visible-lg{display:table-row !important}th.visible-lg,td.visible-lg{display:table-cell !important}}@media (min-width:1200px){.visible-lg-block{display:block !important}}@media (min-width:1200px){.visible-lg-inline{display:inline !important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width:767px){.hidden-xs{display:none !important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none !important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none !important}}@media (min-width:1200px){.hidden-lg{display:none !important}} + +/* Yamm!3 - megamenu for Bootstrap */ +.yamm .nav, .yamm .collapse, .yamm .dropup, .yamm .dropdown { position:static; } +.yamm .container { position:relative; } +.yamm .dropdown-menu { left: auto; width:700px; } +.yamm .yamm-content { padding:0 15px; } +.yamm .dropdown.yamm-fw .dropdown-menu { left: 0; right: 0; } +.yamm .dropdown-menu ul { list-style:none; } +.yamm .dropdown-menu ul li { margin:0; padding:0 10px; } +.yamm .dropdown-menu ul li a { display:block; color:#fff; text-decoration:none; } +.yamm .dropdown-menu ul li a:hover { color:#2a79f0; } +.yamm .dropdown-menu ul li.h3 { color:#2a79f0; font-size:16px; text-transform:uppercase; padding-top:10px; } +.yamm .dropdown-menu ul li.first-h3 { margin-top:-8px; padding-top:0; } +.yamm .dropdown-menu ul li hr {margin-top:20px;border-top:1px solid #1f3569;} +.yamm .dropdown-menu ul li.sep {display:none;} + +/* Bootstrap 3 styles for Gravity Forms */ +.gform_wrapper ul { padding-left:0; list-style:none; } +.gform_wrapper li { margin:0 0 15px; } +.gform_wrapper form { margin-bottom:0; } +.gform_wrapper .gfield_required { padding-left:1px; color:#b94a48 !important; } +.ginput_container input, .ginput_container select, .ginput_container textarea { display:block; width:100%; height:34px; padding:6px 12px; font-size:14px; line-height:1.428571429; color:#555; vertical-align:middle; background-color:#fff; border:1px solid #ccc; border-radius:4px; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s; } +.ginput_container input:-moz-placeholder, .ginput_container select:-moz-placeholder, .ginput_container textarea:-moz-placeholder { color:#999; } +.ginput_container input::-moz-placeholder, .ginput_container select::-moz-placeholder, .ginput_container textarea::-moz-placeholder { color:#999; } +.ginput_container input:-ms-input-placeholder, .ginput_container select:-ms-input-placeholder, .ginput_container textarea:-ms-input-placeholder { color:#999; } +.ginput_container input::-webkit-input-placeholder, .ginput_container select::-webkit-input-placeholder, .ginput_container textarea::-webkit-input-placeholder { color:#999; } +.ginput_container input:focus, .ginput_container select:focus, .ginput_container textarea:focus { border-color:#66afe9; outline:0; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); } +textarea.ginput_container input, textarea.ginput_container select, textarea.ginput_container textarea { height:auto; } +.ginput_container textarea { height:auto; } +.gform_button { display:inline-block; padding:6px 12px; margin-bottom:0; font-weight:bold; line-height:1.428571429; text-align:center; vertical-align:middle; cursor:pointer; border:1px solid transparent; border-radius:4px; white-space:nowrap; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; -o-user-select:none; user-select:none; color:#fff; background-color:#0a1d4a; border-color:#0a1d4a; } +.gform_button:focus { outline:thin dotted #0a1d4a; outline:5px auto -webkit-focus-ring-color; outline-offset:-2px; } +.gform_button:hover, .gform_button:focus { background-color:#295fb0; border-color:#295fb0; text-decoration:none; color:#fff; } +.gform_button:active, .gform_button.active { outline:0; background-image:none; -webkit-box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125); } +.gform_button:hover, .gform_button:focus, .gform_button:active, .gform_button.active, .open .dropdown-toggle.gform_button { color:#fff; background-color:#2f2f2f; border-color:#111; } +.gform_wrapper li.gfield.gfield_error { background-color:#ffefef !important; color:#b94a48 !important; border-top:1px solid #b94a48 !important; border-bottom:1px solid #b94a48 !important; } +.gform_wrapper .gfield_error .gfield_label { color:#b94a48 !important; } +.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error select, .gform_wrapper .gfield_error textarea { border-color:#eed3d7; background-color:#ffefef; color:#b94a48; } +.gform_wrapper .gfield_error input:focus, .gform_wrapper .gfield_error select:focus, .gform_wrapper .gfield_error textarea:focus { border-color:#b94a48; outline:0; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(185, 74, 72, 0.6); box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(185, 74, 72, 0.6); } +.validation_error { padding:15px !important; margin-bottom:20px !important; border:1px solid #b94a48 !important; border-radius:0; background-color:#ffefef; color:#b94a48 !important; font:bold 1em/1.375em sans-serif !important; } +.validation_error h4 { margin-top:0; color:inherit; } +.validation_error .alert-link { font-weight:bold; } +.validation_error>p, .validation_error>ul { margin-bottom:0; } +.validation_error>p+p { margin-top:5px; } +.validation_error hr { border-top-color:#bbb; } +.validation_error .alert-link { color:#b94a48; } +#gforms_confirmation_message { padding:15px; margin-bottom:20px; border:1px solid transparent; border-radius:4px; } +#gforms_confirmation_message h4 { margin-top:0; color:inherit; } +#gforms_confirmation_message .alert-link { font-weight:bold; } +#gforms_confirmation_message>p, #gforms_confirmation_message>ul { margin-bottom:0; } +#gforms_confirmation_message>p+p { margin-top:5px; } +.gform_wrapper .gform_footer { padding:1em 0 0.625em; margin:1em 0 0; clear:both; } +.gform_wrapper .gfield_checkbox li input, .gform_wrapper .gfield_checkbox li input[type="checkbox"], .gform_wrapper .gfield_radio li input[type="radio"] { margin-top:-5px !important; } +.gform_wrapper .top_label .gfield_label { margin:0.625em 0 0; font-weight:bold; } +.ginput_quantity { display:inline-block !important; } +.gform_wrapper .gfield_time_hour i { margin-top:-1.75em !important; } +#extensions_message { font-size:11px; } + +/* Lightcase */ +[class*='lightcase-icon-']:before { font-family:FontAwesome; font-style:normal; font-weight:normal; speak:none; display:inline-block; text-decoration:inherit; width:1em; text-align:center; font-variant:normal; text-transform:none; line-height:1em; } +.lightcase-icon-play:before { content:'\f04b'; } +.lightcase-icon-pause:before { content:'\f04c'; } +.lightcase-icon-close:before { content:'\f00d' } +.lightcase-icon-prev:before { content:'\f053'; } +.lightcase-icon-next:before { content:'\f054'; } +.lightcase-icon-spin:before { content:'\f110'; } +@media screen and (max-width:640px) { + .lightcase-open body { padding:55px 0 70px 0; } + .lightcase-open body > *:not([id*=lightcase-]) { position:fixed !important; top:-9999px !important; width:0 !important; height:0 !important; overflow:hidden !important; } + #lightcase-overlay { background:#333; } + #lightcase-loading { color:#aaa; } + #lightcase-case { font-size:13px; line-height:18px; text-align:left; text-shadow:0 0 10px rgba(0,0,0,0.5); } + #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]), #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-contentInner, #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-inlineWrap { position:relative !important; top:auto !important; left:auto !important; width:auto !important; height:auto !important; margin:0 !important; padding:0 !important; border:none; background:none; } + #lightcase-case .lightcase-content h1, #lightcase-case .lightcase-content h2, #lightcase-case .lightcase-content h3, #lightcase-case .lightcase-content h4, #lightcase-case .lightcase-content h5, #lightcase-case .lightcase-content h6, #lightcase-case .lightcase-content p { color:#aaa; } + #lightcase-case .lightcase-info { padding-left:15px; padding-right:15px; } + #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-info { position:static; } + #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-content { padding:15px; border:none; background:none; -webkit-box-shadow:none; box-shadow:none; } + #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-contentInner, #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-contentInner > * { width:100% !important; max-width:none !important; } + #lightcase-case:not([data-type=image]):not([data-type=video]):not([data-type=flash]):not([data-type=error]) .lightcase-contentInner > *:not(iframe) { height:auto !important; max-height:none !important; } + .lightcase-open #lightcase-nav[data-ispartofsequence]:before { content:''; position:fixed; z-index:9998; right:0; bottom:0; left:0; height:55px; background:rgba(55,55,55,0.9); } + #lightcase-nav a { position:fixed; z-index:9999; bottom:15px; outline:none; cursor:pointer; font-size:24px; } + #lightcase-nav a:hover { text-shadow:0 0 15px #fff; } + #lightcase-nav .lightcase-icon-close { position:absolute; z-index:9997; top:15px; right:15px; opacity:0; } + #lightcase-nav .lightcase-icon-pause, #lightcase-nav .lightcase-icon-play { left:50%; margin-left:-0.5em; } + #lightcase-nav .lightcase-icon-prev { left:15px; } + #lightcase-nav .lightcase-icon-next { right:15px; } + #lightcase-case p.lightcase-error { padding:30px 0; font-size:17px; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#aaa; } +} +@media screen and (min-width:641px) { + #lightcase-overlay { background:#111; } + #lightcase-loading { color:#fff; } + #lightcase-case { font-family:arial, sans-serif; font-size:13px; line-height:18px; text-align:left; color:#aaa; text-shadow:0 0 10px rgba(0,0,0,0.5); } + #lightcase-case:not([data-type=error]) .lightcase-content { position:relative; z-index:1; overflow:hidden; text-shadow:none; background-color:#fff; -webkit-box-shadow:0 0 30px rgba(0,0,0,0.5); -moz-box-shadow:0 0 30px rgba(0,0,0,0.5); -o-box-shadow:0 0 30px rgba(0,0,0,0.5); box-shadow:0 0 30px rgba(0,0,0,0.5); -webkit-backface-visibility:hidden; } + #lightcase-case[data-type=image] .lightcase-content, #lightcase-case[data-type=video] .lightcase-content { background-color:#111; } + #lightcase-case[data-type=image] .lightcase-contentInner, #lightcase-case[data-type=video] .lightcase-contentInner { line-height:0.75; } + #lightcase-case:not([data-type=error]) .lightcase-inlineWrap { padding:30px; overflow:auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; } + #lightcase-case .lightcase-content h1, #lightcase-case .lightcase-content h2, #lightcase-case .lightcase-content h3, #lightcase-case .lightcase-content h4, #lightcase-case .lightcase-content h5, #lightcase-case .lightcase-content h6, #lightcase-case .lightcase-content p { color:#333; } + #lightcase-nav a { bottom:50%; margin-bottom:-0.5em; outline:none; cursor:pointer; } + #lightcase-nav a.lightcase-icon-close { margin:0; } + #lightcase-nav a.lightcase-icon-close, #lightcase-nav a.lightcase-icon-play, #lightcase-nav a.lightcase-icon-pause { opacity:0; } + #lightcase-nav a:hover, #lightcase-case:hover ~ #lightcase-nav a { opacity:1; } + #lightcase-nav a.lightcase-icon-close { position:fixed; z-index:9997; top:15px; right:15px; outline:none; } + #lightcase-nav a.lightcase-icon-play, #lightcase-nav a.lightcase-icon-pause { left:50%; margin-left:-0.5em; } + #lightcase-nav a.lightcase-icon-prev { left:15px; } + #lightcase-nav a.lightcase-icon-next { right:15px; } + #lightcase-case p.lightcase-error { margin:0; padding:0; font-size:17px; color:#aaa; } +} +@media screen { + #lightcase-overlay { display:none; width:100%; height:100%; position:fixed; z-index:1000; top:0; left:0; } + #lightcase-loading { position:fixed; z-index:1001; top:50%; left:50%; margin-top:-0.5em; margin-left:-0.5em; opacity:1; font-size:32px; -moz-transform-origin:50% 53%; -webkit-animation:lightcase-loading-spin 0.5s infinite linear; -moz-animation:lightcase-loading-spin 0.5s infinite linear; -o-animation:lightcase-loading-spin 0.5s infinite linear; animation:lightcase-loading-spin 0.5s infinite linear; } + #lightcase-case { display:none; position:fixed; z-index:1002; top:50%; left:50%; } + #lightcase-case .lightcase-info { position:absolute; padding-top:10px; } + #lightcase-case .lightcase-caption { clear:both; } + #lightcase-case .lightcase-title, #lightcase-case .lightcase-caption { margin:0; padding:0; font-size:17px; line-height:1.5; font-weight:normal; text-overflow:ellipsis; } + #lightcase-case .lightcase-caption { font-size:13px; } + #lightcase-case .lightcase-sequenceInfo { font-size:11px; } + [class*='lightcase-icon-'] { width:1.123em; height:auto; font-size:38px; line-height:1; text-align:center; text-shadow:none; } + a[class*='lightcase-icon-'], a[class*='lightcase-icon-']:focus { position:fixed; z-index:9999; text-decoration:none; color:rgba(255,255,255,0.6); -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-transition:color, opacity, ease-in-out 0.25s; -moz-transition:color, opacity, ease-in-out 0.25s; -o-transition:color, opacity, ease-in-out 0.25s; transition:color, opacity, ease-in-out 0.25s; } + a[class*='lightcase-icon-']:hover { color:rgba(255,255,255,1); } + a[class*='lightcase-icon-'] > span { display:inline-block; text-indent:-9999px; } + .lightcase-isMobileDevice #lightcase-case .lightcase-inlineWrap, .lightcase-isMobileDevice #lightcase-case[data-type=iframe] .lightcase-contentInner { overflow:auto; -webkit-overflow-scrolling:touch; } + .lightcase-isMobileDevice.lightcase-open, .lightcase-isMobileDevice.lightcase-open body { max-width:100%; max-height:100%; overflow:hidden; } + .lightcase-isMobileDevice #lightcase-nav a:hover { color:#aaa; text-shadow:none; } +} +@-webkit-keyframes lightcase-loading-spin { 0% { -webkit-transform:rotate(0deg); transform:rotate(0deg); } 100% {-webkit-transform:rotate(359deg); transform:rotate(359deg); } } +@-moz-keyframes lightcase-loading-spin { 0% { -webkit-transform:rotate(0deg); transform:rotate(0deg); } 100% { -webkit-transform:rotate(359deg); transform:rotate(359deg); } } +@-o-keyframes lightcase-loading-spin { 0% { -webkit-transform:rotate(0deg); transform:rotate(0deg); } 100% { -webkit-transform:rotate(359deg); transform:rotate(359deg); } } +@-ms-keyframes lightcase-loading-spin { 0% { -webkit-transform:rotate(0deg); transform:rotate(0deg); } 100% { -webkit-transform:rotate(359deg); transform:rotate(359deg); } } +@keyframes lightcase-loading-spin { 0% { -webkit-transform:rotate(0deg); transform:rotate(0deg); } 100% { -webkit-transform:rotate(359deg); transform:rotate(359deg); } } + + +html { background:url(images/bg.jpg) center center; } +::selection { background:#0a1d4a; text-shadow:none; color:#fff; } + +h1 {font-size:24px; margin:0 0 8px; color:#0a1d4a; } +h2,h3,h4,h5,h6{font-size:20px; color:#222; } +h3{ font-size:18px; } +h4,h5,h6{font-size:16px} + +blockquote { font-style:italic; } +blockquote p:last-child { text-align:right; font-size:85%; font-style:normal; display:block; } +blockquote p:last-child::before { content: "— "; } + +/* Wordpress Generated Classes */ +.alignnone { margin:0.25em 1.5em 1em 0; } +.aligncenter { display:block; margin:0.5em auto 1em; text-align:center; } +.alignleft { float:left; margin:0.25em 1.5em 1em 0; } +.alignright { float:right; margin:0.25em 0 1em 1.5em; } +img.alignleft, img.alignright { max-width:45%; } +.wp-caption { border:1px solid #efefef; text-align:center; background:#efefef; padding:0; max-width:100% !important; text-align:center; } +.wp-caption img { margin:0; padding:0; border-bottom:1px solid #d8d8d8; } +.wp-caption p { margin:0; padding:0; line-height:1em; } +.wp-caption p.wp-caption-text { font-size:13px; font-style:italic; color:#2f2f2f; padding:10px; line-height:1.375em; } + +hr.clear { margin:0; border:0; height:0; clear:both; } + +ul.pdf li, ul li.pdf { background:url(images/pdf.png) no-repeat left 3px; padding-left:22px; list-style:none; margin:0; } +ul.doc li, ul li.doc { background:url(images/doc.png) no-repeat left 3px; padding-left:22px; list-style:none; margin:0; } +ul.xls li, ul li.xls { background:url(images/xls.png) no-repeat left 3px; padding-left:22px; list-style:none; margin:0; } +ul.img li, ul li.img { background:url(images/img.png) no-repeat left 3px; padding-left:22px; list-style:none; margin:0; } +ul.vid li, ul li.vid { background:url(images/vid.png) no-repeat left 3px; padding-left:22px; list-style:none; margin:0; } +ul.ppt li, ul li.ppt { background:url(images/ppt.png) no-repeat left 3px; padding-left:22px; list-style:none; margin:0; } + +.btn { display:block; margin:20px auto; padding:12px 20px; font-size:14px; letter-spacing:3px; transition:all .2s ease-in-out; text-transform:uppercase; font-weight:500; background-color:#0a1d4a; color:#fff; text-decoration:none; text-align:center; max-width:300px; border-radius:1px; } +.btn:hover { background-color:#295fb0; } + +/* header */ +header { text-align:center; } +header.container div.row { padding:0 10px; } +header #logo { display:block; margin:15px auto 10px; } +header a { text-decoration:none; color:#0a1d4a; } +header p { margin:0 0 15px; font-size:18px; color:#0a1d4a; } +header address { display:none; color:#0a1d4a; } + +menu { margin:0; padding:0; } +menu nav { background:#0a1d4a; } +menu ul#menu-main { margin-top:0; } +/*menu ul#menu-main li { border-top:1px solid #d8d8d8; }*/ + +main article { padding:20px 10px; } +main aside { padding:0 10px 20px; } +main aside h3 { text-transform:none; } + +/* footer */ +footer { text-align:center; border-top:5px solid #d8d8d8; } +footer div.row { padding:20px 10px; } +footer p { margin:0; font-size:12px; font-family:"Raleway",sans-serif; font-weight:500; color:#999; } +footer p span { display:block; font-size:0; visibility:hidden; } +footer a { text-decoration:none; color:#999; } +footer a:hover { text-decoration:underline; } + +/* HP Slideshow */ +#featured { overflow:hidden; max-height:450px; z-index:0; } +#slideshow { max-width:1400px; max-height:450px; margin:0 auto; padding:0; position:relative; overflow:hidden; } +#slideshow div.slide { position:absolute; width:100%; overflow:hidden; margin:0; padding:0; } +#slideshow div.slide.first { display:block; } +#slideshow div.slide img { width:100%; height:auto; max-width:100%; display:block; z-index:0; } +.cycle-prev, .cycle-next { display:none; position:absolute; height:72px; margin:auto 0; top:0; bottom:0; font-size:72px; line-height:1em; color:rgba(255, 255, 255, 0.4); z-index:2000; cursor:pointer; } +.cycle-prev:hover, .cycle-next:hover { color:rgba(255, 255, 255, 1); } +.cycle-prev { left:30px; } +.cycle-next { right:30px; } + +/* sub-page banners */ +#banner { width:100%; max-width:1170px; margin:0 auto; } +#banner img { width:100%; max-width:1170px; margin:0 auto; } + +/* room galleries */ +ul.room-gallery { list-style:none; width:100%; margin:1.5em 0 0; padding:0; clear:both; display:block; position: relative; overflow:auto; } +ul.room-gallery li { width:100%; margin:0; padding:0 0 1px; display:block; } +ul.room-gallery li img { display:block; margin:0 auto; } + +/* Media Queries */ +@media(min-width:419px) { + body { font-size:15px; } +} +@media(max-width:499px) { + #slideshow div.slide { height:160px } + #slideshow div.slide img { width:500px; height:160px; object-fit:cover; margin:0 auto; } +} +@media(min-width:499px) { + ul.room-gallery li { float:left; width:50%; padding:0 1px 1px 0; } + ul.room-gallery li.odd { float:none; padding:0; margin:0 auto; } +} +@media(min-width:768px) { + body { font-size:16px; } + .cycle-prev, .cycle-next { display:block; } + #banner { max-width:750px; } + #banner img { max-width:750px; } + article.col-md-8 { padding:20px; } + aside.col-md-4 { padding:0 20px 20px; } + h1{font-size:28px} + h2{font-size:25px} + h3{font-size:22px} + h4,h5,h6{font-size:19px} + ul.pdf li, ul li.pdf { background:url(images/pdf.png) no-repeat left 5px; } + ul.doc li, ul li.doc { background:url(images/doc.png) no-repeat left 5px; } + ul.xls li, ul li.xls { background:url(images/xls.png) no-repeat left 5px; } + ul.img li, ul li.img { background:url(images/img.png) no-repeat left 5px; } + ul.vid li, ul li.vid { background:url(images/vid.png) no-repeat left 5px; } + ul.ppt li, ul li.ppt { background:url(images/ppt.png) no-repeat left 5px; } + footer div.row { padding:25px 20px; } + footer p { font-size:13px; } + footer p span { display:inline; font-size:13px; visibility:visible; } +} +@media(min-width:992px) { + body { font-size:17px; } + header.container div.row { padding:0 30px 0 29px; } + header { text-align:right; } + header #logo { float:left; margin:15px 0; } + header p { margin:21px 0 8px; font-size:24px; } + header p span { font-size:18px; } + header address { display:block; font-size:18px; line-height:1.375; margin:0; } + header ul#menu-main li { border-top:0; } + .navbar-collapse { padding:0; } + .navbar-default .navbar-nav>li:first-child>a{ margin-left:10px; } + .dropdown-menu li a { line-height:30px; } + .navbar-default .navbar-nav>li>a{ letter-spacing:0; } + .navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{ outline:none; } + .yamm .container { padding-left:0; padding-right:0; } + .yamm .dropdown-menu ul li.sep {display:block;} + .yamm .yamm-content { padding:5px; } + .yamm .dropdown-menu ul li.h3 { padding-top:0; } + .yamm .dropdown-menu ul li.first-h3 { margin-top:0; } + #banner { max-width:970px; } + #banner img { max-width:970px; } + article.col-md-8, article.col-md-7 { padding:25px 20px 20px 30px; } + aside.col-md-4, aside.col-md-5 { padding:20px 30px 20px 20px; } + aside.col-md-5 iframe { padding:10px 0 30px; } + aside blockquote { background:url(images/quote.png) no-repeat center 40%; } + h1{font-size:30px} + h2{font-size:27px} + ul.room-gallery { margin:1.5em 0; } + footer div.row { padding:30px; } + footer { text-align:left; } + footer p { font-size:14px; } +} +@media(min-width:1200px) { + .navbar-default .navbar-nav>li>a{ letter-spacing:3px; padding:12px 17px; } + .navbar-default .navbar-nav>li:first-child>a{ margin-left:5px; } + #banner { max-width:1170px; } + #banner img { max-width:1170px; } + h1{font-size:32px} + h2{font-size:28px} +} +@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important;}a,a:visited{text-decoration:underline;}pre,blockquote{border:1px solid #999;page-break-inside:avoid;}thead{display:table-header-group;}tr,img{page-break-inside:avoid;}img{max-width:100% !important;}p,h2,h3{orphans:3;widows:3;}h2,h3{page-break-after:avoid;}}