/*
Theme Name: Thomas
Theme URI: 
Author: MinisterstwoReklamy.pl
Author URI: http://wordpress.org/
Description: 
Version: 
License: 
License URI: 
Tags: 
Text Domain: 
*/
/* normal */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,hr,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin: 0; padding: 0;}
.fL{float: left;} .fR{float: right;} .cB{clear: both;} 
a img{border: 0;} a{text-decoration: none; cursor: pointer;} a:focus, a:hover{text-decoration: underline;}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5{margin-bottom: 24px; font-weight: bold;}
h1, .h1{font-size: 1.5em; line-height: 1em;} /* fs=24px|lh=24px */
h2, .h2{font-size: 1.375em; line-height: 1.0909em;} /* fs=22px|lh=24px */  
h3, .h3{font-size: 1.25em; line-height: 1.2em;} /* fs=20px|lh=24px */
h4, .h4{font-size: 1.125em; line-height: 1.333em;} /* fs=18px|lh=24px */
h5, .h5{font-size: 1em; line-height: 1.5em;} /* fs=16px|lh=24px */
/* clearfix */
.cf:before, .cf:after{content: ""; display: table;} .cf:after{clear:both;} .cf{zoom:1;} /* For IE 6/7 (trigger hasLayout) */
/* start  */
html{
    overflow-y:scroll; /* Scrollbars */
    font: normal 100%/1.25 Arial, "Helvetica Neue", sans-serif;  /* fs=16px|lh=20px */
    background: #fff;
    color: #333;
}
body{
    min-height:100%;
}
/* common */
.isle{
    width: 960px;
    margin: 0 auto;
}
.hide-text {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ====== media ====== */
.media, .bd {overflow:hidden; _overflow:visible; zoom:1;}
.media .img {float:left; margin-right: 10px;}
.media .img img{display:block;}
.media .imgExt{float:right; margin-left: 10px;}	
/* $HEADER
==========*/
#branding{
    position: relative;
}
    #site-title{
        margin: 7px 0 9px;
    }
        #site-title a{
            display: block;
            width: 135px;
            height: 84px;
            background: url(i/logo-main.jpg) 0 0 no-repeat;
        }
    #branding .fR{
        position: absolute;
        bottom: 17px;
        right: 0;
    }
.bar{
    background: url(i/bg-pasek.png) 0 0 repeat-x;
    height: 75px;
}
    .bar p{
        text-align: right;
    }
    .bar img{
        padding-top: 3px;
    }
/* $CONTENT
==========*/
#main{
    background: #f9f9f9;
    font-size: .75em;
    line-height: 1.5;
}
    #primary, #secondary{
        padding-top: 27px;
    }
    #primary{
        padding-left: 15px;
        padding-right: 15px;
        width: 710px;
        background: #efefef;
    }
    .single-post .head-top{
        padding-bottom: 24px;
    }
    .head-top .fL{
        color: #393939;
        font-size: 1.5em;
        line-height: 1.111;
        padding-bottom: 2px;
    }
    .head-top .fR a{
        color: #454545;
    }
        .head-top .fR img{
            vertical-align: bottom;
        }
