/*
 Theme Name: MT white
 Theme URI: http://mt-white.tommek.eu/
 Description:Two-columns, fixed-width,  seo optimized  theme for WordPress. Compatible with WordPress 3.1 features, valid XHTML & CSS, custom widgets(Twitter, Flickr, About us, User profiles). Recommand installing „WP-PageNavi”.
 Author: Tomasz Mazur
 Author URI: http://tommek.eu
 Version: 3.2.0
 Tags: brown, two-columns, right-sidebar, fixed-width, microformats, sticky-post, holiday, threaded-comments, theme-options,  white, custom-header, custom-background, custom-menu
 License:GNU General Public License, v2 (or newer)
 License URI:http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 */
/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html */
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, font, 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 {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

blockquote {
    quotes: none;
}

blockquote:before, blockquote:after {
    content: '';
    content: none;
}

del {
    text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a img {
    border: none;
}
/*
 Variable Grid System.
 Learn more ~ http://www.spry-soft.com/grids/
 Based on 960 Grid System - http://960.gs/
 Licensed under GPL and MIT.
 */
.container_12,.container_16{margin-left:auto;margin-right:auto;width:960px}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16{display:inline;float:left;margin-left:10px;margin-right:10px}.container_12 .grid_3,.container_16 .grid_4{width:220px}.container_12 .grid_6,.container_16 .grid_8{width:460px}.container_12 .grid_9,.container_16 .grid_12{width:700px}.container_12 .grid_12,.container_16 .grid_16{width:940px}.alpha{margin-left:0}.omega{margin-right:0}.container_12 .grid_1{width:60px}.container_12 .grid_2{width:140px}.container_12 .grid_4{width:300px}.container_12 .grid_5{width:380px}.container_12 .grid_7{width:540px}.container_12 .grid_8{width:620px}.container_12 .grid_10{width:780px}.container_12 .grid_11{width:860px}.container_16 .grid_1{width:40px}.container_16 .grid_2{width:100px}.container_16 .grid_3{width:160px}.container_16 .grid_5{width:280px}.container_16 .grid_6{width:340px}.container_16 .grid_7{width:400px}.container_16 .grid_9{width:520px}.container_16 .grid_10{width:580px}.container_16 .grid_11{width:640px}.container_16 .grid_13{width:760px}.container_16 .grid_14{width:820px}.container_16 .grid_15{width:880px}.container_12 .prefix_3,.container_16 .prefix_4{padding-left:240px}.container_12 .prefix_6,.container_16 .prefix_8{padding-left:480px}.container_12 .prefix_9,.container_16 .prefix_12{padding-left:720px}.container_12 .prefix_1{padding-left:80px}.container_12 .prefix_2{padding-left:160px}.container_12 .prefix_4{padding-left:320px}.container_12 .prefix_5{padding-left:400px}.container_12 .prefix_7{padding-left:560px}.container_12 .prefix_8{padding-left:640px}.container_12 .prefix_10{padding-left:800px}.container_12 .prefix_11{padding-left:880px}.container_16 .prefix_1{padding-left:60px}.container_16 .prefix_2{padding-left:120px}.container_16 .prefix_3{padding-left:180px}.container_16 .prefix_5{padding-left:300px}.container_16 .prefix_6{padding-left:360px}.container_16 .prefix_7{padding-left:420px}.container_16 .prefix_9{padding-left:540px}.container_16 .prefix_10{padding-left:600px}.container_16 .prefix_11{padding-left:660px}.container_16 .prefix_13{padding-left:780px}.container_16 .prefix_14{padding-left:840px}.container_16 .prefix_15{padding-left:900px}.container_12 .suffix_3,.container_16 .suffix_4{padding-right:240px}.container_12 .suffix_6,.container_16 .suffix_8{padding-right:480px}.container_12 .suffix_9,.container_16 .suffix_12{padding-right:720px}.container_12 .suffix_1{padding-right:80px}.container_12 .suffix_2{padding-right:160px}.container_12 .suffix_4{padding-right:320px}.container_12 .suffix_5{padding-right:400px}.container_12 .suffix_7{padding-right:560px}.container_12 .suffix_8{padding-right:640px}.container_12 .suffix_10{padding-right:800px}.container_12 .suffix_11{padding-right:880px}.container_16 .suffix_1{padding-right:60px}.container_16 .suffix_2{padding-right:120px}.container_16 .suffix_3{padding-right:180px}.container_16 .suffix_5{padding-right:300px}.container_16 .suffix_6{padding-right:360px}.container_16 .suffix_7{padding-right:420px}.container_16 .suffix_9{padding-right:540px}.container_16 .suffix_10{padding-right:600px}.container_16 .suffix_11{padding-right:660px}.container_16 .suffix_13{padding-right:780px}.container_16 .suffix_14{padding-right:840px}.container_16 .suffix_15{padding-right:900px}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block}

body {
    font: 14px Georgia, Cambria, Times, Times New Roman, serif;
    line-height: 1.5;
    color: #2F2F2F;
}

/* Text elements */
p {
    font-size: 1em;
    margin: 0 0 1.5em 0;
    text-indent: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-variant: small-caps;
    font-weight: normal;
    letter-spacing: 0.076em;
}

h1, h2 {
    margin: 1.7144em 0 0.5715em 0;
    font-size: 1.3125em;
    line-height: 1.1429em;
}

h3 {
    margin: 2em 0 0.6667em 0;
    font-size: 1.125em;
    line-height: 1.3333em;
}

h4 {
    margin: 2.25em 0 0.75em 0;
    font-size: 1em;
    line-height: 1.5em;
}

h5 {
    margin: 2.5715em 0 0.8572em 0;
    font-size: 0.875em;
    line-height: 1.7143em;
}

h6 {
    margin: 3em 0 1em 0;
    font-size: 0.75em;
    line-height: 2em;
}

a {
    color: #8F0000;
    text-decoration: none;
}

a:hover {
    color: #8F0000;
}

code {
    font: 14px Consolas, Lucida Console, Monaco, monospace; /* 1em */
    overflow: auto;
}

pre {
    padding: 10px;
    font: 14px Consolas, Lucida Console, Monaco, monospace; /* 1em */
    background: #FFFFCC;
    overflow: auto;
	margin:0 0 10px 0;
}

blockquote {
    padding: 1.8em;
    color: #888;
    margin: 1.5em;
    font-style: normal;
	background:  url(images/q.png) no-repeat 0 1.5em;
}

sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

abbr {
    cursor: help;
}

address {
    margin: 1em 0
}

textarea {
    height: 10em;
    background: #EFE9D1;
    border-top: 2px solid #DFBE8B;
    border-left: 2px solid #DFBE8B;
    border-right: 1px solid #FFFCEF;
    border-bottom: 1px solid #FFFCEF;
}

input, select {
    background: #EFE9D1;
    margin-left: 15px;
    padding: 2px 3px;
    border-bottom: 1px solid #DFBE8B;
    border-right: 1px solid #DFBE8B;
    border-left: 1px solid #FFFCEF;
    border-top: 1px solid #FFFCEF;
}

input[type =
"text"], textarea {
    background: #EFE9D1;
    border-bottom: 1px solid #DFBE8B;
    border-right: 1px solid #DFBE8B;
    border-left: 1px solid #FFFCEF;
    border-top: 1px solid #FFFCEF;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
    padding: 2px;
}

legend {
    font-style: oblique;
    padding: 0 5px;
}

fieldset {
    border-bottom: 1px solid #DFBE8B;
    border-right: 1px solid #DFBE8B;
    border-left: 1px solid #FFFCEF;
    border-top: 1px solid #FFFCEF;
    padding: 10px;
}

table {
    text-align: left;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 1px;
    empty-cells: show;
    background: #EFEFEF;
    border-top: 1px solid #DFBE8B;
    border-left: 1px solid #DFBE8B;
    border-right: 1px solid #FFFCEF;
    border-bottom: 1px solid #FFFCEF;
}

td, th {
    border-top: 1px solid #DFBE8B;
    border-left: 1px solid #DFBE8B;
    border-right: 1px solid #FFFCEF;
    border-bottom: 1px solid #FFFCEF;
    padding: 4px 6px;
    empty-cells: show;
}

td {
    background: #FFF8EF;
}

th {
    background: #EFE9D1;
    margin: 2px;
}

table caption {
    text-align: left;
    padding: 4px;
    caption-side: bottom;
}:focus {
    outline: 0px;
}

hr {
    background-color: #e7e7e7;
    border: 0;
    clear: both;
    height: 1px;
    margin-bottom: 18px;
}

strong {
    font-weight: bold;
}

cite, em, i, q {
    font-style: italic;
    display: inline;
}

big {
    font-size: 131.25%;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

/*--- /HTML - -header */
#wrapper {
    padding-top: 10px;
}

#header {
    height: 200px;
    border-bottom: 2px solid #eed18b;
    background: #fff url(images/logo.jpg) repeat-x;
}

