/*
== Spis treści ==
0. Podstawowe
1. Typografia
2. Formularze
3. Nagłowek
4. Sekcje
5. Strony
6. Stopka
*/


@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* ------------------------------- 0. Podstawowe ------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
}

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

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

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

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

a {
    color: #C68100;
    text-decoration: none;
}

/* ------------------------------- 1. Typografia ------------------------------- */

h1 {
    font-family: 'Lora', serif;
    font-size: 3rem;
    margin: 30px 0;
    line-height: normal;
}

h2 {
    font-family: 'Lora', serif;
    font-size: 2.3rem;
    margin: 20px 0;
    line-height: normal;
}

h3 {
    font-family: 'Lora', serif;
    font-size: 2.1rem;
    margin: 20px 0;
    line-height: normal;
}

h4 {
    font-family: 'Lora', serif;
    font-size: 2.0rem;
    margin: 20px 0;
    line-height: normal;
}

/* ------------------------------- 2. Formularze ------------------------------- */

#kontakt-cf7 {
    margin-top: 50px;
}

#kontakt-cf7 input[type="text"],
#kontakt-cf7 input[type="email"],
#kontakt-cf7 input[type="url"],
#kontakt-cf7 input[type="password"],
#kontakt-cf7 input[type="search"],
#kontakt-cf7 input[type="number"],
#kontakt-cf7 input[type="tel"],
#kontakt-cf7 input[type="range"],
#kontakt-cf7 input[type="date"],
#kontakt-cf7 input[type="month"],
#kontakt-cf7 input[type="week"],
#kontakt-cf7 input[type="time"],
#kontakt-cf7 input[type="datetime"],
#kontakt-cf7 input[type="datetime-local"],
#kontakt-cf7 input[type="color"],
#kontakt-cf7 textarea {
    color: #10335D;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 5px;
    vertical-align: middle;
    width: 100%;
    font-size: 15px;
    font-family: 'Lora', sans-serif;
    box-sizing: border-box;
}

#kontakt-cf7 textarea {
    width: 100%;
    box-sizing: border-box;
}

#kontakt-cf7 input[type="text"]:focus,
#kontakt-cf7 textarea:focus,
#kontakt-cf7 input[type="email"]:focus {
    background-color: #ffffff;
    border: 1px solid #10335D;
}

#kontakt-cf7 input[type="text"]::placeholder,
#kontakt-cf7 textarea::placeholder,
#kontakt-cf7 input[type="email"]::placeholder {
    font-family: 'Lora', sans-serif;
    font-size: 15px;
    color: #9a9a9a;
}

#kontakt-cf7 button,
#kontakt-cf7 input[type="button"],
#kontakt-cf7 input[type="reset"],
#kontakt-cf7 input[type="submit"],
#kontakt-cf7 .btn,
.button, 
#kontakt-cf7 .reply a {
    background-color: #C68100;
    border-radius: 5px;
    padding: 15px 65px;
    font-size: 15px;
    color: #fff;
    border: 0;
}

#kontakt-cf7 .wpcf7-submit:hover,
#kontakt-cf7 .wpcf7-submit:focus, 
.button:hover {
    background-color: #10335D;
}

#kontakt-cf7 button:active,
#kontakt-cf7 button:focus, 
.button:focus {
    background-color: #10335D;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.spam .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-radius: 5px;
}

.cf7emailinput,
.cf7phoneinput {
    width: 100% !important;
}



/* ------------------------------- 3. Nagłowek ------------------------------- */

.site-header {
    padding: 15px 0 0 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 14;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.site-header .logo img {
    width: 145px;
    height: auto;
    margin-bottom: 10px;
}

.logo-div, .menu-div {
    margin:0;
    padding:0;
}

.gora-kontakt {
    font-size: 12px;
    letter-spacing: 3px;
    color: #DADADA;
    margin: 6px 0 10px 0;
    padding:0;
}

.gora-kontakt a {
    color: #737373;
    text-decoration: none;
}


/* -------- nawigacja -------- */

#site-navigation {
    display: flex;
    align-items: center;
    padding: 5px 0 0 0;
    justify-content: right;
}

