.lp-header-subtitle {
    color: var(--text-color-base);
    font-weight: normal;
    margin: 0 auto 16px;
    font-size: 16px;
    line-height: 24px;
}

@media all and (min-width: 600px) {
    .lp-header-subtitle {
        font-size: 18px;
        line-height: 28px;
    }
}

@media all and (min-width: 1380px) {
    .lp-header-subtitle {
        font-size: 20px;
    }
}

.inverse .lp-header-subtitle {
    color: #fff;
}

.lp-header-subtitle span {
    font-weight: bold;
    display: block;
}

.lg-outer .lg .lg-toolbar {
    background-color: transparent;
}

.lg-outer .lg .lg-toolbar #lg-counter {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #fff;
    padding-top: 16px;
    padding-bottom: 10px;
}

.lg-outer .lg .lg-toolbar #lg-counter .lg-counter-current {
    font-weight: 700;
}

.lg-outer .lg .lg-toolbar .lg-close {
    margin: 8px 0 0;
    padding: 8px 0;
}

.lg-outer .lg-thumb {
    padding: 16px 0;
    margin: 0 auto -5px;
}

.lg-outer .lg-thumb .lg-thumb-item {
    border-radius: 0;
    display: block;
    border: 1px solid #FFFFFF;
    padding: 1px;
}

