/**
 * Theme Name: BeOne Child Theme
 * Template:   beigene20
 */

.home-banner-section .home-banner-inner .description {
    -webkit-line-clamp: none !important;
}
.btn-close {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75
}

.btn-close:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    opacity: 1
}

.btn-close.disabled,.btn-close:disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    opacity: .25
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: #fff;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

#modal-popup-asco {
    z-index: 9999;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        -webkit-transition: none;
        transition: none
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none
}

.modal-dialog-scrollable {
    height: calc(100% - 1rem)
}

.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem)
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;

    width: 700px;
    max-width: 90vw;
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px)
}

.modal-header .btn-close {
    padding: .5rem .5rem;
    margin: -.5rem -.5rem -.5rem auto
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;

    line-height: 35px;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px)
}

.modal-footer>* {
    margin: .25rem
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width:500px;
        margin: 1.75rem auto
    }

    .modal-dialog-scrollable {
        height: calc(100% - 3.5rem)
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem)
    }
}

@media (min-width: 992px) {
    .modal-xl {
        max-width:800px
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width:1140px
    }
}








    .modal-overlay {
        display: none;
        background: rgba(0, 58, 112, .8);
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9998;
    }

    #modal-popup, #name-change-modal, #modal-popup-asco {
        z-index: 9999;

        width: fit-content;
        height: fit-content;
        top: 36%;
        left: 50%;

        transform: translate(-50%, 0);

        width: 700px;
    }

    #modal-popup-asco {
        z-index: 9999;
        background: transparent;
    }

    #name-change-modal {
        top: 25%;
    }

    #modal-popup .modal-dialog, #modal-popup-asco .modal-dialog {
        /* position: absolute;
        top: 36%;
        left: 33%;
        right: 0; */
        margin: 0;
    }

    #modal-popup-asco .modal-dialog {
        margin-top: 50px;
        margin-bottom: -50px;
    }

    #modal-popup .modal-header, #name-change-modal .modal-header, #modal-popup-asco .modal-header {
        border-bottom: none;
        padding-top: 10px;
        padding-bottom: 0px;
    }

    #modal-popup .modal-footer, #name-change-modal .modal-footer, #modal-popup-asco .modal-footer {
        border-top: none;
    }

    .modal .btn-close {
        background: none;
        width: 25px;
        height: 25px;
        cursor: pointer;
    }

    @media (max-width: 991px) {

    }

    @media (max-width: 767px) {
        #modal-popup, #modal-popup-asco {
            top: 34%;
            max-width: 100%;
        }

        #name-change-modal {
            top: 22%;
            max-width: 100%;
        }

        .modal-content, #modal-popup, #name-change-modal{
            width: auto;
        }

        #modal-popup-asco {
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

        #modal-popup-asco .modal-content {
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }

        #modal-popup-asco .modal-header {
            padding-top: 10px;
            padding-bottom: 10px;
        }
    }


/*
CTC Separate Stylesheet
Updated: 2022-05-13 17:44:04
*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


.forzar-azul{color: #003a70;}
.ocultar-caption figure figcaption{background: transparent; text-align: center;color: #000;padding-bottom: 10px;}
.titulo-especial{
    color: rgb(238, 29, 37); 
    border-top: 5px solid rgb(238, 29, 37);
    border-bottom: 5px solid rgb(238, 29, 37);
    text-align: center;
    margin: 45px auto;
    font-size: 2.5rem;
}

.fila_3 .wp-block-column:first-child, .fila_3 .wp-block-column:last-child{
    flex-basis: 38.5%;
}

.fila_3 .wp-block-column:nth-child(2){
    flex-basis: 22%;
}
.fila_4 .wp-block-column:first-child{
    flex-basis: 61%;
} 
.fila_4 .wp-block-column:last-child{
    flex-basis: 39%;
}

.fila_5 .wp-block-column:first-child, .fila_5 .wp-block-column:last-child{
    flex-basis: 26%;
}

.fila_5 .wp-block-column:nth-child(2){
    flex-basis: 45%;
}


/* Palabras que rompen fronteras */
.page-id-23503 .is-layout-flex{
    gap: 10px;
}
.page-id-23503 header{
    background-color: #fff !important;
    background-image: url('https://www.beigene.es/wp-content/uploads/2024/08/BG-Header-palabras-ver-video-Zoom-IN.jpg') !important;
    background-position-x: center !important;
    background-position-y: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, scroll;
    background-size: cover !important;
    background-origin: padding-box, padding-box;
    background-clip: border-box, border-box;
}
.page-id-23503 header .breadcrumbs a, .page-id-23503 #breadcrumbs {
    color: #fff;
}
.page-id-23503 h3{
    font-size: 2.15rem;
}
.page-id-23503 figure figcaption{
    color: #003a70;
    font-size: 1.5rem;
}

