/*============================================================
	For Small Desktop
==============================================================*/

@media (min-width: 980px) and (max-width: 1150px) {
    /* slider */
    .carousel-caption h3 {
        font-size: 45px;
    }
    /* works */
    /* team */
    .member-thumb {
        width: auto;
    }
}


/*============================================================
	Tablet (Portrait) Design for a width of 768px
==============================================================*/

@media (min-width: 768px) and (max-width: 979px) {
    /* slider */
    .carousel-caption h2 {
        font-size: 55px;
    }
    .carousel-caption h3 {
        font-size: 36px;
    }
    /* services */
    .service-item {
        margin: 0 auto 30px;
        text-align: center;
        width: 325px;
    }
    .service-icon {
        float: none;
        margin: 0 auto 15px;
        text-align: center;
        width: 50px;
    }
    .service-desc {
        margin-left: 0;
        position: relative;
        top: 0;
    }
    /* works */
    .work-item {
        width: 33%;
    }
    /* team */
    .member-thumb .overlay h5 {
        margin: 25px 0;
    }
    .member-thumb {
        margin: 0 auto;
    }
    /* fatcs */
    #facts {
        background-position: center top !important;
    }
    .counters-item {
        margin-bottom: 30px;
    }
    .counters-item i {
        margin: 0 0 15px;
    }
    .counters-item strong {
        font-size: 45px;
    }
    /* contact */
    .contact-form .name-email input {
        margin-right: 0;
        width: 100%;
    }
    .footer-social {
        margin-top: 45px;
    }
    /* footer */
    .footer-single {
        margin-bottom: 30px;
    }
}


/*============================================================
	Mobile (Portrait) Design for a width of 320px
==============================================================*/

@media only screen and (max-width: 767px) {
    .sec-sub-title p {
        font-size: 14px;
    }
    /* slider */
    .carousel-caption h2 {
        font-size: 35px;
    }
    .carousel-caption h3 {
        font-size: 22px;
    }
    .carousel-caption p {
        font-size: 14px;
    }
    .social-links {
        margin-top: 20%;
    }
    /* services */
    .service-item {
        margin: 0 auto 30px;
        text-align: center;
        width: 280px;
    }
    .service-icon {
        float: none;
        margin: 0 auto 15px;
        text-align: center;
        width: 50px;
    }
    .service-desc {
        margin-left: 0;
        position: relative;
        top: 0;
    }
    /* works */
    .work-item {
        left: 5% !important;
        width: 90%;
    }
    /* team */
    .team-member {
        margin-bottom: 30px;
    }
    .team-member:last-child {
        margin-bottom: 0;
    }
    .member-thumb {
        margin: 0 auto;
    }
    /* facts */
    #facts {
        background-position: center top !important;
    }
    .counters-item {
        margin-bottom: 30px;
    }
    /* contact */
    .contact-address {
        margin-bottom: 30px;
    }
    .footer-social {
        margin-top: 20px;
        text-align: center;
    }
    .footer-social li {
        display: inline-block;
    }
    .footer-social li a {
        margin: 0 10px;
    }
    /* footer */
    .footer-single {
        margin-bottom: 30px;
    }
}


/*============================================================
	Mobile (Landscape) Design for a width of 480px
==============================================================*/

@media only screen and (min-width: 480px) and (max-width: 767px) {
    /* services */
    .service-item {
        margin: 0 auto 30px;
        text-align: center;
        width: 325px;
    }
    .service-icon {
        float: none;
        margin: 0 auto 15px;
        text-align: center;
        width: 50px;
    }
    .service-desc {
        margin-left: 0;
        position: relative;
        top: 0;
    }
    /* works */
    .work-item {
        left: inherit !important;
        width: 50%;
    }
}


/*============================================================
	Mobile (Landscape) Design for a width of 661px
==============================================================*/

@media only screen and (min-width: 661px) {
    .Go-slide1,
    .Go-slide2,
    .Go-slide3,
    .Go-slide4,
    .hide-full {
        display: none !important;
    }
    #features {
        display: block !important;
    }
    #team {
        display: block !important;
    }
    #services {
        display: block !important;
    }
}


/*============================================================
	Mobile (Landscape) Design for a width of 480px
==============================================================*/

@media only screen and (max-width: 660px) {
    /* services */
    .navbar-collapse {
        background: #012B6B;
    }
    #showImg {
        display: block !important;
    }
    .scrollbar {
        display: none;
    }
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: block !important;
    }
    #partage {
        position: relative;
        top: -74px;
        background: #012B6B;
        color: #fff;
    }
    hr,
    .home-social-list {
        display: none !important;
    }
    /*   #features {
        display: none;
    }
    #services {
        display: none;
    }
    #team {
        display: none;
    }*/
    .img-reduce {
        width: 150px !important;
    }
    .vertical-heighest-first {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(270deg);
        -o-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        /* transform: rotate(270deg); */
    }
    .control-div {
        width: 100%;
        position: relative;
        left: 0px;
    }
    .slider {
        margin: 35px auto;
    }
    #count-social {
        width: 80px;
    }
    .counters-item strong {
        display: block;
        font-size: 14px;
        font-weight: 600;
        line-height: 64px;
    }
}