/* Media Queries
-------------------------------------------------------------- */
@media only screen and (min-width: 1200px) {
    .container{
        width: 1200px;
    }
}

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

    .footer .clearfix{
        display: none;
    }
}
/* Smaller than standard 980 */
@media only screen and (min-width: 991px) {
    .header-5 #mainnav {
        display: block !important;
    }
}
@media only screen and (max-width: 991px) {

    #container-header{
        width: 100%;
        padding: 0;
    }

    #mainnav {
        display: none;
        margin: 0 auto;
        width: 100%;
        /*position: absolute;*/
        background-color: #f7f7f8;
        z-index: 1000;
    }

    #mainnav ul {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mainnav ul li {
        float: none !important;
        display: block;
        margin:0;
        position: relative;
        text-align: center;
        border-bottom: 1px solid #fff;
        cursor: pointer;
    }

    #mainnav ul > li > a {
        text-decoration: none;
        height: 55px !important;
        line-height: 55px !important;
        padding: 0 50px;
        color: #7CD900;
    }

    .header-5 .logo{
        margin-top: 8px;
        max-width: 100px;
        margin-left: 20px;
    }

    .col-md-3 ,
    .col-md-4,
    .col-md-5{
        width: 50%;
        float: left;
    }

    .roll-slider .main-slider,
    .roll-slider .main-slider-2 {
        height: 430px !important;
    }

    .roll-slider .main-slider-2 ul.slides li div.content .big-text,
    .roll-slider .main-slider-2 ul.slides li div.content .big-text span {
        font-size: 45px;
        line-height: 45px;
    }

    .roll-slider .main-slider-2 ul.slides li div.col-md-12 div.text {
        top: 45%;
    }

    .about .roll-about .col-md-4{
        width: 50%; 
    }

    .portfolio-details .col-md-5,
    .details-info .col-md-4,
    .portfolio-details-page-2 .sec-folio-details .portfolio-details .col-md-4 {
        width: 100%;
    }

    .roll-slider .main-slider ul.slides li div.content .big-text,
    .roll-slider .main-slider ul.slides li div.content .big-text span {
        font-size: 44px;
        line-height: 44px;
    }

    .roll-slider .main-slider ul.slides li div.content .small-text {
        font-size: 14px;
    }

    .roll-team .item .info {
        padding: 0 5px;
    }

    .footer .clearfix {
        display: block;
    }

    .top-bar {
        position: relative;
    }

    .btn-menu {
        display: block;
        margin-top: 10px;
        margin-right: 20px;
    }

    .bottom-left {
        width: 100%;
        line-height: normal;
        text-align: center;
        display: inline-block;
        margin-top: 20px;
    }

    .bottom-right {
        width: 100%;
        float: right;
        line-height: normal;
        text-align: center;
        margin-top: 37px;
    }

    .bottom .wrap {
        height: 118px;
    }

    .bottom {
        padding: 38px 0 30px 0;
    }

    .bottom .bottom-right,
    .bottom .bottom-left {
        width: 100%;
        text-align: center;
    }

    .bottom .bottom-left p {
        line-height: 22px;
    }

    .services-2 .col-md-3:nth-child(2) .roll-content-box3:after{
        visibility: hidden;
    }
    .flex-control-nav{
        display: none;
    }


}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .bottom {
        padding: 38px 0 30px 0;
    }

    .bottom .bottom-right,
    .bottom .bottom-left {
        width: 100%;
        text-align: center;
    }

    .bottom .bottom-left p {
        line-height: 22px;
    }
}

@media only screen and (max-width: 767px) {
    .roll-slider .main-slider,
    .roll-slider .main-slider-2 {
        height: 320px !important;
    }

    .roll-slider .main-slider-2 .flex-control-nav.flex-control-thumbs li {
        width: 70px;
    }

    .roll-slider .main-slider ul.slides li div.content .big-text span,
    .roll-slider .main-slider ul.slides li div.content .big-text,
    .roll-slider .main-slider-2 ul.slides li div.content .big-text span,
    .roll-slider .main-slider-2 ul.slides li div.content .big-text {
        font-size: 28px;
        line-height: 33px;
    }

    /*    .roll-slider .main-slider ul.slides li div.col-md-12 div.text,
        .roll-slider .main-slider-2 ul.slides li div.col-md-12 div.text,
        .single-page .roll-slider .main-slider ul.slides li div.col-md-12 div.text {
            top: 10%;
        }*/

    .roll-slider .main-slider ul.slides li div.content .small-text,
    .roll-slider .main-slider-2 ul.slides li div.content .small-text {
        font-size: 14px;
        line-height: 17px;
    }

    .services-2 {
        padding: 25px 0 0px 0;
    }

    p.who-we-are,
    .entry-post p,
    p.meet-our-team,
    .roll-team p.text,
    .blog-page-alt .post .entry-post p,
    .roll-twitter .latest-tweets .tweet_text,
    .roll-advanced-video .text,
    .portfolio p.description{
        font-size: 14px;
    }

    .map {
        height: 400px;
        overflow: hidden;
    }

    .roll-advanced-video h1.small-bold {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .advanced-video {
        padding: 60px 0;
    }

    .about .item {
        margin-bottom: 15px;
    }

    .bottom .wrap{
        font-size: 12px;
    }

    .bottom {
        padding: 38px 0 30px 0;
    }

    .bottom .bottom-right,
    .bottom .bottom-left {
        width: 100%;
        text-align: center;
    }

    .bottom .bottom-left p {
        line-height: 22px;
    }
}

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

    .services-2 .roll-content-box3:after{
        left: 0;
        right: 0;
        margin: 0 auto;
        height: 1px;
        width: 80%;
        bottom: 15px;
        visibility: visible !important;
        top: 276px;
    }

    .roll-content-box3 p{
        text-align: center;
    }
    .about .roll-about .col-md-4{
        width: 90%; 
        text-align: center;
        float: none;
        margin: 0 auto;
    }
    h1.small-light {
        font-size: 27px;
    }

    .col-md-3,
    .col-md-4,
    .col-md-5{
        width: 100%;
    }

    .advanced-video {
        padding: 50px 0;
    }

    .roll-advanced-video h1.small-bold,
    .portfolio h1.small-light {
        font-size: 27px;
    }

    .roll-advanced-video .item h3{
        font-size: 18px;
        margin-bottom: 16px;
    }
    .map {
        height: 350px;
        overflow: hidden;
    }

    .portfolio {
        padding: 30px 0 0 0;
    }

    .single-page .portfolio{
        padding: 0;
    }

    .single-page .services h1.title.thin {
        margin: 0px 0 50px 0;
    }

    .single-page h1.title.thin {
        font-size: 40px;
        line-height: 40px;
        margin: 20px 0 20px 0;
    }

    .bottom {
        padding: 38px 0 30px 0;
    }

    .bottom .bottom-right,
    .bottom .bottom-left {
        width: 100%;
        text-align: center;
    }

    .bottom .bottom-left p {
        line-height: 22px;
    }

    .formulario {
        margin: 0px 20px 60px 20px;
    }
    .enlaces{
        text-align: center;
    }
}


/* Retina Devices */
@media 
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (   -moz-min-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {


}

