/* --------------------------------- HEADINGS --------------------------------- */

/* --------------------------------- Heading with number --------------------------------- */

.heading-with-number .ct-heading-sub {
    color: #D7DDF4 !important;
    font-style: normal;
    font-weight: 300 !important;
    font-size: 41px;
    line-height: 51px;
    margin-bottom: 21px;
}

.heading-with-number .ct-heading-tag {
    font-style: normal;
    font-weight: 500;
    font-size: 24px !important;
    max-width: 251px;
}

.heading-with-number.full-width .ct-heading-tag {
    max-width: none;
}

@media (max-width: 767px) {
    .heading-with-number.full-width .ct-heading-tag {
        display: table;
        margin-left: auto;
        margin-right: auto;
    }

    .heading-with-number.full-width .heading-with-border::after {
        width: 100%;
    }
}



/* --------------------------------- Sub-Heading with number --------------------------------- */

.sub-heading-with-number {
    overflow: hidden;
    margin-bottom: 51px;
}

.sub-heading-with-number .ct-heading-sub {
    float: left;
    position: relative;
    margin-bottom: 0;
    padding-right: 55px;
}

.sub-heading-with-number .ct-heading-sub::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto;
    background: #2e57c4;
    width: 24px;
    height: 1px;
}

.sub-heading-with-number .ct-heading-tag {
    color: #2e57c4;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.sub-heading-with-number.centered {
    margin-bottom: 11px;
}

.sub-heading-with-number.centered .ct-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.sub-heading-with-number.centered .ct-heading-sub {
    float: none;
}

@media (max-width: 767px) {
    .sub-heading-with-number {
        margin-bottom: 15px;
    }

    .sub-heading-with-number .ct-heading-tag {
        font-size: 14px;
    }

    .sub-heading-with-number .ct-heading {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .sub-heading-with-number .ct-heading-sub {
        float: none;
    }
}


.sub-heading-with-number.light-blue .ct-heading-sub::after {
    background: #427BFF;
}

.sub-heading-with-number.light-blue .ct-heading-sub, .sub-heading-with-number.light-blue .ct-heading-tag {
    color: #427BFF;
}


/* --------------------------------- Heading with border --------------------------------- */

.heading-with-border {
    position: relative;
    margin-bottom: 33px !important;
    padding-bottom: 25px;
}

.heading-with-border::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 77px;
    height: 4px;
    background: #2E57C4;
}

.heading-with-border.heading-with-border-top {
    padding-top: 35px;
}

.heading-with-border.heading-with-border-top::after {
    bottom: auto;
    top: 0;
}



/* --------------------------------- Hheader group styled --------------------------------- */

.headers-group-styled .ct-heading-tag {
    position: relative;
    padding-top: 8px;
    color: #7E7E7E;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
}

.headers-group-styled .ct-heading-tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 3px;
    background: #2E57C4;
}



/* --------------------------------- Hheader group styled 2 --------------------------------- */

/* default */

.headers-group-styled-2 {
    position: relative;
}

.headers-group-styled-2::before, .headers-group-styled-2::after {
    content: "";
    position: absolute;
    z-index: -1;
    margin: 0 !important;
    width: 107px;
    height: 140px;
    background: url("/wp-content/uploads/2021/05/kropeczki.svg") no-repeat;
}

.headers-group-styled-2::before {
    top: -60px;
    right: -36px;
    -webkit-transform: scale(-1);
        -ms-transform: scale(-1);
            transform: scale(-1);
}

.headers-group-styled-2.gap-medium::before {
    right: -41px;
}

.headers-group-styled-2::after {
    bottom: -43px;
    left: -36px;
}

.headers-group-styled-2 .wpb_column {
    margin-bottom: 27px;
}

.headers-group-styled-2 .wpb_column:last-child {
    float: none;
    z-index: -1;
    position: relative;
}

.headers-group-styled-2 .wpb_column .ct-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 113px;
    position: relative;
    background: #F8F8F8;
    border-radius: 0px 17px 0px 0px;
    padding: 15px;
    color: #353535;
    font-size: 16px;
    line-height: 25px;
}

.headers-group-styled-2 .wpb_column #ct-heading-7.ct-heading .ct-heading-tag {
    font-size: 16px !important;
}

.headers-group-styled-2 .wpb_column .ct-heading::before {
    content: "";
    background: #3278E1;
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 27px;
    height: 5px;
}

.headers-group-styled-2 .wpb_column .ct-heading .ct-heading-desc {
    font-size: 14px;
    line-height: 25px;
    text-align: justify;
    color: #868686;
    padding-left: 12px;
    padding-right: 12px;
}

.headers-group-styled-2.vc_row.gap-medium {
    margin-left: -15px;
    margin-right: -15px;
}

.headers-group-styled-2.vc_row.gap-medium .vc_column_container>.vc_column-inner {
    padding-left: 15px;
    padding-right: 15px;
}

.headers-group-styled-2.vc_row.gap-small {
    margin-left: -9px;
    margin-right: -9px;
}

.headers-group-styled-2.vc_row.gap-small .vc_column_container>.vc_column-inner {
    padding-left: 9px;
    padding-right: 9px;
}