#footer .container_12, #nav .container_12, #header .container_12 {
    background: none;
    position: relative;
}

#header h1, #header h2 {
    position: absolute;
    left: 10px;
    bottom: 0;
    padding: 3px 5px;
}

#header h1 a, #header h2 a {
    font-size: 26px;
    padding: 3px 5px;
}

#header h1 em, #header h2 em {
    font-size: 14px;
    display: block;
    padding: 3px 8px 0 8px;
}

/************** Search ***************/
#searchform {
    margin:5px 0 0 0;
    float: right;
}

#searchform p, .grid_5 span p {
    margin: 0;
}

.screen-reader-text {
    float: left;
    margin: 7px 8px 0 0;
	font-size:11px;
}

#s {
    background: transparent;
    border: 0;
    width: 120px;
    height: 24px;
    margin: 0;
    padding: 3px 0 3px 5px;
    background: transparent url(images/search.jpg) no-repeat 0 0;
    float: left;
}

#searchsubmit {
    background: transparent url(images/search.jpg) no-repeat -160px 0;
    border: none;
    height: 30px !important;
    width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    text-indent: -6999px;
    line-height: 0;
    float: left;
}
/*********Horizontal nav*********/
#nav {
    padding: 17px 0;
    background: transparent url(images/nav.jpg);
    border-top: 3px solid #E8C992;
    border-bottom: 3px solid #E8C992;
}

