/*
Theme Name:   Sajanosiskra
Author:       Maciej Sajan
Author URI:   https://projektninja.com/
Template:     sparkle-fse


@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Oswald:wght@400;700&display=swap');


/* Zmienne */

body {
    --wp--preset--color--custom-szary: #63594a;
    color: #63594a;
    font-size: 18px;
}

@media (max-width:800px) {
    body {
        font-size: 16px;
    }
}

:root {
    --wp--custom--core-button--spacing--padding--left: 40px;
    --wp--custom--core-button--spacing--padding--right: 40px;
    --wp--custom--core-button--spacing--padding--top: 10px;
    --wp--custom--core-button--spacing--padding--bottom: 10px;
    --wp--custom--core-button--color: #fff;
    --wp--custom--core-button--color--background: #ce9e51;
    --wp--custom--core-button--color-hover: #fff;
    --wp--custom--core-button--color--background-hover: #0f1214;
    --wp--custom--core-button--box-sizing: border-box;
    --wp--custom--core-button--word-break: border-box;
    --wp--custom--core-button--text-align: center;
    --wp--custom--core-button--border-radius--top-left: 0;
    --wp--custom--core-button--border-radius--top-right: 0;
    --wp--custom--core-button--border-radius--bottom-left: 0;
    --wp--custom--core-button--border-radius--bottom-right: 0;
    --wp--custom--core-button--typography--font-size: 15px;
    --wp--custom--core-button--typography--font-weight: 500;
    --wp--custom--core-button--line-height: 1.7;


    --kolorek-akcent: #a73a3a;
    --kolorek-blekit-1: #eaeef1;
    --kolorek-blekit-2: #d7e0e5;
    --kolorek-herbaciany-naglowkowy: #a73a3a;
    --kolorek-guzikowy-jasny: #b74b4b;
    --kolorek-guzikowy-ciemny: #711414;
    --cien-boxikow: 0 6px 30px 7px #2125471a;
    --cien-boxikow-hover: 1px 4px 20px -2px #0003;
    font-size: 18px;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1200px;
    box-sizing: border-box;
}

.wp-site-blocks{
    box-sizing:border-box;
}








h1, h2, h3 {
    text-shadow: rgb(255 255 255 / 56%) 0px 2px 1px;
    color: #545454;
}







#nawigacja {
    background: #cecece;
    padding-top: 30px;
    z-index: 9;
}

#nawigacja.zescollowana {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999999;
    box-shadow: rgb(0 0 0 / 21%) 0px 20px 20px;
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*################################################### NAWIGACJA     ################################*/



nav[aria-label="nawigacja"] {
    position: absolute;
    bottom: -10px;
    margin: 0;
    padding: 12px 59px;
    background: #b1b1b1;
    box-shadow: #0000009c 0 4px 13px;
    border-top: solid 2px #ffffff7d;
    border-radius: 27px;
    text-shadow: #00000057 1px 2px 2px;
    z-index: 999999;
}




@media (min-width:796px) {


    nav[aria-label="nawigacja"] > .wp-block-navigation__responsive-container > div > div > div > ul {
        gap: 10px;
    }



    nav[aria-label="nawigacja"] > .wp-block-navigation__responsive-container > div > div > div > ul > li > ul > li,
    /*sub menu poziom 1 */
    nav[aria-label="nawigacja"] > .wp-block-navigation__responsive-container > div > div > div > ul > li > ul > li > ul > li

    /*sub menu poziom 2 */
        {
        background: #b1b1b1;
        padding-right: 10px;
        font-size: 15px;
    }

    @media(max-width:910px) {

        nav[aria-label="nawigacja"] {
            padding: 5px 22px;
        }


        nav[aria-label="nawigacja"] > .wp-block-navigation__responsive-container > div > div > div > ul {
            gap: 5px;
        }
    }



    .wp-block-navigation .wp-block-navigation-item {
        transition: all 0.4s;
    }

    .wp-block-navigation .wp-block-navigation-item:hover {
        transform: scale(1.1);
    }



    .wp-block-navigation .wp-block-navigation-item::has(.current-menu-item) {
        transform: scale(1.1);
    }


    .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
    nav[aria-label="nawigacja"] .current-menu-item {
        align-items: center;
        background-color: inherit;
        display: flex;
        position: relative;
        /*    transform:scale(1.1);*/
        color: #852a33 !important;
    }



    .wp-block-navigation ul li .wp-block-navigation-submenu__toggle {
        /* background: #bf1d2f; */
        /* background: radial-gradient(#bfbfbf, #474747); */
        color: #5f5f5f;
        background: #a6a6a5;
        width: 21px;
        height: 21px;
        border-radius: 10px;
        box-shadow: inset #00000040 0 3px 9px;
    }

    .wp-block-navigation ul li .wp-block-navigation-submenu__toggle > svg {
        width: 15px;
        color: #757575;
    }






}