li#menu-item-31 a {
    background-color: #C68100;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    box-sizing: border-box;
}

li#menu-item-31.current-menu-item a {
    background-color: #10335D;
}

.nav-menu {
    float: right;
}

.menulinks {
    display: none;
    text-align: center;
    width: 35px;
    height: 35px;
    color: #fff;
    right: 1px;
    position: absolute;
    cursor: pointer;
}

ul.mainmenu {
    vertical-align: middle;
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

ul.mainmenu>li {
    display: inline-block;
    padding: 0 5px;
    position: relative;
}

ul.mainmenu>li>a:link,
ul.mainmenu>li>a:visited {
    padding: 10px 15px;
    display: inline-block;
    text-align: center;
    font-size: 17px;
    color: #10335D;
    line-height: 18px;
    letter-spacing: -0.6px;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
    position: relative;
}

ul.mainmenu > li:hover > a,
ul.mainmenu > li > a.current {
    color: #1e5fad;
    text-decoration: none;
    border-radius: 5px;
}

.current-menu-item a {
    color: #C68100 !important;
}

ul.mainmenu>li>a.current:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #1e5fad;
    border-width: 8px;
    margin-left: -8px;
}

ul.mainmenu ul {
    position: absolute;
    left: 0;
    width: 250px;
    list-style: none;
    margin: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
    z-index: 2;
    display: none;
}

ul.mainmenu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 6px 0;
}

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

ul.mainmenu li li a:link,
ul.mainmenu li li a:visited {
    display: block;
    padding: 8px 15px;
    font-size: 15px;
    text-decoration: none;
    color: #10335D;
}

ul.mainmenu li li a:hover {
    color: #1e5fad;
    border-radius: 5px;
}

ul.mainmenu ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}


@media (min-width: 1024px) {
    ul.mainmenu {
        display: block !important;
    }

    ul.mainmenu li:hover>ul {
        display: block;
    }

    ul.mainmenu ul li:hover ul {
        display: block;
    }
}


