@media (min-width: 2195px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: 2px;
  }
}

@media (min-width: 2000px) {
  .p_events-and-news article {
    padding-top: 80px;
  }
}

@media (min-width: 1760px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1717px;
  }
}

@media (max-width: 1520px) {
  :root {
    --m-megapad: 40px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  span {
    /*zoom:0.8;*/
  }

  .block {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .block.b_5 {
    padding-top: 180px;
    padding-bottom: 180px;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: 1px;
  }
}

@media (max-width: 1200px) {
  .block .subject img {
    width: 100%;
  }

  .fixed-top>.container {}

  header .mainimage {
    height: 250px;
    object-fit: cover;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: 1px;
  }

  header .collapse {
    display: none !important;
  }

  footer .collapse {
    display: block !important;
    padding-top: 36px;
  }

  .navbar-expand-lg .navbar-toggler {
    display: block;
  }

  footer nav.navbar {
    height: auto;
    padding-bottom: 10px;
  }

  footer .navbar-collapse .nav-link,
  footer .langmobile a,
  .langmobile .sep {
    font-size: 16px;
  }

  footer .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0px;
    margin-bottom: 18px;
  }

  footer .navbar.navbar-expand-lg .container {
    padding-left: 0px;
  }

  body header nav .navbar-collapse.collapse {
    display: none !important;
  }

  body header nav .navbar-collapse.collapse.show {
    display: block !important;
  }

  .navbar-toggler {
    font-size: 20px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .navbar-toggler[aria-expanded="true"] {
    color: white;
    border: none;
    z-index: 19191929121;
  }

  .navbar-toggler[aria-expanded="true"] span {
    background-color: white;
  }

  .navbar-collapse.collapse.show,
  .navbar-collapse.collapsing {
    background-color: black;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 100vh;
    padding-top: 100px;
  }

  .navbar-collapse.collapse.show * {
    color: white;
  }

  .nav-item.dropdown:not(.nav-item-has-submenu) {
    display: none;
  }

  .nav-item-has-submenu {
    display: block;
    height: auto;
  }

  .nav-item-has-submenu > .nav-link {
    display: block;
  }

  .nav-item-has-submenu .submenu-dropdown {
    display: none !important;
  }

  .navbar-collapse .nav-link,
  .langmobile a,
  .langmobile .sep {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 55px;
  }

  .langmobile {
    display: flex !important;
    padding-left: 30px;
    padding-right: 30px;
    justify-content: space-between;
    margin-top: 126px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .langmobile a {
    text-decoration: none;
  }

  .langmobile a.active {
    color: #E03C11 !important;
  }

  .langmobile .sep:last-of-type {
    display: none;
  }

  .nav-link.active {
    color: var(--c-research) !important;
  }

  /* Define the shape and color of the hamburger lines */
  .navbar-toggler span {
    display: block;
    background-color: #000000;
    height: 2px;
    width: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.35s ease-out;
    transform-origin: center left;
  }

  /* top line needs a little padding */
  .navbar-toggler span:nth-child(1) {
    margin-top: 0.3em;
  }

  /**
    * Animate collapse into X.
    */
  /* top line rotates 45 degrees clockwise and moves up and in a bit to close the center of the X in the center of the button */
  .navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
  }

  /* center line goes transparent */
  .navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
  }

  /* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button  */
  .navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg);
    margin-top: 7px;
  }

  /**
    * Animate collapse open into hamburger menu
    */
  /* top line moves back to initial position and rotates back to 0 degrees */
  .navbar-toggler span:nth-child(1) {
    transform: translate(0%, 0%) rotate(0deg);
  }

  /* middle line goes back to regular color and opacity */
  .navbar-toggler span:nth-child(2) {
    opacity: 1;
  }

  /* bottom line goes back to initial position and rotates back to 0 degrees */
  .navbar-toggler span:nth-child(3) {
    transform: translate(0%, 0%) rotate(0deg);
  }

  footer .navbar-collapse {
    display: block;
  }
}

