/* Write your styles */

.am-slider .jd-foo-slides img {
    width: 100%;
}
.am-slider-d4 .am-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}
.loading .am-slider-d4 .am-viewport {
    max-height: 300px;
}
.am-slider-d4 .am-slider-desc {
    position: absolute;
    left: 5px;
    top: 8%;
    color: #333;
}
.am-slider-d4 .am-slider-content {
    padding: 10px 0;
    margin-bottom: 10px;
}
.am-slider-d4 .am-slider-content p {
    margin: 0;
    display: block;
    word-wrap: normal;
    /* for IE */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.4rem;
}
.am-slider-d4 .am-slider-title {
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: 5px;
    display: block;
    word-wrap: normal;
    /* for IE */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.am-slider-d4 .am-slider-more {
    color: #eeeeee;
    font-size: 1.3rem;
    background-color: #27ae60;
    padding: 2px 10px;
}
.am-slider-d4 .am-control-nav {
    width: 100%;
    position: absolute;
    bottom: 15px;
    text-align: center;
}
.am-slider-d4 .am-control-nav li {
    margin: 0 6px;
    display: inline-block;
}
.am-slider-d4 .am-control-nav li a {
    width: 8px;
    height: 8px;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
}
.am-slider-d4 .am-control-nav li a:hover {
    background: rgba(0, 0, 0, 0.5);
}
.am-slider-d4 .am-control-nav li a.am-active {
    background: #27ae60;
    cursor: default;
}
.am-slider-d4 .am-direction-nav,
.am-slider-d4 .am-pauseplay {
    display: none;
}


/*Only phones */
@media only screen and (max-width: 640px) {
    .am-slider-d4 .am-slider-title {
        font-size: 20px;
    }
    .am-slider-d4 .am-slider-content p {
        display:none
    }
    .am-slider-d4 .am-slider-more {
        display:none
    }
}