/*
 Theme Name: Rembrandt
 Theme URI: http://blankcanvas.eu/wordpress/rembrandt/
 Description: Minimalistic two-columns, fixed-width,  seo optimized  theme for WordPress. Compatible with WordPress 3.4 features, mobile version.
 Author: Tomasz Mazur
 Author URI: http://blankcanvas.eu/
 Version: 2.0.2
 Tags: two-columns,  fixed-width, microformats, sticky-post, right-sidebar, orange, brown, white,  holiday, threaded-comments, custom-header, custom-background, custom-menu, translation-ready, featured-image-header, post-formats, flexible-header, full-width-template, featured-images, editor-style, custom-background, custom-colors, custom-header, custom-menu
 License:GNU General Public License, v2 (or newer)
 License URI:http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 -----------------------------------------------------------------------------------*/
/*----------*/
/*	1.	CSS Reset & Clearfix - http://meyerweb.com/eric/tools/css/reset/ */
/*----------*/
/* http://meyerweb.com/eric/tools/css/reset/
 v2.0 | 20110126
 License: none (public domain)
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*----------*/
/*	3.	HTML tags */
/*----------*/

html {
    overflow-y: scroll;
}
body {
    font: 14px Georgia, "Times New Roman", Times, serif;
    line-height: 1.5em;
    color: #222;
    background: #fff;
}
p {
    font-size: 1em;
    margin: 0 0 1em 0;
    text-indent: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.3125em;
    color: #555;
}
h1 {
    font-size: 26px;
}
h2 {
    font-size: 21px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
    font-style: italic;
}
h5 {
    font-size: 14px;
    font-weight: bolder;
}
h6 {
    font-size: 14px;
}
a {
    color: #dd3333;
    text-decoration: none;
}
a:hover {
    color: #7D7D7D
}
del {
    text-decoration: line-through;
}
blockquote, q {
    quotes: none;
}
blockquote {
    background: url(images/icons.png) no-repeat -400px 5px;
    padding: 0 0 0 30px;
    color: #555;
    min-height: 3em;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}
