/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/* GLOBAL */
.fusion-page-title-wrapper {
    padding-top: 241px;
}
.fusion-page-title-bar .fusion-page-title-row h1 {
    background: #032650;
    padding: 10px 30px;
}

/* HOME */
.home .fusion-breadcrumbs  {
    display: none;
}
.r-info  {
    margin-top: 50px !important;
    background-position: 60px center !important;
}
.r-info .c-box  {
    border: 1px solid #ddd;
}
.r-info .c-box .fusion-column {
    border: 1px solid #ddd;
    margin-bottom: 0px;
    min-height: 270px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: 0px;
    background: #fff;
}
.r-info .c-box .heading {
    height: 268px !important;
    margin-bottom: 0px !important
}
.r-info .c-box .heading .heading-link {
    display: block !important;
    height: 269px;
}
.r-info .c-box .fusion-column:hover {
    -moz-transform: scale(1.07);
    -webkit-transform: scale(1.07);
    -o-transform: scale(1.07);
    -ms-transform: scale(1.07);
    transform: scale(1.07);
    background: #fff;
    z-index:1;
    background: #032650;
    border: 1px solid transparent;
}
.r-info .c-box h2 {
    text-transform: uppercase !important;
    color: #032650 !important;
}
.r-info .c-box .fusion-column:hover h2 {
    color: #fff !important;
}
.r-info .c-box .fusion-column .image {
    height: 165px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: flex-end;
}
.r-info .c-box .fusion-column .image img {
    margin-top: 50px;
    filter: brightness(0) saturate(100%) invert(11%) sepia(20%) saturate(6562%) hue-rotate(197deg) brightness(99%) contrast(100%);
}
.r-info .c-box .fusion-column:hover .image img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(9%) saturate(6008%) hue-rotate(269deg) brightness(122%) contrast(93%);
}

/* FOOTER */
.r-footer {
    background: #032650 !important;
    text-align: center;
    color: #fff;
    padding: 40px 30px 20px !important
}
.r-footer a {
    color: #fff;
}
.r-footer .c-box img {
    margin-right: 5px;
}
.r-footer .fusion-layout-column:nth-child(4) .c-box img,
.r-footer .fusion-layout-column:nth-child(5) .c-box img {
    margin-top: 5px;
}
.r-copy {
    background: #032650 !important;
    border-top: 1px solid #687d96 !important;
    color: #fff;
    font-size: 14px;
}
.r-copy a {   
    color: #fff;
}
.r-copy strong {
    font-weight: 400;
    padding: 0 5px;
}
.r-copy .fusion-layout-column {
    margin-bottom: 0px !important;
}
.r-copy .s-right {
    text-align: right;
}

