commit 4d29360747118a33c073809516caebaaeae4ce25 Author: kre8tiv Date: Sun Feb 21 09:46:32 2016 +0100 2.0.4 First public version of the theme diff --git a/404.php b/404.php new file mode 100755 index 0000000..c984b8f --- /dev/null +++ b/404.php @@ -0,0 +1,29 @@ + +
+
+ + + + +
role="article" itemscope itemtype="http://schema.org/BlogPosting"> + +
+

Da ist etwas schiefgelaufen.

+
+ +
+

Leider wurde die gesuchte Seite nicht gefunden. Das tut uns sehr leid. Am Besten probierst Du die Suchfunktion aus, um den passenden Inhalt zu finden.

+ +
+ + + +
+ + + +
+ + +
+ diff --git a/README b/README new file mode 100644 index 0000000..8f74d35 --- /dev/null +++ b/README @@ -0,0 +1,13 @@ +======================================= +Urwahl3000 +======================================= +Freies Wordpress-Theme für GRÜNE Köpfe & Gliederungen +http://kre8tiv.de/urwahl3000 + +Kostenlostes Theme (Layout) für das kostenlose Redaktionssystem/Blogsoftware WordPress im Look der Bundestagswahlkampagne 2013. Das Theme richtet sich speziell an alle Aktiven, Kandidat*innen, Wahlkämpfer*innen und Gliederungen von BÜNDNIS 90/DIE GRÜNEN. + +Das Layout orientiert sich an der Kampagnen-Optik zur Bundestagswahl 2013. Es orientiert sich an den Richtlinien des barrierearmen Webdesigns, ist optimiert für Suchmaschinen und soziale Netzwerke (natürlich Datenschutzkonform) und passt sich automatisch an mobile Endgeräte an. + +Aktuelle Funktionen von WordPress sind bereits integriert, so dass eine Individualisierung problemlos “out of the Box” möglich ist. Dazu gehört die Unterstützung von individuellen WordPress-Menüs, die optionale Verwendung einer Kopfgrafik und die Anpassung des Hintergrundbildes/der Hintergrundfarbe. + +Zur weiteren Individualisierung biete ich hier ein leeres Child-Theme für Urwahl3000 an, so dass eigene Anpassungen leicht vorgenommen werden können, ohne das eigentliche Theme zu verändern. So lassen sich auch in Zukunft Updates trotz eigener Modifikationen einspielen. diff --git a/archive.php b/archive.php new file mode 100755 index 0000000..a2be572 --- /dev/null +++ b/archive.php @@ -0,0 +1,70 @@ + +
+ + +
+

+ + + + +
+ +

+ + post_author; + ?> +

+ + + +

+ + + +
+
+ + + + + + + +
+ + + + + + + + + +
+
+

+
+
+

+
+
+

+
+
+ + + + +
+ + +
+ diff --git a/category-beschluesse.php b/category-beschluesse.php new file mode 100644 index 0000000..1ec432a --- /dev/null +++ b/category-beschluesse.php @@ -0,0 +1,55 @@ + +
+
+

+ + + + +
+ + +
+ +
+ + + + + + + +
+ + + + + + + + +
+
+

+
+
+

+
+
+

+
+
+ + + + +
+ + +
+ diff --git a/category-presse.php b/category-presse.php new file mode 100644 index 0000000..6e5bc04 --- /dev/null +++ b/category-presse.php @@ -0,0 +1,57 @@ + +
+
+

+ + + + +
+ + +
+ +
+ + + + + + + +
+ + + + + + + + + +
+
+

+
+
+

+
+
+

+
+
+ + + + +
+ +
+ diff --git a/comments.php b/comments.php new file mode 100644 index 0000000..1d7188e --- /dev/null +++ b/comments.php @@ -0,0 +1,98 @@ + +
+

+
+ + + + +
+ + + +

Neuste Artikel

+
+ + + +
+ +

Ähnliche Artikel

+
+ + + +
+ + + +

Kommentar verfassen

+
+
+ + __( ''), + 'title_reply'=>__( 'Artikel kommentieren', 'kr8theme'), + 'comment_notes_after' =>__( '

* Pflichtfeld', 'kr8theme'), + 'comment_field' => '


', + 'label_submit' => __( 'Abschicken', 'kr8theme' ) + + ); + + comment_form($comments_args); + + ?> + +
+
+ + + + + + + +

+
+
    + +
+ + +
+ + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/content-gliederung-kve.php b/content-gliederung-kve.php new file mode 100644 index 0000000..1ecb1d3 --- /dev/null +++ b/content-gliederung-kve.php @@ -0,0 +1,33 @@ +
role="article"> + + + + + ID, 'kr8mb_gli_contact_email', true ); + $www = get_post_meta( $post->ID, 'kr8mb_gli_contact_www', true ); + $facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true ); + $twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true ); + + ?> + +
+

+
+ + +
+ +

+ + + + + + +

+ +
+ + +
\ No newline at end of file diff --git a/content-gliederung-lagen.php b/content-gliederung-lagen.php new file mode 100644 index 0000000..7975171 --- /dev/null +++ b/content-gliederung-lagen.php @@ -0,0 +1,33 @@ +
role="article"> + + + + + ID, 'kr8mb_gli_contact_email', true ); + $www = get_post_meta( $post->ID, 'kr8mb_gli_contact_www', true ); + $facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true ); + $twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true ); + + ?> + +
+

+
+ + +
+ +

+ + + + + + +

+ +
+ + +
\ No newline at end of file diff --git a/content-kachel.php b/content-kachel.php new file mode 100644 index 0000000..669c1be --- /dev/null +++ b/content-kachel.php @@ -0,0 +1,47 @@ + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ + + + + + +
role="article"> + + + + + +
+ + + + + post_excerpt; + if ($imgexc != "") { + ?>

+ +
+ + + +
+ ',' ','

'); ?> +

+
+ + +
+ + +
+ + \ No newline at end of file diff --git a/content-list-home-slider.php b/content-list-home-slider.php new file mode 100644 index 0000000..e2455f6 --- /dev/null +++ b/content-list-home-slider.php @@ -0,0 +1,39 @@ + + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ + + + + + +
role="article"> + + + + +
+

name. ' '; + } } + ?>

+

+
+ + +
+ + +
+ + \ No newline at end of file diff --git a/content-list-home.php b/content-list-home.php new file mode 100644 index 0000000..5e4f236 --- /dev/null +++ b/content-list-home.php @@ -0,0 +1,35 @@ + + + + + + +
role="article"> + + + + +
+ + + +

name. ' '; + } } + ?>

+

+
+ + + + + +
+ \ No newline at end of file diff --git a/content-list-small.php b/content-list-small.php new file mode 100644 index 0000000..bcb52fa --- /dev/null +++ b/content-list-small.php @@ -0,0 +1,24 @@ + +
> + +

+

name. ' '; + } } + ?>

+
+ + + + +
+ diff --git a/content-list.php b/content-list.php new file mode 100644 index 0000000..67c4885 --- /dev/null +++ b/content-list.php @@ -0,0 +1,35 @@ + + + + + + +
role="article"> + + + + +
+ + + +

name. ' '; + } } + ?>

+

+
+ + + + + +
+ \ No newline at end of file diff --git a/content-person-glv.php b/content-person-glv.php new file mode 100644 index 0000000..a49f682 --- /dev/null +++ b/content-person-glv.php @@ -0,0 +1,38 @@ +
role="article"> + + + + + ID, 'kr8mb_pers_pos_amt', true ); + $email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true ); + $www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true ); + $facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true ); + $twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true ); + $shortbio = get_post_meta( $post->ID, 'kr8mb_pers_excerpt', true ); + $details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true ); + ?> + +
+

+
+ + +
+ +

+

+

+ + + + + +

+ +

Details »

+ +
+ + +
\ No newline at end of file diff --git a/content-person-kontakt.php b/content-person-kontakt.php new file mode 100644 index 0000000..13bd638 --- /dev/null +++ b/content-person-kontakt.php @@ -0,0 +1,26 @@ +
role="article"> + + + + + ID, 'kr8mb_pers_pos_amt', true ); + $email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true ); + $telefon = get_post_meta( $post->ID, 'kr8mb_pers_contact_telefon', true ); + ?> + +
+

+
+ + +
+ +

+

+

+ +
+ + +
\ No newline at end of file diff --git a/content-person-landesliste.php b/content-person-landesliste.php new file mode 100644 index 0000000..93e0cf9 --- /dev/null +++ b/content-person-landesliste.php @@ -0,0 +1,39 @@ +
role="article"> + + + + + ID, 'kr8mb_pers_pos_listenplatz', true ); + $email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true ); + $www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true ); + $facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true ); + $twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true ); + $wahlkreis = get_post_meta( $post->ID, 'kr8mb_pers_pos_wahlkreis', true ); + $details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true ); + ?> + +

+
+

+
+ + +
+ + +

+ +

+ + + + + +

+

Details »

+ +
+ + +
\ No newline at end of file diff --git a/content-person-mandat.php b/content-person-mandat.php new file mode 100644 index 0000000..5d3a28a --- /dev/null +++ b/content-person-mandat.php @@ -0,0 +1,38 @@ +
role="article"> + + + + + ID, 'kr8mb_pers_pos_amt', true ); + $email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true ); + $www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true ); + $facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true ); + $twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true ); + $wahlkreis = get_post_meta( $post->ID, 'kr8mb_pers_pos_wahlkreis', true ); + $details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true ); + ?> + +
+

+
+ + +
+ +

+

+ +

+ + + + + +

+

Details »

+ +
+ + +
\ No newline at end of file diff --git a/content-person-team.php b/content-person-team.php new file mode 100644 index 0000000..13bd638 --- /dev/null +++ b/content-person-team.php @@ -0,0 +1,26 @@ +
role="article"> + + + + + ID, 'kr8mb_pers_pos_amt', true ); + $email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true ); + $telefon = get_post_meta( $post->ID, 'kr8mb_pers_contact_telefon', true ); + ?> + +
+

+
+ + +
+ +

+

+

+ +
+ + +
\ No newline at end of file diff --git a/content-person-vorstand.php b/content-person-vorstand.php new file mode 100644 index 0000000..878899b --- /dev/null +++ b/content-person-vorstand.php @@ -0,0 +1,38 @@ +
role="article"> + + + + + ID, 'kr8mb_pers_pos_amt', true ); + $email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true ); + $www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true ); + $facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true ); + $twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true ); + $shortbio = get_post_meta( $post->ID, 'kr8mb_pers_excerpt', true ); + $details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true ); + ?> + +
+

+
+ + +
+ + +

+

+ + + + + +

+ +

Details »

+ +
+ + +
\ No newline at end of file diff --git a/content-single-gliederung.php b/content-single-gliederung.php new file mode 100644 index 0000000..b4075b6 --- /dev/null +++ b/content-single-gliederung.php @@ -0,0 +1,86 @@ + +
+ + +
role="article"> + + + +
+ + + + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

+ +
+ + + + + +
+ +

+

+ + +
+ + + +
+ + + +
+ + + ID, 'kr8mb_gli_contact_www', true ); + if (! empty ($www )){ ?> + + ID, 'kr8mb_gli_contact_email', true ); + if (! empty ($email )){ ?> + + + ID, 'kr8mb_gli_contact_facebook', true ); + if (! empty ($facebook )){ ?> + + ID, 'kr8mb_gli_contact_twitter', true ); + if (! empty ($twitter )){ ?> + + +
+ + + + ID, 'kr8mb_gli_contact_anschrift', true ); + if (! empty ($anschrift )){ ?>
+ + + + + + + + + + +
+ + + + + + + +
+ +
\ No newline at end of file diff --git a/content-single-person.php b/content-single-person.php new file mode 100644 index 0000000..a7d472f --- /dev/null +++ b/content-single-person.php @@ -0,0 +1,80 @@ + +
+ + +
role="article"> + + + +
+ + post_excerpt; + if ($imgexc != "") { + ?>

+ +
+ + +
+ + + +

+ ID, 'kr8mb_pers_pos_amt', true ); + if (! empty ($amt )){ ?>

+ + +
+ + + +
+ + + +
+ + + ID, 'kr8mb_pers_contact_www', true ); + if (! empty ($www )){ ?> + + ID, 'kr8mb_pers_contact_email', true ); + if (! empty ($email )){ ?> + + + ID, 'kr8mb_pers_contact_facebook', true ); + if (! empty ($facebook )){ ?> + + ID, 'kr8mb_pers_contact_twitter', true ); + if (! empty ($twitter )){ ?> + + +
+ + + + ID, 'kr8mb_pers_excerpt', true ); + if (! empty ($excerpt )){ ?>

+ + + ID, 'kr8mb_pers_contact_anschrift', true ); + if (! empty ($anschrift )){ ?>
+ + + + + + +
+ + + + + + + +
+ +
\ No newline at end of file diff --git a/content-single-termine.php b/content-single-termine.php new file mode 100644 index 0000000..6e8cc58 --- /dev/null +++ b/content-single-termine.php @@ -0,0 +1,89 @@ + +
+ + +
role="article"> + + + +
+ + + + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

+ +
+ + + + + +
+ + + +

+ ID, 'kr8mb_pers_pos_amt', true ); + if (! empty ($amt )){ ?>

+ + +
+ + + +
+ + + +
+ + + ID, 'kr8mb_pers_contact_www', true ); + if (! empty ($www )){ ?> + + ID, 'kr8mb_pers_contact_email', true ); + if (! empty ($email )){ ?> + + + ID, 'kr8mb_pers_contact_facebook', true ); + if (! empty ($facebook )){ ?> + + ID, 'kr8mb_pers_contact_twitter', true ); + if (! empty ($twitter )){ ?> + + +
+ + + + ID, 'kr8mb_pers_excerpt', true ); + if (! empty ($excerpt )){ ?>

+ + + + + + + + ID, 'kr8mb_pers_contact_anschrift', true ); + if (! empty ($anschrift )){ ?>
+ +
+ + + + + + + +
+ +
\ No newline at end of file diff --git a/content-single.php b/content-single.php new file mode 100644 index 0000000..eda55fd --- /dev/null +++ b/content-single.php @@ -0,0 +1,114 @@ + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
+
+ + + + + + + + +
+ + +
role="article"> + + + + + + +
+ + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

+ +
+ + +
+ + + + +

name. ' '; + } } + ?>

+

+ +
+ + + + +
+ +
+ + + +
+ + '' ) ); ?> +
+ + + + + + + + +
+ + +
+

+

+
+
+ + + +
+ +
+ + + + + + +
+ + + + + + + + + +
+ \ No newline at end of file diff --git a/content.php b/content.php new file mode 100644 index 0000000..1e98408 --- /dev/null +++ b/content.php @@ -0,0 +1,33 @@ + + + + + + +
role="article"> + + + + +
+ + + +

name. ' '; + } + ?>

+

+
+ + + + + +
+ \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..d4c2608 Binary files /dev/null and b/favicon.ico differ diff --git a/favicon.png b/favicon.png new file mode 100755 index 0000000..a5a72bc Binary files /dev/null and b/favicon.png differ diff --git a/footer.php b/footer.php new file mode 100755 index 0000000..8310e82 --- /dev/null +++ b/footer.php @@ -0,0 +1,45 @@ + + + + + + + + +
+
+ +
+
+ + + + + + +

+ + + + + + + + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..c6680d0 --- /dev/null +++ b/functions.php @@ -0,0 +1,22 @@ + diff --git a/functions/admin-dashboard.php b/functions/admin-dashboard.php new file mode 100644 index 0000000..bdad195 --- /dev/null +++ b/functions/admin-dashboard.php @@ -0,0 +1,86 @@ +Joseph knows best - entwickelt von Benjamin Jopen.', 'kr8theme'); +} + +// adding it to the admin area +add_filter('admin_footer_text', 'kr8_custom_admin_footer'); + +?> diff --git a/functions/theme-comments.php b/functions/theme-comments.php new file mode 100644 index 0000000..9186173 --- /dev/null +++ b/functions/theme-comments.php @@ -0,0 +1,69 @@ + +
  • +
    > +
    + + + + %s', 'kr8theme'), get_comment_author_link()) ?> + + +
    + comment_approved == '0') : ?> +
    +

    +
    + +
    + +
    + $depth, 'max_depth' => $args['max_depth']))) ?> +
    + +>Discussion + $avatar_defaults[$new_avatar_url] = 'Urwahl3000'; + return $avatar_defaults; +} + +//Fields Commentform +function kr8_commentformfields($fields){ + $commenter = wp_get_current_commenter(); + $req = get_option( 'require_name_email' ); + $aria_req = ( $req ? " aria-required='true'" : '' ); + + $fields['author'] = ''; + + + + + return $fields; + + +} + +add_filter('comment_form_default_fields','kr8_commentformfields'); + +?> \ No newline at end of file diff --git a/functions/theme-functions.php b/functions/theme-functions.php new file mode 100644 index 0000000..3f2d6df --- /dev/null +++ b/functions/theme-functions.php @@ -0,0 +1,803 @@ +widgets['WP_Widget_Recent_Comments'])) { + remove_action('wp_head', array($wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style')); + } +} + +// remove injected CSS from gallery +function kr8_gallery_style($css) { + return preg_replace("!!s", '', $css); +} + + +/********************* +SCRIPTS & ENQUEUEING +*********************/ + +// loading modernizr and jquery, and reply script +function kr8_scripts_and_styles() { + if (!is_admin()) { + + // modernizr (without media query polyfill) + wp_register_script( 'kr8-modernizr', get_template_directory_uri() . '/lib/js/libs/modernizr.custom.min.js', array(), '2.5.3', false ); + wp_register_script( 'kr8-fancybox', get_template_directory_uri() . '/lib/js/libs/fancybox/jquery.fancybox.pack.js', array(), '2.1.4', false ); + wp_register_script( 'kr8-tabs', get_template_directory_uri() . '/lib/js/responsiveTabs.min.js', array(), '2.1.4', false ); + + + + // comment reply script for threaded comments + if ( is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) { + wp_enqueue_script( 'comment-reply' ); + } + + //adding scripts file in the footer + wp_register_script( 'kr8-js', get_template_directory_uri() . '/lib/js/scripts.js', array( 'jquery' ), '', true ); + wp_register_script( 'kr8-waypoints-js', get_template_directory_uri() . '/lib/js/libs/waypoints.js', array( 'jquery' ), '', true ); + + // register main stylesheet + wp_register_style( 'kr8-stylesheet', get_template_directory_uri() . '/lib/css/style.css', array(), '', 'all' ); + wp_register_style( 'kr8-fontawesome', get_template_directory_uri() . '/lib/css/font-awesome.min.css', array(), '', 'all' ); + wp_register_style( 'kr8-fancycss', get_template_directory_uri() . '/lib/js/libs/fancybox/fancybox.min.css', array(), '', 'all' ); + + // ie-only style sheet + wp_register_style( 'kr8-ie-only', get_template_directory_uri() . '/lib/css/ie.css', array(), '' ); + + // enqueue styles and scripts + wp_enqueue_script( 'kr8-modernizr' ); + wp_enqueue_style( 'kr8-fontawesome' ); + wp_enqueue_style( 'kr8-stylesheet' ); + wp_enqueue_style( 'kr8-fancycss' ); + wp_enqueue_style( 'kr8-fancybuttoncss' ); + wp_enqueue_style('kr8-ie-only'); + /* + I recommend using a plugin to call jQuery + using the google cdn. That way it stays cached + and your site will load faster. + */ + wp_enqueue_script( 'jquery' ); + wp_enqueue_script( 'kr8-waypoints-js' ); + wp_enqueue_script( 'kr8-js' ); + wp_enqueue_script( 'kr8-fancybox' ); + wp_enqueue_script( 'kr8-tabs' ); + + + + + + } +} + + +// adding the conditional wrapper around ie stylesheet +// source: http://code.garyjones.co.uk/ie-conditional-style-sheets-wordpress/ +function kr8_ie_conditional( $tag, $handle ) { + if ( 'kr8-ie-only' == $handle ) + $tag = '' . "\n"; + return $tag; +} + + +/********************* +PERFORMANCE +*********************/ + +class WP_HTML_Compression { + protected $compress_css = true; + protected $compress_js = true; + protected $info_comment = true; + protected $remove_comments = true; + + protected $html; + public function __construct($html) { + if (!empty($html)) { + $this->parseHTML($html); + } + } + public function __toString() { + return $this->html; + } + protected function bottomComment($raw, $compressed) { + $raw = strlen($raw); + $compressed = strlen($compressed); + $savings = ($raw-$compressed) / $raw * 100; + $savings = round($savings, 2); + return ''; + } + protected function minifyHTML($html) { + $pattern = '/<(?'; + + } +} +add_shortcode( 'tabs', 'tabs_shortcode' ); + +function tab_shortcode( $atts, $content = null ) { + extract(shortcode_atts(array( + 'title' => 'Titel anpassen', + ), $atts)); + return '

    ' .$title .'

    ' . do_shortcode($content) . '
    '; +} +add_shortcode( 'tab', 'tab_shortcode' ); + + + +add_filter("the_content", "the_content_filter"); + +function the_content_filter($content) { + + // array of custom shortcodes requiring the fix + $block = join("|",array("col","tabs","tab")); + + // opening tag + $rep = preg_replace("/(

    )?\[($block)(\s[^\]]+)?\](<\/p>|
    )?/","[$2$3]",$content); + + // closing tag + $rep = preg_replace("/(

    )?\[\/($block)](<\/p>|
    )?/","[/$2]",$rep); + + return $rep; + +} + + + + + + + + +//Query Heads *************** + + + +function person_mandat($atts, $content = null) { + extract(shortcode_atts(array( + "pagination" => 'true', + "person" => '', + "abteilung" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($person)){ + $person = explode(',', $person); + $args = array( + 'post_type' => 'person', + 'post__in' => $person, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_listenplatz', + 'abteilung' => $abteilung, + ); + } + else { + + $args = array( + 'post_type' => 'person', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_listenplatz', + 'abteilung' => $abteilung, + 'posts_per_page' => -1, + ); + + } + $wp_query->query($args); + ob_start(); + + ?> + +

    + have_posts()) : $wp_query->the_post(); ?> + + +
    + + + + 'true', + "person" => '', + "abteilung" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($person)){ + $person = explode(',', $person); + $args = array( + 'post_type' => 'person', + 'post__in' => $person, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_listenplatz', + 'abteilung' => $abteilung, + ); + } + else { + + $args = array( + 'post_type' => 'person', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_listenplatz', + 'abteilung' => $abteilung, + 'posts_per_page' => -1, + ); + + } + $wp_query->query($args); + ob_start(); + + ?> + +
    + have_posts()) : $wp_query->the_post(); ?> + + +
    + + + + 'true', + "person" => '', + "abteilung" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($person)){ + $person = explode(',', $person); + $args = array( + 'post_type' => 'person', + 'post__in' => $person, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_sortierung', + 'abteilung' => $abteilung, + ); + } + else { + + $args = array( + 'post_type' => 'person', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_sortierung', + 'abteilung' => $abteilung, + 'posts_per_page' => -1, + ); + + } + $wp_query->query($args); + ob_start(); + + ?> + +
    + have_posts()) : $wp_query->the_post(); ?> + + +
    + + + + 'true', + "person" => '', + "abteilung" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($person)){ + $person = explode(',', $person); + $args = array( + 'post_type' => 'person', + 'post__in' => $person, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_sortierung', + 'abteilung' => $abteilung, + ); + } + else { + + $args = array( + 'post_type' => 'person', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_sortierung', + 'abteilung' => $abteilung, + 'posts_per_page' => -1, + ); + + } + $wp_query->query($args); + ob_start(); + + ?> + +
    + have_posts()) : $wp_query->the_post(); ?> + + +
    + + + + 'true', + "person" => '', + "abteilung" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($person)){ + $person = explode(',', $person); + $args = array( + 'post_type' => 'person', + 'post__in' => $person, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_sortierung', + 'abteilung' => $abteilung, + + ); + } + else { + + $args = array( + 'post_type' => 'person', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_sortierung', + 'abteilung' => $abteilung, + 'posts_per_page' => -1, + ); + + } + + $wp_query->query($args); + ob_start(); + ?> + +
    + + have_posts()) : $wp_query->the_post(); ?> + + + + + +
    + + + 'true', + "person" => '', + "abteilung" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($person)){ + $person = explode(',', $person); + $args = array( + 'post_type' => 'person', + 'post__in' => $person, + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_listenplatz', + 'abteilung' => $abteilung, + + ); + } + else { + + $args = array( + 'post_type' => 'person', + 'order' => 'ASC', + 'orderby' => 'meta_value', + 'meta_key' => 'kr8mb_pers_pos_listenplatz', + 'abteilung' => $abteilung, + 'posts_per_page' => -1, + ); + + } + + $wp_query->query($args); + ob_start(); + ?> + +
    + + have_posts()) : $wp_query->the_post(); ?> + + + + + +
    + + + 'true', + "gliederung" => '', + "struktur" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($gliederung)){ + $gliederung = explode(',', $gliederung); + $args = array( + 'post_type' => 'gliederung', + 'post__in' => $gliederung, + 'order' => 'ASC', + 'orderby' => 'title', + 'struktur' => $struktur, + 'posts_per_page' => -1, + ); + } + else { + + $args = array( + 'post_type' => 'gliederung', + 'order' => 'ASC', + 'orderby' => 'title', + 'struktur' => $struktur, + 'posts_per_page' => -1, + ); + + } + $wp_query->query($args); + ob_start(); + + ?> + +
    + have_posts()) : $wp_query->the_post(); ?> + + +
    + + + + 'true', + "gliederung" => '', + "struktur" => '', + ), $atts)); + global $wp_query,$paged,$post; + $temp = $wp_query; + $wp_query= null; + $wp_query = new WP_Query(); + + if(!empty($gliederung)){ + $gliederung = explode(',', $gliederung); + $args = array( + 'post_type' => 'gliederung', + 'post__in' => $gliederung, + 'order' => 'ASC', + 'orderby' => 'title', + 'struktur' => $struktur, + 'posts_per_page' => -1, + ); + } + else { + + $args = array( + 'post_type' => 'gliederung', + 'order' => 'ASC', + 'orderby' => 'title', + 'struktur' => $struktur, + 'posts_per_page' => -1, + ); + + } + $wp_query->query($args); + ob_start(); + + ?> + +
    + have_posts()) : $wp_query->the_post(); ?> + + +
    + + + + '', + "hintergrundfarbe" => '', + "schriftfarbe" => '', + "id" => '', + "bgscroll" => '', + "hintergrundbild" => '' + ), $atts)); + + + if ($vollbild !== '') { + $class1 .= 'fullpage'; + } else { + $class1 .= 'textblock '; + } + + if ($bgscroll !== '') { + $class3 .= 'bgscroll'; + } + + if ($hintergrundbild !== '') { + $class2 .= 'parallax'; + + } + + return '
    '; + +} +add_shortcode( 'parallax', 'section_shortcode' ); + + +//ICON *************** +function icon_shortcode( $atts ) { + + + extract(shortcode_atts(array( + "symbol" => 'fa-rocket', + "groesse" => 'fa-4x', + ), $atts)); + + + return '

    '; + +} +add_shortcode( 'icon', 'icon_shortcode' ); + + +function section_abstand( $atts ) { + + + + + return '
    '; + +} +add_shortcode( 'abstand', 'section_abstand' ); + + +//INFOBOX *************** +function infobox_shortcode( $atts, $content = null ) { + + + extract(shortcode_atts(array( + "title" => 'Infobox', + ), $atts)); + + + return '

    '.$title.'

    '.$content.'
    '; + +} +add_shortcode( 'infobox', 'infobox_shortcode' ); + +//BOXEN *************** +function colorbox_shortcode( $atts, $content = null ) { + + + + + return '
    '.$content.'
    '; + +} +add_shortcode( 'box', 'colorbox_shortcode' ); + + + + +?> diff --git a/functions/theme-sidebars.php b/functions/theme-sidebars.php new file mode 100644 index 0000000..4186c26 --- /dev/null +++ b/functions/theme-sidebars.php @@ -0,0 +1,592 @@ + $Value ) { + $CustomSizes[ $Key ] = ucwords( str_replace( '-', ' ', $Key ) ); + } + + return array_merge( $CustomSizes, $Sizes ); +} + +// sidebars +if ( function_exists('register_sidebars') ) + register_sidebars(0); + +if (!function_exists('kr8_register_sidebars')) { + function kr8_register_sidebars() { + if ( function_exists('register_sidebar') ) { + + register_sidebar(array( + 'name' => 'Infospalte', + 'description' => 'Infospalte für Widgets. Wird auf den meisten Seiten angezeigt.', + 'id' => 'infospalte', + 'before_widget' => "\n\t\t" . '
  • ', + 'after_widget' => '
  • ', + 'before_title' => "\n\t" . '

    ', + 'after_title' => '

    ', + )); + + + register_sidebar(array( + 'name' => 'Startseite - Artikel', + 'description' => 'Artikel auf der Startseite', + 'id' => 'hometeaser', + 'before_widget' => "\n\t\t" . '
    ', + 'after_widget' => '
    ', + 'before_title' => "\n\t" . '

    ', + 'after_title' => '

    ', + )); + + + + register_sidebar(array( + 'name' => 'Startseite - Actionbox', + 'description' => 'Drei Widgets auf der Startseite', + 'id' => 'homeone', + 'before_widget' => "\n\t\t" . '
    ', + 'after_widget' => '
    ', + 'before_title' => "\n\t" . '

    ', + 'after_title' => '

    ', + )); + + register_sidebar(array( + 'name' => 'Startseite - Infoleiste', + 'description' => 'Infospalte der Startseite', + 'id' => 'hometwo', + 'before_widget' => "\n\t\t" . '
    ', + 'after_widget' => '
    ', + 'before_title' => "\n\t" . '

    ', + 'after_title' => '

    ', + )); + + + register_sidebar(array( + 'name' => 'Presse', + 'description' => 'Widgets in der Kategory Presse', + 'id' => 'presse', + 'before_widget' => "\n\t\t" . '
  • ', + 'after_widget' => '
  • ', + 'before_title' => "\n\t" . '

    ', + 'after_title' => '

    ', + )); + + register_sidebar(array( + 'name' => 'Fussleiste', + 'description' => 'Platz für Widgets in der Fußleiste.', + 'id' => 'fussleiste', + 'before_widget' => "\n\t\t" . '
  • ', + 'after_widget' => '
  • ', + 'before_title' => "\n\t" . '

    ', + 'after_title' => '

    ', + )); + + + + } + } + + +} + + +/************* SEARCH FORM LAYOUT *****************/ + +function kr8_wpsearch($form) { + $form = '
    Suchformular
    '; + return $form; +} + + +/************* SOCIAL MEDIA WIDGET *****************/ + class kr8_socialmedia extends WP_Widget { + + function kr8_socialmedia() { + $widget_ops = array('description' => 'Links zu deinen Profilen in den Sozialen Netzwerken.'); + + parent::WP_Widget(false, __('Social Media Links'),$widget_ops); + } + + function widget($args, $instance) { + extract( $args ); + $title = $instance['title']; + $twitter = $instance['twitter']; + $facebook = $instance['facebook']; + $googleplus = $instance['googleplus']; + $flickr = $instance['flickr']; + $instagram = $instance['instagram']; + $youtube = $instance['youtube']; + $vimeo = $instance['vimeo']; + $pinterest = $instance['pinterest']; + $soundcloud = $instance['soundcloud']; + $foursquare = $instance['foursquare']; + $xing = $instance['xing']; + $tumblr = $instance['tumblr']; + $rss = $instance['rss']; + $rsscomments = $instance['rsscomments']; + + + echo $before_widget; ?> + '.$title.''; ?> + + + + + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + +

    + + +

    + + +

    + + +

    + +

    + + +

    + + + +

    + + +

    + +

    + + +

    + + + 'Artikel zur Anzeige' + ) + ); + } + + //Admin Area + public function form($instance) + { + $defaults = array( + 'title' => '', + 'day_interval' => '30', + 'limit' => '5' + ); + $instance = wp_parse_args((array)$instance, $defaults); + + $title = $instance['title']; + $url = $instance['url']; + $subhead = $instance['subhead']; + $desc = $instance['desc']; + $image_id = $instance['image_id']; + $image_size = $instance['image_size']; + $image_url = $instance['image_url']; + + ?> +

    + + +

    +

    + + +

    +

    + + +

    +

    + + + +

    + +

    + + + + + + +

    + + + +

    + + + + +

    +

    + '; + ?> +

    + +

    + id="get_field_id('show_desc'); ?>" name="get_field_name('show_desc'); ?>" /> + +

    + + + + + + + + '; + } + + + if(!empty($img)) + { + if(!empty($url)) { echo '';} + echo ''. $title .''; + if(!empty($url)) { echo '';} + } + + + + if(!empty($subhead)) + { + echo '

    '. $subhead .'

    '; + } + + if(!empty($title)) + { + echo $before_title; + if(!empty($url)) { echo '';} + echo $title; + if(!empty($url)) { echo '';} + echo $after_title; + } + + + + if(!empty($desc)) + { + echo '

    '. $desc .'

    '; + } + + if('on' == $instance['show_desc'] ) { + echo '
    '; + } + + + + echo $after_widget; + } +} + +add_action( 'widgets_init', function(){ + register_widget('kr8_teaserarticle'); + register_widget('kr8_socialmedia'); +}); + + + + + + +?> \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..7bccb3f --- /dev/null +++ b/header.php @@ -0,0 +1,135 @@ + + + + + + class="no-js"> + + + + + <?php wp_title('|',true,'right'); ?><?php bloginfo('name'); ?> + + + + + + + + + + + + + + + + + + + + ';} ?> + + + + + + + '; ?> + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/index.php b/index.php new file mode 100755 index 0000000..3e32faf --- /dev/null +++ b/index.php @@ -0,0 +1,28 @@ + +
    +
    + + + + + + + + + + + + + + + +
    + + +
    + diff --git a/lib/css/editor.css b/lib/css/editor.css new file mode 100644 index 0000000..c5d737e --- /dev/null +++ b/lib/css/editor.css @@ -0,0 +1,73 @@ +@import "font-awesome.min.css"; + + +@font-face { + font-family: 'Arvo Regular'; + src: local('Arvo Regular'), local('ArvoRegular'), url('../fonts/arvo_regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Arvo Gruen'; + src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + + +@font-face { + font-family: 'PT Sans'; + src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans-regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + + + +@font-face { + font-family: 'PT Sans Bold'; + src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff'); + font-weight: bold; + font-style: normal; +} + + + + + +body {font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 100%;line-height: 1.5;color: #333;} + +blockquote {padding: 0;text-indent: 0em;color: #46962b;background: ;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: 500; margin: 2em 4em;font-style: italic; border-bottom: 3px solid #46962b;} + +strong, b {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;} + +h1,h2,h3,h4,h5,h6 {line-height: 1.4em;margin:0 0 0.3em 0;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;color: #0a350a;text-align: left;} +h1 {font-size:1.8em;margin-bottom:0em;text-transform: uppercase; font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color:red;} +h2 {font-size:1.6em;} +h3 {font-size:1.5em;color: #5dae59;} +h4 {font-size:1.3em;} +h5 {font-size:1.1em;} +h6 {font-size:1em;} + +.kontrast {color:#e6007e!important;} + +a {color:#61ae4d;text-decoration: none;} +a:hover {color:#61ae4d;text-decoration: underline;} +a:visited {color:#61ae4d;} + + +p.intro {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;font-size:1.1em;} +hr {border: 0; background: #e6e6e6; height: 3px;width: 100%;margin: 2.5em 0;} + + +table {margin-bottom: 1.5em; } +table th {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal; padding: 1em 1em 1em 0;border-bottom: 2px solid #0a321e;color: #0a321e; } +table td{ padding: 1em 1em 1em 0;border-bottom: 1px solid #e6e6e6; } + +pre {max-width: 100%;margin-bottom: 1.5em;padding: 1.5em;overflow: auto;background: #e6e6e6;font-size: 0.8em;line-height: 1.4;} +address {background: #e4f8df;padding: 1em;margin-bottom: 1.5em;font-style:normal;} + +a span.button, span.button a {display: inline-block; background: #61ae4d; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;border-radius: 0.3em;} + +img.rund {border-radius: 50%;border: 5px solid #f6f6f6;width: 150px;height:auto;} \ No newline at end of file diff --git a/lib/css/font-awesome.min.css b/lib/css/font-awesome.min.css new file mode 100644 index 0000000..24fcc04 --- /dev/null +++ b/lib/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"} \ No newline at end of file diff --git a/lib/css/ie.css b/lib/css/ie.css new file mode 100644 index 0000000..bb19239 --- /dev/null +++ b/lib/css/ie.css @@ -0,0 +1,445 @@ +/****************************************************************** +Site Name: +Author: + +Stylesheet: IE Stylesheet + +So instead of using the respond.js file to add media query support +to IE, we're going to use SASS to create an easily readable css file. +Here, we import all the styles the standard stylesheet gets, only +without the media queries. No need to worry about editing anything! + +******************************************************************/ +/* +Remember, all the BASE styles are called already since IE can +read those. Below, we need to import only the stuff IE can't +understand (what's inside the media queries). We also need to +import the mixins file so SASS can understand the variables. +*/ +/* import mixins */ +/****************************************************************** +Site Name: +Author: + +Stylesheet: Mixins & Constants Stylesheet + +This is where you can take advantage of Sass' great features: +Mixins & Constants. I won't go in-depth on how they work exactly, +there are a few articles below that will help do that. What I will +tell you is that this will help speed up simple changes like +changing a color or adding CSS3 techniques gradients. + +A WORD OF WARNING: It's very easy to overdo it here. Be careful and +remember less is more. + +******************************************************************/ +/********************* +CLEARFIXIN' +*********************/ +.clearfix { + zoom: 1; } + .clearfix:before, .clearfix:after { + content: ""; + display: table; } + .clearfix:after { + clear: both; } + +/********************* +TOOLS +*********************/ +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + +.image-replacement { + text-indent: 100%; + white-space: nowrap; + overflow: hidden; } + +/********************* +COLORS +Need help w/ choosing your colors? Try this site out: +http://0to255.com/ +*********************/ +/* +Here's a great tutorial on how to +use color variables properly: +http://sachagreif.com/sass-color-variables/ +*/ +/********************* +TYPOGRAPHY +*********************/ +/* To embed your own fonts, use this syntax + and place your fonts inside the + library/fonts folder. For more information + on embedding fonts, go to: + http://www.fontsquirrel.com/ + Be sure to remove the comment brackets. +*/ +/* @font-face { + font-family: 'Font Name'; + src: url('library/fonts/font-name.eot'); + src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'), + url('library/fonts/font-name.woff') format('woff'), + url('library/fonts/font-name.ttf') format('truetype'), + url('library/fonts/font-name.svg#font-name') format('svg'); + font-weight: normal; + font-style: normal; + } +*/ +/* +use the best ampersand +http://simplebits.com/notebook/2008/08/14/ampersands-2/ +*/ +span.amp { + font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important; + font-style: italic; } + +.text-left { + text-align: left; } + +.text-center { + text-align: center; } + +.text-right { + text-align: right; } + +.alert-help, .alert-info, .alert-error, .alert-success { + margin: 10px; + padding: 5px 18px; + border: 1px solid; } + +.alert-help { + border-color: #e8dc59; + background: #ebe16f; } + +.alert-info { + border-color: #bfe4f4; + background: #d5edf8; } + +.alert-error { + border-color: #f8cdce; + background: #fbe3e4; } + +.alert-success { + border-color: #deeaae; + background: #e6efc2; } + +/********************* +TRANISTION +*********************/ +/* +I totally rewrote this to be cleaner and easier to use. +You'll need to be using Sass 3.2+ for these to work. +Thanks to @anthonyshort for the inspiration on these. +USAGE: @include transition(all 0.2s ease-in-out); +*/ +/********************* +CSS3 GRADIENTS +Be careful with these since they can +really slow down your CSS. Don't overdue it. +*********************/ +/* @include css-gradient(#dfdfdf,#f8f8f8); */ +/********************* +BOX SIZING +*********************/ +/* @include box-sizing(border-box); */ +/* NOTE: value of "padding-box" is only supported in Gecko. So +probably best not to use it. I mean, were you going to anyway? */ +/********************* +BUTTONS +*********************/ +.button, .button:visited { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + border: 1px solid #be0d37; + border-top-color: #db0f3f; + border-left-color: #db0f3f; + padding: 4px 12px; + color: white; + display: inline-block; + font-size: 11px; + font-weight: bold; + text-decoration: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.75); + cursor: pointer; + margin-bottom: 20px; + line-height: 21px; + border-radius: 4px; + background-color: #e40f42; + background-image: -webkit-gradient(linear, left top, left bottom, from(#f01d4f), to(#e40f42)); + background-image: -webkit-linear-gradient(top, #f01d4f, #e40f42); + background-image: -moz-linear-gradient(top, #f01d4f, #e40f42); + background-image: -o-linear-gradient(top, #f01d4f, #e40f42); + background-image: linear-gradient(to bottom, #f01d4f, #e40f42); } + .button:hover, .button:focus, .button:visited:hover, .button:visited:focus { + color: white; + border: 1px solid #be0d37; + border-top-color: #9d0a2d; + border-left-color: #9d0a2d; + background-color: #cc0e3b; + background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#cc0e3b)); + background-image: -webkit-linear-gradient(top, #e40f42, #cc0e3b); + background-image: -moz-linear-gradient(top, #e40f42, #cc0e3b); + background-image: -o-linear-gradient(top, #e40f42, #cc0e3b); + background-image: linear-gradient(to bottom, #e40f42, #cc0e3b); } + .button:active, .button:visited:active { + background-color: #f01d4f; + background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#f01d4f)); + background-image: -webkit-linear-gradient(top, #e40f42, #f01d4f); + background-image: -moz-linear-gradient(top, #e40f42, #f01d4f); + background-image: -o-linear-gradient(top, #e40f42, #f01d4f); + background-image: linear-gradient(to bottom, #e40f42, #f01d4f); } + +.blue-button, .blue-button:visited { + border-color: #1472ad; + text-shadow: 0 1px 1px #1472ad; + background-color: #1681c4; + background-image: -webkit-gradient(linear, left top, left bottom, from(#1990db), to(#1681c4)); + background-image: -webkit-linear-gradient(top, #1990db, #1681c4); + background-image: -moz-linear-gradient(top, #1990db, #1681c4); + background-image: -o-linear-gradient(top, #1990db, #1681c4); + background-image: linear-gradient(to bottom, #1990db, #1681c4); + box-shadow: inset 0 0 3px #59b3ec; } + .blue-button:hover, .blue-button:focus, .blue-button:visited:hover, .blue-button:visited:focus { + border-color: #116396; + background-color: #1472ad; + background-image: -webkit-gradient(linear, left top, left bottom, from(#1784c9), to(#1472ad)); + background-image: -webkit-linear-gradient(top, #1784c9, #1472ad); + background-image: -moz-linear-gradient(top, #1784c9, #1472ad); + background-image: -o-linear-gradient(top, #1784c9, #1472ad); + background-image: linear-gradient(to bottom, #1784c9, #1472ad); } + .blue-button:active, .blue-button:visited:active { + background-color: #1990db; + background-image: -webkit-gradient(linear, left top, left bottom, from(#1681c4), to(#1990db)); + background-image: -webkit-linear-gradient(top, #1681c4, #1990db); + background-image: -moz-linear-gradient(top, #1681c4, #1990db); + background-image: -o-linear-gradient(top, #1681c4, #1990db); + background-image: linear-gradient(to bottom, #1681c4, #1990db); } + +/****************************************************************** +Site Name: +Author: + +Stylesheet: 481px and Up Stylesheet + +This stylesheet is loaded for larger devices. It's set to +481px because at 480px it would load on a landscaped iPhone. +This isn't ideal because then you would be loading all those +extra styles on that same mobile connection. + +A word of warning. This size COULD be a larger mobile device, +so you still want to keep it pretty light and simply expand +upon your base.scss styles. + +******************************************************************/ +/********************* +NAVIGATION STYLES +*********************/ +/* .menu is clearfixed inside mixins.scss */ +.menu { + /* end .menu ul */ } + .menu ul { + /* end .menu ul li */ + /* highlight current page */ + /* end current highlighters */ } + .menu ul li { + /* + plan your menus and drop-downs wisely. + */ } + .menu ul li a { + /* + you can use hover styles here even though this size + has the possibility of being a mobile device. + */ } + +/* end .menu */ +/********************* +POSTS & CONTENT STYLES +*********************/ +/* entry content */ +.entry-content { + /* at this larger size, we can start to align images */ } + .entry-content .alignleft, .entry-content img.alignleft { + margin-right: 1.5em; + display: inline; + float: left; } + .entry-content .alignright, .entry-content img.alignright { + margin-left: 1.5em; + display: inline; + float: right; } + .entry-content .aligncenter, .entry-content img.aligncenter { + margin-right: auto; + margin-left: auto; + display: block; + clear: both; } + +/* end .entry-content */ +/********************* +FOOTER STYLES +*********************/ +/* +check your menus here. do they look good? +do they need tweaking? +*/ +/* end .footer-links */ +/****************************************************************** +Site Name: +Author: + +Stylesheet: Tablet & Small Desktop Stylesheet + +Here's where you can start getting into the good stuff. +This size will work on iPads, other tablets, and desktops. +So you can start working with more styles, background images, +and other resources. You'll also notice the grid starts to +come into play. Have fun! + +******************************************************************/ +/********************* +GENERAL STYLES +*********************/ +/********************* +LAYOUT & GRID STYLES +*********************/ +.wrap { + max-width: 1140px; } + +/********************* +HEADER SYTLES +*********************/ +/********************* +NAVIGATION STYLES +*********************/ +.nav { + background: #eee; + border: 0; + /* end .menu ul li */ + /* highlight current page */ + /* end current highlighters */ } + .nav li { + float: left; + position: relative; + /* + plan your menus and drop-downs wisely. + */ + /* showing sub-menus */ } + .nav li a { + border-bottom: 0; + /* + you can use hover styles here even though this size + has the possibility of being a mobile device. + */ } + .nav li a:hover, .nav li a:focus { + background-color: #dedede; } + .nav li ul.sub-menu, + .nav li ul.children { + width: 200px; + border: 1px solid #ccc; + border-top: 0; + position: absolute; + display: none; + z-index: 8999; + /* highlight sub-menu current page */ } + .nav li ul.sub-menu li, + .nav li ul.children li { + /* + if you need to go deeper, go nuts + just remember deeper menus suck + for usability. k, bai. + */ } + .nav li ul.sub-menu li a, + .nav li ul.children li a { + padding-left: 10px; + border-right: 0; + display: block; + width: 180px; + border-bottom: 1px solid #ccc; } + .nav li ul.sub-menu li:last-child a, + .nav li ul.children li:last-child a { + border-bottom: 0; } + .nav li:hover ul { + top: auto; + display: block; } + +/* end .nav */ +/********************* +SIDEBARS & ASIDES +*********************/ +.sidebar { + margin-top: 2.2em; } + +.widgettitle { + border-bottom: 2px solid #444; + margin-bottom: 0.75em; } + +.widget { + padding: 0 10px; + margin: 2.2em 0; } + .widget ul li { + margin-bottom: 0.75em; + /* deep nesting */ } + .widget ul li ul { + margin-top: 0.75em; + padding-left: 1em; } + +/* links widget */ +/* meta widget */ +/* pages widget */ +/* recent-posts widget */ +/* archives widget */ +/* tag-cloud widget */ +/* calendar widget */ +/* category widget */ +/* recent-comments widget */ +/* search widget */ +/* text widget */ +/********************* +FOOTER STYLES +*********************/ +/* +you'll probably need to do quite a bit +of overriding here if you styled them for +mobile. Make sure to double check these! +*/ +.footer-links ul li { + /* + be careful with the depth of your menus. + it's very rare to have multi-depth menus in + the footer. + */ } + +/* end .footer-links */ +/****************************************************************** +Site Name: +Author: + +Stylesheet: Desktop Stylsheet + +This is the desktop size. It's larger than an iPad so it will only +be seen on the Desktop. + +******************************************************************/ +/* +you can call the larger styles if you want, but there's really no need +*/ +/****************************************************************** +ADDITIONAL IE FIXES +These fixes are now ONLY seen by IE, so you don't have to worry +about using prefixes, although it's best practice. For more info +on using Modernizr classes, check out this link: +http://www.modernizr.com/docs/ +******************************************************************/ +/* +For example, you can use something like: + +.no-textshadow .class { ... } + +You can also target specific versions by using the classes applied to +the html element. These can sometimes change, so take a look inside the +header.php file to see what they are: + + +.lt-ie8 .class { ... } + +*/ diff --git a/lib/css/login.css b/lib/css/login.css new file mode 100644 index 0000000..75d3b7c --- /dev/null +++ b/lib/css/login.css @@ -0,0 +1,80 @@ +/****************************************************************** +Stylesheet: Login Stylesheet + +For more info, check out the codex: +http://codex.wordpress.org/Creating_Admin_Themes + +******************************************************************/ +/* the form box */ +/* +This is the Wordpress logo in the admin area. +You'll have to load your own images and mess +with the width and height. +*/ + +@font-face { + font-family: 'Arvo Regular'; + src: local('Arvo Regular'), local('ArvoRegular'), url('../fonts/arvo_regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Arvo Gruen'; + src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + + +@font-face { + font-family: 'PT Sans'; + src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans-regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + + + +@font-face { + font-family: 'PT Sans Bold'; + src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff'); + font-weight: bold; + font-style: normal; +} + + + +body.login { + background: #559448 url('../images/body_bg.jpg') top center repeat fixed; + font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;background-size: cover; +} + +body.login form { + background: #fff;border-radius: 0; border: 0;box-shadow: 5px 5px 10px rgba(0,0,0,0.2); +} +body.login form label {color: #5dae59; font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;} + +body.login p#nav a, body.login p#backtoblog a {color:#ffe000!important;text-shadow: 0 0 0;} +body.login p#nav a:hover, body.login p#backtoblog a:hover {color:#fff!important;text-shadow: 0 0 0;} + +body.login .button-primary {display: inline-block;padding: 0.5em 1em!important;height: auto!important; border: 0;text-shadow:0 0 0;color: #fff;box-shadow: 0 0 0;border-radius:0;font-weight: normal;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;width: auto;text-transform: uppercase;background: #e6007e;font-size: 1em; +} + + +body.login .button-primary:hover {background: #ffee00;border-color: #166608;box-shadow: 0 0 0;color: #46962b;text-shadow: 0 0 0; } + + +.login h1 a { + background: url() no-repeat top center; + /* make sure to replace this! */ + width: 326px; + height: 67px; + text-indent: -9999px; + overflow: hidden; + padding-bottom: 15px; + display: block; } + + +body.login form .input { } + diff --git a/lib/css/style.css b/lib/css/style.css new file mode 100644 index 0000000..57de21b --- /dev/null +++ b/lib/css/style.css @@ -0,0 +1,1924 @@ +/*Farb-Schema + Hauptfarbe Grün: #46962b + Akzentfarbe Dunkelgrün: #0a321e + Haupt- und Akzentfarbe Gelb: #ffee00 + Akzentfarbe Magenta: #e6007e + Leichtes Grau: #f6f6f6 + Blasses Grün: #e4f8df +*/ + + +/**********************************************************************/ +/* 1. CSS Reset by Eric Meyer */ +/* (slightly adapted to HTML5) */ +/**********************************************************************/ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, address, cite, code, del, dfn, em, +img, ins, kbd, q, samp, small, strong, +sub, sup, var, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, footer, header, nav, time, section { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +body {-webkit-font-smoothing: antialiased;} + +/* remember to define focus styles! */ +:focus { outline: 0; } + +/* tables still need 'cellspacing="0"' in the markup */ +table {border-collapse: separate;border-spacing: 0;} + +caption, th, td {text-align: left;font-weight: normal;} + + +/**********************************************************************/ +/* 2. Needed for rendering HTML5 properly in current browsers */ +/**********************************************************************/ + +article, aside, footer,header, nav, section { display: block; } + + +/**********************************************************************/ +/* 3. Some basic helper styles */ +/**********************************************************************/ + +.invisible, legend {position: absolute;left: -9999em;} +.clear {display: block; width: 100%; clear: both;} + +.unsichtbar {position:absolute;top:-9999px;left:-9999px;height:1px;width:1px;display:block;} + + +/**********************************************************************/ +/* 4. Basic styles against the reset */ +/**********************************************************************/ + +code, kbd, var, tt { font-family: Consolas, "Courier New", Courier, sans-serif; } +p code, p kbd, p var, p tt { line-height: 1; } +strong, dt { font-weight: bold; } +em, cite { font-style: italic; } +abbr[title] {border-bottom: 1px dotted #888;cursor: help;} +a abbr { cursor: pointer; } +del {text-decoration: line-through;} +ins {border-bottom: 1px dashed #888;text-decoration: none;} +sub { vertical-align: text-bottom; } +sup { vertical-align: text-top; } +sub, sup { font-size: 75%;line-height: 1;} +ol { list-style-type: decimal; } +ul { list-style-type: disc; } + +input, textarea, select { font-size: 1em;margin: 0;border: 0;padding: 0; } +label { font-weight: normal; } +label, button,input[type=button],input[type=submit] { cursor: pointer; } +fieldset {display: block;margin: 0;} + +/* This positions an unstyled legend element */ +/* correctly in IE6 + IE7 */ +* html legend, +*:first-child+html legend {position: relative;left: -10px;} + +/*Wordpress align*/ +img.alignright {float:right; margin:0 0 1em 1em} +img.alignleft {float:left; margin:0 1em 1em 0} +.aligncenter {display: block; margin-left: auto; margin-right: auto} +a img.alignright {float:right; margin:0 0 1em 1em} +a img.alignleft {float:left; margin:0 1em 1em 0} +a img.aligncenter {display: block; margin-left: auto; margin-right: auto} +.hidden {display:block;position:absolute;top:-10000px;} + +.clearfix, .commentlist article {zoom: 1; } + .clearfix:before, .clearfix:after, .commentlist article:before, .commentlist article:after {content: "";display: table; } + .clearfix:after, .commentlist article:after {clear: both; } + + +/**********************************************************************/ +/* 5. Font Faces */ +/**********************************************************************/ +@font-face { + font-family: 'Arvo Regular'; + src: local('Arvo Regular'), local('ArvoRegular'), url('../fonts/arvo_regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Arvo Gruen'; + src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + + +@font-face { + font-family: 'PT Sans'; + src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans-regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + + + +@font-face { + font-family: 'PT Sans Bold'; + src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff'); + font-weight: bold; + font-style: normal; +} + + +/**********************************************************************/ +/* 6. Screen styles for all (primary mobile) */ +/**********************************************************************/ + +@media screen { + + +/********************* +01. GENERAL STYLES +*********************/ + body {font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 100%;line-height: 1.5;color: #333;background-size: 100% 100%;padding-top: 3em;background-color: #46962b; + } + + img {max-width:100%;height:auto;} + + blockquote {padding: 0;text-indent: 0em;color: #46962b;background: transparent;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: 500; margin: 2em 4em;font-style: italic; border-bottom: 3px solid #46962b; } + + table, tr, td {vertical-align: top;} + + strong, b {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;} + hr {border: 0; background: #f6f6f6; height: 3px;width: 100%;margin: 2.5em auto 2em;} + +/******************** +02. WORDPRESS BODY CLASSES +********************/ + + + + + +/********************* +03. LAYOUT & PARALLAX +*********************/ + .fullpage { min-height: 100vh;} + .fullpage.parallax {background-size: cover!important;} + .parallax {z-index: 1;background: 50% 50% / cover;} + + + +/********************* +04. LINK STYLES +*********************/ + + a {color:#46962b;text-decoration: none;} + a:hover {color:#e6007e;text-decoration: underline;} + a:visited {color:#e6007e;} + + a span.button, span.button a {display: inline-block; background: #e6007e; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + + a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none; + } + +/****************************************************************** +05. H1, H2, H3, H4, H5 STYLES +******************************************************************/ + + h1,h2,h3,h4,h5,h6 {font-size: 1em;line-height: 1.4em;margin-bottom:0.3em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;text-align: left;word-wrap: break-word; } + h1 {margin-bottom:0em;font-size: 1.5em;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;} + + article.hentry h1, article.hentry h2, article.hentry h3, article.hentry h4, article.hentry h5, article.hentry h6 {color: #0a350a;} + + h2 {} + h3 {color: #46962b;} + h4 {} + h5 {} + h6 {} + .kontrast {color:#e6007e!important;} + + +/********************* +06. HEADER SYTLES +*********************/ + + #header {margin: 0;padding: 0;position: relative;} + + + /* site title - just for seo */ + #header .sitetitle {display: none;} + + /*mobile header */ + .header-mobile {background: #0a321e; width: 100%;position: fixed;top: 0;z-index: 10;} + .header-mobile h2 {color: #fff;text-align:center; padding: 0.5em 0;margin: 0;line-height: 1em;font-size: 1.5em;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase; } + .header-mobile .switch-menu {position: absolute; left: 1em; top: 0.6em;color: #fff;font-size: 1.1em;} + + #wrap {margin-top: 3em;} + + + + + +/********************* +07. NAVIGATION STYLES +*********************/ + + .navigation li, nav li {list-style-type: none;} + + /*hide navs in mobile version */ + #breadcrumb, #nav-desktop, #nav-flyin {display: none;} + #nav-flyin {height: 0px; top: -500px;overflow: hidden;} + + + #nav-mobile {left: -150%; -webkit-transition: left 0.5s;-moz-transition: left 0.5s; -o-transition: left 0.5s; transition: left 0.5s;} + #nav-mobile {background: #46962b;z-index: 11;position: fixed;width: 90%;min-height: 100%;height: 100%;padding: 2em 0 2em 4em;box-sizing: border-box;top: 0; bottom: 0;overflow: scroll;border-right: 3px solid #0a321e;box-shadow: 0 0 15em #000; } + + #nav-mobile:target {left: 0;} + + /*close*/ + #nav-mobile .switch-menu {color: #fff;font-size: 0.9em;position: relative;z-index: 99!important;display: block; } + #nav-mobile .switch-menu span {margin-right: 0.5em;} + + /*logo */ + #nav-mobile .logo {border-top: 2px solid #fff;border-bottom: 2px solid #fff;margin: 2em 2em 0 0;padding: 1em 0;} + #nav-mobile .logo img {width: 20%; height: auto;float: left;} + #nav-mobile .logo h2 {font-size: 2em; margin-left: 25%;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;color: #fff;} + + /*searchform*/ + #nav-mobile .suche {margin: 2em 2em 2em 0;} + #nav-mobile .suche label {display: none;} + #nav-mobile .suche input.seachphrase {border: 1px solid #333;padding: 1em;box-sizing: border-box;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;background: #fff;color: #333;font-size: 1em;width: 100%; } + #nav-mobile .suche .button-submit {display: none;} + #nav-mobile .suche {} + + /*menu*/ + #nav-mobile nav {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + #nav-mobile nav ul {margin: 0; padding: 0;} + #nav-mobile nav li {margin: 0; padding: 0;} + #nav-mobile nav a {color: #fff;background: #0a321e;display: block;margin: 0 0 1em; padding: 0.5em;} + #nav-mobile nav li li a {background: transparent;margin: 0 0 1em 2em;} + + + /*pagination */ + .page-navigation {background: transparent;padding: 1.5em 0;text-align: center;margin: 0 1em 1em;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + .page-navigation li {display: inline;color: #0a321e;font-size: 1em;margin: 0 0.2em; } + .page-navigation li a {display: inline-block;background: #fff; padding: 0.5em 1em;color: #0a321e;} + .page-navigation li a:hover {color: #fff; background: #e6007e;} + .page-navigation li.kr8pn-next-link, .page-navigation li.kr8pn-prev-link, .page-navigation li.kr8pn-last-page-link, .page-navigation li.kr8pn-first-page-link {display: none; } + .page-navigation ol {display: inline-block;border-right: 0;} + .page-navigation li.kr8pn-current {display: inline-block;background: #ffee00; padding: 0.5em 1em;} + + /*Nav social networks */ + .nav-social {padding: 1em;font-size: 2em;} + .nav-social li {margin-bottom: 1em;} + .nav-social li:last-of-type {margin: 0;} + .nav-social a {font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;color: #46962b;} + .nav-social a:hover {text-decoration: none;color: #0a321e;} + .nav-social a:before{content: "\f0ac"; font-family: FontAwesome; margin-right: 0.3em;color: #e6007e;} + .nav-social .twitter a:before{content: "\f099";} + .nav-social .facebook a:before{content: "\f087";} + .nav-social .instagram a:before{content: "\f16d";} + .nav-social .youtube a:before{content: "\f16a";} + .nav-social .flickr a:before{content: "\f16e";} + + + /*Nav Footer */ + .nav-footer {margin-top:2em;clear: both;} + #footer .nav-footer li a{color: #fff;} + + /*Suchfeld im Header */ + .search-desktop {display: none;} + + +/********************* +08. POSTS & CONTENT STYLES +*********************/ + + /*basic content styles */ + #content {padding: 0;} + + /*posts & pages */ + article.postsingle {background: #fff;padding: 1em;margin: 1em; margin-bottom: 0; + box-shadow: 5px 5px 10px rgba(0,0,0,0.2); } + + article.post {margin-bottom: 2em;z-index: 2;position: relative;} + .hentry p {line-height: 1.5em;margin: 0 0 1.2em 0;} + p.intro {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size:1.1em;} + + + + + /*post header */ + + p.byline {font-size: 0.8em; color: #8c8c8c;margin: 0 0 0.5em;text-align: right; } + /*post tags*/ + p.subhead {margin: 0;font-size: 0.9em;color: #46962b;} + p.subhead a { } + .postlist p.subhead {font-size: 0.8em; } + + + + /*lists*/ + .hentry ul, .hentry ol {margin: 0 2em;} + .hentry ul li {list-style-type: none;counter-increment: list;position: relative;margin: 0 0 1em 0;} + .hentry ul li:before {content: "✲";position: absolute;left: -2.5em;width: 2em;text-align: right;color: #46962b;} + article ol {counter-reset:li;} + article ol > li {list-style-type: none;counter-increment: list;position: relative;margin: 0 0 1em 0;} + article ol > li:before {content:counter(li)'.'; counter-increment:li; position: absolute;left: -2.5em;width: 2em;text-align: right;color: #46962b;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + article ul li li, article ol li li {margin: 1em 0 1em 0;} + + + /*tables */ + article table {margin-bottom: 1.5em;max-width: 100%;overflow: hidden;word-wrap: break-word; } + article table caption {display: none;} + article table th {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; padding: 1em 1em 1em 0;color: #0a321e;background: #46962b;padding: 1em;color: #fff; } + article table td{ padding: 1em 1em 1em 0;border-bottom: 1px solid #f6f6f6; } + + /*Infobox */ + .infobox {background: #ffee00; padding: 2em;margin-bottom: 1em;margin-left: 2em;} + + + + /*image: titleimage (single) */ + .postimg {margin: -1em -1em 1em; display: block;} + .single .postimg .wp-caption-text {text-align: right;padding: 1em 1em 0 0;margin-bottom: 0;} + .single .termine .postimg .wp-caption-text {margin-bottom: -2em;} + #single-intro {height: 30%;min-height: 300px; top: 0;} + + .single a.postimg img.attachment-titelbild.wp-post-image, a.postimglist img.attachment-titelbild.wp-post-image {width: 100%;height: auto;} + + /*image: single parallax */ + .introbg {display: none;} + #single-intro {margin-top: 10em;background-size: cover;margin-top: 0;} + + /*image: home parallax */ + .home #single-intro {display: none;} + .home #single-intro {display: none;} + .home .introbg {display: none;} + + + + /*image sizes */ + img.size-large, img.size-full {width: 100%;height: auto;} + img.size-medium {width: 100%;height: auto;} + img.rund {border-radius: 50%;border: 5px solid #f6f6f6;width: 150px; + } + .page article.post img.size-titelbild {width: 100%; } + + + /*image galleries*/ + .gallery {text-align: center; background: #f6f6f6;margin: 0 -1em 1em; padding: 2em;border: 0;} + .gallery dl.gallery-item {display: inline-block;margin: 0 2% 1% 0;vertical-align: top; } + .gallery dl.gallery-item:nth-of-type(2n) {margin-right: 0;} + .gallery dl.gallery-item img {width: 100%;height: auto; } + .gallery dl.gallery-item .gallery-caption {margin-bottom: 1em;display: none;} + .gallery br {display: none;} + .gallery-columns-9 dl.gallery-item {width: 48%;} + .gallery-columns-9 dl.gallery-item:nth-of-type(9n) {margin-right: 0;} + .gallery-columns-8 dl.gallery-item {width: 48%;} + .gallery-columns-8 dl.gallery-item:nth-of-type(8n) {margin-right: 0;} + .gallery-columns-7 dl.gallery-item {width: 48%;} + .gallery-columns-7 dl.gallery-item:nth-of-type(7n) {margin-right: 0;} + .gallery-columns-6 dl.gallery-item {width: 48%;} + .gallery-columns-6 dl.gallery-item:nth-of-type(6n) {margin-right: 0;} + .gallery-columns-5 dl.gallery-item {width: 48%;} + .gallery-columns-5 dl.gallery-item:nth-of-type(5n) {margin-right: 0;} + .gallery-columns-4 dl.gallery-item {width: 48%;} + .gallery-columns-4 dl.gallery-item:nth-of-type(4n) {margin-right: 0;} + .gallery-columns-3 dl.gallery-item {width: 48%;} + .gallery-columns-3 dl.gallery-item:nth-of-type(3n) {margin-right: 0;} + .gallery-columns-2 dl.gallery-item {width: 48%;} + .gallery-columns-2 dl.gallery-item:nth-of-type(2n) {margin-right: 0;} + .gallery-columns-1 dl.gallery-item {width: 100%;} + .gallery-columns-1 dl.gallery-item:nth-of-type(1n) {margin-right: 0;} + + /*image caption */ + .wp-caption-text, .gallery-caption {font-size: 0.8em;color: #555;} + div.wp-caption {max-width: 100%;} + + + /*more objects */ + article iframe {max-width:100%;} + pre {max-width: 100%;margin-bottom: 1.5em;padding: 1.5em;overflow: auto;background: #f6f6f6;font-size: 0.8em;line-height: 1.4;} + address {background: #e4f8df;padding: 1em;margin-bottom: 1.5em;} + article .searchform {background: #f6f6f6; padding: 2em; width: 100%;margin: 0 -2em -4em -2em;} + article .searchform label {margin-bottom: 1em; display: block;} + + + /*category view:post */ + + article.postlist {margin: 1em;background: #fff;padding: 1em;} + article.postlist a.postimglist {margin: -1em -1em 0;display: block; } + article.postlist a.postimglist img{width: 100%;height: auto;} + article.postlist h2 {margin-bottom: 0;} + article.postlist h2 a {color:#0a321e;} + article.postlist .article-teaser {display: none;} + article.postlist {} + + /*category view: Archiv-Titel*/ + div.archive-title {margin: 1em;color: #fff; } + div.archive-title h1 {display: inline-block;color: #fff;margin-bottom: 0.2em;} + .archive-title p {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + + + + /*category template: headerlist */ + article.postlist-small, #main article.postlist-small {padding: 1em;background: #fff; margin: 0 1em 1em;} + article.postlist-small h2 {font-size: 1em;} + article.postlist-small h2 a span {color: #ed228d;font-size: 0.7em;margin-right: 0.3em;display: block;} + article.postlist-small p {font-size: 0.7em;color: #888;margin: 0!important;text-align: right;} + article.postlist-small a {} + + + /*shortcode: sitemap */ + ul.sitemap {margin: 0; padding: 2em 2em;} + ul.sitemap li {list-style-type: none;clear: both;background: #f6f6f6; padding: 2em;} + ul.sitemap li:before{content: ""; } + ul.sitemap li img {float: left;margin: 0 0.5em 2em 0;width: 100px;border-radius: 50%; } + ul.sitemap li a {font-size: 1.1em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;} + ul.sitemap li span {display: block;font-size: 0.9em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + + + + /*Author */ + .author {padding: 1em 1em 0;margin-top: 1em;text-align: center;} + .author img.avatar {border-radius: 50%;} + .author .author-description {} + .author .author-description h3 {font-size: 1.2em;padding-top: 0.5em;text-align: center;} + .author .author-description h3 a {color: #0a321e;} + .author .author-description p {margin-bottom: 0.5em!important;font-size: 0.9em;} + + + + /*socialshare */ + .sharewrap {margin: 2em 0 0; padding: 0; clear: both;background: #fff;} + .sharewrap a {display: inline-block; text-align: center; padding: 0; margin-bottom: 0; font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color: #fff;font-size: 1em;} + .sharewrap a:hover {background:#e6007e !important;} + .sharewrap a span {display: none;} + .sharewrap a i {font-size: 1.2em;padding: 0.5em 1em;} + .sharewrap a.twitter {background: #59adeb;} + .sharewrap a.facebook {background: #3b5998;} + .sharewrap a.whatsapp {background: #4dc247;} + .sharewrap a.google {background: #d53f38;} + .sharewrap a.email {background: #ff9900;margin: 0;} + + + + /*colorbox */ + .colorbox {background: #ffee00; margin: 2em -2em; padding: 2em;} + .colorbox img.rund {border-color: #e6007e;} + + + /*Quiz */ + .wpss-form {} + #main .wpss form {background: #ffee00;margin-bottom: -2em;} + .wpss-form .wpss-question p {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + .wpss .wpss-form fieldset {border: 0;} + .wpss .wpss-form input.wpss-radio {float: left;width: auto!important; margin: 0.25em 0.5em 0 0;} + #main .wpss .wpss-form label {font-size: 1em;color: #46962b;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; } + #main .wpss .wpss-form .wpss-question {margin-bottom: 1em;} + #main .wpss .wpss-progress-bar {margin-bottom: 1em;margin-top: 1em;} + #main .wpss .wpss-progress-bar span {background: #e6007e;} + #main div.wpss_results_score {background: #fe0; padding: 1em; text-align: center;font-size: 2em;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color: #46962b; } + + + +/********************* +09. PAGE TEMPLATES +*********************/ + + + /*TEMPLATE: Startseite */ + #teaser {margin-bottom: 0;} + #teaser.welcome {background: #f6f6f6; padding: 2em;box-sizing: border-box;margin: 1em 1em 0;} + + /*Kacheln */ + #teaser {} + .josephbeuys article, .petrakelly article {background: #e6007e; padding: 1em; color: #fff;margin: 0;border-bottom: 3px solid #ffee00;} + .josephbeuys a, .petrakelly a {color: #fff;} + .josephbeuys .subhead, .petrakelly .subhead {color: #ffee00;} + .josephbeuys .postimglist {margin: -1em -1em 0 -1em;display: block;} + .josephbeuys img {} + + + + + /*TEMPLATE: LANDING-PAGE */ + /*intro */ + h1.landing-title {margin-bottom: 1em;display: inline-block;padding-right: 40px;background: url(../images/stoerer_end.png) right center no-repeat;font-family: 'Arvo Gruen', 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;} + h1.landing-title span{display: inline-block;background: #e6007e url(../images/stoerer_end.png); color: #fff;padding: 0.3em 0.2em 0.3em 0.5em;text-shadow: 0 0 0; } + #landing-intro {color: #fff;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-shadow: 1px 1px 5px rgba(0,0,0,0.5);padding: 2em 1em;min-height: 300px;} + + /*page content */ + .page-template-page-landingpage article.page.hentry, .page-template-page-landingpage-small article.page.hentry {background: #fff;margin: 0; padding: 2em 2em 0;background: #fff;box-shadow: 5px 5px 10px rgba(0,0,0,0.2); } + + + + /*news */ + .landingnews {margin: 0;} + h2.landingsection {background: #fff;display: inline-block;margin: 2em 0 0 0; padding: 0.5em;font-size: 1.5em;} + .landingnews article {} + + + + + + + /*TEMPLATE: ARCHIV*/ + .archiv {} + .archiv ul {margin: 0;} + .archiv li:before {content: ""!important;} + .archiv li {display: inline; padding: 0;} + .archiv li:after {display: inline;content: ' / ';padding: 0;} + .archiv ul li:last-of-type:after {content: '';} + .archiv h2 {font-size: 1.2em;margin-top: 2em;} + .archiv .archiv-tags a {font-size: 1em!important;} + + /*TEMPLATE: LISTVIEW*/ + .page-template-page-listview-php article.postsingle {background: transparent;padding: 0;margin: 0;} + .page-template-page-listview-php article.postsingle article {background: #fff;padding: 1em;margin: 1em;border: 0;} + .page-template-page-listview-php #main article.postsingle form {background: #fe0; padding: 1em;margin: 1em;} + .page-template-page-listview-php #main button { font-size: 1em;} + .page-template-page-listview-php #main article.postsingle form label {color: #46962b;} + + + + /*TEMPLATE: STORY */ + .story-intro {color: #fff;position: absolute;bottom: 35%;height: 15%;width: 100%;text-align: center;font-size: 1.3em;text-shadow: 2px 2px 4px rgba(0,0,0,0.5);z-index: 2;} + .story-intro h1 {color: #fff; text-align: center;} + .page-template-page-story article {padding: 2em 2em;margin: 0; color: #fff;} + .page-template-page-story article img.size-large, .page-template-page-story article img.size-full, .page-template-page-story article img.aligncenter {margin-top: 1em;margin-bottom: 1em;} + .page-template-page-story .parallax {text-shadow: 2px 2px 4px rgba(0,0,0,0.5);} + .inhaltvz {display: none;} + .abstand {height: 400px;max-height: 60vh;} + + + /*SEARCH */ + .search-results #main .suche {display: none;} + /*post types */ + .search-results #main .article-teaser {display: block!important;} + .search-results #main .article-teaser p {margin-bottom: 0;} + .search-results #main article.type-termine {padding: 1em;margin: 1em; } + .search-results #main article.type-termine h2 {margin: 0;text-align: left;} + .search-results #main article.type-termine h2:before {content: "\f073";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + .search-results #main article.type-termine .article-teaser {margin: 0;} + .search-results #main article.type-termine p {margin: 0;text-align: left;} + .search-results #main article.type-person h2:before {content: "\f21d";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + .search-results #main article.type-page h2:before {content: "\f0e8";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + .search-results #main article.type-post h2:before {content: "\f1d9";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + .search-results #main article.category-presse h2:before {content: "\f1ea";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + .search-results #main article.category-beschluesse h2:before {content: "\f02d";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + .search-results #main article.type-gliederung h2:before {content: "\f024";font-family: 'FontAwesome';margin-right: 0.3em;color: #e6007e;} + + #main .suche button {border: 0;font-size: 1em;padding: 0.5em;background: #e6007e;color: #fff;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;font-weight: normal;} + #main .suche button:hover {background: #ffee00;color: #46962b;} + #main .suche label {display: none;} + #main .suche input {padding: 1em;width: 100%;box-sizing: border-box;} + + + /*404 */ + .error404 {background: url(../images/bg_kohle.jpg);} + .error404 article {margin: 1em;background: transparent;color: #fff; + } + .error404 article h1 {padding: 0.5em;} + .error404 article p {padding: 0 1em; } + .error404 article form {margin: 1em 0 0 0!important;width: 100%;box-sizing: border-box;background: transparent!important;} + + +/********************* +10. POST TYPES +*********************/ + + + /*POSTTYPE:PERSON*/ + .single article.person {position: relative;background: #fff;margin: 1em;padding: 1em;box-shadow: 5px 5px 10px rgba(0,0,0,0.2); + } + + h2.h3 {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 1.3em;color: #46962b;margin-top: -0.2em;margin-bottom: 1em;} + .socialprofile {} + .socialprofile a {font-size: 1.2em;background: #0a321e;width: 2em;height: 2em; display: inline-block;box-sizing: border-box;padding-top: 0.25em;border-radius: 50%;text-align: center;margin:0 0.1em 1em; color: #fff; } + .socialprofile a:hover {background: #46962b;} + + .anschrift {background: #e5e5e5; width: 60%;padding: 1em 1em 0.1em 1em;margin-left: 5%;} + + + /*Person: List Team */ + .personen-list {} + .personen-list article {margin: 0 0 2em;padding: 0 0 2em ;text-align: center;border-bottom: 3px solid #f6f6f6; } + .personen-list article.has-post-thumbnail {margin-top: 6.5em;} + .personen-list h3 {margin-bottom: 0;text-align: center;color: #e6007e!important; } + .personen-list p.funktion{color: #46962b;margin-bottom: 0.5em;} + .personen-list p.listenplatz{color: #46962b;margin: 0.5em 0 0;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;f} + .personen-list p {margin-bottom: 0;} + .personen-list p.short {margin-bottom: 1em; color: #555; } + .personen-list p a {color: #333;} + .personen-list img {border-radius: 50%;border: 5px solid #f6f6f6;width: 7em;height: 7em;margin-top: -5em;text-align: center;} + .personen-list p.contact a {display: inline-block; background: #0a321e;padding: 0.2em 0.5em;border-radius: 50%; color: #fff;} + .personen-list p.contact a:hover {background: #46962b; } + .personen-list .details {margin-top: 1em; } + .personen-list .details a {display: inline-block; background: #46962b;color: #fff; padding: 0.3em 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 0.9em;border-radius: 0.4em;} + .personen-list .details a:hover {background: #ffee00;color: #46962b;} + + + /*POSTTYPE: Termine */ + article.termine {border-bottom: 2px solid #f6f6f6;margin: 1em 0;position: relative;padding: 1em;} + article.termine:last-of-type {border-bottom: 0;} + article.termine .termin_meta_kurz {color: #e6007e;text-align: center;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;margin-bottom: 0.7em;} + article.termine .termin_meta_kurz span {display: block;font-size: 0.8em;} + article.termine .termin_meta_kurz .termin_datum_kurz {font-size: 2em;} + article.termine h2 {text-align: center; font-size: 1.3em;} + article.termine p {margin: 0;text-align: center; } + article.termine a.weiterlesen {background: transparent;position: absolute; top: 0;left: 0;height: 100%;width: 100%;text-indent: -9999px;} + article.termine a.weiterlesen:hover {background: rgba(0,0,0,0.03);} + + .single article.termine {background: #fff; margin: 1em;padding: 1em;} + .single article.termine .termin_meta {margin: 1em 0 1em 0;color: #0a321e;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 0.9em; } + .single article.termine .termin_meta span {display: block;margin-bottom: 0.5em;} + .single article.termine .termin_meta span:before {padding-right: 0.5em;font-family: "FontAwesome";color: #46962b;font-size: 1.3em; } + .single article.termine .termin_meta .termin_tag:before {content: "\f073";} + .single article.termine .termin_meta .termin_zeit:before {content: "\f017";} + .single article.termine .termin_meta .termin_ort:before {content: "\f041";} + .single article.termine .termin_meta .termin_veranstalter:before {content: "\f007";} + .single article.termine p {text-align: left;margin-bottom: 1.2em;} + .single article.termine #termin_map_wrapper {background: #f6f6f6; padding: 1em; margin: 0 -1em -1em -1em;} + .single article.termine #termin_map_wrapper a {color: #0a321e;font-size: 0.8em;} + .single article.termine .entry-content h2 {margin-left: 0;} + + + /*POSTTYPE: GLIEDERUNGEN */ + + + /*Gliederungen: KV Liste */ + .gliederungen-list {} + .gliederungen-list article {border-bottom: 2px solid #f6f6f6;margin: 2em 0; padding: 0 0 2em;} + .gliederungen-list article p.contact{font-size: 1em;} + .gliederungen-list article p.contact a {display: inline-block; background: #0a321e;padding: 0.2em 0.5em;border-radius: 50%; color: #fff;} + .gliederungen-list article p.contact a:hover {background: #46962b;} + .gliederungen-list .article-header{display: inline-block;} + .gliederungen-list .entry-content {display: inline-block; float: right;} + .gliederungen-list .entry-content p, .gliederungen-list article h2 {margin: 0;color: #e6007e; + } + .gliederungen-list h2 {font-size: 1em;} + + + + + +/****************************************************************** +11. PAGE NAVI STYLES +******************************************************************/ + + /*Tabs*/ + .responsive-tabs__heading { display: none;} + .responsive-tabs__list__item { display: inline; cursor:pointer;} + .content-tabs {margin-bottom: 2em;border-top: 1px solid #46962b; } + .content-tabs .responsive-tabs__list { display: none;} + .responsive-tabs__list li:before {content: "";} + .responsive-tabs__heading { display: block; cursor: pointer; } + .responsive-tabs__panel--closed-accordion-only { display: none;} + .responsive-tabs-wrapper {clear: both;zoom: 1; } + .responsive-tabs-wrapper:before,.responsive-tabs-wrapper:after {content: "";display: table;} + .responsive-tabs-wrapper:after {clear: both;} + .responsive-tabs__heading--active:focus, + .responsive-tabs__list__item--active:focus { outline: none !important;} + + .responsive-tabs__heading { background: #fff;border: 1px solid #46962b;font-size: 1.2em; border-top: 0;padding: 0.3em 0.5em 0.3em 1.3em; margin: 0;color: #333;position:relative;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;font-weight: normal;} + .responsive-tabs__heading--active {background: #46962b;color: #fff;} + .responsive-tabs__panel { padding: 1em;margin: 0;} + + .responsive-tabs__list {margin: 0!important;padding-left: 2em;} + .responsive-tabs__list li {float: none;display: inline-block;margin: 0!important;font-size: 0.8em; } + + .responsive-tabs__heading::after {content: "\f077"; font-family: FontAwesome; left: 0.5em;font-size: 0.7em; position: absolute;color: #46962b; } + .responsive-tabs__heading--active::after {content: "\f078";color: #fff; } + + .responsive-tabs__list__item {background: transparent;padding: 0.7em 1em; color: #fff;} + .comments-tabs .responsive-tabs__list__item {color: #fff;} + .responsive-tabs__list__item:hover {background: transparent; } + .responsive-tabs__list__item--active, + .responsive-tabs__list__item--active:hover { background: #f6f6f6;border: 0;color: #0a321e;} + + + .responsive-tabs__panel { border: 0;background: #fff;margin-bottom: 0;padding: 2em;border: 1px solid #46962b; border-top: 0;border-bottom: 3px solid #46962b; } + + + .comment-tabs {margin: 1em;} + .comment-tabs .responsive-tabs__heading { display: none;} + .comment-tabs .responsive-tabs__panel--closed-accordion-only { display: block;} + .comment-tabs .responsive-tabs__panel {background: #f6f6f6;padding: 0em;border: 0;margin-bottom: 0;padding-bottom: 0;} + .comment-tabs .responsive-tabs__list__item {position: relative;} + .comment-tabs .responsive-tabs__list__item::before {margin-right: 0.5em;font-family: FontAwesome;font-size: 1em; color: #46962b;} + body.page .comment-tabs .responsive-tabs__list__item:nth-of-type(2)::before {content: "\f0e6";} + body.page .comment-tabs .responsive-tabs__list__item:nth-of-type(1)::before {content: "\f040";} + + body.single .comment-tabs .responsive-tabs__list__item:nth-of-type(4)::before {content: "\f0e6";} + body.single .comment-tabs .responsive-tabs__list__item:nth-of-type(3)::before {content: "\f040";} + body.single .comment-tabs .responsive-tabs__list__item:nth-of-type(2)::before {content: "\f1ea";} + body.single .comment-tabs .responsive-tabs__list__item:nth-of-type(1)::before {content: "\f1d9";} + + .comment-tabs .responsive-tabs__list__item {font-size: 0px; padding: 0 10px 0 10px;margin-right: 10px!important;} + .comment-tabs .responsive-tabs__list__item::before {font-size: 25px;margin-right: 0;color: #fff;} + .comment-tabs .responsive-tabs__list__item--active::before {color: #46962b;} + + + /*tabs homepage */ + .home-tabs {margin: 1em;} + .home-tabs .responsive-tabs__panel {padding: 0!important;background: transparent;border: 0;} + .home-tabs .responsive-tabs__panel article {margin: 1em 0; background: #fff;border: 0;} + .home-tabs .responsive-tabs__panel--closed-accordion-only {display: block;}/*1. Tab mobil öffnen */ + .home-tabs .responsive-tabs__list {display: block;} /*nav mobil umstellen */ + .home-tabs .responsive-tabs__list {display: block;padding: 0;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + .home-tabs .responsive-tabs__list li {background: #0a321e;} + .home-tabs .responsive-tabs__list li.responsive-tabs__list__item--active {background: #ffee00;} + .home-tabs .responsive-tabs__list {display: block;} + /*icons*/ + .home-tabs .responsive-tabs__list li:before {color: #fff; font-family: 'FontAwesome';display: block;text-align: center;} + .home-tabs .responsive-tabs__list li.responsive-tabs__list__item--active:before {color: #0a321e;} + .home-tabs .responsive-tabs__list #tablist1-tab1:before {content: "\f1d9";} + .home-tabs .responsive-tabs__list #tablist1-tab2:before {content: "\f073";} + .home-tabs .responsive-tabs__list #tablist1-tab3:before {content: "\f1ea";} + .home-tabs .responsive-tabs__list #tablist1-tab4:before {content: "\f02d";} + + .home-tabs h2.responsive-tabs__heading {display: none!important;} + + p#back-top a {display: none; } + + +/****************************************************************** +12. COMMENT STYLES +******************************************************************/ + .commentlist {background: #f6f6f6; padding: 1em;margin: 0 1em 1em;} + .commentlist li {list-style-type: none;} + + .commentlist li:before{content: "";} + ul.children {margin-left: 1em;} + #main ol.commentlist article {background: transparent;padding: 0.5em;margin: 0 0 1em 1em;} + .commentlist article img.avatar {margin: 0 0.5em -0.7em 0;border-radius: 50%;} + .commentlist article .vcard {padding: 0 0 0 0;font-size: 0.8em;margin-bottom: 0.7em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color:#0a321e;} + .commentlist article .vcard a {color: #46962b;} + .commentlist .comment-reply-link {font-size: 0.6em;padding: 0.2em 0.8em;border-radius: 1em;display: inline-block;text-align: right;color: #fff;background: #46962b;float: right;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase; } + .commentlist .comment-reply-link:hover {background: #ffee00; color: #46962b;} + .commentlist article:hover .comment-reply-link {visibility: visible;} + + + #main ol.commentlist article {} + #main ol.commentlist article.bypostauthor {background: #46962b;color: #fff;padding: 1em;} + #main ol.commentlist article.bypostauthor a {color: #0a321e;} + #main article.bypostauthor a.comment-reply-link {color: #fff!important;background: #0a321e;} + + + /*comment nav */ + #comment-nav ul li:before{content: "";} + #comment-nav {padding: 0;margin: 0; background: transparent;} + + #comment-nav li {width: 50%;display: inline-block;padding: 0!important;margin: 0;box-sizing: border-box;font-size: 0.9em;} + #comment-nav li.next {text-align: right;float: right;} + #comment-nav li a {color:#0a321e;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + + + /*Related */ + .posttab, .posttab {padding: 1em 0 0.1em;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .posttab article:first-of-type {margin-top: 0;} + + /*category view:post */ + .posttab article.postlist {margin: 0 1em;background: transparent;padding: 1em 0;border-bottom: 0;} + .posttab article.postlist a.postimglist {float: left;width: 30%;margin: 0 1em 0 0; } + .posttab article.postlist .article-teaser {display: none;} + .posttab article.postlist.has-post-thumbnail h2, .posttab article.postlist.has-post-thumbnail p.subhead, + .posttab article.postlist.has-post-thumbnail .article-teaser {margin-left: 33%; } + + + +/****************************************************************** +13. COMMENT FORM STYLES +******************************************************************/ + + + #respond {background: #f6f6f6;padding: 2em;margin: 0 1em 1em;} + + #reply-title {color: #0a321e;} + #commentform ul {margin: 0;} + #commentform li {list-style-type: none;} + #commentform li:before{content: "";} + #main form {background: #f6f6f6;padding: 2em;margin: 0 -1em 1em;} + #main form p:last-of-type {margin-bottom: 0;} + #main form input, #main form textarea, #main form select {border: 1px solid #cecece;background: #fff;padding: 1em;display: block;margin-bottom: 1em;width: 92%;} + #main form textarea {width: 97.3%;height: 6em;} + #main form input:hover, #main form textarea:hover {border: 1px solid #999;background: #fff;box-shadow: 0 0 5px #eee inset;} + #main form input:focus, #main form textarea:focus {border: 1px solid #46962b;background: #fff;box-shadow: 0 0 5px #eee inset;} + #main form label {font-size: 0.8em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color: #888;} + #main form input[type=number], #main form select, #main form .wpcf7-radio input {width: auto;} + #main form input[type=radio] {display: inline-block;} + #main form .wpcf7-radio span.wpcf7-list-item-label {margin-right: 1em;} + #main form input.wpcf7-acceptance {width: auto; display: inline-block;margin-right: 0.5em;} + #main form .wpcf7-checkbox input {display: inline-block;width: auto;} + #main form input[type=submit], #main form .cr_ipe_item button {display: inline-block;padding: 1em; border: 0;color: #fff;font-weight: normal;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;width: auto;text-transform: uppercase;background: #e6007e;font-size: 1.2em;} + #main form input[type=submit]:hover, #main form .cr_ipe_item button:hover {background: #fe0;border:0;color: #46962b;box-shadow: 0 0 0 inset;} + #main form h2 {margin-bottom: 1em;} + #main form.wpss-form input[type=submit]:hover {background: #46962b;border:0;color: #fff;} + #main form .radiolist .wpcf7-list-item { + display: block; margin:0.3em 0; + } + + #main form canvas {border: 1px solid #cecece;background: #fff; } + #main form .wpcf7-form-control-clear-wrap input {border: 0; padding: 0.5em 0;background: transparent;width: auto;font-size: 0.8em;} + + + + #main form .box {background: #ffee00;margin: 0 -2em 2em -2em;padding: 2em;clear:both;} + #main form hr {color: #fff;background: #fff;margin-bottom: 2em;margin-top: 0;clear:both;} + + #recaptcha_area {margin-bottom: 1em;} + #main form .req {color: #46962b;} + #main form label small {font-size: 0.8em;color: #aaa;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + form .required-info {font-size: 0.8em;color: #888;margin-bottom: 1em;} + + + /********************* + 14. SIDEBARS & ASIDES + *********************/ + .sidebar li {list-style-type: none;} + .sidebar {background:#0a321e;padding: 2em;color: #8d9e96;} + h3.widgettitle {margin-bottom: 0.5em;color: #fff;} + .sidebar a, .sidebar a:visited {color: #ffee00; } + .sidebar a:hover {color: #e6007e; } + .widget {margin-bottom: 2em;border-bottom: 2px solid #17452e; padding-bottom: 2em;} + .sidebar .widget:last-of-type {margin-bottom: 0;} + + /*Twitter */ + .widget.widget_twitter-tracker, .widget_twitter-profile-tracker {padding: 1em;color: #fff;font-size: 0.9em;margin: 0;border: 0; + } + .widget.widget_twitter-tracker h3, .widget_twitter-profile-tracker h3 {} + .sidebar .widget.widget_twitter-tracker a, .sidebar .widget_twitter-profile-tracker a {} + .sidebar .widget.widget_twitter-tracker a.tweet-link, .sidebar .widget_twitter-profile-tracker a.tweet-link {font-size: 0.6em;margin: 0 0 0 40px;background: #46962b;color: #fff!important;padding: 0.3em 0.5em;border-radius: 1em;} + .widget.widget_twitter-tracker img, .widget_twitter-profile-tracker img {float: left; margin: 5px 0 0.5em 0;width: 30px; height: auto;} + .widget.widget_twitter-tracker .msg, .widget_twitter-profile-tracker .msg {margin: 0 0 0 40px;} + + .widget.widget_twitter-tracker .tweets li, .widget_twitter-profile-tracker .tweets li {margin-bottom: 1.5em;} + + + /*Social Media */ + .widget_kr8_socialmedia {padding: 0!important;background: transparent!important;box-shadow: 0 0 0 !important;} + .widget_kr8_socialmedia h3.widgettitle {} + .widget_kr8_socialmedia li {display: inline-block;margin: 0 0.5em 0.5em 0!important; padding: 0!important;} + .widget_kr8_socialmedia li span {border-radius: 50%;box-sizing: border-box;height: 40px;width: 40px;color: #fff;text-align: center;background-color: #0a321e; font-size: 1.3em;padding-top: 0.5em;} + .widget_kr8_socialmedia li span.fa-twitter:hover {background-color: #31ccf0;} + .widget_kr8_socialmedia li span.fa-facebook:hover {background-color: #3b5998;} + .widget_kr8_socialmedia li span.fa-google-plus:hover {background-color: #dd4e51;} + .widget_kr8_socialmedia li span.fa-flickr:hover {background-color: #fd3a93;} + .widget_kr8_socialmedia li span.fa-instagram:hover {background-color: #407291;} + .widget_kr8_socialmedia li span.fa-youtube:hover {background-color: #b1263a;} + .widget_kr8_socialmedia li span.fa-vimeo-square:hover {background-color: #28c5ee;} + .widget_kr8_socialmedia li span.fa-pinterest:hover {background-color: #d7373d;} + .widget_kr8_socialmedia li span.fa-soundcloud:hover {background-color: #fa3846;} + .widget_kr8_socialmedia li span.fa-foursquare:hover {background-color: #5bc0e6;} + .widget_kr8_socialmedia li span.fa-xing:hover {background-color: #074f4f;} + .widget_kr8_socialmedia li span.fa-tumblr:hover {background-color: #2a455b;} + .widget_kr8_socialmedia li span.fa-rss:hover {background-color: #fb9a61;} + .widget_kr8_socialmedia li span.fa-comments-o:hover {background-color: #fb6c55;} + + + /*Bilder Widget*/ + .widget_sp_image img {width:100%!important;height:auto!important;} + + /*Suche */ + .widget_search {background: transparent!important;box-shadow: 0 0 0!important;padding: 0!important;display: none;} + .widget_search label{display: none;} + .widget_search .seachphrase{padding: 1em 5%;width: 90%;border: 1px solid #0a321e;} + .widget_search .seachphrase:hover, .widget_search .seachphrase:focus {border-color: #46962b;} + .widget_search .button-submit {border:0;background: #0a321e; color: #fff;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;padding: 0.5em 1em;margin-top: 1em;font-size: 1em;font-weight: normal;} + .widget_search .button-submit:hover {background: #ffee00;color: #0a321e;} + .sidebar .widget_search .button-submit .fa {display: none;} + + /*contact form */ + .sidebar form {} + .sidebar form input {padding: 1em;} + .sidebar form label {display: block;color: #fff;font-size: 0.8em;color: #fff;} + .sidebar form input {padding: 1em;width: 100%;box-sizing: border-box;margin-bottom: 1em;font-size: 1em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + .sidebar form input:focus, .sidebar form input:hover {box-shadow: 0px 0 10px rgba(0,0,0,0.3);} + .sidebar form button, .sidebar form input[type=submit], .page-template-page-listview-php article button {background: #e6007e;border: 0;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;color: #fff; font-weight: normal;font-size: 1.5em; padding: 1em; display: block;} + .sidebar form button:hover, .sidebar form input[type=submit]:hover, .page-template-page-listview-php article button:hover {background: #ffee00;color: #46962b;} + .sidebar.threecol button {font-size: 1em;margin-top: 1em;} + + .sidebar form p {margin-bottom: 1em;} + .sidebar form {} + + /*Tag Cloud */ + .widget_tag_cloud {} + .widget_tag_cloud a, #footer .widget_tag_cloud a {font-size: 0.9em!important;display: inline-block;padding: 0.5em 0.6em; margin: 0 0.2em 0.5em 0; background: #46962b; line-height: 1; color: #fff; border-radius: 0.3em;} + .widget_tag_cloud a:hover, #footer .widget_tag_cloud a:hover {background: #ffee00;color: #0a321e;text-decoration: none;} + + /*Termine: Liste */ + .widget_termine_liste_widget {} + .widget_termine_liste_widget li li {} + .widget_termine_liste_widget span{margin-right: 0.4em;font-size: 0.8em;} + .widget_termine_liste_widget span:after{content: " »";} + .widget_termine_liste_widget span:last-of-type:after{content: "";} + .widget_termine_liste_widget h4 {} + .widget_termine_liste_widget p{display: none;} + + /*Rss*/ + .widget_rss h3 img {display: none;} + #footer .widget_rss h3 a {color: #fff;} + + + /*Petition*/ + .dk-speakup-widget-popup-wrap {background: #fff; position: fixed;z-index: 199; padding: 2em;display: none;} + #dk-speakup-widget-windowshade {position: fixed;top: 0;left: 0;z-index: 198;background: #000;} + .dk-speakup-widget-close {width: 15px; height: 15px;background: red;position: absolute;top: 0;right: 0;} + .dk-speakup-progress {background: #ddd;height: 1.5em;display: block;border: 1px solid #ccc;} + + + + + + /********************* + 15. FOOTER STYLES + *********************/ + + /*Newsletter */ + #newsletter {background: #e6007e; margin: -2em;padding: 2em;} + #newsletter .sidebar {background: transparent;} + #newsletter .widget {background: transparent!important;border: 0;} + #newsletter h2 {color: #fff;margin-bottom: 1em;border-bottom: 3px solid;display: inline-block;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;font-size: 2.5em; } + + + /*Social Accounts */ + #socialaccounts {background: #fe0;margin-top: 0;} + #socialaccounts .widget {background: transparent;} + + + /*Real footer */ + #footer {clear: both;background:#0a321e; padding: 0;color: #fff; } + #footer .widget {background: transparent; box-shadow: 0 0 0 0 #000;color: #8d9e96;} + #footer .widget:last-of-type {border-bottom: 0;} + #footer .widgettitle {color: #fff;} + p.copyright {text-align: center; font-size: 0.8em;background: #0a1a12;color: #56685f;padding: 1em;} + p.copyright a:hover{color: #ffee00;} + + #footer .widget_nav_menu {font-size: 1.2em;} + #footer .widget_nav_menu li {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; margin-bottom: 2em;} + #footer .widget_nav_menu li a {color: #fff;} + #footer .widget_nav_menu li li a {color: #afdca7;} + #footer .widget_nav_menu li li {float: none;font-size: 0.8em;margin: 0;width: 100%;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;} + #footer .widget_nav_menu ul {margin: 0;padding: 0;} + #footer .widget_nav_menu li a:hover {color: #ffe000; } + + .nav-footer {margin: 2em;} + + } + + +/**********************************************************************/ +/* DESKTOP */ +/**********************************************************************/ + + +/*SMALLER LAPTOPS */ +@media only screen and (min-width: 770px) { + + .onecol {width: 5.801104972%;} + /* 4.85%; } /* grid_1 */ + .twocol {width: 14.364640883%;} + /* 13.45%; } /* grid_2 */ + .threecol {width: 22.928176794%;} + /* 22.05%; } /* grid_3 */ + .fourcol {width: 31.491712705%;} + /* 30.75%; } /* grid_4 */ + .fivecol {width: 40.055248616%;} + /* 39.45%; } /* grid_5 */ + .sixcol {width: 48.618784527%;} + /* 48%; } /* grid_6 */ + .sevencol {width: 57.182320438000005%;} + /* 56.75%; } /* grid_7 */ + .eightcol {width: 65.74585634900001%;} + /* 65.4%; } /* grid_8 */ + .ninecol {width: 74.30939226%;} + /* 74.05%; } /* grid_9 */ + .tencol {width: 82.87292817100001%;} + /* 82.7%; } /* grid_10 */ + .elevencol {width: 91.436464082%;} + /* 91.35%; } /* grid_11 */ + .twelvecol {width: 99.999999993%;} + /* 100%; } /* grid_12 */ + .onecol,.twocol,.threecol,.fourcol,.fivecol,.sixcol,.sevencol,.eightcol,.ninecol,.tencol,.elevencol,twelvecol { + position: relative;float: left;margin-left: 2.762430939%;} + .first {margin-left: 0;} + section.last, div.last {float: right;} + + + /****************************************************************** + Stylesheet: Tablet & Small Desktop Stylesheet + + Here's where you can start getting into the good stuff. + This size will work on iPads, other tablets, and desktops. + So you can start working with more styles, background images, + and other resources. You'll also notice the grid starts to + come into play. Have fun! + + ******************************************************************/ + + + /********************* + GENERAL STYLES + *********************/ + + a {text-decoration: none;} + h1 {font-size:3em; } + + /********************* + LAYOUT & GRID STYLES + *********************/ + html {} + body {padding: 0;background: url(../images/body_bg.jpg) 50% 50% fixed #46962b;background-size: 100% 100%; + } + +.inner {max-width: 1140px; margin: 0 auto;} + + #content {padding: 0; } + #main { } + + /********************* + HEADER SYTLES + *********************/ + #header{ padding: 1.5em 0 0 0;position: relative;margin-bottom: 2em;} + + + + + /********************* + NAVIGATION STYLES + *********************/ + + /*hide mobile nav */ + .header-mobile, #nav-mobile {display: none!important;} + + /*show nav in desktop-version*/ + #nav-desktop, #nav-flyin {display: block;} + + /*Hauptnavigation fixed and scrolly */ + .nav-wrap {width: 100%;z-index: 3;position: relative;margin-bottom: 2em; } + #nav-flyin {position: fixed;z-index: 999;display: none;height: auto;overflow: visible;background: #0a321e;top: 0;font-size:1.3em;} + .logged-in.admin-bar #nav-flyin {top: 32px;} + + /*nav flyin */ + .nav-wrap .logo-desktop {display: none;position: relative; float: left;width: auto;padding: 0.5em 1em 0.5em 0;} + .nav-wrap .logo-desktop img {height: 2.5em;width: auto;float: left;} + .nav-wrap .logo-desktop h2 {color: #fff;font-size: 1em;padding: 0.6em 0 0 3em;font-family:'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;} + .nav-wrap .logo-desktop h2 a {color: #ffee00;} + + /*nav desktop */ + #nav-desktop {font-size:1.3em;} + + /*Hauptnavigation */ + .nav-main {display:block;width: 100%;text-align: right;background:transparent;font-family:'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;z-index: 3;position: relative;text-transform: uppercase; } + .nav-main .navigation {display:block;width:100%;} + + + .nav-main li {display: inline-block;position: relative;padding:1em;margin:0;} + .nav-main li a {padding:0;display:block;background: transparent;color:#fff;border: 0; } + .nav-main li a:hover {color: #ffe000;text-decoration: none;} + /*2te Ebene */ + .nav-main li ul {display:none;padding: 0px 0 0;font-size:0.9em;margin-top: 13px;} + .nav-main li:hover ul {display:block;} + .nav-main li ul {position:absolute;width:250px;z-index:9;background: #fff;box-shadow: 0 10px 10px rgba(0,0,0,0.2);text-align: left;border: 5px solid #ffee00;margin-left: -40px; } + .nav-main li ul:before {content: "";position: absolute;width: 30px;height: 15px;top: -15px;left: 70px; background: url(../images/nav_ul2.png) 0 -5px no-repeat transparent;} + .nav-main li ul li {display:block;float: none;font-size:0.8em;border: 0;margin: 0;padding: 0;position: relative;z-index: 9; } + .nav-main li ul li a, .nav-main li.current-menu-parent li a, .nav-main li.current-menu-item li a {background: #fff;color:#0a321e;border: 0;padding: 0.5em 1.2em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: none;} + .nav-main li.current-menu-parent li a:hover,.nav-main li.current-menu-item li a:hover,.nav-main li ul li a:hover,.nav-main li.current-menu-parent li.current-menu-item a {color:#46962b; background: #ffee00; } + .nav-main li.current-menu-parent li.current-menu-item a { } + .nav-main li ul li a:before {} + /*2te & 3te Ebene Mega */ + .nav-main li.mega ul {width: 600px;clear: both;display: block1;margin-left: -200px;} + .nav-main li.mega ul:before {left: 215px;} + .nav-main li.mega ul a {background: transparent;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;} + .nav-main li.mega ul li {width: 200px;position: relative;display: block;float: left;font-size: 1em; } + .nav-main li.mega ul ul {position: relative;padding: 0;width: 200px;box-shadow:0 0 0;border: 0;float: none;display: block;margin: 0;} + .nav-main li.mega ul ul a {font-family: 'Arvo Regular', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: none;} + .nav-main li.mega ul ul:before {background: transparent;} + .nav-main li.mega ul ul li {} + /*Aktives Element */ + .nav-main li.current-menu-item a, .nav-main li.current-menu-parent a, .nav-main li.current-menu-ancestor a {color: #ffe000;border-bottom: 2px solid #ffe000;border-bottom: 2px solid #ffe000;} + + .nav-main li.current-menu-item li a, .nav-main li.current-menu-parent li a {background: #fff;color:#0a321e; } + /*Home*/ + .nav-main .home {float: left;padding-left: 3.2em;background: url(../images/logo_small.png) 0 0.5em no-repeat transparent;background-size: auto 72%;} + /*CTA */ + .nav-main .cta {padding: 0.5em 0.5em;} + .nav-main .cta a, .nav-main .cta.current-menu-item a {background: #e6007e;color: #fff;padding: 0.5em;border: 0; } + .nav-main .cta a:hover {color: #46962b;background: #ffee00;text-transform: uppercase;} + /*Suche */ + .nav-main .suche {} + .nav-main .suche a:before {content: "\f002";font-family: 'FontAwesome';color: #fff;font-size: 21px;margin-top: -1px;} + .nav-main .suche:hover a:before {color: #ffee00;} + .nav-main .suche a {display: inline-block!important;text-indent: -9999999px;font-size: 0;} + .nav-main .suche a {} + + .nav-main .cta.last {padding-right:0;} + + + /*Navigation Footer */ + .nav-footer {font-size: 0.9em;margin: 2em 0 4em 0;text-align: center;} + .nav-footer li {display: inline-block;margin: 0 1em 0 0;} + + /*Back to top */ + p#back-top {position: fixed; display:none; bottom: 2em; right: 2em;z-index: 999;} + p#back-top a {display: inline-block; transition: opacity 1s; background: #0a321e;background: rgba(10,50,30,0.6);border-radius: 50%;width: 50px;color: #fff;text-align: center;padding: 0.6em 0 0.9em;opacity: 0.4;} + p#back-top a:hover {opacity: 1;text-decoration: none;} + + /*Pagination*/ + .page-navigation {margin: 0;} + .page-navigation li.kr8pn-next-link, .page-navigation li.kr8pn-prev-link, .page-navigation li.kr8pn-last-page-link, .page-navigation li.kr8pn-first-page-link {display: inline; } + + /*Soziale Netzwerke */ + .nav-social {padding: 2em 0;font-size: 1.5em;text-align: center;} + .nav-social li {display: inline-block;margin: 0 2em 0 0;} + + + .search-desktop {background: #ffee00; padding: 2em 0;margin: -12.5em 0 2em 0;display: block;} + .search-desktop label {display: none;} + .search-desktop input {padding: 1em;width: 80%;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; } + .search-desktop button {border: 0;font-size:1.4em; background: transparent;color: #46962b;} + .search-desktop button:hover {color: #e6007e;} + .search-desktop button .text {display: none;} + .search-desktop a {font-size: 0.8em; margin-top: 0.5em;padding-left: 0.1em;display: inline-block;} + + #suche {transition: margin 0.5s;z-index: 3;position: relative;} + #suche:target {margin-top: -3.5em;} + + /********************* + POSTS & CONTENT STYLES + *********************/ + + + + article {padding: 0 0 2em;margin: 2em;} + + article img.wp-post-image, .search-results article img.wp-post-image {float: left;margin: 10px 0.7em 0 0;width: 33%;height: auto; } + + article h1 a, .search-results article h1.h2 a{color:#0a321e;} + + article.postsingle, .single article.person, .single article.termine, .single article.gliederung {background: #fff;padding: 2em;margin: 0; margin-bottom: 2em;box-shadow: 5px 5px 10px rgba(0,0,0,0.2); } + .single .personen-list article.person {box-shadow: 0 0 0;} + + /*Überschriften*/ + h1, .single h1 {font-size:2.5em;} + .entry-content h1 {font-size:1.8em;} + h2 {font-size:1.6em;} + h3 {font-size:1.5em;} + h4 {font-size:1.3em;} + h5 {font-size:1.1em;} + h6 {font-size:1em;} + + .search-results article h1{font-size: 1.6em;} + + + /*Sitemap */ + ul.sitemap {margin: 0 2em;} + + + /*Form*/ + #main form {margin: 0 -2em 2em;} + #main form p {width: 100%; clear: both;} + #main form p.left, #main form div.left {width: 45%;float: left;clear: left;} + #main form p.right, #main form div.right {width: 45%;float: left;margin-left: 10%;clear: right;} + + + /*Bilder */ + + /*image: titleimage (single) */ + .postimg {margin: -2em -2em 1em; display: block;} + .postimg .wp-caption-text {text-align: right;padding: 2em 4em 0 0;margin: 0;} + + /*parallax*/ + .introbg {display: block; position: absolute;top: 0;left: 0;width: 100%;z-index: 0;height: 60%!important; min-height: 600px!important; background-size: cover;overflow: hidden;} + #landing-intro {background: transparent!important;} + #single-intro {background: transparent!important;height: 400px!important;margin: 0;min-height: 2em!important;} + .parallax {background-attachment: fixed;} + .parallax.bgscroll {background-attachment: scroll;} + + + /*image: home parallax */ + .home #single-intro {display: none;} + .home #single-intro {display: none;} + .home .introbg {display: block;height: 100%!important;} + + + + .single img.attachment-titelbild.wp-post-image {width: 100%;height: auto;margin-top: 0;} + .single article.person img.attachment-titelbild.wp-post-image { margin-bottom: 1em;} + img.size-medium {width: 49%;height: auto;} + .wp-caption img.size-medium {width: 100%;height: auto;} + + .gallery {text-align: center; background: #f6f6f6;margin: 0 -2em 1em; padding: 2em;border: 0;} + .gallery dl.gallery-item {display: inline-block;margin: 0 2% 1% 0;vertical-align: top; } + .gallery dl.gallery-item:nth-of-type(2n) {margin-right: 2%;} + .gallery dl.gallery-item img {width: 100%;height: auto; } + .gallery dl.gallery-item .gallery-caption {margin-bottom: 1em;display: block;} + .gallery-columns-9 dl.gallery-item {width: 9%;} + .gallery-columns-9 dl.gallery-item:nth-of-type(9n) {margin-right: 0;} + .gallery-columns-8 dl.gallery-item {width: 10%;} + .gallery-columns-8 dl.gallery-item:nth-of-type(8n) {margin-right: 0;} + .gallery-columns-7 dl.gallery-item {width: 12%;} + .gallery-columns-7 dl.gallery-item:nth-of-type(7n) {margin-right: 0;} + .gallery-columns-6 dl.gallery-item {width: 14%;} + .gallery-columns-6 dl.gallery-item:nth-of-type(6n) {margin-right: 0;} + .gallery-columns-5 dl.gallery-item {width: 18%;} + .gallery-columns-5 dl.gallery-item:nth-of-type(5n) {margin-right: 0;} + .gallery-columns-4 dl.gallery-item {width: 23%;} + .gallery-columns-4 dl.gallery-item:nth-of-type(4n) {margin-right: 0;} + .gallery-columns-3 dl.gallery-item {width: 31%;} + .gallery-columns-3 dl.gallery-item:nth-of-type(3n) {margin-right: 0;} + .gallery-columns-2 dl.gallery-item {width: 48%;} + .gallery-columns-2 dl.gallery-item:nth-of-type(2n) {margin-right: 0;} + .gallery-columns-1 dl.gallery-item {width: 100%;} + .gallery-columns-1 dl.gallery-item:nth-of-type(1n) {margin-right: 0;} + + + + + + + + + /*Tabs */ + .responsive-tabs__list, .content-tabs .responsive-tabs__list { display: block;margin: 0!important;padding-left: 2em;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase; } + .responsive-tabs__list li {float: none;display: inline-block;margin: 0!important;font-size: 1em;color: #0a321e;} + .hentry .responsive-tabs__list li:before {content: "";} + .responsive-tabs__heading { display: none;} + + .content-tabs {border: 0;} + .content-tabs .responsive-tabs__list {padding: 0 0 0 0;border: 0; } + .content-tabs .responsive-tabs__list__item {background: #fff;color: #46962b;border: 1px solid #46962b;border-left-width: 0; } + .content-tabs .responsive-tabs__list__item:first-of-type {border-left-width: 1px;} + .content-tabs .responsive-tabs__list__item--active, + .content-tabs .responsive-tabs__list__item--active:hover { background: #46962b;color: #fff;} + .content-tabs .responsive-tabs__panel {padding: 2em 0;} + + .responsive-tabs__panel--closed-accordion-only { display: block;} + + + .responsive-tabs__panel { border: 0;margin-bottom: 2em;border-bottom: 3px solid #46962b; } + + + .comment-tabs {margin: 0;border:0; } + .comment-tabs .responsive-tabs__panel {margin-bottom: 0;padding: 0;} + .comment-tabs .responsive-tabs__list__item {font-size: 1em; padding: 0.8em 1em;margin-right: 0.5em!important;} + .comment-tabs .responsive-tabs__list__item::before {font-size: 1em;margin-right: 0.5em;color: #0a321e;} + .comment-tabs .responsive-tabs__list__item--active::before {color: #46962b;} + + + /*Tabs home */ + + .home-tabs {margin: 0em;} + .home-tabs .responsive-tabs__list {display: block;} + .home-tabs .responsive-tabs__panel {padding: 0;background: #fff;border: 0;margin: 0;} + .home-tabs .responsive-tabs__panel {padding: 1em 2em!important;background: #fff;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .home-tabs .responsive-tabs__panel article {border-bottom: 2px solid #f6f6f6;margin-bottom: 2em;padding-left: 0;} + .home-tabs .responsive-tabs__panel article:last-of-type {border-bottom: 0;} + .home-tabs .responsive-tabs__list li {color: #fff;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;background: transparent;} + .home-tabs .responsive-tabs__list li.responsive-tabs__list__item--active {background: #fff;color: #0a321e;} + .home-tabs .responsive-tabs__list li:before {color: #fff; font-family: 'FontAwesome';margin-right: 0.5em;display: inline ;} + .home-tabs .responsive-tabs__list li.responsive-tabs__list__item--active:before {color: #0a321e;} + .home-tabs article.termine {margin: 2em;padding-bottom: 2em;} + .home-tabs article.termine .postimg {margin: -2em -1em 1em 0;display: none;} + .home-tabs article.termine:last-of-type {} + .home-tabs .button a {margin-bottom: 2em;margin-top: -2em;} + + + div.archive-title {margin: 0 0 3em 0;color: #fff; } + + /*category view:post */ + div.list-article {background: #fff;padding: 0.1em 0;margin: 0;box-shadow: 5px 5px 10px rgba(0,0,0,0.2); } + + article.postlist {margin: 2em;background: #fff;padding: 0 0 2em;border-bottom: 2px solid #f6f6f6;} + article.postlist a.postimglist {float: left;width: 30%;margin: -0.2em 1em 0 0; } + article.postlist .article-teaser {display: block;} + article.postlist.has-post-thumbnail h2,article.postlist.has-post-thumbnail p.subhead, + article.postlist.has-post-thumbnail .article-teaser {margin-left: 33%; } + article.postlist:last-of-type {border-bottom: 0;} + + /*category view: headerlist */ + article.postlist-small h2, article.postlist-small p {display: inline-block;} + article.postlist-small p {float: right;} + #main article.postlist-small {padding: 2em 0; margin: 0 2em;border-bottom: 3px solid #f6f6f6;} + #main article.postlist-small:last-of-type {border-bottom: 0;} + + + + /********************* + PAGE TEMPLATES + *********************/ + + + /*TEASER */ + #teaser {margin-bottom: 3em;} + #teaser.welcome {box-shadow: 5px 5px 10px rgba(0,0,0,0.2);margin: 0 0 2em;} + + /*Slider fullpage */ + .petrakelly {width: 100%;min-height: 465px;height: 100%;margin-bottom: 2em;} + .petrakelly #single-intro {margin: 0;height: 0!important;display: none;} + .petrakelly article {padding: 0;background: transparent; border: 0; } + .petrakelly article {margin: 2em auto 0;} + .petrakelly article h1 {border: 10px solid #fff;border-right: 0;border-left: 0;display: inline-block;padding: 0.2em 0;width: 50%;font-size: 4em;text-shadow: 1px 1px 5px rgba(0,0,0,0.5);margin: 0.2em 0;} + .petrakelly article h1 a:hover {color: #ffee00;text-decoration: none;} + .petrakelly article p {text-shadow: 1px 1px 5px rgba(0,0,0,0.5);font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;width: 50%; } + .petrakelly article p.subhead {color: #ffee00;} + + /*list alternative*/ + .bigkahuna {margin:0 0 2em;} + .bigkahuna article {background: transparent;margin:0 0 2em;padding: 0;border: 0;} + .bigkahuna img {box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .bigkahuna p {color: #fff;} + .bigkahuna p.subhead{color: #ffee00;margin-top: 1em;} + .bigkahuna h2 a {} + + /*Kacheln */ + .josephbeuys {} + #teaser .josephbeuys article {padding:0;margin: 0;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);position: relative;border: 0;background: transparent;} + #teaser .josephbeuys img.wp-post-image {width: 100%;height: auto;z-index: 1;position: relative;margin: 0;float: none; + } + .josephbeuys article img {transition: opacity 0.5s;} + .josephbeuys article:hover img {opacity: 0.7;} + .josephbeuys .postimglist {margin: 0;} + .josephbeuys .subhead {margin: 0 0 0 10%;z-index: 2; position: absolute;top: 35%;left: 0;display: block;font-size: 1em;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; } + .josephbeuys h1 {position: absolute; top: 40%;margin: 0 40% 0 10%; display: inline-block;border: 7px solid #fff;border-right: 0;border-left: 0; color: #fff;padding: 0;font-size: 3.5em;text-shadow: 1px 1px 5px rgba(0,0,0,0.3);z-index: 2;left: 0;border: 0;line-height: 1.2em; + } + #teaser .josephbeuys h1 a,#teaser .josephbeuys h1 a:hover {background: transparent;margin: 0; padding: 0;} + #teaser .josephbeuys h1 a:hover {color: #ffee00;text-decoration: none; } + .josephbeuys p {display: none;} + + .josephbeuys img {box-shadow: 0 0 0;margin: 0;display: block;} + .josephbeuys .nodesc h1, .josephbeuys .nodesc p {display: none!important; } + /*Kachel-Anordnung */ + #teaser .josephbeuys article:nth-of-type(1) {margin-bottom: 2em;} + #teaser .josephbeuys article:nth-of-type(2) {width: 48.5%;float: left;} + #teaser .josephbeuys article:nth-of-type(3) {width: 48.5%; float: left;margin-left: 3%;} + + #teaser .josephbeuys article:nth-of-type(2) h1, #teaser .josephbeuys article:nth-of-type(3) h1 {font-size: 2em; margin: 0 10%; border-width: 5px;bottom: auto;top: 30%;width: auto;display: inline-block;border: 0; } + #teaser .josephbeuys article:nth-of-type(2) .subhead, #teaser .josephbeuys article:nth-of-type(3) .subhead { top: 20%; margin: 0 10%;} + + + + + + .homebar {margin-top: 3em!important;} + + /*LANDING PAGE */ + #landing-intro {padding: 0;} + .first {position: relative;} + .landing-teaser {margin-bottom: 1em;} + .landing-teaser h1 {margin-top: 6em;} + .landingnews {margin: 0;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);padding: 0;background: #f6f6f6;} + + .page-template-page-landingpage #main { } + .page-template-page-landingpage #main article.page {padding-bottom: 1em;} + + /*news */ + h2.landingsection {background: #fff;display: inline-block;margin: 2em 0 0 0; padding: 0.5em;font-size: 1.5em;} + .landingnews article {background:transparent;} + + + + /*TEMPLATE: LISTVIEW*/ + .page-template-page-listview-php article.postsingle, .page-template-page-listview-php #main {background: transparent;padding: 0;margin: 0;box-shadow: 0 0 0;} + .page-template-page-listview-php article.postsingle article {background: #fff;padding: 2em;margin: 0 0 2em;border: 0;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .page-template-page-listview-php #main article.postsingle form {margin: 0 0 2em;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);padding: 2em;} + .page-template-page-listview-php #main article.postsingle form .cr_ipe_item {width: 78%; float: left;} + .page-template-page-listview-php #main article.postsingle form .cr_ipe_item input {padding: 1.3em 1em; } + .page-template-page-listview-php #main article.postsingle form .submit_container {margin-left: 2%; width: 19%;padding-top: 1.4em; } + .page-template-page-listview-php #main article.postsingle form button {width: 100%; } + .page-template-page-listview-php #main article.postsingle form button:hover {background: #46962b;color: #fff;} + + + /*SEARCH */ + .search-results {} + .search #main .suche {background: #f6f6f6;padding: 2em;margin: 0 0 0 0;display: block;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .search #main .suche form {margin-bottom: 0;} + .search-results #main article.type-termine {padding: 2em 0;margin: 2em; } + + /*404 */ + .error404 {background-size: cover; background-attachment: fixed;} + .error404 #main {background: transparent;box-shadow: 0 0 0;color: #fff;} + .error404 article {margin: 0;background: transparent; padding: 0;} + .error404 article h1 {padding: 0;} + .error404 article p {padding: 0;margin-bottom: 1.2em; } + .error404 article form {margin: 0;box-sizing: border-box;background: transparent!important;padding: 0!important;margin-top: 4em!important;} + .error404 #footer, .error404 #newsletter, .error404 #socialaccounts {background: transparent;} + .error404 #socialaccounts a {color: #fff;} + + + /*TEMPLATE: STORY */ + .page-template-page-story-php {padding: 0.9em 0 0 0;} + .page-template-page-story #header {margin-top: -3.5em;} + .page-template-page-story-php #nav-desktop .nav-main {position: absolute; top: 5em; margin: 0 auto;} + + .page-template-page-story-php #newsletter.inner {width: 100%;margin: 0;max-width: 100%;} + .page-template-page-story-php #suche {margin-bottom: 0;} + .page-template-page-story-php #suche:target {margin-top: -0.9em;margin-bottom: -3em;} + + .page-template-page-story article {padding: 8em 2em;} + .page-template-page-story article p {margin: 0 10% 1.2em;} + .page-template-page-story article h1, .page-template-page-story article h2, .page-template-page-story article h3 {margin-left: 10%;} + .page-template-page-story article h2 { + font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase; + } + .page-template-page-story blockquote {margin-left: 15%;margin-right: 10%;} + .page-template-page-story blockquote p {margin-left: 0; margin-right: 0;} + + + .inhaltvz {position: fixed; padding: 1em;z-index: 3;left: 0; top: 25%;text-shadow: 1px 1px 5px rgba(0,0,0,0.3);color: #fff;font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase; display: block;} + .inhaltvz li {} + + .inhaltvz li:before {content: "\f10c ";font-family: 'FontAwesome';font-size: 0.5em;position: absolute;left: 1em;margin-top: 0.5em;color: #fff; } + .inhaltvz li a{padding-left: 0.5em;opacity: 0;} + .inhaltvz:hover a {opacity: 1;color: #fff; } + .inhaltvz li.current-menu-item a {color: #ffee00;} + .inhaltvz li.current-menu-item:before {content: "\f111 ";color: #ffee00;} + + + + .inhaltvz li {} + + +/********************* +KOMMENTARE +*********************/ + + + + /*Kommentare*/ + #respond {margin: 0;} + #commentform li {width: 30%;float: left;margin: 0 5% 0 0; } + #commentform li:last-of-type {margin: 0; } + .commentlist {padding: 2em;margin: 0!important;} + ul.children {margin-left: 4em;} + #comment-nav {background: #f6f6f6; padding:0 2em 0em;margin: 0;display: block;} + #comment-nav li {font-size: 1em;display: inline-block;} + #comment-nav li a { margin-bottom: 2em;display: inline-block;} + + + /*Author */ + .author {padding: 1em 1em 0;margin: 1em 0;text-align: left;} + .author img.avatar {float: left;border-radius: 50%;} + .author .author-description {margin-left: 100px;} + .author .author-description h3 {margin-bottom: 0;font-size: 1.2em;padding-top: 0.5em;text-align: left;} + .author .author-description h3 a {color: #0a321e;} + .author .author-description p {margin-bottom: 0.5em!important;font-size: 0.9em;} + + /*Share */ + .sharewrap {margin: 2em 0 0; padding: 0; clear: both;background: transparent;} + .sharewrap a {display: inline-block; padding: 0.5em 1em; margin-bottom: 0;} + .sharewrap a.whatsapp {display:none;} + + .sharewrap a i {padding: 0.2em;} + + + + /*Related */ + .posttab {padding: 2em 0 1.5em;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .posttab h2 {font-size: 1.5em;} + + .posttab article.postlist {margin: 0 1em;background: transparent;padding: 1em 1em;border-bottom: 0;} + .posttab article.postlist a.postimglist {float: left;width: 20%;margin: -0.4em 1em 0 0; } + .posttab article.postlist .article-teaser {display: block;font-size: 0.9em;} + .posttab article.postlist.has-post-thumbnail h2,.posttab article.postlist.has-post-thumbnail p.subhead, + .posttab article.postlist.has-post-thumbnail .article-teaser {margin-left: 22%; } + + + +/********************* +POST TYPES +*********************/ + + /*Person: List Team */ + .personen-list {} + #main .personen-list article {margin: 0 0 2em;background: #fff;border: 0; padding: 1em;text-align: center;float: left; width: 30%;box-sizing: border-box;} + #main .personen-list article:nth-of-type(3n-1) {margin: 0 4% 2em;clear: none;} + #main .personen-list article:nth-of-type(3n-2) {clear: left;} + .personen-list h3 {font-size: 1.4em; } + + .page-template-page-fullpage #main .personen-list article {width: 22%;} + .page-template-page-fullpage #main .personen-list article:nth-of-type(3n-1) {margin: 0 0 2em;clear: none;} + .page-template-page-fullpage #main .personen-list article:nth-of-type(3n-2) {clear: none;} + .page-template-page-fullpage #main .personen-list article:nth-of-type(4n-2) {clear: none;margin: 0 4% 2em;} + .page-template-page-fullpage #main .personen-list article:nth-of-type(4n-1) {clear: none;margin-right: 4%;} + .page-template-page-fullpage #main .personen-list article:nth-of-type(4n-3) {clear: left;} + + + #main .personen-list article.has-post-thumbnail, .page-template-page-fullpage #main .personen-list article.has-post-thumbnail {margin-top: 6.5em;} + .personen-list img.wp-post-image {float: none;width: 10em;height: 10em;border-color: #f6f6f6;margin-top: -6.5em;} + .personen-list p {margin-top: 0;} + + + /*Kontakt */ + .kontakt-list article.type-person {width: 100%!important;margin-top: 0!important;} + .kontakt-list article.type-person img {float: left;margin-top:0} + .kontakt-list article.type-person header h3 {text-align: left;margin-top: 1.3em;} + .kontakt-list article.type-person .entry-content p {text-align: left;} + + + /*POSTTYPE: Termine */ + article.termine {} + article.termine:last-of-type {} + article.termine .termin_meta_kurz {width: 25%;float: left;text-align: center;margin: 0;} + article.termine .termin_meta_kurz span {display: block;font-size: 0.8em;} + article.termine .termin_meta_kurz .termin_datum_kurz {font-size: 2em;} + article.termine h2 {margin-left: 27%;text-align: left; } + article.termine p {margin: 0 0 0 27%;text-align: left; } + article.termine a.weiterlesen {position: absolute;top: 0;left: 0;} + article.termine a.weiterlesen:hover {} + article.termine .postimg {margin: -2.7em -2em 1em -2em; } + .single article.termine .postimg {margin-top:-2em;} + article.termine .postimg img {float: none;width: 100%; + } + .single article.termine p {margin-left: 0;} + .single article.termine #termin_map_wrapper {margin: 0 -2em -2em -2em;} + + + + /*POSTTYPE: GLIEDERUNGEN */ + + .anschrift {background: #f6f6f6; float: right;width: 30%;padding: 1em 1em 0.1em 1em;margin-left: 1em;} + + /*Gliederungen: KV Liste */ + .gliederungen-list article {} + .gliederungen-list article p.contact a {margin-left: 0.2em;} + + + + /********************* + SIDEBARS & ASIDES + *********************/ + + #socialaccounts {margin-top: 4em;} + .page-template-page-story-php #socialaccounts {margin-top: 0em;} + + .sidebar {margin: 0;padding: 0; background: transparent;color: #333;} + .sidebar.threecol a:hover {color: #0a321e; } + .sidebar.threecol a {color: #46962b;} + + + .widget {margin: 0 0 2em 0;padding: 1.5em;border: 0;background: #f6f6f6;box-shadow: 5px 5px 10px rgba(0,0,0,0.2); } + .sidebar .widget:last-of-type {margin-bottom: 2em;} + .widget ul li {margin-bottom: 0.5em;/* deep nesting */} + .widget ul li ul {margin-top: 0.75em;padding-left: 1em;} + .widget.widget_sp_image {padding: 0;background: transparent!important;box-shadow: 0 0 0 !important; } + .widget.widget_sp_image img {display: block;box-shadow:5px 5px 10px rgba(0,0,0,0.2); + + } + + + + .widget_search .seachphrase, .widget_search .button-submit {box-shadow: 5px 5px 10px rgba(0,0,0,0.2);} + .widget_search {display: block;} + h3.widgettitle {color: #0a321e; } + + /* recent-posts widget */ + .widget.widget_twitter-tracker, .widget_twitter-profile-tracker {background: #ffee00;color: #46962b; + } + .sidebar .widget.widget_twitter-tracker a, .sidebar .widget_twitter-profile-tracker a {color: #e6007e;} + .sidebar .widget.widget_twitter-tracker a:hover, .sidebar .widget_twitter-profile-tracker a:hover {color: #0a321e;} + /* archives widget */ + /* tag-cloud widget */ + .widget_tag_cloud {background: transparent;box-shadow: 0 0 0;padding: 0;} + .widget_tag_cloud h3.widgettitle {color: #fff;text-shadow: 2px 2px 7px rgba(0,0,0,0.3); } + #wrap .widget_tag_cloud a {background: #0a321e;color: #fff;} + #wrap .widget_tag_cloud a:hover{background: #ffee00;color: #0a321e;text-decoration: none;} + /* calendar widget */ + /* category widget */ + /* recent-comments widget */ + /* search widget */ + /* text widget */ + + /*Termine: Liste */ + .widget_termine_liste_widget {overflow: hidden; } + .widget_termine_liste_widget li li { } + .widget_termine_liste_widget span{margin-right: 0;font-size: 0.8em;} + .widget_termine_liste_widget span:after{content: ", ";} + .widget_termine_liste_widget span:last-of-type:after{content: "";} + .widget_termine_liste_widget h4 {font-size: 1em; } + .widget_termine_liste_widget p{display: none;} + +/*Termine: Karte */ +.termine_widget {padding: 0;background: transparent;box-shadow: 0 0 0;} + .termine_widget h3{color: #fff;} + .termine_widget #termin_karte{box-shadow: 5px 5px 10px rgba(0,0,0,0.2); } + + +/*Formulare */ + .sidebar.threecol form {background: #ffee00;margin: -1.5em -1.5em -2.5em;padding: 1.5em;color: #46962b;} + .sidebar.threecol form label {color: #46962b;margin: 0; } + .sidebar.threecol form p:last-of-type {margin-bottom: 0;} + .sidebar.threecol form input {margin: 0;} + .sidebar.threecol form input[type=submit] {font-size: 1em;} + .sidebar.threecol form input[type=submit]:hover {background: #46962b;color: #fff;box-shadow: 0 0 0;} + .sidebar.threecol form.cr_form{ margin: -1.5em;} + + + /*Boxsection home */ + + .actionbox {position: relative;background: #000;margin-bottom: 2em;} + .actionbox .widget {width: 32%;float: left;box-sizing: border-box;margin-bottom: 0;} + .actionbox .widget:nth-of-type(2) {margin: 0 2%;} + + + + /********************* + FOOTER STYLES + *********************/ + + /*Newsletter */ + #newsletter {background: transparent;margin: 3em auto;text-align: center; padding: 0; } + #newsletter .widget {box-shadow: 0 0 0;} + #newsletter h2 {color: #fff;margin-bottom: 2em;border-bottom: 3px solid;display: inline-block; } + #newsletter .sidebar {padding:4em 3em ;} + #newsletter label {text-align: left;} + #newsletter .widget {background: transparent;margin: 0;padding: 0;} + #newsletter .cr_ipe_item {width: 30%;float: left;} + #newsletter .cr_ipe_item:nth-of-type(2) {margin: 0 5%;} + #newsletter .submit_container {width: 100%; text-align: center; } + #newsletter button { + margin: 2em auto 0; + } + + + #footer {background:#0a321e url(../images/sidebar_footer.jpg) bottom right fixed;background-size: cover; + color:#fff;margin: 0;box-shadow: 5px 5px 10px rgba(0,0,0,0.2);padding: 0;text-align: left;} + #footer .inner {padding:0 3em;} + #footer .inner section {} + #footer a {color: #afdca7; } + #footer a:hover {color: #ffe000; } + #footer .widget {} + + #footer .adresse {font-size: 0.8em;padding-top: 1em;} + #footer .adresse p {margin-bottom: 0.5em;} + #footer .adresse strong {font-weight: normal;color: #fee500;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 1.2em; } + + + #footer .widget_nav_menu {width: 100%;display: block;font-size: 1em;} + #footer .widget_nav_menu li {float: left;width: 20%;margin: 0;} + + + + #footer h3.widgettitle {text-shadow: 0 0 0; } + + + + + p.copyright {color: #fff;background: transparent;margin:0.5em 0 3em;} + p.copyright a {color:#ffe000;} + +} + + + +/* DESKTOP */ +@media only screen and (min-width: 1140px) { + + html {} + .josephbeuys h1 {font-size: 5em;border-width: 10px;} + #teaser .moyland article:nth-of-type(1) h1, #teaser .moyland article:nth-of-type(2) h1, #teaser .josephbeuys article:nth-of-type(2) h1, #teaser .josephbeuys article:nth-of-type(3) h1 {font-size: 3em;border-width: 7px;} + + +} + + +@media only screen and (min-width: 1000px) { + + + +} + + +/* LARGE VIEWING SIZE */ +@media only screen and (min-width: 1300px) { +.inner {max-width: 1240px;} + +} + + + +@media only screen and (max-width: 770px) { +body {} + +} + + +@media only screen and (max-width: 480px) { +.mobile-switch li.middle {max-width:25%;padding: 0.5em;} +} +/*LARGER MOBILE DEVICES*/ +@media only screen and (min-width: 481px) { + /****************************************************************** + Site Name: + Author: + + Stylesheet: 481px and Up Stylesheet + + This stylesheet is loaded for larger devices. It's set to + 481px because at 480px it would load on a landscaped iPhone. + This isn't ideal because then you would be loading all those + extra styles on that same mobile connection. + + A word of warning. This size COULD be a larger mobile device, + so you still want to keep it pretty light and simply expand + upon your base.less styles. + + ******************************************************************/ + /********************* + NAVIGATION STYLES + *********************/ + + + + /********************* + POSTS & CONTENT STYLES + *********************/ + /* entry content */ + .entry-content { + /* at this larger size, we can start to align images */ + + } + .entry-content .alignleft, + .entry-content img.alignleft { + margin-right: 1.5em; + display: inline; + float: left; + } + .entry-content .alignright, + .entry-content img.alignright { + margin-left: 1.5em; + display: inline; + float: right; + } + .entry-content .aligncenter, + .entry-content img.aligncenter { + margin-right: auto; + margin-left: auto; + display: block; + clear: both; + } + /* end .entry-content */ + + + + /********************* + FOOTER STYLES + *********************/ + +} + + + + + +/*Tablets */ +@media (min-width: 500px) and (max-width: 768px) { + img.size-medium {width: 49%;height: auto;} +} + + + +/*Tablets */ +@media only screen and (min-width: 768px) { + img.size-medium {width: 49%;height: auto;} +} + + +/* Tablets Landscape */ +@media only screen + and (min-device-width: 768px) + and (max-device-width: 1280px) + and (orientation: landscape) + { + + +} + + +/*RETINA (2x RESOLUTION DEVICES)*/ +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { + +} + + +/*iPHONE 5 MEDIA QUERY */ +@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { + +} + + + +/*PRINT STYLESHEET */ +@media print { + + * { + background: transparent !important; + color: black !important; + text-shadow: none !important; + filter: none !important; + -ms-filter: none !important; + font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; + } + a, + a:visited { + color: #444 !important; + 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; + } + @page { + margin: 1.5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + .sidebar, + .page-navigation, + .wp-prev-next, + .respond-form, + nav, #nav-mobile, #suche, .header-mobil, #header, .logo-desktop, #socialaccounts, .wp-caption-text, .sharewrap, .comment-tabs, #back-top, img.avatar, hr { + display: none!important; + } + body { + font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; + } + + hr { + border: 0;height: 0.05cm; background: #000!important;color: #000; + } + + p { + font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; + margin-bottom: 1.2em; + } + + table { + font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; + } + table td, table th {padding: 0.5cm;} + + table th { + font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; + } + + li { + font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif; + margin-bottom: 1.2em; margin-left: 1em; + } + + ul, ol { + margin-left: 1em; + } + ul li { + list-style-type: disc; + } + + ol li { + list-style-type: decimal; + } + + blockquote { + padding: 1em; font-style: italic;border: 0; + } + + .entry-content h1,h2,h3,h4,h5,h6 {font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;text-transform: none;} + h1 {font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;text-transform: uppercase;} + h1 {font-size:2em;} + h2 {font-size:1.6em;} + h3 {font-size:1.5em;} + h4 {font-size:1.3em;} + h5 {font-size:1.1em;} + h6 {font-size:1em;} +} + diff --git a/lib/fonts/FontAwesome.otf b/lib/fonts/FontAwesome.otf new file mode 100644 index 0000000..f7936cc Binary files /dev/null and b/lib/fonts/FontAwesome.otf differ diff --git a/lib/fonts/SourceSansPro-Bold.ttf.woff b/lib/fonts/SourceSansPro-Bold.ttf.woff new file mode 100644 index 0000000..058f9e3 Binary files /dev/null and b/lib/fonts/SourceSansPro-Bold.ttf.woff differ diff --git a/lib/fonts/SourceSansPro-Regular.ttf.woff b/lib/fonts/SourceSansPro-Regular.ttf.woff new file mode 100644 index 0000000..a0d9f1b Binary files /dev/null and b/lib/fonts/SourceSansPro-Regular.ttf.woff differ diff --git a/lib/fonts/arvo_green.woff b/lib/fonts/arvo_green.woff new file mode 100755 index 0000000..5933f9a Binary files /dev/null and b/lib/fonts/arvo_green.woff differ diff --git a/lib/fonts/arvo_regular.woff b/lib/fonts/arvo_regular.woff new file mode 100644 index 0000000..d4c3b97 Binary files /dev/null and b/lib/fonts/arvo_regular.woff differ diff --git a/lib/fonts/fontawesome-webfont.eot b/lib/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..33b2bb8 Binary files /dev/null and b/lib/fonts/fontawesome-webfont.eot differ diff --git a/lib/fonts/fontawesome-webfont.svg b/lib/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..1ee89d4 --- /dev/null +++ b/lib/fonts/fontawesome-webfont.svg @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/fonts/fontawesome-webfont.ttf b/lib/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..ed9372f Binary files /dev/null and b/lib/fonts/fontawesome-webfont.ttf differ diff --git a/lib/fonts/fontawesome-webfont.woff b/lib/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..8b280b9 Binary files /dev/null and b/lib/fonts/fontawesome-webfont.woff differ diff --git a/lib/fonts/fontawesome-webfont.woff2 b/lib/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..3311d58 Binary files /dev/null and b/lib/fonts/fontawesome-webfont.woff2 differ diff --git a/lib/fonts/ptsans-bold.woff b/lib/fonts/ptsans-bold.woff new file mode 100755 index 0000000..700e7eb Binary files /dev/null and b/lib/fonts/ptsans-bold.woff differ diff --git a/lib/fonts/ptsans-regular.woff b/lib/fonts/ptsans-regular.woff new file mode 100755 index 0000000..c29e195 Binary files /dev/null and b/lib/fonts/ptsans-regular.woff differ diff --git a/lib/images/apple-icon-touch.png b/lib/images/apple-icon-touch.png new file mode 100644 index 0000000..5b0ab0c Binary files /dev/null and b/lib/images/apple-icon-touch.png differ diff --git a/lib/images/avatar.png b/lib/images/avatar.png new file mode 100644 index 0000000..d72225e Binary files /dev/null and b/lib/images/avatar.png differ diff --git a/lib/images/bg_kohle.jpg b/lib/images/bg_kohle.jpg new file mode 100644 index 0000000..3598041 Binary files /dev/null and b/lib/images/bg_kohle.jpg differ diff --git a/lib/images/body_bg.jpg b/lib/images/body_bg.jpg new file mode 100644 index 0000000..f1dc4ae Binary files /dev/null and b/lib/images/body_bg.jpg differ diff --git a/lib/images/logo.png b/lib/images/logo.png new file mode 100644 index 0000000..730ee0c Binary files /dev/null and b/lib/images/logo.png differ diff --git a/lib/images/logo_small.png b/lib/images/logo_small.png new file mode 100644 index 0000000..98e22d1 Binary files /dev/null and b/lib/images/logo_small.png differ diff --git a/lib/images/nav_ul2.png b/lib/images/nav_ul2.png new file mode 100644 index 0000000..2c52295 Binary files /dev/null and b/lib/images/nav_ul2.png differ diff --git a/lib/images/sidebar_footer.jpg b/lib/images/sidebar_footer.jpg new file mode 100644 index 0000000..cbb576b Binary files /dev/null and b/lib/images/sidebar_footer.jpg differ diff --git a/lib/images/stoerer_end.png b/lib/images/stoerer_end.png new file mode 100644 index 0000000..3362f44 Binary files /dev/null and b/lib/images/stoerer_end.png differ diff --git a/lib/images/win8-tile-icon.png b/lib/images/win8-tile-icon.png new file mode 100644 index 0000000..56735db Binary files /dev/null and b/lib/images/win8-tile-icon.png differ diff --git a/lib/js/libs/fancybox/blank.gif b/lib/js/libs/fancybox/blank.gif new file mode 100644 index 0000000..35d42e8 Binary files /dev/null and b/lib/js/libs/fancybox/blank.gif differ diff --git a/lib/js/libs/fancybox/fancybox.min.css b/lib/js/libs/fancybox/fancybox.min.css new file mode 100644 index 0000000..b7739b5 --- /dev/null +++ b/lib/js/libs/fancybox/fancybox.min.css @@ -0,0 +1 @@ +/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */.fancybox-image,.fancybox-inner,.fancybox-nav,.fancybox-nav span,.fancybox-outer,.fancybox-skin,.fancybox-tmp,.fancybox-wrap,.fancybox-wrap iframe,.fancybox-wrap object{padding:0;margin:0;border:0;outline:0;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-inner,.fancybox-outer,.fancybox-skin{position:relative}.fancybox-skin{background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,.5);box-shadow:0 10px 25px rgba(0,0,0,.5)}.fancybox-inner{overflow:hidden}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-iframe,.fancybox-image{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}#fancybox-loading,.fancybox-close,.fancybox-next span,.fancybox-prev span{background-image:url(fancybox_sprite.png)}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}.fancybox-close,.fancybox-nav,.fancybox-nav span{cursor:pointer;z-index:8040;position:absolute}#fancybox-loading div{width:44px;height:44px;background:url(fancybox_loading.gif) center center no-repeat}.fancybox-close{top:-18px;right:-18px;width:36px;height:36px}.fancybox-nav{top:0;width:40%;height:100%;text-decoration:none;background:url(blank.gif);-webkit-tap-highlight-color:transparent}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{top:50%;width:36px;height:34px;margin-top:-18px;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible!important}.fancybox-lock{overflow:hidden}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url(fancybox_overlay.png)}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:400 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:0 0;background:rgba(0,0,0,.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#FFF;font-weight:700;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,.8)}#fancybox-buttons{position:fixed;left:0;width:100%;z-index:8050}#fancybox-buttons.top{top:10px}#fancybox-buttons.bottom{bottom:10px}#fancybox-buttons ul{display:block;width:166px;height:30px;margin:0 auto;padding:0;list-style:none;border:1px solid #111;border-radius:3px;-webkit-box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);-moz-box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);background:#323232;background:-moz-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#444),color-stop(50%,#343434),color-stop(50%,#292929),color-stop(100%,#333));background:-webkit-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-o-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:-ms-linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);background:linear-gradient(top,#444 0,#343434 50%,#292929 50%,#333 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222', GradientType=0 )}#fancybox-buttons ul li{float:left;margin:0;padding:0}#fancybox-buttons a{display:block;width:30px;height:30px;text-indent:-9999px;background-image:url(fancybox_buttons.png);background-repeat:no-repeat;outline:0;opacity:.8}#fancybox-buttons a:hover{opacity:1}#fancybox-buttons a.btnPrev{background-position:5px 0}#fancybox-buttons a.btnNext{background-position:-33px 0;border-right:1px solid #3e3e3e}#fancybox-buttons a.btnPlay{background-position:0 -30px}#fancybox-buttons a.btnPlayOn{background-position:-30px -30px}#fancybox-buttons a.btnToggle{background-position:3px -60px;border-left:1px solid #111;border-right:1px solid #3e3e3e;width:35px}#fancybox-buttons a.btnToggleOn{background-position:-27px -60px}#fancybox-buttons a.btnClose{border-left:1px solid #111;width:35px;background-position:-56px 0}#fancybox-buttons a.btnDisabled{opacity:.4;cursor:default} \ No newline at end of file diff --git a/lib/js/libs/fancybox/fancybox_buttons.png b/lib/js/libs/fancybox/fancybox_buttons.png new file mode 100644 index 0000000..0787207 Binary files /dev/null and b/lib/js/libs/fancybox/fancybox_buttons.png differ diff --git a/lib/js/libs/fancybox/fancybox_loading.gif b/lib/js/libs/fancybox/fancybox_loading.gif new file mode 100644 index 0000000..0158617 Binary files /dev/null and b/lib/js/libs/fancybox/fancybox_loading.gif differ diff --git a/lib/js/libs/fancybox/fancybox_overlay.png b/lib/js/libs/fancybox/fancybox_overlay.png new file mode 100644 index 0000000..a439139 Binary files /dev/null and b/lib/js/libs/fancybox/fancybox_overlay.png differ diff --git a/lib/js/libs/fancybox/fancybox_sprite.png b/lib/js/libs/fancybox/fancybox_sprite.png new file mode 100644 index 0000000..fd8d5ca Binary files /dev/null and b/lib/js/libs/fancybox/fancybox_sprite.png differ diff --git a/lib/js/libs/fancybox/jquery.fancybox-buttons.css b/lib/js/libs/fancybox/jquery.fancybox-buttons.css new file mode 100644 index 0000000..9453b46 --- /dev/null +++ b/lib/js/libs/fancybox/jquery.fancybox-buttons.css @@ -0,0 +1,96 @@ +#fancybox-buttons { + position: fixed; + left: 0; + width: 100%; + z-index: 8050; +} + +#fancybox-buttons.top { + top: 10px; +} + +#fancybox-buttons.bottom { + bottom: 10px; +} + +#fancybox-buttons ul { + display: block; + width: 166px; + height: 30px; + margin: 0 auto; + padding: 0; + list-style: none; + border: 1px solid #111; + border-radius: 3px; + -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + background: rgb(50,50,50); + background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51))); + background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); +} + +#fancybox-buttons ul li { + float: left; + margin: 0; + padding: 0; +} + +#fancybox-buttons a { + display: block; + width: 30px; + height: 30px; + text-indent: -9999px; + background-image: url('fancybox_buttons.png'); + background-repeat: no-repeat; + outline: none; + opacity: 0.8; +} + +#fancybox-buttons a:hover { + opacity: 1; +} + +#fancybox-buttons a.btnPrev { + background-position: 5px 0; +} + +#fancybox-buttons a.btnNext { + background-position: -33px 0; + border-right: 1px solid #3e3e3e; +} + +#fancybox-buttons a.btnPlay { + background-position: 0 -30px; +} + +#fancybox-buttons a.btnPlayOn { + background-position: -30px -30px; +} + +#fancybox-buttons a.btnToggle { + background-position: 3px -60px; + border-left: 1px solid #111; + border-right: 1px solid #3e3e3e; + width: 35px +} + +#fancybox-buttons a.btnToggleOn { + background-position: -27px -60px; +} + +#fancybox-buttons a.btnClose { + border-left: 1px solid #111; + width: 35px; + background-position: -56px 0px; +} + +#fancybox-buttons a.btnDisabled { + opacity : 0.4; + cursor: default; +} \ No newline at end of file diff --git a/lib/js/libs/fancybox/jquery.fancybox-buttons.js b/lib/js/libs/fancybox/jquery.fancybox-buttons.js new file mode 100644 index 0000000..50baeca --- /dev/null +++ b/lib/js/libs/fancybox/jquery.fancybox-buttons.js @@ -0,0 +1,121 @@ + /*! + * Buttons helper for fancyBox + * version: 1.0.5 (Mon, 15 Oct 2012) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * buttons: { + * position : 'top' + * } + * } + * }); + * + */ +(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.buttons = { + defaults : { + skipSingle : false, // disables if gallery contains single image + position : 'top', // 'top' or 'bottom' + tpl : '
    ' + }, + + list : null, + buttons: null, + + beforeLoad: function (opts, obj) { + //Remove self if gallery do not have at least two items + + if (opts.skipSingle && obj.group.length < 2) { + obj.helpers.buttons = false; + obj.closeBtn = true; + + return; + } + + //Increase top margin to give space for buttons + obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; + }, + + onPlayStart: function () { + if (this.buttons) { + this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); + } + }, + + onPlayEnd: function () { + if (this.buttons) { + this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); + } + }, + + afterShow: function (opts, obj) { + var buttons = this.buttons; + + if (!buttons) { + this.list = $(opts.tpl).addClass(opts.position).appendTo('body'); + + buttons = { + prev : this.list.find('.btnPrev').click( F.prev ), + next : this.list.find('.btnNext').click( F.next ), + play : this.list.find('.btnPlay').click( F.play ), + toggle : this.list.find('.btnToggle').click( F.toggle ) + } + } + + //Prev + if (obj.index > 0 || obj.loop) { + buttons.prev.removeClass('btnDisabled'); + } else { + buttons.prev.addClass('btnDisabled'); + } + + //Next / Play + if (obj.loop || obj.index < obj.group.length - 1) { + buttons.next.removeClass('btnDisabled'); + buttons.play.removeClass('btnDisabled'); + + } else { + buttons.next.addClass('btnDisabled'); + buttons.play.addClass('btnDisabled'); + } + + this.buttons = buttons; + + this.onUpdate(opts, obj); + }, + + onUpdate: function (opts, obj) { + var toggle; + + if (!this.buttons) { + return; + } + + toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); + + //Size toggle button + if (obj.canShrink) { + toggle.addClass('btnToggleOn'); + + } else if (!obj.canExpand) { + toggle.addClass('btnDisabled'); + } + }, + + beforeClose: function () { + if (this.list) { + this.list.remove(); + } + + this.list = null; + this.buttons = null; + } + }; + +}(jQuery)); \ No newline at end of file diff --git a/lib/js/libs/fancybox/jquery.fancybox.css b/lib/js/libs/fancybox/jquery.fancybox.css new file mode 100644 index 0000000..bd3289b --- /dev/null +++ b/lib/js/libs/fancybox/jquery.fancybox.css @@ -0,0 +1,249 @@ +/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-wrap, +.fancybox-skin, +.fancybox-outer, +.fancybox-inner, +.fancybox-image, +.fancybox-wrap iframe, +.fancybox-wrap object, +.fancybox-nav, +.fancybox-nav span, +.fancybox-tmp +{ + padding: 0; + margin: 0; + border: 0; + outline: none; + vertical-align: top; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + background: #f9f9f9; + color: #444; + text-shadow: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); +} + +.fancybox-outer, .fancybox-inner { + position: relative; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 15px; + white-space: nowrap; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url('fancybox_sprite.png'); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8060; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: url('fancybox_loading.gif') center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + text-decoration: none; + background: transparent url('blank.gif'); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 10px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 10px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -99999px; + left: -99999px; + visibility: hidden; + max-width: 99999px; + max-height: 99999px; + overflow: visible !important; +} + +/* Overlay helper */ + +.fancybox-lock { + overflow: hidden; +} + +.fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: url('fancybox_overlay.png'); +} + +.fancybox-overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +.fancybox-lock .fancybox-overlay { + overflow: auto; + overflow-y: scroll; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8050; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + padding-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} \ No newline at end of file diff --git a/lib/js/libs/fancybox/jquery.fancybox.pack.js b/lib/js/libs/fancybox/jquery.fancybox.pack.js new file mode 100644 index 0000000..73f7578 --- /dev/null +++ b/lib/js/libs/fancybox/jquery.fancybox.pack.js @@ -0,0 +1,46 @@ +/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ +(function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0
    ',image:'',iframe:'",error:'

    The requested content cannot be loaded.
    Please try again later.

    ',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0, +openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1, +isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k, +c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&& +k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current|| +b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer= +setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d= +a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")), +b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
    ').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(), +y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement; +if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0, +{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1, +mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio= +!0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href"); +"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload= +this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href); +f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload, +e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin, +outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("
    ").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
    ').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case "image":e=a.tpl.image.replace("{href}", +g);break;case "swf":e='',h="",f.each(a.swf,function(a,b){e+='';h+=" "+a+'="'+b+'"'}),e+='"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll": +"no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside? +h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth|| +h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),cz||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j
    ').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive? +b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth), +p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"=== +f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d= +b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f('
    '+e+"
    ");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d, +e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+ +":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('
    ').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('
    ').appendTo("body");var e=20=== +d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("").appendTo("head")})})(window,document,jQuery); \ No newline at end of file diff --git a/lib/js/libs/modernizr.custom.min.js b/lib/js/libs/modernizr.custom.min.js new file mode 100644 index 0000000..89bb6c1 --- /dev/null +++ b/lib/js/libs/modernizr.custom.min.js @@ -0,0 +1,4 @@ +/* Modernizr 2.6.2 (Custom Build) | MIT & BSD + * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-hashchange-history-audio-video-input-inputtypes-localstorage-websockets-geolocation-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-css_mediaqueries-css_regions-css_supports-load + */ +;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d',a,""].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f').prependTo('body'); + this.$slider = $('').prependTo(this.$mirror); + + this.$mirror.addClass('parallax-mirror').css({ + visibility: 'hidden', + zIndex: this.zIndex, + position: 'fixed', + top: 0, + left: 0, + overflow: 'hidden' + }); + + this.$slider.addClass('parallax-slider').one('load', function() { + if (!self.naturalHeight || !self.naturalWidth) { + self.naturalHeight = this.naturalHeight || this.height || 1; + self.naturalWidth = this.naturalWidth || this.width || 1; + } + self.aspectRatio = self.naturalWidth / self.naturalHeight; + + Parallax.isSetup || Parallax.setup(); + Parallax.sliders.push(self); + Parallax.isFresh = false; + Parallax.requestRender(); + }); + + this.$slider[0].src = this.imageSrc; + + if (this.naturalHeight && this.naturalWidth || this.$slider[0].complete) { + this.$slider.trigger('load'); + } + + }; + + + // Parallax Instance Methods + + $.extend(Parallax.prototype, { + speed: 0.2, + bleed: 0, + zIndex: -100, + iosFix: true, + androidFix: true, + position: 'center', + + refresh: function() { + this.boxWidth = this.$element.outerWidth(); + this.boxHeight = this.$element.outerHeight() + this.bleed * 2; + this.boxOffsetTop = this.$element.offset().top - this.bleed; + this.boxOffsetLeft = this.$element.offset().left; + this.boxOffsetBottom = this.boxOffsetTop + this.boxHeight; + + var winHeight = Parallax.winHeight; + var docHeight = Parallax.docHeight; + var maxOffset = Math.min(this.boxOffsetTop, docHeight - winHeight); + var minOffset = Math.max(this.boxOffsetTop + this.boxHeight - winHeight, 0); + var imageHeightMin = this.boxHeight + (maxOffset - minOffset) * (1 - this.speed) | 0; + var imageOffsetMin = (this.boxOffsetTop - maxOffset) * (1 - this.speed) | 0; + + if (imageHeightMin * this.aspectRatio >= this.boxWidth) { + this.imageWidth = imageHeightMin * this.aspectRatio | 0; + this.imageHeight = imageHeightMin; + this.offsetBaseTop = imageOffsetMin; + + var margin = this.imageWidth - this.boxWidth; + + if (this.positionX == 'left') { + this.offsetLeft = 0; + } else if (this.positionX == 'right') { + this.offsetLeft = - margin; + } else if (!isNaN(this.positionX)) { + this.offsetLeft = Math.max(this.positionX, - margin); + } else { + this.offsetLeft = - margin / 2 | 0; + } + } else { + this.imageWidth = this.boxWidth; + this.imageHeight = this.boxWidth / this.aspectRatio | 0; + this.offsetLeft = 0; + + var margin = this.imageHeight - imageHeightMin; + + if (this.positionY == 'top') { + this.offsetBaseTop = imageOffsetMin; + } else if (this.positionY == 'bottom') { + this.offsetBaseTop = imageOffsetMin - margin; + } else if (!isNaN(this.positionY)) { + this.offsetBaseTop = imageOffsetMin + Math.max(this.positionY, - margin); + } else { + this.offsetBaseTop = imageOffsetMin - margin / 2 | 0; + } + } + }, + + render: function() { + var scrollTop = Parallax.scrollTop; + var scrollLeft = Parallax.scrollLeft; + var scrollBottom = scrollTop + Parallax.winHeight; + + if (this.boxOffsetBottom > scrollTop && this.boxOffsetTop < scrollBottom) { + this.visibility = 'visible'; + } else { + this.visibility = 'hidden'; + } + this.mirrorTop = this.boxOffsetTop - scrollTop; + this.mirrorLeft = this.boxOffsetLeft - scrollLeft; + this.offsetTop = this.offsetBaseTop - this.mirrorTop * (1 - this.speed); + + this.$mirror.css({ + transform: 'translate3d(0px, 0px, 0px)', + visibility: this.visibility, + top: this.mirrorTop, + left: this.mirrorLeft, + height: this.boxHeight, + width: this.boxWidth + }); + + this.$slider.css({ + transform: 'translate3d(0px, 0px, 0px)', + position: 'absolute', + top: this.offsetTop, + left: this.offsetLeft, + height: this.imageHeight, + width: this.imageWidth + }); + } + }); + + + // Parallax Static Methods + + $.extend(Parallax, { + scrollTop: 0, + scrollLeft: 0, + winHeight: 0, + winWidth: 0, + docHeight: 1 << 30, + docWidth: 1 << 30, + sliders: [], + isReady: false, + isFresh: false, + isBusy: false, + + setup: function() { + if (this.isReady) return; + + var $doc = $(document), $win = $(window); + + $win.on('scroll.px.parallax load.px.parallax', function() { + var scrollTopMax = Parallax.docHeight - Parallax.winHeight; + var scrollLeftMax = Parallax.docWidth - Parallax.winWidth; + Parallax.scrollTop = Math.max(0, Math.min(scrollTopMax, $win.scrollTop())); + Parallax.scrollLeft = Math.max(0, Math.min(scrollLeftMax, $win.scrollLeft())); + Parallax.requestRender(); + }) + .on('resize.px.parallax load.px.parallax', function() { + Parallax.winHeight = $win.height(); + Parallax.winWidth = $win.width(); + Parallax.docHeight = $doc.height(); + Parallax.docWidth = $doc.width(); + Parallax.isFresh = false; + Parallax.requestRender(); + }); + + this.isReady = true; + }, + + configure: function(options) { + if (typeof options == 'object') { + delete options.refresh; + delete options.render; + $.extend(this.prototype, options); + } + }, + + refresh: function() { + $.each(this.sliders, function(){ this.refresh() }); + this.isFresh = true; + }, + + render: function() { + this.isFresh || this.refresh(); + $.each(this.sliders, function(){ this.render() }); + }, + + requestRender: function() { + var self = this; + + if (!this.isBusy) { + this.isBusy = true; + window.requestAnimationFrame(function() { + self.render(); + self.isBusy = false; + }); + } + } + }); + + + // Parallax Plugin Definition + + function Plugin(option) { + return this.each(function () { + var $this = $(this); + var options = typeof option == 'object' && option; + + if (this == window || this == document || $this.is('body')) { + Parallax.configure(options); + } + else if (!$this.data('px.parallax')) { + options = $.extend({}, $this.data(), options); + $this.data('px.parallax', new Parallax(this, options)); + } + if (typeof option == 'string') { + Parallax[option](); + } + }) + }; + + var old = $.fn.parallax; + + $.fn.parallax = Plugin; + $.fn.parallax.Constructor = Parallax; + + + // Parallax No Conflict + + $.fn.parallax.noConflict = function () { + $.fn.parallax = old; + return this; + }; + + + // Parallax Data-API + + $(document).on('ready.px.parallax.data-api', function () { + $('[data-parallax="scroll"]').parallax(); + }); + +}(jQuery, window, document)); diff --git a/lib/js/libs/waypoints.js b/lib/js/libs/waypoints.js new file mode 100644 index 0000000..fb361f3 --- /dev/null +++ b/lib/js/libs/waypoints.js @@ -0,0 +1,223 @@ +/* + * jQuery One Page Nav Plugin + * http://github.com/davist11/jQuery-One-Page-Nav + * + * Copyright (c) 2010 Trevor Davis (http://trevordavis.net) + * Dual licensed under the MIT and GPL licenses. + * Uses the same license as jQuery, see: + * http://jquery.org/license + * + * @version 3.0.0 + * + * Example usage: + * $('#nav').onePageNav({ + * currentClass: 'current', + * changeHash: false, + * scrollSpeed: 750 + * }); + */ + +;(function($, window, document, undefined){ + + // our plugin constructor + var OnePageNav = function(elem, options){ + this.elem = elem; + this.$elem = jQuery(elem); + this.options = options; + this.metadata = this.$elem.data('plugin-options'); + this.$win = jQuery(window); + this.sections = {}; + this.didScroll = false; + this.$doc = jQuery(document); + this.docHeight = this.$doc.height(); + }; + + // the plugin prototype + OnePageNav.prototype = { + defaults: { + navItems: 'a', + currentClass: 'current', + changeHash: false, + easing: 'swing', + filter: '', + scrollSpeed: 750, + scrollThreshold: 0.5, + begin: false, + end: false, + scrollChange: false + }, + + init: function() { + // Introduce defaults that can be extended either + // globally or using an object literal. + this.config = $.extend({}, this.defaults, this.options, this.metadata); + + this.$nav = this.$elem.find(this.config.navItems); + + //Filter any links out of the nav + if(this.config.filter !== '') { + this.$nav = this.$nav.filter(this.config.filter); + } + + //Handle clicks on the nav + this.$nav.on('click.onePageNav', $.proxy(this.handleClick, this)); + + //Get the section positions + this.getPositions(); + + //Handle scroll changes + this.bindInterval(); + + //Update the positions on resize too + this.$win.on('resize.onePageNav', $.proxy(this.getPositions, this)); + + return this; + }, + + adjustNav: function(self, $parent) { + self.$elem.find('.' + self.config.currentClass).removeClass(self.config.currentClass); + $parent.addClass(self.config.currentClass); + }, + + bindInterval: function() { + var self = this; + var docHeight; + + self.$win.on('scroll.onePageNav', function() { + self.didScroll = true; + }); + + self.t = setInterval(function() { + docHeight = self.$doc.height(); + + //If it was scrolled + if(self.didScroll) { + self.didScroll = false; + self.scrollChange(); + } + + //If the document height changes + if(docHeight !== self.docHeight) { + self.docHeight = docHeight; + self.getPositions(); + } + }, 250); + }, + + getHash: function($link) { + return $link.attr('href').split('#')[1]; + }, + + getPositions: function() { + var self = this; + var linkHref; + var topPos; + var $target; + + self.$nav.each(function() { + linkHref = self.getHash($(this)); + $target = jQuery('#' + linkHref); + + if($target.length) { + topPos = $target.offset().top; + self.sections[linkHref] = Math.round(topPos); + } + }); + }, + + getSection: function(windowPos) { + var returnValue = null; + var windowHeight = Math.round(this.$win.height() * this.config.scrollThreshold); + + for(var section in this.sections) { + if((this.sections[section] - windowHeight) < windowPos) { + returnValue = section; + } + } + + return returnValue; + }, + + handleClick: function(e) { + var self = this; + var $link = jQuery(e.currentTarget); + var $parent = $link.parent(); + var newLoc = '#' + self.getHash($link); + + if(!$parent.hasClass(self.config.currentClass)) { + //Start callback + if(self.config.begin) { + self.config.begin(); + } + + //Change the highlighted nav item + self.adjustNav(self, $parent); + + //Removing the auto-adjust on scroll + self.unbindInterval(); + + //Scroll to the correct position + self.scrollTo(newLoc, function() { + //Do we need to change the hash? + if(self.config.changeHash) { + window.location.hash = newLoc; + } + + //Add the auto-adjust on scroll back in + self.bindInterval(); + + //End callback + if(self.config.end) { + self.config.end(); + } + }); + } + + e.preventDefault(); + }, + + scrollChange: function() { + var windowTop = this.$win.scrollTop(); + var position = this.getSection(windowTop); + var $parent; + + //If the position is set + if(position !== null) { + $parent = this.$elem.find('a[href$="#' + position + '"]').parent(); + + //If it's not already the current section + if(!$parent.hasClass(this.config.currentClass)) { + //Change the highlighted nav item + this.adjustNav(this, $parent); + + //If there is a scrollChange callback + if(this.config.scrollChange) { + this.config.scrollChange($parent); + } + } + } + }, + + scrollTo: function(target, callback) { + var offset = $(target).offset().top; + + jQuery('html, body').animate({ + scrollTop: offset + }, this.config.scrollSpeed, this.config.easing, callback); + }, + + unbindInterval: function() { + clearInterval(this.t); + this.$win.unbind('scroll.onePageNav'); + } + }; + + OnePageNav.defaults = OnePageNav.prototype.defaults; + + $.fn.onePageNav = function(options) { + return this.each(function() { + new OnePageNav(this, options).init(); + }); + }; + +})( jQuery, window , document ); \ No newline at end of file diff --git a/lib/js/responsive.js b/lib/js/responsive.js new file mode 100644 index 0000000..3c75a92 --- /dev/null +++ b/lib/js/responsive.js @@ -0,0 +1,778 @@ +if(typeof Object.create!=="function"){ +Object.create=function(o){ +function F(){ +}; +F.prototype=o; +return new F(); +}; +} +var ua={toString:function(){ +return navigator.userAgent; +},test:function(s){ +return this.toString().toLowerCase().indexOf(s.toLowerCase())>-1; +}}; +ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1]; +ua.webkit=ua.test("webkit"); +ua.gecko=ua.test("gecko")&&!ua.webkit; +ua.opera=ua.test("opera"); +ua.ie=ua.test("msie")&&!ua.opera; +ua.ie6=ua.ie&&document.compatMode&&typeof document.documentElement.style.maxHeight==="undefined"; +ua.ie7=ua.ie&&document.documentElement&&typeof document.documentElement.style.maxHeight!=="undefined"&&typeof XDomainRequest==="undefined"; +ua.ie8=ua.ie&&typeof XDomainRequest!=="undefined"; +var domReady=function(){ +var _1=[]; +var _2=function(){ +if(!arguments.callee.done){ +arguments.callee.done=true; +for(var i=0;i<_1.length;i++){ +_1[i](); +} +} +}; +if(document.addEventListener){ +document.addEventListener("DOMContentLoaded",_2,false); +} +if(ua.ie){ +(function(){ +try{ +document.documentElement.doScroll("left"); +} +catch(e){ +setTimeout(arguments.callee,50); +return; +} +_2(); +})(); +document.onreadystatechange=function(){ +if(document.readyState==="complete"){ +document.onreadystatechange=null; +_2(); +} +}; +} +if(ua.webkit&&document.readyState){ +(function(){ +if(document.readyState!=="loading"){ +_2(); +}else{ +setTimeout(arguments.callee,10); +} +})(); +} +window.onload=_2; +return function(fn){ +if(typeof fn==="function"){ +_1[_1.length]=fn; +} +return fn; +}; +}(); +var cssHelper=function(){ +var _3={BLOCKS:/[^\s{][^{]*\{(?:[^{}]*\{[^{}]*\}[^{}]*|[^{}]*)*\}/g,BLOCKS_INSIDE:/[^\s{][^{]*\{[^{}]*\}/g,DECLARATIONS:/[a-zA-Z\-]+[^;]*:[^;]+;/g,RELATIVE_URLS:/url\(['"]?([^\/\)'"][^:\)'"]+)['"]?\)/g,REDUNDANT_COMPONENTS:/(?:\/\*([^*\\\\]|\*(?!\/))+\*\/|@import[^;]+;)/g,REDUNDANT_WHITESPACE:/\s*(,|:|;|\{|\})\s*/g,MORE_WHITESPACE:/\s{2,}/g,FINAL_SEMICOLONS:/;\}/g,NOT_WHITESPACE:/\S+/g}; +var _4,_5=false; +var _6=[]; +var _7=function(fn){ +if(typeof fn==="function"){ +_6[_6.length]=fn; +} +}; +var _8=function(){ +for(var i=0;i<_6.length;i++){ +_6[i](_4); +} +}; +var _9={}; +var _a=function(n,v){ +if(_9[n]){ +var _b=_9[n].listeners; +if(_b){ +for(var i=0;i<_b.length;i++){ +_b[i](v); +} +} +} +}; +var _c=function(_d,_e,_f){ +if(ua.ie&&!window.XMLHttpRequest){ +window.XMLHttpRequest=function(){ +return new ActiveXObject("Microsoft.XMLHTTP"); +}; +} +if(!XMLHttpRequest){ +return ""; +} +var r=new XMLHttpRequest(); +try{ +r.open("get",_d,true); +r.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest"); +} +catch(e){ +_f(); +return; +} +var _10=false; +setTimeout(function(){ +_10=true; +},5000); +document.documentElement.style.cursor="progress"; +r.onreadystatechange=function(){ +if(r.readyState===4&&!_10){ +if(!r.status&&location.protocol==="file:"||(r.status>=200&&r.status<300)||r.status===304||navigator.userAgent.indexOf("Safari")>-1&&typeof r.status==="undefined"){ +_e(r.responseText); +}else{ +_f(); +} +document.documentElement.style.cursor=""; +r=null; +} +}; +r.send(""); +}; +var _11=function(_12){ +_12=_12.replace(_3.REDUNDANT_COMPONENTS,""); +_12=_12.replace(_3.REDUNDANT_WHITESPACE,"$1"); +_12=_12.replace(_3.MORE_WHITESPACE," "); +_12=_12.replace(_3.FINAL_SEMICOLONS,"}"); +return _12; +}; +var _13={mediaQueryList:function(s){ +var o={}; +var idx=s.indexOf("{"); +var lt=s.substring(0,idx); +s=s.substring(idx+1,s.length-1); +var mqs=[],rs=[]; +var qts=lt.toLowerCase().substring(7).split(","); +for(var i=0;i-1&&_23.href&&_23.href.length!==0&&!_23.disabled){ +_1f[_1f.length]=_23; +} +} +if(_1f.length>0){ +var c=0; +var _24=function(){ +c++; +if(c===_1f.length){ +_20(); +} +}; +var _25=function(_26){ +var _27=_26.href; +_c(_27,function(_28){ +_28=_11(_28).replace(_3.RELATIVE_URLS,"url("+_27.substring(0,_27.lastIndexOf("/"))+"/$1)"); +_26.cssHelperText=_28; +_24(); +},_24); +}; +for(i=0;i<_1f.length;i++){ +_25(_1f[i]); +} +}else{ +_20(); +} +}; +var _29={mediaQueryLists:"array",rules:"array",selectors:"object",declarations:"array",properties:"object"}; +var _2a={mediaQueryLists:null,rules:null,selectors:null,declarations:null,properties:null}; +var _2b=function(_2c,v){ +if(_2a[_2c]!==null){ +if(_29[_2c]==="array"){ +return (_2a[_2c]=_2a[_2c].concat(v)); +}else{ +var c=_2a[_2c]; +for(var n in v){ +if(v.hasOwnProperty(n)){ +if(!c[n]){ +c[n]=v[n]; +}else{ +c[n]=c[n].concat(v[n]); +} +} +} +return c; +} +} +}; +var _2d=function(_2e){ +_2a[_2e]=(_29[_2e]==="array")?[]:{}; +for(var i=0;i<_4.length;i++){ +_2b(_2e,_4[i].cssHelperParsed[_2e]); +} +return _2a[_2e]; +}; +domReady(function(){ +var els=document.body.getElementsByTagName("*"); +for(var i=0;i=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44)); +}else{ +return false; +} +}else{ +return _46>0; +} +}else{ +if("device-height"===_41.substring(l-13,l)){ +_47=screen.height; +if(_42!==null){ +if(_43==="length"){ +return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44)); +}else{ +return false; +} +}else{ +return _47>0; +} +}else{ +if("width"===_41.substring(l-5,l)){ +_46=document.documentElement.clientWidth||document.body.clientWidth; +if(_42!==null){ +if(_43==="length"){ +return ((min&&_46>=_44)||(max&&_46<_44)||(!min&&!max&&_46===_44)); +}else{ +return false; +} +}else{ +return _46>0; +} +}else{ +if("height"===_41.substring(l-6,l)){ +_47=document.documentElement.clientHeight||document.body.clientHeight; +if(_42!==null){ +if(_43==="length"){ +return ((min&&_47>=_44)||(max&&_47<_44)||(!min&&!max&&_47===_44)); +}else{ +return false; +} +}else{ +return _47>0; +} +}else{ +if("device-aspect-ratio"===_41.substring(l-19,l)){ +return _43==="aspect-ratio"&&screen.width*_44[1]===screen.height*_44[0]; +}else{ +if("color-index"===_41.substring(l-11,l)){ +var _48=Math.pow(2,screen.colorDepth); +if(_42!==null){ +if(_43==="absolute"){ +return ((min&&_48>=_44)||(max&&_48<_44)||(!min&&!max&&_48===_44)); +}else{ +return false; +} +}else{ +return _48>0; +} +}else{ +if("color"===_41.substring(l-5,l)){ +var _49=screen.colorDepth; +if(_42!==null){ +if(_43==="absolute"){ +return ((min&&_49>=_44)||(max&&_49<_44)||(!min&&!max&&_49===_44)); +}else{ +return false; +} +}else{ +return _49>0; +} +}else{ +if("resolution"===_41.substring(l-10,l)){ +var res; +if(_45==="dpcm"){ +res=_3d("1cm"); +}else{ +res=_3d("1in"); +} +if(_42!==null){ +if(_43==="resolution"){ +return ((min&&res>=_44)||(max&&res<_44)||(!min&&!max&&res===_44)); +}else{ +return false; +} +}else{ +return res>0; +} +}else{ +return false; +} +} +} +} +} +} +} +} +}; +var _4a=function(mq){ +var _4b=mq.getValid(); +var _4c=mq.getExpressions(); +var l=_4c.length; +if(l>0){ +for(var i=0;i0){ +s[c++]=","; +} +s[c++]=n; +} +} +if(s.length>0){ +_39[_39.length]=cssHelper.addStyle("@media "+s.join("")+"{"+mql.getCssText()+"}",false); +} +}; +var _4e=function(_4f){ +for(var i=0;i<_4f.length;i++){ +_4d(_4f[i]); +} +if(ua.ie){ +document.documentElement.style.display="block"; +setTimeout(function(){ +document.documentElement.style.display=""; +},0); +setTimeout(function(){ +cssHelper.broadcast("cssMediaQueriesTested"); +},100); +}else{ +cssHelper.broadcast("cssMediaQueriesTested"); +} +}; +var _50=function(){ +for(var i=0;i<_39.length;i++){ +cssHelper.removeStyle(_39[i]); +} +_39=[]; +cssHelper.mediaQueryLists(_4e); +}; +var _51=0; +var _52=function(){ +var _53=cssHelper.getViewportWidth(); +var _54=cssHelper.getViewportHeight(); +if(ua.ie){ +var el=document.createElement("div"); +el.style.position="absolute"; +el.style.top="-9999em"; +el.style.overflow="scroll"; +document.body.appendChild(el); +_51=el.offsetWidth-el.clientWidth; +document.body.removeChild(el); +} +var _55; +var _56=function(){ +var vpw=cssHelper.getViewportWidth(); +var vph=cssHelper.getViewportHeight(); +if(Math.abs(vpw-_53)>_51||Math.abs(vph-_54)>_51){ +_53=vpw; +_54=vph; +clearTimeout(_55); +_55=setTimeout(function(){ +if(!_3a()){ +_50(); +}else{ +cssHelper.broadcast("cssMediaQueriesTested"); +} +},500); +} +}; +window.onresize=function(){ +var x=window.onresize||function(){ +}; +return function(){ +x(); +_56(); +}; +}(); +}; +var _57=document.documentElement; +_57.style.marginLeft="-32767px"; +setTimeout(function(){ +_57.style.marginTop=""; +},20000); +return function(){ +if(!_3a()){ +cssHelper.addListener("newStyleParsed",function(el){ +_4e(el.cssHelperParsed.mediaQueryLists); +}); +cssHelper.addListener("cssMediaQueriesTested",function(){ +if(ua.ie){ +_57.style.width="1px"; +} +setTimeout(function(){ +_57.style.width=""; +_57.style.marginLeft=""; +},0); +cssHelper.removeListener("cssMediaQueriesTested",arguments.callee); +}); +_3c(); +_50(); +}else{ +_57.style.marginLeft=""; +} +_52(); +}; +}()); +try{ +document.execCommand("BackgroundImageCache",false,true); +} +catch(e){ +} diff --git a/lib/js/responsiveTabs.min.js b/lib/js/responsiveTabs.min.js new file mode 100644 index 0000000..3d5f246 --- /dev/null +++ b/lib/js/responsiveTabs.min.js @@ -0,0 +1,2 @@ +// ResponsiveTabs.js | Version:1.10 | Author:Pete Love | www.petelove.com +var RESPONSIVEUI={};(function($){RESPONSIVEUI.responsiveTabs=function(){var $tabSets=$(".responsive-tabs");if(!$tabSets.hasClass("responsive-tabs--enabled")){$tabSets.addClass("responsive-tabs--enabled");var tablistcount=1;$tabSets.each(function(){var $tabs=$(this);$tabs.children(":header").addClass("responsive-tabs__heading");$tabs.children("div").addClass("responsive-tabs__panel");var $activePanel=$tabs.find(".responsive-tabs__panel--active");if(!$activePanel.length){$activePanel=$tabs.find(".responsive-tabs__panel").first().addClass("responsive-tabs__panel--active")}$tabs.find(".responsive-tabs__panel").not(".responsive-tabs__panel--active").hide().attr("aria-hidden","true");$activePanel.attr("aria-hidden","false");$activePanel.addClass("responsive-tabs__panel--closed-accordion-only");var $tabsWrapper=$("
    ",{"class":"responsive-tabs-wrapper"});$tabs.wrap($tabsWrapper);var highestHeight=0;$tabs.find(".responsive-tabs__panel").each(function(){var tabHeight=$(this).height();if(tabHeight>highestHeight){highestHeight=tabHeight}});var $tabList=$("
      ",{"class":"responsive-tabs__list",role:"tablist"});var tabcount=1;$tabs.find(".responsive-tabs__heading").each(function(){var $tabHeading=$(this);var $tabPanel=$(this).next();$tabHeading.attr("tabindex",0);var $tabListItem=$("
    • ",{"class":"responsive-tabs__list__item",id:"tablist"+tablistcount+"-tab"+tabcount,"aria-controls":"tablist"+tablistcount+"-panel"+tabcount,role:"tab",tabindex:0,text:$tabHeading.text(),keydown:function(objEvent){if(objEvent.keyCode===13){$tabListItem.click()}},click:function(){$tabsWrapper.css("height",highestHeight);$tabs.find(".responsive-tabs__panel--closed-accordion-only").removeClass("responsive-tabs__panel--closed-accordion-only");$tabs.find(".responsive-tabs__panel--active").toggle().removeClass("responsive-tabs__panel--active").attr("aria-hidden","true").prev().removeClass("responsive-tabs__heading--active");$tabPanel.toggle().addClass("responsive-tabs__panel--active").attr("aria-hidden","false");$tabHeading.addClass("responsive-tabs__heading--active");$tabList.find(".responsive-tabs__list__item--active").removeClass("responsive-tabs__list__item--active");$tabListItem.addClass("responsive-tabs__list__item--active");$tabsWrapper.css("height","auto")}});$tabPanel.attr({role:"tabpanel","aria-labelledby":$tabListItem.attr("id"),id:"tablist"+tablistcount+"-panel"+tabcount});if($tabPanel.hasClass("responsive-tabs__panel--active")){$tabListItem.addClass("responsive-tabs__list__item--active")}$tabList.append($tabListItem);$tabHeading.keydown(function(objEvent){if(objEvent.keyCode===13){$tabHeading.click()}});$tabHeading.click(function(){$tabs.find(".responsive-tabs__panel--closed-accordion-only").removeClass("responsive-tabs__panel--closed-accordion-only");if(!$tabHeading.hasClass("responsive-tabs__heading--active")){var oldActivePos,$activeHeading=$tabs.find(".responsive-tabs__heading--active");if($activeHeading.length){oldActivePos=$activeHeading.offset().top}$tabs.find(".responsive-tabs__panel--active").slideToggle().removeClass("responsive-tabs__panel--active").prev().removeClass("responsive-tabs__heading--active");$tabs.find(".responsive-tabs__panel").hide().attr("aria-hidden","true");$tabPanel.slideToggle().addClass("responsive-tabs__panel--active").attr("aria-hidden","false");$tabHeading.addClass("responsive-tabs__heading--active");var $currentActive=$tabs.find(".responsive-tabs__list__item--active");$currentActive.removeClass("responsive-tabs__list__item--active");var panelId=$tabPanel.attr("id");var tabId=panelId.replace("panel","tab");$("#"+tabId).addClass("responsive-tabs__list__item--active");var tabsPos=$tabs.offset().top;var newActivePos=($tabHeading.offset().top)-15;if(oldActivePos 481) { + + } /* end larger than 481px */ + + /* if is above or equal to 768px */ + if (responsive_viewport >= 768) { + + /* load gravatars */ + $('.comment img[data-gravatar]').each(function(){ + $(this).attr('src',$(this).attr('data-gravatar')); + }); + + } + + + /* off the bat large screen actions */ + if (responsive_viewport > 1030) { + + } + + + // add all your scripts here + + +}); /* end of as page load scripts */ + + +/*! A fix for the iOS orientationchange zoom bug. + Script by @scottjehl, rebound by @wilto. + MIT License. +*/ +(function(w){ + // This fix addresses an iOS bug, so return early if the UA claims it's something else. + if( !( /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1 ) ){ return; } + var doc = w.document; + if( !doc.querySelector ){ return; } + var meta = doc.querySelector( "meta[name=viewport]" ), + initialContent = meta && meta.getAttribute( "content" ), + disabledZoom = initialContent + ",maximum-scale=1", + enabledZoom = initialContent + ",maximum-scale=10", + enabled = true, + x, y, z, aig; + if( !meta ){ return; } + function restoreZoom(){ + meta.setAttribute( "content", enabledZoom ); + enabled = true; } + function disableZoom(){ + meta.setAttribute( "content", disabledZoom ); + enabled = false; } + function checkTilt( e ){ + aig = e.accelerationIncludingGravity; + x = Math.abs( aig.x ); + y = Math.abs( aig.y ); + z = Math.abs( aig.z ); + // If portrait orientation and in one of the danger zones + if( !w.orientation && ( x > 7 || ( ( z > 6 && y < 8 || z < 8 && y > 6 ) && x > 5 ) ) ){ + if( enabled ){ disableZoom(); } } + else if( !enabled ){ restoreZoom(); } } + w.addEventListener( "orientationchange", restoreZoom, false ); + w.addEventListener( "devicemotion", checkTilt, false ); +})( this ); + + + +/*Responsive Menu*/ + + + + +/*Fancybox*/ +jQuery(document).ready(function() { + + jQuery(".fancybox").fancybox({ + + closeBtn : true, + beforeShow: function() { + this.title = jQuery(this.element).find('img').attr('alt'); + }, + helpers: { + title : { + type : 'inside' + }, + buttons : {} + } + + + }); // fancybox + + + + jQuery('.inhaltvz').onePageNav({ + currentClass: 'current-menu-item', + changeHash: false, + scrollSpeed: 1000, + scrollThreshold: 0.5, + filter: '', + easing: 'swing', + begin: function() { + //I get fired when the animation is starting + }, + end: function() { + //I get fired when the animation is ending + }, + scrollChange: function($currentListItem) { + //I get fired when you enter a section and I pass the list item of the section + } + }); + + + //TO TOP + // hide #back-top first + jQuery("#back-top").hide(); + + // fade in #back-top + jQuery(function () { + jQuery(window).scroll(function () { + if (jQuery(this).scrollTop() > 500) { + jQuery('#back-top').fadeIn(); + } else { + jQuery('#back-top').fadeOut(); + } + }); + + }); + + + // fade in nav + jQuery(function () { + jQuery(window).scroll(function () { + if (jQuery(this).scrollTop() > 200) { + jQuery('#nav-flyin').fadeIn(); + } else { + jQuery('#nav-flyin').fadeOut(); + } + }); + + }); + + + //scroll + +jQuery('a[href^="#"]').on('click',function (e) { + e.preventDefault(); + + var target = this.hash; + var $target = jQuery(target); + + jQuery('html, body').stop().animate({ + 'scrollTop': $target.offset().top + }, 500, function () { + window.location.hash = target; + }); + }); + + +}); // ready​ + diff --git a/page-archiv.php b/page-archiv.php new file mode 100755 index 0000000..70ae962 --- /dev/null +++ b/page-archiv.php @@ -0,0 +1,57 @@ + + +
      +
      + + + +
      role="article" > + +
      +

      +
      + +
      + + +
      + +

      Die letzten 30 Artikel

      +
        + +
      + +

      Sortiert nach Monaten

      +
        + 'monthly')); ?> +
      + +

      Sortiert nach Kategorien

      +
        + +
      + +

      Sortiert nach Schlagwörtern

      +
      + + ' / ') ); ?> +
      + +
      + +
      + + +
      + + + +
      + + +
      + diff --git a/page-blog.php b/page-blog.php new file mode 100755 index 0000000..e45fa0f --- /dev/null +++ b/page-blog.php @@ -0,0 +1,78 @@ + + + + + + +
      + + + + +
      +

      + + +
      + + +
      + + + + + + 'aktuelles', + 'posts_per_page' => $postsperpage, + 'paged' => $paged, + 'ignore_sticky_posts' => 1 + ); + query_posts($args); + ?> + +
      + + + + + + + + +
      + + + + + + + + + + + +
      + + + + + +
      + \ No newline at end of file diff --git a/page-fullpage.php b/page-fullpage.php new file mode 100755 index 0000000..9f6abfa --- /dev/null +++ b/page-fullpage.php @@ -0,0 +1,75 @@ + + + +
      + + + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      +
      + + + + + + + + +
      + + +
      role="article"> + + + + + + +
      + + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

      + +
      + + +
      + +

      + +
      + +
      + +
      + + + +
      + + + + + +
      + + + +
      + diff --git a/page-home-sticky.php b/page-home-sticky.php new file mode 100644 index 0000000..3515ebd --- /dev/null +++ b/page-home-sticky.php @@ -0,0 +1,120 @@ + + + +
      + +
      + +
      + 3, + 'post__in' => get_option( 'sticky_posts' ), + 'ignore_sticky_posts' => 1 + ); + query_posts($args); + ?> + + + + +
      + + + + +
      + + +
      + +
      + + + +
      +
      + +

      Aktuelles

      +
      + + + + + + + + + + + + + + + + +
      +

      Termine

      +
      + + +
      + +

      Presse

      +
      + + + + + + + + + + + + + +
      + +

      Beschlüsse

      +
      + + + + + + + + + + + +
      + + +
      +
      + + + +
      + + + diff --git a/page-home-widget.php b/page-home-widget.php new file mode 100644 index 0000000..c616307 --- /dev/null +++ b/page-home-widget.php @@ -0,0 +1,116 @@ + + + +
      + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      +
      + + + + + + + + + +
      +
      + +
      + + + +
      + + + + + + +
      +
      + +

      Aktuelles

      +
      + + + + + + + 3, + 'post__in' => get_option( 'sticky_posts' ), + 'posts_per_page' => $postsperpage, + 'ignore_sticky_posts' => 1 + ); + query_posts($args); + ?> + + + + + + + +

      Alle Nachrichten im Archiv »

      + + +
      +

      Termine

      +
      + + +
      + +

      Presse

      +
      + + + + + + + + + + + + + +
      + + + + +
      +
      + + + + + +
      + + + diff --git a/page-landingpage-small.php b/page-landingpage-small.php new file mode 100755 index 0000000..e630642 --- /dev/null +++ b/page-landingpage-small.php @@ -0,0 +1,113 @@ + + + + + ID, 'kr8mb_page_themen_id', true ); + $format = get_post_meta( $post->ID, 'kr8mb_page_format_id', true ); + + ?> + + +
      + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      +
      + + + +
      + + + +
      +
      +

      +
      + +
      +
      + + + + +
      + +
      + + + +
      role="article" itemscope itemtype="http://schema.org/BlogPosting"> + + +
      + +
      + + + +
      + + + + +
      + + + + +
      + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + + +
      + diff --git a/page-landingpage.php b/page-landingpage.php new file mode 100755 index 0000000..896c587 --- /dev/null +++ b/page-landingpage.php @@ -0,0 +1,112 @@ + + + + + ID, 'kr8mb_page_themen_id', true ); + $format = get_post_meta( $post->ID, 'kr8mb_page_format_id', true ); + + ?> + + +
      + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      +
      + + + +
      + + + +
      +
      +

      +
      + +
      +
      + + + + +
      + +
      + + + +
      role="article" itemscope itemtype="http://schema.org/BlogPosting"> + + +
      + +
      + + + +
      + + + + +
      + + + + +
      + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      + + + + +
      + diff --git a/page-listview.php b/page-listview.php new file mode 100755 index 0000000..3b7f9b0 --- /dev/null +++ b/page-listview.php @@ -0,0 +1,91 @@ + + + + +
      + + + +
      +

      + + +
      + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      +
      + + + + + + + + +
      + + +
      role="article"> + + + + + + +
      + + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

      + +
      + + + + + + +
      + + '' ) ); ?> +
      + + + + + +
      + + + + + +
      + + + + + + + + + + + + +
      + \ No newline at end of file diff --git a/page-story.php b/page-story.php new file mode 100755 index 0000000..056ff4f --- /dev/null +++ b/page-story.php @@ -0,0 +1,44 @@ + + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      + + +
      +
      +

      +

      +
      +
      + + +
      + + ID, 'kr8mb_page_story_vz', true ); + if (! empty ($vz )){ ?> + + + + + + + +
      + + + + +
      + + + + \ No newline at end of file diff --git a/page.php b/page.php new file mode 100755 index 0000000..f7c5047 --- /dev/null +++ b/page.php @@ -0,0 +1,88 @@ + + + + + +
      + + + + + + ID), 'full' ); + $url = $thumb['0']; ?> +
      +
      + + + + + + + + +
      + + +
      role="article"> + + + + + + +
      + + ID), 'full' ); + $url = $thumb['0']; ?> + + + post_excerpt; + if ($imgexc != "") { + ?>

      + +
      + + +
      + +

      + +
      + + + + +
      + + '' ) ); ?> +
      + + + + + +
      + + + + + +
      + + + + + + + + + + + + +
      + \ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100755 index 0000000..42971be Binary files /dev/null and b/screenshot.png differ diff --git a/search.php b/search.php new file mode 100755 index 0000000..c7de850 --- /dev/null +++ b/search.php @@ -0,0 +1,62 @@ + + +
      + + + +
      +

      Suche

      +

      Suchergebnisse für:

      +
      + +
      + + +
      + + + + + + + + +
      + + + + + + + + + + +
      > +
      +

      Keine Ergebnisse.

      +
      +
      +

      Es konnte kein Inhalt mit dem verwendeten Suchbegriff gefunden werden.

      +
      + +
      +
      + + +
      + + + + + + + + +
    + \ No newline at end of file diff --git a/sidebar.php b/sidebar.php new file mode 100755 index 0000000..663ff1a --- /dev/null +++ b/sidebar.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/single.php b/single.php new file mode 100755 index 0000000..cf7e6ee --- /dev/null +++ b/single.php @@ -0,0 +1,18 @@ + + +
    + + + + + + + + + + + + + +
    + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..1f9ff93 --- /dev/null +++ b/style.css @@ -0,0 +1,12 @@ +/****************************************************************** +Theme Name: Joseph knows best +Theme URI: http://www.gruene-nrw.de +Description: Aufwändiges Wordpress-Theme für den EInsatz von größeren Websites, z.B: bei Landesverbänden. +Author: Benjamin Jopen +Author URI: http://www.kre8tiv.de +Version: 2.0.4 +Tags: two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +/****************************************************************** \ No newline at end of file