.alignright {
    padding-top: 0;

    @include media(mobile_horizontal) {
        float: right;
    }
}

.alignleft {
    
    @include media(mobile_horizontal) {
        float: left; 
    }
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.text-aligned-right .entry-container,
.text-aligned-right .woocommerce-LoopProduct-link,
.text-align-right .entry-container,
.text-align-right .woocommerce-LoopProduct-link,
.text-align-right .content-wrapper {
    text-align:  center;

    @include media(mobile_horizontal) {
        text-align: right;
    }
}

.text-aligned-left .entry-container,
.text-aligned-left .woocommerce-LoopProduct-link,
.text-align-left .entry-container,
.text-align-left .woocommerce-LoopProduct-link,
.text-align-left .content-wrapper {
    text-align: center;

    @include media(mobile_horizontal) {
        text-align: left;
    }
}

.text-aligned-center .entry-container,
.text-aligned-center .woocommerce-LoopProduct-link,
.text-align-center .entry-container,
.text-align-center .woocommerce-LoopProduct-link,
.text-align-center .content-wrapper {
    text-align: center;
}

.text-align-center img {
    margin: 0 auto;
}

.text-align-left img {
    margin: 0 auto;

    @include media(mobile_horizontal) {
        margin-left: 0;
    }
}

.text-align-right img {
    margin: 0 auto;

    @include media(mobile_horizontal) {
        margin-right: 0;
    }
}

.text-aligned-center img {
    margin: 0 auto;
}

.text-aligned-left img {
    margin: 0 auto;

    @include media(mobile_horizontal) {
        margin-left: 0;
    }
}

.text-align-left .products .star-rating {
    @include media(mobile_horizontal) {
        margin-left: 0;
    }
}

.text-align-right .products .star-rating {
    @include media(mobile_horizontal) {
        margin-right: 0;
    }
}

.text-aligned-right img {
    margin: 0 auto;

    @include media(mobile_horizontal) {
        margin-right: 0;
    }
}

.custom-header-content.content-aligned-right .entry-container {
    margin-left: auto;
}

.team-section.section.text-aligned-left {
    #menu-social-menu {

        @include media(mobile_horizontal) {
            justify-content: flex-start;
        }
    }
}

.team-section.section.text-aligned-right {
    #menu-social-menu {

        @include media(mobile_horizontal) {
            justify-content: flex-end;
        }
    }
}

.custom-header-content.content-aligned-left .entry-container {
    margin-right: auto;
}

.custom-header-content.content-aligned-center .entry-container {
    margin: 0 auto;
}

.custom-header-content.text-aligned-right .entry-header-image img {
    margin-left: auto;
} 

.custom-header-content.text-aligned-center .entry-header-image img {
    margin: 0 auto;
}

.slider-content-wrapper .content-aligned-right .section-content-wrap {
        order: 1;
}

.slider-content-wrapper.content-aligned-right.text-aligned-right .entry-container {
    text-align: center;

    @include media(mobile_horizontal) {
        text-align: right;
    }

    @include media(tablet) {
        padding-left: 10%;
        padding-right: 40px;
    }

    @include media(wide) {
        padding-left: 16%;
    }
}

.slider-content-wrapper.content-aligned-right.text-aligned-left .entry-container {
    text-align: center;


    @include media(tablet) {
        padding-right: 40px;
        padding-left: 40px;
        text-align: left;
    }

    @include media(tablet) {
        padding-left: 10%;
    }

    @include media(desktop) {
        padding-left: 16%;
    }

    @include media(wide) {
        padding-right: 50px;
    }
}

.slider-content-wrapper.content-aligned-right.text-aligned-right .entry-container {
    
    padding-right: 30px;

    @include media(mobile_horizontal) {
        padding-right: 40px;
    }

    @include media(wide) {
        padding-right: 50px;
    }
}

