.center{
    position:absolute;
    width:700px;
    height:600px;
    top:50%;
    left:50%;
    margin-left:-350px;
    margin-top:-250px;	

}
.modalmask {
    position: fixed;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalmaskNumerada {
    position: fixed;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalmask:target {
    opacity:1;
    pointer-events: auto;
}

.modalmaskNumerada:target {
    opacity:1;
    pointer-events: auto;
}

.modalbox{
    width: 400px;
    position: relative;
    padding: 5px 20px 13px 10px;
    background: #fff;
    border-radius:3px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 20px;
    padding-right: 0px; 
    margin-top:20%;
}

.cross-icon{
   /* padding-left: 4px; */
    padding-top:3px;
}

.resize {
    margin: 5% auto;
    width:0;
    height:0;
}

.resizeT {
    margin: 10% auto;
    width:0;
    height:0;
}

.resizeKTK{
    margin: 4% auto;
    width:0;
    height:0;
    overflow-y:none;
}

.modalmask:target .resize, .modalmask:target .resizeT{
    width:60%;
    height:auto;
    overflow-y:auto;
    padding-bottom:20px;
    max-height: 100%;
}

#modal-kutxakide .modalbox{
    width:50% !important;
    height:auto !important;
}

@media (max-width: 920px) {
    #modal-kutxakide .modalbox{
        width:90% !important;
        height:auto !important;
    }
}

/*******BSM: INICI POPUP******/
#modal-reavis-lopd .modalbox{
    width: 729px;
    height:auto !important;
    background-color: white;    
}

#modal-reavis-lopd #divReavisLopd .up {
    background-color: #0D70B8;
    color: white;
    /*padding: 55px 42px;*/
}

#modal-reavis-lopd #divReavisLopd .up h1,
#modal-reavis-lopd #divReavisLopd .up h2,
#modal-reavis-lopd #divReavisLopd .up h3,
#modal-reavis-lopd #divReavisLopd .up h5 {
    margin: 0px;
    color: white !important;
}

#modal-reavis-lopd #divReavisLopd .up h1 {
    font-size: 38px;
    line-height: 40px;
    font-weight: 900;
    margin-bottom: 22px;
}

#modal-reavis-lopd #divReavisLopd .up h2 {
    font-size: 35px;
    line-height: 36px;
    font-weight: normal;
}

#modal-reavis-lopd #divReavisLopd .up h3 {
    font-size: 21px;
    line-height: 22px;
    font-weight: 900;
}

#modal-reavis-lopd #divReavisLopd .up h5 {
    font-size: 15px;
    line-height: 15px;
    font-weight: 100;
    margin-bottom: 10px;
}

#modal-reavis-lopd #divReavisLopd .up .banners {
    display: flex;
}

#modal-reavis-lopd #divReavisLopd .up .banner {
    border: solid 1.3px;
    padding: 19px 11px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.2);
}

#modal-reavis-lopd #divReavisLopd .up .banner * {
    text-shadow: 0 0 2px #0A0A0A;
}

#modal-reavis-lopd #divReavisLopd .up .banner:first-of-type {
    margin-right: 11px;
}

#modal-reavis-lopd #divReavisLopd .down {
    padding: 25px 63px;
    padding-bottom: 26px;
    background-color: white;
}

#modal-reavis-lopd #divReavisLopd .down h4 {
    color: #0D70B8;
    font-size: 18px;
    line-height: 18px;
    font-weight: 900;
    /*border-bottom: solid 1px;*/
    padding: 10px;
    text-align: center;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 17px;
}

#modal-reavis-lopd #divReavisLopd .down .field {
    display: flex;
    align-items: flex-start;
}

#modal-reavis-lopd #divReavisLopd .down label {
    font-size: 14px;
    line-height: 16px;
    font-family: Arial;
    padding-left: 10px;
}

#modal-reavis-lopd #divReavisLopd .down .logos {
    display: inline-block;/*display: flex; per PGUELL*/
    width: 19%;/*width: 300px; per PGUELL*/
    /*justify-content: space-between;per PGUELL*/
    /*margin-left: auto;per PGUELL*/
    /*margin-right: auto;per PGUELL*/
    /*margin-top: 22px;per PGUELL*/
    /*margin-bottom: 22px;per PGUELL*/
}

#modal-reavis-lopd #divReavisLopd .down .logos img {
    height: 76px;
    width: auto;
}

#modal-reavis-lopd #divReavisLopd .textInfoBasica {
    width: 80%;
    display: inline-block;
    vertical-align: top;
}

#modal-reavis-lopd #divReavisLopd .textInfoBasica p {
    font-size: 12px;
}


#modal-reavis-lopd .continuarReavis{
    background-color: #0D70B8;
    border: none;
    color: white;
    margin-left: auto;
    margin-right: auto;
    display: inherit;
    font-size: 23px;
    font-weight: 600;
    padding: 1px 25px;
    padding-bottom: 4px;
    cursor: pointer;
}

#modal-reavis-lopd .close{
    color: white;
    opacity: inherit;
}

/*
@media (max-width: 920px) {
    #modal-reavis-lopd .modalbox{
        width:90% !important;
        height:auto !important;
    }
}*/

