/*
Theme Name: Eryk Mistewicz
Theme URI: http://erykmistewicz.pl
Author: Yzoja
Author URI: http://pudlo.be
Version: 1.0.2013
*/

@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Roboto:300,500,700&subset=latin,latin-ext);

* {
margin: 0 auto;
padding: 0;
}

.clear {
clear: both;
}

body {
background: #fff;
color: #444;
font-family: Roboto, arial, ubuntu, helvatica;
font-size: 18px;
line-height: 160%;
}

a {
text-decoration: none;
color: #051e3f;
}

iframe {
border: 0;
}

strong {
font-weight: 500;
}

article a {
border-bottom: 1px solid #ddd;
}

a:hover {
color: #113a71;
}

#header {
z-index: 9999;
position: relative;
top: 0px;
width: 100%;
background: #001e47;
background: -moz-linear-gradient(top, #001e47 0%, #012659 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#001e47), color-stop(100%,#012659));
background: -webkit-linear-gradient(top, #001e47 0%,#012659 100%);
background: -o-linear-gradient(top, #001e47 0%,#012659 100%);
background: -ms-linear-gradient(top, #001e47 0%,#012659 100%);
background: linear-gradient(to bottom, #001e47 0%,#012659 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e47', endColorstr='#012659',GradientType=0 );
}

#logos_8-2, #logos_5-3 {
overflow: visible;
}

#right {
float: right;
width: 230px;
text-align: center;
margin-top: -90px;
}

#right a img {
margin: 0 5px;
}

#right li {
list-style-type: none;
display: inline-block;
padding: 0 5px;
}

#right a {
font-size: 29px;
font-weight: bold;
text-transform: uppercase;
color: #fff;
}

nav {
width: 100%;
background: #051e3f;
line-height: 32px;
z-index: 8;
margin-top: 110px;
}

header {
position: relative;
height: 168px;
}

header.sticky {
height: 120px;
position: fixed;
width: 100%;
z-index: 10999;
}

header.sticky #header, header.sticky nav  {
position: static;
height: auto;
margin-top: 0 !important;
}

header.sticky #header {
height: 50px;
}

header.sticky #right a {
font-size: 18px;
}

header.sticky #header #infos > a {
width: 30%;
background-size: contain;
float: left;
height: 50px;
}

header.sticky  .menu-right-container {
float: right;
}

header.sticky #right a img {
height: 15px;
width: auto;
vertical-align: middle;
}

header.sticky #right > a {
float: right;
}

header.sticky #right {
float: right;
width: 360px;
margin-top: 0;
line-height: 50px;
}

header #header {
position: absolute;
}

header nav {
position: absolute;
}

header.sticky nav ul li {
padding: 0;
margin: 0 5px;
}

header.sticky nav a {
font-size: 15px;
}


#header {
position: fixed;
margin-top: -25px;
height: 135px;
}

nav {
position: fixed;
top: 0px;
}

.admin-bar nav {
margin-top: 110px;
}

#content {
margin-top: 148px;
}

.admin-bar #content {
margin-top: 120px;
}

header + #content {
margin-top: 0 !important;
}

header.sticky + #content {
padding-top: 150px !important;
}

#loop {
margin-bottom: 20px;
}

nav ul {
text-align: center;
}

nav ul li {
list-style-type: none;
display: inline-block;
padding: 0 20px;
}

nav ul li a {
font-size: 22px;
color: #fff;
font-weight: bold;
}

#header #infos > a {
background: url('logo.png') no-repeat;
background-size: 100% auto;
width: 800px;
height: 130px;
display: block;
color: rgba(0,0,0,0);
margin: 0 auto 0 0;
}

#header .section {
max-width: 1180px;
margin: 0 auto;
padding: 0px 10px;
}

#content {
width: 1200px;
margin: 148px auto 0 auto;
}

#sidebar {
}

#blog {
width: 80%;
margin: 0 auto;
}

ul, ol {
clear: left;
}

h1, h2, h3 {
margin-bottom: 10px;
}


.error404 .top {
padding: 20px 0;
}

/* kosmetyka sidebara */

#sidebar li {
list-style-type: none;
}

li li {
padding-left: 20px;
}

#sidebar .widget {
padding: 10px;
margin-bottom: 20px;
}

/* pojedynczy wpis */

article.post, article.page {
padding: 20px 20px 20px 10px;
}

article .more * ~ *{
}

article {
font-weight: 300;
}

article li {
margin-left: 30px;
}

h1.title, .page-title {
padding: 5px 0px;
margin-bottom: 20px;
font-size: 45px;
line-height: 30px;
}

h1.category-title {
margin-top: 20px;
margin-left: 10px;
font-size: 25px;
}

h1.list-title {
font-size: 18px;
z-index: 20;
}

.post-list-item {
padding-left: 10px;
margin-bottom: 20px;
}

.post-list-item .right {
font-weight: 500;
font-size: 14px;
margin: 0;
}

.post-list-item p {
font-size: 17px;
}

.left, .alignleft {
float: left;
margin: 5px 10px 5px 0;
}

