/*
Theme Name: DNS
Theme URI: https://example.com/
Author: Twoje Imię
Description: Minimalistyczny starter theme zoptymalizowany pod SEO i Core Web Vitals
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dns
*/

/* === Style główne === */
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: "Mada", sans-serif;
}
h1, h2, h3, h4, h5, h6, button {
    font-family: "Mada", sans-serif;
    color: #252422;
}
p, a, div, li, input, textarea, label {
    font-family: "Mada", sans-serif;
    color: #252422;
}
span {
    font-family: "Mada", sans-serif;
}

h1 {
    font-size: 60px;
    font-weight: 700;
}
h2 {
    font-size: 50px;
    font-weight: 700;
}
h3 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}
p {
    font-size: 16px;
    margin-bottom: 10px;
}
a, input {
    font-size: 16px;
    margin-bottom: 0;
}


ul li::marker {
    color: #EB5E28;
}
a {
    text-decoration: none;
    outline: none;
}
a:focus, a:active {
    text-decoration: none;
    outline: none;
}
/* strong {
    color: ;
} */
img {
    max-width: 100%;
    height: auto;
    outline: none;
    font-size: 12px;
}
input, textarea, select, button {
    outline: none;
}
input, textarea {
    width: 100%;
}


.link-btn {
    display: block;
    max-width: fit-content;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 3px;
    color: #fff !important;
    background-color: #EB5E28;
    font-weight: 600;
    font-size: 18px;
    /* text-transform: uppercase; */
    /* box-shadow: 0px 0px 25px -5px rgb(0, 0, 0); */
    transition: all 0.2s ease-in-out;
}
.link-btn:hover {
    scale: 1.15;
}

.h2-decor {
    display: block;
    height: 4px;
    width: 80px;
    border-radius: 1px;
    background-color: #EB5E28;
    margin-bottom: 50px;
}


/* -- ANIMACJE -- */
.fade-in-animation {
    opacity: 0;
}
.fade-in-animation.visible {
    opacity: 1 !important;
}
.fade-in {
    animation: fadeIn ease 2s;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* -- FORMULARZ KONTAKTOWY -- */
form label {
    width: 100%;
    margin-bottom: 25px;
    font-weight: 600;
}
form input[type="text"], 
form input[type="email"], 
form input[type="tel"], 
form textarea {
    border: none;
    border-bottom: 1px solid #cacaca;
    padding: 2px;
    font-size: 18px;
    margin-top: 10px;
}
.form-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-flex p {
    width: 48%;
}
form > p:last-of-type {
    margin-top: 10px;
}
form input[type="submit"] {
    width: fit-content;
    padding: 8px 20px;
    border: none;
    background-color: #EB5E28 !important;
    color: #fff !important;
    border-radius: 5px;
    font-weight: 600;
    font-size: 22px;
    transition: all 0.2s ease-in-out;
}
form input[type="submit"]:hover {
    scale: 1.1;
}
.wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    font-size: 16px;
}
@media only screen and (max-width: 767px) {
    .form-flex {
        display: block;
    }
    .form-flex p {
        width: 100%;
    }
}


/* -- HEADER -- */
.topmenu {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0px 5px 30px -10px rgb(232 232 232);
}

.header-szybkikontakt {
    background-color: #403D39;
    border-bottom: 1px solid #EB5E28;
    padding: 5px 0;
    position: relative;
    z-index: 999;
}
.header-szybkikontakt > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 25px;
}
.header-szybkikontakt p {
    margin-bottom: 0;
    font-size: 16px;
    color: #fff !important;
}
.header-szybkikontakt p > i {
    margin: 0 5px;
}
.header-szybkikontakt a {
    display: inline-flex;
    justify-content: flex-end;
/*     font-size: 18px; */
    font-weight: 600;
/*     color: #fff !important; */
    color: #FE6E18 !important;
    text-decoration: none;
    padding: 0 10px;
    background-color: transparent;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}