@media (max-width:1485px) {
	header #mobile-nav-container {
		display: block !important;
	}
	header #nav-container {
		display: none !important;
	}
}

@media (max-width:991px) {
	.page-id-23503 header .breadcrumbs a, .page-id-23503 #breadcrumbs {
		color: #003a70;
	}
}
.copy-block .accordion {
	ol {
		margin-top:15px;
	}
	ol li {
		margin-bottom:10px;
	}
}
.page-id-23503 figure {
    margin: 0 0 1rem;
}
.page-id-23503 figure img {
    border-radius:10px;
}
/* 
#vimeoModal {
    z-index: 9999;
    width: fit-content;
    height: 100vh;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(100% - 50px);
    padding-bottom: 56.25%;
}
#vimeoModal .modal-dialog {
    height: 100vh;
    margin: 0 auto;
    width:100%;
    max-width: 100%;
}
#vimeoModal .modal-content {
    max-width: 90vw;
    width: 100%;
    height: 90vh;
    border: none;
    box-shadow:  0 0 10px rgba(0,0,0,0.2);
}
#vimeoModal iframe {
	width: 100%;
    padding-bottom: 56.25%;
    border: none;
}
.ratio.ratio-16x9 {
	height:100%;
}
 */
#vimeoModal {
	padding-bottom:0 !important;
	height: 90vh !important;
    top: 5vh !important;
    background-color:transparent !important;
}
#vimeoModal .modal-header {
    position: absolute;
    z-index: 100000;
    right: 0;
    border-bottom: 0;
    top: 17px;
}
#vimeoModal .btn-close svg rect {
	fill:#FFFFFF;
}
#vimeoModal .modal-content {
    max-width: 100vw !important;
    width: 90% !important;
    height: 100% !important;
    border: none !important;
    box-shadow: none !important;
    margin: auto !important;
  	background-color:transparent !important;  /* Optional: black background for cleaner video look */
}

#vimeoModal .modal-dialog {
  	background-color:transparent !important;  /* Optional: black background for cleaner video look */
  	height: 100% !important;
}
/* Ensure modal dialog is 80% of the screen width */
#vimeoModal .modal-dialog {
  max-width: 80vw;         /* 80% of viewport width */
  margin: auto;
}

/* Add padding and center video properly */
#vimeoModal .modal-body {
  padding: 20px;           /* 20px padding around the video */
  background-color:transparent !important;  /* Optional: black background for cleaner video look */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:  none;
}
#vimeoModal iframe {
	height:100% !important;
	width: 100% !important;
    padding-bottom: 0 !important;
    border: none !important;
}
.ratio.ratio-16x9 {
	height:100% !important;
	width: 100% !important;
}
/* Keep the containing div 16:9 ratio */
#vimeoModal .video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;     /* 16:9 aspect ratio (9/16 = 0.5625) */
  overflow: hidden;
  border-radius: 8px;      /* Optional rounded corners */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Make iframe fill container */
#vimeoModal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}
.modal-overlay {
	z-index:999;
}
.menu-item-has-children > ul.sub-menu ul.sub-menu {
	max-width:50%;
}
.home-banner-inner .hero-title {
    max-width: 100%;
}
.home-banner-inner .hero-title.hero-anim-title {
    max-width: 800px;
}
.float_prod_logo {
    top: 50px;
    position: absolute;
    right: -24vw;
    width: 20vw;
}


	
