.about_tabber li.nav-item a:not(.active){
    background-color: transparent;
    color: #787878;
}

.about_tabber li.nav-item a:not(.active)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    height: 4px;
    background-color: #881508;
    width: 100%;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;

}

.about_tabber li.nav-item:hover a:not(.active)::after{
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.about_tabber li.nav-item a.active {
    background-color: transparent;
    color: #787878;
}


.about_tabber li.nav-item a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    height: 4px;
    background-color: #881508;
    width: 100%;
    transition: width .25s;

}

.social_company {
    position: absolute;
    bottom: 3%;
    left: 5%;
}

.social_company a{
    border: 2px solid;
    border-radius: 100%;
    padding: 8px 10px;
    color: #bebebe;
}

.content-box img{
    width: 100%;
}

.content-box i {
    font-size: 20px;
}


.content-box ul.list-group {
    padding: 0 0.5rem 0 1rem;
    margin-left: 1.25rem;
}

.content-box li.list-group-item {
    padding: 3px 0;
    border: none;
    font-size: 16px;
    list-style-type: circle;
    display: list-item;
    line-height: 20px;
}

.top-text {
    top: -10px;
    left: 20px;
    font-size: 42px;
    color: #000;
    z-index: 999;
    /*transform: rotate(-25deg)*/
}


.fisrt-high-letter {
    font-size: 65px;
}

.calligraph {
    font-family: 'Kalam', cursive;
}

.about-box-content{
    -webkit-box-shadow: 5px 6px 32px -4px rgba(148,148,148,1);
    -moz-box-shadow: 5px 6px 32px -4px rgba(148,148,148,1);
    box-shadow: 5px 6px 32px -4px rgba(148,148,148,1);
    bottom: 80px;
    right: -70px;
    max-width: 430px;
    color: #787878;
    background: #fff;
    padding: 50px;
    letter-spacing: 1px;
}

span.blockquote {
    font-style: italic;
}

span.blockquote::before{
    content: open-quote;
}


span.blockquote::after{
    content: close-quote;
}

#Our-values .card .card-body .card-text{
    min-height: 75px;
}

#Our-team .card-img-top {
    /*max-height: 240px;*/
    max-height: 300px;
    object-fit: cover;
    object-position: top;
}

.content-box span.grey {
    color: #787878;
}

/*.box {*/
    /*width: 300px;*/
    /*height: 300px;*/
    /*background-color: #a0a0a0;*/
    /*position: relative;*/
/*}*/
.ribbon {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border: 60px solid transparent;
    border-bottom: 60px solid #930000;
    position: absolute;
    top: 23px;
    left: -95px;
    padding: 0 10px;
    width: 355px;
    color: white;
    size: 11px;
}
.ribbon .txt {
    position: absolute;
    top: -3px;
    left: 20px;
    font-size: 45px;
}​

     /* entire container, keeps perspective */
 .flip-container {
     perspective: 1000px;
 }
/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
    width: 100%;
    height: 480px;
    margin-bottom: 40px;
}

.flip-container .card{
    border: none;
}

/* flip speed goes here */
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

/* front pane, placed above back */
.front {
    z-index: 2;
    /* for firefox 31 */
    transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);
    padding: 15px 0;
}

.content-box .card-title {
    font-weight: 500;
}

.content-box-snail::after{
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .15;
    background-image: url(../../img/snail_logo.png);
    background-repeat: no-repeat;
    background-position: -220px 50%;
    -ms-background-size: cover;
    background-size: 860px;
}

.come-in-company-imgTab-right {
    -webkit-transform: translateX(750px);
    -ms-transform: translateX(750px);
    transform: translateX(750px);
    -webkit-animation: come-in-x 0.8s ease forwards;
    animation: come-in-x 0.8s ease forwards;
}