address {
    margin: 1em 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    font-family: Consolas, "Courier New", Courier, monospace;
    width: 100%;
}
th {
    background: #eee;
    text-align: left;
}
td, th {
    padding: 2px 4px;
    border: 1px solid #ddd;
}
pre {
    font-family: Consolas, Lucida Console, Monaco, monospace;
    color: #222;
    background: #eee;
    padding: 10px;
    overflow: auto;
}
code {
    font-family: Consolas, Lucida Console, Monaco, monospace;
    color: #777;
    overflow: auto;
}
sup, sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    font-size: 0.86em;
}
sup {
    bottom: 1ex;
}
sub {
    top: 0.5ex;
}
abbr {
    cursor: help;
}
cite, em, i {
    font-style: italic
}
strong, b {
    font-weight: bold;
}
input[type="submit"] {
    padding: 4px;
    cursor: pointer;
    background-color: #EFEFEF;
    *background-color: #DFD6D1;
    background-image: -ms-linear-gradient(top, #EFEFEF, #DFD6D1);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EFEFEF), to(#DFD6D1));
    background-image: -webkit-linear-gradient(top, #EFEFEF, #DFD6D1);
    background-image: -o-linear-gradient(top, #EFEFEF, #DFD6D1);
    background-image: -moz-linear-gradient(top, #EFEFEF, #DFD6D1);
    background-image: linear-gradient(top, #EFEFEF, #DFD6D1);
    background-repeat: repeat-x;
    border: 1px #DFD6D1 solid;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#EFEFEF', endColorstr='#DFD6D1', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
input[type="submit"]:hover {
    background-image: -ms-linear-gradient(top, #EFEFEF, #EFE5E0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EFEFEF), to(#EFE5E0));
    background-image: -webkit-linear-gradient(top, #EFEFEF, #EFE5E0);
    background-image: -o-linear-gradient(top, #EFEFEF, #EFE5E0);
    background-image: -moz-linear-gradient(top, #EFEFEF, #EFE5E0);
    background-image: linear-gradient(top, #EFEFEF, #EFE5E0);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#EFEFEF', endColorstr='#DFD6D1', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
/*----------*/
/*	4.	Header Styles */
/*----------*/
/*----------*/
/*	Img src
 * http://en.wikipedia.org/wiki/File:Rembrant_Self-Portrait,_1660.jpg
 * http://en.wikipedia.org/wiki/File:Rembrandt_Harmensz._van_Rijn_046.jpg
 *  */
/*-----
 *
 */
#header {
    background: #fff url(images/bg.jpg);
}

#header h1, #header h2 {
    font-size: 24px;
    margin: 10px;
    text-shadow: 0 1px 1px #000
}
#header h3 {
    font-size: medium;
    color: #aaa;
    margin: 0 10px 10px 10px;
    text-shadow: 0 1px 0 #000
}
#logo{
    max-width: 340px;
    max-height: 80px
}
/*----------*/
/*	5.	Primery Navigation */
/*----------*/

#nav {
    background: #170400 url(images/nav.jpg);
    min-height: 49px;
}
#nav a {
    text-align: center;
    display: block;
    padding: 12px 10px;
    color: #BFB1A7;
}
#nav a:hover {
    color: #fff;
}
#nav ul ul a {
    padding: 8px 10px;
}
#nav ul {
    z-index: 500;
    position: relative;
}
#nav ul ul {
    position: absolute;
    z-index: 501;
    top: auto;
    display: none;
    margin: 0;
    max-width: 400px;
}
#nav ul ul ul {
    z-index: 502;
    top: 0;
    left: 100%;
}
#nav li {
    float: left;
    position: relative;
    min-height: 1px;
    vertical-align: bottom;
    padding: 0;
}
#nav li li {
    margin: 0 0 1px 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    background: #2D2D2D url(images/navul.jpg) 0 0;
}
#nav li li li {
    margin: 0 0 0 1px;
}
#nav li ul li a {
    text-align: left;
}
#nav .current_page_item a, #nav .current-menu-item a {
    color: #fff
}
#nav li:hover {
    cursor: pointer;
    z-index: 100;
}
#nav li:hover ul ul, #nav li li:hover ul ul, #nav li li li:hover ul ul, #nav li li li li:hover ul ul {
    display: none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul {
    display: block;
}

/*----------*/
/*	6.	Main Content Styles */
/*----------*/

#wrapper {
    background: #fff;
    padding-top: 20px;
}
#breadcrumbs {
    background: #ddd url(images/icons.png) no-repeat -355px -31px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
#breadcrumbs span {
    display: block;
    background: #fff;
    margin-left: 30px;
    padding: 5px 10px;
}
#breadcrumbs span span {
    display: inline;
    margin-left: 0;
    padding: 0;
}
.single-attachment #breadcrumbs {
    margin: 0;
}
.home #breadcrumbs {
    margin-bottom: 10px;
}

/*----------*/
/*	7.	Post Content Styles */
/*----------*/
article, .page-template article {
    border-bottom: 2px dotted #ddd;
    margin-bottom: 10px;
    overflow: hidden;
}
.single article {
    border: none;
}
.singular article, .page article {
    background-image: none;
}
article header p, article footer {
    color: #999
}
article header h1, article header h2 {
    margin: 0 0 0.2em;
    padding: 0;
}

/*----------*/
/*	7.1	Post Content Styles - Archive */
/*----------*/

.archive .attachment-thumbnail, .search .attachment-thumbnail {
    float: right;
    margin: 0 0 5px 10px;
    padding: 8px;
    background: #fff url(images/slide_hover.jpg);
}
.sticky header h2 {
    background: url(images/icons.png) no-repeat -300px -120px;
    padding-left: 35px;
}

