/* 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;
}

/*              ENDRESET        */

body {
    font: 80% verdana, arial, helvetica, sans-serif;
    text-align: center;
    background-color: #000;
    margin: 0px;
    padding: 0px;
    color: #fff;
}

.container {
    margin: 0 auto; /* align for good browsers */
    text-align: center; /* counter the body center */
    position: relative;
    width: 1040px;
}

nav#menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

nav#menu li {
    list-style-type: none;
    position: relative;
}

nav#menu li.logo {
    flex-shrink: 0;
}

img {
    border: 0px;
}

.footerfont {
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
}

.footerfont a:link {
    font-family: Verdana;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
}

.footerfont a:visited {
    font-family: Verdana;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
}

.footerfont a:active {
    font-family: Verdana;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
}

.footerfont a:hover {
    font-family: Verdana;
    font-size: 12px;
    font-weight: normal;
    text-decoration: underline;
    color: #ffffff;
}

.header {
    width: 100%;
    height: 233px;
    background-image: url('https://zabawne.org/img/header.jpg');
    position: relative;
}

.footer {
    width: 100%;
    height: 227px;
    background-image: url('https://zabawne.org/img/footer.jpg');
    position: relative;
}

.footer1 {
    position: absolute;
    top: 16px;
    left: 20px;
    width: 120px;
    height: 200px;
    background-image: url('https://zabawne.org/img/black.png');
}

.footer2 {
    position: absolute;
    top: 16px;
    left: 144px;
    width: 120px;
    height: 200px;
    background-image: url('https://zabawne.org/img/black.png');
}

.footer3 {
    position: absolute;
    top: 16px;
    left: 268px;
    width: 120px;
    height: 200px;
    background-image: url('https://zabawne.org/img/black.png');
}

.footer4 {
    position: absolute;
    top: 16px;
    left: 392px;
    width: 120px;
    height: 200px;
    background-image: url('https://zabawne.org/img/black.png');
}

.footer5 {
    position: absolute;
    top: 16px;
    left: 518px;
    width: 160px;
    height: 200px;
    background-image: url('https://zabawne.org/img/blackg.png');
}

.dotline {
    position: absolute;
    top: 16px;
    right: 320px;
    width: 1px;
    height: 200px;
    background-image: url('https://zabawne.org/img/dots.png');
}

.footer6 {
    position: absolute;
    top: 16px;
    right: 0px;
    width: 320px;
    height: 200px;
}

.pad20 {
    padding: 20px;
}

.logo_footer {
    width: 270px;
}

div .image {
    margin: 0px auto;
    width: 960px;
    padding: 30px 0;
    padding-top: 66px;
    background: #212121;
    position: relative;
    -moz-box-shadow: inset -4px -3px 14px #000000;
    -webkit-box-shadow: inset -4px -3px 14px #000000;
    box-shadow: inset -4px -3px 14px #000000;
}

div.image > div {
    margin: 0 auto;
}

div .image img {
    max-width: 840px;

}

div .image .source {
    display: block;
}

div .image .title {
    display: block;
    font-size: 3em;
}


.pagination {
    background: #827F80;
    padding: 10px;
    position: relative;
}

.pagination a {
    color: #242016;
    text-decoration: none;
    font-weight: bold;
}

/*      FACEBOOK        */
.fb_share_count_inner {
    text-shadow: none;
    display: block !important;
}

.tools {
    height: 24px;
    line-height: 16px;
    position: relative;
    width: 260px;
    margin: 0 auto;
}

.tools .fb {
    position: absolute;
    left: 0;
}

.gpone div {
    position: absolute;
    top: 2px;
    right: 0;
}

/*              FILTERS         */

#searchform input {
    cursor: pointer;
}

#searchform input[type=submit] {
    border: none;
    background: url("/img/nav.png") no-repeat scroll -305px -5px transparent;
    width: 60px;
    height: 35px;
    text-indent: -30000px;
}

#searchform input[type=submit]:hover {
    background: url("/img/nav.png") no-repeat scroll -305px -38px transparent;
}

#searchform input[type=reset] {
    border: none;
    background: url("/img/nav.png") no-repeat scroll -365px -5px transparent;
    width: 79px;
    height: 35px;
    text-indent: -30000px;
}

#searchform input[type=reset]:hover {
    background: url("/img/nav.png") no-repeat scroll -365px -38px transparent;
}

#filters {
    background-image: url(/img/ustawienia.png);
    display: block;
    position: fixed;
    width: 385px;
    height: 400px;
    padding: 0px;
    border: 0px;
    z-index: 10000;
    position: fixed;
    top: 155px;
    left: -339px;
    overflow: hidden;
}

#filters:hover {
    background-image: url(/img/ustawienia.png);
    display: block;
    position: fixed;
    width: 385px;
    height: 400px;
    padding: 0px;
    border: 0px;
    z-index: 10000;
    position: fixed;
    top: 155px;
    left: -90px;
    overflow: hidden;
}


div#filters > div {
    padding: 20px 0;
}

div#filters ul {
    list-style: none;
    z-index: 20;
    text-shadow: black 0.1em 0.1em 0.2em;
}