.header-szybkikontakt a:last-of-type {
    padding-right: 0;
    margin-right: 0;
    min-width: 150px;
}
.header-szybkikontakt a:hover {
/*     font-weight: 600; */
/*     font-weight: 800; */
	color: #F1906A !important;
	scale: 1.1;
}
.header-szybkikontakt i {
    font-size: 16px;
    margin-right: 5px;
/* 	font-size: 20px; */
/*     margin-right: 10px; */
}
.header-szybkikontakt span {
    font-size: 16px;
	margin-right: 5px;
/* 	font-size: 18px; */
}
.mobile-szybkikontakt {
    position: fixed;
    bottom: 15px;
    right: 15px;
    right: 15px;
    z-index: 90;
    display: none;
}
.mobile-szybkikontakt a {
    text-decoration: none;
    display: block;
}
.mobile-szybkikontakt a:first-of-type {
    margin-bottom: 10px;
}
.mobile-szybkikontakt a > i {
    background-color: #EB5E28;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 25px;
    width: 45px;
    display: inline-flex;
    box-shadow: 0px 0px 5px 0px rgb(128 128 128);
}

.header-menu {
    margin: 0 25px;
}
.header-logo-cont {
    width: fit-content;
    height: fit-content;
    margin-right: 50px;
}
.header-logo-cont img {
    max-width: 150px;
	margin: 10px 0;
}
.menu-glowne-container, 
.menu-glowne-container ul, 
.menu-glowne-container li {
    width: fit-content;
    min-height: inherit;
}
.menu-glowne-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0;
    min-height: 80px;
}
.navbar-collapse {
    justify-content: right;
}
.menu-menu-glowne-container {
    min-height: inherit;
}
.menu-glowne-container ul {
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.menu-glowne-container ul > li {
    padding: 20px 10px;
    display: flex;
    align-items: center;
}
.menu-glowne-container ul li > a {
    display: block;
    line-height: 1.2;
    font-size: 18px;
}
.menu-glowne-container ul li:hover > a {
    color: #EB5E28;
}
li.menu-item-has-children {
    position: relative;
}
ul.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 88888;
    list-style: none;
    min-width: 180px !important;
    width: max-content;
    max-width: 250px;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
}
ul.sub-menu > li {
    width: 100%;
    padding: 10px;
    min-height: fit-content;
}
ul.sub-menu > li > a {
    font-size: 16px;
}
li.menu-item-has-children > a::after {
    font-family: 'Bootstrap-icons';
    content: '\F282';
    -webkit-text-stroke: 1px;
    font-size: 14px;
    padding-left: 6px;
    transition: all 0.1s ease-in-out;
}
ul.sub-menu > li > ul.sub-menu {
    top: 0px;
}
ul.sub-menu > li.menu-item-has-children > a::after {
    font-family: 'Bootstrap-icons';
    content: '\F285';
    font-size: 14px;
    padding-left: 6px;
}
.navbar-toggler {
    background-color: transparent !important;
    border: none !important;
    padding: 5px;
}
.navbar-toggler:focus {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
}
#menuToggle span {
    display: flex;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background: #534f50;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: 
        transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease;
}
#menuToggle span:last-of-type {
    margin-bottom: 0;
}
#menuToggle span:first-of-type {
    transform-origin: 0% 0%;
}
#menuToggle span:nth-of-type(2) {
    transform-origin: 0% 100%;
}
#menuToggle span.open {
    opacity: 1;
    width: 26px;
    transform: rotate(45deg) translate(0px, -2px);
    background: #534f50;
}
#menuToggle span:nth-of-type(2).open {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle span:nth-of-type(3).open {
    transform: rotate(-45deg) translate(0, -4px);
}
.header-menu-sm {
    margin-left: 80px;
}
.header-menu-sm a {
    font-size: 25px;
    line-height: 1;
    margin-right: 10px;
    color: #EB5E28;
}
.header-menu-sm a:last-of-type {
    margin-right: 0px;
}
.header-menu-sm a i {
    display: inline-block;
    transition: all 0.2s ease-in-out;
}
@media only screen and (min-width: 993px) and (max-width: 1199px){
    .header-logo-cont img {
        max-width: 110px !important;
    }
    .menu-menu-glowne-container ul.menu li > a {
        font-size: 14px;
    }
}
@media only screen and (min-width: 993px) {
    li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }
    ul.sub-menu > li:hover {
        background-color: #EB5E28;
    }
    ul.sub-menu > li:hover > a {
        color: #fff;
    }
    .header-menu-sm a:hover i {
        scale: 1.1;
        color: #70361F;
    }
    .header-logo-cont img {
        max-width: 160px;
    }
    .menu > .current-menu-item > a, 
    .menu > .current-menu-parent > a, 
    .menu > .current-menu-parent > .sub-menu > .current-menu-item > a {
        font-weight: 600 !important;
    }
}
@media only screen and (max-width: 992px) {
    .menu-glowne-nav {
        min-height: 60px;
    }
    .menu-glowne-bar {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
    }
    .menu-menu-glowne-container {
        overflow-y: scroll;
        max-height: calc(100vh - 100px);
        padding-bottom: 50px;
    }
    .menu-menu-glowne-container, 
    .menu-menu-glowne-container ul, 
    .menu-menu-glowne-container li {
        width: 100%;
    }
    .menu-menu-glowne-container ul.menu {
        display: block;
    }
    .menu-glowne-container ul > li {
        padding: 0;
        display: block;
        min-height: fit-content;
    }
    .menu-menu-glowne-container ul.menu > li > a {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 12px 12px 12px 0;
        transition: all 0.2s ease-in-out;
    }
    ul.sub-menu {
        display: none;
        position: initial;
        box-shadow: unset;
        padding: 10px 0px 20px 20px;
        min-width: 100% !important;
    }
    .menu-menu-glowne-container ul.sub-menu > li > a {
        display: block;
        line-height: 1.4;
        padding: 12px 10px;
        transition: all 0.2s ease-in-out;
    }
    .menu > .current-menu-item > a, 
    .menu > .current-menu-parent > a, 
    .menu > .current-menu-parent > .sub-menu > .current-menu-item > a {
        color: #EB5E28;
        font-weight: 600;
    }
    ul.sub-menu > li {
        padding: 0px;
    }
}