/*----------*/
/*	7.2	Post Content Styles - Html Tags */
/*----------*/
.post {
    overflow: hidden
}
.post img {
    height: auto;
    max-width: 640px;
}
.post header h3 {
    float: left;
    margin-right: 20px;
}
.attachment section img {
    max-width: 940px;
    display: block;
    margin: 0 auto;
}
.attachment .type-attachment h1 {
    display: block;
    text-align: center
}
.post .wp-post-image{
    margin-left: 1px!important;
    margin-bottom: 5px!important;
    padding: 5px;
    -webkit-box-shadow: 0 0 1px #aaa;
    -moz-box-shadow: 0 0 1px #aaa;
    box-shadow: 0 0 1px #aaa;
}
.post-content h1 {
    margin: 1.7144em 0 0.5715em 0;
}
.post-content h2 {
    margin: 2em 0 0.6667em 0;
}
.post-content h3 {
    margin: 2.25em 0 0.75em 0;
}
.post-content h4 {
    margin: 2.5715em 0 0.8572em 0;
}
.post-content h5, .post-content h6 {
    margin: 2.5715em 0 0.8572em 0;
}
.post-content dt {
    font-weight: bold;
}
.entry dt:before, .post-content dt:before {
    content: " - ";
}
.gallery dt:before, .gallery dd:before {
    content: "";
}
.post-content ul, .post-content ol {
    list-style: disc;
    margin: 0 0 1em 2em;
}
.post-content ul ul {
    list-style: circle;
    margin: 0 0 0 1em;
}
.post-content ul ul ul {
    list-style: square;
}
.post-content ol {
    list-style: decimal
}
.post-content ol ol {
    list-style: lower-alpha;
    margin: 0 0 0 1.4em;
}
.post-content ol ol ol {
    list-style: lower-roman
}

/*----------*/
/*	7.3	Post Content Styles - Styles */
/*----------*/

.page-link {
    clear: both;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    padding: 4px;
    font-family: Consolas, "Courier New", Courier, monospace;
    margin: 1em 0;
}
.post-edit-link {
    box-shadow: 0 1px 2px #ccc;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 5px;
    clear: both;
    margin: 0 0 5px 5px;
}
.post-edit-link {
    float: right;
    margin: 5px;
}
.entry-author {
    margin-bottom: 10px;
    width: 598px;
    padding: 10px;
}
.more {
    white-space: nowrap
}
/*----------*/
/*	7.4	Post Content Styles - 404 */
/*----------*/

.error404 {
    background: url(images/bg.jpg);
}
.error404 .error {
    padding-bottom: 260px;
    background: url(images/headers/rembrandt2.jpg) no-repeat top right;
}
.error404 .error h1 {
    margin: 0;
}
.error404 .error p, .error404 .error h1 {
    width: 280px;
}
.error404 article {
    color: #eee;
    background: none;
    padding: 10px
}

/*----------*/
/*	7.5	Post Content Styles - Post Format */
/*----------*/

a.format_post {
    float: left;
    width: 50px;
    height: 58px;
    text-indent: -9999px;
}
.format-link header, .format-quote header, .format-aside header {
    margin: 10px 10px 15px 0;
}
.single-post .format-aside header h1, .single-post .format-quote header h1, .format-link header h1, .format-link header h2 {
    margin-top: 0;
    padding-top: 0;
}

/*----------*/
/*	7.6	Post Content Styles - Format Aside */
/*----------*/

.format-aside .format_post {
    background: url(images/icons.png) no-repeat -110px -55px;
}
.format-aside a.format_post:hover {
    background: url(images/icons.png) no-repeat -110px -115px;
}
.format-aside p {
    margin-bottom: 1em;
}

/*----------*/
/*	7.7	Post Content Styles - Format Link */
/*----------*/

.format-link  .format_post {
    background: url(images/icons.png) no-repeat -240px -55px;
}
.format-link  a.format_post:hover {
    background: url(images/icons.png) no-repeat -240px -115px;
}

.format-link header h2 {
    background: none;
    padding-left: 0;
}
/*----------*/
/*	7.8	Post Content Styles - Format Quote */
/*----------*/