@media (max-width: 1023px) {

    .site-header .logo img {
        width: 90px;
        margin-left: 10px;
    }

    .mobile-buttons {
        display: block; 
        margin-right: 45px;
    }

    .mobile-button {
        width: 45px;
        float: right;
    }

    .menulinks {
        display: inline-block;
        margin-top: 13px;
        margin-right: 10px;
    }

    ul.mainmenu {
        text-align: left;
        position: absolute;
        top: 62px;
        padding: 10px;
        right: 0;
        width: 100%;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 5px;
        display: none;
        z-index: 9999999;
    }

    ul.mainmenu>li {
        float: left;
        width: 100%;
        padding: 0px;
        margin: 0;
        position: relative;
    }

    ul.mainmenu>li:first-child {
        border: none;
    }

    ul.mainmenu>li>a:link,
    ul.mainmenu>li>a:visited {
        padding: 10px 15px;
        font-size: 16px;
        float: left;
        width: 100%;
        border: none;
        text-align: left;
        color: #10335D;
    }

    ul.mainmenu > li:hover > a,
    ul.mainmenu > li > a.current {
        background-color: transparent
    }
    
    ul.mainmenu li li a:hover {
        background-color: #fff;
        border-radius: 0;
    }

    ul.mainmenu ul {
        border: 0;
        padding-left: 10px;
        padding: 0;
    }

    a.menulinks i {
        display: inline;
        position: relative;
        top: -2px;
        margin-left: 0;
        -webkit-transition-duration: 0s;
        -webkit-transition-delay: .2s;
        -moz-transition-duration: 0s;
        -moz-transition-delay: .2s;
        transition-duration: 0s;
        transition-delay: .2s;
    }

    a.menulinks i:before,
    a.menulinks i:after {
        position: absolute;
        content: '';
        left: 0;
    }

    a.menulinks i,
    a.menulinks i:before,
    a.menulinks i:after {
        width: 30px;
        height: 4px;
        background-color: #10335D;
        display: inline-block;
        border-radius: 5px;
    }

    a.menulinks i {
        background-color: #C68100;
        left: -5px;
    }

    a.menulinks i:before {
        margin-top: -10px;
        transition-property: margin, -webkit-transform;
        transition-duration: .2s;
        transition-delay: .2s, 0;
        -webkit-transition-property: margin, -webkit-transform;
        -webkit-transition-duration: .2s;
        -webkit-transition-delay: .2s, 0;
    }

    a.menulinks i:after {
        margin-top: 10px;
        transition-property: margin, -webkit-transform;
        transition-duration: .2s;
        transition-delay: .2s, 0;
        -webkit-transition-property: margin, -webkit-transform;
        -webkit-transition-duration: .2s;
        -webkit-transition-delay: .2s, 0;
    }

    .mobile-open a.menulinks i {
        background-color: rgba(0, 0, 0, 0.0);
        transition-delay: .2s;
        -webkit-transition-delay: .2s;
        -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    }

    .mobile-open a.menulinks i:before {
        margin-top: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        transition-delay: 0, .2s;
        -webkit-transition-delay: 0, .2s;
        -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    }

    .mobile-open a.menulinks i:after {
        margin-top: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        transition-delay: 0, .2s;
        -webkit-transition-delay: 0, .2s;
        -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    }

    ul.mainmenu>li>a.current:after {
        display: none;
    }

    ul.mainmenu ul {
        position: relative;
        top: auto;
        left: auto;
        float: left;
        width: 100%;
    }

    ul.mainmenu ul li {
        position: relative;
        margin-left: 20px;
    }

    ul.mainmenu ul li a {
        padding: 8px 15px 8px 25px;
        color: #10335D;
    }

    ul.mainmenu ul ul {
        position: relative;
        left: auto;
        top: auto;
        float: left;
        width: 100%;
    }

    ul.mainmenu ul ul li {
        padding-left: 10px;
    }

    a.child-triggerm {
        display: block !important;
        cursor: pointer;
        position: absolute !important;
        top: 0px;
        right: 0px;
        width: 50px !important;
        min-width: 50px !important;
        height: 38px !important;
        padding: 0 !important;
        border-radius: 5px;
    }

    a.child-triggerm:hover {
        color: #C68100;
    }

    a.child-triggerm span {
        position: relative;
        top: 50%;
        margin: 0 auto !important;
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm span:after {
        position: absolute;
        content: '';
    }

    a.child-triggerm span,
    a.child-triggerm span:after {
        width: 10px;
        height: 1px;
        background-color: #C68100;
        display: block;
    }

    a.child-triggerm span:after {
        -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm.child-open span:after {
        -webkit-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        transform: rotate(-180deg);
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm.child-open span {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-transition-duration: .2s;
        -moz-transition-duration: .2s;
        transition-duration: .2s;
    }

    a.child-triggerm:hover span,
    a.child-triggerm:hover span:after {
        background-color: #C68100;
    }

}


/* ------------------------------- 4. Sekcje ------------------------------- */

.full-page-div {
    width: 100%;
}

.boxed-div {
    max-width: 1320px;
    margin: 0 auto;
}

.kontener {
    display: block;
}

.section-title {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 100%;
    height: 100%;
}

.section-title h2 {
    margin: 0;
    padding: 0;
    font-size: 33px;
    color: #444444;
}

.podtyt {
    width: 60px;
    height: 4px;
    background-color: #D9D9D9;
    display: block;
    margin-top: 9px;
}

section {
    background-position: center center;
    background-size: auto auto;
    background-origin: padding-box;
    scroll-margin-top: 90px;
    box-sizing: border-box;
}

section#banner {
    min-height: 300px;
    padding: 250px 0;
    color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

section#banner h1 {
    font-size: 55px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

section#banner p {
    font-size: 18px;
    font-weight: 200;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

section#banner a.button {
    background-color: #C68100;
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

section#banner a.button:hover {
    background-color: #f1a20d;
}

section#zajawka {
    padding: 80px 0;
}

section#zajawka h2 {
    color: #10335D;
    font-size: 25px;
    line-height: 32px;
    font-weight: 900;
    margin-bottom: 30px;
}

