.header {
    background-image: url("../img/Text_Analysis/S01/Text-Analysis01_BG.8db8f1d22017.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 0;
    padding-bottom: 0;
    background-position: bottom;
}

.display-4 {
    font-weight: 300;
}

@media(min-width: 768px){
    .display-4 {
        display: flex;
        margin-top: 60px;
    }
}

.display-4 > h2{
    margin-right: 15px;
    margin-top: 60px;
}

.col-lg-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .col-lg-2 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
        padding: 0px;
    }
}

.img-box {
    position: relative;
}

.bg {
    position: relative;
    width: 250px;
    height: 350px;
    left: 0%;
}

@media (min-width: 992px) {
    .bg {
        opacity: 0%;
        width: 100%;
        height: 300px;
    }
}

/*배경 이미지*/
.img-box > img {
    opacity: 0%;
    position: absolute;
    left: 0%;
    width: 0%;
    height: 300px;
}

@media (min-width: 992px) {
    #img-box1 > img {
        position: absolute;
        width: 115%;
        left: 5%;
    }

    .img-box > img {
        width: 120%;
        opacity: 100%;
    }

    #img-box5 > img {
        width: 110%;
    }
}

#bg1 {
    background-color: #80D2FF;
    color: #80D2FF;
}

#bg2 {
    background-color: #6DA7E0;
}

#bg3 {
    background-color: #5979C0;
}

#bg4 {
    background-color: #4752A3;
}

#bg5 {
    background-color: #342785
}

/*일러스트*/
.img-box .img-illus {
    position: absolute;
    z-index: 4;
    width: 275px;
    height: 250px;
    top: 25%;
    left: -3%;
    opacity: 100%;
}

.img-box #img-illus3 {
    left: 3%;
    top: 30%;
}

.img-box #img-illus5 {
    left: 5%;
    top: 40%;
    width: 220px;
    height: 170px;
}

@media (min-width: 768px) {
    .img-box #img-illus4 {
        left: 3%;
    }

    .img-box #img-illus5 {
        left: 3%;
    }
}

@media (min-width: 992px) {
    .img-box .img-illus {
        position: absolute;
        z-index: 4;
        width: 100%;
        height: 65%;
        top: 30%;
    }

    .img-box #img-illus1 {
        width: 110%;
        left: -5%;
    }

    .img-box #img-illus2 {
        width: 90%;
        left: 15%;
    }

    .img-box #img-illus3 {
        height: 55%;
        left: 20%;
        top: 40%;
    }

    .img-box #img-illus4 {
        width: 110%;
        left: 15%;
    }

    .img-box #img-illus5 {
        left: 23%;
        top: 45%;
        width: 80%;
        height: 45%;
    }
}

.img-box-title {
    position: absolute;
    left: 5%;
    top: 3%;
    color: #ffffff;
    text-align: left;
    z-index: 5;
}

.img-box-title h4 {
    font-size: 1.8em;
}

@media (min-width: 768px) {
    .img-box-title {
        left: 3%;
        top: 6%;
    }
}

@media (min-width: 992px) {
    .img-box-title {
        left: 15%;
        top: 5%;
    }

    #img-box-title1 {
        left: 10%;
    }

    .img-box-title h4 {
        font-size: 1.5em !important;
    }
}


.img-box-description {
    text-align: left;
    padding-top: 10px;
    padding-left: 10px;
    height: 125px;
}


@media (min-width: 768px) {
    .img-box-description h6 {
        font-size: 0.9em;
    }

    .img-box-description p {
        font-size: 0.9em;
    }
}

@media (min-width: 992px) {
    .img-box-description {
        position: absolute;
        left: 3%;
    }

    .img-box-description h6 {
        font-size: 0.79em;
    }

    .img-box-description p {
        font-weight: 300;
        font-size: 0.79em;
    }
}

.img-box-bottom {
    position: absolute;
    background-color: #80D2FF;
    left: 3%;
    width: 20%;
    height: 8px;
}

@media (min-width: 992px) {
    .img-box-bottom {
        left: 0%;
        width: 50%;
        top: 110px;
    }
}

/*time line*/

.img-fluid, .img-thumbnail {
    max-width: 90%;
    height: auto;
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline > li .timeline-image {
    position: absolute;
    z-index: 1;
    width: 250px;
    height: 250px;

}

.timeline .timeline-panel .timeline-image{
    left: 50px;
    top: -100px;
}


.timeline-inverted .timeline-panel .timeline-image{
    left: -50px;
    top: -100px;
}

@media (min-width: 768px) {
    .timeline > li .timeline-image, .timeline .timeline-panel .timeline-image, .timeline-inverted .timeline-panel .timeline-image {
        width: 275px;
        height: 275px;
        left: 10%;
        top: 0%;
    }
}

@media (min-width: 992px) {
    .timeline > li .timeline-image, .timeline .timeline-panel .timeline-image, .timeline-inverted .timeline-panel .timeline-image {
        width: 300px;
        height: 300px;
        left: 15%;
        top: 0%;
    }
}

@media (min-width: 1200px) {
    .timeline > li .timeline-image, .timeline .timeline-panel .timeline-image, .timeline-inverted .timeline-panel .timeline-image {
        width: 300px;
        height: 300px;
        left: 25%;
        top: 0%;
    }
}

.timeline-inverted > li .timeline-image {
    position: absolute;
    z-index: 1;
    width: 250px;
    height: 250px;
    left: 15%;
    top: -30%;
}

@media (min-width: 768px) {
    .timeline-inverted > li .timeline-image {
        position: absolute;
        z-index: 1;
        width: 250px;
        height: 250px;
        left: 0%;
        top: 0%;
    }
}

@media (min-width: 992px) {
    .timeline-inverted > li .timeline-image {
        position: absolute;
        z-index: 1;
        width: 300px;
        height: 300px;
        left: 0%;
        top: 0%;
    }
}



.timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    text-align: left;
    margin-top: 2rem;
}