.format-quote .format_post {
    background: url(images/icons.png) no-repeat -180px -55px;
    margin-right: 10px;
}
.format-quote a.format_post:hover {
    background: url(images/icons.png) no-repeat -180px -115px;
}
.format-quote blockquote {
    background: none;
    padding: 0;
    color: #777;
}
.format-quote cite {
    margin: 5px 0 14px 0;
    display: block
}
/*----------*/
/*	7.9	Post Content Styles - Format Image */
/*----------*/
.format-image{
    padding-bottom: 20px;
}
.format-image .wp-post-image{
    margin-left: 0!important;
    margin-bottom: 10px!important;
    padding: 0;
    -webkit-box-shadow: 0 0 0 #aaa;
    -moz-box-shadow: 0 0 0 #aaa;
    box-shadow: 0 0 0 #aaa;
}
.format-image .format_post {
    background: url(images/icons.png) no-repeat 0 -141px;
}
.format-image a.format_post:hover {
    background: url(images/icons.png) no-repeat 0 -190px;
}
.format-gallery img, .format-image img {
    max-width: 620px !important;
    display: block;
    margin-bottom: 5px;
}
.single .format-image img {
    max-width: 640px !important;
}
/*----------*/
/*	7.9	Post Content Styles - Format Gallery */
/*----------*/

.gallery-thumb, .home article .attachment-rembrandt_slide {
    padding: 8px;
    border: 1px solid #ddd;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 15px 0 0 0;
    background: #fff url(images/slide_hover.jpg);
}
.gallery-thumb h2 {
    margin: 5px 0;
    font-size: 16px;
}
article footer, .format-gallery {
    clear: both;
    padding-bottom: 20px
}
.single .format-gallery {
    background: none
}
.single .format-gallery header, .single .format-gallery footer {
    text-align: center
}
/*----------*/
/*	7.8	Post Content Styles - Format Video */
/*----------*/

.format-video .format_post {
    background: url(images/icons.png) no-repeat -300px -60px;
}
.format-video a.format_post:hover {
    background: url(images/icons.png) no-repeat -300px 0;
}
/*----------*/
/*	7.10	Post Content Styles - Post Comments */
/*----------*/

.post-comments {
    float: right;
    background: url(images/icons.png) no-repeat -206px 0;
    width: 24px;
    height: 25px;
    text-align: center;
    font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
    padding: 2px 0 0 0;
}
.post-comments:hover {
    background: url(images/icons.png) no-repeat -180px 0;
}
.by-author {
    margin-right: 20px;
}

/*----------*/
/*	7.11	Post Content Styles - Author info */
/*----------*/

#author-info {
    background: #eaeaea;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 10px;
    margin: 10px 0;
    overflow: hidden
}
#author-info a {
    display: inline
}
#author-info h2, #author-info p, #author-info ul {
    margin: 0 0 5px 118px;
}
#author-info h2 {
    font-size: 16px;
}
#author-info ul li {
    list-style: none;
}
#author-info .avatar {
    float: left;
    margin: 5px 0;
    padding: 5px;
    background: #fff;
}
.author_fotter {
    border-bottom: 2px dotted #ddd;
    margin-bottom: 10px;
    height: 10px;
}

/*----------*/
/*	7.12	Post Content Styles - Attachment Navigation */
/*----------*/

.navigation {
    display: block;
}
.navigation  a {
    text-indent: -9999px;
    float: left;
    margin: 4px 0 0 0;
    height: 24px;
    width: 24px;
    background: transparent url(images/icons.png) no-repeat -240px 0;
}
.navigation .alignright a {
    background: transparent url(images/icons.png) no-repeat -265px 0;
    float: right;
    margin: 4px 0 0 10px;
}
.navigation  a:hover {
    background: transparent url(images/icons.png) no-repeat -240px -25px;
}
.navigation .alignright a:hover {
    background: transparent url(images/icons.png) no-repeat -265px -25px;
}

/*----------*/
/*	8. Homepage Elements */
/*----------*/

