/* layout */
body { background: #212121 url(/packages/theme_long_way_home/themes/long_way_home/images/bg-header.png) repeat left top }
.c5wrapper { 
    /* customize_body */ color:#000; /* customize_body */
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 21px;
    background: #fcfcfc url(/packages/theme_long_way_home/themes/long_way_home/images/bg-subtle.png) repeat left top;
    /* customize_background */ background-color: #fcfcfc; /* customize_background */
}
.pull-right { float: right }
.pull-left { float: left }
.mobile-only { display: none }
#searchResults .pageLink {
    color: #000;
}
#main img {
    max-width: 100%;
    width: auto;
    height: auto;
}
.c5wrapper hr {
    border: none;
    clear: both;
    margin: 0 0 20px;
    height: 10px;
    background: no-repeat center left url(/packages/theme_long_way_home/themes/long_way_home/images/hr.png);
}
.c5wrapper hr.hr-plus {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-plus.png);
}
.c5wrapper hr.hr-less {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-less.png);
}
.c5wrapper hr.hr-slash {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-slash.png);
}
.c5wrapper hr.hr-gray {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-gray.png);
}
.c5wrapper hr.hr-plus-gray {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-plus-gray.png);
}
.c5wrapper hr.hr-less-gray {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-less-gray.png);
}
.c5wrapper hr.hr-slash-gray {
    background-image: url(/packages/theme_long_way_home/themes/long_way_home/images/hr-slash-gray.png);
}
.c5wrapper .divider {
    border: none;
    clear: both;
    display: block;
    margin: 0 0 20px;
    height: 32px;
    background: no-repeat center center url(/packages/theme_long_way_home/themes/long_way_home/images/divider.png);
    width: 100%;
    text-align: center;
}
.c5wrapper .title-background span, .c5wrapper .title-background-gray span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.c5wrapper .title-background span.title-bg-text, .c5wrapper .title-background-gray span.title-bg-text {
    padding-right:10px;
    max-width: 90%;
    float: left;
}
.c5wrapper .title-background span.title-bg-img {
    background: repeat-x center left url(/packages/theme_long_way_home/themes/long_way_home/images/hr-slash.png);
}
.c5wrapper .title-background-gray span.title-bg-img {
    background: repeat-x center left url(/packages/theme_long_way_home/themes/long_way_home/images/hr-slash-gray.png);
}
.drop-shadow {
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
#main {
    margin: 0;
    padding: 30px 0;
    min-height: 450px;
}
div.header {
    padding: 35px 0 10px 0;
    color:#ededed;
    overflow: hidden;
    min-height: 55px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    background: #fff repeat left top;
}
.navigation {
    color:#fff;
    background: #FF6600 repeat left top;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
    -o-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
}
.footer {
    color:#fff;
    background: #212121 url(/packages/theme_long_way_home/themes/long_way_home/images/bg-header.png) repeat left top;
    padding: 20px 0;
}
.four.columns li.nav-selected > a {
    font-weight: bold;
}

/* layout mobile */
@media only screen and (max-width: 767px) { 
    .header { padding-top: 20px }
    .pull-right { float: left }
    .mobile-only { display: block }
    .ccm-layout-col { width: 100% !important }
}

/* navigation */
.navigation {
    margin: 0;
    border-top: 1px solid #c94e01;
    height: 30px;
}
nav.primary select {
    display: none;
    width: 100%;
    height: 28px;
    margin: 21px 0;
}
nav.container { top: -1px }
.sf-menu ul.nav,
.sf-menu ul.nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-menu ul.nav li { position: relative }
.sf-menu ul.nav ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}
.sf-menu ul.nav > li { float: left }
.sf-menu ul.nav li:hover > ul,
.sf-menu ul.nav li.sfHover > ul { display: block }
.sf-menu ul.nav a {
    display: block;
    position: relative;
}
.sf-menu ul.nav ul ul {
    top: 0;
    left: 100%;
}