/* BLOG */
.c-posts .c-post .fusion-column-wrapper {
    min-height: 400px;
    border: 1px solid #cecece;
    border-radius: 20px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.c-posts .c-post:hover  .fusion-column-wrapper {
    box-shadow: 0 0 20px #ddd;
    border-color: #0164dc
}
.c-posts .c-post .c-post-date1 {
    background: #0164dc;
    color: #fff;
    font-size: 32px;
    line-height: 42px;
    font-weight: 900;
    width: 70px;
    text-align: center;
    position: absolute;
    right:0;
    top: 180px;
    z-index:1;
}
.c-posts .c-post .c-post-date2 {
    background: #0164dc;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    width: 70px;
    text-align: center;
    position: absolute;
    right:0;
    top: 221px;
    border-top: 1px solid #fff;
    z-index:1;
}
.c-posts .c-post .c-post-date1 p,
.c-posts .c-post .c-post-date2 p{
    margin: 0px !important;
}
.c-posts .c-post .c-post-meta {
    min-height: 0px !important;
    padding: 0px !important;
    border: 0px solid;
}
.c-posts .c-post .c-post-meta .fusion-tb-categories {
    font-size: 0px;
    position: absolute !important;
    z-index: 1;        
    top: 221px !important;
    font-weight: 400;
}
.c-posts .c-post .c-post-meta .fusion-tb-categories a {
    font-size: 16px;
    background: #0164dc;    
    padding: 5px 10px;
    color: #fff;
    font-weight: 700;
    display: block;
}
.c-posts .c-post .c-post-image,
.c-posts .c-post .flexslider .slides,
.c-posts .c-post .c-post-image img {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    height: 250px;
    object-fit: cover;    
}
.c-posts .c-post:hover .c-post-image img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.c-posts .c-post .c-post-title,
.c-posts .c-post .c-post-text,
.c-posts .c-post .c-post-read{
    padding: 5px 25px 0;
}
.c-posts .c-post .c-post-title p {
    font-size: 20px;
    line-height: 26px;
    color: #0164dc;
    font-weight: 900;
    margin-bottom: 0px !important;
    margin-top: 15px;
}
.c-posts .c-post .c-post-text p {
    line-height: 24px;
    font-size: 15px;
    margin-bottom: 0px !important;
}
.c-posts .c-post .c-post-read {
    color: #888888 !important;
    font-size: 14px !important;
    text-align: right;
    position: absolute;
    bottom: -10px;
    right: 0px;
}
.c-posts .c-post:hover .c-post-read {
    color: #0164dc !important;
}
.single-post .c-post .fusion-builder-row {
    padding: 0 150px !important;
}
.single-post .c-post .c-gallery img {
    height: 200px;
    object-fit: cover;
}

/* SEARCH */
.fusion-timeline-date {
    color: #fff;
}
.fusion-blog-layout-timeline .fusion-timeline-circle, .fusion-blog-layout-timeline .fusion-timeline-date, .fusion-blog-timeline-layout .fusion-timeline-circle, .fusion-blog-timeline-layout .fusion-timeline-date {
    background-color: #0164dc !important;
}
.fusion-blog-layout-timeline .fusion-timeline-line {
    border-color: #0164dc !important;
}
.search .fusion-content-sep {
    display: none;
}

/* PAGES */
.c-menu {
    margin: 40px 0;
}
.c-menu a {
    padding: 10px 30px !important;
    display: block !important;
    margin: 0 15px 15px;
    border: 1px solid #464040 !important;
}
.c-menu a:hover {
    background: #0164dc;
    color: #fff !important;
    border-color: #0164dc !important;
}
.page-id-57 .post-content div span {
    color: #0164dc;
    font-weight: 900;
    font-size: 16px !important;
}

/* CHANGE FOR WOJCIECH */
.breadcrumb_last {
    font-weight: 700;
}
.r-top {
    margin-left: 0 !important;
    width: 100% !important;
}
.r-top .c-text {
    color: #032650;
    font-size: 16px;
    text-align: center;
}
.r-top .c-text p {
    margin: 0 !important;
}
.r-top .c-text strong {
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
}

/* MOBILE */
@media only screen and (max-width: 800px) {
    .r-top .c-text {
        font-size: 14px;
        line-height: 26px;
    }
    .r-top .c-text strong {
        font-size: 20px;
    }
    .fusion-page-title-wrapper {
        padding-top: 160px;
        text-align: center;
    }
    .fusion-page-title-bar .fusion-page-title-row h1 {
        background: #032650;
        padding: 10px 30px;
    }
    .fusion-is-sticky .fusion-logo,
    .fusion-is-sticky .fusion-logo img {
        width: 60px !important;
        height: auto !important;
        margin: 5px 0 !important;
    }
    .r-info  {
        margin-top: 40px !important;
        min-height: auto;
        margin-bottom: 0px !important;
    }
    .r-info .c-text {
        height: auto
    }
    .r-info .c-text h2 {    
        font-size: 30px !important;
        margin-bottom: 20px;
    }
    .r-info .c-text p {  
        display: none
    }
    .r-info .c-box  {
        border: 1px solid #ddd;
    }
    .r-info .c-box .fusion-column .image {
        height: auto;
    }
    .r-info .c-box .fusion-column {
        min-height: 160px;
        width: 50% !important;
        display: inline-block;
        margin-bottom: 0px !important;
    }
    .r-info .c-box .fusion-column img {
        height: 60px;
        width: auto;
        margin-top: 30px !important;
    }
    .r-info .c-box .heading {
        height: 150px !important;
    }
    .r-info .c-box h2 {
        font-size: 18px !important;
    }
    .r-footer .fusion-layout-column  {
        margin-bottom: 0px !important;
    }
    .r-copy {
        text-align: center;
    }
    .r-copy .s-right .c-text {
        text-align: center;
    }
    .r-copy strong {
        display: block;
        font-size: 0;
    }
    #wrapper .fusion-header-has-flyout-menu.fusion-mobile-menu-design-flyout .fusion-flyout-search .searchform .s {
        font-size: 20px;
        border-bottom: 1px solid;
        border-radius: 0px !important;
        padding-bottom: 10px;
        text-align: center
    }
    .to-top-container #toTop {
        right: 10px !important;
        bottom: 10px !important;
    }
    .fusion-body .fusion-page-title-bar:not(.fusion-tb-page-title-bar) {
        padding-bottom: 0px !important;
        background: url('/wp-content/uploads/2024/12/top-mobile.jpg') center no-repeat;
        background-size: cover;
    }
    .fusion-page-title-wrapper  h1 {
        background: transparent;
        font-size: 20px !important;
        line-height: 20px !important;
    }
    .fusion-page-title-bar .fusion-breadcrumbs  {
        text-align: center;
        font-size: 14px !important;
        margin-bottom: 10px;
    }
    .p-okruchy {
        text-align: center;
    }
    #main #content table p,
    #main #content table {
        margin-bottom: 0px;
        line-height: 18px;
        font-size: 14px;
    }
    #main #content table td {
        padding: 2px 7px;
    }
    .single-post .c-post .fusion-builder-row {
        padding: 0 !important;
    }
}
