.ec-slide {
    float: left;
    overflow: hidden;
    position: relative;
    width: 100%;
}
#ec-slide-list {
    position: relative;
    top: 0px;
    left: 0px;
}
#ec-slide-list li {
    /*position: absolute;
    top: 0px;
    left: 0px;*/
    display: none;
    width: 100%;
}

.slide-photo {
    background: #2e6098 none repeat scroll 0 0;
    overflow: hidden;
}
.slide-photo img {
    object-fit: cover;
    -webkit-transform: scale(1.1, 1.1);
        -ms-transform: scale(1.1, 1.1);
            transform: scale(1.1, 1.1);
    -webkit-transition: all 8s ease 0s;
        -ms-transition: all 8s ease 0s;
            transition: all 8s ease 0s;
    width: 100%;
    opacity: 0.6;
}
#ec-slide-list li.active .slide-photo img {
    -webkit-transform: scale(1.2, 1.2);
        -ms-transform: scale(1.2, 1.2);
            transform: scale(1.2, 1.2);
}
.ec-slide, .slide-photo img, .header-sub {
    height: 550px;
}

.slide-description {
    bottom: 90px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}
.slide-description .content {
    display: inline-block;
    max-width: 100%;
    text-align: center;
    width: 700px;
}
.slide-description .content h3 {
    color: #fff;
    font-size: 42px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.9s ease 0s;
    -webkit-transition: all 0.9s ease 0s;
    -moz-transition: all 0.9s ease 0s;
}
#ec-slide-list li.active .slide-description .content h3 {
    opacity: 1;
    visibility: visible;

    transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0px, 0px, 0px);
}
.slide-description .content h3.title {
    font-weight: 200;
    transform: translateY(-75px);
    -ms-transform: translateY(-75px);
    -webkit-transform: translateY(-75px);
}
.slide-description .content h3.text {
    color: #fff;
    font-weight: 700;
    transform: translateY(75px);
    -ms-transform: translateY(75px);
    -webkit-transform: translateY(75px);
}

.ec-slide-navs {
    bottom: 1rem;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    width: 100%;
    display: none;
}
.ec-slide-navs li {
    display: inline-block;
}
.ec-slide-navs li a {
    border: 3px solid #fff;
    border-radius: 100%;
    cursor: pointer;
    display: inline-block;
    font-size: 0;
    height: 12px;
    margin: 0 3px;
    width: 12px;
}
.ec-slide-navs li.active a {
    background: #fff;
}

.ec-slide-buttons {
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    width: 100%;
}
.ec-slide-buttons a {
    color: #fff;
    cursor: pointer;
    font-size: 72px;
    position: absolute;
    text-align: center;
    margin-top: -30px;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
}
.ec-slide-buttons a .icon {
    display: table-cell;
    height: inherit;
    vertical-align: middle;
    width: inherit;
}
.ec-slide-buttons a.prev {
    left: 50px;
}
.ec-slide-buttons a.next {
    right: 50px;
}


@media only screen and (max-width: 767px) {
.ec-slide-buttons {
    display: none;
}
.slide-description .content {
    width: 100%;
}
}

@media only screen and (min-width:320px) and (max-width:479px) {

.slide-description .content h3 {
    font-size: 32px;
}
.ec-slide, .slide-photo img, .header-sub {
    height: 350px;
}
.slide-description .button {
    font-size: 16px;
    width: 220px;
}
.slide-description {
    bottom: 20px;
}

}


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

.ec-slide, .slide-photo img, .header-sub {
    height: 430px;
}


}

@media only screen and (min-width: 767px) and (max-width: 991px) {
.slide-description .content {
    width: 75%;
}
.ec-slide-navs {
    bottom: 20px;
    display: block;
}
.ec-slide-buttons {
    display: none;
}

}

@media screen and (min-width: 768px) {}

@media only screen and (min-width: 991px) and (max-width: 1200px) {
.slide-description .content {
    width: 60%;
}
.ec-slide-buttons {
    display: none;
}
.ec-slide-navs {
    bottom: 20px;
    display: block;
}


}

@media only screen and (min-width : 1824px) { }

