﻿/* bar image */
.BG-first {
    background-image: url(../img/C1-0-0_banner.jpg);
}

.shortcut {
    justify-content: space-evenly;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 30px;
}

.group:target:before {
    content: "";
    display: block;
    margin-top: -120px;
    height: 120px;
}

.group {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.table th,
.table td {
    border-top: 0;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}

/*****/
.history-wrapper{
    background: rgb(5,147,208);
    background: -moz-linear-gradient(top,  rgba(5,147,208,1) 0%, rgba(47,230,211,1) 20%, rgba(69,252,176,1) 38%, rgba(69,252,176,1) 57%, rgba(47,230,211,1) 81%, rgba(5,147,208,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(5,147,208,1) 0%,rgba(47,230,211,1) 20%,rgba(69,252,176,1) 38%,rgba(69,252,176,1) 57%,rgba(47,230,211,1) 81%,rgba(5,147,208,1) 100%);
    background: linear-gradient(to bottom,  rgba(5,147,208,1) 0%,rgba(47,230,211,1) 20%,rgba(69,252,176,1) 38%,rgba(69,252,176,1) 57%,rgba(47,230,211,1) 81%,rgba(5,147,208,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0593d0', endColorstr='#0593d0',GradientType=0 );
    padding: 100px 0;
}
.logo-area .logo img {
    width: 400px;
}
.logo-area .logo-txt {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 3px 3px 10px rgb(0 0 0 / 30%);
}
.scroll-fa-ani {
    margin: 30px 0;
}

.scroll-fa-ani > a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: solid 2px #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 8px;
    animation: float 3s infinite;
}

@keyframes float {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0)
    }

    50% {
        -webkit-transform: translate(0, 15px);
        transform: translate(0, 15px)
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0)
    }
}

