/*
Theme Name: maksymilian-org
Author: Maksymilian.org
Author URI: http://maksymilian.org
Description: Motyw zaprojektowany specjalnie dla Twojej strony.
Version: 1.0.0
*/

/*------------------------------------------------------
## Normalize
------------------------------------------------------*/

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

body {
    margin: 0;
}

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

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

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

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

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

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

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

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

h2 {
    font-size: 1.8em;
    margin: 0.47em 0;
}

h3 {
    font-size: 1.6em;
    margin: 0.37em 0;
}

h4 {
    font-size: 1.4em;
    margin: 0.27em 0;
}

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

small {
    font-size: 80%;
}

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

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

figure {
    margin: 1em 40px;
}

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

pre {
    overflow: auto;
}

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

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

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

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

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

input {
    line-height: normal;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

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

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

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

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

td,
th {
    padding: 0;
}

@media (max-width:800px){
    h1 {
    font-size: 2.5em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.4em;
    margin: 0.47em 0;
}

h3 {
    font-size: 1.2em;
    margin: 0.37em 0;
}

h4 {
    font-size: 1.1em;
    margin: 0.27em 0;
}
}

/*------------------------------------------------------
## Typography
------------------------------------------------------*/

body,
button,
input,
select,
textarea {
    color: #424242;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}


/*------------------------------------------------------
## Elements
------------------------------------------------------*/

html {
    box-sizing: border-box;
    height: 100%;
}

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

* {
    margin: 0;
}

body {
    background: #fff;
    height: 100%;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*------------------------------------------------------
## Forms
------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 0;
    border-radius: 0;
    font-size: 1em;
    line-height: 1;
    padding: .8em 1.5em .8em;
    transition: 0.3s;
    float: right;
    background: #329d84;
    color: white;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #f5f5f5;
    color: #424242;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    outline: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
select,
textarea {
    border: 0;
    border-radius: 0;
    padding: 0.5em 1em;
    background: #f5f5f5;
    width: 100%;
    max-width: 100%;
    color: #091D42;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    outline: 0;
    font-weight: 400;
}

textarea {
    width: 100%;
    height: 181px;
}

label {
    text-transform: uppercase;
    font-size: 0.7em;
    letter-spacing: 2px;
    text-align: left;
}

form i {
    color: #ccc;
}

form .grid {
    margin-bottom: 0 !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
    padding: 0;
    color: #b94a48;
    font-size: 1em;
    font-weight: normal;
    display: block;
    text-align: left;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    padding: 1em 2rem;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-transform: none;
}

.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-spam-blocked {
    padding: 1em 2rem;
    text-align: center;
    margin: 0 0 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid rgba(185, 74, 72, 0.3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-transform: none;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #ccc;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #ccc;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #ccc;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #ccc;
}


/*------------------------------------------------------
## Links
------------------------------------------------------*/

a {
    color: #329d84;
    text-decoration: none;
    transition: 0.3s;
}

a:hover,
a:focus,
a:active {
    color: #46b59b;
}

a:focus {
    outline: thin dotted;
}

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


/*------------------------------------------------------
## Site parts
------------------------------------------------------*/

.site {
    min-height: 100%;
    margin: 0 auto;
    margin-bottom: -550px;
    background-image: url(./img/palmy.png);
    background-position: bottom -170px right;
    background-repeat: no-repeat;
    background-size: auto 700px;
}

.wrap-max {
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
}

.wrap,
.header-area,
.footer-area,
.content-area {
    width: 1240px;
    max-width: 100%;
    margin: 0 auto;
}

.site,
.site-footer {
    width: 100%;
    max-width: 100%;
}

.site:after {
    content: "";
    display: block;
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
}



.site-header {
    position: relative;
}

.site-header.fix {
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 9;
    background: white;
    box-shadow: 0 0 10px #ccc;
    transition: 0.3s;
}

.header-area {
    position: relative;
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 0 auto;
    padding: 2em 0;
    transition: 0.3s;
}

.fix .header-area {
    padding: 0.2em 0;
}

.site-logo {
    width: 230px;
    max-width: 100%;
    transition: 0.3s;
    position: relative;
}

.site-contact {
    width: 250px;
    max-width: 100%;
    transition: 0.3s;
    position: relative;
    text-align: right;
    align-self: center;
    font-size: 1.2em;
    font-weight: 800;
    color: #329d84;
}

.site-contact .widget,
.site-contact p:last-child {
    margin-bottom: 0;
}

.site-title {}

.site-description {}



.site-content {}

.content-area {}

/*
#primary {
    width: 75%;
    border-left: 1px dashed #f5f5f5;
    padding: 2em;
    order: 2;
}

#secondary {
    width: 25%;
    background: white;
    order: 1;
    padding: 2em 0;
}
*/

.site-footer {
    margin: 0 auto;
    padding: 10px;
}

.site-footer a {
    color: #fff;
}

.site-footer,
.site:after {
    min-height: 550px;
}

.footer-area {
    margin: 0 auto;
    padding: 2em 2em 0;
    position: relative;
}

.footer-header {
    font-size: 1.4em;
    margin-top: 120px;
}


.footer-area .grids4 {
    align-items: flex-start;
}

.footer-area .widget {
    margin-bottom: 0;
}

.footer-area .widget-title {
    font-weight: 700;
    margin-bottom: 0.5em;
}

.footer-area .textwidget {
    font-size: 0.9em;
}

.footer-area .mks_social_widget_ul {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.footer-area ul.mks_social_widget_ul a {
    background: #666;
    transition: 0.3s;
    color: #fff;
}

.footer-area ul.mks_social_widget_ul a:before {
    color: #292929;
}

.footer-area .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-area .menu li a {
    transition: 0.3s;
    display: inline-block;
    font-size: 0.9em;
}

.footer-area .menu li a:hover {
    margin-left: 3px;
}

.footer-area .menu li a:before {
    content: "\f105";
    font-family: FontAwesome;
    width: 10px;
    display: inline-block;
    transition: 0.3s;
    font-size: 11px;
}

.footer-area .menu li a:hover:before {
    content: "\f105";
}

.footer-area .widget_media_image a {
    display: block;
    text-align: center;
    width: 100%;
}

.footer-area .widget_media_image img {
    display: block;
    margin: 0 auto;
    transition: 0.3s;
    float: left;
}

.footer-area .widget_media_image img:hover {
    opacity: 0.7;
}

.site-info,
.site-author {
    font-size: 0.7em;
    color: #777;
    font-weight: 300;
    float: left;
}

.site-info {
    width: 50%;
    text-align: left;
}

.site-author {
    float: right;
    width: 50%;
    text-align: right;
}

.site-author a {
    color: #777;
    border-bottom: 1px dotted #ccc;
}

.site-author a:hover {
    color: #5c00ae;
    border-bottom: 1px dotted #5c00ae;
}

.site-cookies {
    text-align: center;
    float: left;
    width: 100%;
    background: #fff;
    min-height: 50px;
    font-size: 0.8em;
    padding: 16px 70px 16px 70px;
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 99999999;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    color: #292929;
}

.site-cookies .widget,
.site-cookies p {
    margin-bottom: 0;
}

.site-cookies a {
    color: #444;
}

.site-cookies a:hover {
    color: #777;
    text-decoration: underline;
}

.site-cookies img.cookies {
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
}

.site-cookies img.close {
    width: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


@media screen and (max-width:800px) {
    .site-header {
        margin: 0;
    }
    .header-area.fix {
    }
    .site-content {
        padding: 0;
        margin: 0;
    }
    .site-footer {
        margin: 0;
        position: relative;
    }
    .header-area {
            display: flex;
    padding: 0.5em;
    }
    .site-branding {
        float: left;
        max-width: 100%;
        margin: 0;
    }
    .site-logo {
            height: 50px;
    text-align: left;
    }
    .site-logo img {
            height: 100%;
        width: auto;
    }
    .site-logo:hover {
        opacity: 0.3;
    }
    .site-info {
        width: 100%;
        float: left;
        margin: 0 0;
    }
    .site-author {
    float: left;
    width: 100%;
    margin: 0;
    text-align: left;
}
    .site-contact {
        display: none;
}
    .footer-area {
    padding: 2em 1em 0;
}
    .lgc-mobile-grid-100 .inside-grid-column {
    padding: 0!important;
}
}


/*------------------------------------------------------
## Navigation
------------------------------------------------------*/

.main-navigation {
    text-align: right;
    align-self: center;
}

.main-navigation.fix {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0 auto;
    padding-left: 0;
    width: auto;
}

.main-navigation li {
    display: inline-block;
    float: none;
    position: relative;
    margin-right: -4px;
    padding: 0;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    padding: 1em 1em;
    color: #424242;
    font-size: 1.1em;
    transition: 0.3s;
}

.main-navigation a:before,
.main-navigation a:active:before,
.main-navigation a:focus:before {
    position: absolute;
    content: "";
    height: 2px;
    width: 40px;
    background: #ccc;
    opacity: 0;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
    transition: 0.3s;
}

.main-navigation a:hover:before,
.main-navigation a:active:before,
.main-navigation a:active:before,
.main-navigation a:focus:before,
.main-navigation .current-menu-item a:before {
    opacity: 1;
}

.main-navigation ul ul {
    float: left;
    position: absolute;
    top: 3.5em;
    left: -999em;
    z-index: 99999;
    width: auto;
    text-align: left;
    margin-left: -1px;
}

.main-navigation ul ul li {
    margin-right: 0;
    border-top: none;
}

.main-navigation ul ul li:first-child {}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {}

.main-navigation li:hover > a,
.main-navigation li.focus > a {}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {}

/*--------------------------
## Mobile menu
--------------------------*/

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 800px) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: block;
    }
}

/*--------------------------
## Hamburger
--------------------------*/

.hamburger .line {
    width: 40px;
    height: 3px;
    background-color: #212121;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover {
    cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2) {
    opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -o-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-13px) rotate(-45deg);
    -ms-transform: translateY(-13px) rotate(-45deg);
    -o-transform: translateY(-13px) rotate(-45deg);
    transform: translateY(-13px) rotate(-45deg);
}



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

    .menu-toggle:active,
    .menu-toggle:focus,
    .menu-toggle:hover {
        background: 0;
    }

    .menu-toggle {
        position: absolute;
        border: none;
        font-size: 2em;
        padding: 0;
        margin: 0 auto;
        right: 8px;
        align-self: center;
        color: black;
        background: transparent;
    }

.main-navigation {
    position: absolute;
    z-index: 999;
    top: 0;
    background: white;
    width: 85%;
    left: 0;
    transition: 0.3s;
    box-shadow: 0 0 10px #ccc;
}
    
    .main-navigation.show ul {
        display: block;
    }
    
    .main-navigation.show {
        transform: translateX(0);
        transition: 0.3s;
    }
    
    .main-navigation.hide {
        transform: translateX(-100%);
    }

    .main-navigation.fixmini {
        position: fixed;
        left: 0;
        z-index: 9999;
        overflow-y: auto;
    }

    .main-navigation ul {}

    .main-navigation li {
        width: 100%;
        text-align: center;
        font-size: 1.2em;
        margin-right: 0;
        border-width: 1px 0 0;
    }

    .main-navigation a {
        padding: 10px 0;
    }

    .main-navigation ul ul {
        position: relative;
        top: auto;
        float: none;
        left: auto;
        margin-left: 0;
    }

    .main-navigation ul ul li {
        border-width: 1px 0;
    }

    .main-navigation ul ul li:first-child {
        border-top: 1px solid #eee;
    }

    .main-navigation ul ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul ul li a {
        width: 100%;
        font-size: 0.8em;
    }
    .main-navigation li:active {
        background: #eee;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}


/*------------------------------------------------------
## Acessibility
------------------------------------------------------*/

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*------------------------------------------------------
## Alignments
------------------------------------------------------*/

.alignleft {
    text-align: left;
}

.alignright {
    text-align: right;
}

.aligncenter {
    text-align: center;
}


/*------------------------------------------------------
## Clearings
------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/* Widgets
------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */

.widget select {
    max-width: 100%;
}


/*------------------------------------------------------
## Front page
------------------------------------------------------*/

.slides {
    height: 75vh;
    max-height: 45vw;
    position: relative;
}

.slides .slick-list,
.slides .slick-slide,
.slides .slick-slide > div,
.slides .slick-track {
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex !important;
    position: relative;
}

.slide:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.slide-image {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.slide-content {
    align-self: center;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 0 8px black;
    z-index: 2;
    position: relative;
    left: calc(33.333% * 2);
    width: 33.333%;
}

.slide-content h2 {
    font-size: 3em;
    margin-bottom: 0;
}

.slide-button {
    display: inline-block;
    border: 0px solid transparent;
    text-shadow: none;
    border-radius: 30px;
    padding: 10px 20px;
    color: #329d84;
    background: white;
    transition: 0.3s;
}

.slide-button:hover {
    color: white;
    background: #329d84;
}

/*
.slide-content.position-left {
    left: 50%;
    transform: translateX(-600px);
    width: 600px;
}

.slide-content.position-right {
    left: 100%;
    transform: translateX(-600px);
    width: 600px;
}

.slide-content.position-center {
    left: 75%;
    transform: translateX(-600px);
    width: 600px;
}
*/

.slides .slick-dots {
    position: absolute;
    bottom: 30px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slides .slick-dots li {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 15px;
    padding: 0;
    cursor: pointer;
}

.slides .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 30px;
    height: 30px;
    padding: 10px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: 0;
    background: 0 0;
}

.slides .slick-dots li.slick-active button:before {
    background: #329d84;
    opacity: 1;
}

.slides .slick-dots li button:before {
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    content: "";
    background: transparent;
    border-radius: 50%;
    border: 2px solid white;
    text-align: center;
    opacity: 1;
}

.opis {
    margin: 100px 0;
}

.opis h1 {
    font-size: 2.5em;
}

.oferta-title h2 {
    font-size: 1.8em;
}

.oferta-content {
    text-align: center;
}

.oferta-image {
    height: calc(1240px * 0.2275);
    position: relative;
}

.oferta-image img {
    position: absolute;
    object-position: center;
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

.oferta-button {
    padding: .8em 1.5em .8em;
    transition: 0.3s;
    background: #329d84;
    color: white;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 50px;
}

.oferta-button:hover {
    background: #eee;
    color: #329d84;
}


.liczby-block {
    height: 40vh;
    min-height: 400px;
    display: flex;
    background-size: cover;
    background-position: center;
}

.liczby-items {
    align-self: center;
    color: white;
    width: 1240px !important;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, .6);
}

.liczby-count {
    font-family: Raleway, sans-serif;
    font-size: 3.5em;
    font-weight: 800;
}

.liczby-content {
    font-size: 1.4em;
    font-family: Raleway, sans-serif;
}

.polecamy-block {
    margin: 50px 0;
}

.title-polecane {
    font-size: 2.5em;
}


.newsletter-area {
    height: 40vh;
    min-height: 400px;
    display: flex;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;

}

.newsletter-area figure {
    margin: 0;
}

.newsletter-area .widget-title {
    font-size: 2.2em;
}

.newsletter-area .widget_media_image {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.newsletter-area .widget_media_image img {
    position: absolute;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: top;
}

.newsletter-area .widget_newsletterwidget {
    align-self: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, .6);
    padding: 0 1em;
}

.newsletter-area .widget_newsletterwidget .tnp-widget input.tnp-submit {
    background-color: #329d84;
}

.newsletter-area .widget_newsletterwidget .tnp-widget {
    margin-top: 30px;
}

.newsletter-area .widget_newsletterwidget .tnp-field-firstname {
    float: left;
    width: 48%;
    margin-right: 4%;
}

.newsletter-area .widget_newsletterwidget .tnp-field-email {
    float: left;
    width: 48%;
}

.newsletter-area .widget_newsletterwidget .tnp-field-privacy {
    float: none;
    clear: both;
}

.newsletter-area .widget_newsletterwidget label {
    font-size: 0.7em;
}

.newsletter-area .widget_newsletterwidget .tnp-widget input[type=submit] {
    border: none;
}

@media (max-width:1200px){
    .oferta-image {
    height: calc((100vw - 3vw - 2em) / 4);
}
}

@media (max-width:800px){
    .opis {
        padding: 0 1em;
    }
    .oferta {
        padding: 0 1em;
    }
    .liczby-block {
    height: auto;
        padding: 40px 0;
    }
    .title-polecane {
    font-size: 1.5em;
    padding: 0 1em;
}
    .slides {
    max-height: calc(100vh - 66px);
    height: calc(100vh - 66px);
}
.slide-content {
    font-size: 1rem;
    padding: 0 1em;
    width: 100%;
    left: auto;
}
    .slides .slick-dots {
    bottom: 5px;
}
    .slide-content h2 {
    font-size: 2em;
}

}

@media (max-width:650px){
    .oferta-image {
    height: calc((100vw - 6vw - 2em) / 2);
}
}

@media (max-width:450px){
    .oferta-image {
    height: calc(100vw - 2em);
}
}

/*------------------------------------------------------
## Post and Pages
------------------------------------------------------*/

.sticky {
    display: block;
}

.hentry {
    margin: 0 auto 3em;
    width: 1140px;
    max-width: 100%;
}

.breadcrumbs {
    text-align: right;
    font-size: 0.8em;
}

/*.byline ,*/

.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}



.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #329d84;
    font-weight: 800;
    margin-left: 0.5em;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.entry-thumb {
    position: relative;
    padding-top: 56%;
    background-position: center;
    background-size: cover;
}

.single-wycieczki .entry-thumb {
    float: left;
    width: 35%;
    margin-right: 5%;
    padding: 0;
}

.single-wycieczki .entry-content {
    width: 60%;
    margin-top: 0;
    float: right;
}

.entry-title {}

.entry-meta {}

.entry-meta:before,
.entry-meta:after,
.entry-footer:after,
.entry-footer:before {
    clear: both;
    content: "";
    display: block;
}

.posted-on {}

.byline {
    float: right;
}

.cat-links {
    float: left;
}

.tags-links {
    float: right;
}

.comment-link {}

.entry-social {
    clear: both;
    display: block;
    width: 318px;
    max-width: 100%;
    text-align: center;
    font-size: 16px;
    margin: 3em auto;
}

.entry-share {
    width: 45px;
    line-height: 45px;
    margin-right: 10px;
    font-size: 17px;
    border-radius: 50%;
    float: left;
    text-align: center;
    transition: 0.3s;
    color: #212121;
    background: #fff;
    border-bottom: 0 !important;
}

.entry-facebook {
    width: 45px;
    line-height: 45px;
    margin-right: 10px;
    font-size: 17px;
    border-radius: 50%;
    float: left;
    text-align: center;
    transition: 0.3s;
    color: #fff;
    background: #3b5998;
    border-bottom: 0 !important;
}

.entry-twitter {
    width: 45px;
    line-height: 45px;
    margin-right: 10px;
    font-size: 17px;
    border-radius: 50%;
    float: left;
    text-align: center;
    transition: 0.3s;
    color: #fff;
    background: #1da1f2;
    border-bottom: 0 !important;
}

.entry-google {
    width: 45px;
    line-height: 45px;
    margin-right: 10px;
    font-size: 17px;
    border-radius: 50%;
    float: left;
    text-align: center;
    transition: 0.3s;
    color: #fff;
    background: #db4437;
    border-bottom: 0 !important;
}

.entry-mail {
    width: 45px;
    line-height: 45px;
    font-size: 17px;
    border-radius: 50%;
    float: left;
    text-align: center;
    transition: 0.3s;
    color: #fff;
    background: #212121;
    border-bottom: 0 !important;
}

.entry-facebook:hover {
    color: #3b5998;
    background: transparent;
}

.entry-twitter:hover {
    color: #1da1f2;
    background: transparent;
}

.entry-google:hover {
    color: #db4437;
    background: transparent;
}

.entry-mail:hover {
    color: #212121;
    background: transparent;
}

.entry-social:before,
.entry-social:after {
    clear: both;
    content: "";
    display: block;
}

@media screen and (max-width:800px) {
    .entry-thumb-descr {
        height: 20px;
        padding: 4px 9px;
    }
    .entry-title {
        font-size: 1.3em;
        margin: 2em 0 1em;
        padding: 0 1em;
    }
    
    .entry-content {
        padding: 0 1em;
    }
    .page-title {
        padding: 0 1em;
    }
    .breadcrumbs {
        padding: 0 1em;
    }
    .single-wycieczki .entry-thumb {
    width: 100%;
    margin-right: 0;
}
.single-wycieczki .entry-content {
    width: 100%;
}
}


/*------------------------------------------------------
## Post mini
------------------------------------------------------*/

.post-mini {
    position: relative;
    overflow: hidden;
    transition: 0.6s;
    padding: 0 15px;
}

.post-mini a {
    color: #329d84;
}

.post-mini:hover:after {
    height: 100%;
}

.thumb-mini {
    width: 100%;
    padding-top: 56%;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

/*
.thumb-mini {
    width: 100%;
    height: 225px;
    padding-top: 0;
    background-position: bottom;
    background-size: 100%auto;
    overflow: hidden;
    background-repeat: no-repeat;
    position: relative;
    transition: 0.3s;
}
*/

.thumb-mini:after {
    position: absolute;
    height: 15px;
    width: 100%;
    bottom: 0;
    left: 0;
    transform: translateY(15px);
    background: #f9f9f9;
    content: "";
    transition: 0.3s;
}

.post-mini:hover .thumb-mini:after {
    transform: translateY(0);
}

.content-mini {
    width: 100%;
    overflow: hidden;
    transition: 0.5s;
    text-align: center;
    background: #f9f9f9;
    padding-bottom: 20px;
}

.title-mini {
    margin-top: 20px;
    padding: 0 15px;
}

.more-mini {
    color: #262626;
    transition: 0.3s;
}

.more-mini:hover {
    color: #329d84;
}

.more-posts {
    margin-bottom: 3em;
}

.more-title {
    font-size: 2.2em;
    color: #9d9d9d;
    margin-bottom: 1em;
}

.news {
    transition: 0.3s;
}

.news img {
    margin-bottom: -7px;
}

.news .content-mini {
    background: #f9f9f9;
    text-align: left;
}

.news:hover a .title-mini {
    color: #444;
}

.news .title-mini {
    padding: 0 25px;
}

.news a .excerpt-mini {
    padding: 0 25px;
    text-align: justify;
    color: rgb(119, 119, 119);
}

.news a .date-mini {
    color: #ccc;
    padding: 0 15px;
    color: #ccc;
    text-align: right;
    font-size: 0.8em;
}

@media (max-width:800px){
    .more-title {
    font-size: 1.4em;
    padding: 0 1em;
}
}


/*------------------------------------------------------
## Widgets
------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*------------------------------------------------------
## Pagination
------------------------------------------------------*/

.site-pagination {
    text-align: center;
    margin: 20px 0;
}

.page-numbers {
    font-size: 17px;
    padding: 2px 6px;
    border: 1px solid #ddd;
    margin: 0 4px;
}

a.page-numbers {
    color: #6d6d6d;
    transition: 0.3s;
}

a.page-numbers:hover {
    background: #ddd;
    color: #fff;
}

.current {
    border: none;
}

.next,
.prev {}

/*------------------------------------------------------
## Infinite scroll
------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,
/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}

/*------------------------------------------------------
## Media
------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}

.fb-page, 
.fb-page span, 
.fb-page span iframe[style] { 
    max-width: 100% !important; 
}

/*------------------------------------------------------
## Captions
------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*------------------------------------------------------
## Galleries
------------------------------------------------------*/

.gallery a {
    border: 0;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0;
    position: relative;
    
}

.gallery-item a {
    height: 100%;
    width: 100%;
    margin-bottom: -9px;
    display: block;

}

.gallery-icon {
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.gallery-item img {
    transition: 0.3s;
    position: absolute;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item {
    margin-right: 3%;
    margin-bottom: 3%;
}

.gallery-item a:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: rgba(50, 157, 132, 0.4);
    opacity: 0;
    top: 0;
    left: 0;
    transition: 0.3s;
}

.gallery-item a:before {
    position: absolute;
    content: "\f00e";
    font-family: FontAwesome;
    font-size: 50px;
    line-height: 1;
    color: #fff;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    z-index: 999;
    width: 0;
    height: 0;

}

.gallery-item:hover a:after,
.gallery-item:hover a:before {
    opacity: 1;
}

.gallery-item:hover a:before {
    width: 50px;
    height: 50px;
}

.gallery-columns-1 .gallery-item:nth-child(1n),
.gallery-columns-2 .gallery-item:nth-child(2n),
.gallery-columns-3 .gallery-item:nth-child(3n),
.gallery-columns-4 .gallery-item:nth-child(4n),
.gallery-columns-5 .gallery-item:nth-child(5n),
.gallery-columns-6 .gallery-item:nth-child(6n),
.gallery-columns-7 .gallery-item:nth-child(7n),
.gallery-columns-8 .gallery-item:nth-child(8n),
.gallery-columns-9 .gallery-item:nth-child(9n) {
    margin-right: 0;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    width: 48.5%;
}

.gallery-columns-3 .gallery-item {
    width: 31.3333332%;
}

.gallery-columns-4 .gallery-item {
    width: 22.75%;
}

.gallery-columns-5 .gallery-item {
    width: 17.6%;
}

.gallery-columns-6 .gallery-item {
    width: 14.1666666%;
}

.gallery-columns-7 .gallery-item {
    width: 11.7142857%;
}

.gallery-columns-8 .gallery-item {
    width: 9.875%;
}

.gallery-columns-9 .gallery-item {
    width: 8.44444444%;
}

.gallery-columns-1 .gallery-icon {
    height: calc( (1140px - (1140px * (( 1 - 1 ) * 0.03))) / 1 * 0.69);
}

.gallery-columns-2 .gallery-icon {
    height: calc( (1140px - (1140px * (( 2 - 1 ) * 0.03))) / 2 * 0.69);
}

.gallery-columns-3 .gallery-icon {
    height: calc( (1140px - (1140px * (( 3 - 1 ) * 0.03))) / 3 * 0.69);
}

.gallery-columns-4 .gallery-icon {
    height: calc( (1140px - (1140px * (( 4 - 1 ) * 0.03))) / 4 * 0.69);
}

.gallery-columns-5 .gallery-icon {
    height: calc( (1140px - (1140px * (( 5 - 1 ) * 0.03))) / 5 * 0.69);
}

.gallery-columns-6 .gallery-icon {
    height: calc( (1140px - (1140px * (( 6 - 1 ) * 0.03))) / 6 * 0.69);
}

.gallery-columns-7 .gallery-icon {
    height: calc( (1140px - (1140px * (( 7 - 1 ) * 0.03))) / 7 * 0.69);
}

.gallery-columns-8 .gallery-icon {
    height: calc( (1140px - (1140px * (( 8 - 1 ) * 0.03))) / 8 * 0.69);
}

.gallery-columns-9 .gallery-icon {
    height: calc( (1140px - (1140px * (( 9 - 1 ) * 0.03))) / 9 * 0.69);
}

.gallery-caption {
    display: block;
    font-weight: 300;
    font-size: 0.85em;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width:1200px){

    
    
    .gallery-columns-1 .gallery-icon {
    height: calc( (100vw - (100vw * (( 1 - 1 ) * 0.03))) / 1 * 0.69);
}

.gallery-columns-2 .gallery-icon {
    height: calc( (100vw - (100vw * (( 2 - 1 ) * 0.03))) / 2 * 0.69);
}

.gallery-columns-3 .gallery-icon {
    height: calc( (100vw - (100vw * (( 3 - 1 ) * 0.03))) / 3 * 0.69);
}

.gallery-columns-4 .gallery-icon {
    height: calc( (100vw - (100vw * (( 4 - 1 ) * 0.03))) / 4 * 0.69);
}

.gallery-columns-5 .gallery-icon {
    height: calc( (100vw - (100vw * (( 5 - 1 ) * 0.03))) / 5 * 0.69);
}

.gallery-columns-6 .gallery-icon {
    height: calc( (100vw - (100vw * (( 6 - 1 ) * 0.03))) / 6 * 0.69);
}

.gallery-columns-7 .gallery-icon {
    height: calc( (100vw - (100vw * (( 7 - 1 ) * 0.03))) / 7 * 0.69);
}

.gallery-columns-8 .gallery-icon {
    height: calc( (100vw - (100vw * (( 8 - 1 ) * 0.03))) / 8 * 0.69);
}

.gallery-columns-9 .gallery-icon {
    height: calc( (100vw - (100vw * (( 9 - 1 ) * 0.03))) / 9 * 0.69);
}
}

@media (max-width:800px) {
    
.gallery-columns-1 .gallery-item:nth-child(1n),
.gallery-columns-2 .gallery-item:nth-child(2n),
.gallery-columns-3 .gallery-item:nth-child(3n),
.gallery-columns-4 .gallery-item:nth-child(4n),
.gallery-columns-5 .gallery-item:nth-child(5n),
.gallery-columns-6 .gallery-item:nth-child(6n),
.gallery-columns-7 .gallery-item:nth-child(7n),
.gallery-columns-8 .gallery-item:nth-child(8n),
.gallery-columns-9 .gallery-item:nth-child(9n) {
    margin-right: 3%;
}    
    
    .gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
    width: 48.5%;
}

.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
    width: 100%;
}
    
.gallery-columns-1 .gallery-item:nth-child(1n),
.gallery-columns-2 .gallery-item:nth-child(2n),
.gallery-columns-3 .gallery-item:nth-child(2n),
.gallery-columns-4 .gallery-item:nth-child(1n),
.gallery-columns-5 .gallery-item:nth-child(1n),
.gallery-columns-6 .gallery-item:nth-child(1n),
.gallery-columns-7 .gallery-item:nth-child(1n),
.gallery-columns-8 .gallery-item:nth-child(1n),
.gallery-columns-9 .gallery-item:nth-child(1n) {
    margin-right: 0;
}
    
.gallery-columns-1 .gallery-icon,
.gallery-columns-4 .gallery-icon,
.gallery-columns-5 .gallery-icon,
.gallery-columns-6 .gallery-icon,
.gallery-columns-7 .gallery-icon,
.gallery-columns-8 .gallery-icon,
.gallery-columns-9 .gallery-icon {
    height: calc( 100vw * 0.69);
}

.gallery-columns-2 .gallery-icon,
.gallery-columns-3 .gallery-icon {
    height: calc( 100vw * 0.69 / 2);
}



.gallery-columns-9 .gallery-icon {
    height: calc( (1140px - (1140px * (( 9 - 1 ) * 0.03))) / 9 * 0.69);
}
}

@media (max-width:650px) {


.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
    width: 100%;
}

    
.gallery-columns-2 .gallery-item:nth-child(1n),
.gallery-columns-3 .gallery-item:nth-child(1n) {
    margin-right: 0;
}
    
.gallery-columns-2 .gallery-icon,
.gallery-columns-3 .gallery-icon {
    height: calc( 100vw * 0.69);
}
}

/*------------------------------------------------------
## Grid system
------------------------------------------------------*/

.grids2,
.grids3,
.grids4,
.grids5,
.grids6,
.grid13,
.grid23,
.grid14,
.grid34 {
    clear: both;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.grids2:after,
.grids3:after,
.grids4:after,
.grids5:after,
.grids6:after,
.grid13:after,
.grid23:after,
.grid14:after,
.grid34:after,
.grids2:before,
.grids3:before,
.grids4:before,
.grids6:before,
.grid13:before,
.grid23:before,
.grid14:before,
.grid34:before {
    display: block;
    clear: both;
    content: "";
}

.grids2 .grid,
.grids3 .grid,
.grids4 .grid,
.grids5 .grid,
.grids6 .grid,
.grids13 .grid,
.grids23 .grid,
.grids14 .grid,
.grids34 .grid {
    float: left;
    margin-right: 3%;
    margin-bottom: 2em;
}

.grid2,
.grid3,
.grid4,
.grid5 {
    margin-right: 3%;
}

.grids2 .grid {
    width: 48.5%;
}

.grids3 .grid {
    width: 31.3333332%;
}

.grids4 .grid {
    width: 22.75%;
}

.grids5 .grid {
    width: 17.6%;
}

.grids6 .grid {
    width: 14.1666666%;
}

.grids3 .grid2 {
    width: 65.6666664%;
}

.grids4 .grid2 {
    width: 48.5%;
}

.grids4 .grid3 {
    width: 74.25%;
}

.grids5 .grid2 {
    width: 38.2%;
}

.grids5 .grid3 {
    width: 58.8%;
}

.grids5 .grid4 {
    width: 79.4%;
}

.grids6 .grid2 {
    width: 31.3333332%;
}

.grids6 .grid3 {
    width: 48.4999998%;
}

.grids6 .grid4 {
    width: 65.6666664%;
}

.grids6 .grid5 {
    width: 82.83333%;
}

.grids2 .grid:last-child,
.grids3 .grid:last-child,
.grids4 .grid:last-child,
.grids5 .grid:last-child,
.grids6 .grid:last-child,
.grid13 .grid:last-child,
.grid23 .grid:last-child,
.grid14 .grid:last-child,
.grid34 .grid:last-child {
    margin-right: 0;
}

.grids2 .grid:nth-child(2n + 2),
.grids3 .grid:nth-child(3n + 3),
.grids4 .grid:nth-child(4n + 4),
.grids5 .grid:nth-child(5n + 5),
.grids6 .grid:nth-child(6n + 6) {
    margin-right: 0;
}

.last {
    margin-right: 0;
}

@media (max-width:650px) {
    .grids2 .grid {
        width: 100%;
        margin-right: 0;
    }
    .grids3 .grid {
        width: 100%;
        margin-right: 0;
    }
    .grids4 .grid,
    .grids5 .grid {
        width: 48.5%;
    }
    .grids4 .grid:nth-child(2n + 2),
    .grids5 .grid:nth-child(2n + 2) {
        margin-right: 0;
    }
    .grids6 .grid {
        width: 31.3333332%;
    }
    .grids6 .grid:nth-child(3n + 3) {
        margin-right: 0;
    }
    .grids3 .grid2 {
        width: 100%;
        margin-right: 0;
    }
    .grids4 .grid2 {
        width: 100%;
        margin-right: 0;
    }
    .grids4 .grid3 {
        width: 100%;
        margin-right: 0;
    }
    .grids5 .grid2 {
        width: 100%;
        margin-right: 0;
    }
    .grids5 .grid3 {
        width: 100%;
        margin-right: 0;
    }
    .grids5 .grid4 {
        width: 100%;
        margin-right: 0;
    }
    .grids6 .grid2 {
        width: 100%;
        margin-right: 0;
    }
    .grids6 .grid3 {
        width: 100%;
        margin-right: 0;
    }
    .grids6 .grid4 {
        width: 100%;
        margin-right: 0;
    }
    .grids6 .grid5 {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width:450px) {
    .grids4 .grid {
        width: 100%;
        margin-right: 0;
    }
    .grids5 .grid {
        width: 100%;
        margin-right: 0;
    }
    .grids6 .grid {
        width: 100%;
        margin-right: 0;
    }
}

.inside-grid-column {
    padding: 0 30px 0 10px !important;
}