.right, .alignright {
float: right;
margin: 5px 0px 5px 10px;
}

.more, article.page {
text-align: justify;
}

div.title {
margin-bottom: 20px;
}

#blog.main div.title span {
font-size: 30px; 
line-height: 25px;
}

.more p, article.page p  {
padding-bottom: 10px;
}

.wp-caption {
border: 1px solid #ddd;
background: #eee;
}

.wp-caption a img {
margin-top: 4px;
display: block;
}

.wp-caption p {
text-align: center;
font-style: italic;
padding-top: 5px;
padding-bottom: 5px;
}

.thumbnail {
display: none;
background: #eee;
padding: 5px;
margin-top: 0;
line-height: 0;
}

blockquote {
margin: 10px 20px;
font-family: georgia, times, serif;
line-height: 150%;
font-style: italic;
border-left: 3px dotted #051e3f;
padding-left: 10px;
color: #aaa;
}

article h1, article h2, article h3, #sidebar h2 {
color: #051e3f;
}

.sticky .meta {
background: #e3c23f;
}

.meta {
background: #eee;
padding: 5px;
margin-top: 10px;
}

.meta span {
font-variant: small-caps;
padding: 0 5px;
text-transform: lowercase;
}

.instagram a {
display: block;
background-size: 100% auto;
}

a img {
border: 0;
}

.grid h2 span, .grid .links a {
color: #fff;
}

.left .juiz_sps_links {
display: inline-block;
margin-right: 5px;
}

#blog.main .right {
list-style-type: none;
text-align: right;
}

.right .post-meta-key {
font-weight: bold;
display: block;
}

#pagination {
padding: 20px 10px;
clear: both;
}

#pagination .page-numbers {
padding: 6px 10px;
color: #aaa;
border: 1px solid #ddd;
background: #fff;
margin-right: 5px;
}

#pagination .page-numbers.current {
color: #fefefe;
background: #001e47;
}

#pagination a.page-numbers:hover, #submit:hover, #searchsubmit:hover {
color: #001e48;
}

.pic-title {
position: absolute;
bottom: 0;
height: auto;
display: block;
width: 100%;
font-size: 14px;
background: #08469c;
padding: 10px 0;
text-align: center;
color: #fff;
}

#blog.search .error {
padding: 20px 0;
}

.grid.x2 .list-title {
font-size: 24px;
}

.grid .list-title {
width: 100%;
display: block;
font-size: 14px;
background: #08469c;
padding: 10px 0;
text-align: center;
color: #fff;
position: absolute;
z-index: 5;
bottom: 0;
}

.grid > ul {
margin: 0 30px;
position: relative;
z-index: 3;
}

.grid ul .list {
position: relative;
z-index: 10;
font-size: 20px;
line-height: 18px;
padding: 10px 0;
margin-left: 0;
color: #980F16;
}
.grid ul .list a {
font-size: 16px;
}

#blog.main .tags {
height: 2px;
}

#blog.main .tags, #blog.main .tags a {
color: #fefefe;
font-size: 1px;
text-decoration: none;
border-bottom: 0;
}

#blog.main div.title {
font-weight: 800;
font-family: 'Roboto';
font-size: 45px;
line-height: 55px;
text-align: center;
}

#thread-share-menu {
display: none;
}

.footerwidget.widget_text {
padding-top: 5px;
}

.footerwidget.widget_text a {
opacity: 0.8;
}

.footerwidget.widget_text a:hover {
opacity: 1;
}

/* errory */

p.nocomments, p.nopassword {
background: #fce2e2;
border: 1px solid #ff6363;
color: #ff0000;
 border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
margin: 10px 0;
padding: 3px 6px;
font-size: 13px;
width: 470px;
}

p.comment-notes, .form-allowed-tags {
background: #e6fad5;
border: 1px solid #46992b;
color: #286111;
 border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
margin: 10px 0;
padding: 3px 6px;
font-size: 13px;
width: 470px;
}

/* css podstawowy dla komentarzy */

#comments li {
list-style-type: none;
}

.comment-body {
margin-bottom: 20px;
}

.comment-meta, .reply {
text-align: right;
margin: 5px 0;
}

.comment-meta {
margin-top: -32px;
line-height: 32px;
height: 32px;
}

.comment-body .avatar {
vertical-align: middle;
}

.comment-body p {
color: #555;
margin-left: 32px;
border: 1px solid #ddd;
background: #eee;
padding: 5px;
}

.children {
padding-left: 32px;
}

textarea, input {
padding: 5px;
border: 1px solid #ddd;
color: #888;
margin: 5px auto 5px 0;
}

input[type="submit"] {
cursor: pointer;
margin-bottom: 20px;
}

.grid {
overflow: hidden;
width: 220px;
display: inline-block;
vertical-align: top;
height: 343px;
margin: 9px;
position: relative;
border: 1px solid #ddd;
}

.grid h2 {
margin: 0;
position: absolute;
}

.grid .background, .grid > div, .grid .article {
height: 343px;
background-size: cover; -ms-behavior: url(/backgroundsize.min.htc);
display: block;
background-position: center top;
}