#nav li {
    float: left;
    margin-right: 3px;
    position: relative;
    min-height: 1px;
    vertical-align: bottom;
}

#nav li li {
    background: #EFECE0;
    border: none;
    width: 200px;
}

#nav .current_page_item a, #nav .current-menu-item a, #nav .sub-menu .current_page_item a, #nav .sub-menu .sub-menu .current-menu-item a, #nav .current-menu-ancestor a {
    color: #000
}

#nav .sub-menu a, #nav .sub-menu .sub-menu a {
    color: #8B441A
}

#nav a {
    display: block;
    padding: 6px;
}

#nav ul ul {
    position: absolute;
    z-index: 500;
    top: auto;
    display: none;
    width: 200px;
    padding: 0;
    margin: 0;
    border: 1px #DFBA8B solid;
    background: #EFECE0;
    -moz-box-shadow: 0 0 5px #501F0E;
    -webkit-box-shadow: 0 0 5px #501F0E;
    box-shadow: 0 0 5px #501F0E;
}

#nav ul ul ul {
    top: 0;
    left: 100%;
}

#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;
}

/*__________________ sidebar _____________________*/
.sidebar {
    -moz-box-shadow: 0 0 5px #501F0E;
    -webkit-box-shadow: 0 0 5px #501F0E;
    box-shadow: 0 0 5px #501F0E;
    background: #F2E7BA;
    padding-top: 10px
}

.sidebar .widget {
    float: left;
    padding: 0 10px;
    margin: 0 0 5px 0;
}

.sidebar .widget li {
    min-width: 278px;
}

.sidebar .widget li li {
    border: 1px solid #DFBE8B;
    padding: 5px;
    margin-bottom: 5px;
    background: #EFE9D1;
    min-width: 0;
}

.sidebar .widget li li:hover {
    background: #fff;
}

.widget-title {
    margin: 10px 0 4px 0 !important;
}

.sidebar .vcard {
    margin: 0 0 10px 0 !important;
}

.sidebar .vcard ul li, .sidebar .vcard ul li:hover {
    border: none;
    background: none;
}

.widget .note, .widget .fn h3 {
    float: left !important;
    margin: 0;
}

.widget h3 {
    font-weight: bolder;
}

#footer .social {
    height: 50px;
}

#footer .social li a {
    float: left;
}

.sidebar .social li {
    background: none !important;
    border: none !important;
    float: left !important;
    min-width: 0 !important;
}

.social li a, .social li a:hover {
    height: 30px;
    width: 30px;
    float: left;
    margin: 0 5px 0 0;
    text-indent: -6969px !important;
    line-height: 0;
    background: transparent url(images/social.png) no-repeat 0 0;
}

#tb a {
    background: transparent url(images/social.png) no-repeat -240px 0;
}

#fb a {
    background: transparent url(images/social.png) no-repeat -80px 0;
}

#fm a {
    background: transparent url(images/social.png) no-repeat -200px 0;
}

.photo {
    float: right !important;
    padding: 4px;
    border: 1px solid #DFBE8B;
    background: #EFE9D1;
}