@media (max-width:1000px) {
    #modal-reavis-lopd h1, #modal-reavis-lopd h2,
    #modal-reavis-lopd h3, #modal-reavis-lopd h4,
    #modal-reavis-lopd h5, #modal-reavis-lopd p{
        zoom:0.8;
    }
    
    #modal-reavis-lopd h1, #modal-reavis-lopd h2{
        zoom:0.9;
    }
    
    #modal-reavis-lopd .modalbox{
        width: 614px;
        height: 598px;
    }
    
    #modal-reavis-lopd .modalbox .up{
        padding: 34px 30px;
    }    
}

@media (max-width:740px) {
    #modal-reavis-lopd #divReavisLopd .up .banners {
        flex-direction: column;
    }

    #modal-reavis-lopd #divReavisLopd .up .banner:first-of-type {
        margin-right: 0px;
        margin-bottom: 20px;
    }
    
    #modal-reavis-lopd h1, #modal-reavis-lopd h2,
    #modal-reavis-lopd h3, #modal-reavis-lopd h4,
    #modal-reavis-lopd h5, #modal-reavis-lopd p,
    #modal-reavis-lopd label{    
        zoom:1;
    }
    
    #modal-reavis-lopd h1 br {
        display: none;
    }

    #modal-reavis-lopd .modalbox{
        width: 100%;
    }

    #modal-reavis-lopd #divReavisLopd .down,
    #modal-reavis-lopd #divReavisLopd .up {
        padding: 30px 30px;
    }

    #modal-reavis-lopd #divReavisLopd .up h1 {
        font-size: 23px;
        line-height: 24px;
    }

    #modal-reavis-lopd #divReavisLopd .up h3{
        font-size: 19px;
        line-height: 19px;
    }

    #modal-reavis-lopd #divReavisLopd .up h2 {
        font-size: 17px;
        line-height: 42px;
        font-size: 23px;
        line-height: 25px;
    }

    #modal-reavis-lopd #divReavisLopd .down h4{
        font-size: 16px;
        line-height: 15px;
    }
    
    
    
    #modal-reavis-lopd #divReavisLopd .up .banner:first-of-type {
        margin-right: 0px;
        margin-bottom: 8px;
    }
    
    #modal-reavis-lopd #divReavisLopd .popup .down .logos {
        flex-direction: column;
        width: auto;
    }
    
    #modal-reavis-lopd #divReavisLopd .down .logos img {
        margin-bottom: 10px;
    }       
    
    #modal-reavis-lopd #divReavisLopd .up .banner{
        padding: 10px 14px;
    }
    
    #modal-reavis-lopd #divReavisLopd .banner{
        flex-direction: column;
    }    
    


}

/*******BSM: FI POPUP******/

#modal-tarifaAmicCarnetJove .modalbox{
    width:35% !important;
    height:auto !important;
}

@media (max-width: 920px) {
    #modal-tarifaAmicCarnetJove .modalbox{
        width:90% !important;
        height:auto !important;
    }
}

.modal-auxDialog-location{
    margin-top: 20%;
}

#modal-window-sugerencia .modalbox{
    width:25% !important;
    max-height: 550px;
}

#modal-window-sugerencia-carrito .modalbox{
    width:25% !important;
    /*padding: 5px 5px 6px 5px;*/
}

#modal-window-sugerencia-carrito h4{
    border-bottom: 1px solid #999;
    margin-top:12px;
    margin-bottom:12px;
}

.modalmaskNumerada:target .resize{
    width:20%;
    height:auto;
    overflow-y:auto;
    padding-bottom:0px;
    max-height: 100%;
}

.close {
    line-height: 25px;
    position: absolute;
    right: 4px;
    text-align: center;
    top: 6px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius:3px;
    font-size:16px;
}

.close:hover { 
    color:#222;
}

.nsc{
    position:absolute;
    bottom:40%;
    right:0;
}

.modal-text{
    margin-bottom:20px;
}

.modal-text-description{
    padding-left: 15px;
    padding-right: 15px;
}


.modal-noPadding{
    padding-left: 0px; 
    padding-right: 0px;
}
.modal-text .text-info{
    margin-bottom: 7px;
    /*background: #E3F2F7;*/
    padding-left: 8px;
    padding-top: 8px;
    /*padding: 2px 20px;*/
    font-size: 20px;
    font-weight: 100;
    color: #1679bf;
   /* border-bottom: 1px solid #31708f;*/
}

.line-titol {
  border-bottom: 1px solid #77a1a3;
  height: 3px;
  margin-bottom: 8px;
}

.paddingButtonSug{
    padding-left:5px;
}

@media (max-width: 780px) { 
    .modalmask:target .resize{
        width:95%;
        /*max-height:400px;*/
    }

    .modalmaskNumerada:target .resize{
        width:95%;        
    }

    #modal-window-sugerencia-carrito .modalbox{
        width:80% !important;
    }
    
    #modal-window-sugerencia .modalbox{
        width:75% !important;
        max-height: 500px;
    }    
 }
 
#question .button-modal-window{
    width: 48% !important;
} 
 
.button-modal-window{
    background-color:#1679bf !important;
    color:#fff;
    margin-bottom: 80px;
    margin-top: 20px;
    height: 75px !important;
    border: none !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 0px !important;
    width: 30%;
}
 
.button-modal-window_no{
    float: right !important;
}

.button-modal-window_yes{
    float: left !important;
}

.modal-article-location{
    margin-top: 20%;
}