/* posts - main */
.post-info, .post-info-date, .post-info-comment{
    margin-bottom: 4px;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.post-info{
    width: 46px;
    padding: 4px;
    background: #fff;
    font-weight: bold;
}
    .post-info-date{
        color: #272926;
        background: #e1e0de;
        padding: 3px;
        text-transform: uppercase;
    }
        .post-info-date span{
            font-size: 2em;
            line-height: 1;
            display: block;
        }
    .post-info-comment{
        background: #234197;
        padding: 5px;
    }
        .post-info-comment a{
            color: #fff;
        }
        .post-info-comment a:focus, .post-info-comment a:hover{
            color: #00a6f3;
        }
.post-content{
    width: 640px;
    background: #fff;
    padding: 5px;
    margin-bottom: 30px;
    position: relative;
}
    .entry-title{
        margin-bottom: 3px;
    }
        .entry-title a{
            color: #204394;
            font-size: 1.5em;
            line-height: 1.5;
        }
        .entry-title a:focus, .entry-title a:hover{
            color: #01a2ee;
        }
    .entry-meta{
        color: #b8b7b7;
        margin-bottom: 2em;
    }
        .entry-meta a{
            color: #666;
        }
        .entry-meta a:focus, .entry-meta a:hover{
            color: #333;
        }
    .entry-content{
        line-height: 2;
    }
        .img{
            float: left;
            margin: 0 24px 24px 0;
        }
        .more-link{
            position: absolute;
            height: 32px;
            display: inline-block;
            bottom: -10px;
            right: 20px;
            z-index: 5;
        }
        .more-link:hover{
            bottom: 0;
        }
/* pagination */
.paginate{
    color: #204394;
    font-weight: bold;
    padding-bottom: 2em;
}
    .paginate span{
        color: #00a6f3;
        font-weight: normal;
    }
    .paginate a{
        color: #454545;
        margin: 0 5px;
    }
    .paginate a:focus, .paginate a:hover{
        color: #00a6f3;
    }
/* comments */
#comments-list{
    margin-bottom: 1em;
}
#comments-list li, .formcontainer form{
    margin-left: 58px;
}
    #comments-list ol{
        list-style: none;
    }
        #comments-list li{
            background: #fff;
            padding: 33px;
        }
        .vcard{
            color: #b8b7b7;
        }
            .fn{
                color: #204394;
            }
            .vcard a{
                color: #666;
            }
            .vcard a:focus, .vcard a:hover{
                color: #999;
            }
    .formcontainer{
        padding-bottom: 24px;
    }
        #comment-notes{
            margin-bottom: 12px;
        }
            .required{
                color: #800000;
                font-weight: bold;
            }
            .formcontainer input, .formcontainer textarea{
                display: inline-block;
                border: 0;
                padding: 5px 0;
                width: 100%;
                -webkit-border-radius: 4px;
                -moz-border-radius: 4px;
                border-radius: 4px;
            }
            .form-inputs{
                width: 194px;
            }
            .form-textarea{
                width: 411px;
            }
            .form-submit{
                text-align: right;
            }
            .formcontainer #submit{
                border: 0;
            }
/* archive, category */
#nav-above, #nav-below{
    padding: 12px 0 24px;
    list-style: none;
}
    #nav-above a, #nav-below a{
        color: #800000;
    }
/* $SIDEBAR
==========*/
#secondary{
    width: 200px;
    padding: 39px 0 24px 20px;
}
    .sForm{
        margin-bottom: 12px;
    }
        .sForm input{
            display: block;
            width: 100%;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
        }
        .sForm .submit{
            width: auto;
            display: inline-block;
            background: url(i/bg-search.png) 0 0 no-repeat;
            width: 51px;
            height: 23px;
            text-align: center;
            font-size: 11px;
            border: 0;
        }
    .widget{
        background: url(i/shadow.png) 0 100% no-repeat;
        padding-bottom: 20px;
    }
    .inner{
        border: 1px solid #ddd;
        background: #fff;
        padding: 16px;
    }
    .inner-odd{
        background: #f2f2f2;
        text-align: center;
        border: 0;
    }
        .inner h3{
            margin-bottom: 12px;
            color: #393939;
        }
        .inner ul{
            list-style: none;
        }
            .inner li{
                color: #00a6f3;
            }
                .inner li a{
                    color: #1f408e;
                    padding-left: 10px;
                    font-weight: bold;
                    background:url(i/bg-listlink.png) 0 50%  no-repeat;
                }
                .inner a:focus, .inner a:hover{
                    color: #00a6f3;
                }
    .widget-link a{
        display: block;
        height: 183px;
    }

/* $FOOTER
==========*/
#colophon{
    padding-top: 65px;
}
    #colophon .isle{
        border-top: 1px #CECECE solid;
    }
    #branding-links{
        list-style: none;
        text-align: center;
    }
        #branding-links li{
            display: inline;
        }
            #branding-links a{
                display: inline-block;
                color: #2F509B;
                font-size: .875em;
                line-height: 1.5;
                font-weight: bold;
                margin: 5px 40px;
            }
    .ue-info{
        font: normal 11px/16px Tahoma, Arial, sans-serif;
        text-align: center;
    }
        .ue-info p{
            margin-bottom: 8px;
        }
    #copyright{
        font-size: .75em;
        line-height: 1.5;
        color: #999;
        text-align: right;
    }
            




