.credipass-header {
    height: 100%;
    background-color: #f1f1f1;
}

.credipass-header .inner-box {
    background-color: #fff;
}

.header-text {
    background: rgb(55,88,152,1);
    color: #fff;
    padding: 20px 20px 80px 80px;
}

.header-image img{
    width: 100%;
    height: auto;
    /*margin-top: -50px;*/
}

.sort-content {
    /*top: 100px;*/
    /*left: -30px;*/
    /*margin-top: -30%;*/
    margin-top: -25%;
    width: 65%;
    height: auto;
    min-height: 600px;
    padding: 20px 20px 150px 80px;
    text-align: left;
    text-align: -moz-left;
    text-align: -webkit-left;
    background-color: rgba(54, 88, 152, 0.85);
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 25px;
    line-height: 30px;
    color: #FFFFFF;
}

.sort-content::after{
    position: absolute;
    bottom: -1px;
    right: -1px;
    border-style: solid;
    border-width: 75px 150px 75px 150px;
    border-color: transparent #FFF #FFF transparent;
    display: block;
    content: "";
}

.sort-content::before{
    position: absolute;
    top: -1px;
    left: -1px;
    border-style: solid;
    border-width: 0 25px 150px 80px;
    border-color: transparent transparent transparent #FFF;
    display: block;
    content: "";
}

.sort-content h1 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 45px;
    line-height: 55px;
    margin: 35px 0;
    padding: 0;
    color: #FFFFFF;
}

.sort-content a {
    color: #DAAD51;
}

.sort-content a:hover {
    color: #b28e44;
}

.big-content-box {
    /*padding: 20px;*/
}

.header-text-background {
    position: relative;
    background-image: url(../../gfxLib/box.webp);
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 500px;
    width: 50%;
    margin: 100px 0 -20px -32px;
}

.credipass-header section.header .header-sort-text {
    padding: 20px 0 80px 90px;
    overflow-y: auto;
    width: calc(100% - 100px);
}

@media (max-width: 991px) {
    .header-image {
        width: 100% !important;
    }

    .header-image img {
        margin-top: 0;
    }

    .section.header, section.header-fluid {
        margin-top: 0;
    }

    .sort-content {
        font-size: 16px;
        height: auto;
        width: 90%;
        padding: 20px;
        min-height: inherit;
    }

    .sort-content::before {
        display: none;
    }

    .sort-content::after {
        display: none;
    }

    .sort-content h1 {
        font-size: 20px;
        line-height: inherit;
    }
}

figure.table>:not(caption)>*>* {
    border-bottom-width: inherit;
}

@media (max-width: 425px) {
    .sort-content {
        width: 100%;
        margin-top: 0;
    }
}