.grid .background {
display: block;
}

.grid.newspaper div {
height: 315px;
}

.grid .article h2 {
position: absolute;
bottom: 0;
height: auto;
display: block;
width: 100%;
font-size: 14px;
background: #08469c;
padding: 10px 0;
text-align: center;
color: #fff;
}

#post_widget-2 .article h2 {
font-size: 20px;
}

.grid .article h2 a {
color: #fff;
}

#image_links_widget-2 {
width: 460px;
float: right;
height: 706px;
}

#image_links_widget-5 {
width: 460px;
height: 706px;
}

#text-9, #text-11, #text-14, #text-15, #text-16, #text-7, #text-18, .logos  {
border: 0;
width: 222px;
text-align: center;
}

#image_links_widget-2 div, #image_links_widget-5 div {
height: 656px;
}

#image_widget-12, #image_widget-12 > div {
height: 364px;
}

#text-7 > div {
height: 82px;
}

#text-5 > div {
height: 80px;
}

#image_instagram-3, #image_instagram-3 > a {
height: 437px;
}

@media only screen and (min-width : 1200px) {

#image_links_widget-6 {
margin-left: -710px;
}

#text-7 {
height: 82px;
float: right;
margin-top: -91px;
}

#text-5 {
height: 80px;
margin-top: -91px;
margin-left: 8px;
}

}

.grid.newspaper .links {
width: 100%;
height: 28px;
}

.grid.newspaper .links a {
font-weight: bold;
line-height: 28px;
width: 50%;
text-align: center;
color: #fff;
font-weight: bold;
display: inline-block;
}

#image_links_widget-2 .links, #image_links_widget-5 .links {
height: 50px;
}

#image_links_widget-2 .links a, #image_links_widget-5 .links a {
line-height: 50px;
font-size: 20px;
}

.inside {
background: #08469c;
}

.buy {
background: #e61718;
}

.x2 {
width: 460px;
}

.h2, .h2 > div, .h2 > .article, .grid.instagram > a {
height: 460px;
}

.x3 {
width: 700px;
}

.mini-row, .mini-row .background {
height: 263px;
}

.grid h3 {
position: absolute;
bottom: 0;
height: auto;
display: block;
width: 100%;
font-size: 14px;
background: #08469c;
padding: 10px 0;
text-align: center;
color: #fff;
margin-bottom: 0;
}

.logos a {
background-size: 100% auto;
background-repeat: no-repeat;
display: inline-block;
width: 222px;
height: 81px;
}

.logos-5 a {
margin-bottom: 6px;
}

#logos_4-3 a, #logos_4-2 a {
margin-bottom: -1px;
}


.logos-8 a {
margin-bottom: 2px;
}

#logos_3-2 {
height: 82px;
border: 0;
width: 702px;
}

#logos_3-2 a ~ a {
margin-left: 13px;
}

#text-2 {
float: right;
margin-top: -245px;
height: 234px;
background: url('strefa.jpg');
}

#text-2 ul {
text-align: center;
padding-top: 182px;
}

#text-2 li {
display: inline-block;
list-style-type: none;
font-family: 'PT Sans Narrow';
}

#text-2 li a {
font-size: 39px;
color: rgb(86, 0, 16);
text-shadow: 1px 1px 1px rgba(0,0,0,1);
padding: 0 2px;
}

#text-2 li a.fancy {
color: #fff;
}

#logos_3-3 a {
margin-bottom: 4px;
}

#text-16 a ~ a {
margin-top: 9px;
display: block;
}

#text-9 a ~ a {
margin-top: 1.7px;
display: block;
}

#text-9 {
border: 0;
overflow: visible;
margin-top: -355px;
}

#text-9 > div {
height: 68px;
}

#text-9 img {
width: 462px;
margin-bottom: 15px;
}

#post_widget-8 {
margin-left: -232px;
}

.grid.yt {
background: #08469c;
}

.yt h2 {
bottom: 10px;
color: #fff;
font-size: 14px;
text-align: center;
width: 100%;
}

/* footer */

#bottom {
background: #001d44;
}

#searchform {
float: left;
}

#searchform input {
margin: 0;
}

.footerwidget.widget_nav_menu {
float: right;
}

#footwidget {
width: 595px;
float: right;
font-size: 29px;
text-align: right;
text-transform: uppercase;
}

#footwidget ul li {
list-style-type: none;
margin: 0 5px;
display: inline-block;
}

#footer {
width: 1200px;
margin: 0px auto;
padding: 5px 20px;
color: #fff;
}

#copyright {
font-size: 14px;
}

#footer a {
color: #fff;
font-weight: bold;
} 

.widget li a:before {
content: "› ";
color: #aaa;
}

#image_instagram-2 {
clear: both;
}

#image_widget-12 {
background: #FCF5E2;
}

/* responsive part of the view */

@media only screen and (max-width : 340px) {

body {
font-size: 15px;
}

.grid, #post_widget-10 {
width: 130px;
height: 200px;
}

