/* .botao, body{
    display: flex;
    justify-content: flex-end;
} */

/* SITE MASTERDOM */
.promoSlideshow .listNav ul {
    display: none !important;
}

.contentMain {
    text-align: center !important;
}

.modal-image-display{ 
    max-width: 100vw !important;
}

.Howgrid .itemImage img {
    height: 196px !important;
}

/* FINAL SITE MASTERDOM */

#instanciaIframe{
  display: flex;
  height: 98%;
}

.wpthemeInner, .wpthemeSecondaryNav, .wptheme1Col, .wptheme2Col, .wptheme3Col, .wptheme2Row {
    margin: 0 auto;
    max-width: 100%;
    min-width: 280px;
    width: 100%;
    z-index: 1.0;
    position: sticky;
}

.botaochat{
    position: relative;
    display: flex;
    margin-left: 6px;
    justify-content: flex-end;
}

.tela{
    position: fixed;
    bottom: 91px;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    align-content: flex-end;
    height: inherit; 
    z-index: 6 !important;
    margin-right: 55px !important;
    margin: 0px 43px -84px 0px!important;
    padding: 9px 32px 51px 0px !important;
}

#instanciaIframe > iframe{
    width:100%;
    height: 76%;
    display: flex;
    flex-shrink: 1;
    border-width: 0px;
    border-style: none;
    border-color: none;
    border-image: none;
    text-size-adjust: 9px !important;
}



.botao {
    align-items: flex-stretch; 
    align-items: flex-end;
    border:none;
    position: absolute !important;
    z-index: 220 !important;
}


#logotipo{
    margin-left: 6px;
    border-radius: 28%;
}

.circle {
    display: block;
    width: 80px;
    height: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-border-radius: 99em;
    -moz-border-radius: 99em;
    border-radius: 2em;
    border: 2px solid #fff;
}

.contact-icon .circle:hover{
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    transition:0.2s all ease-out 0.2s;
    -webkit-transition:0.2s all ease-out 0.2s;
    -moz-transition:0.2s all ease-out 0.2s;
}

div.half {
    margin: auto;
    width: 80px;
    height: 40px;
    background-color: #fff;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom: 0;
    box-shadow: 1px 4px 20px rgba(22,20,19,0.6);
    -webkit-box-shadow: 1px 4px 20px rgba(22,20,19,0.6);
    -moz-box-shadow: 1px 4px 20px rgba(22,20,19,0.6);
}

.chat-title {
    flex: 0 1 45px;
    z-index: 2;
    width:100%;
    border-bottom:1px solid #ccc;
    color: #777;
    padding-top:50px;
    padding-bottom:5px;
    text-transform: uppercase;
    text-align: center
}

 .chat {
    width: 400px;
    height: 434px;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .2);
    background: rgba(0, 0, 0, .5);
    background: transparent !important;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    justify-content: space-between;
    flex-direction: column;
    background-color: white !important;
}

.botaochat {
    position: absolute;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: -moz-linear-gradient( center top, #ffffff 5%, #f6f6f6 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6');
    background-color: #ffffff;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    text-indent: 0;
    border: 1px solid #dcdcdc;
    /* display: inline-block; */
    color: #666666;
    font-family: arial;
    font-size: 10px;
    font-weight: bold;
    font-style: normal;
    height: 14px;
    line-height: 10px;
    width: 22px;
    text-decoration: none;
    text-align: center;
    text-shadow: 0px 1px 0px #ffffff;
}
.botaochat:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff) );
    background:-moz-linear-gradient( center top, #f6f6f6 5%, #ffffff 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff');
    background-color:#f6f6f6;
}
.botaochat:active {
    position:relative;
    top:1px;
}

.navegacao{
    display: flex;
    flex-direction: row-reverse;
    margin-right: 10px;
    margin-top: 10px;
}



/* TAMANHO DE TELA HORIZONTAL  */



@media(max-width: 2000px)  {
    
    .agent-face{
        z-index: 12;
    }

    #instanciaIframe > iframe{
        height: 87% !important;
        display: flex;
    }
    
    
    .tela{
        display: inherit;
        padding: 6px;
        margin: 20px;
    }

     .chat{
        width: 371px !important;
        height: 510px !important;
    }
}


@media(max-width: 700px) {

    
     #instanciaIframe > iframe{
        /* height: 100vw; */
        display: flex;
    }
    
    .tela{
        display: block;
        padding: 6px;
        margin: 20px;
    }

     .chat{
        width: 371px !important;
        height: 510px !important;
    }
}

@media(max-width: 600px) {
    
    #instanciaIframe > iframe{
        /* height: 100vw; */
        display: flex;
    }
    
     .tela{
        display: block;
        padding: 6px;
        margin: 20px;
    }

     .chat{
        width: 336px !important;
        height: 436px !important;
    }
}


@media(max-width: 500px)  {
    .mean-container .mean-bar{
        z-index:0px !important;
    }

    #instanciaIframe{
        height: 100% !important;
    }

    .fab.show{
        padding: 0% !important;
    }

    .fab.show input.main, .fab.show input.main {
        display: none !important;
    }
    
    .tela{
    position: fixed;
    bottom: 87px;
    left: 14px;
    right: 0;
    margin: 0px!important; 
    padding: 0px !important;
    z-index: 99999999999 !important;
    }

     #instanciaIframe > iframe{
        display: block;
        /* height: 119vw; */
        width: 83vw;
        overflow: scroll;
    }
    
    .milla{
        display: flex;
        flex-direction: column;
        border: 1px solid black;
        border-radius: 10px;
        background-color: #E9E9E9;
        margin-left: 5px;
        overflow: hidden;
    }
    
     .chat{
        width: 91vw !important;
        height: 80vh !important;
        z-index:9999999 !important;
    }
    
     /* .tela{
        display: block;
        padding: 6px;
    } */

    .fab.show input.main + ul, .fab.show input.main + ul{
        bottom: 0px !important;
    }
    
}


