/* GLOBAL STYLES
-------------------------------------------------- */

body {
    padding-top: 3rem;
    /* padding-bottom: 3rem; */
}


/* CUSTOMIZE THE CAROUSEL*/
.carousel {
    margin-bottom: 4rem;
}
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}
.carousel-item {
    height: 32rem;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: auto;
}


/* MARKETING CONTENT
-------------------------------------------------- */

.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0;
    /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

.images-leaning {
    box-sizing: border-box;
    width: 100%;
    min-width: 800px;
    margin: 0em auto 0;
    min-height: 515px;
    position: relative;
    background-repeat: no-repeat;
    background-image: linear-gradient(352deg, transparent 45.2%, #bbb 45.5%, #bbb 45.6%, #ccc 45.8%, #eee 60%), linear-gradient(30deg, #ccc, #eee 90%);
    background-size: 100% 32.4em;
    background-position: 50% 100%;
}

.images-leaning>div {
    width: 250px;
    position: absolute;
    left: 50%;
    bottom: 7.8em;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
}

.images-leaning>div:before {
    content: '';
    width: 60%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 7%;
    z-index: 1;
    background-repeat: no-repeat;
    background-image: linear-gradient(120deg, transparent 42%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.35) 65%), linear-gradient(20deg, transparent 38%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.23) 55%, rgba(0, 0, 0, 0.13) 75%), radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.15) 3%, transparent 40%);
    transform: rotate(-8deg);
}

.images-leaning>div:after {
    content: '';
    width: 60%;
    height: 100%;
    position: absolute;
    z-index: 3;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent 70%), linear-gradient(45deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.3) 80%);
    transform: perspective(20em) rotateY(1deg) rotateZ(-5deg) skewY(-2deg) skewX(-1deg) scaleX(var(--resize));
}

.images-leaning>div>img {
    width: 60%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
    border-left: 0.2em solid;
    -o-border-image: linear-gradient(105deg, transparent 0.5%, #aaa 0.7%) 1;
    border-image: linear-gradient(105deg, transparent 0.5%, #aaa 0.7%) 1;
    box-shadow: 0.1em 0.2em 0 -0.1em #666;
    filter: saturate(90%);
    transform: perspective(20em) rotateY(1deg) rotateZ(-5deg) skewY(-2deg) skewX(-1deg) scaleX(var(--resize));
}

.images-leaning>div:nth-of-type(4) {
    --resize: 0.99;
    margin-left: -40.4em;
}

.images-leaning>div:nth-of-type(4):before {
    background-size: 100% 85%, 100% 15%, 100% 10%;
    background-position: 0.1em 0, 0 100%, -3em 83%;
}

.images-leaning>div:nth-of-type(3) {
    --resize: 0.96;
    margin-left: -15.3em;
    transform: scaleY(0.98) translate(-8em, -2.1em);
}

.images-leaning>div:nth-of-type(3):before {
    background-size: 100% 84%, 100% 16%, 100% 10%;
    background-position: 0.4em 0, 0 100%, -3em 81%;
}

.images-leaning>div:nth-of-type(2) {
    --resize: 0.925;
    margin-left: 10em;
    transform: scaleY(0.965) translate(-17em, -4.2em);
}

.images-leaning>div:nth-of-type(2):before {
    background-size: 100% 83%, 100% 17%, 100% 10%;
    background-position: 0.6em 0, 0.1em 100%, -3em 81%;
}

.images-leaning>div:nth-of-type(1) {
    --resize: 0.895;
    margin-left: 35.2em;
    transform: scaleY(0.94) translate(-26.6em, -6.2em);
}

.images-leaning>div:nth-of-type(1):before {
    background-size: 100% 82%, 100% 18%, 100% 10%;
    background-position: 0.8em 0, 0.1em 100%, -3em 80%;
}

.images-basic {
    width: 600px;
    padding: 5em 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.images-basic>div {
    width: 130px;
}

.images-basic img {
    width: 100%;
    display: block;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}
#aprtner_myCarousel {
    margin: 55px 0 0;
    height: 25rem;
    text-align: center;
    background: #fff;
    padding: 51px 0;
    border-top: 2px solid rgba(54, 126, 21, 1)
}
.carousel-inner .slideIn {
padding: 20px;
display: inline-block;
background-repeat: no-repeat;
background-size: cover;
height: 18rem;
margin: auto 15px;
background-color: #fff;
background-position: center;
box-shadow: 5px 0px 23px #fff;
}

.carousel-item.partner {
    height: 18rem;
    text-align: center;
}
