﻿header {
    background-color: rgb(255,255,255);
}
.main-container
{
    background-color:#ffffff;
}
/*---------------------------------
             Slider
---------------------------------*/
.swiper-container {
    width: 100%;
    height: 600px;
    direction: rtl;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
}
.swiper-slide video {
    width: 100%;
    height: 100%;
    background-repeat:no-repeat;
    background-size: cover;
}
.swiper-slide .bs-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide-text {
    width: 40%;
    max-height:38%;
    top: 23%;
    right: 5%;
    margin: auto;
    position: absolute;
    text-align: right;
    padding: 10px 2%;
    background-color: rgba(0, 0, 0, 0.25);
    overflow:hidden;
}

    .slide-text > h1 {
        padding: 0;
        color: #ffffff;
        font-size: 1.4em;
        font-style: normal;
        padding-top:10px;
        letter-spacing: 1px;
        display: inline-block;
        -webkit-animation-delay: 0.7s;
        animation-delay: 0.7s;
    }

    .slide-text > p {
        padding: 0;
        color: #ffffff;
        font-size: 0.95em;
        font-weight: 300;
        margin-bottom: 40px;
        letter-spacing: 1px;
        -webkit-animation-delay: 1.1s;
        animation-delay: 1.1s;
    }

    .slide-text > a.btn-default {
        color: #000;
        font-weight: 400;
        font-size: 13px;
        line-height: 15px;
        margin-right: 10px;
        text-align: center;
        padding: 17px 30px;
        white-space: nowrap;
        letter-spacing: 1px;
        display: inline-block;
        border: none;
        text-transform: uppercase;
        -webkit-animation-delay: 2s;
        animation-delay: 2s;
        -webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
        transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    }

    .slide-text > a.btn-primary {
        color: #ffffff;
        cursor: pointer;
        font-weight: 400;
        font-size: 13px;
        line-height: 15px;
        margin-left: 10px;
        text-align: center;
        padding: 17px 30px;
        white-space: nowrap;
        letter-spacing: 1px;
        background: #00bfff;
        display: inline-block;
        text-decoration: none;
        text-transform: uppercase;
        border: none;
        -webkit-animation-delay: 2s;
        animation-delay: 2s;
        -webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
        transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    }

    .slide-text > a:hover,
    .slide-text > a:active {
        color: #ffffff;
        background: #222222;
        -webkit-transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
        transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
    }
/*------------------------------
             why us
--------------------------------*/
.why-us-div
{
    overflow:hidden;
    background-color:#ffffff;
}
.why-us-div h2{
    text-align:center;
    padding-top:30px;
    font-weight:700;
}
.why-us-grid-header img {
    width: 70px;
    float: right;
    margin-left: 8px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-image:none;
}
.why-us-grid {
    margin-top:50px;
    padding:0;
    text-align:justify;
}
.why-us-grid-header {
    height:80px;
}
.why-us-grid-header h4 {
    font-size:1.2em;
    font-weight:700;
    line-height:80px;
}
.why-us-grid-body p {
    font-size: 0.85em;
    color: #6f6f6f;
}
.why-us-mid-img  {
    opacity:0;
}
.why-us-mid-img img {
    width: 100%;
    background-image:unset;
}
/*-------------------------
           News
 --------------------------*/
.last-news-div {
}
.last-news-div .card .card-title
{
    font-size:1em;
    height:35px;
}
.last-news-div h2{
    text-align:center;
    font-weight:700;
    font-size:2em;
    margin-top:20px;
    font-weight:600;
}

.last-news-div .card p {
    height: 38px;
    overflow: hidden;
    font-size: 0.95em;
    color: #6f6f6f;
}
.last-news-div .card .card-footer .news-views {
    float: left;
    font-size: 0.75em;
    opacity:0.7;
}
.last-news-div .card .card-footer .news-date {
    float: right;
    font-size: 0.75em;
    opacity:0.7;
}
@media (max-width: 1024px) {
    /*-------------------------
                SlideShow
    --------------------------*/
    .swiper-container {
        height: 500px;
    }
    .slide-text {
        max-height:50%;
    }
        .slide-text > p {
            margin-bottom: 10px;
        }
        .slide-text > a.btn-primary {
            padding: 10px 18px;
        }
}
@media (max-width: 768px) {
    /*-------------------------
                SlideShow
    --------------------------*/
    .swiper-container {
        height: 380px;
    }
    .slide-text {
        width:50%;
        max-height:50%;
    }
        .slide-text > h1 {
            font-size: 1.3em;
            padding-top:0;
        }
        .slide-text > p {
            font-size: 0.85em;
            margin-bottom: 8px;
        }

        .slide-text > a.btn-primary {
            font-weight: 400;
            font-size: 13px;
            line-height: 15px;
            margin-left: 10px;
            padding: 10px 15px;
        }

/*------------------------------
             why us
--------------------------------*/
    .why-us-mid-img 
    {
        display:none;
    }
    .why-us-grid {
        margin-top: 15px;
    }
}
@media (max-width: 450px) {
    header {
        position: unset;
        z-index: unset;
    }
    /*-------------------------
                SlideShow
    --------------------------*/
    .swiper-container {
        height: 180px;
    }
    .slide-text {
        top:10px;
        width: 70%;
        max-height: 50%;
    }

        .slide-text > h1 {
            font-size: 0.8em;
        }
        .slide-text > p {
            font-size: 0.5em;
            margin-bottom: 5px;
        }
        .slide-text > a.btn-primary {
            font-weight: unset;
            font-size: 0.6em;
            line-height: 8px;
            margin-left: 10px;
            padding: 5px 8px;
        }
/*---------------------------------
        Why aikido
----------------------------------*/
    
    .why-us-div h2 {

        font-size: 1.5em;
    }
    .why-us-grid-header h4 {
        font-size: 1.2em;
    }
    .why-us-grid {
        padding: 0;
        margin-top: 25px;
    }
}
@media (max-width: 340px) {

}