@media (min-width: 992px) {
    .headers-group-styled-2 .wpb_column:nth-child(-2n+4) .ct-heading,
    .headers-group-styled-2 .wpb_column:nth-child(4) ~ .wpb_column:nth-child(-2n+7) .ct-heading,
    .headers-group-styled-2 .wpb_column:nth-child(8) ~ .wpb_column:nth-child(-2n+12) .ct-heading,
    .headers-group-styled-2 .wpb_column:nth-child(12) ~ .wpb_column:nth-child(-2n+15) .ct-heading,
    .headers-group-styled-2 .wpb_column:nth-child(16) ~ .wpb_column:nth-child(-2n+18) .ct-heading {
        background: #EFF4F9;
    }
}

@media (min-width: 1200px) {
    .headers-group-styled-2.vc_row {
        margin-left: -20px;
        margin-right: -20px;
    }

    .headers-group-styled-2.vc_row .vc_column_container>.vc_column-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .headers-group-styled-2 .wpb_column:nth-child(4n - 1) .ct-heading, .headers-group-styled-2 .wpb_column:nth-child(4n - 2) .ct-heading {
        background: #EFF4F9;
    }
}

@media (max-width: 991px) {
    .headers-group-styled-2::before, .headers-group-styled-2::after {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .headers-group-styled-2 .wpb_column:nth-child(even) .ct-heading {
        background: #EFF4F9;
    }
}


/* block */

.headers-group-styled-2.headers-group-styled-block .wpb_column {
    margin-bottom: 40px;
}

.headers-group-styled-2.headers-group-styled-block::before, .headers-group-styled-2::after {
    display: none !important;
}

.headers-group-styled-2.headers-group-styled-block .wpb_column .ct-heading {
    background: #EFF4F9 !important;
}

.headers-group-styled-2.headers-group-styled-block .wpb_column:nth-child(2n+1) .ct-heading {
    background: #F8F8F8 !important;
}

.headers-group-styled-2.headers-group-styled-block .wpb_column .ct-heading .ct-heading-tag {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #0C1841;
}

@media (min-width: 768px) {
    .headers-group-styled-2.headers-group-styled-block .wpb_column .ct-heading {
        display: block !important;
        padding-top: 42px !important;
        height: 300px !important;
    }
}


/* hover */

.headers-group-styled-2.headers-group-styled-hover .wpb_column {
    margin-bottom: 35px;
}

.headers-group-styled-2.headers-group-styled-hover::before, .headers-group-styled-2.headers-group-styled-hover::after {
    display: none !important;
}

.headers-group-styled-2.headers-group-styled-hover .wpb_column .ct-heading {
    background: #EFF4F9 !important;
}

.headers-group-styled-2.headers-group-styled-hover .wpb_column:nth-child(2n+1) .ct-heading {
    background: #F8F8F8 !important;
}

.headers-group-styled-2.headers-group-styled-hover .wpb_column .ct-heading .ct-heading-tag {
    font-size: 24px;
    line-height: 30px;
    color: #0C1841;
}

.headers-group-styled-2.headers-group-styled-hover .wpb_column .ct-heading .ct-heading-desc {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px 18px 0;
    font-weight: normal;
    font-size: 14px;
    line-height: 25px;
}

.headers-group-styled-2.headers-group-styled-hover .wpb_column .ct-heading .ct-heading-desc b,
.headers-group-styled-2.headers-group-styled-hover .wpb_column .ct-heading .ct-heading-desc strong {
    color: #2e57c4;
}

.headers-group-styled-hover .wpb_wrapper {
    overflow: hidden;
    padding-bottom: 5px;
}

.headers-group-styled-hover .wpb_wrapper .ct-heading-tag,
.headers-group-styled-hover .wpb_wrapper .ct-heading-desc {
    -webkit-transition: all .5s ease 0ms!important;
    transition: all .5s ease 0ms!important;
}

.headers-group-styled-hover .wpb_wrapper:hover .ct-heading-tag,
.headers-group-styled-hover .wpb_wrapper:not(:hover) .ct-heading-desc {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

@media (min-width: 768px) {
    .headers-group-styled-2.headers-group-styled-hover .wpb_column .ct-heading {
        height: 300px !important;
    }
}


/* with text column */

.headers-group-styled-2.with-text-column {
    overflow: hidden;
}

.headers-group-styled-2.with-text-column .wpb_column {
    margin-bottom: 50px;
}

.headers-group-styled-2.with-text-column .text-column {
    float: left !important;
    position: static !important;
    margin-bottom: 0 !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    text-align: justify;
}

@media (min-width: 1200px) {
    .headers-group-styled-2.with-text-column > .vc_col-sm-4 {
        width: 100%;
        max-width: 309px;
    }

    .headers-group-styled-2.with-text-column > .vc_col-sm-8 {
        max-width: 860px;
        width: 100%;
        float: right !important;
    }
}

@media (max-width: 767px) {
    .headers-group-styled-2.with-text-column:nth-child(2n + 1) .wpb_column .ct-heading {
        background: #EFF4F9;
    }
}



/* --------------------------------- Fancybox default --------------------------------- */

@media (min-width: 768px) {
    .ct-fancybox-default .ct-fancybox-title, .h3, h3 {
        line-height: 38px;
    }
}