.lg-outer .lg-thumb .lg-thumb-item img {
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    display: block;
    height: 100%;
    width: 100%;
    max-height: none;
    max-width: none;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.lg-outer .lg-thumb .lg-thumb-item:hover img {
    width: 120%;
    height: 120%;
}

.lg-outer .lg-thumb .lg-thumb-item.active {
    padding: 0;
    border: 2px solid #fff;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.lg-outer .lg-thumb-outer {
    background: rgba(0, 0, 0, 0);
}

.lg-backdrop.in {
    background: rgba(0, 0, 0, 0.6);
}

.lg-actions .lg-next, .lg-actions .lg-prev {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

@media all and (min-width: 600px) {
    .lg-actions .lg-next, .lg-actions .lg-prev {
        width: 44px;
        height: 44px;
    }
}

@media all and (min-width: 1200px) {
    .lg-actions .lg-next, .lg-actions .lg-prev {
        width: 50px;
        height: 50px;
    }
}

.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lg-outer .lg-img-wrap {
    padding: 56px 0 96px;
}

@media all and (min-width: 600px) {
    .lg-outer .lg-img-wrap {
        padding: 56px 0 112px;
    }

    .lg-thumb-outer {
        margin: 8px 0;
    }
}

@media all and (min-width: 1200px) {
    .lg-outer .lg-img-wrap {
        padding: 56px 0 112px;
    }
}

.lp-certificate-8__wrap {
    padding: 40px 0;
    text-align: center;
}

@media all and (min-width: 600px) {
    .lp-certificate-8__wrap {
        padding: 64px 0;
    }
}

@media all and (min-width: 1200px) {
    .lp-certificate-8__wrap {
        padding: 80px 0;
    }
}

.lp-certificate-8-header {
    margin-bottom: 24px;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-header {
        margin: 0 auto 32px;
    }
}

@media all and (min-width: 960px) {
    .lp-certificate-8-header {
        margin-bottom: 48px;
    }
}

@media all and (min-width: 1200px) {
    .lp-certificate-8-header {
        margin-bottom: 56px;
        max-width: 760px;
    }
}

@media all and (min-width: 1380px) {
    .lp-certificate-8-header {
        max-width: 848px;
    }
}

.lp-certificate-8-header__title {
    margin: 0;
    padding: 0;
    margin-bottom: 8px;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-header__title {
        margin-bottom: 16px;
    }
}

.lp-certificate-8-header__subtitle {
    margin: 0;
    padding: 0;
}

.lp-certificate-8-content {
    position: relative;
}

.lp-certificate-8-content__arrows {
    position: absolute;
    width: 100%;
    height: calc(100vw - 32px);
}

@media all and (min-width: 600px) {
    .lp-certificate-8-content__arrows {
        height: 376px;
    }
}

.lp-certificate-8-content__prev-arrow, .lp-certificate-8-content__next-arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99999;
}

.lp-certificate-8-content__prev-arrow {
    left: 0;
}

.lp-certificate-8-content__next-arrow {
    right: 0;
}

.lp-certificate-8-content-image-slider {
    font-size: 0;
    margin-bottom: 24px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    text-align: center;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-content-image-slider {
        margin-bottom: 32px;
    }
}

@media all and (min-width: 960px) {
    .lp-certificate-8-content-image-slider {
        margin-bottom: 24px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

@media all and (min-width: 1200px) {
    .lp-certificate-8-content-image-slider {
        margin-bottom: 56px;
    }
}

@media all and (min-width: 960px) {
    .lp-certificate-8-content-image-slider .slick-slide {
        -webkit-transition-property: opacity, -webkit-transform;
        transition-property: opacity, -webkit-transform;
        transition-property: opacity, transform;
        transition-property: opacity, transform, -webkit-transform;
        -webkit-transition-duration: 0.8s;
        transition-duration: 0.8s;
        will-change: opacity, transform;
        opacity: 0.5;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    .lp-certificate-8-content-image-slider .slick-active:not(.slick-center) {
        opacity: 0.5;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-transition-property: opacity, -webkit-transform;
        transition-property: opacity, -webkit-transform;
        transition-property: opacity, transform;
        transition-property: opacity, transform, -webkit-transform;
        -webkit-transition-duration: 0.8s;
        transition-duration: 0.8s;
    }

    .lp-certificate-8-content-image-slider .slick-current, .lp-certificate-8-content-image-slider .slick-center {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
        -webkit-transition-property: opacity, -webkit-transform;
        transition-property: opacity, -webkit-transform;
        transition-property: opacity, transform;
        transition-property: opacity, transform, -webkit-transform;
        -webkit-transition-duration: 0.8s;
        transition-duration: 0.8s;
    }
}

.lp-certificate-8-content-image-slider__item {
    width: 100%;
    height: calc(100vw - 32px);
    /*padding: 8px 0;*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: flex !important;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-content-image-slider__item {
        width: 376px;
        height: 376px;
        margin: 0 auto;
    }
}

@media all and (min-width: 960px) {
    .lp-certificate-8-content-image-slider__item {
        width: 408px;
        height: 408px;
    }
}

.lp-certificate-8-content-image-slider__item-img {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.lp-certificate-8-content-image-slider__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media all and (min-width: 960px) {
    .lp-certificate-8-content-text-slider {
        max-width: 592px;
        margin: 0 auto;
    }
}

@media all and (min-width: 1200px) {
    .lp-certificate-8-content-text-slider {
        max-width: 564px;
    }
}

@media all and (min-width: 1380px) {
    .lp-certificate-8-content-text-slider {
        max-width: 628px;
    }
}

.lp-certificate-8-content-text-slider-item__title {
    padding: 0;
    margin: 0;
    margin-bottom: 8px;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-content-text-slider-item__title {
        margin-bottom: 16px;
    }
}

.lp-certificate-8-content-text-slider-item {
    padding: 4px;
    box-sizing: border-box;
}

.lp-certificate-8-content-text-slider-item__text {
    padding: 0;
    margin: 0;
}


.slick-current .lp-certificate-8-content-image-slider__item img {
  object-position: center;
}

.lp-certificate-8-content__arrow ._slider-arrows-inner {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.lp-certificate-8__slider-dots {
	margin-top: 32px;
}

.lp-certificate-8__slider-dots {
    margin-top: 32px;
}

.lp-certificate-8__buttons-wrap {
    margin-top: 24px;
}

.lp-certificate-8__button {
    margin: 0 0 16px;
    /* display: block; */
}

@media (min-width: 600px) {
    .lp-certificate-8__button {
        margin: 0 8px 16px;
    	/* display: inline-block; */
    }
}

.lp-certificate-8-slider__dots {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0;
    margin-bottom: -16px;
    padding: 16px 0 0 0;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-slider__dots {
        padding: 36px 0 0;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: center;
    }
}

@media all and (min-width: 1200px) {
    .lp-certificate-8-slider__dots {
        padding-top: 42px;
    }
}

.lp-certificate-8-slider__dots li button {
    width: 12px;
    height: 12px;
    margin: 0 8px 16px;
    background-color: var(--primary-color-base);
    opacity: 0.3;
    border-radius: 50%;
    border: none;
    outline: none;
    box-sizing: content-box;
    padding: 0;
}

@media all and (min-width: 600px) {
    .lp-certificate-8-slider__dots li button {
        width: 16px;
        height: 16px;
    }
}

.lp-certificate-8-slider__dots li.slick-active button {
    opacity: 1;
}