/*
 Theme Name:     Fortuna Child
 Description:    Fortuna Child Theme
 Author:         BlueOwlCreative
 Version:        1.10
 Template:       fortuna

*/

/* Theme customization starts here */

.side_icon_box .icon_feat {
    margin-top: -7px;
}

.form-kontakt .vc_col-sm-6 {
    padding: 0 15px;
}

.form-kontakt .button {
    min-width: 300px;
}
.form-kontakt .col-submit {
    text-align: center;
}
.single-post .pic img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    max-height: 400px;
}
.single-post .full_container_page_title {
    display: none;
}
.single-post .post_header {
    margin: 0 0 80px !important;
}
.single-post .page-heading span:before,
.single-post .page-heading span:after {
    display: none;
}

.header_socials {
    position: absolute;
    right: 0;
    bottom: -13px;
    background: white;
    padding: 0px 18px;
    border: 1px solid #dfdfdf;
}

@media only screen and (max-width: 769px) {
    .header_socials {
        display: none;
    }
}
.page-heading {
    padding: 50px 0;
}
.page-heading span {
    position: relative;
}
.page-heading span:before,
.page-heading span:after {
    content: "";
    display: block;
    position: absolute;
    width: 100px;
    height: 2px;
    background: #333;
    top: 20px;
}

.page-heading span:before {
    left: -170px;
}
.page-heading span:after {
    right: -170px;
}

.show-mobile {
    display: none !important;
}

@media only screen and (max-width: 769px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: block !important;
    }
}

.stow-info {
    top: -30px;
}

.logo_img {
    padding: 5px 0;
}

.home .post_content .vc_row:first-child {
    overflow: unset !important;
}

.finance {
    max-width: 1400px;
    margin: 80px auto 40px !important;
}

.finance-text {
    margin-top: 10px;
    font-size: 16px;
    line-height: 28px;
    font-family: "Open Sans", "Open Sans Regular", sans-serif;
    color: #666;
}

.finance-niw {
    max-width: 200px;
    margin: 0 auto;
}
.finance-prc {
    max-width: 250px;
    margin: 0 auto;
}
h2.boc_heading {
    font-size: 32px;
    font-weight: 600;
}
p {
    color: #333 !important;
}
.subheading {
    font-size: 14px;
    font-weight: 600;
    margin-top: -8px;
}

.button {
    background: white !important;
    color: #333 !important;
    border: 2px solid #222 !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.button:hover {
    background: #333 !important;
    color: #f9ea35 !important;
}

.header-card {
    background: white;
    color: #333;
    width: 50% !important;
    position: relative;
    left: 40%;
    bottom: -100px;
    padding: 20px 5px !important;
    -webkit-box-shadow: 2px 2px 12px 1px rgba(34, 34, 34, 0.5);
    -moz-box-shadow: 2px 2px 12px 1px rgba(34, 34, 34, 0.5);
    box-shadow: 2px 2px 12px 1px rgba(34, 34, 34, 0.5);
}

.image-circle {
    padding: 30px;
    background: #f9ea35;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dzialalnosc-text {
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
}

.dzialalnosc-text-col {
    display: flex;
    align-items: center;
    min-height: 150px !important;
}

.dzialalnosc-image .wpb_wrapper {
    display: flex;
    justify-content: center;
}

.home .grid_holder .col {
    width: 30%;
}

.home .grid_holder {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.home .grid_holder .col:not(:first-child) .pic img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    max-height: 200px;
}
.home .grid_holder .col:not(:first-child) .pic {
    border-bottom: 5px solid #f9ea35;
    margin-bottom: 0;
}

h4 {
    font-size: 22px;
    font-weight: 600;
}

.home .post_item_block h4 {
    margin-top: 0 !important;
}

.home .post_item_desc {
    padding: 10px;
    background: white;
}

.icon-calendar2 {
    display: none;
}

.small_post_date {
    margin-left: -6px;
    font-style: normal;
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
}
.home .grid_holder .col {
    position: static !important;
}

.home .grid_holder .col:first-child {
    width: 100%;
}

.home .grid_holder .col:first-child .post_item_block {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
}

.home .grid_holder .col:first-child .pic,
.home .grid_holder .col:first-child .post_item_desc {
    width: 50%;
    max-height: 270px;
}

.home .grid_holder .col:first-child .post_item_desc {
    padding: 30px;
    background-color: white;
}
.home .grid_holder .col:first-child .pic img {
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.home .grid_holder .col:first-child h4 {
    margin-top: 0;
    font-size: 26px;
}

.hover_icon.icon_plus {
    display: none !important;
}

@media only screen and (max-width: 769px) {
    .home .grid_holder .col:first-child .post_item_block {
        flex-direction: column;
    }
    .home .grid_holder .col:first-child {
        width: 100%;
    }
    .home .grid_holder .col:first-child .pic,
    .home .grid_holder .col:first-child .post_item_desc,
    .home .grid_holder .col:first-child .post_item_desc {
        margin-bottom: 0;
        width: 100%;
    }
    .header-card {
        width: 100% !important;
        left: 0;
    }
}