/**** timeline ****/
.wow {
  visibility: hidden;
}
.timeline-bar-wrapper {
    margin-top: 70px;
}
.timeline-item .timeline-time .time-circle {
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: solid 4px #464646;
    font-size: 2.1rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.timeline-box .ti-item {
    position: relative;
    width: 100%;
    display: flex;
    text-align: left;
    padding: 30px 0;
}
.timeline-box .ti-item .tbox {
    background: #fff;
    border-radius: 10px;
    width: calc(50% - 30px);
    /* padding: 20px; */
    position: relative;
    /* display: flex; */
    /* align-items: center; */
    transition: all .5s ease;
}
.timeline-box .ti-item .tbox:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.timeline-box .ti-item .tbox:hover:before {
    transform: translateY(-50%) scale(1.5);
    background: #000;
}

.timeline-box .ti-item .tbox:after {
    position: absolute;
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transition: all .3s ease;
    transform: scale(0);
    top: 50%;
    transform: translateY(-50%) scale(0);
}

.timeline-box .ti-item:nth-child(2n+1) .tbox:after {
    left: -35px;
}

.timeline-box .ti-item .tbox:hover:after {
    transform: translateY(-50%) scale(1);
    transition-delay: 0.2s;
}
/*.timeline-box .ti-item .tbox:hover {
    color: #fff;
}*/
.timeline-box .ti-item .tbox-ani {
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px;
}
/*.timeline-box .ti-item .tbox-ani:before {
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 100%;
    background: #000;
    left: 0;
    top: 0;
    border-radius: 10px;
    transition: all .8s ease;
}*/

.timeline-box .ti-item .tbox-ani > div {
    z-index: 1;
}
/*.timeline-box .ti-item .tbox:hover .tbox-ani:before {
    width: 100%;
}*/
.timeline-box {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.timeline-box .ti-item:nth-child(2n+1) {
    justify-content: end;
}
.timeline-box .ti-item:nth-child(2n) {
    justify-content: start;
}
.timeline-box .ti-item .tbox .date {
    color: #0390d2;
    margin-bottom:5px;
}
.timeline-box:before {
    position: absolute;
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    background: #464646;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-box .ti-item .tbox:before {
    position: absolute;
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: #464646;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease;
}

.timeline-box .ti-item:nth-child(2n+1) .tbox:before {
    left: -40px;
}

.timeline-box .ti-item:nth-child(2n) .tbox:before{
    right: -40px;
}
.timeline-box .ti-item:nth-child(2n) .tbox:after{
    right:-35px;
}
.timeline-box .ti-item .icon-area {
    flex: 0 0 auto;
    width: 70px;
}

.timeline-box .ti-item .info-area {
    flex: 0 0 auto;
    width: calc(100% - 70px);
}

.timeline-box .ti-item .icon-area .icon-box {
    width: 60px;
    height: 60px;
    /*background: #464646;*/
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    transition:all .3s ease;
}
.timeline-box .ti-item.finance .icon-area .icon-box{
    /*background:rgb(5,147,208);*/
}
.timeline-box .ti-item .tbox:hover .icon-area .icon-box{
    background:rgb(5,147,208);
    transition-delay:0.1s;
}
.timeline-box .ti-item:first-child {
    padding-top: 60px;
}

.timeline-box .ti-item:last-child {
    padding-bottom: 60px;
}
.timeline-item-end .tend-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: #464646;
    border-radius: 50%;
    margin: 0 auto;
}
@media (min-width: 576px) {
    .timeline-box .ti-item:nth-child(2n) .tbox {
        flex-direction: row-reverse;
    }

    .timeline-box .ti-item:nth-child(2n)  .icon-area .icon-box {
        margin-left: 0;
    }
    .timeline-box .ti-item:nth-child(2n) .tbox-ani:before{
        left:auto;
        right:0;
    }
}
@media (max-width: 767px){
    .timeline-item-end .tend-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 70px;
        height: 70px;
        background: #464646;
        border-radius: 50%;
        margin: 0 auto;
    }

    .history-wrapper {
        padding: 30px 0;
    }

    .logo-area .logo img {
        width: 250px;
    }

    .logo-area .logo-txt {
        font-size: 2.2rem;
    }

    .scroll-fa-ani > a {
        width: 30px;
        height: 30px;
        padding: 5px;
    }

    .scroll-fa-ani {
        margin: 20px 0;
    }

    .timeline-bar-wrapper {
        margin-top: 40px;
    }

    .timeline-item .timeline-time .time-circle {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }

    .timeline-box .ti-item .tbox .tbox-ani {
        padding: 10px;
    }

    .timeline-box .ti-item .icon-area {
        width: 50px;
    }

    .timeline-box .ti-item .icon-area .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .timeline-box .ti-item .info-area {
        width: 100%;
        font-size: 0.875rem;
    }

    .timeline-box .ti-item {
        padding: 10px 0;
    }

    .timeline-box .ti-item:first-child {
        padding-top: 20px;
    }

    .timeline-box .ti-item:last-child {
        padding-bottom: 20px;
    }

    .timeline-box .ti-item .tbox .date {
        margin-bottom: 3px;
    }
}
@media (max-width: 575px){
    .timeline-box .ti-item {
        display: block;
        padding-left: 47px;
    }

    .timeline-box .ti-item .tbox {
        width: calc(100% - 30px);
        margin-left: auto;
    }

    .timeline-box .ti-item .tbox:before {
        width: 15px;
        height: 15px;
    }

    .timeline-box .ti-item:nth-child(2n+1) .tbox:before {
        left: -36px;
    }

    .timeline-box .ti-item:nth-child(2n) .tbox:before {
        right: auto;
        left: -36px;
    }

    .timeline-box:before {
        left: 47px;
        transform: initial;
    }

    .timeline-item .timeline-time .time-circle {
        margin: 0 0 0;
    }

    .timeline-box .ti-item:first-child {
        padding-top: 30px;
    }

    .timeline-box .ti-item:last-child {
        padding-bottom: 30px;
    }

    .timeline-item + .timeline-item .timeline-time .time-circle {
        margin-top: 0;
    }

    .timeline-item-end .tend-logo {
        margin: -7px 0 0 15px;
    }
    .timeline-box .ti-item .icon-area .icon-box {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        transition: all .3s ease;
            background: #464646;
    }
    .timeline-box .ti-item .tbox:hover .icon-area .icon-box {
        transform: scale(1.5);
    }
    .timeline-box .ti-item .icon-area {
        width: auto;
        position: absolute;
        left: -43px;
    }
}