/* TAMANHO DE TELA VERTICALMENTE */

@media (max-height: 500px){
    
    body{
        display: flex;
        /* width: 80vw;
        height: 80vw; */
        width: 100vw;
        height: 100vw;
        margin: auto;
    }
    
     .tela{
        display:inline-block ;
    }
    
    .agent-face{
        display: none;
    }
    
    .chat-title{
        flex: 0 1 45px;
        position: relative;
        z-index: 2;
        width: 100%;
        border-bottom: 1px solid #ccc;
        color: #777;
        padding-top: 19px;
        padding-bottom: 5px;
        text-transform: uppercase;
        text-align: center;
    }
    
     #instanciaIframe > iframe{
        height: 68vw;
    }
    
    .botaochat{
        margin-top: 5px;
        border: 1px solid #dcdcdc00;
    }
    
}

@media (max-height: 411px){  
    body{
        display: flex;
        /* width: 80vw;
        height: 80vw; */
        width: 100vw;
        height: 100vw;
        margin: auto;
    }
    
     .tela{
        display:inline-block ;
    }
    
    .agent-face{
        display: none;
    }
    
    .chat-title{
        flex: 0 1 45px;
        position: relative;
        z-index: 2;
        width: 100%;
        border-bottom: 1px solid #ccc;
        color: #777;
        padding-top: 19px;
        padding-bottom: 5px;
        text-transform: uppercase;
        text-align: center;
    }
    
    .navegacao{
        display: flex;
        flex-direction: row-reverse;
        margin-right: 18px;
        margin-top: 0px;
    }
    
     #instanciaIframe > iframe{
        height: 60vw;
    } 
}

@media (max-height: 325px){  
    body{
        display: flex;
        /* width: 80vw;
        height: 80vw; */
        width: 100vw;
        height: 100vw;
        margin: auto;
    }
    
     .tela{
        display:inline-block ;
    }
    
    .agent-face{
        display: none;
    }
    
    .chat-title{
        flex: 0 1 45px;
        position: relative;
        z-index: 2;
        width: 100%;
        border-bottom: 1px solid #ccc;
        color: #777;
        padding-top: 19px;
        padding-bottom: 5px;
        text-transform: uppercase;
        text-align: center;
    }
    
    #instanciaIframe > iframe{
        height: 68vw;
    }  
}

/* BOTAO FLUTUANTE */

.fab input.main:before, .mostrarfrase.show{
    display: none !important;
}

.fab.show input.main:checked, .mostrarfrase{
    display: block;
    margin-bottom: 88px !important;
    width: 116px;
    height: 87px;
    background-image: url("https://milla-files.s3.us-south.cloud-object-storage.appdomain.cloud/milla/millapopup-balao.png") !important;
    background-repeat: no-repeat !important;
    background-size: 41px !important;
    background-position: center;
    position: fixed;
    border: none;
    right: 0;
    bottom: 0;
    z-index: 20;
    background-color: transparent !important;
}

.mostrarfrase:before {
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 30px solid #8f0;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    margin: Â­30px 0 0 90px;
}


.botao .fab{
    position: fixed;
    bottom:10px;
    right:10px;
}

.fab .botao{
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    background-color: #cb60b3;
    border: none;
    box-shadow: 0 1px 5px rgba(0,0,0,.4);
    font-size: 24px;
    color: white;
    
    -webkit-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    transition: .2s ease-out;
}

.fab input:focus{
    outline: none;
}

.logotipos{
    display: none;
}

.fab input.main{
    background:url("https://milla-files.s3.us-south.cloud-object-storage.appdomain.cloud/milla/millarobomini.png");
    background-repeat: no-repeat;
    background-size: 60px;
    width:109px;
    height:41px;
    position: fixed;
    width: 60px;
    height: 60px;
    border: none;
    right: 0;
    bottom: 0;
    z-index: 20;
    margin-bottom: 54px !important;
    padding: 28px !important;
}

.fab input.main:before{
    content: 'Fale com a milla';
}

.fab ul{
    display: none;
}

.fab.show ul{
    display: flex !important;
}


.fab ul{
    position:absolute;
    bottom: 0;
    right: 0;
    padding:0;
    padding-right:5px;
    margin:0;
    list-style:none;
    z-index:10;
    
    -webkit-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    transition: .2s ease-out;
}

.fab ul li{
    display: flex;
    justify-content: flex-start;
    position: relative;
    margin-bottom: -10%;
    opacity: 0;
    
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    transition: .3s ease-out;
}

.fab ul li label{
    margin-right:10px;
    white-space: nowrap;
    display: block;
    margin-top: 10px;
    padding: 5px 8px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    border-radius:3px;
    height: 18px;
    font-size: 16px;
    pointer-events: none;
    opacity:0;
    
    -webkit-transition: .2s easse-out;
    -moz-transition: .2s ease-out;
    transition: .2s ease-out;
}

.fab.show input.main,
.fab.show input.main{
    outline: none;
    background-color: transparent;
}

.fab.show input.main:before,
.fab.show input.main:before{
    content: 'â†‘';
}

.fab.show input.main + ul,
.fab.show input.main + ul{
    bottom: 70px;
}

.fab.show input.main + ul li,
.fab.show input.main + ul li{
    margin-bottom: 10px;
    opacity: 1;
}

.fab.show input.main + ul li:hover label,
.fab.show input.main + ul li:hover label{
    opacity: 1;
}