/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 800px) {
	/* Simplify the basic layout */
	#main #content {
		margin: 0 7.6%;
		width: auto;
	}
	#nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	#main #secondary {
		float: none;
		margin: 0 7.6%;
		width: auto;
	}
	/* Simplify the showcase template */
	.page-template-showcase-php .featured-posts {
		min-height: 280px;
	}
	.featured-posts section.featured-post {
		height: auto;
	}
	.page-template-showcase-php section.recent-posts {
		float: none;
		margin: 0;
		width: 100%;
	}
	.page-template-showcase-php #main .widget-area {
		float: none;
		margin: 0;
		width: auto;
	}
	.page-template-showcase-php .other-recent-posts {
		border-bottom: 1px solid #ddd;
	}
	/* Simplify the showcase template when small feature */
	section.featured-post .attachment-small-feature,
	.one-column section.featured-post .attachment-small-feature {
		border: none;
		display: block;
		float: left;
		height: auto;
		margin: 0.625em auto 1.025em;
		max-width: 30%;
		position: static;
	}
	article.feature-image.small {
		float: right;
		margin: 0 0 1.625em;
		width: 64%;
	}
	.one-column article.feature-image.small .entry-summary {
		height: auto;
	}
	article.feature-image.small .entry-summary p a {
		left: 0;
		padding-left: 20px;
		padding-right: 20px;
		width: auto;
	}
	/* Remove the margin on singular articles */
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		width: 100%;
	}
	/* Simplify the pullquotes and pull styles */
	.singular blockquote.pull {
		margin: 0 0 1.625em;
	}
	.singular .pull.alignleft {
		margin: 0 1.625em 0 0;
	}
	.singular .pull.alignright {
		margin: 0 0 0 1.625em;
	}
	.singular .entry-meta .edit-link a {
		left: 0;
		position: absolute;
		top: 40px;
	}
	.singular #author-info {
		margin: 2.2em -8.8% 0;
		padding: 20px 8.8%;
	}
	/* Make sure we have room for our comment avatars */
	.commentlist {
		width: 100%;
	}
	.commentlist > li.comment,
	.commentlist .pingback {
		margin-left: 102px;
		width: auto;
	}
	/* And a full-width comment form */
	#respond {
		width: auto;
	}
	/* No need to float footer widgets at this size */
	#colophon #supplementary .widget-area {
		float: none;
		margin-right: 0;
		width: auto;
	}
	/* No need to float 404 widgets at this size */
	.error404 #main .widget {
		float: none;
		margin-right: 0;
		width: auto;
	}

}
@media (max-width: 650px) {
	/* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
	body, input, textarea {
		font-size: 13px;
	}
	#site-title a {
		font-size: 24px;
	}
	#site-description {
		font-size: 12px;
	}
	#access ul {
		font-size: 12px;
	}
	article.intro .entry-content {
		font-size: 12px;
	}
	.entry-title {
		font-size: 21px;
	}
	.featured-post .entry-title {
		font-size: 14px;
	}
	.singular .entry-title {
		font-size: 28px;
	}
	.entry-meta {
		font-size: 12px;
	}
	blockquote {
		margin: 0;
	}
	blockquote.pull {
		font-size: 17px;
	}
	/* Reposition the site title and description slightly */
	#site-title {
		padding: 5.30625em 0 0;
	}
	#site-title,
	#site-description {
		margin-right: 0;
	}
	/* Make sure the logo and search form don't collide */
	#branding #searchform {
		top: 1.625em !important;
	}
	/* Floated content doesn't work well at this size */
	.alignleft,
	.alignright {
		display: block;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	/* Make sure the post-post navigation doesn't collide with anything */
	#nav-single {
		display: block;
		position: static;
	}
	.singular .hentry {
		padding: 1.625em 0 0;
	}
	.singular.page .hentry {
		padding: 1.625em 0 0;
	}
	/* Talking avatars take up too much room at this size */
	.commentlist > li.comment,
	.commentlist > li.pingback {
		margin-left: 0 !important;
	}
	.commentlist .avatar {
		background: transparent;
		display: block;
		padding: 0;
		position: static;
	}
	.commentlist .children .avatar {
		background: none;
		left: 2.2em;
		padding: 0;
		position: absolute;
		top: 2.2em;
	}
	/* Use the available space in the smaller comment form */
	#respond input[type="text"] {
		width: 95%;
	}
	#respond .comment-form-author .required,
	#respond .comment-form-email .required {
		left: 95%;
	}
	#content .gallery-columns-3 .gallery-item {
		width: 31%;
		padding-right: 2%;
	}
	#content .gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media (max-width: 450px) {
	#content .gallery-columns-2 .gallery-item {
		width: 45%;
		padding-right: 4%;
	}
	#content .gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}

}


