/***** Gestionamos el 1200px *****/
@media screen and (max-width: 1200px) {
    .feature.feature-sm .icon i {
        font-size: 28px;
    }

    .feature .icon i {
        font-size: 40px;
    }

    #main {
        width: 70%;
    }

    #aside {
        width: 30%;
    }

    /**AND 1200px ***/
}

/***** Gestionamos el 992px *****/
@media screen and (max-width: 992px) {
    .sticky-parent {
        clear: both;
        height: inherit !important;
        float: left;
        padding-top: 30px;
    }

    body {
        font-size: 16px;
    }

    /**AND 992px ***/
}

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

    body.offcanvas #aside {
        width: 35%;
    }

    #aside #main-menu ul {
        margin: 0 0 2em 0;
    }

    #aside #logo {
        margin-bottom: 1em;
    }

    #page {
        width: 100%;
        overflow: hidden;
        position: relative;
        top: -30px;
    }

    #hero .flexslider .slider-text > .slider-text-inner {
        text-align: center;
    }

    #hero .flexslider .slider-text > .slider-text-inner h1 {
        font-size: 28px;
    }

    #hero .flexslider .slider-text > .slider-text-inner .heading-section {
        font-size: 30px;
    }

    #hero .flexslider .slider-text > .slider-text-inner .btn {
        width: 100%;
    }

    #hero .flexslider .slider-text > .slider-text-inner .desc {
        bottom: 5%;
        width: 80%;
        margin: auto 10%;
    }

    #hero .flexslider .flex-control-nav {
        display: none;
    }

    #aside {
        width: 270px;
        -moz-transform: translateX(-270px);
        -webkit-transform: translateX(-270px);
        -ms-transform: translateX(-270px);
        -o-transform: translateX(-270px);
        transform: translateX(-270px);
        padding-top: 4em;
    }

    #aside .footer {
        position: relative;
        bottom: -100px;
    }

    #main {
        width: 100%;
    }

    .blog,
    .work,
    .about,
    .contact {
        padding: 0;
    }

    .about {
        padding-top: 5em;
    }

    .heading {
        margin-bottom: 1em;
    }

    .heading-meta {
        margin-top: 6em;
    }

    .about-desc h3,
    .clei h2,
    .blog-entry h2,
    .heading {
        font-size: 1.25em;
        line-height: 1.3;
        ;
    }

    #accordion a {
        font-size: 1em;

    }

    .blog-entry {
        margin-bottom: 3em;
    }

    .overlap {
        margin-top: 2em;
    }

    .social li a {
        padding: 10px 8px;
    }

    .row-bottom-padded-lg {
        padding-bottom: 1em;
    }

    .row-bottom-padded-md {
        padding-bottom: 1em;
    }

    .row-bottom-padded-sm {
        padding-bottom: 1em;
    }

    .pagination li a {
        padding: 7px 15px;
    }

    .nav-toggle {
        opacity: 1;
        visibility: visible;
        background-color: var(--main);
        color: white !important;
    }

    .nav-toggle.dark i::before,
    .nav-toggle.dark i::after {
        background: white;
        -webkit-transition: 0.2s;
        -o-transition: 0.2s;
        transition: 0.2s;
    }

    .nav-toggle i::before {
        top: -7px;
        background: white;
    }

    .nav-toggle i::after {
        bottom: -7px;
        background: white;
    }

    select {
        height: 45px;
    }

    /**AND 768px ***/
}


@media screen and (max-width: 640px) {
    body.offcanvas #aside {
        width: 60%;
    }
    figure figcaption {
        width: 100%;
    }

    #aside .footer {
        position: relative;
        bottom: -30px;
    }

    .col-xxs-12 {
        float: none;
        width: 100%;
    }

    #hero .flexslider .slider-text > .slider-text-inner .desc {
        padding: 15px;

    }

    #hero .flexslider .slider-text > .slider-text-inner .desc {
        bottom: 5%;
        width: 100%;
        margin: auto 0;
    }

    #hero .flexslider .slider-text > .slider-text-inner h1 {
        font-size: 1.2em;
        line-height: 2;
    }

    #hero .flexslider .slider-text > .slider-text-inner h2 {
        font-size: 1.2em;
        line-height: 1.5;
    }
    .desc #upa{
        font-size: 1em;
        padding: 1em 0 !important;
        line-height: 1.2;
 font-weight: 700;
 width: 80%;
 margin: 0 auto !important;
    }

    .desc-caption,
    .desc-caption strong {
        font-size: 0.85em;
    }

    .about-img {
        width: 80%;
        height: 350px;
    }
    .about-img .about-img-2 {
        height: 284px;
        top: 32px;
        right: -55px;
    }

    .feature .text {
        padding-left: 0px;
        width: 100%;
        position: relative;

        text-align: center;

    }

    .feature .icon {
        position: relative;
        margin: 0 auto;
        margin-bottom: 1em;
    }

    #blog{
        text-align: center;
    }

    .display-4 {
        font-size: 2.43rem;
        text-align: center;
    }

    #get-in-touch
    {
        text-align: center;
    }

#get-in-touch h3
{
    font-size: 2rem;
}

#contact  .feature .icon 
{
    position: absolute;
}

#contact .feature {
 margin-bottom: 0;

}
#contact .feature .feature-text {
    padding-left: 90px;
    width: 100%;
    margin-top: 0px;
}

#contact .feature.feature-sm .icon i {
    font-size: 3em;
}

.feature.feature-sm .text {
    margin-top: 0;
}

.feature.feature-sm .icon i {
    color: var(--main);
    font-size: 40px;
}

#location, #telefono
{
    display: none;
}

    /**AND 640px ***/
}
