/*
Theme Name: Jakub Ferek
Author: Maciej Noworyta
Author URI:
*/

a, abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, time, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: inherit;
  font-style: inherit;
}

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

a, ins, del {
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
}

caption, th {
  text-align: left;
}

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

.text-left {
    text-align: left;
}

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

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

* {
    outline: none;
    margin: 0;
    padding: 0;
}

a {
	color: #484848;
	text-decoration: none;
    transition: all 300ms ease-out 0s;
}

a:hover, a:focus {
	color: #682453;
	text-decoration: none;
    outline: none;
}

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #2e2e2e;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.transition {
    opacity: 0.85;
	-webkit-transition:all 300ms ease-out 0s;
	-moz-transition:all 300ms ease-out 0s;
	-o-transition:all 300ms ease-out 0s;
	transition:all 300ms ease-out 0s;
}

.transition:hover {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1352px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

p {
    padding: 5px 0;
    margin: 0 0 10px;
    line-height: 1.45;
}

p:last-of-type {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #1c1c1c;
    font-weight: 700;
    line-height: 1.2;
    margin: 15px 0;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 10px;
}

.btn {
    font-size: 14px;
    color: #fff;
    padding: 18px 30px 18px 70px;
    border: 1px solid #682453;
    background: #682453;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: all 300ms ease-out 0s;
}

.btn.small {
    font-size: 12px;
    padding: 13px 30px 13px 55px;
}

.btn.small:before {
    width: 20px;
    left: 20px;
}

.btn.small:hover {
    color: #fff;
    border: 1px solid #1c1c1c;
    background: #1c1c1c;
    padding-left: 60px;
}

.btn:hover {
    color: #fff;
    border: 1px solid #1c1c1c;
    background: #1c1c1c;
    padding-left: 75px;
}

.btn:before {
    content: "";
    width: 26px;
    height: 1px;
    background: #d1d1d1;
    position: absolute;
    left: 26px;
    top: 50%;
}

.btn-outline {
    background: #fff;
    color: #484848;
}

.btn-outline:hover {
    border: 1px solid #682453;
    background: #682453;
}


.btn-outline:hover:before {
    background: #fff;
}

/* Sections */
.section {
    padding: 55px 0;
    position: relative;
}

.section-heading,
.section-content {
    padding: 10px 0;
    line-height: 1.2;
}

.section-heading .title {
    font-family: 'Roboto', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.section-heading span {
    /*font-family: 'Playfair Display', serif;*/
    font-weight: 700;
    /*color: #682453;*/
}

.section .left-padding {
    padding-left: 40px;
}

.section-content p {
    margin-bottom: 20px;
    line-height: 1.75;
}

.section-content p:last-of-type {
    margin-bottom: 0;
}

.section-content ul,
.section-content ol {
    list-style: disc;
    padding: 0 30px;
    margin-bottom: 20px;
}

.section-content ol {
    list-style: decimal;
}

.section-content li {
    padding: 5px 0;
}

.section-featured {
    max-width: 510px;
    position: relative;
    margin: 0 auto;
}

.section-featured img {
    position: relative;
    z-index: 99;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section.has-pattern .section-featured:before {
    content: "";
    width: 125px;
    height: 125px;
    background: #fff4e9;
    position: absolute;
    top: -16px;
    right: -16px;
}

.section-wrapper {
    padding: 30px 90px;
}

.section-wrapper .btn {
    margin-top: 15px;
}

/* Header */
.logged-in #header {
    top: 32px;
}

.logged-in #header.sticky {
    top: 32px;
}

.slicknav_menu {
    display: none;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
}

#header.sticky {
    animation-duration: 0.8s;
    animation-name: fadeInDown;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

#header .header__logo img {
    width: auto;
    max-height: 50px;
}

#header .header__navigation li {
    position: relative;
}

#header .header__navigation > ul {
    display: flex;
}

#header .header__navigation > ul > li {
    margin: 0 5px
}

#header .header__navigation li ul {
    display: none;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#header .header__navigation > ul > li > a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    transition: all 300ms ease-out 0s;
}

#header .header__navigation > ul > li > a:hover {
    color: #fff;
    background: #682453;
    transition: all 300ms ease-out 0s;
}

#header .header__navigation > ul > li.menu-item-has-children > a {
    padding-right: 30px;
}

#header .header__navigation > ul > li.menu-item-has-children > a:before  {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url('assets/images/icons/chevron-right_ico.svg');
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    right: 5px;
}

#header .header__navigation > ul > li > a:hover:after,
#header .header__navigation li:hover a:after {
    width: 100%;
}

#header .header__navigation li:hover > ul {
    display: block;
    position: absolute;
    right: -5px;
    z-index: 99;
    background: #ffffff;
    min-width: 175px;
}

#header .header__navigation li.has-column:hover > ul {
    columns: 2;
    min-width: 850px;
}