.photo img {
    margin: 0;
    padding: 0;
}

.sidebar #twitter_update_list li {
    border: 1px #DFBE8B solid !important;
    background: #FFF8EF;
    margin: 0 0 3px 0;
    padding: 5px;
    display: block;
}

/*_ post__*/
.post {
    margin: 0 0 10px 0;
    padding: 10px 20px;
    background: #FFF;
    border: 1px solid #DFBE8B;
}

.format-gallery p, .format-gallery ul, .format-gallery ol, .format-gallery dl{
	max-width:600px;
}

.format-image .attachment-large{
	margin:0 auto 10px;
}

.format-gallery h2{
	text-align:center;
	margin:5px 0;
}
.format-aside ul, .format-link ul, .format-image ul{
	clear:both;
}
.attachment .post {
    border: none
}

.attachment-single_post {
    margin: 0;
}

.sticky {
    background: #F2E7BA;
}

.entry img {
    height: auto;
    max-width: 578px;
    border: none;
    margin: 0;
}

.attachment #wrapper img {
    max-width: 940px;
    display: block;
    margin: 0 auto;
}

.entry input {
    margin: 0 5px 5px 0;
}

.entry ul {
    list-style: square;
    margin: 0 0 14px 1em;
}

.entry ul ul {
    list-style: disc;
    margin: 0 0 0 1em;
}

.entry ul ul ul {
    list-style: circle;
}

.entry ol {
    list-style: decimal;
    margin: 0 0 14px 1em;
}

.entry ol ol {
    list-style: lower-latin;
    margin: 0 0 0 1em;
}

.entry ol ol ol {
    list-style: lower-roman;
}

.entry ol ol ol ol {
    list-style: lower-alpha;
}

.entry dl {
    margin: 0 0 15px 0;
}

.entry dt {
    font-weight: bold;
}

.entry dd {
    margin-bottom: 12px;
}

.title li {
    display: block;
}

.title strong {
    font-weight: normal;
    font-size: 0.86em
}

.title {
    margin: 10px 0 25px 0;
    text-align: center;
    width: 100%;
    clear: both;
}

.title ul {
    margin: 10px 0;
}

.title h1, .title h2 {
    font-size: 1.57em;
    margin: 0.6em 1em 0.3em 1em;
}

.title span {
    color: #BF9E6B
}

.error {
    min-height: 300px;
}

.page-link {
    width: 575px;
    float: left;
    margin: 10px 0 0 0;
}

.page-link a {
    background: #EFE9D1;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 0 5px 3px 5px;
}

/*___________________ comments _______________________*/
#comments {
    padding: 10px;
    border: 1px #DFBA8B solid;
    font-size: 1em;
    margin-bottom: 10px;
	background:#fff;
}

#comments #submit {
    border: 1px solid #DFBE8B;
    border-right: 1px solid #DFBE8B;
    border-left: 1px solid #FFFCEF;
    border-top: 1px solid #FFFCEF;
}

#comments input, #respond textarea {
    margin: 0;
    border-top: 2px solid #DFBE8B;
    border-left: 2px solid #DFBE8B;
    border-right: 1px solid #FFFCEF;
    border-bottom: 1px solid #FFFCEF;
}

#comments h3 {
    margin: 15px 0;
    display: block;
}

.comment {
    border: 1px solid #DFBE8B;
    margin: 10px 0;
    padding: 10px;
}

#respond {
    border-bottom: 1px solid #DFBE8B;
    border-right: 1px solid #DFBE8B;
    border-left: 1px solid #FFFCEF;
    border-top: 1px solid #FFFCEF;
    margin: 5px 0;
    padding: 10px;
    background: #F2E7BA;
    padding: 10px 30px;
}

#respond code {
    border: none;
    font-size: 11px;
    padding: 0;
}

.depth-2, .depth-3 {
    margin-left: 60px;
}

#respond textarea {
    width: 507px;
}

.depth-2 #respond textarea {
    width: 420px;
}

.depth-2 .comment-form-comment {
    width: 460px;
}

.depth-3 #respond textarea {
    width: 360px;
}

.depth-3 .comment-form-comment {
    width: 400px;
}

.depth-4 #respond textarea {
    width: 300px;
}

.depth-4 .comment-form-comment {
    width: 340px;
}

.reply {
    background: #F2E7BA;
    display: inline;
    padding: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #DFBE8B;
}

.comment-form-author, .comment-form-email, .comment-form-url {
    width: 240px;
}