.home article .attachment-rembrandt_slide {
    margin: 0 0 10px 10px;
}
.title span {
    color: #000;
}
.title p {
    margin: 0;
}
.title {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #ddd;
}

/*----------*/
/*	9. Sidebar */
/*----------*/

#sidebar {
    color: #333;
    word-wrap: break-word;
}
.widget {
    padding: 10px;
    clear: both;
}
.widget img {
    max-width: 260px;
    height: auto;
}
.widget input, .widget textarea {
    max-width: 256px;
    height: auto;
}
.widget .widget-title {
    margin: 0.4em 0;
}
.widget .widget-container  {
    margin: 5px 0;
    padding: 10px;
}
.widget .widget-container li{
    padding: 2px 0;
}
.widget_pages li, .menu li, .widget_meta li, .widget_categories li, .widget_archive li, .widget_recent_comments li, .widget_recent_entries li, .blogroll li{
    margin: 0;
    background: url(images/icons.png) no-repeat -40px -245px;
    padding: 2px 0 2px 15px!important;
}
#footer .widget li li {
    padding-left: 19px;
    background: url(images/icons.png) no-repeat -31px -265px;
    float: none
}
#sidebar  .full {
    background: #aaa url(images/slide_hover.jpg);
    margin-bottom: 10px;
    border-radius: 3px;
}
#sidebar  .full .widget-container {
    background-color: #fff;
    margin: 0;
}
#footer .widget {
    background: none;
}
.widget .vcard .photo {
    float: right;
    margin: 6px 0 2px 4px;
    padding: 5px 5px 0 5px;
    background: #eee;
}

/*----------*/
/*	9.1 Sidebar - Search */
/*----------*/

#s {
    border: 1px solid #ddd;
    background: #fff;
    padding: 3px 6px;
    display: inline;
    margin: 0;
}
.assistive-text, .screen-reader-text{
    display: none
}

/*----------*/
/*	9.2 Sidebar - Calendar */
/*----------*/

#wp-calendar {
    clear: both;
}
#wp-calendar thead tr {
    background: #eee;
    color: #333;
}

/*----------*/
/*	9.3 Sidebar - Flickr */
/*----------*/
.flickr_badge_image a {
    float: left;
    margin: 2px;
    padding: 6px 6px 2px 6px;
    background: #fff url(images/slide_hover.jpg);
}
#footer .flickr_badge_image a {
    background: #fff url(images/slide.jpg);
}

/*----------*/
/*	9.4 Sidebar - Twitter */
/*----------*/

.twitter_bg .widget-title {
    background: url(images/icons.png) no-repeat -80px -174px;
    padding-left: 35px;
}
#twitter_div ul {
    margin: 10px 0;
}
#twitter_div ul li a:after {
    content: " * "
}
#twitter-link {
    margin: 0 0 10px 0;
    padding: 3px 5px;
    background: #222 url(images/slide_hover.jpg);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
#footer #twitter-link {
    background: #fff url(images/slide.jpg);
}

/*----------*/
/*	10. Comments */
/*----------*/

#comments {
    margin-bottom: 20px;
    clear: both;
}
#comments footer, #comments article {
    border: none;
    clear: both;
    margin: 0;
}
.comment .children {
    background: url(images/icons.png) no-repeat 10px -290px;
}
#comments h3 {
    margin: 10px 0;
}
#comments h3 strong {
    font-weight: normal;
    color: #000;
}
li.comment {
    padding: 10px 0;
    border-top: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
    margin-bottom: 5px;
}
.comment-author {
    background: #efefef;
    border-radius: 5px;
    overflow: hidden;
}
.comment-author .avatar {
    background: #d5d5d5;
    border-radius: 30px;
    float: left;
    margin: 10px;
}
.comment-author cite{
    margin: 5px;
    display: block;
}
.comment-meta {
    margin: 12px 0 5px 0;
}
#comments .wp-pagenavi {
    padding: 10px 0;
    margin: 10px 0;
}
#comments label, #comments small {
    font-size: 0.88em;
}