div#filters li {
    text-align: left;
    padding: 1px 5px;
    #border-bottom: 1px solid white;
    cursor: pointer;
    display: block;
    padding-left: 140px;
    font-family: Georgia, Serif;
    font-size: 18px;
    text-shadow: black 0.1em 0.1em 0.2em;

}

div#filters label {
    cursor: pointer;
}

.filters input {
    background: url(/img/ok.png);
}

.filters .filter_buttons {
    position: absolute;
    bottom: 16px;
}


/*  FACEBOOK    */
.facebook {
    background: url(/img/fb.png) repeat scroll 0 0 transparent;
    float: right;
    display: block;
    height: 400px;
    width: 385px;
    position: fixed;
    right: -321px;
    top: 155px;
    z-index: 10000;
    overflow: hidden;
}

/*    404     */
.cow {
    font-family: Courier new;
    font-size: 4em;
    color: #fff;
    background: #000;
}


/*      NAV     */

.prev_img, .next_img {
    background: url("/img/nav.png") no-repeat scroll transparent;
    height: 60px;
    width: 70px;
    float: left;
    position: absolute;
    top: 50%;
    margin-top: -60px;
    cursor: pointer;
    text-indent: -30000px;
}

.next_img {
    background-position: -70px 0;
    float: right;
    right: 0;
}

.prev_img:hover {
    background-position: 0 -60px;
}

.next_img:hover {
    background-position: -70px -60px;
}


.prev_page, .next_page {
    background: url("/img/nav.png") no-repeat scroll transparent;
    background-position: -140px 0;
    height: 50px;
    width: 160px;
    float: left;
    cursor: pointer;
    text-indent: -30000px;
}

.next_page {
    background-position: -300px -100px;
    float: right;
    right: 0;
}

.prev_page:hover {
    background-position: -140px -50px;
}

.next_page:hover {
    background-position: -300px -151px;
}

#tools {
    margin: -38px auto 20px auto;
    height: 1.6em;
    line-height: 1.4em;
    width: 800px;
    text-align: center;
    z-index: 2000;
    display: block;
}

#tools label {
    display: block;
    float: left;
    margin-right: 10px;
}

#tools a {
    display: block;
    float: right;
}

/* Selectmenu
----------------------------------*/
select {
    width: 150px;
}


.ui-selectmenu {
    display: block;
    position: relative;
    height: 2em;
    text-decoration: none;
    overflow: hidden;
}

.ui-selectmenu-icon {
    position: absolute;
    right: 6px;
    margin-top: -8px;
    top: 50%;
}

.ui-selectmenu-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 0;
    visibility: hidden;
    overflow: auto;
}

.ui-selectmenu-open {
    visibility: visible;
}

.ui-selectmenu-menu-popup {
    margin-top: -1px;
}

.ui-selectmenu-menu-dropdown {
}

.ui-selectmenu-menu li {
    padding: 0;
    margin: 0;
    display: block;
    border-top: 1px dotted transparent;
    border-bottom: 1px dotted transparent;
    border-right-width: 0 !important;
    border-left-width: 0 !important;
    font-weight: normal !important;
}

.ui-selectmenu-menu li a, .ui-selectmenu-status {
    line-height: 1.4em;
    display: block;
    padding: .3em 1em;
    outline: none;
    text-decoration: none;
}

.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
.ui-selectmenu-hasIcon .ui-selectmenu-status {
    padding-left: 20px;
    position: relative;
    margin-left: 5px;
}

.ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon {
    position: absolute;
    top: 1em;
    margin-top: -8px;
    left: 0;
}

.ui-selectmenu-status {
    line-height: 1.4em;
}

.ui-selectmenu-open li.ui-selectmenu-item-focus a {
}

.ui-selectmenu-open li.ui-selectmenu-item-selected {
}

.ui-selectmenu-menu li span, .ui-selectmenu-status span {
    display: block;
    margin-bottom: .2em;
}

.ui-selectmenu-menu li .ui-selectmenu-item-header {
    font-weight: bold;
}

.ui-selectmenu-menu li .ui-selectmenu-item-content {
}

.ui-selectmenu-menu li .ui-selectmenu-item-footer {
    opacity: .8;
}

/*for optgroups*/
.ui-selectmenu-menu .ui-selectmenu-group {
    font-size: 1em;
}

.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label {
    line-height: 1.4em;
    display: block;
    padding: .6em .5em 0;
    font-weight: bold;
}

.ui-selectmenu-menu .ui-selectmenu-group ul {
    margin: 0;
    padding: 0;
}


/* RWD */
@media (max-width: 544px) {
    body {
        font-size: 0.7rem;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    img.logo {
        max-width: 100vw;
        margin: 0 auto;
        left: 2px;
        top: 0;
    }

    div.container {
        width: 100vw;
        overflow: hidden;
    }

    div.image {
        padding: 30px 0;
        width: 100vw;
    }

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

    div.footer {
        display: none;
    }
}

/* Searchform */
form.searchform input {
  padding: 5px;
  line-height: 1.4;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  -webkit-transition: 0.35s ease-in-out;
  -moz-transition: 0.35s ease-in-out;
  -o-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

form.searchform input:focus {
  outline: 0;
  border-color: #bd8200;
}

form.searchform button{
    padding: 5px;
    background-color: #f0a500;
    border-color: #bd8200;
    color: #fff;
    border-radius: 3px;
}