#header #right {
margin-top: -10px;
}

#blog.main div.title {
font-size: 20px;
line-height: 25px;
}

#post_widget-10 {
height: 204px;
}

#image_instagram-4 > a, #image_instagram-4, #post_widget-9, #post_widget-9 > .article, #image_instagram-3, #image_instagram-3 > div, #image_instagram-2, #image_instagram-2 > a {
height: 280px;
}

.logos a {
width: 132px;
height: 48px;
margin-bottom: -1px;
}

.grid .article h2 a {
padding: 0 5px;
display: block;
}

#right img {
width: 30px;
height: auto;
}

.grid > div, .grid .background, #post_widget-10 > div, .grid .article {
height: 200px;
}

.grid.h2 > .article, .grid.instagram > a {
height: 266px;
}

.grid.newspaper a > div {
height: 180px;
}

.logos-5 {
height: 266px;
}

#logos_4-5 {
text-align: justify;
height: 100px;
}

#text-7 {
width: 130px;
margin-left: 160px;
height: 48px;
margin-top: -47px;
margin-right: 11px;
}

#text-7 img {
width: 130px;
height: auto;
}

#image_widget-12 > a, #image_widget-12 {
background-size: 100% auto;
background-repeat: no-repeat;
height: 217px;
width: 128px;
}

#image_links_widget-2 a > div, #image_links_widget-5 a > div, #image_links_widget-6 a > div {
height: 380px;
}

#image_links_widget-6 .links {
height: 50px;
}

#image_links_widget-6 .links a {
line-height: 50px;
font-size: 20px;
}

#image_links_widget-2, #image_links_widget-5, #image_links_widget-6 {
height: 430px;
}

.grid.newspaper .links {
height: 21px;
line-height: 21px;
}

.mini-row, .mini-row .background {
height: 160px;
}

#logos_3-2 {
width: 130px;
height: 200px;
}

#post_widget-8 {
margin-left: 9px;
}

#text-5 {
height: 32px;
}

#text-9 {
margin-top: 0;
height: 220px;
}

.yt iframe, #text-9 iframe {
width: 280px !important;
border: 0;
height: 160px !important;
}

#logos_3-2 a ~ a {
margin-left: 0;
}

.logos-5 a {
margin-bottom: 0;
height: 50px;
}

.h2, .h2 .article {
height: 266px;
}

.grid.newspaper .links a {
font-size: 10px;
line-height: 21px;
margin-top: -1px;
padding-top: 1px;
}

.logos-8 {
text-align: justify;
height: 220px;
}

.logos-8 a {
margin-bottom: 0;
height: 50px;
}

.logos-8 a:last-child, #logos_4-5 a:last-child {
margin-left: 12px;
}

#text-2 {
float: none;
}

.grid.x2, .grid.x3, #image_links_widget-2, #post_widget-7, #post_widget-9, #image_links_widget-5, #image_links_widget-6, .logos-8, #logos_4-5 {
width: 280px;
float: none;
}

.grid .article h2, #post_widget-2 .article h2 {
padding: 5px 0;
font-size: 13px;
}

#image_widget-2, #image_widget-2 > .background {
height: 180px;
}

#text-2 {
margin-top: 9px;
width: 280px;
background-position: center center;
background-size: cover; -ms-behavior: url(/backgroundsize.min.htc);
height: 100px;
}

#text-2 ul {
padding-top: 72px;
}

#text-2 li a {
font-size: 14px;
padding: 0;
}

#header #infos > a {
height: 60px;
}

nav {
margin-top: 104px;
}

.home nav {
top: 104px;
margin-top: 0px;
line-height: 30px;
}

.home #content {
margin-top: 150px;
}

#post_widget-10 .article {
height: 204px;
}

#outer #header {
height: 105px;
}

#outer nav ul li {
padding: 0;
}

}

@media only screen and (min-width : 341px) and (max-width : 400px) {

.grid, #post_widget-10, #post_widget-10 .article  {
width: 140px;
height: 220px;
}

#post_widget-6 {
height: 291px;
}

#right img {
width: 30px;
height: auto;
}

.logos a {
width: 142px;
height: 53px;
margin-bottom: -1px;
}

.grid .article h2 a {
padding: 0 5px;
display: block;
}

.grid > div, .grid .background, #post_widget-10 > div, .grid .article {
height: 220px;
}

.grid.h2 > div, .h2 .article, .grid.instagram > a {
height: 266px;
}

.grid.newspaper a > div {
height: 200px;
}

.logos-5 {
height: 278px;
}

#logos_4-5 {
text-align: justify;
height: 100px;
width: 302px;
}

#text-7 {
width: 140px;
margin-left: 170px;
height: 52px;
margin-top: -55px;
margin-right: 11px;
}

#text-7 > div {
height: 52px;
}

#text-7 img {
width: 140px;
height: auto;
}

#image_widget-12 > a, #image_widget-12 {
background-size: 100% auto;
background-repeat: no-repeat;
height: 220px;
width: 138px;
}