/*----------*/
/*	10.1 Comments - Box */
/*----------*/

#respond {
    clear: both;
    margin: 10px 0;
    background: #fff;
}
#respond textarea {
    width: 95%;
}
#respond h3 {
    margin: 10px 0;
}
.comment-author {
    background: #eaeaea;
    border-radius: 5px;
}
.comment-author .avatar {
    background: #d5d5d5;
    border-radius: 30px;
    float: left;
    margin: 0 10px;
}
.comment-meta {
    margin: 12px 0 5px 0;
}
#comments .post-content {
    padding-top: 1em;
}
.depth-2, .depth-3, .depth-4, .depth-5 {
    margin: 10px 0 0 50px !important;
}
.reply {
    margin: 10px;
    float: right;
}
.reply a {
    box-shadow: 0 1px 2px #ccc;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 5px;
    clear: both;
    float: right;
}
#respond code {
    border: none;
    font-size: 11px;
    padding: 0;
    overflow: hidden;
}

/*----------*/
/*	10.2 Comments - Forms */
/*----------*/

.comment-form-author, .comment-form-email, .comment-form-url{
    width: 210px;
}
#commentform input, #commentform textarea{
    border: 1px solid #999;
    -webkit-box-shadow: 0 0 2px #aaa;
    -moz-box-shadow: 0 0 2px #aaa;
    box-shadow: 0 0 2px #aaa;
    padding: 5px;
}
.required{
    color: red;
}
.nopassword, .page .nocomments {
    display: none;
}
.nocomments {
    font-size: 24px;
    color: #ddd;
    text-align: center;
}
.commentlist .pingback p, .commentlist .trackback p {
    border: 1px solid #d5d5d5;
    padding: 10px;
    margin: 0 0 10px 0;
}
.children .comment-meta {
    border: none!important
}
.bypostauthor, .byuser{
    border-top: 1px solid #FFA26F!important;
    padding-top: 0;
    background: url(images/bg-login.jpg) repeat-x;
}


/*----------*/
/*	11. Fotter */
/*----------*/

#footer {
    clear: both;
    background: #170400 url(images/bg.jpg);
    color: #ccc
}
#footer .container_12 {
    background: url(images/footer_bg.jpg) no-repeat top center;
}
.footer-no-widget #footer, .footer-no-widget #footer .container_12 {
    background: none;
}
#footer h3, #footer p {
    margin: 6px 0;
}
#footer li {
    padding: 2px 0 4px 0;
}
#footermenu {
    clear: both;
    font-size: 12px;
    padding: 10px 0;
    text-align: right;
}
#footermenu li {
    display: inline;
}