@media (min-width: 768px) {
    .timeline > li .timeline-panel {
        float: left;
        width: 60%;
        padding: 0 20px 20px 30px;
    }
}

@media (min-width: 992px) {
    .timeline > li .timeline-panel {
        padding: 0 20px 20px;
    }
}

@media (min-width: 1200px) {
    .timeline > li .timeline-panel {
        padding: 10px 0px 100px 35px;
    }
}

@media (min-width: 768px) {
    .timeline > li.timeline-inverted > .timeline-panel {
        top: -10%;
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 20px 20px;
    }
}

@media (min-width: 1200px) {
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 20px 20px 70px;
    }
}


.timeline-heading {
    /*position: relative;*/
    /*z-index: 2;*/
}

.timeline-body {
    position: relative;
    z-index: 2;
}


.list-group-item {
    border: none;
    padding-top: 4.5rem;
}

@media (min-width: 768px) {
    .list-group-item {
        padding-top: 3rem;
    }
}

.timeline .timeline-panel .timeline-content {
    background-color: #ffffff;
    z-index: 2;
    position: relative;
    padding: 10px 15px;
    top: 3rem;
    left: -1rem;
    width: 230px;
    margin-bottom: 100px;
}

@media (min-width: 768px) {
    .timeline .timeline-panel .timeline-content {
        left: 18rem;
        top: 0rem;
        width: 300px;
        margin-bottom: 0px;
    }
}

@media (min-width: 992px) {
    .timeline .timeline-panel .timeline-content {
        left: 25rem;
        top: 3rem;
        width: 420px;
        margin-bottom: 0px;
    }
}

.timeline-inverted .timeline-panel .timeline-content {
    background-color: #ffffff;
    z-index: 2;
    position: relative;
    padding: 10px 15px;
    top: 3rem;
    left: 1rem;
    width: 230px;
    margin-bottom: 100px;
    margin-right: 0px !important;
}

@media (min-width: 768px) {
    .timeline-inverted .timeline-panel .timeline-content {
        left: -18rem;
        top: 0rem;
        width: 300px;
        margin-bottom: 0px;
    }
}


@media (min-width: 992px) {
    .timeline-inverted .timeline-panel .timeline-content {
        left: -25rem;
        top: 3rem;
        width: 420px;
        margin-bottom: 0px;
    }
}

#S03-img2{
    width: 85%;
    height: auto;
}

/*img slide*/
.mySlides {display: none}
.slideshow-container img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  height: 180px;
  position: relative;
  margin: auto;
}

@media (min-width: 768px){
    .slideshow-container{
        height: 300px;
    }
}

@media(min-width: 992px){
    .slideshow-container{
        height: 350px;
    }
}

.mySlides{
    position: absolute;
    width : 82%;
    left: 10%;
    height: 180px;
}
@media (min-width: 768px){
    .mySlides{
        height: 300px;
    }
}
@media(min-width: 992px){
    .mySlides{
        width: 85%;
        height: 350px;
    }
}

.mySlides img{
    width: 100%;
    height: 100%;
}

.dots{
  margin-top: 3px;
}
@media(min-width: 992px){
    .dots{
        margin-top: 10px;
    }
}

/* Next & previous buttons */
#prev-button{
    position: relative;
}
#prev-button svg{
    position: absolute;
    left: 5px;
}
svg{
    width: 20px;
    height: 20px;
}
.prev, .next {
    position: absolute;
    top: 85px;
    cursor: pointer;
    transition: 0.6s ease;
}

@media (min-width: 768px) {
    svg{
        width: 25px;
        height: 25px;
    }
    .prev, .next {
        top: 143px;
    }
}

@media (min-width: 992px) {
    #prev-button svg{
        left: 45px;
    }
    svg{
        width: 30px;
        height: 30px;
    }
    .prev, .next {
        top: 153px;
    }

}

/* Position the "next button" to the right */
.next {
    position: absolute;
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
/*.prev:hover, .next:hover {*/
/*  fill: rgba(0,0,0,0.8);*/
/*}*/


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgb(130, 94, 163);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: rgb(44, 19, 163);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode:forwards;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}