/* -- 404 -- */
.sekcja-404 {
    margin: 50px auto 150px;
}
.sekcja-404 h1 {
    font-size: 75px;
    margin: 80px 0 30px;
}
.sekcja-404 .page-content p {
    font-size: 20px;
}
.sekcja-404 .page-content a {
    color: #EB5E28;
    font-weight: 600;
    font-size: inherit;
}


/* -- PAGE -- */
.page-naglowek {
    margin-bottom: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #fff3eb;
    border-bottom: 4px solid #EB5E28;
}
.page-naglowek h1 {
    margin-bottom: 0;
}

.yoast-breadcrumbs {
    margin-bottom: 20px;
    font-weight: 500;
}
.yoast-breadcrumbs a {
    color: #EB5E28;
}

.page-content {
    /* margin: 80px 0; */
    margin: 100px 0;
}
.page-content h1 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #403D39;
}
.page-content h2 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #403D39;
    font-weight: 500;
}
.page-content h3 {
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #403D39;
    font-weight: 500;
}
.page-content p {
    font-size: 15px;
    color: #56524D;
    margin-bottom: 15px;
}
.page-content ul, 
.page-content ol {
    margin-bottom: 15px;
}
.page-content ul > li, 
.page-content ol > li {
    font-size: 15px;
    color: #56524D;
    margin-bottom: 5px;
}