/*----------*/
/*	12. Gallery */
/*----------*/
.gallery {
    width: 100%;
    float: left;
}
.gallery dd:before {
    content: " ";
}
.gallery-item {
    float: left;
    margin: 0;
}
.gallery-item img {
    display: block;
    margin: 10px auto;
    -webkit-box-shadow: 3px 3px 0 #BFBFBF;
    -moz-box-shadow: 3px 3px 0 #BFBFBF;
    box-shadow: 3px 3px 0 #BFBFBF;
    display: block;
    width: auto
}
.gallery-columns-4 .gallery-item img, .gallery-columns-5 .gallery-item img, .gallery-columns-6 .gallery-item img, .gallery-columns-7 .gallery-item img, .gallery-columns-8 .gallery-item img, .gallery-columns-9 .gallery-item img, .gallery-columns-10 .gallery-item img{
    width: 73%;
}
.gallery-item img:hover {
    -webkit-box-shadow: 3px 3px 3px #BFBFBF;
    -moz-box-shadow: 3px 3px 3px #BFBFBF;
    box-shadow: 3px 3px 3px #BFBFBF;
    display: block;
}
.gallery-item .wp-caption-text {
    text-align:center;
    padding: 5px;
}
.gallery-columns-1 .gallery-item {
    width: 98%;
    margin: 1%;
    padding: 3% 0;
}
.gallery-columns-2 .gallery-item {
    width: 48%;
    margin: 1%;
    padding: 3% 0;
}
.gallery-columns-3 .gallery-item {
    width: 31%;
    margin: 1%;
    padding: 3% 0;
}
.gallery-columns-4 .gallery-item {
    width: 23%;
    margin: 1%;
    padding: 3% 0;
}
.gallery-columns-5 .gallery-item {
    width: 19%;
    margin: 0.2%;
    padding: 2% 0;
}
.gallery-columns-6 .gallery-item {
    width: 16%;
    margin: 0.3%;
    padding: 1% 0;   
}
.gallery-columns-7 .gallery-item {
    width: 14%;
    margin: 0.1%;
    padding: 1% 0;
}
.gallery-columns-8 .gallery-item {
    width: 12%;
    margin: 0.1%;
    padding: 1% 0;
}
.gallery-columns-9 .gallery-item {
    width: 10%;
    margin: 0.1%;
    padding: 1% 0;
}
.gallery-columns-10 .gallery-item {
    width: 8%;
    margin: 0.1%;
    padding: 1% 0;
}
.single-format-gallery img {
    max-width: 940px;
}
.wp-caption{
    margin: 7px 1px;
    -webkit-box-shadow: 0 0 1px #aaa;
    -moz-box-shadow: 0 0 1px #aaa;
    box-shadow: 0 0 1px #aaa;
}
.wp-caption img{
    margin: 5px;
    display: block;
}
.alignnone img{
    display: inline!important;
    float: none!important;
}
.wp-caption-text, .gallery-caption{
    padding: 2px 5px 8px;  
    margin: 0; 
    font-size: 0.76em;
    line-height: 1.3em;
    color: #555;
    font-family: sans-serif;
}
.wp-caption.alignright {
    margin: 7px 1px 7px 10px;
}
.wp-caption.alignleft {
    margin: 7px 10px 7px 1px;
}
.wp-caption.aligncenter {
    margin: 1em auto;
    padding-top: 1px;
}
.wp-caption.alignnone {
    margin: 1em 1px;
}
.gallery br {
    clear: both
}
.entry-attachment img{
    display: block;
    margin: auto
}
.entry-caption {
    text-align: center;
    margin: 0 10px;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignnone {
    clear:both;
    margin:1em 0
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}
img.alignright {
    float: right;
    margin: 0.5em 0 0.1em 0.9em
}

img.alignleft {
    float: left;
    margin: 0.5em 0.9em 0.1em 0
}

img.aligncenter {
    clear: both;
    display: block;
    margin: 1em auto;
}
img.alignnone {
    clear: both;
    margin: 0;
}
/*----------*/
/*	14. Pagination */
/*----------*/

.wp-pagenavi {
    padding: 10px;
    clear: both;
    overflow: hidden
}
.wp-pagenavi a {
    border: 0 !important;
    background: transparent !important;
    margin: 0 10px 0 0 !important;
}
.linkpage a {
    margin-right: 20px;
    padding: 5px;
    background: #EFEFEF;
}
.wp-pagenavi .pages, .wp-pagenavi .current {
    padding: 5px !important;
    background: #fff !important;
    border: 1px solid #DFDFDF !important;
    margin: 0 10px 0 0 !important;
}

/*----------*/
/*	17. Slideshow  */
/*----------*/
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */
.slajd{
    
}
#container {
    position: relative;
    z-index: 0;
    background: #FFA26F url("images/content.jpg") no-repeat bottom right;
    padding: 0;
    margin: 0 10px 20px;
    -moz-box-shadow: 0 0 5px #43290a;
    -webkit-box-shadow: 0 0 5px #43290a;
    box-shadow: 0 0 5px #43290a;
}
#container .flexslider {
    margin: 0;
    padding: 0;
    height: 340px;
}
#container .flexslider h2{
    margin: 0.8em 0;
}
#container .flex-control-nav {
    width: auto;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
/* Browser Resets */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* FlexSlider Necessary Styles
 *********************************/
