Login Form

Block

Enter content here...


Send

Obsługiwane przez usługę Blogger.
piątek, 15 marca 2013
Zrobiłam dziś dla was nowy szablon "Blood" taki bardziej halloweenowy, ale co tam.


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html dir='LTR' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>
<!-- Created by Artisteer v4.0.0.58475 -->
<meta content='initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width' name='viewport'/>

<b:skin><![CDATA[
#header, #Header1{
    height: 100%;
}

#navbar {
    position: fixed;
    width: 100%;
    z-index: 10;
}

.art-nav {
    -moz-box-sizing: border-box;
    display: block;
}

#comments {
    padding: 0 15px 15px 15px;
    position: relative;
}

#comments h4 {
    margin: 0 0 10px;
    padding-top: 0;
    padding-right: 14px;
    padding-bottom: 2px;
    padding-left: 29px;
    font-size: 120%;
    line-height: 1.4em;
}

#comments a:link,
#comments a:visited,
#comments a:active,
#comments a:hover {
    color: #575757;
}

.comment-author {
    margin: .5em 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 20px;
    font-weight: bold;
}

.comment-body {
    margin: 0 0 1.25em;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 20px;
}

.comment-body p {
    margin: 0 0 .5em;
}

.comment-footer {
    margin: 0 0 .5em;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: .75em;
    padding-left: 20px;
}

#ArchiveList ul li {
    text-indent: -10px !important;
    padding: 0 0 0 15px;
}

#ArchiveList ul li:before{
    background: none repeat scroll 0 0 transparent;
    margin: 0;
    content: "";
}


.profile-datablock,
.profile-textblock {
    margin: 0 0 .75em;
    line-height: 1.4em;
}
.profile-img {
    float: left;
    margin-top: 0;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-left: 0;
    border: 5px solid #889977;
}
.profile-data {
    font-weight: bold;
}

.blog-pager{
    margin-left: 15px;
}

.post-feeds{
    margin-left: 15px;
}

.blog-feeds
{
    margin-left: 15px;
}


/* for Blogger Page Elements */

body#layout #art-main {
    position: relative;
}

body#layout .art-header {
    height: auto;
    width: 100%;
}
body#layout .art-content-layout {
    margin-top: 18px;
    padding-top: 2px;
    width: 100%
}

body#layout .art-sheet {
    width: 100%;
    margin-top: 0 !important;
    top: 0 !important;
}

body#layout .art-sheet:before,
body#layout .art-sheet:after {
    content : '';
}

body#layout .art-header, body#layout #Header1 {
    height: auto;
}

body#layout .art-footer {
    width: 100%;
}

body#layout .art-footer .art-footer-text {
    height: 85px;
}

body#layout .art-blockcontent {
    padding: 0;
}

body#layout .art-block {
    padding: 0;
}

body#layout .art-nav {
    height: auto;
}


body#layout .section {
    width: auto;
}

body#layout #Header1{
    display: block;
}
body#layout #LinkList97,
body#layout #BlogArchive99,
body#layout #PageList99 {
    display: block;
}

body#layout {
    min-width: 0;
}

body#layout .art-content-layout {
    width: 100%;
}

body#layout .widget{
    left: 0;
    top: 0;
    width: 99%;
}

#Attribution1 {
    display: none;
}

/* search results  */

#uds-searchControl {
    width: 99%;
}

#uds-searchControl .gsc-results,
#uds-searchControl .gsc-tabhActive {
 
  font-family: 'Times New Roman';
  font-style: normal;
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
    color: #5c0509 !important;
    background-color: transparent !important;
    border-color: #808080 !important;
}


#uds-searchControl a,
#uds-searchControl .gs-result .gs-title *,
#uds-searchControl .gs-visibleUrl ,
#uds-searchControl .gsc-tabhInactive {
 
  font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
    color: #575757 !important;
}

#uds-searchControl .gsc-cursor-page{
    color: #575757 !important;
}

.gsc-tabsArea{
    margin-bottom: 0 !important;
}

.gsc-result-info{
    border-bottom: 0 none !important;
}


.blog-pager a:link,
.blog-pager a:visited,
.blog-pager a:active,
.blog-pager a:hover,
.feed-links a:link,
.feed-links a:visited,
.feed-links a:active,
.feed-links a:hover {
    color: #575757;
}

#blog-pager-newer-link {
    float: left;
    margin-left: 13px;
}

#blog-pager-older-link {
    float: right;
    margin-right: 13px;
}

#blog-pager {
    text-align: center;
}

.jump-link{
    margin: 10px 0;
}

/* block content */

.art-blockcontent {
    color: #5c0509;
}

.art-blockcontent a:link{
    color: #707070;
}

.art-blockcontent a:visited,
.art-blockcontent a.visited {
    color: #f5424b;
}

.art-blockcontent a:hover,
.art-blockcontent a.hover {
    color: #575757;
}

.toggle span
{
    color: #707070;
}

.gsc-branding-text {
    color: #5c0509 !important;
}


/* Created by Artisteer v4.0.0.58475 */

#art-main
{
   background: #831E11 url('https://lh4.googleusercontent.com/-o39sMH26hK0/UUL7aZXcj2I/AAAAAAAACq0/zoe9XJTNDmI/s2048/page.png') fixed;
   margin:0 auto;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   position: relative;
   width: 100%;
   min-height: 100%;
   left: 0;
   top: 0;
   cursor:default;
   overflow:hidden;
}
table, ul.art-hmenu
{
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, a, ul, ol, li
{
   margin: 0;
   padding: 0;
}

/* Reset buttons border. It's important for input and button tags.
 * border-collapse should be separate for shadow in IE.
 */
.art-button
{
   border: 0;
   border-collapse: separate;
   -webkit-background-origin: border !important;
   -moz-background-origin: border !important;
   background-origin: border-box !important;
   background: #696969;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   padding:0 21px;
   margin:0 auto;
   height:28px;
}

.art-postcontent,
.art-postheadericons,
.art-postfootericons,
.art-blockcontent,
ul.art-vmenu a
{
   text-align: left;
}

.art-postcontent,
.art-postcontent li,
.art-postcontent table,
.art-postcontent a,
.art-postcontent a:link,
.art-postcontent a:visited,
.art-postcontent a.visited,
.art-postcontent a:hover,
.art-postcontent a.hovered
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 175%;
}

.art-postcontent p
{
   margin: 13px 0;
}

.art-postcontent h1, .art-postcontent h1 a, .art-postcontent h1 a:link, .art-postcontent h1 a:visited, .art-postcontent h1 a:hover,
.art-postcontent h2, .art-postcontent h2 a, .art-postcontent h2 a:link, .art-postcontent h2 a:visited, .art-postcontent h2 a:hover,
.art-postcontent h3, .art-postcontent h3 a, .art-postcontent h3 a:link, .art-postcontent h3 a:visited, .art-postcontent h3 a:hover,
.art-postcontent h4, .art-postcontent h4 a, .art-postcontent h4 a:link, .art-postcontent h4 a:visited, .art-postcontent h4 a:hover,
.art-postcontent h5, .art-postcontent h5 a, .art-postcontent h5 a:link, .art-postcontent h5 a:visited, .art-postcontent h5 a:hover,
.art-postcontent h6, .art-postcontent h6 a, .art-postcontent h6 a:link, .art-postcontent h6 a:visited, .art-postcontent h6 a:hover,
.art-blockheader .t, .art-blockheader .t a, .art-blockheader .t a:link, .art-blockheader .t a:visited, .art-blockheader .t a:hover,
.art-vmenublockheader .t, .art-vmenublockheader .t a, .art-vmenublockheader .t a:link, .art-vmenublockheader .t a:visited, .art-vmenublockheader .t a:hover,
.art-headline, .art-headline a, .art-headline a:link, .art-headline a:visited, .art-headline a:hover,
.art-slogan, .art-slogan a, .art-slogan a:link, .art-slogan a:visited, .art-slogan a:hover,
.art-postheader, .art-postheader a, .art-postheader a:link, .art-postheader a:visited, .art-postheader a:hover
{
   font-size: 26px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 120%;
}

.art-postcontent a, .art-postcontent a:link
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #575757;
}

.art-postcontent a:visited, .art-postcontent a.visited
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #D50B15;
}

.art-postcontent  a:hover, .art-postcontent a.hover
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
   color: #707070;
}

