/************************************************/
/*************** MORE THAN 1280PX ****************/
/************************************************/
@media only screen and ( min-width: 80.0625em ) {



    /*** POSTS ***/
    /* LONGFORM STORY */
    body.longform-story #content-main #content p.video,
    .longform-featured-image {
        clear: both;
        left: -58%;
        width: 192%;
    }

    body.longform-story #content-main #content p.video {
        padding-bottom: 108%;
    }

    body.longform-story .gallery {
        width: 126%;
    }


}





/************************************************/
/*************** MORE THAN LARGE ****************/
/************************************************/
@media only screen and ( min-width: 64.0625em ) {



    /*** POSTS ***/
    /* LONGFORM STORY */
    body.longform-story #widget-content-prefix1 .featured-image {
        height: calc(100vh - 154px );
    }

    body.longform-story #widget-content-prefix1 .featured-image .image-container {
        display: none;
    }

    /*** HOME ***/
    body.home #wrapper {
        overflow-x: hidden;
    }

    body.home ol#noticias-posts > li.no-image ~ li:not(.custom-more-link) a {
        min-height: 100px;
    } 

    #home-bottom .apply {
        margin-right: -200px;
        width: calc(84% - 100px);
    }
    #home-bottom .apply .content {
        width: 55%;
    }
  


}





/************************************************/
/***************** UP TO LARGE ******************/
/************************************************/
@media only screen and ( max-width: 64em ) {



    /*** POST ***/
    /* FEATURED IMAGE */
    .featured-image .image-container:not(.no-caption) {
        margin-bottom: -35px;
    }

    .featured-image .image-caption {
        position: relative;
    }

    /* CONTACTS */
    #post-contacts {
        margin: 0 -1rem;
    }

    #post-contacts li {
        padding: 0 1rem;
    }

    /* LONGFORM STORY */
    body.longform-story #zone-content-prefix {
        background-image: none!important;
    }

    body.longform-story #widget-content-prefix1 .featured-image .image-title {
        max-width: inherit;
    }

    body.longform-story .featured-image .image-container {
        background-color: rgba(34,34,34,0.8);
    }



    /*** HOME ***/
    #home-second {
        padding: 40px 0 60px 0;
    }

    body.home ol#noticias-posts > li.no-image ~ li:not(.custom-more-link) a {
        min-height: 125px;
    } 

    .home-map,
    .home-infographics {
        min-height: inherit;
    }

    .home-map p:last-of-type {
        position: relative;
        left: 0;
        text-align: center;
    }

    body.home ul.infographics li {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    body.home ul.infographics li:first-child {
        margin-bottom: 20px;
    }



    /*** POST ***/
    body.single .aligncenter {
        width: 98%!important;
    }



    /*** MAP ***/
    body.page-template-map #content #mapnav {
        /*float: left;*/
        height: 77px;
        padding: 5px 10px!important;
        width: 100%;
    }

    body.page-template-map #content #mapnav > li {
        float: left;
        margin-bottom: 0!important;
        padding: 0;
        width: 50%;
    }

    body.page-template-map #content #mapnav > li + li:not(:nth-child(even)) {
        border-left: 0;
    }

    body.page-template-map #content #mapnav > li:not(:nth-child(-n+2)) {
        border-top: 1px solid #9b9b9b;
    }

    body.page-template-map #content #mapnav > li a {
        display: block;
        padding: 10px;
    }
  


}