.come-in-company-imgTab-left {
    -webkit-transform: translateX(-1050px);
    -ms-transform: translateX(-1050px);
    transform: translateX(-1050px);
    -webkit-animation: come-in-x 0.8s ease forwards;
    animation: come-in-x 0.8s ease forwards;
}

.come-in-company-content-bottom {
    -webkit-transform: translateY(250px);
    -ms-transform: translateY(250px);
    transform: translateY(250px);
    -webkit-animation: come-in-y 0.8s ease forwards;
    animation: come-in-y 0.8s ease forwards;
}

.come-in-company-content-top {
    -webkit-transform: translateY(-250px);
    -ms-transform: translateY(-250px);
    transform: translateY(-250px);
    -webkit-animation: come-in-y 0.8s ease forwards;
    animation: come-in-y 0.8s ease forwards;
}

.come-in-company-right {
    -webkit-transform: translateX(250px);
    -ms-transform: translateX(250px);
    transform: translateX(250px);
    -webkit-animation: come-in-x 0.8s ease forwards;
    animation: come-in-x 0.8s ease forwards;
}

.come-in-company-left {
    -webkit-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    transform: translateX(-250px);
    -webkit-animation: come-in-x 0.8s ease forwards;
    animation: come-in-x 0.8s ease forwards;
}

.scale-image {
    -webkit-transform: scale(0.3);
    -ms-transform: scale(0.3);
    transform: scale(0.3);
    -webkit-animation: scale-up 0.8s ease forwards;
    animation: scale-up 0.8s ease forwards;
}

@-webkit-keyframes scale-up {
    to { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

@keyframes scale-up {
    to { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

@-webkit-keyframes come-in-x {
    to { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; }
}

@keyframes come-in-x {
    to { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; }
}

@-webkit-keyframes come-in-y {
    to { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

@keyframes come-in-y {
    to { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

.box-hover:hover{
    -webkit-box-shadow: 5px 6px 32px -4px rgba(148,148,148,1);
    -moz-box-shadow: 5px 6px 32px -4px rgba(148,148,148,1);
    box-shadow: 5px 6px 32px -4px rgba(148,148,148,1);
}

.flipper {
    width:100%;
    max-width: 300px;
}


@media screen and (max-width:992px){

    .content-box img {
        -webkit-box-shadow: 5px 6px 32px -4px #949494;
        -moz-box-shadow: 5px 6px 32px -4px #949494;
        box-shadow: 5px 6px 32px -4px #949494;
    }

    #Our-team .card-img-top {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .about-box-content {
        position: relative !important;
        top: 0;
        width: 100%;
        max-width: 100%;
        left: 0;
    }

}

@media screen and (max-width: 767px){
    .flipper {
        width:100%;
    }
}


@media screen and (max-width: 576px){

    .flip-container {
        margin-bottom: 30px;
    }

    .flipper {
        width:290px;
    }
}

@media screen and (max-width: 480px){
    .fisrt-high-letter {
        font-size: 40px;
    }

    .top-text {
        font-size: 16px;
    }

    .company-motto {
        font-size: 16px;
    }
}


 /*.flip-card {*/
     /*background-color: transparent;*/
     /*width: 300px;*/
     /*height: 300px;*/
     /*perspective: 1000px;*/
 /*}*/

/*.flip-card-inner {*/
    /*position: relative;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*text-align: center;*/
    /*transition: transform 0.6s;*/
    /*transform-style: preserve-3d;*/
    /*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);*/
/*}*/

/*.flip-card:hover .flip-card-inner {*/
    /*transform: rotateY(180deg);*/
/*}*/

/*.flip-card-front, .flip-card-back {*/
    /*position: absolute;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*backface-visibility: hidden;*/
/*}*/

/*.flip-card-front {*/
    /*!*background-color: #bbb;*!*/
    /*color: #787878;*/
/*}*/

/*.flip-card-back {*/
    /*!*background-color: #2980b9;*!*/
    /*color: #787878;*/
    /*transform: rotateY(180deg);*/
/*}*/