section#zajawka h3 {
    color: #C68100;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 30px;
    font-weight: 900;
}

section#zajawka p {
    font-size: 16px; 
    color: #737373;
    font-weight: 200;
    line-height: 24px;
    letter-spacing: 0.5px;
}

section#oferta {
    padding: 60px 0;
}

section#oferta h2 {
    font-size: 40px;
    margin-bottom: 80px;
    color: #C68100;
    font-weight: 900;
}

section#oferta a {
    text-decoration: none;
    color: #777777;
}

.start-oferta {
    padding-top: 80px;
}

.oferta-box {
    padding: 20px;
    margin: 10px;
    min-height: 200px;
}

.oferta-box:hover {
    background-color: #fff;
    border-radius: 5px;
}

.oferta-box img {
    margin-bottom: 5px;
}

.oferta-box h3 {
    font-size: 15px;
    line-height: 25px;
    font-weight: 700;
    font-family: 'Poppins', Helvetica, sans-serif;
    color: #10335D;
    margin-bottom: 20px;
}

.oferta-archive {
    padding: 20px;
    margin: 10px;
    min-height: 400px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
}

.oferta-archive:hover {
    background-color: #f3f3f3;
    border-radius: 5px;
}

.oferta-archive img {
    margin: 0;
    border-radius: 5px;
}

.oferta-archive h3 {
    font-size: 27px;
    line-height: 25px;
    font-weight: 700;
    color: #10335D;
    margin-bottom: 20px;
}

.oferta-archive p {
    color: #777;
    font-weight: 300;
    margin-bottom: 10px !important;
    font-size: 15px;
}

section#blog {
    padding: 80px 0;
}

section#blog h2 {
    color: #C68100;
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 800;
}

section#blog p {
    font-size: 17px;
    line-height: 29px;
}

.mgknews-item {
    margin-bottom: 80px;
}

.mgknews-item .date {
    font-size: 14px;
    font-weight: 200;
    color: #C68100;
}

.mgknews-item h2 {
    margin-top: 5px;
}

.mgknews-item h2 a {
    font-size: 27px;
    font-weight: 600;
    color: #10335D;
    margin-bottom: 10px;    
    text-decoration: none;
}

.mgknews-item h2 a:hover {
    border-bottom: 1px solid #C68100;
}

.mgknews-item p {
    font-weight: 200;
    color: #9D9D9C;
    margin-bottom: 30px;
}

.news-link {
    display: block;
}


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

    section#start {
        padding: 180px 0;
        text-align: center;
    }

    section#banner {
        padding: 70px 0;
    }

    section#banner h1 {
        font-size: 45px;
    }    

    section#start h1 {
        font-size: 45px;
    }    

    section#oferta {
        padding: 0;
    }

    .start-oferta {
        padding-top: 0;
    }

    .entry-content {
        padding: 20px;
    }    

}


/* ------------------------------- 5. Strony ------------------------------- */

.wpis-title {
    background-color: #141824;
    background-image: url('/wp-content/themes/wertis/img/header-tlo.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    padding: 40px 0;
    margin-bottom: 80px;
}

.wpis-title h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 200;
}

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

.tresc {
    margin-right: 50px;
    box-sizing: content-box;
    line-height: 29px;
    margin-bottom: 80px;
}

