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

@media screen and (max-width: 1040px) {
    #primary{
        padding: 0 20px;
    } 
    .home #content article,
    .tag #content article,
    .archive #content article,
    .search #content article,
    .category #content article{
        margin: 0 4px 20px;
    }
}
@media screen and (max-width: 1024px) {
    #page{
        /*padding: 220px 0 0;*/
    }
    #primary{
        min-width: 640px;
    } 
    .home #content article,
    .tag #content article,
    .category #content article {
        margin: 0 4px 20px;
    }
    .customSidebar{
        min-width: 230px;
        width: 26%;
    }
}

@media screen and (max-width: 970px) {
    .home #page{
        /*padding: 260px 0 0;*/
    }
    #primary{
        min-width: 0;
        width: 94%;
    }
    .home #content article,
    .tag #content article,
    .category #content article {
        margin: 0 5px 20px;
        width: 48%;
    }
    .customSidebar{
        border: 0 none;
        clear: both;
        float: left;
        margin: 0 auto;
    }
    .customSidebar{
        text-align: center;
        width: 94%;
    }
    .customSidebar aside{
        background: none repeat scroll 0 0 #f1f2f2;
        border: 1px solid #dbd8d3;
        border-radius: 10px;
        float: left;
        margin: 0 10px 30px !important;
        min-height: 220px;
        padding: 10px;
        text-align: left;
        vertical-align: top;
        width: 230px !important;
    }
    .customSidebar .socialBtns,
    .customSidebar .widget_search{
        min-height: 84px;
    }
    .customSidebar .widget_search #searchform{
        height: 35px;
        margin: 24px 0;
        position: relative;
    }
    .customSidebar #knewsform_1 {
        margin: 10px auto;
    }
}
@media screen and (max-width: 930px) {
    #page{
        /*padding: 260px 0 0;*/
    }
}

@media screen and (max-width: 840px) {
    #page{
        /*padding: 300px 0 0;*/
    }
    #searchForm-y fieldset{
        top:0;
        margin:0;
    }
    .form-actions{
        margin: 0;
    }
    .home #content article,
    .tag #content article,
    .category #content article {
        /*margin: 0 16px 20px;*/
    }
    .customSidebar aside{
        display: inline-block;
        float: none;
    }
}

@media screen and (max-width: 768px) {
    .home #page{
        /*padding: 300px 0 0;*/
    }
    .form-actions{
        margin: 10px auto 0;
    }
    .home #content article .entry-header img,
    .tag #content article .entry-header img,
    .archive #content article .entry-header img,
    .search #content article .entry-header img,
    .category #content article .entry-header img{
        /*width: 100%;*/
    }
    footer#colophon .footerMenu {
        clear: both;
        display: block;
        float: none;
        margin: 0 auto;
    }
}

@media screen and (max-width: 740px) {
    #page{
        padding: 300px 0 0;
    }
}

@media screen and (max-width: 650px) {
    .home #page,
    #page{
        padding: 360px 0 0;
    }
    #primary {
        padding: 0 20px;
    }
    #searchForm-y fieldset#provinciaField{
        display: block;
        margin: 10px auto 0;        
    }
    .home #content article,
    .tag #content article,
    .category #content article {
        float: none;
        margin: 0 auto 20px;
        min-width: 306px;
        width: 100%;
    }
    footer#colophon .footerMenu {
        display: inline-block;
        margin: 20px 0 0;
        text-align: center;
    }
    footer#colophon .footerMenu li{
        float: none;
    }
    footer#colophon .footerMenu a{
        display: block;
        margin: 0 auto;
        width: 100%;
    }
    .customSidebar{}
    .customSidebar aside{
        display: block;
        margin: 0 auto 30px !important;
        min-height: 0;
        text-align: left;
        vertical-align: top;
    }
}

@media screen and (max-width: 630px) {
    .home #page,
    #page{
        padding: 400px 0 0;
    }  
    #primary {
        padding: 0 14px;
        width: 94%;
    }
    #masthead .loginBox {
        margin: 20px auto 10px;
        text-align: center;
        width: 100%;
    }
}