/* Ajustes Tablets */
@media screen and ( max-width: 768px ) {

  html,
  body,
  .container,
  .content-wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  .content-wrap {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .menu-button,
  .menu-mobile {
    display: block;
  }
  .menu-button {
    position: relative;
  }

  /* Header */
  .header {
    height: 260px;
    width: 100%;
  }
  .header-wrapper {
    width: 100%;
  }
  .home-link  {
    height: auto;
    margin: 2%;
    width: 10%;
  }
  .slogan {
    display: none;
  }
  .right-header {
    margin: 2%;
  }
  /* End Header */

  /* Menu */
  .menu-wrapper {
    margin: 0 auto;
    top: 0;
    width: 100%;
  }
  /* Menú : Sliding menu navigation */
  .menu-item-has-children {
    position: relative;
  }
  .menu-item-has-children a {
    width: calc(100% - 100px);
  }
  .sub-menu {
    background: #404040;
    position: absolute;
    width: 100%;
    -webkit-transform: translate3d(260px,0,0);
    transform: translate3d(260px,0,0);
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    top: 0;
  }
  .menu-item-7775 .sub-menu-next-btn,
  .menu-item-7779 .sub-menu-next-btn,
  .menu-item-7775 .show-sub-menu,
  .menu-item-7779 .show-sub-menu {
    background: #67b4e6;
  }
  .show-sub-menu {
    bottom: 0;
    -webkit-transform: translate3d(-60px,0,0);
    transform: translate3d(-60px,0,0);
    -webkit-transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    transition-timing-function: cubic-bezier(0.7,0,0.3,1);
    position: fixed;
    top: 0;
    width: 380px;
    z-index: 1;
  }
  .sub-menu-next-btn {
    color: white;
    display: inline-block;
    position: relative;
    right: 0;
    width: 60px;
    height: 37px;
    text-align: center;
    top: 0;
    line-height: 34px;
  }
  .sub-menu-prev-btn {
    color: white;
    display: inline-block;
    position: absolute;
    left: 60px;
    width: 60px;
    height: 2.5em;
    text-align: center;
    top: 0;
    line-height: 2.2em;
  }
  .first-sub-menu-item {
    margin-top: 2.5em;
  }
  .sub-menu .menu-item {
    margin-left: 60px;
  }
  /* Menú : End Sliding menu navigation */
  .widget_search input[type="text"] {
    padding: 0 0 0 50px;
    width: calc(100% - 100px);
  }
  .menu-desktop {
    display: none;
  }
  .widget_search {
    width: 100%;
  }
  /* End Menu */

  /* Content */
  .content-wrapper {
    padding: 2% 2% 5%;
    width: 96%;
  }
  .nav_arrows_for_pages .content-wrapper {
    padding: 2% 2% 300px;
  }
  .page .breadcrumbs {
    width: 90%;
  }
  .featured-post {
    height: 300px;
  }
  .featured-post-item:nth-child(1) {
    height: 300px;
  }
  .middle-news-list {
    width: 66%;
  }
  .news-list {
    margin: 0 4% 4% 0;
  }
  .news-title-widget {
    margin-left: 0;
  }
  .news-list-item {
    height: inherit;
    margin: 0 0 20px;
    width: 100%;
  }
  .news-list-pageitem {
    margin: 0 0 20px;
    width: calc(50% - 10px);
  }
  .news-list-pageitem:nth-child(odd) {
    margin-left: 20px;
  }
  .press-list-item {
    height: 100px;
    margin: 0 0 20px 0;
    width: calc(50% - 50px);
  }
  .press-list-item:nth-child(even) {
    margin: 0 0 20px 20px;
  }
  .publications-list {
    height: 200px;
    margin: 0 0 20px 20px;
    width: calc(50% - 10px);
  }
  .publications-list:nth-child(odd) {
    margin: 0 0 20px;
  }
  .news-list-image {
    margin: 0 4% 0 0;
    width: 26%;
  }
  .news-list-title,
  .news-list-date {
    width: 70%;
  }
  .link-all-widget {
    margin: 0 0 40px;
    width: 100%;
  }
  .news-list .pagination {
    margin: 20px 0 0;
  }
  .sidebar-pages {
    margin-bottom: 4%;
  }
  .widget-gallery .gallery-page-item:nth-child(1) .gallery-page-image,
  .widget-gallery .gallery-page-item:nth-child(2) .gallery-page-image {
    height: 150px;
  }
  .widget-gallery .gallery-page-item:nth-child(3) .gallery-page-image,
  .widget-gallery .gallery-page-item:nth-child(4) .gallery-page-image,
  .widget-gallery .gallery-page-item:nth-child(5) .gallery-page-image {
    height: 100px;
  }
  .video-image {
    height: 260px;
  }
  .content-middle-text {
    width: 80%;
  }
  .content-page {
    width: 90%;
  }
  .multimedia-block {
    height: 300px;
  }
  .audience-big-title {
    margin: -2% -2% 40px;
    padding: 2%;
  }
  .gallery-page-image {
    height: 250px;
  }
  .header-banners {
    margin: 0 0 40px;
    width: 100%;
  }
  .banner-header-education:first-child {
    margin: 0;
  }
  .banner-header-education {
    margin: 0 0 0 30px;
  }
  .header-banner__left-block {
    margin-left: 0;
    width: 66%;
  }
  .header-banner-title-widget {
    margin-left: 0;
  }
  .banner-header-left-science {
    margin: 0 0 10px;
    width: calc(50% - 5px);
  }
  .banner-header-left-science:nth-child(odd) {
    margin-left: 10px;
  }
  .header-banner__right-block {
    float: right;
    margin: 0 0 30px;
  }
  .news-list-audience-science,
  .news-list-date-audience-science {
    width: 100%;
  }
  .navigations {
    width: 35%;
  }
  .nav-arrow {
    color: #303030;
  }
  .nav-left {
    left: 8%;
  }
  .nav-right {
    right: 8%;
  }
  .content-images {
    height: 70vh;
    width: 100%;
  }
  .image-navigation a {
    padding: calc(35vh - 25px) 0;
  }
  .previous-image a {
    left: 10px;
  }
  .next-image a {
    right: 10px;
  }
  .single-images {
	overflow: scroll;		
  }
  .sidebar-images {
/*    height: calc(30vh - 85px); */
	height: inherit;
    padding: 20px 4%;
    width: 92%;
  }
  .images-close {
    position: fixed;
  }
  .images-title {
    margin: 0 0 20px;
  }
  .images-content {
/*    display: none; */
  }
  /* End Content */

  /* Footer */
  .footer-content {
    padding: 4% 2%;
    width: 96%;
  }
  .footer-content-small {
    padding: 2%;
    width: 96%;
  }
  .footer-logos {
    width: 50%;
  }
  .footer-content .widget_text {
    font-size: 12px;
  }
  .footer-copyright {
    font-size: 13px;
  }
  .footer-wrapper {
    padding: 2% 2% 60px;
    width: 96%;
  }
  .copyright {
    font-size: 14px;
  }
  .menu-footer {
    display: inline-block;
    float: inherit;
  }
}

/* Ajustes Smartphones */
@media screen and ( max-width: 600px ) {
  /* Header */
  .header {
    background-size: cover!important;
    height: 180px;
  }
  .home-link {
    margin: 4%;
    width: 15%;
  }
  .right-header {
    margin: 4%;
  }
  /* End Header */

  /* Content */
  .content-wrapper {
    padding: 4% 4% 8%;
    width: 92%;
  }
  .nav_arrows_for_pages .content-wrapper {
    padding: 4% 4% 250px;
  }
  .page .breadcrumbs {
    width: 100%;
  }
  .featured-post {
    height: 300px;
  }
  .featured-post-item:nth-child(1) {
    height: 300px;
  }
  .middle-news-list {
    width: 100%;
  }
  .news-list {
    margin: 0 0 4%;
  }
  .news-list-pageitem {
    width: 100%;
  }
  .news-list-pageitem:nth-child(odd) {
    margin-left: 0;
  }
  .press-list-item {
    height: inherit;
    width: calc(100% - 40px);
  }
  .press-list-item:nth-child(even) {
    margin: 0 0 20px;
  }
  .publications-list {
    height: 200px;
    margin: 0 0 20px;
    width: 100%;
  }
  .news-list-image {
    width: 40%;
  }
  .news-list-title,
  .news-list-date {
    width: 56%;
  }
  .news-list-date {
    float: right;
  }
  .sidebar-pages {
    margin-bottom: 40px;
    width: 100%;
  }
  .widget-gallery {
    margin-bottom: 40px;
  }
  .widget-gallery,
  .widget-video,
  .content-page,
  .content-middle-text,
  .title-page {
    width: 100%;
  }
  .page .alignleft,
  .page .alignright {
    margin: 0 0 20px;
    width: 100%!important;
  }
  .page-team-list {
    width: calc(100% - 40px);
  }
  .page-team-list__first {
    margin: 0 0 40px;
    width: 100%;
  }
  .grid-item {
    width: 100%;
  }
  .jao-team-list {
    margin: 40px 0 0;
    width: 100%;
  }
  .page-jao-science-team .jao-team-list-item,
  .post-type-archive-jao-team .jao-team-list-item {
    margin-left: 0;
    width: calc(100% - 40px);
  }
  .multimedia-block {
    height: 200px;
    margin: 0 0 20px;
    width: 100%;
  }
  .gallery-page-image {
    height: 120px;
  }
  .video-item {
    width: calc(100% - 10px);
  }
  .audience-big-title {
    margin: -4% -4% 40px;
    padding: 4%;
  }
  .banner-header-education:first-child,
  .banner-header-education {
    margin: 0 0 10px;
    width: 100%;
  }
  .header-banner__left-block {
    margin-bottom: 30px;
    width: 100%;
  }
  .banner-header-left-science {
    margin: 0 0 10px;
    width: 100%;
  }
  .banner-header-left-science:nth-child(odd) {
    margin-left: 0px;
  }
  .header-banner__right-block {
    width: 100%;
  }
  .news-list-audience-science,
  .news-list-date-audience-science {
    width: 100%;
  }
  .navigations {
    width: 34%;
  }
  .nav-arrow {
    font-size: 100px;
    font-weight: 400;
    line-height: 130px;
  }
  .nav-left {
    left: 15%;
  }
  .nav-left .nav-arrow {
    margin-left: -45px;
  }
  .nav-right {
    right: 15%;
  }
  .nav-right .nav-arrow {
    margin-right: -45px;
  }
  .nav-image {
    height: 150px;
  }
  .nav-title {
    font-size: 14px;
    line-height: 1.4em;
  }
  .nav-prev,
  .nav-next {
    font-size: 12px;
    line-height: 1em;
  }
  .content-single {
    width: 100%;
  }
  .content-single div,
  .content-middle-text div {
    width: 100%!important;
  }
  .sidebar-single {
    margin: 40px 0;
    width: 100%;
  }
  .sidebar-images-thumbs-link {
    margin: 0 0 10px 3%;
    width: 22%;
  }
  /* End Content */

  /* Footer */
  .footer-content {
    display: inherit;
    padding: 4%;
    text-align: center;
    width: 92%;
  }
  .footer-content-small {
    padding: 2%;
    width: 96%;
  }
  .footer-logos {
    display: inherit;
    width: 100%;
  }
  .footer-content .widget_text {
    display: none;
  }
  .footer-copyright {
    font-size: 14px;
  }
  .footer-wrapper {
    padding: 4% 4% 60px;
    width: 92%;
  }
  .copyright {
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .menu-footer {
    display: inline-block;
    float: inherit;
  }
  .menu-footer .menu-item {
    display: block;
  }
  .menu-footer .menu-item:after {
    content: '';
  }
}