/* flotante */

.consultas1 {
    width: 130px;
    height: auto;
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 1000000;
}

.consultas2, .consultas2 a {
    font-size: 0.9em;
    float: right;
    width: 130px;
    height: 118px;
    color: #FFFFFF;
}

.consultas-logo {
    height: auto;
    width: 130px;
    border: 0;
    float: right;
}

.chat-iframe {
    border: 0;
}

/* ventana */

.modalboton {
    font-size: 1.25em !important;
    color: white !important;
    text-align: center;
    text-shadow: 2px 2px 2px black;
}

.modalboton a {
    padding: 5px 25px;
    background-color: rgba(0, 51, 102, 0.8);
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

.modalmask {
    position: fixed;
    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;
}

.modalbox{
    position: relative;
    background: rgba(0,0,0,0.9);
    border-radius:3px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}

.movedown {
    margin: 0 auto;
}

.modalmask:target .movedown{
    margin:4% auto;
}

.close {
    background: #336699;
    color: #FFFFFF;
    line-height: 36px;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 1px;
    width: 80px;
    text-decoration: none;
    font-weight: bold;
    border-radius:3px;
    font-size:16px;
}

.close:hover {
    background: #FAAC58;
    color:#222;
}

/* breakpoints */

@media (max-width: 320px) {
    .modalbox{
        width: 96%;
        padding: 5px 2% 13px 2%;
    }
}

@media (min-width: 321px) and (max-width: 575px) {
    .modalbox{
        width: 96%;
        padding: 5px 2% 13px 2%;
    }
}

@media (min-width: 576px) {
    .modalbox{
        width: 460px;
        padding: 5px 20px 13px 20px;
    }
}
