/*  
Theme Name: Fibertech Optica
Theme URI: http://www.alexleuschner.com
Version: 1.0.0
Author: Alex Leuschner

COLOR SCHEME

Blue: #0F5390;
Green: #92A83C;
Orange: #F7941E;

*/


/************************************************************************************
RESET
*************************************************************************************/

html,
body,
address,
blockquote,
div,
dl,
form,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
p,
pre,
table,
ul,
dd,
dt,
li,
tbody,
td,
tfoot,
th,
thead,
tr,
button,
del,
ins,
map,
object,
a,
abbr,
acronym,
b,
bdo,
big,
br,
cite,
code,
dfn,
em,
i,
img,
kbd,
q,
samp,
small,
span,
strong,
sub,
sup,
tt,
var,
legend,
fieldset,
figure {
    margin: 0;
    padding: 0;
}

img,
fieldset {
    border: 0;
}


/* set html5 elements to block */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}


/* set img max-width */

img {
    max-width: 100%;
    height: auto;
}


/* ie 8 img max-width */

@media \0screen {
    img {
        width: auto;
    }
}

.mobile {
    display: none;
}


/************************************************************************************
GENERAL STYLING
*************************************************************************************/

html {
    background: #E6E6E6;
}

body {
    font: .81em/150% 'Open Sans', Arial, Helvetica, sans-serif;
    color: #333;
}

a {
    color: #0F5390;
    text-decoration: none;
    outline: none;
}

a:hover {
    text-decoration: none;
}

p {
    margin: 0 0 1.2em;
    padding: 0;
}

small {
    font-size: 87%;
}

blockquote {
    font: italic 110%/130% "Times New Roman", Times, serif;
    padding: 8px 30px 15px;
}


/* Browser FIXES
=================================================*/


/* Fixes Google Fonts rendering on Chrome */

body {
    -webkit-animation-delay: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-duration: 0.1s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
}

@-webkit-keyframes fontfix {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}


/* Ends fix for Google Fonts Rendering issue on Chrome */


/* LIST
================================================ */

ul,
ol {
    margin: 1em 0 1.4em 24px;
    padding: 0;
    line-height: 140%;
}

li {
    margin: 0 0 .5em 0;
    padding: 0;
}


/* HEADINGS
================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4em;
    margin: 20px 0 .4em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1em;
}


/* FORM
================================================ */


/* form input */

input,
textarea,
select,
input[type=search],
button {
    font-size: 100%;
    font-family: inherit;
}

input[type=text],
input[type=password],
textarea,
input[type=search],
input[type=email],
input[type=tel] {
    background: #f3f3f3;
    border: solid 1px #ddd;
    padding: 6px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-appearance: none;
}

input[type=text],
input[type=search],
input[type=email],
input[type=tel] {
    width: 240px;
    max-width: 90%;
}


/* text area */

textarea {
    line-height: 150%;
    width: 94%;
}


/* form input:focus */

textarea:focus,
input[type=password]:focus,
input[type=text]:focus,
input[type=search]:focus,
input[type=email]:focus,
input[type=tel]:focus {
    outline: none;
    background: #f9f9f9;
}


/* form button */

input[type=reset],
input[type=submit],
button {
    background: #333;
    color: #fff;
    border: none;
    padding: 7px 20px;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


/* form button:hover */

input[type=reset]:hover,
input[type=submit]:hover,
button:hover {
    background: #000;
    color: #fff;
}

.login-form form label {
    display: inline-block;
    width: 100px;
}


/*
Arrows (triangles)
--------------------------------------------------*/

.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;
    border-left: 60px solid green;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid blue;
}


/*
Custom Styles
--------------------------------------------------*/

.product {
    display: inline-block;
    width: 150px;
    margin: 0 10px 10px 0;
}

.fp-list {
    text-align: center;
    margin-top: 10px;
}

table {
    border-collapse: collapse;
}

td {
    padding: 10px;
    border-bottom: solid 1px #ddd;
}

.see-us-at {
    background-color: #F7941E;
    color: #fff;
    padding: 10px 16px;
    clear: both;
}

