.history-area{
    background-size: cover;
    background-position: center center;
}
.inner-history {
	background: #ffffff;
	padding: 30px 20px 28px;
    position: relative;
    &::before{
        position: absolute;
        content: "";
        background: #ececec;
        height: 2px;
        width: 100%;
        left: 0;
        bottom: -41px;
        transition: .3s;
        transition: .3s;
    }
    &::after {
        background-image: url("../img/bg/001.jpg");
        background-repeat: no-repeat;
        content: "";
        height: 100%;
        position: absolute;
        transition: all 0.3s ease 0s;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        opacity: 0;  
        background-size: cover;
    }
}
.history-wrapper:hover .inner-history::after{opacity: 1;}
.history-wrapper.active .inner-history::after{opacity: 1;}
.history-wrapper:hover .inner-history::before{background: $theme-color;}
.history-wrapper.active .inner-history::before{background: $theme-color;}
.history-text{
    position: relative;
    z-index: 99;
    & h4{
        font-size: 20px;
        margin-bottom: 7px;
        transition: .3s;
    }
    & p{
        margin-bottom: 0;
        font-size: 16px;
        transition: .3s;
    }
    &::before{
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 15px 10px 0 10px;
        border-color: #fff transparent transparent transparent;
        position: absolute;
        content: "";
        bottom: -43px;
        left: 0;
        right: 0;
        margin: auto;
        transition: .3s;
    }
}
.history-wrapper:hover .history-text::before{
    border-color: $theme-color transparent transparent transparent;
}
.history-wrapper.active .history-text::before{
    border-color: $theme-color transparent transparent transparent;
}
.history-wrapper:hover .history-text h4{color:$white;}
.history-wrapper:hover .history-text p{color:$white;}
.history-wrapper.active .history-text h4{color:$white;}
.history-wrapper.active .history-text p{color:$white;}
.history-info{
    background: $theme-color;
    padding: 9px 17px;
    display: inline-block;
    margin-top: 70px;
    position: relative;
    &::before{
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 10px 15px 10px;
        border-color: transparent transparent $theme-color transparent;
        left: 0;
        right: 0;
        margin: auto;
        top:-15px;
    }
    & h5{
        color:$white;
        margin-bottom: 0;
        line-height: 1;
        font-size: 16px;
    }
}