#image_links_widget-2 a > div, #image_links_widget-5 a > div, #image_links_widget-6 a > div {
height: 410px;
}

#image_links_widget-6 .links {
height: 50px;
}

#image_links_widget-6 .links a {
line-height: 50px;
font-size: 20px;
}

#image_links_widget-2, #image_links_widget-5, #image_links_widget-6 {
height: 460px;
}

.grid.newspaper .links {
height: 21px;
line-height: 21px;
}

.mini-row, .mini-row .background {
height: 160px;
}

#logos_3-2 {
width: 142px;
height: 220px;
}

#post_widget-8 {
margin-left: 9px;
}

#text-5 {
height: 32px;
}

#text-9 {
margin-top: 0;
height: 240px;
}

.yt iframe, #text-9 iframe {
width: 300px !important;
height: 180px !important;
}

#logos_3-2 a ~ a {
margin-left: 0;
}

.logos-5 a {
margin-bottom: 0;
height: 53px;
}

#logos_5-3 {
width: 142px;
}

.h2 {
height: 266px;
}

.grid.newspaper .links a {
font-size: 10px;
line-height: 21px;
margin-top: -1px;
padding-top: 1px;
}

.logos-8 {
text-align: justify;
height: 230px;
}

.logos-8 a {
margin-bottom: 0;
height: 53px;
}

.logos-8 a:last-child, #logos_4-5 a:last-child {
margin-left: 12px;
}

.grid.x2, .grid.x3, #image_links_widget-2, #post_widget-7, #post_widget-9, #text-9, #image_links_widget-5, #image_links_widget-6, .logos-8 {
width: 300px;
float: none;
}

.grid .article h2, #post_widget-2 .article h2 {
padding: 5px 0;
font-size: 13px;
}

#image_widget-2, #image_widget-2 > .background {
height: 180px;
}

#text-2 {
float: none;
margin-top: 9px;
width: 300px;
background-position: center center;
background-size: cover; -ms-behavior: url(/backgroundsize.min.htc);
height: 100px;
}

#text-2 ul {
padding-top: 72px;
}

#text-2 li a {
font-size: 14px;
padding: 0;
}

#header #infos > a {
height: 60px;
}

#outer #header {
height: 110px;
}

nav {
margin-top: 104px;
line-height: 30px;
padding-top: 5px;
}

.home nav {
top: 0px;
margin-top: 104px;
}

.home #content {
margin-top: 145px;
}

#blog.main  div.title {
font-size: 25px;
line-height: 30px;
padding: 10px;
}

#image_instagram-4 > a, #image_instagram-4, #post_widget-9, #post_widget-9 > .article, #image_instagram-3, #image_instagram-3 > a, #image_instagram-2, #image_instagram-2 > a {
height: 300px;
}

}

@media only screen and (max-width : 700px) {
#footwidget {
font-size: 18px;
}
}

@media only screen and (min-width : 401px) and (max-width : 700px) {

.grid, #post_widget-10 {
width: 180px;
height: 285px;
}

#outer .grid > ul .list {
padding-bottom: 10px;
font-size: 14px;
}

.logos a {
width: 182px;
height: 70px;
margin-bottom: -1px;
}

.grid .article h2 a {
padding: 0 5px;
display: block;
}

nav .menu ul li a {
font-size: 11px;
}

.grid > div, .grid .background, #post_widget-10 > div, .grid .article {
height: 285px;
}

#image_instagram-4 > a, #image_instagram-4, #post_widget-9, #post_widget-9 > .article, #image_instagram-3, #image_instagram-3 > a, #image_instagram-2, #image_instagram-2 > a {
height: 380px;
}

#post_widget-10, #post_widget-10 .article {
height: 289px;
}

.grid.h2 > div, .h2 .article, .grid.instagram > a {
height: 380px;
}

.grid.newspaper a > div {
height: 265px;
}

.logos-5 {
height: 278px;
}

#logos_4-5 {
text-align: justify;
height: 140px;
width: 382px;
}

#text-7 {
width: 182px;
margin-left: 212px;
height: 52px;
margin-top: -55px;
margin-right: 11px;
}

#text-7 > div {
height: 52px;
}

#text-7 img {
width: 182px;
height: auto;
}

#image_widget-12 > a, #image_widget-12 {
background-size: 100% auto;
background-repeat: no-repeat;
height: 299px;
width: 180px;
}

#image_links_widget-2 a > div, #image_links_widget-5 a > div, #image_links_widget-6 a > div {
height: 520px;
}

#image_links_widget-6 .links {
height: 50px;
}

#image_links_widget-6 .links a {
line-height: 50px;
font-size: 20px;
}

#image_links_widget-2, #image_links_widget-5, #image_links_widget-6 {
height: 570px;
}

.grid.newspaper .links {
height: 21px;
line-height: 21px;
}

.mini-row, .mini-row .background {
height: 220px;
background-position: center center;
}

#logos_3-2 {
width: 182px;
height: 220px;
}

#post_widget-8 {
margin-left: 9px;
}

#text-5 {
height: 32px;
}

#text-9 {
margin-top: 0;
height: 330px;
}

