/* mobile */
@media screen and (max-width: 767px) {
    #carousel-project .carousel-control {
        bottom: 52%;
        top: 35%;
    }

    .carousel-indicators {
        position: relative;
        display: none;
    }
}

.carousel-control {
    z-index: 5;
}

.carousel-control.left {
    background: none;
}

.carousel-control.right {
    left: auto;
    right: 0;
    background: none;
}

.carousel-control.right img {
    width: 60px;
    position: absolute;
    right: 0;
    top: 15%;
}

.carousel-control.left img {
    width: 60px;
    position: absolute;
    left: 0;
    top: 15%;
}

.carousel-indicators .active {
    margin: 0;
    background-color: #e12b26;
    width: 15px;
    height: 15px;
}

.carousel-indicators li {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0;
    text-indent: -999px;
    border: 3px solid #e12b26;
    border-radius: 10px;
    cursor: pointer;
    background-color: #000 \9;
    background-color: #fff;
}

.carousel-control .icon {
    height: 35px;
    width: 35px;
}

@media screen and (min-width: 768px) {
    .carousel-indicators {
        width: auto;
        margin-left: 0;
        left: 10%;
        bottom: 145px;
    }

    #carousel-project .carousel-indicators {
        width: auto;
        margin-left: 0;
        right: 0;
        left: 0;
        bottom: 110px;
    }

    #carousel-project img {
        height: 580px;
    }

    #carousel-project .carousel-control {
        bottom: 110px;
        top: 93px;
    }

    .carousel-control .icon {
        height: 100px;
        width: 45px;
    }

    .carousel-control .icon-prev {
        margin-left: -95px;
    }

    .carousel-control .icon-next {
        margin-right: -95px;
    }
}

#carousel-project .carousel-control {
    background-color: #000;
    width: 5%;
    opacity: 0.3;
}

#carousel-project .carousel-control .icon {
    background-color: transparent;
}

#carousel-project h5 {
    font-weight: 600;
    font-size: 24px;
}

#carousel-project .place {
    font-weight: 600;
    font-size: 20px;
    color: #ffe65d;
    margin-bottom: 10px;
}

#carousel-project .detail {
    padding: 10px 0;
}

#carousel-project .detail .icon {
    margin-right: 10px;
    width: 55px;
    height: 55px;
    border: 2px solid #ffde16;
    text-align: center;
    border-radius: 50%;
    line-height: 2.5;
    font-size: 24px;
    float: left;
}

#carousel-project .title {
    font-size: 12px;
    color: #a0a0a0;
}

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-control .icon {
    background-color: rgba(0, 0, 0, 0.46);
    border-radius: 5px;
    line-height: 3.2;
}

.carousel-caption {
    left: 0;
    text-align: left;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.69) 10%, rgba(255, 255, 255, 0.69) 50%);
    height: 60%;
    padding: 0;
    bottom: 0;
    right: 45%;
    transform: skew(15deg);
    margin: 0 0 0 -50px;
    padding-left: 60px;
}

.carousel-caption::after {
    content: '';
    left: 0;
    text-align: left;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.69) 10%, rgba(255, 255, 255, 0.69) 50%);
    padding: 40px;
    bottom: 0;
    right: -20px;
    transform: skew(0deg);
    margin: 0 0 0 -50px;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.carousel-caption h3, .carousel-caption p {
    transform: skew(-15deg);
    margin-left: 70px;
    font-size: 20px;
    color: #223c8b;
    line-height: 20px;
    font-weight: 500;
    font-family: 'Arvo', serif;
}

.carousel-caption p {
    margin-left: 60px;
    color: #e12b26;
}

.cus-carousel-indicators-inf {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    left: 0;
    margin: 25px 0;
}

.cus-carousel-indicators-inf img {
    display: block;
    opacity: 0.5;
    text-decoration: none;
}
.cus-carousel-indicators-inf li.active img, .cus-carousel-indicators-inf li:hover img {
    opacity: 1;
}
.cus-carousel-inner-inf .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}
.cus-carousel-inner-inf .carousel-item.active {
    display: block;
}
.cus-carousel-inner-inf img {
    object-fit: cover;
    width: 100% !important;
}
.cus-carousel-indicators-inf li, .cus-carousel-indicators-inf li.active {
    border: none;
    width: 100px;
    display: inline-block;
    background-color: transparent;
}

.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}
.inf-detail{
    display:none;
}
.cus-carousel-control-next-icon:after{
  content: '>';
  font-size: 60px;
  color: black;
}

.cus-carousel-control-prev-icon:after {
  content: '<';
  font-size: 60px;
  color: black;
}
.cus-carousel-control-next-icon{
  background-image: none;
}

.cus-carousel-control-prev-icon{
  background-image: none;
}
.cus-carousel-control-prev, .cus-carousel-control-next {
    width:5%;
}
.cus-carousel-control-prev{
    left:-8%;
}
.cus-carousel-control-next {
    right: -6%;
}

.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.dinf-card-body-img img {
  width: auto;
}

.dinf-card-body-title {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #7c7c7c;
}

.cus-carousel-inner-inf h4,
.dinf-card-head h3 {
    font-family: 'Arvo', serif;
}

.dinf-card-head span {
    color: #8f8f8f;
}

.cus-carousel-control-next-inf {
    right: 0;
}
.cus-carousel-control-prev-inf {
    left: 0;
}

@media (min-width: 768px) {
  .carousel-inner>.item>img, .carousel-inner>.item>a>img {
    height: 650px;
  }

  .carousel-caption {
    right:  70%;
    padding: 40px;
  }

    .carousel-caption h3, .carousel-caption p {
        margin-left: 110px;
        font-size: 38px;
        line-height: 55px;
    }

    .carousel-caption p {
        margin-left: 90px;
    }

    .carousel-control.right img, .carousel-control.left img {
        top: 50%;
    }
    .cus-carousel-indicators-inf {
        bottom: 0;
        left: 0;
    }
    .cus-carousel-control-next-inf {
        right: -70px;
    }
    .cus-carousel-control-prev-inf {
        left: -65px;
    }
}
