

/*
Author: XpeedStudio
Author URI: http://themeforest.net/user/XpeedStudio/portfolio
*/

/* Portrait tablets and medium desktops */
@media (max-width: 1250px) {
    body {font-size: 14px;}
    .systemMenu {font-size: 15px;}
    .k-toolbar .k-button {font-size: 14px;}
    .inboxCmdIcon {font-size: 14px;}
    .k-treeview .k-item {font-size: 13px !important;}
    .logotxt-ar {font-size: 17px;}
    .logotxt-en {font-size: 10px;}
   
}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1200px) {
    
    .home-content h1 {
        font-size: 55px;
        line-height: 50px;
    }
}

/* Portrait tablets and small desktops */
@media (max-width: 991px) {
    html {
        font-size: 90%;
    }

    .home-content h1 {
        font-size: 40px;
        line-height: 50px;
    }
}

/* Portrait tablets and small desktops */
@media (max-width: 1024px) {
    html {
        font-size: 90%;
    }

    .home-content h1 {
        font-size: 40px;
        line-height: 60px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    html {
        font-size: 80%;
    }

    .home-content h1 {
        font-size: 42px;
    }

    .main-team {
        margin-bottom: 30px;
    }

    .team-details img {
        width: 100%;
    }

    .events-item img {
        width: 100%;
    }

    .navbar-toggle {
        background: #fff;
        border: 0;
        color: #7b6c63;
    }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        border-bottom: 0;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: 0;
        border-top: 0;
        background: #222222;
    }

    .navbar {
        min-height: 50px;
    }

    .main-skill {
        margin-bottom: 30px;
    }

    .events-item:hover .events-content {
        bottom: 200px;
    }

    .events-content {
        /*left: 42%;*/
    }

    .social {
        left: 255px;
    }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
    html {
        font-size: 65%;
    }

    .home-content h1 {
        font-size: 25px;
    }

    .heading-content h3 {
        font-size: 30px;
    }

    .heading-content p {
        width: 60%;
    }

    #footer p {
        margin-bottom: 15px;
    }

    .social {
        left: 125px;
    }

    .events-item:hover .events-content {
        bottom: 110px;
    }

    .home {
        height: 300px;
    }

    .carousel-indicators {
        left: 20%;
        bottom: 1px;
    }

    .logotxt span:first-child {
        font-size: 18px
    }

    .logotxt span:last-child {
        font-size: 11px
    }

    .timeline-img {
        width: 240px;
        height: 250px;
        position: inherit;
    }

    .timeline-desc {
        text-align: justify;
        -moz-text-align-last: center;
        text-align-last: center;
    }

    .cd-timeline-block {
        width: 95%;
    }

    .cd-timeline-img.cd-location, #cd-timeline::before {
        display: none;
    }


    .carousel-caption p {
        font-size: 18px;
    }


    .about-bg {
        text-align: center;
    }

    .about-content {
        padding-top: 0px;
        padding-bottom: 20px;
    }

    .about-img {
        /*padding-top: 20%;*/
    }

        .about-img img {
            /*height:55%;*/
        }

    .form-control {
        font-size: inherit;
        padding: 1rem;
    }

    .nav-link {
        text-align: center;
    }

    .footer {
        text-align: center;
    }
}

@media (max-width: 320px) {


    .heading-content h3 {
        font-size: 15px;
    }

    .home-content h5 {
        font-size: 15px;
    }

    .heading-content h3 {
        font-size: 20px;
    }

    .heading-content p {
        width: 40%;
    }

    #footer p {
        margin-bottom: 15px;
    }

    .social {
        left: 70px;
    }

        .social a i {
            border: 2px solid #fff;
            border-radius: 100%;
            height: 30px;
            width: 30px;
            font-size: 15px;
            line-height: 27px;
            text-align: center;
            color: #fff;
            transition: .5s;
            -webkit-transition: .5s;
            -moz-transition: .5s;
        }

    .events-item:hover .events-content {
        bottom: 110px;
    }

    .home-content h1 {
        font-size: 16px;
    }

    .home-content h5 {
        font-size: 13px;
    }

    .heading-content p {
        width: 95%;
    }

    .about-content h3 {
        font-size: 13px;
    }

    .events-content {
        left: 32%;
    }

    .events-item:hover .events-content {
        bottom: 60px;
    }

    .twitter-content h5 {
        font-size: 20px;
    }

    .client-content h3 {
        font-size: 15px;
    }

    .copyright-footer .copyright p {
        font-size: 12px;
    }


    .logotxt span:first-child {
        font-size: 16px
    }

    .logotxt span:last-child {
        font-size: 9px
    }
}


@media only screen and (min-width: 768px) {
    .cd-timeline-content h2 {
        font-size: 20px;
        font-size: 1.25rem;
    }

    .cd-timeline-content p {
        font-size: 16px;
        font-size: 1rem;
    }

    .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
        font-size: 14px;
        font-size: 0.875rem;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-content {
        margin-left: 0;
        padding: 1.6em;
        width: 45%;
    }

        .cd-timeline-content::before {
            top: 24px;
            left: 100%;
            border-color: transparent;
            border-left-color: white;
        }

        .cd-timeline-content .cd-read-more {
            float: left;
        }

        .cd-timeline-content .cd-date {
            position: absolute;
            width: 100%;
            left: 122%;
            top: -10px;
            font-size: 16px;
            font-size: 1rem;
        }

    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right;
    }

        .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
            top: 24px;
            left: auto;
            right: 100%;
            border-color: transparent;
            border-right-color: white;
        }

        .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
            float: right;
        }

        .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
            left: auto;
            right: 122%;
            text-align: right;
        }

    .cssanimations .cd-timeline-content.is-hidden {
        visibility: hidden;
    }

    .cssanimations .cd-timeline-content.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-2 0.6s;
        -moz-animation: cd-bounce-2 0.6s;
        animation: cd-bounce-2 0.6s;
    }

    /* inverse bounce effect on even content blocks */
    .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
        -webkit-animation: cd-bounce-2-inverse 0.6s;
        -moz-animation: cd-bounce-2-inverse 0.6s;
        animation: cd-bounce-2-inverse 0.6s;
    }

    #cd-timeline {
        margin-top: 3em;
        margin-bottom: 3em;
    }

        #cd-timeline::before {
            left: 50%;
            margin-left: -2px;
        }

    .cd-timeline-block {
        margin: 4em 0;
    }

        .cd-timeline-block:first-child {
            margin-top: 0;
        }

        .cd-timeline-block:last-child {
            margin-bottom: 0;
        }

    .cd-timeline-img {
        width: 20px;
        height: 20px;
        left: 50%;
        margin-left: -10px;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }

    .cssanimations .cd-timeline-img.is-hidden {
        visibility: hidden;
    }

    .cssanimations .cd-timeline-img.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-1 0.6s;
        -moz-animation: cd-bounce-1 0.6s;
        animation: cd-bounce-1 0.6s;
    }
}