/************************************************/
/************** UP TO MEDIUM/LARGE **************/
/************************************************/
@media only screen and ( max-width: 52.0625em ) {


    /*** GENERAL SETTINGS ***/
    #wrapper {
        padding-bottom: 492px;
    }

    /*** POST ***/
    /* BLOG */
    body.blog:not(.paged) ol#posts > li:first-of-type > a > div {
        width: 100%!important;
    }

    /* SINGLE - MÁS NOTICIAS */
    ol#more-posts {
        display: flex;
        flex-wrap: wrap;
    }

    ol#more-posts li {
        flex-grow: 1;
        width: 50%;
    }

    ol#similar-posts li a img {
        margin-bottom: 0.75em;
        max-width: inherit;
        width: 100%;
    }

    /* CONTACTS */
    #post-contacts li {
        width: 50%;
    }

    /* GALLERY */
    #content #posts .postWrapper .post .gallery ul li {
        max-width: 33.33333%;
    }



    /*** SEARCH ***/
    body.search ul#posts > li > div:not(.post-no-image) {
        width: 47.5%!important;
    }



    /*** EXPERTOS ***/
    /*#expertos > li > .featured-image,
    #expertos > li > .post-details {
        width: 47.5%;
    }*/



    /*** FOOTER ***/
    
    /* FOOTER MENUS */
    #widget-footer-top .widget {
        float: left;
        width: 100%;
    }

    #widget-footer-top .widget + .widget {
        margin-top: 1.25rem;
    }

    #widget-footer-top ul {
        float: none!important;
        margin: 0 auto;
        text-align: center;
    }

    #widget-footer-top ul li {
        display: inline-block;
        float: none;
    }

    /* FOOTER MENUS */
    #widget-footer-top .widget_nav_menu ul li {
        border-width: 1px 0 0 0;
        display: block;
        padding: 1rem 0;
    }

    #widget-footer-top .widget_nav_menu ul li:first-of-type {
        padding-top: 0;
    }

    /* FOOTER CONTENT */
    #footer-content .content-container {
        text-align: center;
    }

    #footer-content .content-container > div {
        display: inline-block;
        float: none;
        text-align: left;
        vertical-align: top;
    }
  


}





/************************************************/
/***************** UP TO MEDIUM *****************/
/************************************************/
@media only screen and ( max-width: 40em ) {



    /*** GENERAL SETTINGS ***/
    blockquote {
        padding: 1.5em 0;
        word-wrap: break-word;
    }

    *[class^='align'], 
    *[class*=' align'] {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .table {
        overflow-x: scroll;
        overflow-y: hidden;
        width: 100%;
    }



    /*** HEADER ***/
    #zone-header-branding .logo-title .logo,
    #widget-header-second .widget_search,
    #widget-header-second .widget_search form.search-form {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    #zone-header-branding .logo-title .logo {
        text-align: center;
    }



    /*** PAGE ***/
    /* SIDEBAR */
    #widget-content-first .widget_categories ul {
        max-width: inherit;
    }



    /*** POST ***/
    /* BLOG */
    ol#posts > li {
        width: 100%;
    }

    /* CONTENT */
    body.single #content-main {
        max-width: 100%;
    }

    body.single .aligncenter {
        left: 0;
        max-width: 100%;
    }

    body.longform-story .alignright {
        float: none;
        margin: 0 auto 1.5rem auto;
    }

    /* RELATED POSTS */
    #posts-related,
    body.longform-story blockquote,
    body.longform-story .alignleft {
        margin-left: 0;
        min-width: inherit;
        width: 50%;
    }

    body.longform-story blockquote,
    body.longform-story .alignleft,
    body.longform-story .alignright {
        width: 100%!important;
    }

    /* CONTACTS */
    #post-contacts {
        margin: 0;
    }

    #post-contacts li {
        padding: 0;
        width: 100%;
    }

    /* SINGLE - MÁS NOTICIAS */
    ol#more-posts li {
        width: 100%;
    }

    /* GALLERY */
    #content #posts .postWrapper .post .gallery ul li {
        max-width: 50%;
    }



    /*** HOME ***/
    body.home ol#noticias-posts > li.no-image ~ li:not(:nth-child(2)) {
        margin-top: 0;
    }

    body.home ol#noticias-posts > li.no-image ~ li:not(.custom-more-link) a {
        border-bottom: 0;
        min-height: inherit;
    } 



    /*** SEARCH ***/
    body.search ul#posts > li > div {
        width: 100%!important;
    }



    /*** EXPERTOS ***/
    #expertos > li .postTitle {
        margin-top: 0;
    }



    /*** INVESTIGACIÓN ***/
    body.page-template-investigacion .novedades-listing > ol > li > img {
        margin-right: 0;
        max-width: inherit;
    }



    /*** MAP ***/
    body.page-template-map #content #countries .projects .image {
        margin: 0 0 1em 1em;
        width: 40%;
    }



    /*** FOOTER ***/

    /* FOOTER CONTENT */
    #footer-content .content-container > div {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #footer-content .content-container > div + div {
        margin-top: 1rem;
    }
  


}