/*------------------------------------*\
            default.css
\*------------------------------------*/
/*
    * General.....................General use
    * Banner
    * Announce
    * Portal Index
    * Who-Use
    * Awards
    * Testimonial
*/

/*------------------------------------
            $General
------------------------------------*/
.text-sm.title {
    text-align: center;
}

/*--- button ---*/
.action-btn {
    display: block;
    background-color: #e8380d;
    outline: 2px solid #e8380d;
    color: #fff !important;
    text-align: center !important;
    width: calc( 140px + 7vw);
    font-size: calc(12px + 0.3vw);
    line-height: calc( 30px + 1vw);
    height: calc( 30px + 1vw);
    padding-left: calc(1.5vw);
    padding-right: calc(1.5vw);
    border-radius: 0px;
    margin-top: 15px;
    margin-left: calc(0px + 2vw);
    margin-right: calc(0px + 2vw);
    padding-top: 0px;
    padding-bottom: 0px;
}

.action-btn:hover,
.action-btn:active,
.action-btn:active:focus {
    box-sizing: border-box;
    background-color: #fff !important;
    outline: 2px solid red;
    color: red !important;
    text-decoration: none !important;
}


.portal-index .default-btn {
    color: #e8380d;
    border: 2px solid #e8380d;
    background-color: #fff;
    width: 460px;
}

/*------------------------------------
            $Banner
------------------------------------*/
.banner {
    position: relative;
    max-height: 650px;
    overflow: hidden;
}

.banner-video {
    background-color: #000;
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 46.9%;
}