/* navigation skin */
.sf-menu ul.nav {
    float: left;
    margin-bottom: 1em;
}
.sf-menu ul.nav ul {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    min-width: 12em; /* allow long menu items to determine submenu width */
    *width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu ul.nav a {
    line-height: 30px;
    padding: 0 12px 0 16px;
    text-decoration: none;
    zoom: 1; /* IE7 */
}
.sf-menu ul.nav a {
    color: #eee;
    font-weight: bold;
    letter-spacing: 0.08em;
}
.sf-menu ul.nav li {
    background: transparent;
    box-shadow: -1px 0 0px 1px rgba(0,0,0,.1);
    -webkit-box-shadow: -1px 0 0px 1px rgba(0,0,0,.1);
    -moz-box-shadow: -1px 0 0px 1px rgba(0,0,0,.1);
    -o-box-shadow: -1px 0 0px 1px rgba(0,0,0,.1);
    white-space: nowrap; /* no need for Supersubs plugin */
    *white-space: normal; /* ...unless you support IE7 (let it wrap) */
    /* -webkit-transition: background .2s;
    transition: background .2s; */
    z-index: 1;
}
.sf-menu ul.nav ul li { background: #fcfcfc }
.sf-menu ul.nav li.nav-path-selected,
.sf-menu ul.nav li:hover,
.sf-menu ul.nav li.sfHover {
    background: #fcfcfc;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
    -moz-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
    -o-box-shadow: 0 0 5px 1px rgba(0,0,0,.2);
    /* only transition out, not in */
    -webkit-transition: none;
    transition: none;
    z-index: 2;
}
.sf-menu ul.nav li:hover,
.sf-menu ul.nav li.sfHover { z-index: 3 }
.sf-menu ul.nav li.nav-path-selected li,
.sf-menu ul.nav li:hover li,
.sf-menu ul.nav li.sfHover li {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
}
.sf-menu ul.nav li.nav-path-selected a,
.sf-menu ul.nav li:hover a,
.sf-menu ul.nav li.sfHover a {
    color: #000;
    padding-bottom: 7px;
}
.sf-menu ul.nav li.nav-path-selected li a,
.sf-menu ul.nav li:hover li a,
.sf-menu ul.nav li.sfHover li a {
    color: #666;
    padding-bottom: 0px;
    line-height: 35px;
}
.sf-menu ul.nav li li.nav-path-selected a,
.sf-menu ul.nav li li:hover a,
.sf-menu ul.nav li li.sfHover a { color: #000 }

/* navigation arrows */
nav.primary ul li a.sf-with-ul {
    padding-right: 2.25em;
    min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
    position: absolute;
    display: block;
    right: .75em;
    top: 1.05em; /* IE6 only */
    width: 10px;
    height: 10px;
    text-indent: -999em;
    overflow: hidden;
    background: url(/packages/theme_long_way_home/themes/long_way_home/images/arrows-single.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {
    /* give all except IE6 the correct values */
    top: .8em;
    background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

/* navigation: apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator,
li.nav-path-selected > a > .sf-sub-indicator {
    background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* navigation: point right for anchors in subs */
nav.primary ul li ul .sf-sub-indicator { background-position: -10px 0 }
nav.primary ul li ul a > .sf-sub-indicator { background-position: 0 0 }

/* navigation: apply hovers to modern browsers */
nav.primary ul li ul a:focus > .sf-sub-indicator,
nav.primary ul li ul a:hover > .sf-sub-indicator,
nav.primary ul li ul a:active > .sf-sub-indicator,
nav.primary ul li ul li:hover > a > .sf-sub-indicator,
nav.primary ul li ul li.sfHover > a > .sf-sub-indicator {
    background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/* navigation: mobile */
@media only screen and (max-width: 767px) { 
    .navigation { height: 50px }
    nav.primary { padding: 2px 0 }
    nav.primary select { display: block }
    nav.primary ul { display: none }
    nav.primary select { margin: 10px 0 }
}

/* card-style wrapper for blocks */
.card {
    color: #000;
    background: #fcfcfc;
    padding: 15px;
    margin: 0 0 20px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.card p:last-child, .card ul:last-child {
    margin-bottom:10px;
}
.card.black {
    color: #fff;
    background: #000;
}
.card.black p,
.card.black h1,
.card.black h2,
.card.black h3,
.card.black h4,
.card.black h5,
.card.black h6,
.card.black a, .card.black a:visited, .card.black a:hover, .card.black a:focus { color: #fff }
.gray, .grey { background: #ddd }
.yellow { background: #f9f6bb }
.blue { background: #d5dcde }
.green { background: #d4e2d6 }
.violet, .purple { background: #d7cdd0 }
.pink { background: #f1dcd9 }
.red { background: #9E4444 }

/* html elements */
.c5wrapper input[type="text"], .c5wrapper input[type="password"],
.c5wrapper input[type="email"], .c5wrapper textarea, .c5wrapper select {
    max-width: 95%;
}
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] { margin-bottom: 4px }
input[type="text"].long-way-home-search-bar {
    display:inline-block;
    margin: 0 0 10px 0;
}
input[type="submit"].long-way-home-search-bar {
    display:inline-block;
    margin: 0;
}
form.long-way-home-search-bar {margin:5px 0;}
td { vertical-align: top }
table { margin: .5em 0 1em }
table th {
    text-align: left;
    border: 1px solid #d1d1d1;
    padding: .4em .8em;
    background: #ddd;
    font-weight: bold;
}
table td {
    background-color: #fff;
    border: 1px solid #d1d1d1;
    padding: 10px;
}
form th,
form td {
    background: transparent;
    border: none;
}
ul,
ol { margin-bottom: 20px }
ul { list-style: circle outside }
ol { list-style: decimal }
ol,
ul,
ul.square,
ul.circle,
ul.disc { margin-left: 30px }
ul.square { list-style: square outside }
ul.circle { list-style: circle outside }
ul.disc { list-style: disc outside }
ul ul,
ul ol,
ol ol,
ol ul { margin: 4px 0 5px 30px }
ul ul li,
ul ol li,
ol ol li,
ol ul li { margin-bottom: 6px }
li {
    line-height: 18px;
    margin-bottom: 12px;
}
ul.large li { line-height: 21px }
li p { line-height: 21px }
dl { margin: 0 0 1.5em 0 }
dl dt { font-weight: bold }
dd { margin-left: 1.5em }
pre {
    margin: 1.5em 0;
    white-space: pre;
}

/* blog */
ul.ccm-tag-list {
    list-style: none;
    margin-left: 0;
}
img.ccm-output-thumbnail { margin-bottom: 10px }
#main-content-post-author p { font-style: italic }
.guestBook-formBlock { margin-top: 20px }
.c5wrapper h4.guestBook-title {
    border-bottom: 1px solid #666;
    font-size: 41px;
    line-height: 45px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.c5wrapper .blog-entry h4.guestBook-title { margin-top: 100px }
.c5wrapper .guestBook-formBlock h5 {
    margin-bottom: 10px;
    background: url(/packages/theme_long_way_home/themes/long_way_home/images/icons/pencil_32.png) no-repeat top left;
    padding-left: 40px;
    line-height: 38px;
    font-size: 31px;
}
.guestBook-formBlock label { display: inline }
.guestBook-formBlock input[type="text"],
.guestBook-formBlock input[type="password"],
.guestBook-formBlock input[type="email"],
.guestBook-formBlock textarea,
.guestBook-formBlock select { margin-bottom: 0px }
.guestBook-formBlock textarea { margin: 20px 0 12px 0 }

/* page list */
.page-list-card {
    color: #000;
    background: #fcfcfc;
    margin: 0 2% 2% 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    width: 100%;
    min-width: 300px;
    min-height: 180px;
}
.page-list-card.last { margin-right: 0 }
.page-list-card-container { padding: 15px }
.page-list-card .image-link {
    width: 150px;
    height: 150px;
    overflow: hidden;
    float: left;
    margin: 0 15px 5px 0;
}
.page-list-card .image-link img {
    width: 100%;
    height: auto;
}
.page-list-card img.ccm-output-thumbnail { margin: 0 }
.page-list-card h3,
.page-list-card p { margin-bottom: 0 }
.page-list-card p small { line-height: 2.4em }
.c5wrapper a > img.clickable {
    opacity: .8;
    cursor: pointer;
}
.c5wrapper a > img.clickable:hover { opacity: 1 }
.page-list-card:hover a > img { opacity: 1 }
a.read-more,
a.read-more:hover,
a.read-more:visited { text-decoration: none }
#pagination {
    padding-top: 30px;
    position: relative;
    text-align: center;
}
.pagination-left {
    position: absolute;
    top: 0;
    left: 0;
}
.pagination-right {
    position: absolute;
    top: 0;
    right: 0;
}
#pagination span { padding: 4px }

/* page list mobile */
@media only screen and (max-width: 767px) { 
    .page-list-card { min-height: 130px }
    .page-list-card .image-link {
        width: 100px;
        height: 100px;
    }
}

/*page list grid*/
ul.card-grid, ul.card-grid li {
    margin:0;
    padding:0;
    list-style: none;
}
ul.card-grid {
    text-align: justify;
    font-size: 0.1px;
    line-height: 0.1px;
}
ul.card-grid li {
    text-align: left;
    font-size: 14px;
    line-height: 21px;
}
.ie7 ul.card-grid {
    text-justify: distribute-all-lines;
    zoom:1;
}
ul.card-grid li {
    display: inline-block;
    width: 220px;
    height: 220px;
    margin:0 0 20px 0;
}
ul.card-grid li div.page-list-item {
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    color: #000;
    background: #fcfcfc;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.ie7 ul.card-grid li {
    zoom:1;
    display: inline;
}
ul.card-grid li.break {
    width: 100%;
    height: 0;
    margin: 0;
    line-height: 0;
}
ul.card-grid li.placeholder {
    height: 0;
    margin: 0;
    line-height: 0;
}
ul.card-grid li p { display: none }
ul.card-grid li .image-link {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
}
ul.card-grid li img.ccm-output-thumbnail { margin: 0; }
ul.card-grid li .page-list-description {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 200px;
    overflow: hidden;
    text-align: right;
}
ul.card-grid li h3 {
    font-size: 36px;
    line-height: 48px;
}
ul.card-grid li .page-list-description a { display: block }
ul.card-grid li .page-list-description a span {
    padding: 3px 6px 0 6px;
    background: rgb(250,250,250);
    background: rgba(250,250,250,0.9);
}


/* page list grid responsive */
@media only screen and (min-width: 768px) and (max-width: 959px) { 
    ul.card-grid li {
        width: 172px;
        height: 172px;
    }
    ul.card-grid li .page-list-description { width: 152px }
    ul.card-grid li h3 {
        font-size: 31px;
        line-height: 41px;
    }
}
@media only screen and (max-width: 767px) { 
    ul.card-grid li {
        width: 300px;
        height: 300px;
    }
    ul.card-grid li .page-list-description { width: 280px }
}
@media only screen and (min-width: 480px) and (max-width: 767px) { 
    ul.card-grid li {
        width: 200px;
        height: 200px;
    }
    ul.card-grid li .page-list-description { width: 180px }
    ul.card-grid li h3 {
        font-size: 31px;
        line-height: 41px;
    }
}

/* page list scattered */
ul.card-grid.scattered li {
    height: 245px;
}
ul.card-grid.scattered li.break, ul.card-grid.scattered li.placeholder {
    height: 0;
    margin: 0;
    line-height: 0;
}
ul.card-grid.scattered li div.page-list-item.tilted {
    width: 210px;
    height: 210px;
    border:5px solid white;
    border-width: 5px 5px 30px 5px;
}
ul.card-grid.scattered li .page-list-description {
    left: 15px;
    width: 190px;
}

/* page list scattered responsive */ 
@media only screen and (min-width: 768px) and (max-width: 959px) { 
    ul.card-grid.scattered li { height: 197px; }
    ul.card-grid.scattered li div.page-list-item.tilted {
        width: 162px;
        height: 162px;
    }
    ul.card-grid.scattered li .page-list-description { width: 142px }
}
@media only screen and (max-width: 767px) { 
    ul.card-grid.scattered li { height: 325px; }
    ul.card-grid.scattered li  div.page-list-item.tilted {
        width: 290px;
        height: 290px;
    }
    ul.card-grid.scattered li .page-list-description { width: 270px }
}
@media only screen and (min-width: 480px) and (max-width: 767px) { 
    ul.card-grid.scattered li { height: 225px; }
    ul.card-grid.scattered li  div.page-list-item.tilted {
        width: 190px;
        height: 190px;
    }
    ul.card-grid.scattered li .page-list-description { width: 170px }
}

/* page list scattered tilts */
ul.card-grid.scattered li div.tilted {
    transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
}
ul.card-grid.scattered li:nth-child(even) div.tilted {
    transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    -moz-transform: rotate(1deg);
}
ul.card-grid.scattered li:nth-child(3n) div.tilted {
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    position: relative;
    top: -2px;
}
ul.card-grid.scattered li:nth-child(5n) div.tilted {
    transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    position: relative;
    right: 2px;
}
ul.card-grid.scattered li:nth-child(8n) div.tilted {
    position: relative;
    top: 3px;
    right: 2px;
}
ul.card-grid.scattered li:nth-child(11n) div.tilted {
    position: relative;
    top: 1px;
    left: -2px;
}