.see-us-at h4 {}

a.black-bold-link:link,
a.black-bold-link:visited {
    color: #000;
    font-weight: bold;
}


/************************************************************************************
STRUCTURE
*************************************************************************************/


/* main page width */

#pagewrap {
    background: #fff;
    border: solid 1px #ddd;
    margin: 50px auto;
    max-width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pagewidth {
    width: 978px;
    margin: 0 auto;
}


/* Breadcrumbs */

#breadcrumb {
    text-transform: uppercase;
    font-size: 0.7em;
    max-width: 978px;
    width: 100%;
    margin: 10px auto 0;
}


/* content */

#full-content {
    width: 978px;
    padding: 5% 0 3% 0;
}

#content {
    width: 676px;
    float: left;
    padding: 5% 0 3%;
}


/* sidebar */

#sidebar {
    width: 252px;
    float: right;
    padding: 2% 0 3%;
}


/* sidebar left */

.sidebar-left #content {
    float: right;
}

.sidebar-left #sidebar {
    float: left;
}


/* sidebar none */

.sidebar-none #content {
    width: 100%;
    float: none;
}


/************************************************************************************
GRID
*************************************************************************************/

.col,
.col4-1,
.col4-2,
.col4-3,
.col3-1,
.col3-2,
.col2-1 {
    float: left;
}

.col4-1 {
    width: 222px;
}

.col4-2,
.col2-1 {
    width: 474px;
}

.col4-3 {
    width: 726px;
}

.col3-1 {
    width: 306px;
}

.col3-2 {
    width: 642px;
}


/* sidebar1 grid */

.sidebar1 .col4-1,
.sidebar1 .col4-2,
.sidebar1 .col4-3,
.sidebar1 .col3-1,
.sidebar1 .col3-2,
.sidebar1 .col2-1 {
    margin-left: 2%;
}

.sidebar1 .col4-1 {
    max-width: 23%;
}

.sidebar1 .col4-2,
.sidebar1 .col2-1 {
    max-width: 48%;
}

.sidebar1 .col4-3 {
    max-width: 72%;
}

.sidebar1 .col3-1 {
    max-width: 31%;
}

.sidebar1 .col3-2 {
    max-width: 62%;
}


/* first col */

.col.first,
.col4-1.first,
.col4-2.first,
.col4-3.first,
.col3-1.first,
.col3-2.first,
.col2-1.first {
    margin-left: 0;
    clear: left;
}


/************************************************************************************
HEADER
*************************************************************************************/

#header {
    position: relative;
    height: 250px;
    border-bottom: solid 1px #ccc;
}

.logo {
    position: absolute;
    top: 50px;
    left: 0;
    height: 140px;
}

#integration {
    position: absolute;
    top: 110px;
    right: 0;
    font-size: 1.4em;
    font-style: italic;
    font-weight: 700;
    color: #92A83C;
}


/* 
SITE LOGO
================================================ */

#site-logo {
    position: absolute;
    top: 20px;
    font-size: 36px;
    margin: 0;
}

#site-logo a {
    text-decoration: none;
}

#site-logo a:hover {
    text-decoration: none;
}


/* 
SITE DESCRIPTION
================================================ */

#site-description {
    position: absolute;
    top: 75px;
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    margin: 0;
}


/* 
SOCIAL WIDGET
================================================ */

.social-widget {
    float: right;
    position: absolute;
    bottom: 10px;
    right: 0;
}

.social-widget a {
    text-decoration: none;
}

.social-widget a:hover {
    text-decoration: none;
}

.social-widget .widget {
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin: 0 2px 0 0;
}

.social-widget .widget div {
    display: inline;
}

.social-widget .widgettitle {
    width: auto;
    font-weight: bold;
    font-size: 100%;
    text-transform: none;
    border: none;
    letter-spacing: 0;
    position: static;
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin: 5px 8px 2px 0;
    padding: 0;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.social-widget ul {
    margin: 6px 0 0 !important;
    padding: 0;
    display: inline;
}

.social-widget ul li {
    padding: 0 2px 5px 0;
    margin: 0;
    display: inline-block;
    zoom: 1;
    *display: inline;
    border: none !important;
    clear: none;
    line-height: 100%;
}

.social-widget li img {
    vertical-align: middle;
    margin-top: -5px;
}


/* 
RSS
================================================ */

.social-widget .rss {
    display: inline;
}

.social-widget .rss a {
    background: url(images/rss.png) no-repeat left center;
    padding: 3px 0 2px 30px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}


/* 
SEARCH FORM
================================================ */

#header #searchform {
    position: absolute;
    right: 0;
    top: 40px;
    width: 160px;
}

#header #searchform #s {
    width: 100px;
    color: #a5a099;
    background: #eee url(images/search.png) no-repeat 8px center;
    border: solid 1px #ddd;
    padding-left: 28px;
    float: right;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: width .7s;
    -moz-transition: width .7s;
    transition: width .7s;
}

#header #searchform #s:focus {
    width: 140px;
    color: #333;
}


/* 
MAIN NAVIGATION
================================================ */

@media only screen and (min-width: 981px) {
    .top-nav {
        position: relative;
        float: right;
        /*border-bottom: solid 1px #ddd;*/
    }
    #main-nav {
        margin: 0;
        padding: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 100;
    }
    #main-nav li,
    #t-nav li {
        margin: 0;
        padding: 0;
        list-style: none;
        float: left;
        position: relative;
    }
    .call a:before {
        font-family: FontAwesome;
        content: "\f095 \00a0 \00a0";
    }
    /* Centered Menu

#main-nav {
	width: 978px;
	margin: 0 auto;
	text-align: center;
	padding: 0;
	z-index: 100;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
	position: relative;
	text-align: left;
}

*/
    /* main level link */
    #main-nav a {
        display: block;
        padding: 10px 15px;
        margin: 0 5px 0 0;
        text-decoration: none;
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
        font-size: 1.4em;
    }
    #t-nav a {
        display: block;
        padding: 5px 15px;
        margin: 0 5px 0 0;
        text-decoration: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }
    #main-nav a:link,
    #main-nav a:visited,
    #t-nav a:link,
    #t-nav a:visited {}
    /* main level link :hover */
    #main-nav a:hover,
    #t-nav a:hover {
        background: #0F5390;
        color: #fff;
    }
    /* current link */
    #main-nav .current_page_item a,
    #main-nav .current-menu-item a,
    #t-nav .current_page_item a,
    #t-nav .current-menu-item a {
        background: #333;
        color: #fff;
    }
    /* current link :hover */
    #main-nav .current_page_item a:hover,
    #main-nav .current-menu-item a:hover,
    #t-nav .current_page_item a:hover,
    #t-nav .current-menu-item a:hover {
        color: #fff;
    }
    /* sub-levels link */
    #main-nav ul a,
    #main-nav .current_page_item ul a,
    #main-nav ul .current_page_item a,
    #main-nav .current-menu-item ul a,
    #main-nav ul .current-menu-item a,
    #main-nav li:hover>ul a {
        color: #666;
        font-size: 100%;
        line-height: 140%;
        font-weight: normal;
        text-transform: none;
        padding: 6px 6px 6px 15px;
        margin: 0;
        display: block;
        width: 180px;
        background: none;
        border: none;
        text-shadow: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    #t-nav ul a,
    #t-nav .current_page_item ul a,
    #t-nav ul .current_page_item a,
    #t-nav .current-menu-item ul a,
    #t-nav ul .current-menu-item a,
    #t-nav li:hover>ul a {
        color: #666;
        font-size: 100%;
        line-height: 140%;
        font-weight: normal;
        text-transform: none;
        padding: 6px 6px 6px 15px;
        margin: 0;
        display: block;
        width: 180px;
        background: none;
        border: none;
        text-shadow: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    /* sub-levels link :hover */
    #main-nav ul a:hover,
    #main-nav .current_page_item ul a:hover,
    #main-nav ul .current_page_item a:hover,
    #main-nav .current-menu-item ul a:hover,
    #main-nav ul .current-menu-item a:hover,
    #main-nav li:hover>ul a:hover {
        background: #F3F3F3;
        color: #000;
    }
    #t-nav ul a:hover,
    #t-nav .current_page_item ul a:hover,
    #t-nav ul .current_page_item a:hover,
    #t-nav .current-menu-item ul a:hover,
    #t-nav ul .current-menu-item a:hover,
    #t-nav li:hover>ul a:hover {
        background: #F3F3F3;
        color: #000;
    }
    /* dropdown ul */
    #main-nav ul {
        margin: 0;
        padding: 5px 0;
        list-style: none;
        position: absolute;
        background: #fff;
        border-bottom: solid 1px #ccc;
        border-left: solid 1px #ccc;
        border-right: solid 1px #ccc;
        z-index: 100;
        display: none;
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px;
    }
    #t-nav ul {
        margin: 0;
        padding: 5px 0;
        list-style: none;
        position: absolute;
        background: #fff;
        border: solid 1px #ccc;
        z-index: 200;
        display: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }
    #main-nav ul li {
        background: none;
        padding: 0;
        margin: 0;
        float: none;
    }
    #t-nav ul li {
        background: none;
        padding: 0;
        margin: 0;
        float: none;
    }
    /* sub-levels dropdown */
    #main-nav ul ul {
        left: 190px;
        top: -2px;
    }
    /* show dropdown ul */
    #main-nav li:hover>ul,
    #t-nav li:hover>ul {
        display: block;
    }
}


