.wrapper h4.sp {
    text-transform: uppercase;
    color: #242424;
    font-size: 14px !important;
}


/* special */

.wrapper .sp_special {
    font-size: 20px;
    color: #6b6b6b;
    line-height: 1.4em;
    /* padding-bottom: 2em; */
    font-family: light;
}

.wrapper .sp_special.sp_text {
    background: #e9fafd;
}

.wrapper .sp_special>.col-md-12>p:first-child {
    padding-top: 1em;
}


/* tools */


/* .wrapper .sp_tools::after {
    content: "";
    display: block;
    height: 2em;
} */

.wrapper .sp_tools {
    width: calc(100% + 40px);
    overflow: hidden;
    position: relative;
    padding-bottom: 1em;
    margin-bottom: 1em;
    margin-left: -20px;
    margin-right: -20px;
    background: #e9fafd;
}

.wrapper .sp_tools ul {
    box-sizing: border-box;
    width: 1140px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.wrapper .sp_tool {
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 3px;
    overflow: hidden;
    width: calc((1140px - 150px)/4);
    background-color: white;
}

.wrapper .sp_tools_title {
    background: #e9fafd;
    margin: 0 -20px !important;
    padding: 0 20px;
}

@media (max-width: 450px) {
    .wrapper .sp_tools ul {
        width: 900px;
    }
    .wrapper .sp_tool {
        width: calc((900px - 150px)/4);
    }
}


/* .wrapper .sp_tool:nth-child(4) {
    margin-right: 0 !important;
} */

.wrapper .sp_tool a,
.wrapper .sp_tool a:hover {
    text-decoration: none !important;
}

.wrapper .sp_tool .sp_image {
    display: block;
    width: 100%;
    background-position: center center;
    background-size: cover;
}

.wrapper .sp_tool .sp_image::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.wrapper .sp_tool .sp_name {
    text-align: center;
    font-family: bold;
    font-size: 20px;
    display: block;
    line-height: 1.5em;
    padding: 1em 0.5em;
    color: #242424;
    min-height: 5em;
}


/* themes */


/* .wrapper .sp_themes::after {
    content: "";
    display: block;
    height: 2em;
} */

@media (min-width: 1200px) {
    .wrapper .text-wrapper .sp_themes {
        margin-left: -17.667%;
        margin-right: -17.667%;
    }
}

.wrapper .text-wrapper .sp_themes.sp_themes_bottom {
    /* display: none; */
}

.wrapper .text-wrapper .sp_shortener+.sp_themes.sp_themes_bottom,
.wrapper .text-wrapper .sp_shortener .sp_themes.sp_themes_bottom {
    /* display: block; */
    padding-top: 200px;
    margin-top: -300px;
    position: relative;
    z-index: 1;
    background-image: linear-gradient(to bottom, transparent 0%, white 300px, white 100%);
}

.wrapper .text-wrapper .sp_themes.sp_themes_bottom .button.button-fullarticle {
    border-color: #f72e7f !important;
    background: #f72e7f !important;
    color: white !important;
    padding-left: 3em !important;
    padding-right: 3em !important;
    margin-bottom: 3em;
    display: none;
}

.wrapper .text-wrapper .sp_shortener+.sp_themes.sp_themes_bottom .button.button-fullarticle {
    display: inline-block;
}

.wrapper .text-wrapper .sp_themes.sp_themes_bottom .button.button-fullarticle:hover {
    border-color: #6b6b6b !important;
    background: #6b6b6b !important;
    color: white !important;
}

.wrapper .row.text.sp_shortener #replaced_content>p:first-of-type~* {
    display: none;
}


/* .wrapper .row.text.sp_shortener #replaced_content>*:first-child {
    display: block;
} */


/* .wrapper .row.text.sp_shortener {
    height: 600px;
    overflow: hidden;
} */

.wrapper .sp_theme {
    border: 1px solid #dedede;
    border-radius: 3px;
    overflow: hidden;
    padding: 2em;
    background-size: 33%;
    background-position: right bottom;
    background-repeat: no-repeat;
    margin-bottom: 1em;
    margin-top: 1em;
}

.wrapper .sp_theme:first-child {
    margin-top: 0;
}

@media (max-width: 450px) {
    .wrapper .sp_theme {
        background-size: 50%;
    }
}

.wrapper .sp_theme h3 {
    padding-top: 0 !important;
}

.wrapper .sp_theme h3 a,
.wrapper .sp_theme h3 a:hover {
    font-size: 24px !important;
    color: #f72e7f !important;
    text-decoration: none !important;
}

.wrapper .sp_theme>div {
    font-family: light;
    color: #6b6b6b;
    line-height: 1.5em;
    padding-bottom: 1.5em;
    width: 75%;
}

@media (max-width: 768px) {
    .wrapper .sp_theme>div {
        width: 100%;
        display: none;
    }
}

.wrapper .sp_theme li a,
.wrapper .sp_theme li a:hover {
    display: inline-block;
    color: #242424 !important;
    line-height: 2em;
    padding-bottom: 0.5em;
    font-family: bold;
    font-size: 14px;
    text-decoration: none !important;
}

.wrapper .sp_theme li a:hover {
    color: #6b6b6b !important;
}

.wrapper .sp_theme li a span {
    display: inline-block;
    border-right: 1px solid #f72e7f;
    border-bottom: 1px solid #f72e7f;
    width: 6px;
    height: 6px;
    transform: rotate(-45deg);
    color: #f72e7f;
    margin-left: 0.5em;
    position: relative;
    top: -2px;
}

.wrapper .sp_theme .button {
    border-radius: 3px;
    border-color: #f72e7f !important;
    color: #f72e7f !important;
    line-height: 40px;
    height: 40px;
}

.wrapper .mmstk_result+.mmstk_weekstrip {
    margin-top: -40px;
    margin-bottom: 20px;
}

.wrapper .sp_themes .widget_partner_ad_widget {
    margin-bottom: 0;
}

.wrapper .sp_themes .row.widget_partner_ad_widget.pb {
    padding-bottom: 2em;
}

.wrapper .sp_themes .widget .partner_ad {
    margin-top: 0;
}