@media screen and (max-width:1300px){
	.main {
		width: 1100px;
	}
	.banner {
		height: 214px;
	}
}

@media screen and (max-width:1200px){
	.main {
		width: 1000px;
	}
	.banner {
		height: 192px;
	}
}

@media screen and (max-width:1100px){
	.main {
		width: 900px;
	}
	nav .container > div > ul > li > a {
		padding: 20px 10px;
	}
	.banner {
		height: 170px;
	}
}

/* =========================================================
   PokeMoc Universal Responsive Layer
   Dziala dla wszystkich dolaczonych layoutow.
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 0 !important;
    margin: 0;
    overflow-x: hidden;
}

.main {
    width: min(1440px, calc(100% - 32px)) !important;
    max-width: 1440px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.main,
.main > *,
.container,
.feedContainer,
.topPane,
.leftPane,
.rightPane,
.postHolder,
.well,
.body,
.header {
    min-width: 0;
}

img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

.banner {
    width: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.banner img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
    object-position: center;
}

nav,
nav .container {
    width: 100% !important;
    max-width: none !important;
}

nav .container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

nav .container > .pull-left,
nav .container > .pull-right {
    float: none !important;
    width: auto !important;
    max-width: 100%;
}

nav ul {
    max-width: 100%;
}

nav > .container > div > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

nav > .container > div > ul > li {
    float: none !important;
}

nav a {
    white-space: normal;
    overflow-wrap: anywhere;
}

.feedContainer {
    width: 100% !important;
    display: flow-root;
}

.leftPane {
    width: calc(100% - 340px) !important;
    max-width: none !important;
}

.rightPane {
    width: 320px !important;
    max-width: 100% !important;
}

.topPane {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.topPane > .pull-left,
.topPane > .pull-right {
    float: none !important;
    width: auto !important;
    max-width: 100%;
}

.searchForm,
.searchForm input,
form,
form input,
form select,
form textarea,
form button {
    max-width: 100%;
}

input,
select,
textarea,
button {
    font: inherit;
}

textarea {
    resize: vertical;
}

table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
}

.postHolder table,
.body table,
.feedContainer table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

td,
th {
    overflow-wrap: anywhere;
}

pre,
code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.layout-selector,
.layout-selector-panel,
#layout-selector,
#layoutSelector {
    max-width: calc(100vw - 24px) !important;
}

@media (max-width: 1100px) {
    .main {
        width: min(100% - 24px, 1050px) !important;
    }

    .leftPane {
        width: calc(100% - 300px) !important;
    }

    .rightPane {
        width: 284px !important;
    }
}

@media (max-width: 900px) {
    .main {
        width: min(100% - 18px, 860px) !important;
    }

    .leftPane,
    .rightPane {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .rightPane {
        margin-top: 14px;
    }

    nav .container {
        display: block;
    }

    nav .container > .pull-left,
    nav .container > .pull-right {
        width: 100% !important;
    }

    nav > .container > div > ul {
        width: 100%;
    }

    nav > .container > div > ul > li {
        flex: 1 1 auto;
    }

    nav > .container > div > ul > li > a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 12px !important;
        text-align: center;
    }
}

@media (max-width: 680px) {
    body {
        background-attachment: scroll !important;
    }

    .main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 8px;
        padding-right: 8px;
    }

    nav > .container > div > ul {
        display: block;
    }

    nav > .container > div > ul > li {
        display: block !important;
        width: 100% !important;
    }

    nav > .container > div > ul > li > a {
        justify-content: flex-start;
        text-align: left;
    }

    nav .container > div > ul > li > ul {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-shadow: none;
    }

    .topPane {
        display: block;
    }

    .topPane > .pull-left,
    .topPane > .pull-right,
    .searchForm,
    .searchForm input {
        width: 100% !important;
    }

    .banner img {
        min-height: 110px;
        object-fit: cover;
    }

    .well,
    .postHolder,
    .postHolder .body,
    .postHolder .header {
        max-width: 100% !important;
    }

    .postHolder .body,
    .well.body {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        width: 100% !important;
        min-height: 42px;
    }

    input[type="submit"],
    button,
    .button,
    .btn {
        max-width: 100%;
        min-height: 42px;
    }

    table {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .main {
        padding-left: 5px;
        padding-right: 5px;
    }

    .banner img {
        min-height: 92px;
    }

    .header,
    .postHolder .header {
        overflow-wrap: anywhere;
    }

    td,
    th {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

/* =========================================================
   PokeMoc Wide Screen Fit v2
   Wykorzystuje powierzchnie duzych monitorow bez utraty czytelnosci.
   ========================================================= */
@media (min-width: 901px) {
    body .main {
        width: 94vw !important;
        max-width: 1780px !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body .feedContainer {
        width: 100% !important;
        max-width: none !important;
    }

    body .leftPane {
        width: calc(100% - 350px) !important;
        max-width: none !important;
    }

    body .rightPane {
        width: 330px !important;
        max-width: 330px !important;
    }

    body .banner,
    body .banner img {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (min-width: 1500px) {
    body .main {
        width: 96vw !important;
    }

    body .leftPane {
        width: calc(100% - 370px) !important;
    }

    body .rightPane {
        width: 350px !important;
        max-width: 350px !important;
    }
}

@media (min-width: 1900px) {
    body .main {
        width: calc(100vw - 64px) !important;
        max-width: 1840px !important;
    }
}