/************************************************************************************
PAGE
*************************************************************************************/


/* page title */

.page-title {
    margin: 0 0 15px;
    padding: 0;
    font-size: 300%;
    line-height: 110%;
}


/* 
FEATURED IMAGE
================================================ */

.featured-image {}


/* Show list of Child Pages
================================================ */

.child-thumb {
    height: 50px;
    clear: both;
    margin: 10px 0;
}

.child-thumb a {}

.child-thumb h3 {
    padding-top: 8px;
}

.child-thumb img {
    width: 48px;
    max-height: 48px;
    float: left;
    margin: 0 12px 0 0;
    border: solid 1px #ddd;
}


/* Show Child Page Content
================================================ */

.subPage {
    float: left;
    margin: 10px 20px 40px 0;
    height: 140px;
}
.subPage.homepage img {
    width: 100%;
}
.subPage img {
    display: block;
    height: 140px;
    width: 140px;
    /*margin-bottom: 10px;*/
}

.subPage span {
    font-size: 1em;
    text-align: center;
    display: block;
    background: #0F5390;
    padding: 8px 0;
    color: #fff;
}


/************************************************************************************
POST
*************************************************************************************/

.post {
    margin-bottom: 50px;
}


/* post content */

.post-content {
    min-width: 120px;
}


/* post title */

.post-title {
    font-size: 26px;
    margin: 0 0 5px;
    padding: 0;
}

.post-title a {}


/* post image */

.post-image {
    margin: 0 0 5px;
}

.post-image.left {
    float: left;
    margin-right: 15px;
}

.post-image.right {
    float: right;
    margin-left: 15px;
}


/* lightbox zoom image */

.post-image .lightbox {
    position: relative;
    display: inline-block;
    zoom: 1;
    *display: inline;
    max-width: 100%;
}

.post-image .lightbox .zoom {
    width: 40px;
    height: 40px;
    background: url(images/icon-zoom.png) no-repeat center center;
    margin: -20px 0 0 -20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}

.post-image .lightbox:hover .zoom {
    background-color: #000;
}


/* post meta */

.post-meta {
    margin: 0 0 7px;
}

.post-meta .post-author {
    /*background: url(images/post-author.png) no-repeat 0 2px;*/
    padding: 2px 0 2px;
    margin-right: 7px;
}

.post-meta .post-author .fa,
.post-meta .post-category .fa,
.post-meta .post-tag .fa,
.post-meta .post-comment a .fa {
    color: #ccc;
}