@media (max-width:795px) {

    nav[aria-label="nawigacja"] {
        padding: 3px 25px;
    }

    /*
    nav[aria-label="nawigacja"] > button {
        background: #b1b1b1!important;
    }
*/

    button[aria-label="Rozwiń menu"]:hover,
    button[aria-label="Rozwiń menu"]:active,
    button[aria-label="Rozwiń menu"]:focus {
        background-color: #b1b1b1 !important;
        color: #63594a !important;
    }

    /* menu mobile */
    #modal-1.is-menu-open {
        background: #b1b1b1;
    }

    /* guzik rozwijania*/
    #modal-1.is-menu-open .wp-block-navigation__submenu-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        top: 8px;
    }

    #modal-1-content > ul > li {
        /*sub poziom 1*/

    }

    #modal-1-content > ul > li:last-child {
        margin-bottom: 30px;
    }

    #modal-1-content > ul > li > ul > li {
        /*sub poziom 2*/
        padding-left: 20px;
        background: #cacaca !important;

    }

    #modal-1-content > ul > li > ul > li > ul > li {
        /*sub poziom 3*/
        padding-left: 40px;
        background: #cacaca !important;

    }

    button.wp-block-navigation-submenu__toggle {
        box-shadow: inset #00000052 1px 2px 11px;
        border-radius: 999px;
    }

}







/*################################################### BANNER HEADER     ################################*/



#banner-header {
    display: flex;
    position: relative;
    justify-content: center;

}

figure#banner-header-tlo {
    max-width: unset !important;
    margin: 0;
}



#social-block {
    right: calc(4*(100% - 363px) / 100);
    top: calc(9*(100% - 66px) / 100);
    position: absolute;
    margin: 0;
    z-index: 1;
/*    display: none;*/
}



#banner-header .social-media-img {
    animation-name: social-anim;
    animation-duration: 2s;
    animation-iteration-count: 1;
    opacity: 0;
    animation-fill-mode: forwards;
    width: 3vw;
}

@media (max-width:1200px){
#banner-header .social-media-img {
width: 5vw;
}
}

@media (max-width: 768px) {
    #banner-header .social-media-img {
        width: 7vw;
    }
}
@media (max-width: 425px) {
    #banner-header .social-media-img {
        width: 8vw;
    }
}

#banner-header .social-media-img:nth-child(2) {
    animation-delay: 0.3s;
}

#banner-header .social-media-img:nth-child(3) {
    animation-delay: 0.6s;
}

#banner-header .social-media-img:nth-child(4) {
    animation-delay: 0.9s;
}

#banner-header .social-media-img:nth-child(5) {
    animation-delay: 1.2s;
}

#banner-header .social-media-img:nth-child(6) {
    animation-delay: 1.5s;
}

@keyframes social-anim {
    from {
        opacity: 0;
        transform: scale(1.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#logo {
    position: absolute;
    top: 3vw;
    left: 2.6vw;
    margin: 0;
    width: 25vw;
    z-index: 2;
}



/*
    display: flex;
    align-items: center;
    justify-content: center;
*/
}

#banner-header figure {
    max-width: unset !important;
    width: 100%;
    height: auto;
}


/*###################################################################################################################################################
                anim babel

##################################################################################################################################################*/


.entry-content h3 {
    color: #706f6f;
    text-shadow: rgb(255 255 255 / 56%) 0px 2px 1px;
}

















#babel-anim {
    animation-name: babel;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
    animation-timing-function: linear;


    position: absolute;
    left: calc(65*(100% - 181px) / 100);
    bottom: calc(5*(100% - 66px) / 100);
    margin: 0;
    opacity: 0;

    display: none;
}

