/*
Theme Name: B.K.Ż.
Theme URI: http://bydgoskiklubzeglarski.pl/
Author: znamy.net
Author URI: http://znamy.net/
Description: Theme prepared for B.K.Ż.
Version: 1.0
*/

@import url(https://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext);

/*! normalize.css v2.1.2 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*! END normalize.css */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: Roboto, Arial;
    font-size: 16px;
    background: url("img/tlo5.jpg") no-repeat scroll center top #487491;
    z-index: -1;
}

#mainwrapper {
    width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

a {
    color: #1e78c3;
}

a:hover {
    text-decoration: none;
}

header#top {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    height: 80px;
    position: relative;
    margin: 50px 0;
}

header#top:before, header#top:after {
    content: "";
    position: absolute;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    height: 80px;
    top: 0;
    bottom: 0;
    width: 9999px;
}

header#top:before {
    right: 100%;
}

header#top:after {
    left: 100%;
}

#logo {
    margin: -16px 20px;
    position: absolute;
    height: 112px;
}

#expandmenu {
    display: none;
}

#menuwr {
    margin-left: 123px;
    text-align: right;
}

ul.menu {
    margin: 0;
    padding: 0;
}

ul.menu li {
    display: inline-block;
    vertical-align: top;
    list-style: none outside none;
    padding: 23px 0;
    margin: 0 2px;
}

ul.menu li a {
    line-height: 2.125em; /* 34/16 */
    display: block;
    color: #000000;
    text-decoration: none;
    padding: 0 10px;
}

ul.menu li.current-menu-item a, ul.menu li a:hover, ul.menu li.current_page_parent a, ul.menu li.current-page-ancestor a {
    border-radius: 10px;
    background-color: #34b1f4;
    color: #ffed51;
}

ul.menu li.sglink {
    display: none;
}

#eucookielawwr { 
    border: 1px solid #cccccc; 
    border-radius: 10px; 
    font-size: 1em; 
    position: relative; 
    margin: 20px auto; 
    padding: 10px 50px 10px 10px; 
    text-align: left; 
    width: 86%; 
    z-index: 9999; 
    display: block; 
    color: #999999; 
    font-family: inherit;
    font-size: 0.875em; /* 14/16 */
} 

#eucookielawbtn { 
    position: absolute; 
    padding: 10px; 
    top: -2px; 
    right: 0px;
}

.sgoferta, .sgsidebar {
    display: inline-block;
    vertical-align: top
}

.sgoferta {
    width: 620px;
    height: 200px;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 10px;
}

.sgoferta h1, .aktualn h3, #kontakt h4, .content h1, .content h2, .content h3 {
    font-size: 1em;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
    padding-top: 10px;
    margin: 0;
}

.sgoferta div {
    font-size: 0.875em; /* 14/16 */
    line-height: 1.4em;
}

.sgoferta a {
    color: #1e78c3;
}

.sgsidebar {
    width: 320px;
}

.home .sidebar {
    margin: 30px 0;
}

.home .widget, .widget {
    display: inline-block;
    vertical-align: top;
}

.aktualn {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 70px;
    padding: 0 10px;
    position: relative;
    height: 200px;
}

.aktualn h3 {
    margin: 0 0 10px;
    padding: 10px 0 9px;
}

.aktualnolder {
    position: absolute;
    right: 10px;
    top: 10px;
}

.aktualnitem {
    display: inline-block;
    vertical-align: top;
    width: 300px;
    height: 132px;
    padding-right: 10px;
    margin: 0 10px 10px 0;
    border-right: 1px dashed #999999;
}

.aktualnitem header {
    margin-bottom: 15px;
}

.aktualnitem header h4, .aktualnlist header h3 {
    font-weight: normal;
    margin: 0 0 3px;
    border-bottom: none;
}

.aktualnolder {
    font-size: 0.875em; /* 14/16 */
}

.aktualndet {
    font-size: 0.8125em; /* 13/16 */
}

.aktualndet span {
    color: #999999;
}

.aktualnnobor {
    border-right-width: 0;
    margin-right: 0;
    width: 288px;
}

.aktualnshort {
    font-size: 0.875em; /* 14/16 */
    line-height: 1.5em;
}

footer#footer {
    background-color: #ffffff;
    position: relative;
    padding: 10px 0 10px;
}

footer#footer:before, footer#footer:after {
    content: "";
    position: absolute;
    width: 9999px;
    top: 0;
    bottom: 0;
    background-color: #ffffff;
}

footer#footer:before {
    right: 100%;
}

footer#footer:after {
    left: 100%;
}

.wavemaker {
    position: absolute;
    height: 40px;
    top: -40px;
    left: -100%;
    width: 9999px;
    background: url("img/fala.png") repeat-x scroll top left transparent;
}

#kontakt, #bkzmap {
    display: inline-block;
    vertical-align: top;
}

#kontakt {
    width: 300px;
    padding-right: 20px;
}

#kontakt p {
    font-size: 0.875em; /* 14/16 */
}

#bkzmap {
    width: 640px;
    height: 320px;
}

.content, .sidebar {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 70px;
}

.content {
    width: 620px;
    padding: 0 10px;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    min-height: 600px;
    line-height: 1.5em;
    font-size: 0.875em; /* 14/16 */
    text-align: justify;
}

.content h1, .content h2, .content h3, .aktualnlist header h3 {
    font-size: 1.142857143em; /* 16/14 */
}

