.backtoastdark, .backtoast, .backload, .backmodal {
    z-index: 999;
    background: rgba( 0, 0, 0, 0.55 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.modalme, .toast {
    z-index: 1000;
}

.boxalerta {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
}

.md-generic .contenido_modal, .md-info .contenido_modal, .md-error .contenido_modal, .md-warning .contenido_modal, .md-sucess .contenido_modal {
    background: #FFF;
}

.md-generic .header_modal, .md-info .header_modal, .md-error .header_modal, .md-warning .header_modal, .md-sucess .header_modal {
    padding: 10px 0;
    text-align: center;
    width: 100%;
   
    font-weight: normal;
    color: #ffffff;
    background: transparent;
}

.header_modal p {
    font-size: 32px;
    color: #FFF;
    margin-right: 0;
}

/****** Modal contenido  ******/
.contenido_modal{
    display: flex;
    border-radius: 15px;
}

.poster-img2 {
    display: none;
  }
  
  /* .card {
    width: 50vw;
    margin: 0 auto;
    display: flex;
    border-radius: 30px;
    background-color: #fff;
  }
   */
  .poster-img1 {
    width: 100%;
    height: 100%;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    object-fit: contain;
  }
  
  .left-card,
  .right-card {
    flex: 1;
  }
  
  .right-card {
    margin: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
  }
  
  /* .item-name,
  .main-title,
  .summary,
  .price,
  .btn {
    flex: 1;
  } */
  
  .item-name {
    /* font-family: "open sans"; */
    font-weight: 100;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 5px;
    color: #6c7289;
  }
  
  .main-title {
    /* font-family: "Fraunces"; */
    font-weight: 700;
    font-size: 2.5rem;
    color: #1c232b;
    margin: 0.5em 0;
  }
  
  .summary {
    /* font-family: "Montserrat"; */
    font-weight: 500;
    font-size: .9em;
    line-height: 1.8;
    color: #6c7289;
    text-align: left;
  }

  .summary .resumen{
    margin-bottom: 5px;
  }


  .summary li {
    margin: 2px;
    margin-left: 2em;
  }
  
  .summary li:before {
    content: '\f006';
    font-family: 'FontAwesome';
    float: left;
    margin-left: -1.5em;
    color: #36D2B6;
  }

  .summary h3{
    font-weight: 800;
  }
  
  .price {
    display: inline-flex;
    align-items: center;
  }
  .current-price {
    /* font-family: "Fraunces"; */
    font-weight: 700;
    font-size: 2.5rem;
    color: #002C73;
    margin: 0.5em 0.5em 0.5em 0;
  }
  
  .old-price {
    /* font-family: "Montserrat"; */
    font-weight: 500;
    font-size: 1rem;
    color: #6c7289;
  }
  
  .btn {
    /* font-family: "Montserrat"; */
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
    color: #fff;
    background-color: #002C73;
    padding: 1em;
    border-radius: 10px;
    border:none;
    transition: 0.5s;
    font-family: "Open Sans", sans-serif;
  }
  .btn:hover {
    background-color: #001435;
  }


  .boxalerta.video{
      /* max-width: 1200px !important; */
      width: 100%;
      /* min-width: 100%; */
  }


  .boxalerta.video .contenido_modal{
    width: 800px;
    background: transparent;
  }
  

  .modalextend {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
  }

  .modalextend .boxalerta{
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
  }


  .modalextend .contenido_modal {
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }

  .modalextend .contenido_modal .modalbg {
    width: 100%;
    height: -webkit-fill-available;
    position: absolute;
    object-fit: cover;
  }



  .modalextend .contenido_modal .modaltext {
    z-index: 1;
    height: 100%;
    object-fit: cover;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 2em;
    flex-direction: column;
    background: rgb(247,248,248);
background: -moz-linear-gradient(90deg, rgba(247,248,248,0) 11%, rgba(225,240,251,1) 61%);
background: -webkit-linear-gradient(90deg, rgba(247,248,248,0) 11%, rgba(225,240,251,1) 61%);
background: linear-gradient(90deg, rgba(247,248,248,0) 11%, rgba(225,240,251,1) 61%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f8f8",endColorstr="#e1f0fb",GradientType=1);
  }


  .modalextend .contenido_modal .modaltext img {
    max-width: 320px;
    height: auto;
    margin-bottom: 1em;

  }

  .modalextend .contenido_modal .modaltext p {
    font-size: 42px;
    max-width: 600px;
    color: #1176C0;
    line-height: 1.4;
    text-align: right;
    font-weight: 500;
  }

  .modalextend .contenido_modal .modaltext p strong {
    font-weight: 700;
  }

  .modaltext .botoneras_modal{
   justify-content: flex-end;
   width: 100%;
   margin-top: 1em;
  }

  .modaltext .botoneras_modal input{
    display: flex;
    margin: 0 auto;
    padding: 2em 0;
    align-items: center;
    background-clip: padding-box;
    background-color: transparent;
    border: 1px solid #9266cb;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #9266cb;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0 auto;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: fit-content;
    font-weight: 800;
  }

  .modaltext .botoneras_modal input:hover, .modaltext .botoneras_modal input:focus {
    border: 1px solid #9266cb;
    background: #9266cb;
    color: #FFF;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

  

  @media only screen and (max-width: 820px){
    .boxalerta.video .contenido_modal {
      width: 100%;
    }
  }

  @media only screen and (max-width: 768px){

  .contenido_modal{
    flex-direction: column;
  }
  .poster-img1 {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 15px;
    }
    .main-title {
        line-height: 1.4;
    }
    .contenido_modal h2 {
      display: none;
    }

    .modalextend .contenido_modal .modaltext {
      width: 100%;
    }
    .modalextend .contenido_modal .modaltext img {
      max-width: 200px;
    }
    .modalextend .contenido_modal .modaltext p {
      font-size: 28px;
      max-width: 90%;
      /* color: #1176C0;
      line-height: 1.4; */
      text-align: right;
      font-weight: 500;
  }
  .modaltext .botoneras_modal input {
    font-size: 1em;
  }

   
}


@media only screen and (max-width: 414px){
  .modalextend .contenido_modal .modalbg {
    position: absolute;
    object-fit: cover;
    object-position: left top;
  }
  .modalextend .contenido_modal .modaltext {

    
    text-align: center;
    justify-content: flex-end;
    align-items: center;

  }
  .modalextend .contenido_modal .modaltext p {

    max-width: 90%;
    text-align: center;
    margin: 0 auto;
  }
  .modalextend  .boton_cancelar {
    width: 100%;
    text-align: center;
    display: flex;
  }
  .modalextend .contenido_modal .modaltext {
    background: rgb(247,248,248);
    background: -moz-linear-gradient(180deg, rgba(247,248,248,0) 31%, rgba(225,240,251,1) 77%);
    background: -webkit-linear-gradient(180deg, rgba(247,248,248,0) 31%, rgba(225,240,251,1) 77%);
    background: linear-gradient(180deg, rgba(247,248,248,0) 31%, rgba(225,240,251,1) 77%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f8f8",endColorstr="#e1f0fb",GradientType=1);
  }
}


@media (max-height: 1000px) {
    .modalme {
        /* display: grid; */
        top: 0;
        position: fixed;
        overflow-y: auto;
    }
    .right-card {
        margin: 1rem;

    }
}