#header .header__navigation li:hover > ul a {
    color: #484848;
    padding: 15px;
    display: block;
    margin: 0;
}

/*#header .header__navigation li > ul a:hover:before,*/
/*#header .header__navigation li:hover > ul .current-menu-item a:before {*/
/*    background-position: 6px 10px;*/
/*}*/

/*#header .header__navigation li > ul a:hover,*/
/*#header .header__navigation li:hover > ul .current-menu-item a {*/
/*    color: #682453;*/
/*    background: #f4f4f4;*/
/*}*/

/*#header .header__navigation li.current-menu-item a {*/
/*    color: #682453;*/
/*}*/

#main {
    padding-top: 75px;
}

#footer {
    border-top: 1px solid #cacaca;
}

.footer__bottom {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

@media (max-width: 1367px) {
    .section-wrapper {
        padding: 15px 45px;
    }

    .section-heading .title {
        font-size: 40px;
    }
}

@media (max-width: 1200px) {
    #header .header__navigation > ul > li {
        margin: 0 15px;
    }

    #header .header__logo img {
        max-width: 210px;
    }

    #header .header__navigation li.has-column:hover > ul {
        columns: 2;
        min-width: 675px;
    }
}

@media (max-width: 1024px) {

}

@media (max-width: 992px) {
    .slicknav_menu {
        display: block;
    }

    .slicknav_btn {
        position: absolute;
        top: 13px;
        right: 15px;
    }

    .slicknav_icon {
        width: 40px;
        height: 30px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        display: block;
    }

    .slicknav_icon span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #682453;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .slicknav_icon span:nth-child(1) {
        top: 1px;
    }

    .slicknav_icon span:nth-child(2) {
        top: 12px;
    }

    .slicknav_icon span:nth-child(3) {
        top: 24px;
    }

    .slicknav_open .slicknav_icon span:nth-child(1) {
        top: 12px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .slicknav_open .slicknav_icon span:nth-child(2) {
        opacity: 0;
        left: -30px;
    }

    .slicknav_open .slicknav_icon span:nth-child(3) {
        top: 12px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .slicknav_nav {
        position: absolute;
        background: rgb(255, 255, 255);
        width: 100%;
        left: 0;
        top: 60px;
        padding-top: 15px;
    }

    .slicknav_nav a {
        color: #682453;
        font-weight: 700;
        display: block;
        padding: 10px 15px;
        text-align: center;
        border-top: 1px solid #eaeaea;
    }

    .slicknav_nav .current-menu-item a,
    .slicknav_nav a:hover {
        color: #fff;
        background: #682453;
    }

    .slicknav_item {
        margin: 0;
        padding: 0;
        position: relative;
    }

    .slicknav_arrow {
        position: absolute;
        top: 0;
        right: 15px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    #header {
        justify-content: flex-start;
        min-height: 65px;
        gap: 0;
    }

    .header__navigation {
        display: none;
    }

    #main {
        padding-top: 65px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }

    .section-wrapper {
        padding: 0;
    }

    .section .left-padding {
        padding-left: 0;
    }

    .section.has-pattern .section-featured:before {
        width: 80px;
        height: 80px;
        top: -30px;
        right: -15px;
    }

    .section.has-pattern .section-featured:after {
        bottom: 18px;
        right: -11px;
    }

    .section-heading .title {
        font-size: 28px;
    }

    .section-featured {
        padding-bottom: 30px;
    }

    .btn {
        font-size: 12px;
        padding: 14px 20px 14px 60px;
    }

    .btn:before {
        width: 20px;
        left: 20px;
    }

    .btn:hover {
        padding-left: 55px;
    }

    .footer__bottom {
        font-size: 12px;
        padding: 10px 0;
        flex-direction: column;
    }
}

/* Cookies */
#cookies-message {
    font-size: 14px;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    background-color: #f2f2f2;
    width: 100%;
    z-index: 999;
    color: #999999;
}

#cookies-message a {
    color: #999999;
}

#cookies-message #accept-cookies-checkbox {
    width: 12px;
    height: 13px;
	cursor: pointer;
    background: url(assets/images/icons/close-cookie.png) no-repeat;
    display: inline-block;
    margin-left: 20px;
    text-indent: -9999px;
    top: 5px;
    position: relative;
}

.cookie #footer {
	padding-bottom: 40px;
}

/* Pomocniczne */
.aligncenter,
div.aligncenter {
    display: block;
    margin: 15px auto 15px auto;
}

.alignright {
    float: right;
    margin: 15px 0 15px 15px;
}

.alignleft {
    float: left;
    margin: 15px 15px 15px 0;
}


a img.alignright {
    float: right;
    margin: 30px 0 30px 30px;
}

a img.alignnone {
    margin: 30px 30px 30px 0;
}

a img.alignleft {
    float: left;
    margin: 30px 30px 30px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
}