.content .aktualndet {
    font-size: 0.928571429em; /* 13/14 */
}

.sidebar {
    width: 320px;
}

.home .sidebar {
    width: 100%;
}

#bkzoffer-4 {
    position: relative;
}

#bkzoffer-4:before {
    content: "";
    position: absolute;
    border-left: 1px dashed #999999;
    width: 1px;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.home #bkzoffer-4:before {
    display: none;
}

.page-id-22 #bkzoffer-2, .page-id-630 #bkzoffer-3, /*.page-id-632 #bkzoffer-4*/ .page-id-856 #bkzoffer-4 {
    display: none;
}

.aktualnlist {
    border-bottom: 1px dashed #999999;
    margin-bottom: 20px;
}

.clear {
    clear: both;
}

#bkzmap {
    height: 0;
    margin-bottom: 20px;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 36.25%;
    position: relative;
}
#bkzmap iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.navigation {
    padding-bottom: 20px;
}

.navigation .alignleft, .navigation .alignright {
    display: inline-block;
    vertical-align: top;
    width: 49.5%;
}

.navigation .alignright {
    text-align: right;
}

.ngg-albumoverview code {
    font-family: Roboto, Arial;
}

.istel {
    display: none;
}

@media screen and (max-width: 960px) {
    #mainwrapper {
        width: 100%;
    }
    
    ul.menu li {
        padding: 25px 0;
        margin: 0;
    }
    
    ul.menu li a {
        font-size: 0.875em; /* 14/16 */
        line-height: 2.142857143em; /* 30/14 */
        padding: 0 7px;
    }
    
    .sgoferta, .sgsidebar, .home .sidebar, .aktualn, .kontaktwr, .content, .sidebar {
        display: block;
        margin: 0 auto 30px;
    }
    
    .sgsidebar, .home .sidebar, .kontaktwr, .sidebar {
        width: 640px;
    }
    
    .aktualn {
        margin-bottom: 70px;
        width: 620px;
    }
    
    .aktualnitem {
        width: 289px;
    }
    
    .aktualnitem:nth-of-type(2) {
        border: none;
    }
    
    .aktualnnobor {
        display: none;
    }
    
    #kontakt, #bkzmap {
        display: block;
        width: 100%;
    }
    
    .kontaktl, .kontaktr {
        display: inline-block;
        vertical-align: top;
        width: 45%;
        margin-left: 10px;
    }
    
    .content {
        padding-bottom: 1px;
        min-height: auto;
    }
    
    .page .sidebar {
        margin-bottom: 70px;
    }
    
    #bkzoffer-4:before {
        display: none;
    }

    .notel {
        display: none;
    }
    
    .istel {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
    body {
        background: none;
    }
    
    header#top {
        background-color: #f0f0f0;
        min-height: 65px;
        height: auto;
        position: relative;
        margin: 15px 0 30px;
    }
    
    #logo {
        height: 85px;
        margin: -12px 20px;
    }
    
    #logo img {
        height: 100%;
    }
    
    #expandmenu {
        display: block;
        width: 40px;
        height: 40px;
        border-radius: 20px;
        background: url("img/menu.png") scroll no-repeat center center #34B1F4;
        float: right;
        margin: 12px 20px;
        cursor: pointer;
    }
    
    #expandmenu:hover, #expandmenu.act {
        background-color: #cccccc;
    }
    
    #menuwr {
        display: none;
        background-color: #FFFFFF;
        float: right;
        margin: 0 0 5px;
        text-align: left;
        width: 100%;
    }
    
    #menuwr nav {
        margin-left: 100px;
        padding: 10px 0;
    }
    
    ul.menu li, ul.menu li.sglink {
        display: block;
        border-bottom: 1px dashed #000000;
        padding: 0;
    }
    
    ul.menu li:last-child {
        border-bottom: 0;
    }
    
    ul.menu li a {
        font-size: 1em;
    }
    
    ul.menu li.current-menu-item a, ul.menu li.current_page_parent a, ul.menu li a:hover, ul.menu li.current-page-ancestor a {
        background-color: #cccccc;
        border-radius: 0;
    }
    
    .sgoferta h1, .sghide {
        display: none;
    }
    
    .sgoferta {
        height: auto;
    }
    
    .sgsidebar, .home .sidebar, .sidebar {
        margin: 0 auto;
    }
    
    .aktualn {
        background-color: #FFED51;
    }
    
    #bkzoffer-4 .widget {
        background-color: rgb(240,240,240) !important;
        background-color: rgba(240,240,240,0.9) !important;
    }
}

@media screen and (max-width: 640px) {
    .sgoferta, .content {
        width: 96.875%; /* 620/640 */
    }
    
    .sgsidebar, .home .sidebar, .sidebar {
        width: 320px;
    }
    
    .kontaktwr {
        width: 300px;
        padding: 0 10px;
    }
    
    .kontaktl, .kontaktr {
        width: 100%;
        margin: 0;
    }
    
    #kontakt {
        padding: 0;
    }
    
    .aktualn {
        width: 300px;
        height: auto;
        margin-bottom: 0;
    }
    
    .aktualnitem {
        border: none;
    }
    
    .aktualnitem:nth-of-type(1) {
        padding-bottom: 15px;
        border-bottom: 1px dashed #999999;
    }
    
    .wavemaker {
        display: none;
    }
}