/* -- FOOTER -- */
.footer-decor {
    position: relative;
    background-image: url('/wp-content/themes/dns-theme/images/footer-decor.webp');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    width: 100%;
    height: 190px;
}
footer {
    background-color: #252422;
    padding-bottom: 20px;
}
.footer-cont {
    padding: 60px 12px 100px;
}
.footer-cont > .row {
    justify-content: space-between;
}
.footer-logo img {
/*     max-width: 150px; */
/*     margin-bottom: 25px; */
/* 	max-width: 200px; */
	max-width: 250px;
    margin-bottom: 30px;
}
.footer-logo h2,
.footer-logo p {
    color: #FFFCF2;
    margin-bottom: 10px;
}
.footer-logo .facebook-footer {
    margin-right: 20px;
}
.footer-logo .facebook-footer, 
.footer-logo .instagram-footer {
    display: inline-block;
    width: fit-content;
    color: #EB5E28;
    font-size: 35px;
    line-height: 1;
    margin-top: 25px;
    transition: all 0.2s ease-in-out;
}
.footer-menu h3 {
    color: #FFFCF2;
}
.footer-menu ul {
    padding: 0;
    margin-bottom: 35px;
}
.footer-menu li {
    list-style-type: none;
    padding: 3px 0;
}
.footer-menu li > a {
    color: #FFFCF2;
    transition: all 0.2s ease-in-out;
}
.footer-menu .link-btn {
    min-width: 200px;
    padding: 10px 25px;
    color: #fff !important;
    font-size: 16px;
}
.footer-contact-poj {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    min-height: 50px;
}
.footer-contact-poj i {
    max-width: 30px;
    max-height: 30px;
    line-height: 1;
    margin-right: 15px;
    color: #EB5E28;
    font-size: 30px;
}
.footer-contact-poj p {
    font-size: 18px;
    color: #FFFCF2;
    margin: 0;
    line-height: 1.3;
}
.footer-contact-poj a {
    display: block;
    font-size: 18px;
    color: #FFFCF2;
    line-height: 1.3;
    transition: all 0.2s ease-in-out;
}
.copyright-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #3d3d3d;
    padding-top: 30px;
    margin: 5px 25px;
    font-size: 14px;
}
.copyright-footer p {
    color: #fff;
    margin: 0;
}
.copyright-footer a {
    display: inline-block;
    color: #fff;
    transition: all 0.2s ease-in-out;
}
@media only screen and (min-width: 2000px) {
    .footer-decor {
        background-position: unset;
    }
}
@media only screen and (min-width: 767px) {
    .copyright-footer p {
        padding-left: 50px;
    }
}
@media only screen and (min-width: 993px) and (max-width: 1199px){
    .footer-cont > .row {
        justify-content: space-around;
    }
    .footer-contact {
        width: 30%;
    }
}
@media only screen and (min-width: 993px) {
    .footer-logo .facebook-footer:hover, 
    .footer-logo .instagram-footer:hover {
        color: #fff;
        scale: 1.1;
    }
    .footer-menu li > a:hover {
        color: #fff;
        font-weight: 600;
    }
    .footer-contact-poj a:hover {
        color: #fff;
        font-weight: 600;
    }
    .copyright-footer a:hover {
        color: #EB5E28;
    }
}
@media only screen and (max-width: 992px) {
    .footer-logo {
        text-align: center;
        margin-bottom: 40px;
    }
    .footer-menu {
        text-align: center;
    }
    .footer-contact-poj a:hover {
        color: #FFFCF2;
    }
}
@media only screen and (min-width: 767px) and (max-width: 992px) {
    .footer-menu {
        width: fit-content;
        margin: 0 auto 40px;
    }
    .footer-contact {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 60px;
    }
    .footer-contact-poj:last-of-type p {
        max-width: 150px;
    }
}
@media only screen and (min-width: 420px) and (max-width: 767px) {
    .footer-contact-poj {
        max-width: 260px !important;
    }
}
@media only screen and (max-width: 767px) {
    .footer-decor {
        background-size: unset;
        height: 140px;
    }
    footer {
        padding-bottom: 30px;
    }
    .footer-cont {
        padding: 40px 12px;
    }
    .footer-logo {
        margin-bottom: 0;
    }
    .footer-logo p {
        max-width: 80%;
        margin: 0 auto 10px;
    }
    .footer-menu {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }
    .footer-menu ul {
        margin-bottom: 0;
    }
    .footer-menu .link-btn {
        margin: auto;
    }
    .footer-contact {
        margin-top: 50px;
    }
    .footer-contact-poj {
        max-width: 250px;
        margin: 0 auto 30px;
    }
    .footer-contact-poj:last-of-type {
        margin-bottom: 0px;
    }
    .copyright-footer {    
        flex-direction: column;
        text-align: center;
    }
    .copyright-footer p:first-of-type {
        margin-bottom: 12px;
    }
}


