.section-text-with-button .container {
    max-width: 1300px;
    margin: 0 auto 50px auto;
}
.section-text-with-button .container-fluid {
    padding: 0;
    margin-bottom: 50px;
}
@media(max-width: 576px){
    .section-text-with-button .container, .section-text-with-button .container-fluid {
        margin-bottom: 30px;
    }
}
.text-with-button-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
}
.container-inner {
    display: flex;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50% 0;
    /* background-size: cover; */
}
.text-with-button-content {
    flex-basis: 100%;
    padding: 5vmin;
}
.position-to-bottom .text-with-button-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.position-to-right .text-with-button-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5vmin 10vmin;
}

.bg-image-size-contain {
    background-size: contain;
}
.bg-image-size-cover {
    background-size: cover;
}
.bg-position-top-left {
    background-position: top left;
}
.bg-position-top-right {
    background-position: top right;
}
.bg-position-bottom-left {
    background-position: bottom left;
}
.bg-position-bottom-right {
    background-position: bottom right;
}
.bg-position-center-center {
    background-position: 50% 50%;
}
@media(max-width: 576px){
    .bg-position-center-center {
        background-position: 25% 50%;
    }
}
.bg-position-top-center {
    background-position: top center;
}
.bg-position-bottom-center {
    background-position: bottom center;
}
.bg-position-left-center {
    background-position: left center;
}
.bg-position-right-center {
    background-position: right center;
}

.text-with-button-subhed {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 5vmin;
    margin-bottom: 40px;
}
.text-with-button-link {
    display: inline-block;
    background: #820091;
    padding: 20px 45px;
    margin: 2% auto 0 auto;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.3em;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
    transition: color .3s, background-color .3s, box-shadow .3s;
}

@media(max-width: 1400px) and (min-width: 1100px){
    .text-with-button-link {
        font-size: 14px;
        line-height: 45px;
        padding: 0 30px;
    }
}
.text-with-button-link:hover {
    color: #222222;
    background-color: #FFD909;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.position-to-right .text-with-button-content .text-with-button-link {
    margin: 0;
}
@media(max-width: 1400px){
   .section-text-with-button .position-to-bottom .text-with-button-title {
        font-size: 70px!important;
        max-width: 70%;
    }
}
@media(max-width: 576px){
   .section-text-with-button .position-to-bottom .text-with-button-title {
        font-size: 40px!important;
        max-width: 70%;
    }
}
@media(max-width: 1100px){
    .container-inner {
        max-height: 45vmax;
        min-height: 460px;
    }
    .position-to-right .container-inner {
        align-items: flex-start;
        width: 630px;
        margin-left: auto;
        margin-right: auto;
    }
    .text-with-button-title {
        font-size: 40px!important;
        margin-bottom: 15px;
    }
    .bg-image-size-contain {
        background-size: auto;
    }
    .position-to-right .text-with-button-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
@media(max-width: 767px){
    .position-to-right .container-inner {
        position: relative;
        width: 100%;
        max-width: 630px;
        /*min-height: 460px!important;*/
    }
    .text-with-button-link {
        font-size: 14px;
        line-height: 40px;
        padding: 0 20px 0 20px;
    }
    .position-to-right .text-with-button-wrp {
        display: block;
        position: absolute;
        bottom: 7vmin;
        left: calc(50% - 75px);
        
    }
    #block_5f5e51ad8e89f .container-inner {
        max-height: none;
        min-height: unset;
        height: 340px!important;
        background-size: auto 220px, cover;
        background-position: 50% 100%;
    }
    #block_5f5e51ad8e89f .text-with-button-title {
        padding: 0 15px;
    }
}