/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		font-size: 10pt;
	}
	footer.entry-meta a[rel=bookmark]:link:after,
	footer.entry-meta a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	#page {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	#branding {
		border-top: none !important;
		padding: 0;
	}
	#branding hgroup {
		margin: 0;
	}
	#site-title a {
		font-size: 21pt;
	}
	#site-description {
		font-size: 10pt;
	}
	#branding #searchform {
		display: none;
	}
	#branding img {
		display: none;
	}
	#access {
		display: none;
	}
	#main {
		border-top: none;
		box-shadow: none;
	}
	#primary {
		float: left;
		margin: 0;
		width: 100%;
	}
	#content {
		margin: 0;
		width: auto;
	}
	.singular #content {
		margin: 0;
		width: 100%;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}
	.entry-meta .edit-link a {
		display: none;
	}
	#content nav {
		display: none;
	}
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		margin: 0;
		width: 100%;
	}
	.singular .hentry {
		padding: 0;
	}
	.entry-title,
	.singular .entry-title {
		font-size: 21pt;
	}
	.entry-meta {
		font-size: 10pt;
	}
	.entry-header .comments-link {
		display: none;
	}
	.page-link {
		display: none;
	}
	.singular #author-info {
		background: none;
		border-bottom: none;
		border-top: none;
		margin: 2.2em 0 0;
		padding: 0;
	}
	#respond {
		display: none;
	}
	.widget-area {
		display: none;
	}
	#colophon {
		display: none;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		border: 1px solid #ddd;
		-moz-border-radius: 3px 3px 3px 3px;
		border-radius: 3px 3px 3px 3px;
		margin: 0 auto 1.625em;
		padding: 1.625em;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.commentlist li.comment .comment-meta {
		line-height: 1.625em;
		margin-left: 50px;
	}
	.commentlist li.comment .fn {
		display: block;
	}
	.commentlist li.comment .comment-content {
		margin: 1.625em 0 0;
	}
	.commentlist .comment-edit-link {
		display: none;
	}
	.commentlist > li::before,
	.commentlist > li.bypostauthor::before {
		content: '';
	}
	.commentlist .reply {
		display: none;
	}

	/* Post author highlighting */
	.commentlist > li.bypostauthor {
		color: #444;
	}
	.commentlist > li.bypostauthor .comment-meta {
		color: #666;
	}
	.commentlist > li.bypostauthor:before {
		content: none;
	}

	/* Post Author threaded comments */
	.commentlist .children > li.bypostauthor {
		background: #fff;
		border-color: #ddd;
	}
	.commentlist .children > li.bypostauthor > article,
	.commentlist .children > li.bypostauthor > article .comment-meta {
		color: #666;
	}

}


/* =IE7
----------------------------------------------- */

#ie7 article.intro {
	margin-left: -7.6%;
	margin-right: -7.6%;
	padding-left: -7.6%;
	padding-right: -7.6%;
	max-width: 1000px;
}
#ie7 section.featured-post {
	margin-left: -7.6%;
	margin-right: -7.6%;
	max-width: 850px;
}
#ie7 section.recent-posts {
	margin-right: 7.6%;
}

/* =IE8 
----------------------------------------------- */ 
 
#ie8 section.feature-image.large img { 
	width: 100%; 
} 