.boxed-layout.home:not(.color-scheme-default):not(.color-scheme-dark):not(.color-scheme-gray):not(.color-scheme-yellow) .slider-content-wrapper.section.style-two .hentry .entry-container,
.boxed-layout:not(.color-scheme-default):not(.color-scheme-photography):not(.color-scheme-dark):not(.color-scheme-gray):not(.color-scheme-yellow) .custom-header-content.content-aligned-left .entry-container {
    @include media(mobile_horizontal) {
        padding-left: 40px;
    }

   @include media(wide) {
        padding-left: 105px;
    }

    @include media(diagonal) {
        padding-left: 50px;
    } 
}

.color-scheme-photography.boxed-layout #testimonials-section.section.testimonials-content-wrapper .section-content-wrap {

    @include media(wide) {
        padding-left: 90px;
    }

    @include media(diagonal) {
        padding-left: 50px;
    }
}

.color-scheme-photography.boxed-layout #testimonials-section.section.testimonials-content-wrapper .section-heading-wrapper {
    
    @include media(mobile_horizontal) {
        padding-left: 40px;
    }

    @include media(wide) {
        padding-left: 105px;
        padding-right: 105px;
    }

    @include media(diagonal) {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.color-scheme-photography.boxed-layout #testimonials-section.section.testimonials-content-wrapper.section.testimonial-wrapper .cycle-pager {
    @include media(wide) {
        right: 105px;
    }

    @include media(diagonal) {
        right: 50px;
    }
}

.color-scheme-photography.boxed-layout #testimonials-section.section.testimonials-content-wrapper.section.testimonial-wrapper.has-background-image .controls {
    @include media(wide) {
        right: 105px;
    }

    @include media(diagonal) {
        right: 50px;
    }
}

