*+p {
    margin-top: 20px;
}

p:not(:last-child) {
    margin-bottom: 20px;
}

.c-intro-slide {
    position: relative;
}

.c-intro-slide__title {
    width: 100%;
}

.c-intro-slide__arrow {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
}

.c-intro-slide__body {
    padding-top: 40px;
    padding-bottom: 80px;
    background-image: url('../images/intro-slide-background-mobile.svg');
    background-repeat: no-repeat;
    background-position: right -40px top;
    background-size: 200px auto;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.c-intro-slide__body p {
    padding-right: 80px;
}

@media only screen and (min-width: 930px) {
    .c-intro-slide__body {
        min-height: 50vh;
        background-image: url('../images/intro-slide-background.svg');
        background-size: auto 100%;
        background-position: left 90% center;
    }
}

@media (min-width: 1200px) {
    .c-intro-slide__arrow {
        bottom: 60px;
    }
    .c-intro-slide__body {
        min-height: 50vh;
        background-position: left 80% center;
    }
    .c-intro-slide__body p {
        max-width: 800px;
        padding-right: 200px;
    }
}

/* Custom slide backgrounds */

.c-slide {
    background-size: 200% auto;
    background-image: url('../images/BariatricSugeryTypesIllustrations-JoshExport_pipe-pattern.svg');
    background-repeat: repeat-y;
}

.c-slide__content {
    padding: 0;
}

/* Small screen slide images */

.c-slide__image {
    max-width: 250px;
    margin: 0 auto;
    margin-bottom: -20%;
}

@media only screen and (min-width: 30.0625em) {
    .c-slide {
        background-size: 100% auto;
    }
    /* Make image width narrower */
    .c-image-panel {
        width: 40%;
    }
    .c-slide__content-layout {
        padding-left: calc(40% + 20px);
    }
    .c-slide__content {
        max-width: 600px;
    }
}

/* CTA Slide */

@-webkit-keyframes heartbeat {
    to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
}

@keyframes heartbeat {
    to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
}

.c-cta-slide {
    padding-top: 0;
}

.c-cta-slide__image {
    max-width: 200px;
    margin-bottom: 0;
    -webkit-animation: heartbeat 0.5s infinite alternate;
    animation: heartbeat 0.5s infinite alternate;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}

.c-cta-slide__body {
    padding: 0;
    margin-bottom: 40px;
    max-width: none;
}

.c-cta-slide__title {
    background-color: #f48683;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 60px;
    padding: 40px 20px;
    font-weight: 200;
    font-size: 32px;
    text-transform: uppercase;
}

.c-cta-slide__title span {
    display: inline-block;
    text-align: left;
}

.c-cta-slide__title strong {
    font-weight: 800;
}

.c-cta-slide__body p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

@media (min-width: 600px) {
    .c-cta-slide__title {
        font-size: 56px;
    }
    .c-cta-slide__body {
        margin-bottom: 60px;
    }
}

/* Custom button */

.c-button {
    background-color: #1a6e82;
    color: #fff;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.c-button:hover,
.c-button:focus {
    color: #fff;
    background-color: #23a2ce;
}