.post-meta .post-category {
    /*background: url(images/post-category.png) no-repeat 0 2px;*/
    padding: 2px 0 2px;
    margin-right: 7px;
}

.post-meta .post-tag {
    /*background: url(images/post-tag.png) no-repeat 0 3px;*/
    padding: 2px 0 2px;
    margin-right: 7px;
}

.post-meta .post-comment a {
    /*background: url(images/post-comment.png) no-repeat 0 3px;*/
    padding: 2px 0 2px;
}


/************************************************************************************
POST VIDEO (css for fluid video)
*************************************************************************************/

.post-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

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


/************************************************************************************
PAGE NAVIGATION
*************************************************************************************/

.pagenav {
    clear: both;
    padding-bottom: 20px;
    text-align: right;
}

.pagenav a,
.pagenav span {
    line-height: 100%;
    padding: 6px 0 0;
    margin: 0 2px;
    vertical-align: middle;
    display: inline-block;
    zoom: 1;
    *display: inline;
    min-width: 24px;
    min-height: 18px;
    text-align: center;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}

.pagenav a {
    background: #111;
    color: #fff;
    text-decoration: none;
}

.pagenav a:hover {
    background-color: #000;
}

.pagenav .current {
    text-decoration: none;
}


/************************************************************************************
POST NAVIGATION
*************************************************************************************/

.post-nav {
    margin: 0 0 30px;
    padding: 15px 0;
    clear: both;
}

.post-nav span {
    width: 47%;
    position: relative;
}

.post-nav a {
    text-decoration: none;
    display: block;
}

.post-nav a:hover {
    text-decoration: none;
}

.post-nav .prev {
    float: left;
}

.post-nav .next {
    float: right;
    text-align: right;
}


/* post nav arrow */

.post-nav span span {
    background: #333;
    color: #fff;
    font: normal 20px/100% "Times New Roman", Times, serif;
    display: block;
    width: auto;
    float: left;
    width: 32px;
    height: 28px;
    padding: 4px 0 0;
    text-align: center;
    margin: -8px 10px 17px 0;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}

.post-nav .next span {
    float: right;
    margin-left: 10px;
    margin-right: 0;
}

.post-nav a:hover span {
    background: #000;
}


/************************************************************************************
COMMENTS
*************************************************************************************/

.commentwrap {
    margin: 10px 0 20px;
    position: relative;
    clear: both;
}


/* comment title */

.comment-title,
#reply-title {
    font-size: 140%;
    margin: 0 0 10px;
    padding: 0;
}


/* comment pagenav */

.commentwrap .pagenav {
    margin: 10px 0;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.commentwrap .pagenav.top {
    margin: 0;
    position: absolute;
    top: 10px;
    right: 0;
}


/* commentlist */

.commentlist {
    margin: 0 0 30px;
    padding: 5px 0 0;
    border-top: solid 1px #ddd;
}

.commentlist li {
    margin: 0;
    padding: 15px 0 0;
    list-style: none;
    position: relative;
}

.commentlist .comment-author {
    margin: 2px 0 5px;
    padding: 0;
}

.commentlist .avatar {
    float: left;
    margin: 0 15px 0 0;
}

.commentlist cite {
    font-style: normal;
    font-size: 130%;
}

.commentlist cite a {
    text-decoration: none;
}

.commentlist .bypostauthor>.comment-author cite {
    background: url(images/icon-author-comment.png) no-repeat 0 2px;
    padding-left: 18px;
}

.commentlist .comment-time {
    font-size: 75%;
    text-transform: uppercase;
}

.commentlist .commententry {
    border-bottom: solid 1px #ddd;
    position: relative;
    min-height: 40px;
    overflow: hidden;
    padding-bottom: 5px;
    word-wrap: break-word;
}

.commentlist ul,
.commentlist ol {
    margin: 0 0 0 7%;
    padding: 0;
}


/* reply link */

.commentlist .reply {
    position: absolute;
    right: 0;
    top: 8px;
}

.commentlist .comment-reply-link {
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
}

.commentlist .comment-reply-link:hover {
    text-decoration: none;
}


/* 
COMMENT FORM
================================================ */

#respond {
    margin: 0;
    padding: 10px 0 0;
    position: relative;
    clear: both;
}