/*Tutaj zaczyna się CSS dla komputerów stacjonarnych*/
@media only screen and (min-width: 1899px) {
    /* p, li, a {
        font-size: 18px;
    } */
}
@media only screen and (min-width: 1399px) {
    .page-content p,
    .page-content li {
        font-size: 16px;
    }
}
@media only screen and (min-width: 1399px) and (max-width: 1499px) {

}
@media only screen and (min-width: 1199px) and (max-width: 1499px) {

}
@media only screen and (min-width: 1199px) and (max-width: 1399px) {
    h1 {
        font-size: 55px;
    }
    h2 {
        font-size: 44px;
    }
    h3 {
        font-size: 36px;
    }
}


/*Tutaj zaczyna się CSS dla laptopów*/
@media only screen and (min-width: 993px) and (max-width: 1399px) {

}
@media only screen and (min-width: 993px) and (max-width: 1299px){
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 34px;
    }
    h3 {
        font-size: 30px;
    }
    p, a, input {
        font-size: 15px;
    }

    form input[type="text"], 
    form input[type="email"], 
    form input[type="tel"], 
    form textarea {
        font-size: 16px;
    }
    form input[type="submit"] {
        font-size: 20px;
    }

    .menu-menu-glowne-container ul#menu-menu-glowne li > a {
        font-size: 16px;
    }
}
@media only screen and (min-width: 993px) {
    /* HOVER */
    form input[type="submit"]:hover {
        scale: 1.1;
        background-color: #008cdd;
    }
    li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }
    
    .header-logo-cont img {
/*         max-width: 120px; */
		max-width: 180px;
    }
}


/*Tutaj zaczyna się CSS dla tabletów*/
@media only screen and (max-width: 992px) {
    h1 {
        font-size: 50px;
    }
    h2 {
        font-size: 42px;
    }
    h3 {
        font-size: 35px;
    }

    a:hover {
        color: #231F20;
    }

    form input[type="submit"] {
        font-size: 20px;
    }

    .menu-menu-glowne-container, 
    .menu-menu-glowne-container ul, 
    .menu-menu-glowne-container li {
        width: 100%;
    }
    .menu-menu-glowne-container ul#menu-menu-glowne {
        display: block;
        padding: 20px 4px 0;
    }
    .menu-menu-glowne-container ul#menu-menu-glowne > li > a {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    ul.sub-menu {
        position: initial;
        padding: 0;
        padding-left: 15px;
    }
    .sub-menu.open {
        display: block !important;
    }
    .menu-menu-glowne-container ul.sub-menu > li > a {
        display: block;
        line-height: 1.4;
    }
    ul.sub-menu > li {
        padding: 0;
    }

    .sekcja-404 h1 {
        font-size: 60px;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 40px;
    }
}
@media only screen and (min-width: 767px) and (max-width: 992px) {
    .footer-decor {
        background-position: left bottom;
        height: 120px;
    }
}


/*Tutaj zaczyna się CSS dla komórek*/
@media only screen and (min-width: 500px) and (max-width: 767px) {

}
@media only screen and (max-width: 767px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        /* font-size: 25px; */
        font-size: 30px;
    }
    h3 {
        /* font-size: 20px; */
        font-size: 25px;
    }

    .header-logo-cont img {
        max-width: 100px;
    }

    main .container {
        padding: 0 20px;
    }

    .page-content h1 {
        font-size: 30px;
    }
    .page-content h2 {
        font-size: 25px;
    }
    .page-content h3 {
        font-size: 20px;
    }

    .sekcja-404 h1 {
		font-size: 50px;
	}
	.sekcja-404 .page-content p {
		font-size: 16px;
	}

    .footer-logo {
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 399px) {
    p, a, input {
        font-size: 15px;
    }

    form input[type="text"], 
    form input[type="email"], 
    form input[type="tel"], 
    form textarea {
        font-size: 16px;
    }
    form input[type="submit"] {
        font-size: 18px;
    }

    .sekcja-404 h1 {
        font-size: 35px;
    }
    .sekcja-404 .page-content p {
        font-size: 16px;
    }
}
@media only screen and (max-width: 350px) {
    h1 {
        font-size: 35px;
    }
}