@keyframes babel {
    0% {
        bottom: calc(5*(100% - 66px) / 100);
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        bottom: calc(32*(100% - 66px) / 100);
        transform: scale(1);
        opacity: 100%;
    }

    100% {
        bottom: calc(72*(100% - 66px) / 100);
        transform: scale(0.5);
        opacity: 0;
    }
}










#tresc-strony {
    /*    background-image: url('https://glosydoreklam.pl/wp-content/uploads/2023/07/tlo_pattern.png');*/
    background-repeat: repeat;
    padding: 0 !important;
}

#tresc-strony .tresc-strony {
    max-width: unset;
    margin: 0;
}

#tresc-strony section {
    padding: 30px 0px;
    width: 100%;
    max-width: unset;
    padding: calc(5vw + 25px) 5vw;
    width: 100%;
    max-width: unset;
    background-image: url(https://glosydoreklam.pl/wp-content/uploads/2024/03/tlo-tile-seamless.png);
    background-size: 99px;
    margin: 0;
    /*
    padding-bottom: 80px;
    padding-top: 100px;
*/
    border-bottom: 7px solid #b3b3b3;
    border-top: 2px solid #ffffff3d;
}





#tresc-strony section:nth-child(1) {
    box-shadow: inset #cecece -1px 120px 120px 120px;
    border-top: none;
}


#tresc-strony section:nth-child(even) {
    box-shadow: inset #00000014 0px 0px 20px 20px;
}

.pole-wyszukiwania-sekcja {
    width: 100%;
    padding: 0 5vw;
    margin-top: 40px;
}



pre.wp-block-code {
    background: #636363;
    color: #fff;
    border-radius: 20px;
    font-size: 25px;
    box-shadow: inset #000 0px 3px 5px;
}


/****************************************************************** wizytowka ************************************************************************/


#wizytowka-top {
    display: flex;
    justify-content: center;
    align-items: center;
}


#wizytowka-top > * {
    margin: 18px !important;
}

#wizytowka-gora-prawa {
    min-width: 470px;
}



#wizytowka-top img {
    max-height: 250px;
    width: auto;
    border-radius: 1000px;
    box-shadow: #00000073 0px 5px 20px;
    border: solid 9px #cfcfcf;
}


@media(max-width:800px) {

    #wizytowka-top {
        flex-direction: column;

    }

    #wizytowka-gora-prawa {
        min-width: unset;
        width: 100%;
    }


}



/****************************************************************** rate my post  ************************************************************************/


.rmp-icon--ratings {
    color: #8d8d8d;
}

.rmp-icon--full-highlight {
    color: #ff912c;
}

rmp-rating-widget--has-rated {
    display: none;
}


.wyroznij-dane {
    color: #953037;
    font-weight: bold;
}







.audioplayer {
    border: solid 3px #ededed;
    box-shadow: #00000057 0 6px 4px;
}







.single-probka-lektorska .tresc-strony > * {
    max-width: 1200px;
    margin: auto;
}






body {
    background: #cecece;
}



.pole-wyszukiwania.wp-block-search {
    max-width: 428px;
    margin: auto;
    background: #cecece;
    /* height: 50px; */
    margin-top: 23px;
}

input#wp-block-search__input-2 {
    bottom: 0;
    margin: 0;
    padding: 12px 59px;
    background: #b1b1b1;
    box-shadow: inset #00000038 0 4px 13px;
    border-bottom: solid 2px #ffffff78;
    border-radius: 16px;
    /* text-shadow: #00000057 1px 2px 2px; */
    height: 37px;
}

/* ################################################################################################################################################################
###############################################################################################################################################################
                        Strona danego glosu
###############################################################################################################################################################
###############################################################################################################################################################*/

.strona-glos-probki {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px !important;
}

.strona-glos-probki .strona-glos-probka {
    /* background: #000; */
    width: calc((100% - 90px) / 3);
    background: #ffffff59;
    padding: 30px;
    box-shadow: #0000003d 1px 8px 20px;
    margin-block-start: 0;
    margin: 0px !important;
}



@media(max-width:800px) {
    .strona-glos-probki {
        gap: 20px;
    }

    .strona-glos-probki .strona-glos-probka {
        width: 100%;
        /*        margin: 0px !important;*/
        padding: 20px;
        padding-top: 15px;
    }
}