.yt iframe, #text-9 iframe {
width: 380px !important;
height: 245px !important;
}

.logos-5 a {
margin-bottom: 3px;
}

#logos_5-3 {
height: 358px;
width: 182px;
}

.grid.h2 > div, .grid.instagram > a {
height: 380px;
}

.h2 {
height: 380px;
}

.grid.newspaper .links a {
font-size: 10px;
line-height: 21px;
margin-top: -1px;
padding-top: 1px;
}

.logos-8 {
text-align: justify;
height: 300px;
}

.logos-8 a {
margin-bottom: 0;
}

.logos-8 a:last-child, #logos_4-5 a:last-child {
margin-left: 12px;
}

.grid.x2, #text-9, .grid.x3, #image_links_widget-8, #image_links_widget-2, #post_widget-7, #post_widget-9, #image_links_widget-5, #image_links_widget-6, .logos-8 {
width: 380px;
float: none;
}

.grid .article h2, #post_widget-2 .article h2 {
padding: 5px 0;
font-size: 13px;
}

#image_widget-2, #image_widget-2 > .background {
height: 180px;
}

#text-2 {
float: none;
margin-top: 9px;
width: 380px;
background-position: center center;
background-size: cover; -ms-behavior: url(/backgroundsize.min.htc);
height: 150px;
}

#text-2 ul {
padding-top: 112px;
}

#text-2 li a {
font-size: 17px;
}

#header #infos > a {
height: 100px;
}

nav {
margin-top: 135px;
line-height: 30px;
}

.home nav {
margin-top: 135px;
top: 0;
}

#content {
max-width: 600px;
padding-top: 20px;
}

#header #right {
margin-top: -20px;
}

.home #content {
margin-top: 180px;
}

}

@media only screen and (max-width : 1200px)  {

.home.admin-bar nav {
padding-top: 28px;
}

#disqus_thread {
margin: 0 30px;
}

#blog.main > .left {
margin-left: 30px;
}

#blog.main > .right {
margin-right: 30px;
}

.grid .list-title, .grid .pic-title {
font-size: 11px !important;
padding: 5px 0 !important;
}

.grid > ul .list {
text-align: left;
font-size: 12px;
line-height: 16px;
padding: 0;
}

.grid > ul {
margin: 10px 20px;
}

#blog, #sidebar {
float: none;
width: 100%;
}

#header {
margin-top: 0;
}

#right {
width: 100%;
margin-top: 0;
float: none;
line-height: 40px;
}

#right .menu-right-container {
display: inline-block;
vertical-align: top;
}

#right li a {
font-size: 15px;
}

#sidebar {
background: #eee;
border-top: 1px solid #ddd;
}

#sidebar .widget {
margin-bottom: 0;
padding-bottom: 30px;
}

#header #infos > a {
background-size: 100% auto;
width: 100%;
}

#text-5 img {
width: 100%;
height: auto;
}

#text-9 a img {
width: 100%;
height: auto;
}

#content {
width: 100% !important;
}

#loop {
margin: 10px;
text-align: center;
}

nav ul li {
padding: 0 5px;
}

nav ul li a {
font-size: 10px;
}

.yt h2 {
font-size: 13px;
}

#bottom {
font-size: 11px;
width: 100%;
}

#loop {
text-align: center;
}

#footer {
width: auto;
}

.single article {
padding: 0 0px 20px 0px;
}

h1.title, .page-title  {
font-size: 30px;
padding: 5px 10px;
}

.more {
padding: 10px;
}


#logos_3-2 a ~ a {
margin-left: 0;
}

.thumbnail {
display: block;
margin: 0px;
background-size: cover; -ms-behavior: url(/backgroundsize.min.htc);
background-position-y: center;
height: 250px;
}

.grid > ul .list a {
font-size: 12px;
}

}

@media only screen and (min-width : 701px) and (max-width : 1200px) {


#outer #header {
margin-top: -10px;
}

#outer nav {
padding-top: 5px;
}

.grid > ul .list a {
font-size: 10px;
}

#header #infos > a {
width: auto;
display: block;
margin-right: 200px;
height: 120px;
}

#header #right {
margin-top: -100px;
float: right;
width: 200px;
line-height: 20px;
}

#header #right img {
width: 40px;
height: auto;
}

nav ul li a {
font-size: 16px;
}

.thumbnail {
width: 50%;
float: left;
margin-right: 20px;
border-right: 1px solid #ddd;
}

#content {
width: 100%;
}

#content #blog article {
margin: 20px;
}

#image_links_widget-2 {
height: 430px;
float: right !important;
}

#image_links_widget-5 {
height: 430px;
}

#image_links_widget-2 div, #image_links_widget-5 div {
height: 380px;
}

.grid, .grid > .background, .grid .article {
height: 205px;
}

.grid.newspaper a div {
height: 176px;
}

.grid.newspaper a {
font-size: 10px;
}

.grid {
width: 120px;
}

#text-19 > div {
height: 207px;
}