.tresc h2 {
    line-height: 42px;
    color: #C68100;
    margin-bottom: 50px;
}

.tresc h3 {
    color: #C68100;
    margin-bottom: 30px;
}

.tresc h4 {
    line-height: 30px;
    color: #C68100;
    font-size: 23px;
}

.tresc p {
    margin-bottom: 30px;
    color: #777;
    font-weight: 300;
}

.tresc strong {
    margin-bottom: 30px;
    color: #777;
    font-weight: 600;
}

.tresc ul:not(.image-gallery):not(.lSPager)  {
    padding-left: 20px;
    line-height: 25px;
    font-size: 15px;
    margin-bottom: 30px;
    color: #777;
}

.tresc ul:not(.image-gallery):not(.lSPager) li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 300;
}

.tresc ul:not(.image-gallery):not(.lSPager) li::before {
    content: '⦿';
    position: absolute;
    left: 0;
    top: 2px;
    color: #C68100;
    font-size: 18px;
    line-height: 1;
}

.tresc ol {
    list-style-type: decimal;
    padding-left: 20px;

}

.tresc ol ol {
    list-style-type: lower-alpha;
}

.tresc ol li {
    margin-bottom: 15px;
}

.tresc ol li::marker {
    color: #C68100;
    font-weight: bold;
}

.tresc .size-full {
    border: 1px solid #eee;
    padding: 20px;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.oferta-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error-404 {
    margin: 70px 0 150px 0;
}

h3.widget-title {
    color: #C68100;   
}


/* paginacja blog */

.pagination {
    margin: 3em 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.pagination .page-numbers.current {
    background: #C68100;
    color: #fff;
    font-weight: bold;
}

.pagination .page-numbers:hover {
    background: #ccc;
}

.obrazek-ramka {
    border: 1px solid #eee;
    padding: 20px;
    margin: 0 0 10px 10px;
}

.widget_nav_menu ul li, .widget_recent_entries ul li {
    position: relative;
    margin-bottom: 19px;
    font-size: 18px;
    border-top: 1px solid #eee;
    padding-top: 19px;
    padding-left: 20px; 
}

.widget_nav_menu ul li::before, .widget_recent_entries ul li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 18px;
    color: #ddd;
    font-size: 18px;
    line-height: 1;
}

.widget_nav_menu ul a, .widget_recent_entries ul a {
    color: #10335D;
}

.widget_nav_menu ul li.menu-item a:hover, .widget_recent_entries ul a:hover {
    opacity: 0.7;
}

.widget_nav_menu ul.sub-menu {
    margin: 12px 0 10px 20px;
}

.widget_nav_menu ul.sub-menu li::before {
    content: '↳';
    margin-right: 10px;
    color: #FFB600;
    font-size: 14px;
}

.textwidget {
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: #777;
}

.textwidget strong {
    font-weight: 600;
}

.textwidget ul {
    list-style: circle;
    padding-left: 20px;
    margin: 20px 0;
}

#nav_menu-2 {
    background-color: #fff;
    border-radius: 5px;
    box-sizing: content-box;
}

.wpisblog {
    border: 1px solid #eee;
    margin: 10px;
    padding: 20px 20px 30px 20px;
}

.wpisblog p {
    font-weight: 300;
    color: #777;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 20px;
}

.tresc .featured-image {
    margin-bottom: 20px;
    max-width: 100%;
}
.tresc .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

@media screen and (max-width: 797px) {
    .tresc {
        margin-right: 0;
    }

    .wpis-title {
        margin-bottom: 20px;
        padding: 10px 0;
    }

    .wpis-title h1 {
        font-size: 40px;
    }

}    


/* -- realizacje -- */

ul.image-gallery {
    list-style: none !important;
    margin: 0;
    padding: 0;
}


ul.image-gallery img {
    width: 100%;
    height: auto;
}

.lSSlideOuter .lSPager.lSGallery li.active, .lSSlideOuter .lSPager.lSGallery li:hover {
    outline: 2px solid #FFB600;
    outline-offset: -2px;
}

