@media screen and (max-width: 1005px)
{
    body
    {
        padding: 0 5px;
    }
    
    div#content-atec
    {
        width: auto;
    }
    
    div#content-inner
    {
        background: none;
        padding: 10px 20px;
    }
    
    #page 
    {
        padding: 10px 0;
    }
    
    .title-wrapper 
    {
        text-align: center;
        padding: 5px 0 10px 0;
        margin: 0;
    }
    
    .title-wrapper .search
    {
        position: static;
        margin: 10px auto;
    }
    
    #primary
    {
        width: 100%;
        clear: both;
        float: none;
    }
    
    #content {
    	margin: 0 auto !important;
    }
    
    #secondary {
    	margin: 0 auto !important;
    }
    
    .highest-rated-posts,
    .popular-posts {
    	width: 49%;
    }
    
    #secondary {
    	margin: 20px 0;
    }
        
    article.post
    {
        width: calc(44% - 5px);
        margin: 3%;
    }
    
    article.post .entry-image a
    {
        height: 1px;
        padding-bottom: 100%;
    }
    
    body.category article.post .entry-image a, 
    body.tag article.post .entry-image a, 
    body.search article.post .entry-image a
    {
        height: inherit;
        padding-bottom: 0;    
    }
    
    .related-posts,
    #secondary .widget_recent_entries
    {
        width: 480px;
        margin: 0 auto;
        text-align: center;
    }
    
    .related-posts .related-post,
    #secondary .widget_recent_entries .recent-post
    {
        width: 180px;
        margin: 20px;
    }
    
    .related-posts .related-post .image,
    #secondary .widget_recent_entries .recent-post .image 
    {
        width: 100%;
    }
    
    #secondary
    {
        clear: both;
        float: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    #secondary .opciones-contratacion
    {
        width: 300px;
    }
    
    #bottom-nav
    {
        margin-top: 20px;
    }
    
    /* Footer */
   
    div#content-bottom,
    #index div#content-bottom,
    #consulta_ahora div#content-bottom {
        background: #f2f2f2;
        height: auto;
        padding-top: 23px;
        margin-top: 40px;
        text-align: center !important;
    }
    
    #content-bottom .wma-logo,
    #content-bottom .wis-logo {
        float: none;
        text-align: center;
        padding: 15px 0 0 0;
        margin: 0;
        width: auto;
        position: static;
    }
    
    div#content-bottom div.footer-menu {
        text-align: center;
    }
}

@media screen and (max-width: 630px)
{
    body.single-post article.post .alignleft
    {
        display: block;
        float: none;
        margin: 20px auto;
    }
    
    body.single-post article.post .entry-meta,
    body.single-post article.post .entry-title
    {
        text-align: center;
    }
    
    div#content-inner
    {
        padding: 20px 0;
    }
}

@media screen and (max-width: 500px)
{
    .title-wrapper input#s
    {
        width: 130px;
    }
    
    .title-wrapper .search
    {
        width: 230px;
    }
    
    article.post
    {
        width: auto;
        max-width: 320px;
        margin: 20px auto 30px auto;
        display: block;
    }
    
    body.single-post article.post
    {
        max-width: 100%;
    }
    
    body.single-post article.post .rate
    {
        text-align: center;
    }
    
    body.single-post article.post .rate .rateit
    {
        position: static;
        margin-top: 10px;
    }
    
    body.single-post article.post .entry-content .share
    {
        text-align: center;
    }
    
    body.single-post article.post .entry-content .share .synved-social-container
    {
        position: static;
        display: block;
        margin-top: 10px;
    }
    
    body.category article.post, 
    body.tag article.post, 
    body.search article.post
    {
        width: 100%;
        display: block;
        margin: 0 auto;
    }
    
    body.category .page-title, 
    body.tag .page-title, 
    body.search .page-title
    {
        text-align: center;
    }
    
    body.category article.post .entry-data, 
    body.tag article.post .entry-data, 
    body.search article.post .entry-data
    {
        float: none;
        width: 100%;
        margin-top: 10px;
    }
    
    body.category article.post .entry-image, 
    body.tag article.post .entry-image, 
    body.search article.post .entry-image
    {
        width: 100%;
        height: auto; 
        float: none;
        margin-right: 12px;
    }
    
    body.category article.post .entry-image a, 
    body.tag article.post .entry-image a, 
    body.search article.post .entry-image a
    {
        height: 1px;
        padding-bottom: 100%;
    }
    
    .highest-rated-posts,
    .popular-posts {
    	margin: 20px auto;
    	float: none;
    	width: auto;
    }
    
    .related-posts,
    #secondary .widget_recent_entries
    {
        width: 100%;
    }
    
    .related-posts .related-post,
    #secondary .widget_recent_entries .recent-post 
    {
        width: 100%;
        float: none;
        clear: both;
        max-width: 280px;
        margin: 10px auto 30px auto;
    }
    
    #secondary .widget_recent_entries .recent-post:nth-of-type(1)
    {
        margin-right: auto;
    }
    
    .related-posts .related-post .image,
    #secondary .widget_recent_entries .recent-post .image 
    {
        width: 100%;
    }
    
    #bottom-nav .nav-guide
    {
        display: none;
    }
}

@media screen and (max-width: 360px)
{
    #secondary .opciones-contratacion
    {
        width: 100%;
    }
    
    #secondary .opciones-contratacion h2
    {
        font-size: 16px;
    }
    
    #secondary .opciones-contratacion .icons {
    	min-height: 40px;
    }
    
    #secondary .opciones-contratacion .icons .icono
    {
        width: 30px;
        height: 32px;
        background-size: cover;
    }
    
    #secondary .opciones-contratacion .right-content
    {
        width: calc(100% - 130px);
    }
}