#text-7 {
height: 45px;
width: 122px;
float: right;
margin-top: -55px;
margin-right: 10px;
}

#text-7 a img {
width: 122px;
height: auto;
}

#loop {
width: 700px;
margin: 0 auto;
}

#loop .grid .article h2 {
font-size: 11px;
line-height: 15px;
padding: 5px 0;
}

.yt iframe, #text-9 iframe {
width: 260px  !important;
height: 160px !important;
}

.h2, .h2 > div, .h2 .article, .grid.instagram > a {
height: 260px;
}

#image_widget-12, #image_widget-12 > div {
height: 205px;
}

.logos a {
width: 100%;
height: 47px;
}

.logos-5 a {
margin-bottom: 0;
}

#post_widget-2 .article h2 {
font-size: 13px;
}

.grid.x2, #image_links_widget-2, #image_links_widget-5, #text-9 {
width: 260px;
float: none;
}

.grid.x3, #logos_3-2 {
width: 400px;
}

.mini-row, .mini-row > .background {
height: 145px;
}

.mini-row .logos a, #logos_3-3 a {
height: 45px;
margin-bottom: 0;
}

#image_instagram-3, #image_instagram-3 > a {
height: 270px;
}

#image_instagram-3 {
float: right;
}

#text-5 {
height: 46px;
}

#text-2 {
margin-top: -155px;
background-size: cover; -ms-behavior: url(/backgroundsize.min.htc);
background-position: center top;
height: 144px;
}

#text-2 ul {
padding-top: 108px;
}

#text-2 li a {
font-size: 17px;
}

#logos_3-2 a ~ a {
margin-left: 16px;
}

#logos_3-2 a {
width: 120px;
}

#text-9 {
margin-top: -220px;
}

#text-9 img {
margin-bottom: 5px;
}

#post_widget-8 {
margin-left: -267px;
}

nav, .home nav {
margin-top: 120px;
top: 0;
}

.home #content {
margin-top: 165px;
}

nav .menu ul li a {
font-size: 17px;
}

nav .menu ul li {
padding: 0 10px;
}

}

@media only screen and (min-width : 930px) and (max-width : 1200px) {

#header #right {
margin-top: -70px;
}

nav ul li {
padding: 0 10px;
}

nav ul li a {
font-size: 20px;
}

}

#medias {
text-align: justify;
}

#medias li {
overflow: hidden;
margin: 10px;
list-style-type: none;
display: inline-block;
width: 218px;
height: 79px;
background-repeat: no-repeat;
background-position: center center;
border: 1px solid #ddd;
}

#medias li a {
display: block;
text-align: center;
width: 218px;
height: 79px;
line-height: 79px;
}

#medias .cat-item-19 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/afp.jpg);
text-indent: -909px;
}

#medias .cat-item-59 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/angora.jpg);
text-indent: -909px;
}

#medias .cat-item-56 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/atlantico.jpg);
text-indent: -909px;
}

#medias .cat-item-30 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/rp1.jpg);
text-indent: -909px;
}

#medias .cat-item-63 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/dziennikpolski.jpg);
text-indent: -909px;
}

#medias .cat-item-24 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/basler.jpg);
text-indent: -909px;
}

#medias .cat-item-74 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/dorzeczy.jpg);
text-indent: -909px;
}

#medias .cat-item-31 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/dziennik1.jpg);
text-indent: -909px;
}

#medias .cat-item-29 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/euroactiv.jpg);
text-indent: -909px;
}

#medias .cat-item-33 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/fakt.jpg);
text-indent: -909px;
}

#medias .cat-item-14 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/forbes.jpg);
text-indent: -909px;
}

#medias .cat-item-27 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/france24.jpg);
text-indent: -909px;
}

#medias .cat-item-47 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/globalpost.jpg);
text-indent: -909px;
}

#medias .cat-item-76 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/gosc.jpg);
text-indent: -909px;
}

#medias .cat-item-37 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/idziemy.jpg);
text-indent: -909px;
}

#medias .cat-item-26 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lapartia.jpg);
text-indent: -909px;
}

#medias .cat-item-28 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lacroix.jpg);
text-indent: -909px;
}

#medias .cat-item-20 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lematin.jpg);
text-indent: -909px;
}

#medias .cat-item-17 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lemonde.jpg);
text-indent: -909px;
}

#medias .cat-item-22 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lepoint.jpg);
text-indent: -909px;
}

#medias .cat-item-21 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lepost.jpg);
text-indent: -909px;
}

#medias .cat-item-18 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/lexpress.jpg);
text-indent: -909px;
}

#medias .cat-item-64 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/maleman.jpg);
text-indent: -909px;
}

#medias .cat-item-16 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/manager.jpg);
text-indent: -909px;
}

#medias .cat-item-40 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/marketingandmore.jpg);
text-indent: -909px;
}

#medias .cat-item-62 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/naszdziennik.jpg);
text-indent: -909px;
}

#medias .cat-item-35 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/newsweek.jpg);
text-indent: -909px;
}

#medias .cat-item-38 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/niedziela.jpg);
text-indent: -909px;
}