.color-scheme-photography.boxed-layout div#site-generator .wrapper,
.color-scheme-e-commerce.boxed-layout div#site-generator .wrapper,
.color-scheme-music.boxed-layout div#site-generator .wrapper {
    @include media(mobile_horizontal) {
        padding-left: 40px;
        padding-right: 40px;
    }

   @include media(wide) {
        padding-left: 105px;
        padding-right: 105px;
    }

    @include media(diagonal) {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.boxed-layout.home:not(.color-scheme-default):not(.color-scheme-dark):not(.color-scheme-gray):not(.color-scheme-yellow) .slider-content-wrapper.section.style-two.content-aligned-right .hentry .entry-container {
    
   @include media(wide) {
        padding-left: 50px;
        padding-right: 105px;
    }

    @include media(diagonal) {
        padding-right: 50px;
    }  
}

.boxed-layout.home .custom-header-content.content-aligned-right .entry-container {

    @include media(wide) {
        padding-left: 50px;
        padding-right: 105px;
    }

    @include media(diagonal) {
        padding-right: 50px;
    }
}

.color-scheme-photography.boxed-layout {
    .custom-header-content {
        max-width: 100%;

        .entry-container {
            padding-left: 45px;

            @include media(wide) {
                padding-left: 80px;
            }
        }
    }
}

.color-scheme-photography.boxed-layout {
    .custom-header-content.content-aligned-right {

        .entry-container {
            padding-right: 45px;

            @include media(wide) {
                padding-right: 80px;
            }
        }
    }
}

.slider-content-wrapper.content-aligned-left.text-aligned-right .entry-container {
    text-align: center;

    @include media(mobile_horizontal) {
        text-align: right;
    }
}

.slider-content-wrapper.text-aligned-center .entry-container,
.hero-section.section.text-aligned-center .hentry .entry-container {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;

    @include media(mobile_horizontal) {
        padding-left: 40px;
        padding-right: 40px;
    }

    @include media(wide) {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.hero-section.section.content-aligned-left .section-content-wrap .hentry .entry-container {
    float: left;

    @include media(mobile_horizontal) {
        padding-left: 0;
        padding-right: 60px;
    }

    @include media(wide) {
        padding-left: 0;
        padding-right: 120px;
    }
}

.hero-section.section.content-aligned-left.text-aligned-right .hentry .entry-container,
.hero-section.section.content-aligned-left.text-aligned-left .hentry .entry-container {
    float: left;
}

.promotion-sale-wrapper.content-aligned-left .hentry .inner-container {
    float: left;
    margin-right: 0;
    margin-left: 0;
    
    @include media(desktop) {
        margin-left: 100px;
    }

    @include media(wide) {
        margin-left: 170px;
    }
}

.hero-section.section.content-aligned-left .wrapper .hentry .featured-content-image {
    right: 0;
    left: auto;
}

.slider-content-wrapper.content-aligned-right .section-heading-wrapper {
    order: 1;

    @include media(mobile_horizontal) {
        order: 2;
    }
}

.promotion-headline-section.content-aligned-right .inner-container {

    @include media(tablet) {
        margin-left: auto;
    }
}

.promotion-headline-section.content-aligned-left .inner-container {

    @include media(tablet) {
        margin-right: auto;
        margin-left: 40px;
    }

    @include media(wide) {
        margin-left: 50px;
    }
}
.promotion-headline-section.content-aligned-center .inner-container {
    margin-left: 30px;
    margin-right: 30px;

    @include media(tablet) {
        margin-left: auto;
        margin-right: auto;
    }
}

#promotion-headline-section.style-two.no-background.promotion-headline-section .hentry {
    padding-top: 0;
}

.slider-content-wrapper.content-aligned-right .slider-image {
    left: 0;
    right: auto;
}

.rtl .slider-content-wrapper.content-aligned-left .hentry {
    flex-direction: row-reverse;
}
.rtl .slider-content-wrapper.content-aligned-right .hentry {
    flex-direction: row;
}

.slider-content-wrapper.content-aligned-right .hentry {
    flex-direction: row-reverse;
}

.slider-content-wrapper.section.content-aligned-right .controllers {
    left: auto;
    right: 0;

    @include media(mobile_horizontal) {
        left: calc(50% - 111px);
        right: auto;
    }

    @include media(tablet) {
        left: calc(50% - 139px);
    }
}

.services-section-wrapper.section.text-aligned-center .hentry .hentry-inner .post-thumbnail {
    @include media(mobile_horizontal) {
        margin-left: auto;
        margin-right: auto;
    }
}

.services-section-wrapper.section.text-aligned-right .hentry .hentry-inner .post-thumbnail {
    @include media(mobile_horizontal) {
        margin-left: auto;
        margin-right: 0;
    }
}

.stats-section.section.text-aligned-center .section-content-wrapper .hentry {
    
    .post-thumbnail {
        margin: 0 auto;
        float: none;
    }

    .entry-container {
        text-align: center;
    }
}

.stats-section.section.text-aligned-right .section-content-wrapper .hentry {
    @include media(mobile_horizontal) {

        .entry-container {
            text-align: right;
        }
    }
}

#app-section.app-section.no-thumb .content-wrapper {
    max-width: 680px;
    padding: 0;
    width: auto;
}

.app-section.text-align-right .content-wrapper {
    .app-image-container,
    .app-button-container {

        @include media(mobile_horizontal) {
            justify-content: flex-end;
        }
    }
}

.app-section.text-align-left .content-wrapper {
    .app-image-container,
    .app-button-container {
        
        @include media(mobile_horizontal) {
            justify-content: flex-start;
        }
    }
}

.app-section .content-wrapper {
    .app-image-container,
    .app-button-container {
        justify-content: center;
    }
}

#hero-section.hero-section.section.text-aligned-right .wrapper .section-content-wrap .author-info {
    
    @include media(mobile_horizontal) {
        justify-content: flex-end;
    }
}

#hero-section.hero-section.section.text-aligned-center .wrapper .section-content-wrap .author-info {
    
    @include media(mobile_horizontal) {
        justify-content: center;
    }
}

.hero-section.section.content-aligned-right.full-width-layout .section-content-wrap .hentry .section-heading-wrapper + .entry-container {
    @include media(diagonal) {
        padding-left: 248px;
        padding-right: 0;
    }
}

.hero-section.section.full-width-layout .section-content-wrap .hentry .section-heading-wrapper + .entry-container {
    @include media(diagonal) {
        padding-right: 248px;
        padding-left: 0;
    }
}