@media (max-width: 1200px) {
  .destacada {
    height: auto;
    padding-bottom: 40px;
  }

  .authorbar .arrow {
    transform: scale(0.6);
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .fixed-top.navbar-expand-lg .navbar-collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.show,
  .navbar-collapse.collapsing {
    display: block !important;
  }

  .navbar-nav {
    flex-direction: column !important;
  }

  /*
  nav .nav-link, .langmobile a {
    font-size: 14px !important;
  line-height: 13px !important;
  }
body  .langmobile{
    display: none !important
  }
  */
}

@media (min-width:769px) and (max-width: 1200px) {
  footer .col-md-7 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --m-megapad: 0px;
    --pagepad: 15px;
  }

  .t_research .mainimage,
  .t_news .mainimage,
  .t_outcomes .mainimage,
  .t_conference .mainimage,
  .t_outreach .mainimage {
    height: auto;
    width: 100%;
  }

  .t_research article>.container,
  .t_news article>.container,
  .t_outcomes article>.container,
  .t_conference article>.container,
  .t_outreach article>.container {
    width: 100%;
    max-width: 100%;
  }

  .t_home header {}

  .t_research article,
  .t_news article,
  .t_outcomes article,
  .t_conference article,
  .t_outreach article {}

  .block.b_5 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .desktop {
    display: none;
  }

  .b_7 .col:nth-child(3),
  .b_7 .col:nth-child(4) {
    display: none;
  }

  .text .btn {
    margin-top: 50px;
  }

  .authorbar .arrow {
    transform: scale(0.4);
    margin-top: -3px;
  }

  .tricolor {
    flex-direction: column;
  }

  .wraphometopswiper {}

  .t_basic-page .maintitle {
    padding-bottom: 36px;
  }

  .t_basic-page header .titleetc {
    padding-top: 8px;
    padding-bottom: 25px;
    margin-bottom: 50px;
  }

  .pid_1041.t_basic-page header .titleetc {
    margin-bottom: -10px;
  }

  .b_11 .wholetitle {
    width: 100%;
  }

  .block.b_11 h3 {
    margin-bottom: 20px;
  }

  header .summary {
    padding-top: 10px;
  }

  .people2 {
    flex-direction: column;
    width: 100%;
  }

  .persontri {
    width: 150%;
    margin-bottom: 40px;
  }

  .persontri .txt {
    margin-top: 20px;
    width: calc(100vw - 30px);
  }

  .block.b_11 {
    padding-bottom: 0px;
    padding-top: 40px;
  }

  .block.b_11 .text {
    padding-bottom: 0px;
  }

  .persontriimg img {
    width: calc(100vw - 60px);
    padding-left: 30px;
  }

  .blockid_1131 img {
    height: 50vh;
    object-fit: cover;
  }

  header .wraphometopswiper .titles h2 {
    width: 100%;
  }

  header .mainimage {
    width: 100%;
    height: 169px;
    object-fit: contain;
  }

  .slideinf {}

  .infiniteslide {
    height: 120px;
  }

  .block h3 {}

  .block p {}

  header .wraphometopswiper {
    padding-top: 107px;
  }

  header .wraphometopswiper .titles {
    top: auto;
    bottom: 0px;
  }

  header .wraphometopswiper .titles h1 {
    margin-bottom: 4rem;
  }

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-left: var(--pagepad);
    padding-right: var(--pagepad);
  }

  .container .container-fluid {
    padding-left: 0px;
    padding-right: 0px;
  }

  .block.b_8 {
    background-image: none;
  }

  .btn {
    padding: 6px 34px;
    margin-top: 30px;
  }

  .fullvideo {
    width: 100%;
    padding: 0px;
  }

  .fullvideo .videowrap {
    width: 100%;
    padding: 0px;
    margin-left: calc(var(--pagepad) * -1);
    margin-right: calc(var(--pagepad) * -1);
    width: calc(100% + (var(--pagepad) * 2))
  }

  .post.pt_news .text {
    margin-top: 20px;
  }

  .post.pt_news .text .title {}

  .b_5 .centeredtext {
    padding-top: 40px;
    margin-bottom: 40px;
  }

  .block.b_5 .text {
    padding-bottom: 20px;
  }

  .b_5 .btn {
    margin-bottom: 40px;
  }

  div .rightimg img {
    margin-bottom: 0px;
  }

  div .leftimage img {
    margin-top: 0px;
  }

  .b_6 .swiper-horizontal .swiper-wrapper {
    padding-left: var(--pagepad);
  }

  footer .footerextra {
    flex-direction: column;
  }

  footer .navbar-toggler {
    display: none !important;
  }

  .footertext {
    margin-bottom: 20px;
  }

  .t_home .blockid_1121 {
    background-position: 15% 107px;
    background-size: 46%;
  }

  .t_home .blockid_1121 .col-md-6:last-of-type {
    padding-top: 262px;
  }

  header {
    padding-top: 50px;
  }

  .pid_1040 header .bottom-cont {
    padding-bottom: 0px;
  }

  header .infiniteslide_wrap {
    bottom: -441px;
  }

  .t_basic-page header .bottom-cont .row {
    flex-direction: column-reverse;
  }

  .t_basic-page header .bottom-cont {
    background-image: none;
  }

  .t_basic-page header .bottom-cont .col-md-6:first-of-type {
    height: 240px;
    background-image: url(../img/tri-hor.svg);
    background-size: 100%;
    background-repeat: repeat-y;
    background-position: top left;
  }

  .wholetitle {
    margin-bottom: 40px;
  }

  .b_4 .col-md-4 {
    margin-bottom: 80px;
  }

  .b_4 h5 {
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .bigperson.gallery {
    margin-bottom: 20px;
  }

  body .person h5,
  body .material h5 {
    font-size: 26px;
    margin-bottom: 15px;
    margin-top: 25px !important;
  }

  .links .link {
    margin-bottom: 15px;
  }

  .b_1 .generalimage {
    margin-bottom: 20px;
  }

  .b_12 .generalimage,
  .b_13 .generalimage {
    margin-bottom: 20px;
  }

  .block .text {
    padding-bottom: 57px;
  }

  .b_3 .text {
    margin-bottom: 40px;
  }

  .minipeople .person,
  .material {
    margin-bottom: 60px;
  }

  footer .navbar-collapse {}

  .filters {
    display: none;
    margin-left: -15px;
    margin-right: -15px;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
    border: none;
    padding: 25px;
  }

  .filters .allfilters {
    flex-direction: column;
  }

  .filters .formats {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;

  }

  .filters .formats,
  .custom-select,
  form.search {
    margin-bottom: 21px;
  }

  .custom-select {
    margin-left: 0px;
  }

  .filters .filter-format,
  form.search {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 21px;
  }

  .custom-select {
    width: 100%;
    font-size: 110%;
  }

  .search button[type=submit] {
    width: 13px;
    background-size: 100%;
    margin-left: -20px;
  }

  form.search {
    width: 100%;
  }

  .pid_1033 .filters form.search,
  .pid_1407 .filters form.search,
  .pid_1397 .filters form.search,
  .pid_1410 .filters.without-subtype-filter form.search,
  .pid_1399 .filters.without-subtype-filter form.search,
  .pid_1426 .filters form.search,
  .pid_1401 .filters form.search {
    margin-left: 0;
  }

  #searchinput {
    padding: 12px 11px;
  }

  #dofilter {
    margin-top: 0px;
    opacity: 1 !important;
    transform: translateZ(0) scale(1) !important;

  }

  .togglefilters {
    font-size: 18px;
    text-align: right;
    margin-bottom: 20px;
  }

  .togglefilters i {
    margin-left: 10px;
  }

  .image-container {
    /*  height: 180px; */
  }

  .pt_research {
    margin-bottom: 40px;
  }

  .pt_research .title {
    margin-bottom: 20px;
  }

  .pt_research .formats {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .swiper-button-prev {
    margin-right: 10px;
  }

  .swiper-button-next {
    margin-left: 10px;
  }

  .swiper-button,
  .swiper-button img {
    width: 25px;
    height: 25px;
  }

  article ul,
  article ol {
    padding-left: 14px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .articlebottom {
    flex-direction: column;
    margin-top: 40px;
  }

  .pid_1041 .bottom-cont .row .col-md-6:first-of-type {
    height: 68px;
  }

  .pid_1041 .destacada .datebar {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .post .date {
    margin-top: 3.5rem;
  }

  .block.b_6 {
    padding-bottom: 10px;
  }

  .pid_1041 .post .date {
    margin-top: 5px;
    display: block;
  }

  .catsandformats {
    margin-bottom: -8px;
  }

  .block.blockid_1121 {
    padding-bottom: 20px;
  }

  .block.b_7 {
    padding-bottom: 50px;
  }

  .b_4 .text {
    padding-bottom: 0px;
  }

  header .infiniteslide_wrap {
    margin-top: -132px;
    bottom: auto;
  }

  .newshome .destacadatitulo h1 {
    margin-bottom: 13px;
  }

  .pid_1033 .post .title,
  .pid_1041 .post .title {
    margin-top: 5px;
    margin-bottom: -2px;
  }

  .newshome .destacadatitulo {
    padding-bottom: 20px;
  }

  .pid_1041 article {
    padding-top: 0px;
  }

  .pid_1041 article .post {
    margin-bottom: 40px;
  }

  .pid_1041 article .post img {
    margin-bottom: 15px;
  }

  #scrolltotop {
    right: 15px;
    bottom: 15px;
  }

  .b_1 .firstrow {
    padding-bottom: 0px;
  }

  .toggleinfo {
    font-size: 16px;
    color: #D9AAA7;
    font-weight: 500;
    margin-bottom: 14px;
    margin-top: 10px;
  }

  .toggleinfo i {
    margin-left: 10px;
  }

  .person .totoggle {
    display: none;
  }

  i {
    display: inline-block;
  }

  i.rotate {
    transform: rotate(180deg);
  }

  .t_research header .formats,
  .t_news header .formats,
  .t_outcomes header .formats,
  .t_conference header .formats,
  .t_outreach header .formats {
    margin-top: 17px;
    margin-bottom: 18px;
  }

  .t_research .maintitle,
  .t_news .maintitle,
  .t_outcomes .maintitle,
  .t_conference .maintitle,
  .t_outreach .maintitle {
    margin-bottom: 23px;
  }

  .titleetc>.container {
    padding: 0px;
  }

  .t_research #main,
  .t_news #main,
  .t_outcomes #main,
  .t_conference #main {
    padding-top: 11px;
  }

  article h2,
  article h3,
  article h4,
  article h5 {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .post .image a,
  article a.linkblock {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .t_research article p:first-of-type strong,
  .t_news article p:first-of-type strong,
  .t_outcomes article p:first-of-type strong,
  .t_conference article p:first-of-type strong {
    font-size: 120%;
  }

  body article .shareicon {
    margin-right: 16px;
  }

  .articlebottom {
    padding-bottom: 14px;
    margin-bottom: 17px;
  }

  .shareicons {
    display: flex;
    justify-content: space-between;
  }

  .related {
    padding-top: 60px;
  }

  .related-swiper-wrap {
    padding-left: var(--pagepad);
    padding-right: var(--pagepad);
  }

  .related h3 {
    padding-left: var(--pagepad);
    padding-right: var(--pagepad);
  }

  .pid_1041 header .titleetc {
    border-bottom: none;
  }

  .spacer {
    height: 33px;
  }

  .material img {
    width: 100%;
  }

  .b_3 .generalimage {
    margin-bottom: 20px;
  }

  .t_basic-page .mainimage {
    height: auto;
  }

  header .swiper-slide {
    height: auto;
  }

  .block.b_7 .row {
    height: calc(100vw / 3.0);
  }
}

@media (min-width:575px) and (max-width: 770px) {
  .persontri {
    width: 100%;
  }

  .persontriimg {
    background-image: none !important;
  }

  .persontri .txt {
    width: 100%;
  }
}

@media (min-width: 630px) {
  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }
}
