

/*
Author: Bootstrapthemes
Author URI: http://www.xpeedstudio.com
*/

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 50px;
    }
    
    .main_home .home_text h1 {
        font-size: 3.5rem;
    }
    
    .main_home .home_text h2 {
        font-size: 2.5rem;
    }
}

/* Portrait tablets and small desktops */
@media (max-width: 991px) {
    .sm-text-center{
        text-align: center !important;
    }
    .sm-pull-none{
        float: none !important;
    }
    .sm-m-top-10{
        margin-top:10px;
    }
    .sm-m-top-20{
        margin-top:20px;
    }
    .sm-m-top-30{
        margin-top:30px;
    }
    .sm-m-top-40{
        margin-top:40px;
    }
    .sm-m-top-50{
        margin-top:50px;
    }
    .item_img i{
        right:0%;
    }
    
    /* Navigation improvements */
    .navbar-brand img {
        max-height: 45px;
    }
    
    .navbar-nav > li > a {
        padding: 15px 10px;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Home section adjustments */
    .main_home .home_text h1 {
        font-size: 3rem;
    }
    
    .main_home .home_text h2 {
        font-size: 2rem;
    }
    
    .main_home .home_text h3 {
        font-size: 1.2rem;
    }
    
    /* Section spacing */
    .roomy-70 {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .roomy-50 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .roomy-30 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 768px) {
    h2{
        font-size:2rem;
    }
    p{
        font-size:90%;
        line-height: 2rem;
    }
    .xs-pull-none{
        float: none !important;
    }
    .xs-text-center{
        text-align: center !important;
    }
    .xs-m-top-10{
        margin-top:10px;
    }
    .xs-m-top-30{
        margin-top:30px;
    }
    .xs-m-bottom-10{
        margin-bottom:10px;
    }
    .xs-m-bottom-20{
        margin-bottom:20px;
    }

    .main_home .home_text h2{
        font-size:24px;
    }
    .main_home .home_text h1{
        font-size:32px;
    }
    .main_home .home_text h3{
        font-size:18px;
    }
    .main_product .carousel-control{
        display: none;
    }
    
    /* Navigation mobile improvements */
    .navbar-brand img {
        max-height: 40px;
    }
    
    .navbar-toggle {
        margin-right: 0;
        border: none;
        background: transparent;
    }
    
    .navbar-toggle:focus {
        outline: none;
    }
    
    .navbar-toggle .fa-bars {
        color: #fff;
        font-size: 20px;
    }
    
    .navbar-collapse {
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 10px;
    }
    
    .navbar-nav > li > a {
        color: #fff !important;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu {
        background: rgba(0,0,0,0.9);
        border: none;
    }
    
    .dropdown-menu > li > a {
        color: #fff !important;
        padding: 8px 20px;
    }
    
    /* Home section mobile */
    .main_home {
        padding: 80px 0 60px;
    }
    
    .main_home .home_text h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .main_home .home_text h2 {
        font-size: 20px;
    }
    
    .main_home .home_text h3 {
        font-size: 16px;
    }
    
    /* Section spacing mobile */
    .roomy-70 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .roomy-50 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .roomy-30 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    /* Features section mobile */
    .features_item {
        margin-bottom: 30px;
    }
    
    .f_item_icon {
        margin-bottom: 15px;
    }
    
    .f_item_text h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    /* Carousel mobile */
    .carousel-inner .item {
        padding: 20px 0;
    }
    
    .port_item {
        margin-bottom: 30px;
    }
    
    .port_img img {
        width: 100%;
        height: auto;
    }
    
    /* Contact form mobile */
    .form-control {
        margin-bottom: 15px;
    }
    
    /* Footer mobile */
    .footer .widget_item {
        margin-bottom: 30px;
    }
    
    /* News section mobile */
    .news-container {
        padding: 0 15px;
    }
    
    .snapwidget-widget {
        height: 400px !important;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .main_home .home_text h1 {
        font-size: 24px;
    }
    
    .main_home .home_text h2 {
        font-size: 18px;
    }
    
    .main_home .home_text h3 {
        font-size: 14px;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    .navbar-top {
        display: none;
    }
    
    .navbar-fixed {
        padding-top: 0;
    }
    
    .main_home {
        padding: 60px 0 40px;
    }
    
    .roomy-70 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .roomy-50 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    .roomy-30 {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .snapwidget-widget {
        height: 300px !important;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .head_title h2 {
        font-size: 1.8rem;
    }
    
    .head_title h3 {
        font-size: 1.4rem;
    }
}

/* Fix for iframe responsiveness */
.news-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.snapwidget-widget {
    display: block;
    margin: 0 auto;
}

/* Improve carousel responsiveness */
.carousel-inner .item .col-sm-3 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .carousel-inner .item .col-sm-3 {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .carousel-inner .item .col-sm-3 {
        width: 100%;
    }
}

/* Fix for tools section layout */
#herramientas .col-sm-3 {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    #herramientas .col-sm-3 {
        width: 100%;
        margin-left: 0 !important;
    }
}

/* Improve contact section */
#contact .col-md-6 {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    #contact iframe {
        width: 100%;
        height: 300px;
    }
}




/* Landscape phones and smaller */
@media (max-width: 479px) {
    html {
        font-size: 85%;
    }
    .main_home .home_text h1{
        font-size:28px;
    }
    .main_home .home_text h3{
        font-size:17px;
    }


}





@media (max-width: 400px) {


}

@media (max-width: 320px) {
    html {
        font-size: 60.5%;
    }




}



