@import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900");
@media (min-width: 1001px) {
  .only_desktop {
    display: flex;
  }

  .only_mobile {
    display: none !important;
  }

  .tour-content {
    width: 100%;
    position: relative;
    max-width: 1200px;
    position: relative;
    margin: 0 auto 80px;
  }
  .tour-content .content-blocks {
    position: relative;
    box-sizing: border-box;
    z-index: 1;
  }
  .tour-content label {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
  }
  .tour-content .tour-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
  }
  .tour-content .tour-menu .btn-tour {
    min-width: 54px;
    min-height: 54px;
    display: inline-block;
    position: relative;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    cursor: pointer;
    padding: 0;
  }
  .tour-content .tour-menu .btn-tour span {
    font-family: 'Roboto';
    font-size: 11px;
    font-weight: 500;
    z-index: 6;
    padding-top: 20px;
  }
  .tour-content .tour-menu .btn-tour.contrarreloj {
    background: url("https://css2.rtve.es/css/rtve.2021.deportes/vuelta-espana-TE_SVUEL21/tabla_etapas/icono_contrarreloj.png") no-repeat top center;
  }
  .tour-content .tour-menu .btn-tour.contrarreloj.activo {
    background: url("../img/icono_contrarreloj-w.png") no-repeat top center, #e30613;
  }
  .tour-content .tour-menu .btn-tour.llano {
    background: url("https://css2.rtve.es/css/rtve.2021.deportes/vuelta-espana-TE_SVUEL21/tabla_etapas/icono_llano.png") no-repeat top center;
  }
  .tour-content .tour-menu .btn-tour.llano.activo {
    background: url("../img/icono_llano-w.png") no-repeat top center, #e30613;
  }
  .tour-content .tour-menu .btn-tour.rompepiernas {
    background: url("https://css2.rtve.es/css/rtve.2021.deportes/vuelta-espana-TE_SVUEL21/tabla_etapas/icono_media_montania.png") no-repeat top center;
  }
  .tour-content .tour-menu .btn-tour.rompepiernas.activo {
    background: url("../img/icono_media_montania-w.png") no-repeat top center, #e30613;
  }
  .tour-content .tour-menu .btn-tour.montania {
    background: url("https://css2.rtve.es/css/rtve.2021.deportes/vuelta-espana-TE_SVUEL21/tabla_etapas/icono_montania.png") no-repeat top center;
  }
  .tour-content .tour-menu .btn-tour.montania.activo {
    background: url("../img/icono_montania-w.png") no-repeat top center, #e30613;
  }
  .tour-content .tour-menu .btn-tour.activo {
    position: relative;
    opacity: 1;
    background-color: #e30613;
    color: #fff;
    border-radius: 50%;
  }
  .tour-content .tour-menu .btn-tour:hover {
    opacity: 0.5;
  }
  .tour-content .tour-menu .btn-tour img {
    width: 30px;
  }
  .tour-content .tour-menu.imgs li {
    margin-right: 16px;
    flex: 1 1 0;
  }
  .tour-content .tour-menu.imgs li:last-child {
    margin-right: 0;
  }
  .tour-content .tour-menu.icons {
    margin: 0 0 10px;
  }

  .block {
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 0;
    box-sizing: border-box;
  }
  .block.activo {
    opacity: 1;
    z-index: 9999;
  }
  .block-columns {
    display: flex;
    justify-content: space-between;
  }
  .block-columns:first-child {
    padding: 40px 40px 110px;
    background: #e30613;
    background: url("../img/bck-vuelta.jpg?V=1110") top center/100% no-repeat;
    min-height: 230px;
    align-items: stretch;
  }
  .block-columns:last-child {
    gap: 24px;
  }
  .block-columns:last-child .grafico {
    width: 100%;
    max-width: 848px;
  }
  .block h2 {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 20px;
    margin-top: 0;
  }
  .block .content-text {
    width: 75%;
    box-sizing: border-box;
  }
  .block .content-text p {
    margin-top: 0;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: #000000;
  }
  .block .content-text .date {
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 32px;
    line-height: 1.3;
    color: #000000;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .block .content-info {
    padding-top: 50px;
    min-width: 20%;
    max-width: 20%;
  }
  .block .content-info p {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
  }
  .block .content-info ul {
    padding: 0;
    margin: 0;
  }
  .block .content-info li {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #000000;
    list-style: none;
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
  }
  .block .content-info li.kms:before {
    background: url("../img/distancia.svg?v=28");
  }
  .block .content-info li.type {
    text-transform: capitalize;
  }
  .block .content-info li.llana:before {
    background: url("../img/llana.svg?v=28");
  }
  .block .content-info li.rompepiernas:before {
    background: url("../img/rompepiernas.svg?v=28");
  }
  .block .content-info li.montania:before {
    background: url("../img/montania.svg?v=28");
  }
  .block .content-info li.contrarreloj:before {
    background: url("../img/contrarreloj.svg?v=28");
  }
  .block .content-info li:before {
    content: "";
    min-width: 32px;
    min-height: 32px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
  }
  .block .content-imgs .mapa {
    width: 282px;
    height: intrinsic;
  }

  .tour-buttons {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 20px;
    position: relative;
    z-index: 9;
    padding: 0 32px;
    box-sizing: border-box;
    top: 260px;
  }
  .tour-buttons button {
    background: transparent;
    color: #000;
    border: 0;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
  }
  .tour-buttons button .arrow {
    display: block;
    width: 56px;
    height: 43px;
    background: url("../img/arrow.svg");
    margin-bottom: 10px;
  }
  .tour-buttons button .arrow:hover {
    background: url("../img/arrow-hover.svg?V=2");
  }
  .tour-buttons button:disabled {
    opacity: 0;
    cursor: none;
  }
  .tour-buttons button.btn-next .arrow {
    transform: rotate(180deg);
  }
}
@media (max-width: 1001px) {
  .only_desktop {
    display: none !important;
  }

  .only_mobile {
    display: block !important;
  }

  .tour-select {
    width: 100%;
    padding: 27px 20px;
    box-sizing: border-box;
    position: relative;
  }
  .tour-select label {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    margin-bottom: 10px;
    display: block;
  }
  .tour-select .custom-select {
    position: relative;
    width: 100%;
    font-family: sans-serif;
    user-select: none;
  }
  .tour-select .selected-option {
    border: 1px solid #333;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE0IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTMuNzA3MSAwLjI5Mjg5M0MxNC4wOTc2IDAuNjgzNDE4IDE0LjA5NzYgMS4zMTY1OCAxMy43MDcxIDEuNzA3MTFMNy43MDcxMSA3LjcwNzExQzcuMzE2NTggOC4wOTc2MyA2LjY4MzQyIDguMDk3NjMgNi4yOTI4OSA3LjcwNzExTDAuMjkyODkzIDEuNzA3MTFDLTAuMDk3NjMxNSAxLjMxNjU4IC0wLjA5NzYzMTUgMC42ODM0MTcgMC4yOTI4OTMgMC4yOTI4OTNDMC42ODM0MTcgLTAuMDk3NjMxNyAxLjMxNjU4IC0wLjA5NzYzMTcgMS43MDcxMSAwLjI5Mjg5M0w3IDUuNTg1NzlMMTIuMjkyOSAwLjI5Mjg5M0MxMi42ODM0IC0wLjA5NzYzMTIgMTMuMzE2NiAtMC4wOTc2MzExIDEzLjcwNzEgMC4yOTI4OTNaIiBmaWxsPSIjMDAwQzFBIi8+Cjwvc3ZnPgo=) no-repeat right 10px center, #fff;
  }
  .tour-select .options-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: none;
    position: absolute;
    width: 100%;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    z-index: 100;
  }
  .tour-select .options-list.show {
    max-height: 300px;
    transition: max-height 0.3s ease-in;
    overflow: scroll;
  }
  .tour-select .options-list li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
  }
  .tour-select .options-list li:hover {
    background-color: #007aff;
    color: white;
  }

  .tour-content {
    width: 100%;
    position: relative;
    margin: 0 auto 80px;
    background: #e30613;
    background: url("../img/bck-vuelta.jpg?V=1110") top right -100px/cover no-repeat;
    min-height: 500px;
  }
  .tour-content .content-blocks {
    position: relative;
    box-sizing: border-box;
    z-index: 1;
  }

  .block {
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 0;
    box-sizing: border-box;
  }
  .block.activo {
    opacity: 1;
    z-index: 9999;
  }
  .block-columns {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
  }
  .block-columns:first-child {
    min-height: 310px;
  }
  .block-columns:last-child {
    gap: 24px;
  }
  .block h2 {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 28px;
    line-height: 32px;
    color: #000000;
    margin-bottom: 20px;
    margin-top: 0;
  }
  .block .content-text {
    box-sizing: border-box;
  }
  .block .content-text p {
    margin-top: 0;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    color: #000000;
  }
  .block .content-text .date {
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .block .content-info p {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
  }
  .block .content-info ul {
    display: flex;
    gap: 10px;
    padding: 0;
  }
  .block .content-info li {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    list-style: none;
    display: flex;
    align-items: center;
  }
  .block .content-info li.kms:before {
    background: url('../img/distancia.svg?v=2"') no-repeat;
  }
  .block .content-info li.type {
    text-transform: capitalize;
  }
  .block .content-info li.llana:before {
    background: url("../img/llana.svg") no-repeat;
  }
  .block .content-info li.rompepiernas:before {
    background: url("../img/rompepiernas.svg") no-repeat;
  }
  .block .content-info li.montania:before {
    background: url("../img/montania.svg") no-repeat;
  }
  .block .content-info li.contrarreloj:before {
    background: url("../img/contrarreloj.svg") no-repeat;
  }
  .block .content-info li:before {
    content: "";
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
  }
  .block .content-imgs {
    display: flex;
    flex-direction: column-reverse;
  }
  .block .content-imgs .grafico {
    padding-top: 65px;
  }

  .tour-buttons {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 20px;
    position: relative;
    z-index: 9;
    padding: 0 20px;
    box-sizing: border-box;
    top: 350px;
  }
  .tour-buttons button {
    background: transparent;
    color: #000;
    border: 0;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
  }
  .tour-buttons button .arrow {
    display: block;
    width: 56px;
    height: 43px;
    background: url("../img/arrow.svg");
    margin-bottom: 10px;
  }
  .tour-buttons button:disabled {
    opacity: 0;
    cursor: none;
  }
  .tour-buttons button.btn-next .arrow {
    transform: rotate(180deg);
  }
}
