.boxy-wrapper { position: absolute; }
.boxy-wrapper.fixed { position: fixed; }
.boxy-wrapper.fixed.fixedAll {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 15px;
}
.boxy-wrapper.fixed.fixedAll.fixedAllSecundary {
    margin: 0;
}

  /* Modal */
.boxy-modal-blackout { 
    position: absolute; 
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; 
    z-index: 2;
}

.boxy-modal-blackout.fixed { 
    position: fixed; 
}

  .boxy-modal-blackout.boxyBlack { background-color: rgba(0, 0, 0, 0.9); }
  
  /* Border */

  .boxy-wrapper { empty-cells: show;}
    .boxy-wrapper .boxy-top-left,
    .boxy-wrapper .boxy-top-right,
    .boxy-wrapper .boxy-bottom-right,
    .boxy-wrapper .boxy-bottom-left { width: 2px; height: 2px; padding: 0 }
    
    :root .boxy-wrapper .boxy-top-left { height: 2px; background-color: #000; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
    :root .boxy-wrapper .boxy-top-right { height: 2px; background-color: #000; opacity: 0.6; filter: alpha(opacity=60); padding: 0}
    :root .boxy-wrapper .boxy-bottom-right {height: 2px; background-color: #000; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
    :root .boxy-wrapper .boxy-bottom-left { height: 2px; background-color: #000; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
    
    /* IE6-8 hacks for the border. IE7+8 should support this natively but fails in conjuction with modal blackout bg. */
    /* NB: these must be absolute paths or URLs to your images */
    
    
    .boxy-wrapper .boxy-top,
    .boxy-wrapper .boxy-bottom { height: 2px; background-color: #000; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
    
    .boxy-wrapper .boxy-left,
    .boxy-wrapper .boxy-right { width: 2px; background-color: #000; opacity: 0.6; filter: alpha(opacity=60); padding: 0 }
    
    /* Title bar */
    
.boxy-wrapper .title-bar { background-color: #fff; padding: 6px; position: relative; border-bottom: solid 1px#bdbdbd;}
.boxy-wrapper .title-bar.dragging { cursor: move; }
.boxy-wrapper .title-bar h2 { 
    line-height: 1; 

    font-size: 20px;
    color: #565656;
    margin: 0;
    padding: 10px 20px;
    font-family: sfUiDisplayHeavy, Helvetica;
}
.boxy-wrapper .title-bar .close { color: blue; position: absolute; top: 6px; right: 6px; font-size: 90%; line-height: 1; }
        
    /* Content Region */
    
.boxy-inner {
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0;
    -webkit-border-radius: 10px; /* border-radius para Safari y Chrome */
    -moz-border-radius: 10px; /* border-radius para Firefox */
    -khtml-border-radius: 10px; /* border-radius para navegadores Linux */
    border-radius: 10px; /* CSS3 EstÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¡ndar */
}

.fixedAll .boxy-inner{
    height: 100%;
    width: 100%;
    border-radius: 7px;
    position: relative;
}

.boxy-inner.boxyBlack,
.boxy-inner.boxyFree {
    background-color: transparent;
}

.boxy-inner.boxyGray {
    background-color: rgba(123, 123, 123, 0.8);
}

.boxy-inner.boxyBlack .close-modal-boxy {
    top:0;
    right: 0;
}
    
    .boxy-content { padding: 15px; overflow: auto; }

.fixedAll .boxy-content{
    height: 100%;
    width: 100%;
    padding: 0;
}
    
    /* Question Boxes */

    .boxy-wrapper .question { width: 100%; padding-bottom: 20px; }
    .boxy-wrapper .answers { text-align: right; }

.boxy-wrapper.fixedAll .question { 
    height: 100%;
    width: 100%; 
    padding-bottom: 0; 
}

.boxy-wrapper.fixedAll .question { 
    height: 100%;
    width: 100%; 
    padding-bottom: 0; 
    overflow:hidden;
}

.boxy-wrapper.fixedAll .answers { 
    position: absolute;
    bottom: 6px;
    right: 6px;
}
    
    .question ul{
        list-style-type:circle;padding-left: 10px;
    }

.boxy-wrapper.fixedAll .question > iframe { 
    height: 100%;
    width: 100%;
}

.boxy-wrapper-close{
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    color: white;
    border-radius: 50%;
    border: 2px solid;
    text-align: center;
    font-family: sfUiDisplayHeavy;
    font-size: 24px;
    padding-top: 6px;
    box-sizing: border-box;
    position: absolute;
    top: 5px;
    right: 29px;
}

.boxy-wrapper-close.boxy-wrapper-close2,
.xCloseAlone .boxy-wrapper-close{
    position: fixed;
    top: calc(5px + 15px);
    right: calc(29px + 15px);
}

.templateFrame .boxy-wrapper-close.boxy-wrapper-close2,
.templateFrame .xCloseAlone .boxy-wrapper-close{
    top: 5px;
    right: 29px;
}

.xCloseAlone .boxy-wrapper-buttons{
    position: absolute;
    bottom: -99px;
    left: 50%;
}

.xCloseAlone .boxy-wrapper-buttons > button{
    position: relative;
    left: -50%;
}

.boxy-wrapper-backbutton{ 
    top: 0;
    left: 0;
    width: 64px;
    height: 56px;
}

.boxy--black .boxy-inner {
    background-color: transparent;
}

.boxy--without-close-btn .boxy-wrapper-backbutton,
.boxy--without-close-btn .boxy-wrapper-close {
    display: none;
}

.boxy-modal-blackout.boxy--black{
    background-color: rgba(0, 0, 0, 0.85); 
}

.body--decision > .boxy-inner > .boxy-content > .question {
    display: flex;
    align-items: center;
    justify-content: center;
}

.max-height-boxy-alert .question {max-height: 80vh;overflow-y: auto;}