.flexslider {
    margin: 0;
    padding: 0;
}
.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    list-style: none
}/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    display: block;
    margin: 0 auto;
}
.flex-pauseplay span {
    text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
html[xmlns] .slides {
    display: block;
}
* html .slides {
    height: 1%;
}
.slides {
    margin: 0!important;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
    display: block;
}

/* FlexSlider Default Theme
 *********************************/
.flexslider {
    margin: 0 0 50px;
    position: relative;
    zoom: 1;
}
.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}
.loading .flex-viewport {
    max-height: 300px;
}
.flexslider .slides {
    zoom: 1;
}

.carousel li {
    margin-right: 5px
}

/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}
.flex-direction-nav a {
    width: 34px;
    height: 35px;
    margin: 0 0;
    display: block;
    background: url(images/icons.png) no-repeat 0 0;
    position: absolute;
    top: 45%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}
.flex-direction-nav .flex-next {
    background-position: -40px 0;
    right: -36px;
}
.flex-direction-nav .flex-prev {
    left: -36px;
}
.flex-direction-nav li {
    list-style: none
}
.flexslider:hover .flex-next {
    opacity: 0.8;
    right: 5px;
}
.flexslider:hover .flex-prev {
    opacity: 0.8;
    left: 5px;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 1;
}
.flex-direction-nav .flex-disabled {
    opacity: .3 !important;
    filter: alpha(opacity=30);
    cursor: default;
}

/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -50px;
    text-align: center;
    margin: 0 0 15px !important
}
.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.flex-control-paging li a {
    width: 7px;
    height: 7px;
    display: block;
    background: #666;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
.flex-control-paging li a:hover {
    background: #333;
    background: rgba(0,0,0,0.7);
}
.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0,0,0,0.9);
    cursor: default;
}

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}
.flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
}
.flex-control-thumbs img {
    width: 100%;
    display: block;
    opacity: .7;
    cursor: pointer;
}
.flex-control-thumbs img:hover {
    opacity: 1;
}
.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}

@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 0;
    }
    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 0;
    }
}

.flexslider .wp-post-image {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}
.flexslider .captionslide {
    position: absolute;
    width: 380px;
    right: 40px;
    top: 20px;
}
.flexslider h2 {
    margin: 0 0 10px 0;
    color: #2D2D2D;
}
.slide-no-image h2 {
    font-size: 30px;
    text-align: center;
    margin: 40px 0;
}
.slide-no-image p {
    width: 500px;
    margin: 20px auto;
}
.slide_page img {
    float: right;
    margin: 0 0 10px 15px;
}

.rve-embed-container {
    position: relative !important;
    padding-bottom: 56.25% !important;
    padding-top: 30px !important;
    height: 0 !important;
    overflow: hidden !important;
}
.rve-embed-container iframe, .rve-embed-container object, .rve-embed-container embed {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

@media print {
    p a[href^="http://"]:after, a[href^="https://"]:after {
        content: " (" attr(href) ")";
        word-wrap: break-word;
        color: #000;
        text-decoration: underline;
    }
    body {
        background: none;
        font: 10px Cambria, Times, Times New Roman, serif !important;
    }

    h1, h2 {
        font: 13px Verdana, Geneva, Arial, Helvetica, sans-serif !important;
    }

    h3, h4, h5, h6 {
        font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif !important;
        margin: 10px 0;
    }

    ul, ol, li {
        margin: 0 0 3px 10pt;
        padding: 0 !important;
    }

    th, td {
        padding: 2px 3px;
        border: 1px solid #000
    }
    .postmeta li {
        display: inline;
        margin-right: 10px;
    }
    #content, section, #wrapper, .post, #comments {
        float: left !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #header, #sidebar, #breadcrumbs, .nocomments, .reply, #respond, .wp-pagenavi, #nav, #footer, .post-comments, .post-edit-link {
        display: none;
    }
    .depth-2, .depth-3, .depth-4, .depth-5 {
        margin: 0 !important;
    }
    #comments li article {
        margin: 0 !important;
    }
}