.comment-form-comment, #comment {
    width: 540px;
    _width: 520px;
}

.odd {
    background: #EFECE0
}

.byuser, .bypostauthor {
    background: #F2E7BA;
}

.nopassword, .nocomments {
    display: none;
}

.pingback, .trackback {
    border: 1px solid #A90000 !important;
    background: #FFF9DF !important
}

/*** footer***/
#footer {
    margin: 0;
    width: 100%;
    background: #322E25 url(images/footer.jpg) repeat-x bottom left;
    clear: both;
    border-top: 2px #d6c5a9 solid;
    text-align: left;
    color: #EFE5D1;
}

#footerspan {
    padding: 10px 0 50px 0;
    margin: 0;
    background: transparent url(images/footer_r.jpg) no-repeat bottom right;
}

#footer a {
    color: #B4A07F;
}

#footer a:hover {
    color: #A90000;
}

#footer .grid_5, #footer .grid_7 {
    margin: 0 0 40px 0;
    padding: 10px;
}

.menubtm {
    clear: both;
    width: auto;
    background: #322E25;
    text-align: center;
}

.menubtm li {
    display: inline;
    padding: 0 10px 0 0;
    line-height: 2em;
}

#footer .twitter_update_list {
    border: 1px #594020 solid;
    background: #000;
}

#footer #twitter_div {
    border: 1px #2E2010 solid;
    background: #150A04;
    padding: 3px 3px 0 3px;
    display: block;
}

#footer #twitter_update_list li {
    border: 1px #594020 solid !important;
    background: #2F261A;
    margin: 0 0 3px 0;
    padding: 10px;
    display: block;
}

#footer #twitter-link {
    font-style: oblique;
    float: left;
    margin: 5px 0 20px 0;
}

/*--------- FLICKR  ----*/
#footer #flickr a {
    background: #2F261A;
}

.flickr_badge_image {
    float: left;
}

#flickr a {
    float: left;
    padding: 8px;
    background: #fff;
    margin: 0 2px 2px 0;
}

#flickr a:hover {
    background: #DFBE8B;
}

#flickr a img {
    margin: 0;
}

/*---WP-pagenavi -*/
.wp-pagenavi {
    padding: 10px 0 !important;
	clear:both;
}

.wp-pagenavi .current {
    margin: 0 10px !important;
}

.wp-pagenavi .pages, .wp-pagenavi .current {
    padding: 5px !important;
    background: #DFBA8B !important;
}

.wp-pagenavi .page {
    border: none !important;
    padding: 0 !important;
    float: none !important;
}

.wp-pagenavi a, .wp-pagenavi .extend {
    margin: 0 0 0 10px !important;
    background: none !important
}

/*
 ------------------------- GALLERY WORDPRESS ---------------------
 */
.wp-caption {
    font-size: 12px;
    padding: 5px;
    margin: 0;
    background: #EFE9D1;
	max-width:568px;
	margin:0 0 5px 0;
}

.wp-caption img {
    margin: 5px 5px 0;
	max-width:558px;
}

.single-format-gallery .wp-caption img {
	max-width:878px;
}

.single-format-gallery .wp-caption {
	max-width:598px;
}

.wp-caption-text {
    margin: 5px 0;
    text-align: center;
}

.gallery {
    margin: auto;
    overflow: hidden;
    width: 100%;
}

.gallery-item {
    float: left;
    margin: 0 5px 5px 0;
    text-align: center;
}

.gallery-item img{
    margin: 0 auto;
    border: 1px solid #DFBE8B;
}

.gallery-columns-1 .gallery-item{
	width:100%;
}

.gallery-columns-2 .gallery-item{
	width:50%;
}

.gallery-columns-3 .gallery-item{
	width:33%;
}

.gallery-columns-4 .gallery-item{
	width:25%;
}

.gallery-columns-5 .gallery-item{
	width:20%;
}

.gallery-columns-6 .gallery-item{
	width:16%;
}

.gallery-columns-7 .gallery-item{
	width:14%;
}

.gallery-caption {
    width: 150px;
    font-size: 11px;
    margin: 0 10px
}

.gallery br {
    clear: both
}

.attachment img {
    margin: 10px auto;
}

.entry-caption {
    text-align: center;
}

.alignright {
    float: right;
    margin: 5px 0 5px 10px;
}

.alignleft {
    float: left;
    margin: 5px 10px 5px 0;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignnone {
    display: inline;
}

.entry-meta {
    padding: 10px 10px 10px 25px;
    list-style: disc
}