ul.lSPager.lSGallery {
    padding-top: 10px;
}

/* Kontener slidera */
.tl_slide_photo_container {
    margin-bottom: 20px;

}

/* Zdjęcia w galerii */
.image-gallery li img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

/* Efekt hover na zdjęcia */
.image-gallery li img:hover {
    transform: scale(1.05);
}

/* Miniaturki pod zdjęciami */
.lSPager.lSGallery {
    margin-top: 10px;
    padding-bottom: 10px;
}

.lSPager.lSGallery li {
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lSPager.lSGallery li.active,
.lSPager.lSGallery li:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Styl dla strzałek slidera */
.lSAction > a {
    color: #333;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
}

.lSAction > a:hover {
    color: #fff;
}

/* Lightbox (Magnific Popup) */
.mfp-bg {
    background-color: rgba(0,0,0,0.8);
}

.mfp-title {
    font-size: 14px;
    padding-top: 5px;
}

.mfp-zoom-in .mfp-content {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.mfp-zoom-in.mfp-ready .mfp-content {
    opacity: 1;
}



/* ------------------------------- 6. Stopka ------------------------------- */

section#footer {
    padding: 80px 0 50px 0;
}

footer {
    background-color: #10335D;
    color: #fff;
    font-size: 16px;
}

footer h3 {
    font-size: 27px;
}

footer h3 .it {
    color: #5485FF;
    font-weight: 800;
    font-size: 32px;
}

footer h3 .tp {
    font-size: 22px;
}

footer h4 {
    font-size: 18px;
}

.footerbox {
    margin-bottom: 35px;
    line-height: 25px;
}

.footerhr {
    border: 1px solid #43547f;
    opacity: 0.5;
    margin: 60px 0 20px 0;
}

.footer-infos {
    color: #fff;
    font-size: 14px;
    font-family: 'Lora', sans-serif;
}

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

.footer-infos a {
    color: #888;
    font-size: 16px;
    text-decoration: none;
    color: #666;
}

.footer-container .widget a {
    text-decoration: none;
    color: #fff;
}

.footer-container .widget a:hover {
    color: #adc4ff;
    border-bottom: 1px solid #C68100;
}

#footer .widget_text {
    font-size: 14px;
    line-height: 22px;
}

#footer .widget-title {
    color: #C68100;
    font-size: 24px;
    margin-bottom: 60px;
    font-weight: 600;
    letter-spacing: 1px;
}

#footer .widget_text p {
    margin-bottom: 35px;
    line-height: 28px;
}


#footer .widget_nav_menu ul li {
    margin-bottom: 15px;
    font-size: 14px;
    border:0;
    padding-top: 15px;
    padding-left: 5px;
}


#footer .widget_nav_menu ul li::before {
    content: '';
}    

.logo-stopka {
    margin-bottom: 5px;
}

.stopka-partnerzy {
    text-align: center;
    padding: 20px 0;
}

.icon-social {
    margin: 0 12px;
}

.icon-social:hover {
    opacity: 0.5;
}

/* back to top */

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #10335D;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

#back-to-top:hover {
    background-color: #d5e3ff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.progress-circle {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    pointer-events: none;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.progress-circle .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2px;
}

.progress-circle .circle-progress {
    fill: none;
    stroke: #C68100;
    stroke-width: 2px;
    stroke-dasharray: 100, 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.1s linear;
}

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

    section#kontakt {
        padding: 80px 0 50px 0;
    }

    .footerbox {
        text-align: center;
    }

    #footer .widget-title {
        text-align: center;
    }    

    .textwidget {
        text-align: center;
    }

    #footer .widget_nav_menu ul li  {
        text-align: center;
    }

    .wpcf7-spinner {
        display: block;
        position: relative;
    }

    .form-box {
        padding: 20px;
    }

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

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

}