.banner-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-mask {
    background-color: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-heading {
    width: 100%;
    position: absolute;
    top: 15%;
    left: 0;
}

.banner-heading .text-lg {
    color: #fff;
    font-size: calc( 24px + 1.875vw ); /*60-30*/
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
}

.banner-heading .btn-wrapper {
    text-align: center;
}

.banner-heading .btn-wrapper .default-btn {
    margin-right: calc(3.125vw + 10px); /*70-30*/
}

.banner-heading .btn-wrapper .play-button > div:first-child {
    margin-right: 20px;
}

.banner-heading .btn-wrapper .play-button {
    color: #fff !important;
    font-size: calc( 23.2px + 0.25vw ); /*28-24*/
}

.banner-heading .btn-wrapper .play-button:hover {
    text-decoration: none;
}

.banner-heading .img-wrapper {
    margin-bottom: 20px;
    padding: 0 35%;
}

/*when video cant play on the mobile device*/
.video-bgi {
    background-image: url();
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.video-bgi > iframe {
    display: none;
}

.banner-mask-bright {
    background-color: transparent;
}

/*------------------------------------
            $Announce
------------------------------------*/
.announce {
    background-color: #8b8984;
}

.announce .text {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
}

.announce .default-btn {
    color: #e8380d;
    border: 2px solid #e8380d;
    background-color: transparent;
    width: 460px;
}

/*------------------------------------
            $Portal Index
------------------------------------*/
.subannounce-desc{
    text-align: center;
}

.portal-index p.title {
    color: #000;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
}

.portal-index .first-row {
    margin-bottom: 15px;
}
.portal-index .second-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: top;
}
.portal-index .second-row div {
    width: calc(100% / 4 - 15px);
}

.portal-index .second-row img {
    margin-bottom: 20px;
}

.portal-index .second-row div:first-child,
.portal-index .second-row div:nth-child(2),
.portal-index .second-row div:nth-child(3) {
    /* margin-right: 15px; */
}

/*------------------------------------
            $Who-Use
------------------------------------*/

.whouse-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: normal;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.who-use .user {
    width: calc(100%/3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 0 20px;
}

.who-use {
    background-color: #8b8984;
}

.who-use .text-sm.title {
    color: white;
}

.who-use .img-title {
    width: 149px;
    height: 83px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.who-use .user {
    text-align: center;
    margin: 30px 0;
    border-left: 1px solid #fff;
}

.who-use .user:nth-child(3n+1) {
    border-left: none;
}

.who-use .user .title {
    color: #fff;

    /* font-size: 1.25rem; */
}

.who-use .user .desc {
    color: #fff;
    font-size: 16px;
}

.who-use .user .desc-link {
    padding-top: calc( 13px + 0.625vw ); /*25px*/
}

.who-use .user .desc-link a {
    width: 100%;
}

.who-use .user .desc-link a:hover {
    text-decoration: none;
}

.who-use .user .whouse-btn {
    width: 100%;
    max-width: 215px;
    margin-top: 30px;
}

.who-use .user .rl-btn-border {
    background-color: #e8380d;
    border: 2px solid #e8380d;
    color: #fff;
    width: 100%;
}

.who-use .user .rl-btn-border:hover,
.who-use .user .rl-btn-border:active,
.who-use .user .rl-btn-border:active:focus {
    background-color: #fff !important;
    border: 2px solid #fff;
    color: gray !important;
}

.who-use .img-wrapper {
    margin: 0 auto;
    width: 100%;

    /* max-width: 150px; */
    /* max-height: 150px; */
}

.who-use .img-wrapper img {
    max-width: 150px;
    max-height: 150px;
    margin: 0 auto;
}

.who-use .pyramid {
    pointer-events: none;
    position: absolute;
    right: 0;
    bottom: 160%;
}

.who-use .pyramid img {
    margin: 0 auto;
    width: 80%;
}

@media (max-width: 767px) {
    .who-use .user {
        width: 100%;
        border: none;
    }
}

/*------------------------------------
            $Awards
------------------------------------*/
.awards-wrapper img {
    padding: 10px;
    transition: all 0.1s;
}

.awards-wrapper img:hover {
    transform: scale(1.1);
}

.awards {
    background-color: #fff;
}

.awards .title {
    color: #000;
}

/*------------------------------------
            $Testimonial
------------------------------------*/
.testimonial {
    background-color: #f7dcc6;
}

.testimonial .item-container {
    display: flex;
    
    flex-wrap: wrap;
}

.testimonial .item-container:after {
    content: "";
    flex: auto;
}

.testimonial .item-container .user {
    position: absolute;
    bottom: 0px;
    width: 100%;
    color: white;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.testimonial .item-container .desc {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    padding: 20px 10px 50px 10px;
}

.testimonial .item-container.three > div {
    min-width: 300px;
    width: 32.3%;
    margin: 0.45%;
}


.testimonial .item-container.four > div {
    min-width: 250px;
    width: 24%;
    margin: 0.45%;
}

.testimonial .title {
    color: black;
}

.testimonial .rl-play {
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.7);
}

#owl-box-testimonial .owl-controls .owl-page span {
    background: #fff;
}

.rl-play-wrapper-showcase {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(42px + 1vw);
    height: calc(42px + 1vw);
    border-radius: 50%;
    margin: calc( (( 42px + 1vw) / 2) * (-1)) 0 0 calc( (( 42px + 1vw) / 2) * (-1));
    background: rgba(255, 255, 255, 0.5);
    -webkit-transition: background 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transition: background 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: background 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: background 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: background 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-justify-content: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
}

.rl-rel:hover .rl-play-wrapper-showcase {
    background: rgba(255, 255, 255, 0.6);
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
}

@media screen and (max-width: 991px) {
    /*------------------------------------
                $Banner
    ------------------------------------*/
    .banner-heading {
        top: 5%;
    }
}

@media screen and (max-width: 767px) {
    /*------------------------------------
                $General
    ------------------------------------*/
    /*--- button ---*/
    .announce .default-btn,
    .portal-index .default-btn,

    /*------------------------------------
                $PlayButton
    ------------------------------------*/
    /*----- play video icon ------*/
    .rl-play-wrapper {
        width: 50px;
        height: 50px;
    }

    .rl-play {
        border-width: 10px 0 10px 15px;
    }

    /*------------------------------------
                $Announce
    ------------------------------------*/
    .announce .text {
        padding-right: 0;
        padding-left: 0;
    }

    /*------------------------------------
                $Portal Index
    ------------------------------------*/
    .portal-index .second-row div {
        width: calc(50% - 11.25px);
    }

    /*------------------------------------
                $Awards
    ------------------------------------*/
    .awards .row {
        margin-top: 18vw;
    }

    .banner-video {
        background-color: #000;
        position: relative;
        height: 0;
        overflow: hidden;
        height: 300px;
    }
    
    .banner-video iframe {
        position: absolute;
        top: 0;
        left: -50%;
        width: 200%;
        height: 100%;
    }

    .testimonial .item-container.three > div {
        width: 49%;
        margin: 0.45%;
    }
    
    .testimonial .item-container.four > div {
        
        width: 49%;
        margin: 0.45%;
    }
    
}

@media screen and (max-width: 500px) {
    /*------------------------------------
                $General
    ------------------------------------*/
    .banner .default-btn {
        height: 50px;
        max-width: 120px;
    }

    /*------------------------------------
                $Banner
    ------------------------------------*/
    .banner-heading .text-lg {
        margin-bottom: 10px;
    }

    .banner-heading .btn-wrapper .play-button > div:first-child {
        display: none;
    }

    /*------------------------------------
                $Portal Index
    ------------------------------------*/
    .portal-index .second-row div {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .testimonial .item-container.three > div {
        
        width: 100%;
        
    }
    
    
    .testimonial .item-container.four > div {
        
        width: 100%;
       
    }
}