.art-postcontent h1
{
   color: #575757;
   margin: 10px 0 0;
   font-size: 31px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent h1
{
   margin: 10px 0 0;
   font-size: 31px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h1 a, .art-postcontent h1 a:link, .art-postcontent h1 a:hover, .art-postcontent h1 a:visited, .art-blockcontent h1 a, .art-blockcontent h1 a:link, .art-blockcontent h1 a:hover, .art-blockcontent h1 a:visited
{
   font-size: 31px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h2
{
   color: #707070;
   margin: 10px 0 0;
   font-size: 26px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent h2
{
   margin: 10px 0 0;
   font-size: 26px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h2 a, .art-postcontent h2 a:link, .art-postcontent h2 a:hover, .art-postcontent h2 a:visited, .art-blockcontent h2 a, .art-blockcontent h2 a:link, .art-blockcontent h2 a:hover, .art-blockcontent h2 a:visited
{
   font-size: 26px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h3
{
   color: #707070;
   margin: 10px 0 0;
   font-size: 24px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent h3
{
   margin: 10px 0 0;
   font-size: 24px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h3 a, .art-postcontent h3 a:link, .art-postcontent h3 a:hover, .art-postcontent h3 a:visited, .art-blockcontent h3 a, .art-blockcontent h3 a:link, .art-blockcontent h3 a:hover, .art-blockcontent h3 a:visited
{
   font-size: 24px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h4
{
   color: #9B0810;
   margin: 10px 0 0;
   font-size: 22px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent h4
{
   margin: 10px 0 0;
   font-size: 22px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h4 a, .art-postcontent h4 a:link, .art-postcontent h4 a:hover, .art-postcontent h4 a:visited, .art-blockcontent h4 a, .art-blockcontent h4 a:link, .art-blockcontent h4 a:hover, .art-blockcontent h4 a:visited
{
   font-size: 22px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h5
{
   color: #9B0810;
   margin: 10px 0 0;
   font-size: 18px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent h5
{
   margin: 10px 0 0;
   font-size: 18px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h5 a, .art-postcontent h5 a:link, .art-postcontent h5 a:hover, .art-postcontent h5 a:visited, .art-blockcontent h5 a, .art-blockcontent h5 a:link, .art-blockcontent h5 a:hover, .art-blockcontent h5 a:visited
{
   font-size: 18px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h6
{
   color: #F31B26;
   margin: 10px 0 0;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent h6
{
   margin: 10px 0 0;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-postcontent h6 a, .art-postcontent h6 a:link, .art-postcontent h6 a:hover, .art-postcontent h6 a:visited, .art-blockcontent h6 a, .art-blockcontent h6 a:link, .art-blockcontent h6 a:hover, .art-blockcontent h6 a:visited
{
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

header, footer, article, nav, #art-hmenu-bg, .art-sheet, .art-hmenu a, .art-vmenu a, .art-slidenavigator > a, .art-checkbox:before, .art-radiobutton:before
{
   -webkit-background-origin: border !important;
   -moz-background-origin: border !important;
   background-origin: border-box !important;
}

header, footer, article, nav, #art-hmenu-bg, .art-sheet, .art-slidenavigator > a, .art-checkbox:before, .art-radiobutton:before
{
   display: block;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

ul
{
   list-style-type: none;
}

ol
{
   list-style-position: inside;
}

html, body
{
   height: 100%;
}

body
{
   padding: 0;
   margin:0;
   min-width: 1000px;
   color: #5C0509;
}

.clearfix:before, .clearfix:after {
   content: "";
   display: table;
}

.clearfix:after {
   clear: both;
}

.cleared {
   font: 0/0 serif;
   clear: both;
}

form
{
   padding: 0 !important;
   margin: 0 !important;
}

table.position
{
   position: relative;
   width: 100%;
   table-layout: fixed;
}

li h1, .art-postcontent li h1, .art-blockcontent li h1
{
   margin:1px;
}
li h2, .art-postcontent li h2, .art-blockcontent li h2
{
   margin:1px;
}
li h3, .art-postcontent li h3, .art-blockcontent li h3
{
   margin:1px;
}
li h4, .art-postcontent li h4, .art-blockcontent li h4
{
   margin:1px;
}
li h5, .art-postcontent li h5, .art-blockcontent li h5
{
   margin:1px;
}
li h6, .art-postcontent li h6, .art-blockcontent li h6
{
   margin:1px;
}
li p, .art-postcontent li p, .art-blockcontent li p
{
   margin:1px;
}


.art-shapes
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   overflow: hidden;
   z-index: 0;
}

.art-slider-inner {
   position: relative;
   overflow: hidden;
   width: 100%;
   height: 100%;
}

.art-slidenavigator > a {
   display: inline-block;
   vertical-align: middle;
   outline-style: none;
   font-size: 1px;
}

.art-slidenavigator > a:last-child {
   margin-right: 0 !important;
}







.art-header
{
   -webkit-border-radius:15px;
   -moz-border-radius:15px;
   border-radius:15px;
   border:3px solid #B12816;
   margin:10px auto 0;
   height: 300px;
   background-image: url('https://lh3.googleusercontent.com/-q3s_3pTOkMA/UUL7ohvisBI/AAAAAAAACt0/sZZx1YRN1ps/s2048/header.jpg');
   background-position: 0 0;
   background-repeat: no-repeat;
   position: relative;
   width: 1000px;
   z-index: auto !important;
}

.responsive .art-header
{
   background-image: url('https://lh3.googleusercontent.com/-q3s_3pTOkMA/UUL7ohvisBI/AAAAAAAACt0/sZZx1YRN1ps/s2048/header.jpg');
   background-position: center center;
}

.art-header .art-header-widget
{
   position:absolute;
   z-index:101;
}

.art-header .art-slider-inner
{
   -webkit-border-radius:15px;
   -moz-border-radius:15px;
   border-radius:15px;
}

.art-nav
{
   background: #B12816 url('https://lh6.googleusercontent.com/-WS1gDmYY3NA/UUL7d-6whjI/AAAAAAAACq8/9cquTOe-sRk/s2048/nav.png') scroll;
   -webkit-border-radius:15px;
   -moz-border-radius:15px;
   border-radius:15px;
   margin:10px auto 0;
   position: relative;
   z-index: 100;
   font-size: 0;
   text-align: left;
}

ul.art-hmenu a, ul.art-hmenu a:link, ul.art-hmenu a:visited, ul.art-hmenu a:hover
{
   outline: none;
   position: relative;
   z-index: 11;
}

ul.art-hmenu, ul.art-hmenu ul
{
   display: block;
   margin: 0;
   padding: 0;
   border: 0;
   list-style-type: none;
}

ul.art-hmenu li
{
   position: relative;
   z-index: 5;
   display: block;
   float: left;
   background: none;
   margin: 0;
   padding: 0;
   border: 0;
}

ul.art-hmenu li:hover
{
   z-index: 10000;
   white-space: normal;
}

ul.art-hmenu:after, ul.art-hmenu ul:after
{
   content: ".";
   height: 0;
   display: block;
   visibility: hidden;
   overflow: hidden;
   clear: both;
}

ul.art-hmenu, ul.art-hmenu ul
{
   min-height: 0;
}

ul.art-hmenu
{
   display: inline-block;
   vertical-align: bottom;
   padding-left: 15px;
   padding-right: 15px;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.art-nav:before
{
   content:' ';
}

.desktop-nav.art-nav{
   width: 1000px;
   padding-left: 0;
   padding-right: 0;
}

.art-hmenu-extra1
{
   position: relative;
   display: block;
   float: left;
   width: auto;
   height: auto;
   background-position: center;
}

.art-hmenu-extra2
{
   position: relative;
   display: block;
   float: right;
   width: auto;
   height: auto;
   background-position: center;
}

.art-hmenu
{
   float: left;
}

.art-menuitemcontainer
{
   margin:0 auto;
}
ul.art-hmenu>li {
   margin-left: 11px;
}
ul.art-hmenu>li:first-child {
   margin-left: 5px;
}
ul.art-hmenu>li:last-child, ul.art-hmenu>li.last-child {
   margin-right: 5px;
}

ul.art-hmenu>li>a
{
   -webkit-border-radius:6px;
   -moz-border-radius:6px;
   border-radius:6px;
   padding:0 17px;
   margin:0 auto;
   position: relative;
   display: block;
   height: 32px;
   cursor: pointer;
   text-decoration: none;
   color: #000000;
   line-height: 32px;
   text-align: center;
}

.art-hmenu a,
.art-hmenu a:link,
.art-hmenu a:visited,
.art-hmenu a.active,
.art-hmenu a:hover
{
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   text-transform: uppercase;
   text-align: left;
}

ul.art-hmenu>li>a.active
{
   -webkit-border-radius:6px;
   -moz-border-radius:6px;
   border-radius:6px;
   padding:0 17px;
   margin:0 auto;
   color: #000000;
   text-decoration: none;
}

ul.art-hmenu>li>a:visited,
ul.art-hmenu>li>a:hover,
ul.art-hmenu>li:hover>a {
   text-decoration: none;
}

ul.art-hmenu>li>a:hover, .desktop ul.art-hmenu>li:hover>a
{
   -webkit-border-radius:6px;
   -moz-border-radius:6px;
   border-radius:6px;
   padding:0 17px;
   margin:0 auto;
}
ul.art-hmenu>li>a:hover,
.desktop-nav ul.art-hmenu>li:hover>a {
   color: #000000;
   text-decoration: none;
}

ul.art-hmenu>li:before
{
   position:absolute;
   display: block;
   content:' ';
   top:0;
   left:  -11px;
   width:11px;
   height: 32px;
   background: url('https://lh3.googleusercontent.com/-8zUI8m8R7KQ/UUL7eGJUEQI/AAAAAAAACrE/gw2hSbblToo/s2048/menuseparator.png') center center no-repeat;
}
ul.art-hmenu>li:first-child:before{
   display:none;
}

ul.art-hmenu ul
{
   display: none;
}

.art-sheet
{
   background: #FFFFFF;
   background: rgba(255, 255, 255, 0.8);
   -webkit-border-radius:15px 15px 0 0;
   -moz-border-radius:15px 15px 0 0;
   border-radius:15px 15px 0 0;
   border:3px solid #B12816;
   margin:0 auto;
   position:relative;
   cursor:auto;
   width: 1000px;
   z-index: auto !important;
}

.art-layout-wrapper
{
   position: relative;
   margin: 20px auto 0 auto;
   z-index: auto !important;
}

.art-content-layout
{
   display: table;
   width: 100%;
   table-layout: fixed;
   border-collapse: collapse;
}

.art-content-layout-row
{
   display: table-row;
}

.art-layout-cell
{
   display: table-cell;
   vertical-align: top;
}

.art-vmenublock
{
   margin:5px;
}
div.art-vmenublock img
{
   margin: 0;
}

.art-vmenublockheader
{
   background: #831E11 url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png') scroll;
   background: linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -webkit-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), -webkit-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -moz-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), -moz-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -o-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), -o-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -ms-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), -ms-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   -svg-background: linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh6.googleusercontent.com/-7inYza_dgJE/UUL7eVgG70I/AAAAAAAACrM/SeJV8T22ApE/s2048/vmenublockheader.png'), linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   -webkit-border-radius:15px;
   -moz-border-radius:15px;
   border-radius:15px;
   padding:10px 0;
   margin:0 auto 7px;
}
.art-vmenublockheader .t,
.art-vmenublockheader .t a,
.art-vmenublockheader .t a:link,
.art-vmenublockheader .t a:visited,
.art-vmenublockheader .t a:hover
{
   color: #000000;
   font-size: 24px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   margin: 0 10px;
}

.art-vmenublockheader .t:before
{
   content:url('https://lh3.googleusercontent.com/-702o0Y5ia0g/UUL7fP30iDI/AAAAAAAACrU/Ubj8bBznFFs/s2048/vmenublockheadericon.png');
   margin-right:6px;
   bottom: 3px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .art-vmenublockheader .t:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-vmenublockcontent
{
   margin:0 auto;
}

ul.art-vmenu, ul.art-vmenu ul
{
   list-style: none;
   display: block;
}

ul.art-vmenu, ul.art-vmenu li
{
   display: block;
   margin: 0;
   padding: 0;
   width: auto;
   line-height: 0;
}

ul.art-vmenu
{
   margin-top: 10px;
   margin-bottom: 10px;
}

ul.art-vmenu ul
{
   display: none;
   margin: 0;
   padding: 0;
   position: relative;
}

ul.art-vmenu ul.active
{
   display: block;
}

ul.art-vmenu>li>a
{
   padding:0 15px;
   margin:0 auto;
   color: #A50910;
   min-height: 30px;
   line-height: 30px;
}
ul.art-vmenu a
{
   display: block;
   cursor: pointer;
   z-index: 1;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   position:relative;
}

ul.art-vmenu li{
   position:relative;
}

ul.art-vmenu>li
{
   margin-top: 0;
}
ul.art-vmenu>li>ul
{
   padding: 0;
   margin-top: 0;
   margin-bottom: 0;
}
ul.art-vmenu>li:first-child
{
   margin-top:0;
}

ul.art-vmenu>li>a:before
{
   content:url('https://lh4.googleusercontent.com/-F2UeKpTb3EM/UUL7fpkzvdI/AAAAAAAACrc/bojlrrdjkU0/s2048/vmenuitemicon.png');
   margin-right:5px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.art-vmenu>li>a:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.art-vmenu>li>a.active:before
{
   content:url('https://lh4.googleusercontent.com/-ByQxuqKHR5c/UUL7f6wynWI/AAAAAAAACrk/AXDOp3tQ9r4/s2048/vmenuactiveitemicon.png');
   margin-right:5px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.art-vmenu>li>a.active:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.art-vmenu>li>a:hover:before
{
   content:url('https://lh3.googleusercontent.com/-8lL6hoJdEIs/UUL7gT2fSkI/AAAAAAAACrs/6zpZtZ0zi1g/s2048/vmenuhovereditemicon.png');
   margin-right:5px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera ul.art-vmenu>li>a:hover:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

ul.art-vmenu>li>a:hover, ul.art-vmenu>li>a.active:hover
{
   padding:0 15px;
   margin:0 auto;
}
ul.art-vmenu>li>a:hover, ul.art-vmenu>li>a.active:hover
{
   text-decoration: none;
}

ul.art-vmenu a:hover, ul.art-vmenu a.active:hover
{
   color: #575757;
}

ul.art-vmenu>li>a.active:hover>span.border-top, ul.art-vmenu>li>a.active:hover>span.border-bottom
{
   background-color: transparent;
}

ul.art-vmenu>li>a.active
{
   padding:0 15px;
   margin:0 auto;
   text-decoration: none;
   color: #575757;
}

ul.art-vmenu>li>ul:before
{
   margin:0 auto;
   display: block;
   position: absolute;
   content: ' ';
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
}

ul.art-vmenu li li a
{
   margin:0 auto;
   position: relative;
}
ul.art-vmenu ul li
{
   margin: 0;
   padding: 0;
}
ul.art-vmenu li li{
   position: relative;
   margin-top: 0;
}

ul.art-vmenu ul a
{
   display: block;
   position: relative;
   min-height: 22px;
   overflow: visible;
   padding: 0;
   padding-left: 27px;
   padding-right: 27px;
   z-index: 0;
   line-height: 22px;
   color: #575757;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   margin-left: 0;
   margin-right: 0;
}

ul.art-vmenu ul a:visited, ul.art-vmenu ul a.active:hover, ul.art-vmenu ul a:hover, ul.art-vmenu ul a.active
{
   line-height: 22px;
   color: #575757;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   margin-left: 0;
   margin-right: 0;
}

ul.art-vmenu ul ul a
{
   padding-left: 54px;
}
ul.art-vmenu ul ul ul a
{
   padding-left: 81px;
}
ul.art-vmenu ul ul ul ul a
{
   padding-left: 108px;
}
ul.art-vmenu ul ul ul ul ul a
{
   padding-left: 135px;
}

ul.art-vmenu ul>li>a:hover, ul.art-vmenu ul>li>a.active:hover
{
   margin:0 auto;
}
ul.art-vmenu ul li a:hover, ul.art-vmenu ul li a.active:hover
{
   text-decoration: none;
   color: #575757;
}

ul.art-vmenu ul a:hover:after
{
   background-position: center ;
}
ul.art-vmenu ul a.active:hover:after
{
   background-position: center ;
}
ul.art-vmenu ul a.active:after
{
   background-position: bottom ;
}

ul.art-vmenu ul>li>a.active
{
   margin:0 auto;
}
ul.art-vmenu ul a.active, ul.art-vmenu ul a:hover, ul.art-vmenu ul a.active:hover
{
   text-decoration: none;
   color: #575757;
}

.art-block
{
   margin:5px;
}
div.art-block img
{
   border: none;
   margin: 0;
}

.art-blockheader
{
   background: #831E11 url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png') scroll;
   background: linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -webkit-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), -webkit-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -moz-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), -moz-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -o-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), -o-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: -ms-linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), -ms-linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   background: linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   -svg-background: linear-gradient(top, rgba(185, 43, 24, 0.24) 0, rgba(77, 18, 10, 0.14) 100%) no-repeat, url('https://lh4.googleusercontent.com/-mkRTHB7xf8A/UUL7g3TGApI/AAAAAAAACr0/wj-2yZzcWUg/s2048/blockheader.png'), linear-gradient(top, #A72716 0, #5F160C 100%) no-repeat;
   -webkit-border-radius:15px;
   -moz-border-radius:15px;
   border-radius:15px;
   padding:6px 5px;
   margin:0 auto 2px;
}
.art-blockheader .t,
.art-blockheader .t a,
.art-blockheader .t a:link,
.art-blockheader .t a:visited,
.art-blockheader .t a:hover
{
   color: #000000;
   font-size: 24px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   margin: 0 5px;
}

.art-blockheader .t:before
{
   content:url('https://lh6.googleusercontent.com/-omMm2nyV7JI/UUL7hZ728lI/AAAAAAAACr8/x4CRzIcTt-Y/s2048/blockheadericon.png');
   margin-right:6px;
   bottom: 3px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .art-blockheader .t:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-blockcontent
{
   padding:5px;
   margin:0 auto;
   color: #5C0509;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 175%;
}
.art-blockcontent table,
.art-blockcontent li,
.art-blockcontent a,
.art-blockcontent a:link,
.art-blockcontent a:visited,
.art-blockcontent a:hover
{
   color: #5C0509;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 175%;
}

.art-blockcontent p
{
   margin: 0 5px;
}

.art-blockcontent a, .art-blockcontent a:link
{
   color: #707070;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.art-blockcontent a:visited, .art-blockcontent a.visited
{
   color: #F5424B;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.art-blockcontent a:hover, .art-blockcontent a.hover
{
   color: #575757;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}
.art-block ul>li:before
{
   content:url('https://lh5.googleusercontent.com/-q0HTtwK1TG0/UUL7hmCATlI/AAAAAAAACsE/2i1px2OJghk/s2048/blockbullets.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   margin-left: -12px;
}
.opera .art-block ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-block li
{
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 175%;
   color: #9B0810;
   margin: 5px 0 0 10px;
}

.art-block ul>li, .art-block ol
{
   padding: 0;
}

.art-block ul>li
{
   padding-left: 12px;
}

.art-breadcrumbs
{
   margin:0 auto;
}

a.art-button,
a.art-button:link,
a:link.art-button:link,
body a.art-button:link,
a.art-button:visited,
body a.art-button:visited,
input.art-button,
button.art-button
{
   text-decoration: none;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   position:relative;
   display: inline-block;
   vertical-align: middle;
   white-space: nowrap;
   text-align: center;
   color: #FFFFFF;
   margin: 0 !important;
   overflow: visible;
   cursor: pointer;
   text-indent: 0;
   line-height: 28px;
   -webkit-box-sizing: content-box;
   -moz-box-sizing: content-box;
   box-sizing: content-box;
}

.art-button img
{
   margin: 0;
   vertical-align: middle;
}

.firefox2 .art-button
{
   display: block;
   float: left;
}

input, select, textarea
{
   vertical-align: middle;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.art-block select
{
   width:96%;
}

input.art-button
{
   float: none !important;
}

.art-button.active, .art-button.active:hover
{
   background: #696969;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   padding:0 21px;
   margin:0 auto;
}
.art-button.active, .art-button.active:hover {
   color: #FFFFFF !important;
}

.art-button.hover, .art-button:hover
{
   background: #595959;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   padding:0 21px;
   margin:0 auto;
}
.art-button.hover, .art-button:hover {
   color: #FFFFFF !important;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
   background: #FEF5F6;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   border:1px solid #7A7A7A;
   margin:0 auto;
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
   width: 100%;
   padding: 4px 0;
   color: #9B0810 !important;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
input.art-error, textarea.art-error
{
   background: #FEF5F6;
   border:1px solid #E2341D;
   margin:0 auto;
}
input.art-error, textarea.art-error {
   color: #9B0810 !important;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
form.art-search input[type="text"]
{
   background: #FFFFFF;
   -webkit-border-radius:4px;
   -moz-border-radius:4px;
   border-radius:4px;
   border:1px solid #FBB1B5;
   margin:0 auto;
   width: 100%;
   padding: 3px 0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   color: #404040 !important;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}
form.art-search
{
   background-image: none;
   border: 0;
   display:block;
   position:relative;
   top:0;
   padding:0;
   margin:5px;
   left:0;
   line-height: 0;
}

form.art-search input
{
   top:0;
   right:0;
}

form.art-search>input {
   bottom:0;
   left:0;
   vertical-align: middle;
}

form.art-search input[type="submit"]
{
   margin:0 auto;
   color: #FFFFFF !important;
   position:absolute;
   display:block;
   left: auto;
   border:none;
   background:url('https://lh4.googleusercontent.com/-QfBTJwt_P2o/UUL7iKQNyFI/AAAAAAAACsM/AFAfTIlSwPA/s2048/searchicon.png') center center no-repeat;
   width:24px;
   height: 100%;
   padding:0;
}

label.art-checkbox:before
{
   background: #FEF5F6;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   margin:0 auto;
   width:16px;
   height:16px;
}
label.art-checkbox
{
   cursor: pointer;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 16px;
   display: inline-block;
}

.art-checkbox>input[type="checkbox"]
{
   margin: 0 5px 0 0;
}

label.art-checkbox.active:before
{
   background: #7A7A7A;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   margin:0 auto;
   width:16px;
   height:16px;
   display: inline-block;
}

label.art-checkbox.hovered:before
{
   background: #949494;
   -webkit-border-radius:1px;
   -moz-border-radius:1px;
   border-radius:1px;
   margin:0 auto;
   width:16px;
   height:16px;
   display: inline-block;
}

label.art-radiobutton:before
{
   background: #FEF5F6;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   margin:0 auto;
   width:12px;
   height:12px;
}
label.art-radiobutton
{
   cursor: pointer;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   line-height: 12px;
   display: inline-block;
}

.art-radiobutton>input[type="radio"]
{
   vertical-align: baseline;
   margin: 0 5px 0 0;
}

label.art-radiobutton.active:before
{
   background: #7A7A7A;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   margin:0 auto;
   width:12px;
   height:12px;
   display: inline-block;
}

label.art-radiobutton.hovered:before
{
   background: #949494;
   -webkit-border-radius:3px;
   -moz-border-radius:3px;
   border-radius:3px;
   margin:0 auto;
   width:12px;
   height:12px;
   display: inline-block;
}

.art-post
{
   padding:5px;
}
a img
{
   border: 0;
}

.art-article img, img.art-article, .art-block img, .art-footer img
{
   margin: 7px 7px 7px 7px;
}

.art-metadata-icons img
{
   border: none;
   vertical-align: middle;
   margin: 2px;
}

.art-article table, table.art-article
{
   border-collapse: collapse;
   margin: 1px;
}

.art-post .art-content-layout-br
{
   height: 0;
}

.art-article th, .art-article td
{
   padding: 2px;
   border: solid 1px #ED0C18;
   vertical-align: top;
   text-align: left;
}

.art-article th
{
   text-align: center;
   vertical-align: middle;
   padding: 7px;
}

pre
{
   overflow: auto;
   padding: 0.1em;
}

.preview-cms-logo
{
   border: 0;
   margin: 1em 1em 0 0;
   float: left;
}

.image-caption-wrapper
{
   padding: 7px 7px 7px 7px;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper img
{
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper div.art-collage
{
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.image-caption-wrapper p
{
   font-size: 80%;
   text-align: right;
   margin: 0;
}

.art-postheader
{
   color: #9B0810;
   margin: 5px 10px;
   font-size: 29px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.art-postheader a,
.art-postheader a:link,
.art-postheader a:visited,
.art-postheader a.visited,
.art-postheader a:hover,
.art-postheader a.hovered
{
   font-size: 29px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
}

.art-postheader a, .art-postheader a:link
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #737373;
}

.art-postheader a:visited, .art-postheader a.visited
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #B30912;
}

.art-postheader a:hover,  .art-postheader a.hovered
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   text-align: left;
   color: #707070;
}

.art-postheadericons,
.art-postheadericons a,
.art-postheadericons a:link,
.art-postheadericons a:visited,
.art-postheadericons a:hover
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #9B0810;
}

.art-postheadericons
{
   display:inline-block;
   padding: 1px;
   margin: 0 0 0 10px;
}

.art-postheadericons a, .art-postheadericons a:link
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
   color: #7A7A7A;
}

.art-postheadericons a:visited, .art-postheadericons a.visited
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: none;
   color: #BD0A13;
}

.art-postheadericons a:hover, .art-postheadericons a.hover
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: normal;
   text-decoration: underline;
   color: #636363;
}

.art-postdateicon:before
{
   content:url('https://lh3.googleusercontent.com/-4GVKLkjmO9U/UUL7iX-r_RI/AAAAAAAACsU/6X9CBKdV7eY/s2048/postdateicon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .art-postdateicon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-postauthoricon:before
{
   content:url('https://lh4.googleusercontent.com/-fDjkLAau3T0/UUL7i8ZOwfI/AAAAAAAACsc/9XlJR6wAth0/s2048/postauthoricon.png');
   margin-right:6px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   bottom: auto;
}
.opera .art-postauthoricon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-postediticon:before
{
   content:url('https://lh3.googleusercontent.com/-D-fo-z2frsw/UUL7jXevamI/AAAAAAAACsk/Y-zN77JSi1o/s2048/postediticon.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .art-postediticon:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-postcontent ul>li:before,  .art-post ul>li:before,  .art-textblock ul>li:before
{
   content:url('https://lh5.googleusercontent.com/-umFucgEm4F4/UUL7jg0814I/AAAAAAAACss/5FlM41fnnuI/s2048/postbullets.png');
   margin-right:10px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
}
.opera .art-postcontent ul>li:before, .opera   .art-post ul>li:before, .opera   .art-textblock ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-postcontent li, .art-post li, .art-textblock li
{
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #79060C;
   margin: 3px 0 0 11px;
}

.art-postcontent ul>li, .art-post ul>li, .art-textblock ul>li, .art-postcontent ol, .art-post ol, .art-textblock ol
{
   padding: 0;
}

.art-postcontent ul>li, .art-post ul>li, .art-textblock ul>li
{
   padding-left: 17px;
}

.art-postcontent ul>li:before,  .art-post ul>li:before,  .art-textblock ul>li:before
{
   margin-left: -17px;
}

.art-postcontent ol, .art-post ol, .art-textblock ol, .art-postcontent ul, .art-post ul, .art-textblock ul
{
   margin: 1em 0 1em 11px;
}

.art-postcontent li ol, .art-post li ol, .art-textblock li ol, .art-postcontent li ul, .art-post li ul, .art-textblock li ul
{
   margin: 0.5em 0 0.5em 11px;
}

.art-postcontent li, .art-post li, .art-textblock li
{
   margin: 3px 0 0 0;
}

.art-postcontent ol>li, .art-post ol>li, .art-textblock ol>li
{
   /* overrides overflow for "ul li" and sets the default value */
  overflow: visible;
}

.art-postcontent ul>li, .art-post ul>li, .art-textblock ul>li
{
   /* makes "ul li" not to align behind the image if they are in the same line */
  overflow-x: visible;
   overflow-y: hidden;
}

blockquote
{
   background: #FEE7E8 url('https://lh5.googleusercontent.com/-ngRr08T6cgI/UUL7kOFOUII/AAAAAAAACs0/FqMy0wrMJYw/s2048/postquote.png') no-repeat scroll;
   padding:10px 10px 10px 47px;
   margin:10px 0 0 25px;
   color: #220203;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: italic;
   text-align: left;
   /* makes block not to align behind the image if they are in the same line */
  overflow: auto;
   clear:both;
}
blockquote a, .art-postcontent blockquote a, .art-blockcontent blockquote a, .art-footer blockquote a,
blockquote a:link, .art-postcontent blockquote a:link, .art-blockcontent blockquote a:link, .art-footer blockquote a:link,
blockquote a:visited, .art-postcontent blockquote a:visited, .art-blockcontent blockquote a:visited, .art-footer blockquote a:visited,
blockquote a:hover, .art-postcontent blockquote a:hover, .art-blockcontent blockquote a:hover, .art-footer blockquote a:hover
{
   color: #220203;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   font-weight: normal;
   font-style: italic;
   text-align: left;
}

/* Override native 'p' margins*/
blockquote p,
.art-postcontent blockquote p,
.art-blockcontent blockquote p,
.art-footer blockquote p
{
   margin: 0;
   margin: 5px 0;
}

.art-footer
{
   border-top:1px dotted #F76E75;
   padding:25px;
   margin:20px auto 0;
   position: relative;
   color: #CB0B14;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 175%;
   text-align: center;
}

.art-footer a,
.art-footer a:link,
.art-footer a:visited,
.art-footer a:hover,
.art-footer td,
.art-footer th,
.art-footer caption
{
   color: #CB0B14;
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   line-height: 175%;
}

.art-footer p
{
   padding:0;
   text-align: center;
}

.art-footer a,
.art-footer a:link
{
   color: #D50B15;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.art-footer a:visited
{
   color: #A50910;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: none;
}

.art-footer a:hover
{
   color: #707070;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   text-decoration: underline;
}

.art-footer img
{
   border: none;
   margin: 0;
}

.art-rss-tag-icon
{
   background:  url('https://lh6.googleusercontent.com/-6Dk-Abx7fbM/UUL7kgYtbMI/AAAAAAAACs8/lvlRZFQPMWw/s2048/footerrssicon.png') no-repeat scroll;
   margin:0 auto;
   min-height:25px;
   min-width:25px;
   display: inline-block;
   text-indent: 28px;
   background-position: left center;
}

.art-rss-tag-icon:empty
{
   vertical-align: middle;
}

.art-footer ul>li:before
{
   content:url('https://lh3.googleusercontent.com/-Ik7QS3BUd0U/UUL7lHa0VYI/AAAAAAAACtM/EM72Z5iBKr4/s2048/footerbullets.png');
   margin-right:6px;
   bottom: 2px;
   position:relative;
   display:inline-block;
   vertical-align:middle;
   font-size:0;
   line-height:0;
   margin-left: -13px;
}
.opera .art-footer ul>li:before
{
   /* Vertical-align:middle in Opera doesn't need additional offset */
    bottom: 0;
}

.art-footer li
{
   font-size: 16px;
   font-family: Nightbird, Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
   color: #424242;
}

.art-footer ul>li, .art-footer ol
{
   padding: 0;
}

.art-footer ul>li
{
   padding-left: 13px;
}

.art-page-footer,
.art-page-footer a,
.art-page-footer a:link,
.art-page-footer a:visited,
.art-page-footer a:hover
{
   font-family: Arial;
   font-size: 10px;
   letter-spacing: normal;
   word-spacing: normal;
   font-style: normal;
   font-weight: normal;
   text-decoration: underline;
   color: #636363;
}

.art-page-footer
{
   position: relative;
   z-index: auto !important;
   padding: 1em;
   text-align: center !important;
   text-decoration: none;
   color: #8D070E;
}

img.art-lightbox
{
   cursor: pointer;
}

#art-lightbox-bg *
{
   padding: 0;
   margin: 0;
}

div#art-lightbox-bg
{
   top: 0;
   left: 0;
   width: 100%;
   position: absolute;
   height: 100%;
   background-color: #000;
   opacity: 0.8;
   filter: alpha(opacity=80);
   z-index: 9999;
}

img.art-lightbox-image
{
   -webkit-transition: opacity 350ms ease-in-out;
   -moz-transition: opacity 350ms ease-in-out;
   -o-transition: opacity 350ms ease-in-out;
   -ms-transition: opacity 350ms ease-in-out;
   transition: opacity 350ms ease-in-out;
   cursor: pointer;
   z-index: 10000;
   position: fixed;
   border: 6px solid #fff;
   border-radius: 3px;
   opacity: 0;
   filter: alpha(opacity=0);
}

img.art-lightbox-image.active
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.lightbox-error
{
   position: fixed;
   background: #fff;
   z-index: 100;
   opacity: 0.95;
   padding: 20px;
   border: 1px solid #b4b4b4;
   border-radius: 10px;
   box-shadow: 0 2px 5px #333;
   width: 300px;
   height: 80px;
}

.loading
{
   position: fixed;
   background: #fff url('https://lh4.googleusercontent.com/-AxYkJdOtPRk/UUL7li3Tw0I/AAAAAAAACtU/4WdqbSGBlOo/s2048/preloader-01.gif') center center no-repeat;
   width: 32px;
   height: 32px;
   z-index: 10100;
   opacity: 0.5;
   padding: 10px;
   border: 1px solid #b4b4b4;
   border-radius: 10px;
   box-shadow: 0 2px 5px #333;
}

.arrow
{
   height: 100px;
   width: 82px;
   z-index: 10003;
   position: fixed;
   cursor: pointer;
   opacity: 0.5;
   filter: alpha(opacity=50);
}

.arrow.left
{
   left: 9px;
}
.arrow.right
{
   right: 9px;
}

.arrow:hover
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.arrow.disabled
{
   display: none;
}

.arrow-t, .arrow-b
{
   height: 6px;
   width: 30px;
   left: 26px;
   background-color: #fff;
   position: relative;
   border-radius: 3px;
}

.arrow-t
{
   top: 38px;
}

.arrow-b
{
   top: 50px;
}

.close
{
   width: 22px;
   height: 22px;
   position: fixed;
   top: 30px;
   right: 39px;
   cursor: pointer;
   opacity: 0.5;
   filter: alpha(opacity=50);
}

.close:hover
{
   opacity: 1;
   filter: alpha(opacity=100);
}

.close .cw, .close .ccw
{
   position: absolute;
   top: 8px;
   left: -4px;
   width: 30px;
   height: 6px;
   background-color: #fff;
   border-radius: 3px;
}

.cw
{
   transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   /* IE 9 */
    -webkit-transform: rotate(45deg);
   /* Safari and Chrome */
    -o-transform: rotate(45deg);
   /* Opera */
    -moz-transform: rotate(45deg);
/* Firefox */}

.ccw
{
   transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   /* IE 9 */
    -webkit-transform: rotate(-45deg);
   /* Safari and Chrome */
    -o-transform: rotate(-45deg);
   /* Opera */
    -moz-transform: rotate(-45deg);
/* Firefox */}

.close-alt, .arrow-right-alt, .arrow-left-alt
{
   display: none;
   color: #fff;
   font-size: 2.5em;
}

.ie8 .close-alt, .ie8 .arrow-right-alt, .ie8 .arrow-left-alt {
   display: block;
}
.ie8 .cw, .ie8 .ccw {
   display: none;
}

.art-content-layout .art-sidebar1
{
   border-right:1px dotted #F87279;
   margin:0 auto;
   width: 250px;
}

.art-content-layout .art-content
{
   margin:0 auto;
}

/* Begin Additional CSS Styles */

/* End Additional CSS Styles */

]]></b:skin>
<!--[if lte IE 7]>
<style>
/* Created by Artisteer v4.0.0.58475 */

.clearfix {
   zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).className="cleared");
}

.art-textblock > div {
   display: block;
   line-height: normal;
   zoom: 1;
}

.art-header
{
   z-index: 1;
}

.art-hmenu>li, .art-hmenu>li>a
{
   display: inline !important;
   zoom: 1;
   float: none !important;
   vertical-align: top;
}
ul.art-hmenu, ul.art-hmenu ul {
   zoom: expression(this.runtimeStyle.zoom="1", this.appendChild(document.createElement("br")).className="cleared");
}
ul.art-hmenu>li:first-child {
   padding-right:11px;
}
ul.art-hmenu>li{
   zoom:expression(runtimeStyle.zoom=1,insertBefore(document.createElement('span'),firstChild).className='art-hmenu-separator');
}
ul.art-hmenu>li>span.art-hmenu-separator
{
   position:absolute;
   display: block;
   top:0;
   left:  -11px;
   width: 11px;
   height: 32px;
   background: url('https://lh3.googleusercontent.com/-8zUI8m8R7KQ/UUL7eGJUEQI/AAAAAAAACrE/gw2hSbblToo/s2048/menuseparator.png') center center no-repeat;
}
ul.art-hmenu>li:first-child>span.art-hmenu-separator
{
   display:none;
}

.art-content-layout, .art-content-layout-row, .art-layout-cell
{
   display: block;
   zoom: 1;
}
.art-layout-cell
{
   position:relative;
   float: left;
   clear: right;
}

ul.art-vmenu, ul.art-vmenu ul, ul.art-vmenu li{
   zoom: 1;
}

ul.art-vmenu ul
{
}

input[type="text"]
{
   margin:0 0 0 -3px;
   zoom:expression(runtimeStyle.zoom = 1, parentNode.insertBefore(document.createElement('div'), this).appendChild(this));
}

* html input[type="text"]
{
   margin :0;
}

form.art-search>input[type="text"]
{
   margin:0 0 0 -3px;
   zoom:expression(runtimeStyle.zoom = 1, parentNode.insertBefore(document.createElement('div'), this).appendChild(this));
}

form.art-search div>input[type="text"]
{
   width: 100%;
}

* html form.art-search>input[type="text"]
{
   margin :0;
}

.art-postheadericons span{
   zoom: 1;
}
.art-postcontent {
   height: 1%;
}

.close-alt, .arrow-right-alt, .arrow-left-alt {
   display: block !important;
}
.cw, .ccw {
   display: none !important;
}

.art-sidebar1
{
   background: none !important;
   border: none !important;
   zoom:expression(runtimeStyle.zoom=1, parentNode.parentNode.insertBefore(document.createElement('div'),parentNode.parentNode.firstChild).className='art-sidebar1-bg' + (className.indexOf('art-sidebar1-fix') == -1 ? '' : ' art-sidebar1-bg-fix' ));
}

.art-sidebar1-bg
{
   border-right:1px dotted #F87279;
   position:absolute;
   z-index:-2;
   direction: ltr;
   left:  0;
   bottom:0;
   top:0;
   width: 250px;
   overflow:hidden;
   display:block;
}

.art-content
{
   width: auto;
   float:none;
}


</style>
<![endif]-->
<style>
/* Created by Artisteer v4.0.0.58475 */

.responsive body
{
   min-width: 240px;
}

.responsive .art-content-layout img,
.responsive .art-content-layout video
{
   max-width: 100%;
   height: auto !important;
}

.responsive.responsive-phone .art-content-layout img
{
   float: none !important;
}
 
.responsive .art-content-layout .art-sidebar0,
.responsive .art-content-layout .art-sidebar1,
.responsive .art-content-layout .art-sidebar2
{
   width: auto !important;
}
 
.responsive .art-content-layout,
.responsive .art-content-layout-row,
.responsive .art-layout-cell
{
   display: block;
}

.responsive .art-slidenavigator
{
   display: none !important;
}
 
.responsive .art-collage
{
   display: none !important;
}
 
.responsive .image-caption-wrapper
{
   width: auto !important;
}

.responsive .art-textblock
{
   display: none;
}

.responsive.responsive-tablet .art-vmenublock,
.responsive.responsive-tablet .art-block
{
   margin-left: 1%;
   margin-right: 1%;
   width: 48%;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.responsive .art-responsive-embed
{
   position: relative;
   padding-bottom: 56.25%;
   /* 16:9 */
height: 0;
}

.responsive .art-responsive-embed iframe,
.responsive .art-responsive-embed object,
.responsive .art-responsive-embed embed
{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

.responsive .art-header
{
   width: auto;
   height: auto;
   min-height: 100px;
   margin-top: 1%;
   margin-right: 1% !important;
   margin-left: 1% !important;
   background-position: center center !important;
   background-size: cover !important;
   background-repeat: repeat !important;
}

.responsive .art-header .art-headline,
.responsive .art-header .art-slogan
{
   display: block !important;
   top: 0 !important;
   left: 0 !important;
   margin: 2% !important;
}
 
.responsive .art-header .art-headline a,
.responsive .art-header .art-slogan
{
   white-space: normal !important;
}
 
.responsive .art-header .art-shapes .art-textblock
{
   padding: 2% !important;
   margin: 2% !important;
   line-height: normal;
   background-image: none;
   background-color: rgba(127, 127, 127, 0.7);
   color: #eee !important;
   display: none;
   top: auto;
   left: auto;
   width: auto;
   height: auto;
}

.responsive .art-header .art-shapes .art-textblock *,
.responsive .art-header .art-shapes .art-textblock a:hover,
.responsive .art-header .art-shapes .art-textblock a:visited,
.responsive .art-header .art-shapes .art-textblock a:link
{
   color: #eee !important;
}
 
.responsive .art-header .art-shapes .art-textblock&gt;div
{
   display: none;
   top: auto;
   left: auto;
   width: auto;
   height: auto;
   padding: 0 !important;
}

.responsive .art-header .art-shapes,
.responsive .art-header .art-shapes *
{
   position: relative;
   text-align: center;
   -webkit-transform: none !important;
   -moz-transform: none !important;
   -o-transform: none !important;
   -ms-transform: none !important;
   transform: none !important;
}

.responsive .art-header #art-flash-area,
.responsive .art-header .art-shapes&gt;*
{
   display: none;
}

.responsive #art-header-bg
{
   background-position: center center !important;
   background-size: cover !important;
   background-repeat: repeat !important;
}

/* Search */
.responsive .art-shapes~.art-textblock
{
   position: relative !important;
   display: block !important;
   margin: 1% auto !important;
   width: 75% !important;
   top: auto !important;
   right: auto !important;
   bottom: auto !important;
   left: auto !important;
}

/* dynamic width nav */
.responsive .art-nav:not(#art-hmenu-bg),
.responsive .art-nav-inner
{
   width: auto !important;
   position: relative !important;
   top: auto !important;
   left: auto !important;
   right: auto !important;
   bottom: auto !important;
   margin-top: 0;
   margin-bottom: 0;
}

.responsive nav.art-nav
{
   margin-top: 1%;
   margin-right: 1% !important;
   margin-left: 1% !important;
}

.responsive .responsive-nav
{
   padding-left: 0;
   padding-right: 0;
}

/* full width hmenu, instead of inline-block */
.responsive .responsive-nav ul.art-hmenu
{
   display: block;
   float: none;
   text-align: center;
}

/* elements on different lines */
.responsive .responsive-nav ul.art-hmenu li
{
   float: none;
}

/* horizontal margins */
.responsive .responsive-nav ul.art-hmenu&gt;li:first-child,
.responsive .responsive-nav ul.art-hmenu&gt;li:last-child,
.responsive .responsive-nav ul.art-hmenu&gt;li
{
   margin-left: 0;
   margin-right: 0;
}

/* separator */
.responsive .responsive-nav ul.art-hmenu&gt;li:before
{
   display: none;
}

/* vertical distance between items */
.responsive .responsive-nav ul.art-hmenu a
{
   margin-top: 1px !important;
   margin-bottom: 1px !important;
   text-align: center;
   height: auto;
   white-space: normal;
}

.responsive .responsive-nav ul.art-hmenu&gt;li:first-child&gt;a
{
   margin-top: 0 !important;
}

.responsive .responsive-nav ul.art-hmenu&gt;li:last-child&gt;a
{
   margin-bottom: 0 !important;
}

/* fixes for extended menu */
.responsive .responsive-nav .ext,
.responsive .responsive-nav ul.art-hmenu&gt;li&gt;ul,
.responsive .responsive-nav ul.art-hmenu&gt;li&gt;ul&gt;li
{
   width: auto !important;
}

/* submenu position on hover */
.responsive .responsive-nav ul.art-hmenu ul
{
   left: auto !important;
   right: auto !important;
   top: auto !important;
   bottom: auto !important;
   display: none !important;
}

.responsive .responsive-nav ul.art-hmenu&gt;li&gt;ul&gt;li:first-child:after
{
   display: none;
}

.responsive .art-sheet
{
   width: auto !important;
   min-width: 240px !important;
   max-width: none;
   margin-right: 1% !important;
   margin-left: 1% !important;
}

#art-resp {
   display: none;
}

@media all and (max-width: 999px)
{
    #art-resp, #art-resp-t { display: block; }
    #art-resp-m { display: none; }
}

@media all and (max-width: 480px)
{
    #art-resp, #art-resp-m { display: block; }
    #art-resp-t { display: none; }
}

.responsive .art-content-layout,
.responsive .art-content-layout-row,
.responsive .art-layout-cell
{
   display: block;
}

.responsive .art-layout-cell
{
   width: auto !important;
   height: auto !important;
   border-right-width: 0 !important;
   border-left-width: 0 !important;
   border-radius: 0 !important;
}

.responsive .art-content-layout:after,
.responsive .art-content-layout-row:after,
.responsive .art-layout-cell:after
{
   content: &quot;.&quot;;
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

.responsive .art-post
{
   border-radius: 0;
}

.responsive .art-footer
{
   margin-top: 1%;
}

.responsive .responsive-tablet-layout-cell
{
   width: 50% !important;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}


</style>

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'/>
<script>
//<![CDATA[
/* Created by Artisteer v4.0.0.58475 */
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, jquery:false */
/*global jQuery */

// css helper
(function ($) {
    'use strict';
    var data = [
        { str: navigator.userAgent, sub: 'Chrome', ver: 'Chrome', name: 'chrome' },
        { str: navigator.vendor, sub: 'Apple', ver: 'Version', name: 'safari' },
        { prop: window.opera, ver: 'Opera', name: 'opera' },
        { str: navigator.userAgent, sub: 'Firefox', ver: 'Firefox', name: 'firefox' },
        { str: navigator.userAgent, sub: 'MSIE', ver: 'MSIE', name: 'ie' }
    ];
    var v = function (s, n) {
        var i = s.indexOf(data[n].ver);
        return (i !== -1) ? parseInt(s.substring(i + data[n].ver.length + 1), 10) : '';
    };
    var html = $('html');
    for (var n = 0; n < data.length; n++) {
        if ((data[n].str && (data[n].str.indexOf(data[n].sub) !== -1)) || data[n].prop) {
            html.addClass(data[n].name + ' ' + data[n].name + v(navigator.userAgent, n) || v(navigator.appVersion, n));
            break;
        }
    }

    // 'desktop' class is used as responsive design initial value
    html.addClass('desktop');
})(jQuery);

jQuery(function ($) {
    'use strict';
    var i, j, k, l, m;
    if (!$.browser.msie || parseInt($.browser.version, 10) !== 9) {
        return;
    }

    var splitByTokens = function (str, startToken, endToken, last) {
        if (!last) {
            last = false;
        }
        var startPos = str.indexOf(startToken);
        if (startPos !== -1) {
            startPos += startToken.length;
            var endPos = last ? str.lastIndexOf(endToken) : str.indexOf(endToken, startPos);

            if (endPos !== -1 && endPos > startPos) {
                return str.substr(startPos, endPos - startPos);
            }
        }
        return '';
    };

    var splitWithBrackets = function (str, token, brackets) {
        /*jshint nonstandard:true */
        if (!token) {
            token = ',';
        }
        if (!brackets) {
            brackets = '()';
        }
        var bracket = 0;
        var startPos = 0;
        var result = [];
        if (brackets.lenght < 2) {
            return result;
        }
        var pos = 0;
        while (pos < str.length) {
            var ch = str[pos];
            if (ch === brackets[0]) {
                bracket++;
            }
            if (ch === brackets[1]) {
                bracket--;
            }
            if (ch === token && bracket < 1) {
                result.push(str.substr(startPos, pos - startPos));
                startPos = pos + token.length;
            }
            pos++;
        }
        result.push(str.substr(startPos, pos - startPos));
        return result;
    };

    var byteToHex = function (d) {
        var hex = Number(d).toString(16);
        while (hex.length < 2) {
            hex = "0" + hex;
        }
        return hex;
    };

    for (i = 0; i < document.styleSheets.length; i++) {
        var s = document.styleSheets[i];
        var r = [s];
        for (j = 0; j < s.imports.length; j++) {
            r.push(s.imports[j]);
        }
        for (j = 0; j < r.length; j++) {
            s = r[j];
            var n = [];
            for (k = 0; k < s.rules.length; k++) {
                var css = s.rules[k].cssText || s.rules[k].style.cssText;
                if (!css) {
                    continue;
                }
                var value = splitByTokens(css, '-svg-background:', ';');
                if (value === '') {
                    continue;
                }
                var values = splitWithBrackets(value);
                for (l = 0; l < values.length; l++) {
                    var g = splitByTokens(values[l], 'linear-gradient(', ')', true);
                    if (g === '') {
                        continue;
                    }
                    var args = splitWithBrackets(g);
                    if (args.length < 3) {
                        continue;
                    }
                    var maxOffset = 0;
                    var stops = [];
                    for (m = 1; m < args.length; m++) {
                        var stopValues = splitWithBrackets(args[m].trim(), ' ');
                        if (stopValues.length < 2) {
                            continue;
                        }
                        var stopColor = stopValues[0].trim();
                        var stopOpacity = 1;
                        var colorRgba = splitByTokens(stopColor, 'rgba(', ')', true);
                        var stopOffset = stopValues[1].trim();
                        if (colorRgba !== "") {
                            var rgba = colorRgba.split(',');
                            if (rgba.length < 4) {
                                continue;
                            }
                            stopColor = '#' + byteToHex(rgba[0]) + byteToHex(rgba[1]) + byteToHex(rgba[2]);
                            stopOpacity = rgba[3];
                        }
                        var isPx = stopOffset.indexOf('px') !== -1;
                        if (isPx) {
                            maxOffset = Math.max(maxOffset, parseInt(stopOffset, 10) || 0);
                        }
                        stops.push({ offset: stopOffset, color: stopColor, opacity: stopOpacity, isPx: isPx });
                    }
                    var stopsXML = '';
                    var lastStop = null;
                    for (m = 0; m < stops.length; m++) {
                        if (stops[m].isPx) {
                            stops[m].offset = ((parseInt(stops[m].offset, 10) || 0) / (maxOffset / 100)) + '%';
                        }
                        stopsXML += '<stop offset="' + stops[m].offset + '" stop-color="' + stops[m].color + '" stop-opacity="' + stops[m].opacity + '"/>';
                        if (m === stops.length - 1) {
                            lastStop = stops[m];
                        }
                    }
                    var isLeft = args[0].trim() === 'left';
                    var direction = 'x1="0%" y1="0%" ' + (isLeft ? 'x2="100%" y2="0%"' : 'x2="0%" y2="100%"');
                    var gradientLength = '100%';
                    if (maxOffset > 0) {
                        gradientLength = maxOffset + 'px';
                    }
                    var size = (isLeft ? 'width="' + gradientLength + '" height="100%"' : 'width="100%" height="' + gradientLength + '"');
                    var last = "";
                    if (lastStop !== null && maxOffset > 0) {
                        last = '<rect ' +
                            (isLeft ?
                                'x="' + maxOffset + '" y="0"' :
                                'x="0" y="' + maxOffset + '"') +
                            ' width="100%" height="100%" style="fill:' + lastStop.color + ';opacity:' + lastStop.opacity + ';"/>';

                    }
                    var svgGradient = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><linearGradient id="g" gradientUnits="objectBoundingBox" ' + direction + '>' + stopsXML + '</linearGradient><rect x="0" y="0" ' + size + ' fill="url(#g)" />' + last + '</svg>';
                    values[l] = values[l].replace('linear-gradient(' + g + ')', 'url(data:image/svg+xml,' + escape(svgGradient) + ')');
                }
                n.push({ s: s.rules[k].selectorText, v: 'background: ' + values.join(",") });
            }
            for (k = 0; k < n.length; k++) {
                s.addRule(n[k].s, n[k].v);
            }
        }
    }
});

jQuery(function ($) {
    'use strict';
    // ie < 9 slider multiple background fix
    if (!jQuery.browser.msie || jQuery.browser.version > 8) return;
 
    function split(str) {
        str = str.replace(/"/g, '').replace(/%20/g, '');
        return  str.split(/\s*,\s*/);
    }

    $('.art-slider .art-slide-item').each(function () {
        var bgs = split($(this).css('background-image'));
        // needs to use the last image
        if (bgs.length > 1) {
            $(this).css("background-image", bgs[bgs.length - 1]);
        }
    });
});
jQuery(window).bind("resize", function () {
    /*global responsiveDesign */
    'use strict';
    if (typeof responsiveDesign !== "undefined" && responsiveDesign.isResponsive)
        return;
    var sheetLeft = jQuery(".art-sheet").offset().left;
    jQuery("header.art-header #art-flash-area").each(function () {
        var object = jQuery(this);
        object.css("left", sheetLeft + "px");
    });
});

jQuery(function($) {
    'use strict';
    $('nav.art-nav').addClass("desktop-nav");
});


jQuery(function ($) {
    'use strict';
    if (!$.browser.msie || parseInt($.browser.version, 10) > 7) {
        return;
    }
    $('ul.art-hmenu>li:not(:first-child)').each(function () { $(this).prepend('<span class="art-hmenu-separator"> </span>'); });
});

jQuery(function ($) {
    'use strict';
    $("ul.art-hmenu a:not([href])").attr('href', '#').click(function (e) { e.preventDefault(); });
});


jQuery(function ($) {
    'use strict';
    jQuery(window).bind('resize', function () {
        var bh = jQuery('body').height();
        var mh = 0;
        var c = jQuery('div.art-content');
        c.removeAttr('style');

        jQuery('#art-main').children().each(function() {
            if (jQuery(this).css('position') !== 'absolute') {
                mh += jQuery(this).outerHeight(true);
            }
        });
     
        if (mh < bh) {
            var r = bh - mh;
            c.css('height', (c.outerHeight(true) + r) + 'px');
        }
    });

    if ($.browser.msie && parseInt($.browser.version, 10) < 8) {
        $(window).bind('resize', function() {
            var c = $('div.art-content');
            var s = c.parent().children('.art-layout-cell:not(.art-content)');
            var w = 0;
            c.hide();
            s.each(function() { w += $(this).outerWidth(true); });
            c.w = c.parent().width(); c.css('width', c.w - w + 'px');
            c.show();
        });
    }

    $(window).trigger('resize');
});

jQuery(function($) {
    'use strict';
    if (!$('html').hasClass('ie7')) {
        return;
    }
    $('ul.art-vmenu li:not(:first-child),ul.art-vmenu li li li:first-child,ul.art-vmenu>li>ul').each(function () { $(this).append('<div class="art-vmenu-separator"> </div><div class="art-vmenu-separator-bg"> </div>'); });
});



var artButtonSetup = (function ($) {
    'use strict';
    return (function (className) {
        $.each($("a." + className + ", button." + className + ", input." + className), function (i, val) {
            var b = $(val);
            if (!b.hasClass('art-button')) {
                b.addClass('art-button');
            }
            if (b.is('input')) {
                b.val(b.val().replace(/^\s*/, '')).css('zoom', '1');
            }
            b.mousedown(function () {
                var b = $(this);
                b.addClass("active");
            });
            b.mouseup(function () {
                var b = $(this);
                if (b.hasClass('active')) {
                    b.removeClass('active');
                }
            });
            b.mouseleave(function () {
                var b = $(this);
                if (b.hasClass('active')) {
                    b.removeClass('active');
                }
            });
        });
    });
})(jQuery);
jQuery(function () {
    'use strict';
    artButtonSetup("art-button");
});

jQuery(function($) {
    'use strict';
    $('form.art-search>input[type="submit"]').attr('value', '');
});

var Control = (function ($) {
    'use strict';
    return (function () {
        this.init = function(label, type, callback) {
            var chAttr = label.find('input[type="' +type + '"]').attr('checked');
            if (chAttr === 'checked') {
              label.addClass('art-checked');
            }

            label.mouseleave(function () {
              $(this).removeClass('hovered').removeClass('active');
            });
            label.mouseover(function () {
              $(this).addClass('hovered').removeClass('active');
            });
            label.mousedown(function (event) {
              if (event.which !== 1) {
                  return;
              }
              $(this).addClass('active').removeClass('hovered');
            });
            label.mouseup(function (event) {
              if (event.which !== 1) {
                  return;
              }
              callback.apply(this);
              $(this).removeClass('active').addClass('hovered');
            });
        };
    });
})(jQuery);


var fixRssIconLineHeight = (function (className) {
    'use strict';
    jQuery("." + className).css("line-height", jQuery("." + className).height() + "px");
});

jQuery(function ($) {
    'use strict';
    var rssIcons = $(".art-rss-tag-icon");
    if (rssIcons.length){
        fixRssIconLineHeight("art-rss-tag-icon");
        if ($.browser.msie && parseInt($.browser.version, 10) < 9) {
            rssIcons.each(function () {
                if ($.trim($(this).html()) === "") {
                    $(this).css("vertical-align", "middle");
                }
            });
        }
    }
});
/**
* @license
* jQuery Tools 1.2.6 Mousewheel
*
* NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
*
* http://flowplayer.org/tools/toolbox/mousewheel.html
*
* based on jquery.event.wheel.js ~ rev 1 ~
* Copyright (c) 2008, Three Dub Media
* http://threedubmedia.com
*
* Since: Mar 2010
* Date:
*/
(function ($) {
    'use strict';
    $.fn.mousewheel = function (fn) {
        return this[fn ? "bind" : "trigger"]("wheel", fn);
    };

    // special event config
    $.event.special.wheel = {
        setup: function () {
            $.event.add(this, wheelEvents, wheelHandler, {});
        },
        teardown: function () {
            $.event.remove(this, wheelEvents, wheelHandler);
        }
    };

    // events to bind ( browser sniffed... )
    var wheelEvents = !$.browser.mozilla ? "mousewheel" : // IE, opera, safari
        "DOMMouseScroll" + ($.browser.version < "1.9" ? " mousemove" : ""); // firefox

    // shared event handler
    function wheelHandler(event) {
        /*jshint validthis:true*/
     
        switch (event.type) {

            // FF2 has incorrect event positions
            case "mousemove":
                return $.extend(event.data, { // store the correct properties
                    clientX: event.clientX, clientY: event.clientY,
                    pageX: event.pageX, pageY: event.pageY
                });

                // firefox
            case "DOMMouseScroll":
                $.extend(event, event.data); // fix event properties in FF2
                event.delta = -event.detail / 3; // normalize delta
                break;

            // IE, opera, safari
            case "mousewheel":
                event.delta = event.wheelDelta / 120;
                break;
        }

        event.type = "wheel"; // hijack the event
        return $.event.handle.call(this, event, event.delta);
    }

})(jQuery);


var ThemeLightbox = (function ($) {
    'use strict';
    return (function () {
        var current;
        var images = $("img.art-lightbox");

        var b = $("body");

        this.init = function (ctrl) {
            $("img.art-lightbox").live("click", { _ctrl: ctrl }, function (e) {

                if (e.data._ctrl === true && !e.ctrlKey) {
                    return;
                }

                reload();
                current = images.index(this);
                show(this);
            });

            $(".arrow.left:not(.disabled)").live("click", function () {
                move(current - 1);
            });

            $(".arrow.right:not(.disabled)").live("click", function () {
                move(current + 1);
            });

            $("img.active").live("click", function () {
                move(current + 1);
            });

            $(".close").live("click", function () {
                close();
            });
        };

        function show(src) {
            var d = $('<div id="art-lightbox-bg"><div class="close"><div class="cw"> </div><div class="ccw"> </div><div class="close-alt">&#10007;</div></div></div>');

            var img = $('<img class="art-lightbox-image active" alt="" src="' + getFullImgSrc($(src).attr("src")) + '" />');

            resizeOnLoad(img);
            img.appendTo(b);
            showArrows();

            showLoader(true);

            img.load(function () {
                showLoader(false);
                d.appendTo(b).height(Math.max(document.documentElement.scrollHeight, document.body.scrollHeight));
            });

            img.error(function () {
                showLoader(false);
                d.appendTo(b).height(Math.max(document.documentElement.scrollHeight, document.body.scrollHeight));

                //showError(true);
                img.attr("src", $(src).attr("src"));
            });
            d.click(close);
            bindMouse($(".arrow").add(img).add(d));
        }

        function reload() {
            images = $("img.art-lightbox");
        }

        function move(index) {
            if (index < 0 || index >= images.length) {
                return;
            }

            showError(false);

            current = index;

            $("img.art-lightbox-image:not(.active)").remove();

            var active = $("img.active");

            var target = $('<img class="art-lightbox-image" alt="" src="' + getFullImgSrc($(images[current]).attr("src")) + '" />');

            resizeOnLoad(target);
            active.after(target);

            showArrows();
            showLoader(true);

            bindMouse($("#art-lightbox-bg").add(target));

            target.load(function () {
                showLoader(false);

                active.removeClass("active");
                target.addClass("active");
            });

            target.error(function () {
                showLoader(false);

                //showError(true);
                active.removeClass("active");
                target.addClass("active");
                target.attr("src", $(images[current]).attr("src"));
            });
        }

        function showArrows() {
            if ($(".arrow").length === 0) {
                b.append($('<div class="arrow left"><div class="arrow-t ccw"> </div><div class="arrow-b cw"> </div><div class="arrow-left-alt">&#8592;</div></div>').css("top", $(window).height() / 2 - 40));

                b.append($('<div class="arrow right"><div class="arrow-t cw"> </div><div class="arrow-b ccw"> </div><div class="arrow-right-alt">&#8594;</div></div>').css("top", $(window).height() / 2 - 40));
            }

            if (current === 0) {
                $(".arrow.left").addClass("disabled");
            } else {
                $(".arrow.left").removeClass("disabled");
            }

            if (current === images.length - 1) {
                $(".arrow.right").addClass("disabled");
            } else {
                $(".arrow.right").removeClass("disabled");
            }
        }

        function showError(enable) {
            if (enable) {
                b.append($('<div class="lightbox-error">Żądana treść nie może zostać wczytana.<br/>Proszę spróbować ponownie później.</div>')
                        .css({ "top": $(window).height() / 2 - 60, "left": $(window).width() / 2 - 170 }));
            } else {
                $(".lightbox-error").remove();
            }
        }

        function showLoader(enable) {
            if (!enable) {
                $(".loading").remove();
            }
            else {
                $('<div class="loading"> </div>').css({ "top": $(window).height() / 2 - 16, "left": $(window).width() / 2 - 16 }).appendTo(b);
            }
        }

        var close = function () {
            $("#art-lightbox-bg, .art-lightbox-image, .arrow, .lightbox-error").remove();
        };

        function resizeOnLoad(img) {
            var width = $(window).width();
            var height = $(window).height();

            img.load(function () {
                var imgHeight = $(this).height();
                var imgWidth = $(this).width();

                // additional space is needed for the next|prev items and border around the images
                if (height < (imgHeight + 10) || width < (imgWidth + 410)) {
                    var hScale = Math.abs(imgWidth / (width - 410));
                    var vScale = Math.abs(imgHeight / (height - 100));

                    var scale = Math.max(vScale, hScale);

                    imgWidth = imgWidth / scale;
                    imgHeight = imgHeight / scale;

                    img.width(imgWidth);
                    img.height(imgHeight);
                }

                img.css({ "top": (height / 2 - imgHeight / 2) - 5, "left": (width / 2 - imgWidth / 2 - 5) });
            });

            return img;
        }

        function bindMouse(img) {
            img.unbind("wheel").mousewheel(function (event, delta) {
                delta = delta > 0 ? 1 : -1;
                move(current + delta);
                event.preventDefault();
            });

            img.mousedown(function (e) {
                // close on middle button click
                if (e.which === 2) {
                    close();
                }
                e.preventDefault();
            });
        }

        function getFullImgSrc(src) {
            var webArchiveRegex = new RegExp("http://www.[A-z0-9-]+-image.com/.webarchive/");
            if ((src.indexOf("http://") === 0 || src.indexOf("https://") === 0) && !webArchiveRegex.test(src)) {
                return src;
            }

            var fileName = src.substring(0, src.lastIndexOf('.'));
            var ext = src.substring(src.lastIndexOf('.'));
            src = fileName + "-large" + ext;

            return src;
        }

    });
})(jQuery);
jQuery(function () {
    'use strict';
    new ThemeLightbox().init();
});
(function($) {
    'use strict';
    // transition && transitionEnd && browser prefix
    $.support.transition = (function() {
        var thisBody = document.body || document.documentElement,
            thisStyle = thisBody.style,
            support = thisStyle.transition !== undefined ||
                thisStyle.WebkitTransition !== undefined ||
                thisStyle.MozTransition !== undefined ||
                thisStyle.MsTransition !== undefined ||
                thisStyle.OTransition !== undefined;
        return support && {
            event: (function() {
                var e = "transitionend";
                if ($.browser.opera) {
                    var version = parseFloat($.browser.version);
                    e = version >= 12 ? (version < 12.50 ? "otransitionend" : "transitionend") : "oTransitionEnd";
                } else if ($.browser.webkit) {
                    e = "webkitTransitionEnd";
                }
                return e;
            })(),
            prefix: (function() {
                var result;
                $.each($.browser, function(key, value) {
                    if (key === "version") {
                        return true;
                    }
                    return (result = {
                        opera: "-o-",
                        mozilla: "-moz-",
                        webkit: "-webkit-",
                        msie: "-ms-"
                    }[key]) ? false : true;
                });
                return result || "";
            })()
        };
    })();

    window.BackgroundHelper = function () {
        var slides = [];
        var direction = "next";
        var motion = "horizontal";
        var width = 0;
        var height = 0;
        var transitionDuration = "";

        this.init = function(motionType, dir, duration) {
            direction = dir;
            motion = motionType;
            slides = [];
            width = 0;
            height = 0;
            transitionDuration = duration;
        };

        this.processSlide = function(element) {
            width = element.outerWidth();
            height = element.outerHeight();
            var pos = [];

            var bgPosition = element.css("background-position");
            var positions = bgPosition.split(",");
            $.each(positions, function (i) {
                var position = $.trim(this);
                var point = position.split(" ");
                if (point.length > 1) {
                    var x = parseInt(point[0], 10);
                    var y = parseInt(point[1], 10);
                    pos.push({ x: x, y: y });
                }
            });

            slides.push({
                "images": element.css("background-image"),
                "positions": pos
            });
            element.css("background-image", "none");
        };

        this.setBackground = function(element, items) {
            var bg = [];
            $.each(items, function (i, o) {
                bg.push(o.images);
            });
            element.css({
                "background-image": bg.join(", "),
                "background-repeat": "no-repeat"
            });
        };

        this.setPosition = function(element, items) {
            var pos = [];
            $.each(items, function(i, o) {
                pos.push(o.positions);
            });
            element.css({
                "background-position": pos.join(", ")
            });
        };

        this.current = function(index) {
            return slides[index] || null;
        };

        this.next = function(index) {
            var next;
            if (direction === "next") {
                next = (index + 1) % slides.length;
            } else {
                next = index - 1;
                if (next < 0) {
                    next = slides.length - 1;
                }
            }
            return slides[next];
        };

        this.items = function(prev, next, move) {
            var prevItem = { x: 0, y: 0 };
            var nextItem = { x: 0, y: 0 };
            var isDirectionNext = direction === "next";
            if (motion === "horizontal") {
                nextItem.x = isDirectionNext ? width : -width;
                nextItem.y = 0;
                if (move) {
                    prevItem.x += isDirectionNext ? -width : width;
                    nextItem.x += isDirectionNext ? -width : width;
                }
            } else if (motion === "vertical") {
                nextItem.x = 0;
                nextItem.y = isDirectionNext ? height : -height;
                if (move) {
                    prevItem.y += isDirectionNext ? -height : height;
                    nextItem.y += isDirectionNext ? -height : height;
                }
            }
            var result = [ ];
            if (!!prev) {
                result.push({ images: prev.images, positions: getCssPositions(prev.positions, prevItem) });
            }
            if (!!next) {
                result.push({ images: next.images, positions: getCssPositions(next.positions, nextItem) });
            }
         
            if (direction === "next") {
                result.reverse();
            }

            return result;
        };

        this.transition = function(container, on) {
            container.css($.support.transition.prefix + "transition", on ? transitionDuration + " ease-in-out background-position" : "");
        };
     
        function getCssPositions(positions, offset) {
            var result = [];
            if (positions === undefined) {
                return "";
            }
            offset.x = offset.x || 0;
            offset.y = offset.y || 0;
            for (var i = 0; i < positions.length; i++) {
                result.push((positions[i].x + offset.x) + "px " + (positions[i].y + offset.y) + "px");
            }
            return result.join(", ");
        }
    };


    var Slider = function (element, settings) {

        var interval = null;
        var active = false;
        var children = element.find(".active").parent().children();
        var last = false;
        var running = false;

        this.settings = $.extend({ }, {
            "animation": "horizontal",
            "direction": "next",
            "speed": 600,
            "pause": 2500,
            "auto": true,
            "repeat": true,
            "navigator": null,
            "clickevents": true,
            "hover": true,
            "helper": null
        }, settings);

        this.move = function (direction, next) {
            var activeItem = element.find(".active"),
                nextItem = next || activeItem[direction](),
                innerDirection = this.settings.direction === "next" ? "forward" : "back",
                reset = direction === "next" ? "first" : "last",
                moving = interval,
                slider = this, tmp;

            active = true;

            if (moving) { this.stop(true); }

            if (!nextItem.length) {
                nextItem = element.find(".art-slide-item")[reset]();
                if (!this.settings.repeat) { last = true; active = false; return; }
            }

            if ($.support.transition) {
                nextItem.addClass(this.settings.direction);
                tmp = nextItem.get(0).offsetHeight;
             
                activeItem.addClass(innerDirection);
                nextItem.addClass(innerDirection);
             
                element.trigger("beforeSlide", children.length);
             
                element.one($.support.transition.event, function () {
                    nextItem.removeClass(slider.settings.direction)
                        .removeClass(innerDirection)
                        .addClass("active");
                    activeItem.removeClass("active")
                        .removeClass(innerDirection);
                    active = false;
                    setTimeout(function () {
                        element.trigger("afterSlide", children.length);
                    }, 0);
                });
            } else {
                element.trigger("beforeSlide", children.length);
             
                activeItem.removeClass("active");
                nextItem.addClass("active");
                active = false;
             
                element.trigger("afterSlide", children.length);
            }

            this.navigate(nextItem);

            if (moving) { this.start(); }
        };

        this.navigate = function (position) {
            var index = children.index(position);
            $(this.settings.navigator).children().removeClass("active").eq(index).addClass("active");
        };

        this.to = function (index) {
            var activeItem = element.find(".active"),
                children = activeItem.parent().children(),
                activeIndex = children.index(activeItem),
                slider = this;

            if (index > (children.length - 1) || index < 0) {
                return;
            }

            if (active) {
                return element.one("afterSlide", function () {
                    slider.to(index);
                });
            }
         
            if (activeIndex === index) {
                return;
            }

            this.move(index > activeIndex ? "next" : "prev", $(children[index]));
        };

        this.next = function () {
            if (!active) {
                if (last) { this.stop(); return;  }
                this.move("next");
            }
        };

        this.prev = function () {
            if (!active) {
                if (last) { this.stop(); return; }
                this.move("prev");
            }
        };

        this.start = function (force) {
            if (!!force) {
                setTimeout($.proxy(this.next, this), 10);
            }
            interval = setInterval($.proxy(this.next, this), this.settings.pause);
            running = true;
        };

        this.stop = function (pause) {
            clearInterval(interval);
            interval = null;
            running = !!pause;
            active = false;
        };

        this.active = function () {
            return running;
        };

        this.moving = function () {
            return active;
        };
     
        this.navigate(children.filter(".active"));

        if (this.settings.clickevents) {
            $(this.settings.navigator).on("click", "a", { slider: this }, function (event) {
                var activeIndex = children.index(children.filter(".active"));
                var index = $(this).parent().children().index($(this));
                if (activeIndex !== index) {
                    event.data.slider.to(index);
                }
                event.preventDefault();
            });
        }
     
        if (this.settings.hover) {
            var slider = this;
            element.add(this.settings.navigator)
                   .add(element.siblings(".art-shapes")).hover(function () {
                if (element.is(":visible") && !last) { slider.stop(true); }
            }, function () {
                if (element.is(":visible") && !last) { slider.start(); }
            });
        }
    };

    $.fn.slider = function (arg) {
        return this.each(function () {
            var element = $(this),
                data = element.data("slider"),
                options = typeof arg === "object" && arg;

            if (!data) {
                data = new Slider(element, options);
                element.data("slider", data);
            }
         
            if (typeof arg === "string" && data[arg]) {
                data[arg]();
            } else if (data.settings.auto && element.is(":visible")) {
                data.start();
            }
        });
    };

})(jQuery);




jQuery(function ($) {
    "use strict";
    if (!$.browser.msie || parseInt($.browser.version, 10) > 8)
        return;
    var path = "";
    var scripts = $("script[src*='script.js']");
    if (scripts.length > 0) {
        var src = scripts.get(0).src;
        path = src.substr(0, src.indexOf("script.js"));
    }
    var header = $(".art-header");
    var bgimages = "".split(",");
    var bgpositions = "".split(",");
    for (var i = 0; i < bgimages.length; i++) {
        var bgimage = $.trim(bgimages[i]);
        if (bgimage === "")
            continue;
        if (path !== "") {
            bgimage = bgimage.replace(/(url\(['"]?)/i, "$1" + path);
        }
        header.find(".art-shapes").prepend("<div style=\"position:absolute;top:0;left:0;width:100%;height:100%;background:" + bgimage + " " + bgpositions[i] + " no-repeat\">");
    }
    header.css('background-image', "url('https://lh3.googleusercontent.com/-q3s_3pTOkMA/UUL7ohvisBI/AAAAAAAACt0/sZZx1YRN1ps/s2048/header.jpg')".replace(/(url\(['"]?)/i, "$1" + path));
    header.css('background-position', "0 0");
});
function artInsertSidebarBlocks() {
    if (jQuery("body#layout").length > 0) return true;
    jQuery("div.widget").each(function (i, w) {

        if (jQuery(this).parent('#header').length){
            if (!jQuery(this).hasClass('Header')){
                jQuery(this).addClass('art-header-widget');
            }
            return true;
        }
     
        if (jQuery(this).children('.art-no-change').length) return true;

        if (w.id == 'Navbar1')  return true;
        if (w.id == 'Header1')  return true;
        if (w.id == 'Blog1')    return true;


        if (w.id == 'LinkList99')    return true;
        if (w.id == 'LinkList98')    return true;
        if (w.id == 'LinkList97')    return true;
        if (w.id == 'PageList98')    return true;
        if (w.id == 'PageList99')    return true;
        if (w.id == 'Text99')        return true;
        if (w.id == 'BlogArchive99') return true;

        var widget = jQuery(w);
        if ((widget.hasClass('Gadget') || widget.hasClass('Followers')) && jQuery.browser.opera) {
            return true;
        }

        var widgetTitle = jQuery("h2", widget).text();
        jQuery("h2", widget).remove();
        var widgetContent = widget.html();

        if (widgetContent.indexOf('googlesyndication.com') > -1) return true;
        if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true;
        if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true;

        var startBlock = '<div class="art-block clearfix" id="art-block-'+w.id+'">';
        var startBlockHeader = '<div class="art-blockheader">            <h3 class="t">';
        var endBlockHeader = '</h3>        </div>';
        var startBlockContent = '<div class="art-blockcontent">';
        var endBlockContent = '</div>';
        var endBlock = '</div>';

        widgetContent = startBlockContent + widgetContent + endBlockContent;
        if (widgetTitle && true) {
            widgetContent = startBlockHeader + widgetTitle + endBlockHeader + widgetContent;
        }
        jQuery(widget).html(startBlock + widgetContent + endBlock);

        if (widget.hasClass('Subscribe')) {
            widget.css({'position':'relative', 'z-index':'2'})
        }

    });
}
jQuery(function () {
    artInsertSidebarBlocks();
});


function artCheckNavBar() {
    if (!true) {
        jQuery("#navbar").remove();
    }
}

function artFixFooterMenu(){
    if (jQuery("#LinkList98").length) {
        var widgetText = jQuery("#LinkList98").html();
        jQuery("#LinkList98").html("<p>" + widgetText.replace("| |", "") + "</p>");
    } else {
        var el = jQuery("#footersection div.widget-content");
        if (jQuery.trim(el.html()) == '') {
            jQuery(".art-footer-default").show();
        }
    }
}


function artFixPostHeaders() {
    jQuery("div.art-postmetadataheader").each(function (i) {
        if (jQuery("div, h2", this).length == 0) jQuery(this).css("display", "none");
    });
}
jQuery(function () {
    artFixPostHeaders();
});


function artHeaderWidget() {
    if (showHeader == null || showHeader == false) {
        jQuery("#Header1").css("display", "none");
    }
}
jQuery(function () {
    artHeaderWidget();
});


function artVMenuWidget() {
    if (showVMenu == null || showVMenu == false) {
        jQuery("#LinkList97").css("display", "none");
        jQuery("#BlogArchive99").css("display", "none");
        jQuery("#PageList99").css("display", "none");
    }
}
jQuery(function () {
    artVMenuWidget();
});


function artFixPostFooters() {
    jQuery("div.art-postmetadatafooter > div.art-postfootericons").each(function (i) {
        if (jQuery("img, a", this).length == 0) jQuery(this).parent("div.art-postmetadatafooter").css("display", "none");
    });
}
jQuery(function () {
    artFixPostFooters();
});


var showHomePage = false;
function artFixTopCustomMenu() {
    if (jQuery("#LinkList99").length == 0) {
        var navSection = jQuery("#crosscol");
        if (navSection.length > 0) {
            if (showHomePage) {
                if (window.location == homePageLink)
                    var tmpstr = '<a href="' + homePageLink + '" class="active">';
                else
                    var tmpstr = '<a href="' + homePageLink + '">';
                navSection.html('<ul class="art-hmenu"><li>' + tmpstr + homePageName + '</a></li></ul>');
            } else {
                navSection.html('<ul class="art-hmenu"></ul>');
            }
        }
    }
    jQuery("#PageList98").hide();
}

function artFixTopPagesMenu() {
    jQuery("#LinkList99").hide();
}


function artDisplayTopMenu(menuitems) {
    var subList1 = jQuery("");
    var subList2 = jQuery("");
    var subList3 = jQuery("");

    for (var i = 0; i < menuitems.length; i++) {
        var itemname = menuitems[i][0];
        var itemlink = menuitems[i][1];
        if (itemlink == "http://./") itemlink = "#";

        if (itemname.charAt(0) != "-") {
            if (subList3.length != 0) {
                jQuery("li:last", subList2).append(subList3);
                subList3 = jQuery("");
            }
            if (subList2.length != 0) {
                jQuery("li:last", subList1).append(subList2);
                subList2 = jQuery("");
            }
            if (subList1.length != 0) {
                jQuery("ul.art-hmenu li:last").append(subList1);
                subList1 = jQuery("");
            }
            if (window.location == itemlink)
                jQuery("ul.art-hmenu").append('<li><a href="' + itemlink + '" class="active">' + itemname + '</a></li>');
            else
                jQuery("ul.art-hmenu").append('<li><a href="' + itemlink + '">' + itemname + '</a></li>');
        } else {
            if (itemname.charAt(2) == "-") {
                if (subList3.length == 0) subList3 = jQuery("<ul></ul>");
                subList3.append('<li><a href="' + itemlink + '">' + itemname.substr(3, itemname.length) + '</a></li>');
            } else if (itemname.charAt(1) == "-") {
                if (subList3.length != 0) {
                    jQuery("li:last", subList2).append(subList3);
                    subList3 = jQuery("");
                }
                if (subList2.length == 0) subList2 = jQuery("<ul></ul>");
                subList2.append('<li><a href="' + itemlink + '">' + itemname.substr(2, itemname.length) + '</a></li>');
            } else if (itemname.charAt(0) == "-") {
                if (subList3.length != 0) {
                    jQuery("li:last", subList2).append(subList3);
                    subList3 = jQuery("");
                }
                if (subList2.length != 0) {
                    jQuery("li:last", subList1).append(subList2);
                    subList2 = jQuery("");
                }
                if (subList1.length == 0) subList1 = jQuery("<ul></ul>");
                subList1.append('<li><a href="' + itemlink + '">' + itemname.substr(1, itemname.length) + '</a></li>');
            }
        }
    }
    if (subList3.length != 0) {
        jQuery("li:last", subList2).append(subList3);
        subList3 = jQuery("");
    }
    if (subList2.length != 0) {
        jQuery("li:last", subList1).append(subList2);
        subList2 = jQuery("");
    }
    if (subList1.length != 0) {
        jQuery("ul.art-hmenu li:last").append(subList1);
        subList1 = jQuery("");
    }
}


function artDisplayVMenu(vmenuitems) {

    if (jQuery("ul.art-vmenu").children().length > 0) return true;

    var subList1 = jQuery("");
    var subList2 = jQuery("");
    var subList3 = jQuery("");

    for (var i = 0; i < vmenuitems.length; i++) {
        var itemname = vmenuitems[i][0];
        var itemlink = vmenuitems[i][1];
        if (itemlink == "http://./") itemlink = "#";

        if (itemname.charAt(0) != "-") {
            if (subList3.length != 0) {
                jQuery("li:last", subList2).append(subList3);
                subList3 = jQuery("");
            }
            if (subList2.length != 0) {
                jQuery("li:last", subList1).append(subList2);
                subList2 = jQuery("");
            }
            if (subList1.length != 0) {
                jQuery("ul.art-vmenu li:last").append(subList1);
                subList1 = jQuery("");
            }
            if (window.location == itemlink)
                jQuery("ul.art-vmenu").append('<li><a href="' + itemlink + '" class="active">' + itemname + '</a></li>');
            else
                jQuery("ul.art-vmenu").append('<li><a href="' + itemlink + '">' + itemname + '</a></li>');
        } else {
            if (itemname.charAt(2) == "-") {
                if (subList3.length == 0) subList3 = jQuery("<ul></ul>");
                if (window.location == itemlink)
                    subList3.append('<li><a href="' + itemlink + '" class="active">' + itemname.substr(3, itemname.length) + '</a></li>');
                else
                    subList3.append('<li><a href="' + itemlink + '">' + itemname.substr(3, itemname.length) + '</a></li>');
            } else if (itemname.charAt(1) == "-") {
                if (subList3.length != 0) {
                    jQuery("li:last", subList2).append(subList3);
                    subList3 = jQuery("");
                }
                if (subList2.length == 0) subList2 = jQuery("<ul></ul>");
                if (window.location == itemlink)
                    subList2.append('<li><a href="' + itemlink + '" class="active">' + itemname.substr(2, itemname.length) + '</a></li>');
                else
                    subList2.append('<li><a href="' + itemlink + '">' + itemname.substr(2, itemname.length) + '</a></li>');
            } else if (itemname.charAt(0) == "-") {
                if (subList3.length != 0) {
                    jQuery("li:last", subList2).append(subList3);
                    subList3 = jQuery("");
                }
                if (subList2.length != 0) {
                    jQuery("li:last", subList1).append(subList2);
                    subList2 = jQuery("");
                }
                if (subList1.length == 0) subList1 = jQuery("<ul></ul>");
                if (window.location == itemlink)
                    subList1.append('<li><a href="' + itemlink + '" class="active">' + itemname.substr(1, itemname.length) + '</a></li>');
                else
                    subList1.append('<li><a href="' + itemlink + '">' + itemname.substr(1, itemname.length) + '</a></li>');
            }
        }
    }
    if (subList3.length != 0) {
        jQuery("li:last", subList2).append(subList3);
        subList3 = jQuery("");
    }
    if (subList2.length != 0) {
        jQuery("li:last", subList1).append(subList2);
        subList2 = jQuery("");
    }
    if (subList1.length != 0) {
        jQuery("ul.art-vmenu li:last").append(subList1);
        subList1 = jQuery("");
    }

    if (!true) {
        jQuery(".art-vmenublockheader").css("display", "none");
    }

    var a = jQuery("ul.art-vmenu a.active");
    a.parents('ul.art-vmenu').find("ul, a").removeClass('active');
    a.parent().children('ul').addClass('active');
    a.parents('ul.art-vmenu ul').addClass('active');
    a.parents('ul.art-vmenu li').children('a').addClass('active');

}


function artFixVMenuArchive() {
    if (jQuery("#art-vmenu-archive").length > 0) {
        if (!true) {
            jQuery(".art-vmenublockheader").css("display", "none");
        }
        jQuery("#art-vmenu-archive a").each(function (i) {
            if (this.href.replace('#', '') == window.location.href.replace('#', '')) {
                jQuery(this).addClass("active");
            }
        });
        var a = jQuery("#art-vmenu-archive a.active");
        a.parents('#art-vmenu-archive').find("ul, a").removeClass('active');
        a.parent().children('ul').addClass('active');
        a.parents('#art-vmenu-archive ul').addClass('active');
        a.parents('#art-vmenu-archive li').children('a').addClass('active');
    }
}


jQuery(function () {
    jQuery(".BlogList").each(function (i) {
        var bl_name = jQuery(this).attr("id");
        jQuery("#" + bl_name + "_show-all").click(function () {
            jQuery("#" + bl_name + "_blogs li").each(function (i) {
                if (jQuery(this).css("display") == "none") {
                    jQuery(this).css("display", "block");
                    jQuery(this).attr("class", bl_name + "_blogs_hidden");
                    jQuery("#" + bl_name + "_show-all").css("display", "none");
                    jQuery("#" + bl_name + "_show-n").css("display", "block");
                }
            });
        });
        jQuery("#" + bl_name + "_show-n").click(function () {
            jQuery("li." + bl_name + "_blogs_hidden").each(function (i) {
                jQuery(this).css("display", "none");
                jQuery(this).attr("class", "");
                jQuery("#" + bl_name + "_show-all").css("display", "block");
                jQuery("#" + bl_name + "_show-n").css("display", "none");
            });
        });
    });
});


function artFixNavbarPadding() {
    if (jQuery("#navbar").length) {
        jQuery("#art-main").css('margin-top', '30px');
        if (!jQuery.browser.opera)
            jQuery("#navbar").css('margin-top', '-30px');
    }
}


function artTransformSearchWidget() {
    if (typeof (google) !== 'undefined' && google != null) {
        google.setOnLoadCallback(function() {
            jQuery("form.gsc-search-box").addClass("art-search");
            jQuery("input.gsc-search-button").addClass("art-search-button").prependTo("form.gsc-search-box");
            if (jQuery("input.gsc-search-button").css("background-image") != "none") {
                jQuery("input.gsc-search-button").attr("value", "");
            }
            jQuery("input.gsc-input").prependTo("form.gsc-search-box");
            jQuery("table.gsc-search-box").remove();
            jQuery("table.gsc-branding").insertAfter("form.gsc-search-box");
        });
    }
}
jQuery(function () {
    artTransformSearchWidget();
});

jQuery(function ($) {
    var header = $("header.art-header");
    var offset = header.offset();
    if (!offset) {
        return;
    }
    if (jQuery("#navbar").length) {
        offset.top -= 30;
    }
    $("#art-header-bg").css({
        "top": offset.top + "px"
    });
});

jQuery(function ($) {
    var menu = $(".art-nav:not(#art-hmenu-bg)");
    var offset = menu.offset();
    if (!offset) {
        return;
    }
    if (jQuery("#navbar").length) {
        offset.top -= 30;
    }
    $("#art-hmenu-bg").css({
        "height": menu.height() + "px",
        "top": offset.top + "px"
    });
});

//]]>
</script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script>
//<![CDATA[
/* Created by Artisteer v4.0.0.58475 */
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, jquery:false */
/*global jQuery */

var responsiveDesign = {
    isResponsive: false,
    isDesktop: false,
    isTablet: false,
    isPhone: false,
    windowWidth: 0,
    responsive: function () {
        'use strict';
        var html = jQuery("html");
        this.windowWidth = jQuery(window).width();
        var triggerEvent = false;

        var isRespVisible = jQuery("#art-resp").is(":visible");
        if (isRespVisible && !this.isResponsive) {
            html.addClass("responsive").removeClass("desktop");
            this.isResponsive = true;
            this.isDesktop = false;
            triggerEvent = true;
        } else if (!isRespVisible && !this.isDesktop) {
            html.addClass("desktop").removeClass("responsive responsive-tablet responsive-phone");
            this.isResponsive = this.isTablet = this.isPhone = false;
            this.isDesktop = true;
            triggerEvent = true;
        }

        if (this.isResponsive) {
            if (jQuery("#art-resp-t").is(":visible") && !this.isTablet) {
                html.addClass("responsive-tablet").removeClass("responsive-phone");
                this.isTablet = true;
                this.isPhone = false;
                triggerEvent = true;
            } else if (jQuery("#art-resp-m").is(":visible") && !this.isPhone) {
                html.addClass("responsive-phone").removeClass("responsive-tablet");
                this.isTablet = false;
                this.isPhone = true;
                triggerEvent = true;
            }
        }

        if (triggerEvent) {
            jQuery(window).trigger("responsive", this);
        }

        jQuery(window).trigger("responsiveResize", this);
    },
    initialize: function () {
        "use strict";
        jQuery("<div id=\"art-resp\"><div id=\"art-resp-m\"></div><div id=\"art-resp-t\"></div></div>").appendTo("body");
        jQuery(window).resize(function () {
            responsiveDesign.responsive();
        });
        jQuery(window).trigger("resize");
    }
};

function responsiveAbsBg(responsiveDesign, el, bg) {
    "use strict";
    if (bg.length === 0)
        return;

    var desktopBgTop = bg.attr("data-bg-top");
    var desktopBgHeight = bg.attr("data-bg-height");

    if (responsiveDesign.isResponsive) {
        if (typeof desktopBgTop === "undefined" || desktopBgTop === false) {
            bg.attr("data-bg-top", bg.css("top"));
            bg.attr("data-bg-height", bg.css("height"));
        }

        var elTop = el.offset().top;
        var elHeight = el.outerHeight();
        bg.css("top", elTop + "px");
        bg.css("height", elHeight + "px");
    } else if (typeof desktopBgTop !== "undefined" && desktopBgTop !== false) {
        bg.css("top", desktopBgTop);
        bg.css("height", desktopBgHeight);
        bg.removeAttr("data-bg-top");
        bg.removeAttr("data-bg-height");
    }
}

jQuery(window).bind("responsive", function (event, responsiveDesign) {
    'use strict';
    responsiveCollages(responsiveDesign);
    responsiveImages(responsiveDesign);
    responsiveVideos(responsiveDesign);
});

function responsiveImages(responsiveDesign) {
    'use strict';
    jQuery("img[width]").each(function () {
        var img = jQuery(this), newWidth = "", newMaxWidth = "", newHeight = "";
        if (responsiveDesign.isResponsive) {
            newWidth = "auto";
            newHeight = "auto";
            newMaxWidth = "100%";

            var widthAttr = img.attr("width");
            if (widthAttr !== null && typeof(widthAttr) === "string" && widthAttr.indexOf("%") === -1) {
                newWidth = "100%";
                newMaxWidth = parseInt(jQuery.trim(widthAttr), 10) + "px";
            }
        }
        img.css("width", newWidth).css("max-width", newMaxWidth).css("height", newHeight);
    });
}

function responsiveCollages(responsiveDesign) {
    'use strict';
    if (jQuery.browser.msie && jQuery.browser.version <= 8) return;
    jQuery(".art-collage").each(function () {
        var collage = jQuery(this);
        var sliderObject = collage.find(".art-slider").data("slider");
        var responsiveImage = jQuery("img#" + collage.attr("id"));

        if (responsiveDesign.isResponsive) {
            if (responsiveImage.length) { return true; }
            if (jQuery.support.transition) {
                collage.find(".art-slider").trigger(jQuery.support.transition.event);
            }
            if (sliderObject) {
                sliderObject.stop();
            }
            var activeSlide = collage.find(".art-slide-item.active");
            if (!activeSlide.length) {
                var slides = collage.find(".art-slide-item");
                if (slides.length) {
                    activeSlide = jQuery(slides.get(0));
                }
            }
            activeSlide.css("background-image", "");
            var bg = activeSlide.css("background-image").replace(/url\(['"]?(.+?)['"]?\)/i, "$1");
            jQuery("<img/>").attr({
                "src": bg,
                "id": collage.attr("id")
            }).insertBefore(collage);
        } else if (responsiveImage.length) {
            responsiveImage.remove();
            if (sliderObject) {
                if (sliderObject.settings.animation !== "fade") {
                    collage.find(".art-slide-item").css("background-image", "none");
                }
                sliderObject.start();
            }
        }
    });
}

function responsiveVideos(responsiveDesign) {
    "use strict";
    jQuery("iframe,object,embed").each(function () {
        var obj = jQuery(this);
        var container = obj.parent(".art-responsive-embed");
        if (responsiveDesign.isResponsive) {
            if (container.length !== 0)
                return;
            container = jQuery("<div class=\"art-responsive-embed\">").insertBefore(obj);
            obj.appendTo(container);
        } else if (container.length > 0) {
            obj.insertBefore(container);
            container.remove();
        }
    });
}

jQuery(window).bind("responsiveResize", function (event, responsiveDesign) {
    "use strict";
    responsiveAbsBg(responsiveDesign, jQuery(".art-header"), jQuery("#art-header-bg"));
});
jQuery(window).bind("responsive", function (event, responsiveDesign) {
    "use strict";
    if (jQuery.browser.msie && jQuery.browser.version <= 8) return;
    responsiveHeader(responsiveDesign);
});

function responsiveHeader(responsiveDesign) {
    "use strict";
    var header = jQuery("header.art-header");
    var headerShapes = header.find(".art-shapes");
    var headerSlider = header.find(".art-slider");
 
    if (headerSlider.length) {
        var sliderObject = headerSlider.data("slider");
     
        var activeSlide = headerSlider.find(".art-slide-item.active");
        if (!activeSlide.length) {
            var slides = headerSlider.find(".art-slide-item");
            if (slides.length) {
                 activeSlide = jQuery(slides.get(0));
            }
        }

        var textblock = headerSlider.find(".art-textblock").eq(0);

        if (responsiveDesign.isResponsive) {
            if (header.attr("data-responsive")) return true;
            activeSlide.css("background-image", "");
            header.attr("data-responsive", "true");
            headerSlider.fadeOut(0);
            if (jQuery.support.transition) {
                headerSlider.trigger(jQuery.support.transition.event);
            }
            if (sliderObject) {
                sliderObject.stop();
            }
            if (header.find(".art-slogan, .art-headline").length === 0) {
                var tb = textblock.clone();
                tb.css("display", "block");
                tb.children("div").css("display", "block");
                tb.appendTo(headerShapes);
            }
            // activeslide background
            var bg = activeSlide.css("background-image").split(/\s*,\s*/);
            header.css("background-image", bg[bg.length - 1]);
        } else if (header.attr("data-responsive")) {
            header.removeAttr("data-responsive");
            header.css("background-image", "");
            if (sliderObject) {
                if (sliderObject.settings.animation !== "fade") {
                    headerSlider.find(".art-slide-item").css("background-image", "none");
                }
                headerShapes.find(".art-textblock").remove();
                headerSlider.fadeIn(0);
                sliderObject.start();
            }
        }
    } else if (header.find(".art-slogan, .art-headline").length === 0) {
        header.find(".art-textblock").each(function () {
            jQuery(this).add(jQuery(this).children("div")).css("display", responsiveDesign.isResponsive ? "inline-block" : "");
            return false; // break
        });
        jQuery(window).trigger("resize");
    }
}

jQuery(window).bind("responsiveResize", function (event, responsiveDesign) {
    "use strict";
    responsiveAbsBg(responsiveDesign, jQuery("nav.art-nav"), jQuery("#art-hmenu-bg"));
    responsiveNavFit(responsiveDesign);
});

function responsiveNavFit(responsiveDesign) {
    'use strict';
    var nav = jQuery("nav.art-nav");
    var isDesktopNav = true;
    var isResponsiveNav = false;
    if (responsiveDesign.isResponsive) {
        if (!nav.hasClass("responsive-nav")) {
            var itemsWidth = 0;
            var menu = nav.find(".art-hmenu");
            menu.children("li").each(function() {
                itemsWidth += jQuery(this).outerWidth(true);
            });
         
            if (menu.width() < itemsWidth || responsiveDesign.isPhone) {
                nav.attr("data-restore-width", responsiveDesign.windowWidth).addClass("responsive-nav").removeClass("desktop-nav");
                isResponsiveNav = true;
                isDesktopNav = false;
            }
        } else {
            var desktopRestoreWidth = parseInt(nav.attr("data-restore-width"), 10) || 0;
            if (desktopRestoreWidth !== 0 && responsiveDesign.windowWidth <= desktopRestoreWidth) {
                isResponsiveNav = true;
                isDesktopNav = false;
            }
        }
    }

    if (isDesktopNav) {
        nav.removeClass("responsive-nav").addClass("desktop-nav").removeAttr("data-restore-width");
    }

    jQuery(window).trigger("responsiveNav", {isDesktopNav: isDesktopNav, isResponsiveNav: isResponsiveNav});
}



jQuery(window).bind("responsive", function (event, responsiveDesign) {
    "use strict";
    responsiveLayoutCell(responsiveDesign);
});

function responsiveLayoutCell(responsiveDesign) {
    "use strict";
    jQuery(".art-content .art-content-layout-row,.art-footer .art-content-layout-row").each(function () {
        var row = jQuery(this);
        var rowChildren = row.children(".art-layout-cell");
        if (rowChildren.length > 1) {
            if (responsiveDesign.isTablet) {
                rowChildren.addClass("responsive-tablet-layout-cell").each(function (i) {
                    if ((i + 1) % 2 === 0) {
                        jQuery(this).after("<div class=\"cleared responsive-cleared\">");
                    }
                });
            } else {
                rowChildren.removeClass("responsive-tablet-layout-cell");
                row.children(".responsive-cleared").remove();
            }
        }
    });
}

jQuery(window).bind("responsive", function (event, responsiveDesign) {
    "use strict";
    responsiveLayoutCell(responsiveDesign);
});

function responsiveLayoutCell(responsiveDesign) {
    "use strict";
    jQuery(".art-content .art-content-layout-row,.art-footer .art-content-layout-row").each(function () {
        var row = jQuery(this);
        var rowChildren = row.children(".art-layout-cell");
        if (rowChildren.length > 1) {
            if (responsiveDesign.isTablet) {
                rowChildren.addClass("responsive-tablet-layout-cell").each(function (i) {
                    if ((i + 1) % 2 === 0) {
                        jQuery(this).after("<div class=\"cleared responsive-cleared\">");
                    }
                });
            } else {
                rowChildren.removeClass("responsive-tablet-layout-cell");
                row.children(".responsive-cleared").remove();
            }
        }
    });
}



jQuery(responsiveDesign.initialize);

//]]>
</script>


</head>
<body>
    <b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'>
<b:widget id='Navbar1' locked='true' title='Pasek nawigacyjny' type='Navbar'/>
</b:section>
 
<script>
artCheckNavBar();
var showHeader = false;
var showVMenu = false;
</script>
<div id='art-main'>
<script>
artFixNavbarPadding();
</script>
<header class='art-header clearfix'>
<b:section id='header' showaddelement='yes'>
<b:widget id='Header1' locked='true' title='Szablon (nagłówek)' type='Header'/>
</b:section>
<script>
var showHeader = true;
</script>
</header>
<div class='art-nav clearfix desktop-nav'>
<b:section id='crosscol' maxwidgets='1' showaddelement='no'>
<b:widget id='PageList98' locked='false' title='Pages' type='PageList'/>
</b:section>
<script>
artFixTopPagesMenu();
</script>
</div>
<div class='art-sheet clearfix'>
            <div class='art-layout-wrapper clearfix'>
                <div class='art-content-layout'>
                    <div class='art-content-layout-row'>
                        <b:section class='art-layout-cell art-sidebar1 clearfix' id='sidebar1' preferred='yes'>
<b:widget id='Profile1' locked='false' title='O mnie' type='Profile'/>
<b:widget id='Attribution1' locked='false' title='' type='Attribution'/>
<b:widget id='BlogArchive1' locked='false' title='Archiwum bloga' type='BlogArchive'/>
</b:section>
                        <b:section class='art-layout-cell art-content clearfix' id='main' showaddelement='yes'>
<b:widget id='Blog1' locked='true' title='Posty w blogu' type='Blog'/>
</b:section>
                    </div>
                </div>
            </div>
<div id='footer-wrapper'>
    <b:section class='footer' id='footer' showaddelement='no'/>
</div>
<footer class='art-footer clearfix'>
<div class='art-footer-default' style='display:none;'>
<p>MOVIESTARPLANET-ANNAGRA.BLOGSPOT.COM</p>
 
</div><b:section class='art-footer-nav' id='footersection' maxwidgets='2' showaddelement='no'>
<b:widget id='LinkList98' locked='false' title='Footer Links' type='LinkList'/>
<b:widget id='Text99' locked='false' title='Copyright Text' type='Text'/>
</b:section>

<script>
artFixFooterMenu();

</script>

    <p class='art-page-footer'>
        <span id='art-footnote-links'>&#65279;<a href='http://www.artisteer.com/?p=blogger_templates' target='_blank'>Blogger Template</a> created with by ANNA GRA
<a href='' target='_blank'/>.</span>
    </p>
</footer>

    </div>
</div>



</body>
</html>

0 komentarze: