@import "../mixins/mixins-master";

.elementor-widget-pp-info-box-carousel .swiper,
.elementor-widget-pp-info-box-carousel .swiper-container {
    position: static;
}

.pp-icon {
	display: inline-block;
	line-height: 1;
	text-align: center;
    transition: all .3s;
}

.pp-icon i,
.pp-icon svg {
    width: 1em;
    height: 1em;
    position: relative;
    display: block;
}

.pp-info-box-container {

    @include transition($target: all, $time: 0.25s, $timing-function: linear);

    &:not(.elementor-grid) {
        display: block;
    }
}

.pp-info-box {

    .pp-info-box-icon {
        display: inline-block;
        line-height: 1;
		max-width: 100%;

        .fa {

            @include transition();
            width: 1em;
            height: 1em;
        }
    }

    .pp-info-box-image {
		width: var(--info-box-icon-width, 100%);

        img {
            vertical-align: middle;
        }
    }

    &-divider-wrap {
        font-size: 0;
        line-height: 0;
    }

    &-divider {
        display: inline-block;
    }

    .pp-info-box-equal-height & {
        height: 100%;
    }

    .pp-info-box-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.pp-info-box-above-title,
.pp-info-box-below-title {

    .pp-info-box {
        text-align: center;
    }
}

.pp-info-box-left {

    .pp-info-box {
    	display: flex;
        flex-direction: row;

        .pp-info-box-icon-wrap {
            display: flex;
            flex-shrink: 0;
            margin-inline-end: 20px;
        }

        .pp-info-box-image-wrap {
            width: var(--info-box-icon-width, 100%);
        }

        .pp-info-box-icon,
        img {
            width: 100%;
        }
    }
}

.pp-info-box-right {

    .pp-info-box {
    	display: flex;
        flex-direction: row-reverse;
        text-align: end;

        .pp-info-box-icon-wrap {
            display: flex;
            flex-shrink: 0;
            margin-inline-start: 20px;
        }

        .pp-info-box-image-wrap {
            width: var(--info-box-icon-width, 100%);
        }

        .pp-info-box-icon,
        img {
            width: 100%;
        }
    }
}

.pp-info-box-icon-title-wrap {
    display: flex;

    .pp-info-box-icon-wrap {
        margin-inline-end: 20px;
    }

    .pp-info-box-title-wrap {
        width: 100%;
    }
}

.pp-info-box-right-title {

    .pp-info-box {
        text-align: end;
    }

    .pp-info-box-icon-wrap {
        margin-inline-start: 20px;
    }

    .pp-info-box-icon-title-wrap {
        flex-direction: row-reverse;
    }
}

.pp-info-box-carousel {

	.pp-info-box-content-wrap {
		overflow: hidden;
	}
}

.pp-info-box-description {

	p:last-child {
		margin-bottom: 0;
	}
}

@media (max-width: 1366px) {

	.pp-info-box-laptop-top {

        .pp-info-box {
            display: inline-block;

            .pp-info-box-icon-wrap {
                display: inline-block;
                margin: 0;
            }

            .pp-info-box-icon {
                margin-inline-end: auto;
            }
        }
    }

    .pp-info-box-laptop-left {

        .pp-info-box {
            display: flex;
            flex-direction: row;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-end: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }

    .pp-info-box-laptop-right {

        .pp-info-box {
            display: flex;
            flex-direction: row-reverse;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-start: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }
}

@media (max-width: 1200px) {

    .pp-info-box-tablet_extra-top {

        .pp-info-box {
            display: inline-block;

            .pp-info-box-icon-wrap {
                display: inline-block;
                margin: 0;
            }

            .pp-info-box-icon {
                margin-inline-end: auto;
            }
        }
    }

    .pp-info-box-tablet_extra-left {

        .pp-info-box {
            display: flex;
            flex-direction: row;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-end: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }

    .pp-info-box-tablet_extra-right {

        .pp-info-box {
            display: flex;
            flex-direction: row-reverse;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-start: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }
}

@media (max-width: 1024px) {

    .pp-info-box-tablet-top {

        .pp-info-box {
			display: inline-block;

            .pp-info-box-icon-wrap {
                display: inline-block;
                margin: 0;
            }

            .pp-info-box-icon {
                margin-inline-end: auto;
            }
        }
    }

    .pp-info-box-tablet-left {

        .pp-info-box {
			display: flex;
            flex-direction: row;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-end: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }

    .pp-info-box-tablet-right {

        .pp-info-box {
			display: flex;
            flex-direction: row-reverse;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-start: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }
}

@media only screen and (max-width: 880px) {

    .pp-info-box-mobile_extra-top {

        .pp-info-box {
            display: inline-block;

            .pp-info-box-icon-wrap {
                display: inline-block;
                margin: 0;
            }

            .pp-info-box-icon {
                margin-inline-end: auto;
            }
        }
    }

    .pp-info-box-mobile_extra-left {

        .pp-info-box {
            display: flex;
            flex-direction: row;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-end: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }

    .pp-info-box-mobile_extra-right {

        .pp-info-box {
            display: flex;
            flex-direction: row-reverse;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-start: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }
}

@media only screen and (max-width: 767px) {

    .pp-info-box-mobile-top {

        .pp-info-box {
			display: inline-block;

            .pp-info-box-icon-wrap {
                display: inline-block;
                margin: 0;
            }

            .pp-info-box-icon {
                margin-inline-end: auto;
            }
        }
    }

    .pp-info-box-mobile-left {

        .pp-info-box {
			display: flex;
            flex-direction: row;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-end: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }

    .pp-info-box-mobile-right {

        .pp-info-box {
			display: flex;
            flex-direction: row-reverse;

            .pp-info-box-icon-wrap {
                display: flex;
                margin-inline-start: 20px;
            }

            .pp-info-box-image-wrap {
                width: var(--info-box-icon-width, 100%);
            }

            .pp-info-box-icon,
            img {
                width: 100%;
            }
        }
    }
}