.strona-glos-bio {
    background: linear-gradient(89deg, transparent, #ffffffa8, transparent);
    padding: 30px 0;
    margin-bottom: 50px !important;
}

.strona-glos-probka h3 {
    color: #565858;
    font-size: 21px;
}


@media (max-width:800px) {
    .strona-glos-probka h3 {
        font-size: 18px;
    }
}

/*########################################################### WYNIKI WYSZUKIWANIA   #*/
body.search-results li.probka-lektorska {
    width: 100%;
}


body.search-results li.probka-lektorska > .probka-lektorska-search {
    background: #000;
    width: 100%;
    background: none;
    border: none;
    box-shadow: none;
}

body.search-results li.probka-lektorska > .probka-lektorska-search img {
    border-radius: 9999px;
    box-shadow: #000 -1px 7px 20px;
    width: 90%;
    margin: auto;
    display: block;
    transition: all 0.4s;
}

body.search-results li.probka-lektorska:hover > .probka-lektorska-search:hover img {
    transform: none !important;
    widows: 90% !important;
}


/* formularz kontaktowy */

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    background: #c1c1c1;
    box-shadow: inset #00000033 0px 9px 10px;
    border-radius: 13px;

}

/* guziki przyciski buttony */

.wp-block-button a.wp-block-button__link,
input.wpcf7-form-control[type="submit"],
button[aria-label="Szukaj"] {
    background: linear-gradient(182deg, #c91527, #ea6072, #c91527);
    border-radius: 20px;
    border-top: solid 2px #ffd9d9bf;
    box-shadow: #0000008c 0px 2px 7px 2px;
    text-shadow: #7c101b 0px 2px 4px;
    transition: all, 0.4s;
    font-weight: bold;
}

.wp-block-button a.wp-block-button__link:hover,
input.wpcf7-form-control.wpcf7-submit:hover,
button[aria-label="Szukaj"]:hover {
    background: linear-gradient(182deg, #c91527, #ea6072, #c91527);
    transform: scale(1.12);
    box-shadow: #0000008c 0px 7px 7px 2px;
}

button[aria-label="Szukaj"] {
    position: relative !important;
    bottom: 3px !important;
    padding: 3px 33px !important;
    border-radius: 30px !important;
}





/*/////////////////////////////////////////////////// NAVIGATION BREAJKPOINT ////////////////////////////////////////////////////*/

/* Change the WordPress default css to a 1023px media query */
@media (min-width: 796px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
}
/* Remove the WordPress default for 600px */
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}



/*/////////////////////////////////////////////////// STOPKA ///*/


footer {
    background: #818181 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: center !important;
    align-content: center !important;
    width: 100%;
    margin: 0;
    max-width: unset;
    column-gap: 20px;
    padding: 10px 10px;
}




footer p {
    color: #fff;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-block-start: 0;
    margin: 0 !important;
    font-size: 14px;
}

footer p a {
    color: #fff;
    transition: all 0.4s
}

footer p a:hover {
    outline: none;
    color: #eca0a9;
}



.uwaga {
    background: #d3aaaa;
    color: #a40000;
    padding: 20px 30px;
    width: max-content;
    border: dashed 2px;
    border-radius: 15px;
}

/* ################################################ wyniki wyszukiwania   ####################################################333 */



body.search-results ul.probki-lektorskie-listing{
    display: flex;
}

body.search-results li.probka-lektorska {
    width: 234px;
}

body.search-results li.probka-lektorska h3 {
    position: relative;
    top: 30px;
}
body.search-results li.probka-lektorska h3 a:hover {
    color: #ca1628;
}



body.search-results li.probka-lektorska img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    border: solid 6px #FFF;
}

body.search-results li.type-page{
    display: none;
}


/* Seearch Bar*/

.wp-block-search {
    margin: auto;
    max-width: 1200px;
    width: 90%;
    margin-top: 26px;
}


/*  Paginacja  */
.pagination {
    margin: auto;
    margin-top: 24px;
    width: fit-content;
}

.pagination > * {
    padding: 5px 14px;
    border-radius: 13px;
    box-shadow: #0000008f 1px 3px 10px;
    background: linear-gradient(45deg, #aeaeae, #d7d8d8);
    transition: all 0.3s;
}
.pagination > .current {
    color: #a1a1a1;
    opacity: 0.5;
}

.pagination > *:not(.current):hover {
    transform: scale(1.2)!important;
    color: #d6382e!important;
    padding: 9px 14px;
}
