/*!
Theme Name: Polygraphy
Theme URI: 
Author: Polygraphy
Author URI: http://Polygraphy
Description: Polygraphy
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pl
*/
.header{
    box-shadow: -1px 1px 10px rgba(28, 53, 69, 0.05);
    transition: box-shadow 250ms;

}
.main-wrapper{
    position: relative;
}
.main-wrapper iframe{
    width: 100%;
    height: 100%;
    position: absolute;
}

.contacts-page iframe{
    width: 100%;
}

.paged-2 .page-numbers li:nth-child(3){
    display: none;
}

/* .pagination .next {
    margin-left: 0;
} */

.pagination{
    position: absolute;
    bottom: -50px;
    left: 45%;
}

.page-template-tpl-customers .tab-content{
    position: relative;
}

.breadcrumb_last{
    color: #FD5B00;
    font-weight: 500;
}

.product-card__details {
    max-width: 50%;
}

.grecaptcha-badge{
    visibility: hidden;
}

.error__title{
    font-weight: bold;
    font-size: 200px;
    line-height: 131.19%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    color: #FD5B00;
    
    text-shadow: 0px 4px 15px #B4B4B4;
}

.error__sub{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
    font-size: 34px;
    line-height: 41px;
    margin-bottom: 80px;
}

.error__back{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 131.19%;
    width: fit-content;
    margin: 0 auto;
}

.error__back::after{
    content: '';
    position: relative;
    background: url(assets/img/error-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 25px;
    height: 25px;
    left: 10px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.error__back:hover::after{
    left: 15px;
}

.error404 #error{
    margin-top: 60px;
}

.modal_form.contacts-page .form {
    margin-right: 0;
}

.modal_form.contacts-page  {
    padding: 100px;
}
.modal_form.contacts-page  h2{
    margin-bottom: 50px;
}

.footer-menu__item {
    display: flex;
    flex-direction: column;
}


.seo.section{
    padding-top: 0!important;
}

.contacts-seo{
    margin-top: 50px;
}

/* fixes */
input[type="range"] {
    background-color: transparent;
}

.footer .menu-item-has-children > a:hover,
.footer .menu-item-has-children > .sub-menu > li:hover  {
    text-shadow: 0px 0px 0.6px #1c1c1c;
}

.footer .menu-item-has-children > a:hover::after,
.footer .menu-item-has-children > .sub-menu > li:hover::after  {
    left: 0;
    width: 100%;
}
.footer .menu-item-has-children > a::after,
.footer .menu-item-has-children > .sub-menu > li::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #fd5b00;
    position: relative;
    bottom: 0;
    right: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.footer .footer-menu__heading {
    width: fit-content;
}
.footer .footer-menu.last .footer-menu__heading::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #fd5b00 !important;
    position: absolute;
    bottom: -2px;
    right: 0;
    cursor: pointer;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.breadcrumbs > span{
    margin-left: 10px !important;
}
.mob-menu #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {

    width: fit-content !important;
}
.cards-wrapper .product-card{
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
    min-height: 251px;
    overflow: hidden;
}

.cards-wrapper .product-card__desc--style_2{
    opacity: 0;
    transform: scale(.9); /*translatex(-100px)*/
    -webkit-transform: scale(.9);
    -moz-transform: translatex(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.cards-wrapper .product-card:hover .product-card__desc--style_2{
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: translatex(0);
    -ms-transform: translatex(0);
    -o-transform: translatex(0);
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
    cursor: pointer;
}

.product-card__details .recommended-items {
    margin-top: 25px;
}
.text_before_recomendations{
    text-align: left;
    padding: 15px 28px 15px;
}
.product-card--style_1{
    min-height: 251px;
    max-height: 152px;
    padding-top: 0 !important;
}
.product-card--style_1::before {
    content: '';
    display: block;
    /*background: rgba(50, 62, 72, .5);*/
    /*background: rgba(0, 0, 0, .5);*/
    /*width: 100%;*/
    /*height: 100%;*/
    opacity: 0;
    /*transition: opacity 1s ease-in-out;*/
    z-index: 1;
}
/*.product-card--style_1:hover::before {*/
/*    opacity: 1;*/
/*}*/
.cards-wrapper .product-card__desc--style_1 {
    width: 100% !important;
}

/*.product-card--style_1{*/
/*    transition: background-size .5s ease-in-out !important;*/
/*    -webkit-transition: background-size 2.5s ease-in-out !important;*/
/*    -moz-transition: background-size .5s ease-in-out !important;*/
/*    -ms-transition: background-size .5s ease-in-out !important;*/
/*    -o-transition: background-size .5s ease-in-out !important;*/
/*}*/

/*.product--style_1:hover .product-card--style_1::before{*/
/*    opacity: 1;*/
/*}*/

/*.product--style_1:hover .product-card--style_1{*/
/*    background-size: calc(100% + 13px) !important;*/
/*    transition: background-size 2.5s ease-out;*/
/*    -webkit-transition: background-size 2.5s ease-out;*/
/*    -moz-transition: background-size 2.5s ease-out;*/
/*    -ms-transition: background-size 2.5s ease-out;*/
/*    -o-transition: background-size 2.5s ease-out;*/
/*    cursor: pointer;*/
/*}*/


/* end fixes */
@media (max-width: 500px){
    .error__title{
        font-size: 100px;
    }
    .modal_form.contacts-page  {
        padding: 50px;
    }
}

/* Zoom In #1 */

.column {
    /*margin: 15px 15px 0;*/
    padding: 0;
}
/*.column:last-child {*/
/*    padding-bottom: 60px;*/
/*}*/
/*.column::after {*/
/*    content: '';*/
/*    clear: both;*/
/*    display: block;*/
/*}*/
.column div {
    position: relative;
    float: left;
    width: 362px;
    height: 251px;
    margin: 0 0 0 25px;
    padding: 0;
}
.column div:first-child {
    margin-left: 0;
}
.column div span {
    position: absolute;
    bottom: -20px;
    left: 0;
    z-index: -1;
    display: block;
    width: 300px;
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    opacity: 0;
}
figure {
    width: 362px;
    height: 251px;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}
figure:hover+span {
    bottom: -36px;
    opacity: 1;
}




.hover01 figure img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.hover01 figure:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    cursor: pointer;
}


.map {
    width: 100%;
    height: 250px;
}