#medias .cat-item-32 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/polska.jpg);
text-indent: -909px;
}

#medias .cat-item-44 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/onet.jpg);
text-indent: -909px;
}

#medias .cat-item-41 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/perspektywy.jpg);
text-indent: -909px;
}

#medias .cat-item-50 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/pr.jpg);
text-indent: -909px;
}

#medias .cat-item-34 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/sukces.jpg);
text-indent: -909px;
}

#medias .cat-item-67 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/tokfm.jpg);
text-indent: -909px;
}

#medias .cat-item-68 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/tvn.png);
text-indent: -909px;
}

#medias .cat-item-23 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/romania_libera.png);
text-indent: -909px;
}

#medias .cat-item-70 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/super-express.png);
text-indent: -909px;
}

#medias .cat-item-36 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/polityka.png);
text-indent: -909px;
}

#medias .cat-item-51 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/wpolityce.png);
text-indent: -909px;
}

#medias .cat-item-57 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/w_podrozy.png);
text-indent: -909px;
}

#medias .cat-item-48 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/polskaXXI.png);
text-indent: -909px;
}

#medias .cat-item-46 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/interia.png);
text-indent: -909px;
}

#medias .cat-item-72 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/poland-today.png);
text-indent: -909px;
}

#medias .cat-item-61 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/kalkulator_polityczny.png);
text-indent: -909px;
}

#medias .cat-item-43 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/spiders_web.png);
text-indent: -909px;
}

#medias .cat-item-60 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/sdp.png);
text-indent: -909px;
}

#medias .cat-item-75 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/nowe_media.png);
text-indent: -909px;
}

#medias .cat-item-42 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/dziennikarz.png);
text-indent: -909px;
}

#medias .cat-item-58 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/europa.png);
text-indent: -909px;
}

#medias .cat-item-39 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/fronda.png);
text-indent: -909px;
}

#medias .cat-item-69 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/media2.png);
text-indent: -909px;
}

#medias .cat-item-71 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/social-press.png);
text-indent: -909px;
}

#medias .cat-item-73 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/tygodnik_lisickiego.png);
text-indent: -909px;
}

#medias .cat-item-54 {
background-image: url(http://erykmistewicz.pl/uploads/media_img/wirtualne_media.png);
text-indent: -909px;
}

#medias .cat-item-49 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/tvp.jpg);
text-indent: -909px;
}

#medias .cat-item-55 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/tygodnik.jpg);
text-indent: -909px;
}

#medias .cat-item-53 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/urze.jpg);
text-indent: -909px;
}

#medias .cat-item-25 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/wbj.jpg);
text-indent: -909px;
}

#medias .cat-item-45 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/wp.jpg);
text-indent: -909px;
}

#medias .cat-item-66 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/wdrodze.jpg);
text-indent: -909px;
}

#medias .cat-item-52 {
background-image: url(http://erykmistewicz.pl/nowawersja/wp-content/uploads/2013/08/wspolnota.jpg);
text-indent: -909px;
}


/*
	LOGOWANIE
*/

#logowanie {
        padding: 10px 0 0 0;
	background: #001e47;
	background: -moz-linear-gradient(top, #001e47 0%, #012659 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#001e47), color-stop(100%,#012659));
	background: -webkit-linear-gradient(top, #001e47 0%,#012659 100%);
	background: -o-linear-gradient(top, #001e47 0%,#012659 100%);
	background: -ms-linear-gradient(top, #001e47 0%,#012659 100%);
	background: linear-gradient(to bottom, #001e47 0%,#012659 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e47', endColorstr='#012659',GradientType=0 );
        width: 400px;
	margin: 0 auto;
	margin-top: 400px;
        height: 200px;
        overflow: hidden;
}

#logowanie h2 {
        color: #ffffff;
        text-align: center;
        font-size: 16px;
	position: static;
}

#logowanie h2#close {
color: red;
text-align: right;
margin-top: -20px;
margin-left: -30px;
padding: 10px;
cursor: pointer;
float: right;
display: inline-block;
font-size: 30px;
margin-bottom: -20px;
}

#logowanie input {
        margin: 5px auto;
	display: block;
}

#logowanie input#login {
        margin-top: 5px;
        color: #222222;
        font: Verdana, sans-serif;
}

#logowanie input#pass {
        color: #222222;
        font: Verdana, sans-serif;
}

#logowanie input#submit {
        cursor: pointer;
        width: 64px;
        height: 21px;
	background: url('/eryk_mistewicz/img/submit.png') no-repeat;
        border: none;
        margin-top: 9px;
        margin-left: 165px;
}

#logowanie .error {
        color: #ffffff;
        font-size: 11px;
        text-align: center;
        padding-top: 15px;
        display: none;
	line-height: 14px;
}

#overlay {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 12953;
background: rgba(0,0,0,0.8);
}

#banner {
text-align: center;
display: block;
}

#banner, .banner {
max-width: 1180px;
margin: 10px auto;
padding: 20px 0;
border-top: 3px solid #111340;
border-bottom: 3px solid #AA1E24;
}


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