#respond #cancel-comment-reply-link {
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 85%;
    line-height: 100%;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
    color: #fff;
    background: #F30;
}

#respond #cancel-comment-reply-link:hover {
    background: #333;
}

#commentform {
    margin: 15px 0 0;
}

#commentform input[type=text] {
    width: 206px;
    margin-right: 5px;
}

#commentform label {
    font-weight: bold;
}

#commentform label small {
    font-weight: normal;
}

#commentform textarea {
    height: 140px;
}

#commentform input#submit {
    padding: 7px 20px;
}


/************************************************************************************
SIDEBAR
*************************************************************************************/

.widget {
    margin: 0 0 30px;
    word-wrap: break-word;
}

.widgettitle {
    margin: 0 0 10px;
    padding: 0;
    font-size: 120%;
}

.widget ul {
    margin: 0;
    padding: 0;
}

.widget li {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    clear: both;
    border-top: solid 1px #ddd;
}

.widget ul ul {
    margin: 6px 0 -6px 0px;
    padding: 0;
    border-top: none;
}

.widget ul ul li {
    margin: 0;
    padding-left: 10px;
}


/************************************************************************************
FOOTER
*************************************************************************************/

#footer {
    padding: 30px 0;
    clear: both;
    border-top: solid 1px #ccc;
}


/* back to top */

.back-top {
    clear: both;
    float: left;
    margin-top: -3px;
}

.back-top a {
    background: #000 url(images/arrow-up.png) no-repeat center center;
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 10px 10px 0;
    text-indent: -900em;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}

.back-top a:hover {
    background-color: #333;
}


/* footer nav */

.footer-nav {
    margin: 7px 0 10px;
    padding: 0;
    text-align: left;
}

.footer-nav li {
    padding: 0;
    margin: 0 8px 5px 0;
    list-style: none;
    display: inline-block;
    zoom: 1;
    *display: inline;
}


/* footer text */

.footer-text {
    font-size: 90%;
    clear: both;
}


/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/

img.alignleft,
img.aligncenter,
img.alignright,
img.alignnone {
    margin-bottom: 15px;
}

.alignleft {
    float: left;
    margin-right: 30px;
}

.alignright {
    float: right;
    margin-left: 30px;
}

.aligncenter {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    text-align: center;
    margin-bottom: 15px;
    max-width: 100%;
}

.wp-caption-text {
    font-style: italic;
    font-size: 95%;
    line-height: 120%;
    margin: 6px 0;
}


/************************************************************************************
GALLERY
*************************************************************************************/

#body .gallery {
    margin: 5px 0 20px 0;
}

#body .gallery img {
    border: none;
}


/* gallery item */

#body .gallery dl {
    margin: 0 8px 8px 0;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
    width: auto;
    float: none;
    text-align: center;
}


/* gallery caption */

#body .gallery dd {
    width: 140px;
    line-height: 120%;
    font-size: 90%;
    text-align: center;
    margin: 5px 0 0;
}


/* get rid of br tag */

.gallery br {
    display: none;
}


/************************************************************************************
CLEAR & ALIGNMENT
*************************************************************************************/

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.textleft {
    text-align: left;
}

.textright {
    text-align: right;
}

.textcenter {
    text-align: center;
}


/* clearfix */

.clearfix:after,
.widget li:after,
#body:after,
#footer:after,
footer:after,
.pagenav:after,
#main-nav:after,
.menu:after,
.gallery:after,
#content:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix,
.widget li,
#body,
#footer,
footer,
.pagenav,
#main-nav,
.menu,
.gallery,
#content {
    display: inline-block;
}


/* clearfix for ie7 */

.clearfix,
.widget li,
#body,
#footer,
footer,
.pagenav,
#main-nav,
.menu,
.gallery,
#content {
    display: block;
    zoom: 1;
}