/*@@ -0,0 +1,1628 @@*/
@font-face {
  font-family: Lato;
  src: url(../fonts/Lato-Regular.ttf);
}
@font-face {
  font-family: Lato-Bold;
  src: url(../fonts/Lato-Bold.ttf);
}
* {
  box-sizing: border-box;
  font-family: "Lato";
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
:focus {
    outline:none;
    outline-style:none;
    box-shadow:none;
    border-color:transparent;    
}
button:focus {outline:0;}
body {
    font-family: "Lato";
    margin: 0;
}
/* CSS FELIPE */
.content.cadastro_medico_etapa {
    display: block;
    margin: 120px 30px 20px;
}

.content.cadastro_paciente_etapa {
    display: block;
    margin: 120px 30px 20px;
}



#dlg_global {
	display: none;
	position: fixed;
	z-index: 111111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.5);
}
#dlg_global_box{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    padding: 10px;
    background-color: #fff;
    z-index: 11111;
    border-radius: 15px;
    box-shadow: 3px 3px 8px #7C7C7D;
}




/* novos: */


p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

form .form-control::-webkit-input-placeholder { 
  color: #cbfeff;
}

form .form-control::-moz-placeholder {
  color: #cbfeff;
}
form .form-control:-ms-input-placeholder {
  color: #cbfeff;
}
form .form-control:placeholder {
  color: #cbfeff;
}

.autocomplete-suggestions {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid #999;
	background: #FFF;
	cursor: default;
	overflow: auto;
	-webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
	-moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
	box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
	font-size: 28px;
	  font-family: Lato;
  src: url(../fonts/Lato-Regular.ttf);
}
d

.autocomplete-suggestion {
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
}

.autocomplete-no-suggestion {
	padding: 2px 5px;
}

.autocomplete-selected {
	background: #F0F0F0;
}

.autocomplete-suggestions strong {
	font-weight: bold;
	color: #000;
}

.autocomplete-group {
	padding: 2px 5px;
	font-weight: bold;
	font-size: 16px;
	color: #000;
	display: block;
	border-bottom: 1px solid #000;
}


#bt_cadastro_medico_etapa3_adicionar_foto{
 cursor: pointer;
 width: 200px !important;	
}

#img_cadastro_medico_etapa3_adicionar_foto{
 cursor: pointer;	
}


#medico_foto {
	display: none;
	text-align: center;
	margin-bottom: 10px;
	width: 100%;
	padding: 10px;
}


#bt_cadastro_paciente_etapa3_adicionar_foto{
 cursor: pointer;
 width: 200px !important;	
}

#img_cadastro_paciente_etapa3_adicionar_foto{
 cursor: pointer;	
}


#paciente_foto {
	display: none;
	text-align: center;
	margin-bottom: 10px;
	width: 100%;
	padding: 10px;
}





img {
	width: 100%;
	height: auto;
}
.center {
   text-align: center;
}
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.btn-block {
    display: block;
    width: 100%;

}
.btn-default {
    background-color: #FFD019;
    color: #5A38C0;
    font-size: 20px;
    font-family: Lato-Bold;
    margin-bottom: 30px;
    border-radius: 42px;
    border: 1px solid #ffd019;
    padding: 6px 12px;
}
.btn-default:active, .btn-default:focus, .btn-default:hover {
    background-color: #FFD019;
    color: #5A38C0;
    outline: none !important;
    cursor: pointer;

}
.btn-default-active {
    position: relative;
    z-index: 1111;
}
/* PÁGINA 1  */
.banner {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url("../img/cover-pg1.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    display: table;
    position: fixed;
    top: 0;
    left: 0;    
}
.banner:hover {
    cursor: pointer;
}
/* PÁGINA 2  */

.content.cadastro_medico_paciente  {
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    overflow: auto;
    padding: 20px;
}
.img-box {
    width: 100%;
    padding: 80px 80px 30px;
    text-align: center;
    display: table;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}
.btn-box {
    width: 100%;
    text-align: center;
    padding: 0 20px;
    display: table;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

nav {
	font-family: "Lato-Bold";
	width: 100%;
        height: 90px;
	background-color: #309DE6;
	display: table;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 11111;
	}
.nav-brand-box {
	width: 100%;
	padding: 10px;
        position: relative;
        display: table;
}
.nav-brand {
	width: 60px;
        position: absolute;
        top: 10px;
}
.pg8 .nav-brand {
    width: 120px;
    position: relative;   
    margin-left: 20px;
}
.nav-brand-step {
    width: 60px;
    position: absolute;
    top: 40px;
    right: 0px;
    font-size: 14px;
    color: #fff;
}
.nav-brand img {
	width: 100%;
}
.nav-links {
	width: 100%;
	display: table;
	padding-bottom: 5px;
}
.nav-links ul {
	width: 100%;
	list-style: none;
	padding: 0;
}
.nav-links ul li {
	width: 33.33%;
	float: left;
	text-align: center;
	position: relative;
	color: #fff;
	font-weight: bold;
}
/*.nav-links ul li.active::after {
    content: " ";
    border-bottom: 8px solid #fff;
    position: absolute;
    left: 50%;
    display: block;
    width: 54%;
    bottom: -10px;
    box-shadow: 2px 2px 5px #ddd;
    transform: translateX(-50%);
}*/

.nav-links ul li.active::after {

    content: " ";
    border-bottom: 8px solid #fff;
    position: absolute;
    left: 50%;
    display: block;
    width: 54%;
    bottom: -10px;
    box-shadow: 4px 3px 6px 0px #ccc;
    transform: translateX(-50%);

}
.help-error {
    display: none;
    text-align: center;
    color: red;
}
.img-nav-pg4 {
width: 100%;
position: absolute;
top: 0;
}
.nav-brand-title {
    width: 100%;
    float: left;
    color: #fff;
    position: relative;
    font-size: 22px;
    text-align: center;
    line-height: 70px;
    font-family: Lato-Bold;
}

.content {
    display: table;
    margin: 120px 20px 20px 40px;
    z-index: 1;
}
.content.pg4 {
    display: block;
    margin: 120px 30px 20px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: normal;
    color: #5A38C0;
    padding-left: 20px;
    font-size: 16px;
}
.form-control {
    display: block;
    width: 100%;
    height: 45px;
    padding: 6px 20px;
    font-size: 28px;
    font-family: "Lato-Bold";
    line-height: 1.42857143;
    color: #5A38C0;
    background-color: #28F7FD;
    background-image: none;
    border: 1px solid #28F7FD;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}
/* Customize the label (the container) */
.checkbox-label {
  display: block;
  position: relative;
  padding-left: 55px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 20px;
  height: 25px;
  width: 25px;
  background-color: #FFD019;
  border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.checkbox-label:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-label input:checked ~ .checkmark {
  background-color: #FFD019;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-label .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.add-picture img {
    width: 25px;
    float: left;
    margin-left: 25px;
}
.add-picture label {
    line-height: 25px;
}
p, h1 {
    color: #5A38C0;
}
#btn-chat {
    display: block;
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 150px;
    right: 20px;
    background-color: #FFD019;
    box-shadow: 3px 3px 5px #676767;
    line-height: 1px;
    border-radius: 20px;
    padding: 14px 11px 2px;
}
#btn-chat img {
    width: 36px;
}
#add-pacient-box {
	display: none;
	position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
	width: 80%;
	height: auto;
	background-color: white;
	z-index: 111111;
	border: 1px solid #ddd;
	padding: 10px;
        border-radius: 12px;
}
#add-pacient-box .btn-default {
    margin-bottom: 0;
}
#add-pacient-box .center {
    margin-bottom: 0;
}
.item {
	display: table;
	width: 100%;
	border-bottom: 1px solid #5A38C0;
	padding-top: 15px;
	padding-bottom: 10px;
}
.item-img {
	width: 50px;
	float: left;
}
.item-img img {
	width: 100%;
}
.item-text {
	width: calc(100% - 50px);
	float: left;
	padding-left: 15px;
	position: relative;
}
.item-text h3 {
	color: #309DE6;
	margin: 0;
	margin-top: -5px;
	font-size: 18px
}
.item-text .sub {
	color: #309DE6;
	font-size:10px;
	font-weight: bold;
	margin: 0;
}
.item-text .sub span{
	font-weight: normal;
}
.item-text .message {
	color: #7C7C7D;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
	margin-top: 5px;
}
.item-info {
	width: 45px;
	float: left;
        position: absolute;
        right: 30px;
        display: table;
        text-align: right;
}
.hora {
	color: #7C7C7D;
	font-size: 10px;
	font-weight: normal;
}
.status {
	width: 20px;
	height: 20px;	
	text-align: center;	
        line-height: 20px;
        position: absolute;
        top: 15px;
        right: 0;
        font-size: 10px
}
.number {
	background-color: #5A38C0;
	border-radius: 50%;
	font-size: 12px;
	font-weight: normal;
        color: #fff;
        line-height: 16px;
}
.dot1 {
	color: #5A38C0;
}
.dot2 {
	color: #C2C2C3;
}

footer {
	position: fixed;
	width: 100%;
	display: table;
	bottom: -4px;
	left: 0;
	z-index:11111;
}

.footer-top {
width: 100%;
display: table;
position: relative;
height: 40px;
background-color: #309DE6;
}
.footer-top img {
    width: 100%;
    position: absolute;
    bottom: 0;
}



.footer-middle {
	position: relative;
	width: 100%;
	bottom: 10px;

}

.add-patient, .search, .menu {
	position: absolute;
}
.add-patient {
	height: 20px;
	bottom: 0;
	left: 10px;	
}
.img-patient {
	width: 20px;
	float: left;
}
.text-patient {
    white-space: nowrap;
    line-height: 20px;
    color: white;
    margin-left: 30px;
    font-weight: bold;
}
.search {
	width: 20px;
	height: 20px;
	bottom: 0;
	right: 60px;
}
.menu {
	width: 20px;
	height: 20px;
	bottom: 0;
	right: 20px;	
}
.footer-bottom {
	width: 100%;
	z-index: 11111;
}
.footer-bottom img {
	width: 100%;
}


#menu-box {
	display: none;
	position: fixed;
	right: 0;
	bottom: 45px;
	width: 250px;
	height: auto;
	background-color: white;
	z-index: 111111;
	border: 1px solid #ddd;
	border-radius: 15px;
}
#menu-box ul {
	list-style: none;
	padding: 0;
        margin: 0;
}
#menu-box ul li {
    color: #5A38C0;
    height: 60px;
    position: relative;
    border-bottom: 1px solid #D1D3D4;
    line-height: 60px;
    padding-left: 20px;
}
#menu-box ul li:last-child {
    border-bottom: none;
}
#menu-box ul li.more:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 10px solid #5A38C0;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);    
}
#overlay-box {
	display: none;
	position: fixed;
	z-index: 1111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.5);
}
.item:hover {
	cursor: pointer;
	background-color: #eee;
}

#code-dialog {
    display: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: #fff;
    z-index: 1111111;
    padding: 10px;
}

.h1-id {
    font-family: "Lato-Bold";
    font-size: 10.5vw;
    text-align: center;    
}

#simular-sol-contato {
    display: block;
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px #ddd;
    text-align: center;
    padding: 10px;
}
#simular-sol-contato:hover {
    background-color: #eee;
    cursor: pointer;
}
#solicitacao-contato {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    padding: 20px;
    background-color: #fff;
    z-index: 11111;
    border-radius: 15px;
    box-shadow: 3px 3px 8px #7C7C7D;
}

.sol-img {
    width: 110px;
    margin: 0 auto;
}
.sol-text {
    text-align: center;
    font-size: 5.7vw;
}
#solicitacao-contato .contato-info {
    display: table;
    margin-bottom: 30px;
}
#solicitacao-contato .item-img {
    width: 20%;
}
#solicitacao-contato .item-text {
    width: 80%;
}
.sol-btn-box {
    width: 100%;
    display: table;
    text-align: center;

}
.add-content-text {
    display: table;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
}

.add-content-text span {
    font-weight: bolder;
}
.add-patient:hover, .search:hover, .menu:hover, .nav-brand:hover {
    cursor: pointer;
    opacity: 0.7;
}

.btn:active, .btn.active, .open > .btn.dropdown-toggle {

    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0 !important;

}
a:focus, a:active, button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, select::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner {

    outline: 0;

}

#dialog-overlay-box {
	display: none;
	position: fixed;
	z-index: 111111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.5);
}
#resend-code-dialog {
        display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    padding: 10px;
    background-color: #fff;
    z-index: 11111;
    border-radius: 15px;
    box-shadow: 3px 3px 8px #7C7C7D;
}
#dialog-box {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    padding: 10px;
    background-color: #fff;
    z-index: 11111;
    border-radius: 15px;
    box-shadow: 3px 3px 8px #7C7C7D;
}
.dialog-box-header {
    width: 100%;
    font-family: Lato-Bold;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.dialog-box-header p {
    margin-top: 5px;

}
.dialog-box-body {
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.dialog-box-footer {
    margin-top: 10px;
    text-align: center;
}
.dialog-box-footer button {
    margin-bottom: 10px;
}
.btn-cancel {
    color: #fff;
    background-color: #C2C2C3;
    border-color: #C2C2C3;
}

.btn-cancel:hover, .btn-cancel:focus, .btn-cancel:active   {
    color: #fff;
    background-color: #C2C2C3;
    border-color: #C2C2C3;
}
.inline {
    width: 50%;
    float: left;
}
.inline:nth-child(odd) {
    padding-right: 10px;
}
.inline:nth-child(even) {
    padding-right: 10px;
}
.go-to-chat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-box {
    width: 100%;
    float: left;
    padding: 10px 20px 10px 0px;
}
.nav-brand-box-chat {
    display: table;
    float: left;
    padding: 10px 0;
}
.nav-brand-chat, .back-button {
    width: 40px;
    float: left;
}
.back-button {
	padding: 8px;
}
.nav-brand-chat {
    position: relative;
    top: 0;
}
.nav-perfil {
    width: calc(100% - 80px);
    float: left;
}
.nav-perfil-left {
	width: calc(100% - 65px);
	float: left;
	text-align: right;
	color: #fff;
	padding-right: 10px;
}
.nav-perfil-right {
	width: 65px;
	float: left;
}
.nav-perfil-left h3 {
	margin: 0;
	font-size: 18px;
}
.nav-perfil-left p {
    margin: 0;
    font-size: 10px;
    color: #fff;
}
.top-search {
    width: 23px;
    float: right;
    margin: 5px 0;
}

.nav-perfil-left img {
	max-width: 28px;
}
.nav-perfil-right img {
	max-width: 68px;
}
#overlay-chat {
	position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;    
	z-index: 1;
	display: block;
  background-color: #28F7FD; /* For browsers that do not support gradients */
  background-image: linear-gradient(to bottom left, #28F7FD, #4E65CE); /* Standard syntax (must be last) */
}
.content-chat {
	z-index: 11;
	position: relative;
	width: 100%;
	padding: 90px 20px 90px;	
	margin: 0;
        overflow: auto;
}
.cont-chat-open-text {
    padding-bottom: 120px;
}
.date-chat {
	background-color: #5A38C0;
	padding: 3px;
	color: #fff;
	font-size: 12px;
	margin: 10px auto;
	border-radius: 5px;
	width: min-content;
	text-align: center;
}

.message.in {
    width: 99%;
    background-color: #fff;
    color: #000;
    padding: 12px;
    border-radius: 5px;
    border: 2px solid #fff;

}
.message-box {
	position: relative;
	margin-bottom: 10px;
	display: table;
	width: 100%;
	height: auto;
        padding-left: 20px;
        padding-right: 20px;
}
.message-box.in:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-right: 22px solid #fff;
	position: absolute;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
        z-index: 111;
}
.message.out {
    width: 99%;
    background-color: #E0D6FF;
    color: #000;
    padding: 12px;
    border-radius: 5px;
	float: right;
        border: 2px solid #E0D6FF;
}

.message-box.out:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 22px solid #E0D6FF;
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
        z-index: 111;
}

.message-hour-in {
	position: absolute;
	font-size: 10px;
	left: 75%;
	top: 3px;
}
.message-hour-out {
	position: absolute;
	font-size: 10px;
	right: 28px;
	top: 3px;
	color: #7C7C7D;
}
.message-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    z-index: 111;
}
.footer-chat .menu {
	width: 30px;
	height: 30px;
        bottom: 15px;

	right: 10px;	
}
.clips {
	position: absolute;
	width: 30px;
	height: 30px;
        bottom: 15px;

	right: 45px;
}	

.photo2 {
	position: absolute;
	width: 30px;
	height: 30px;
        bottom: 15px;

	right: 80px;
}

.mic {
	position: absolute;
	width: 30px;
	height: 30px;
        bottom: 15px;

	right: 115px;	
}
.input-box {
	position: absolute;
	width: calc(100% - 160px);
        min-height: 50px;
	bottom: 5px;
	left: 10px;
	background-color: #fff;
	border-radius: 25px;
	display: flex;
	justify-content: center;

}
.input-box input {
	width: calc(100% - 70px);
	height: 50px;
	border: none;
        font-size: 20px;
}
.text-icon {
        position: absolute;
	width: 30px;
	height: 30px;
        top: 50%;
        transform: translateY(-50%);
    left: 14px;
    z-index: 1111111;
    padding: 5px;
    line-height: 1px;
}
/*.emoji {

    position: absolute;
	width: 30px;
	height: 30px;
        top: 50%;
        transform: translateY(-50%);
    right: 155px;
    z-index: 1111111;
    padding: 2px;
    line-height: 1px;

}*/
.emoji {
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 50%;
    transform: translateY(50%);
    right: 155px;
    z-index: 1111111;
    padding: 2px;
    line-height: 1px;
}


.emoji-img {
    display: block;
}
.emoji-img-white {
    display: none;
}
.send-message-icon {
    display: none;
}
#menu-box {
    bottom: 0;
}
.selected .message.in {
    border: 2px solid #FFD019;
    position: relative;
    z-index: 11111;
}
.selected .message.out {
    border: 2px solid #FFD019;
    position: relative;
    z-index: 11111;
}
.message-box.out.selected::before {
    z-index: 111111;
}
.selected .message-hour-out {
    z-index: 111111;
}
.message-box.in.selected::before {
    z-index: 111111;
}
.selected .message-hour-in {
    z-index: 111111;
}
.selected .message-status {
    z-index: 111111;
}

.message-box.in.selected:after{
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 17px solid transparent;
	border-bottom: 17px solid transparent;
	border-right: 25px solid #FFD019;
	position: absolute;
	left: -3px;
	top: 50%;
	transform: translateY(-50%);
        z-index: 1111;
}
.message-box.out.selected:after{
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 17px solid transparent;
	border-bottom: 17px solid transparent;
	border-left: 25px solid #FFD019;
	position: absolute;
	right: -3px;
	top: 50%;
	transform: translateY(-50%);
        z-index: 1111;
}
.in.selected .selected-check:after {
      content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  width: 5px;
  height: 10px;
  border: solid #FFD019;
  border-width: 0 3px 3px 0;
  -webkit-transform: translateY(-50%) rotate(45deg) ;
  -ms-transform: translateY(-50%) rotate(45deg) ;
  transform: translateY(-50%) rotate(45deg) ;  
    z-index: 11111;
}
.out.selected .selected-check:after {
      content: "";
  position: absolute;
  left: 30px;
  top: 50%;
  width: 5px;
  height: 10px;
  border: solid #FFD019;
  border-width: 0 3px 3px 0;
  -webkit-transform: translateY(-50%) rotate(45deg) ;
  -ms-transform: translateY(-50%) rotate(45deg) ;
  transform: translateY(-50%) rotate(45deg) ;  
  z-index: 11111;

}
#overlay-box-selected {
	display: block;
	position: fixed;
	z-index: 1111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.5);    

}
#message-dialog {
    width: 290px;
    position: absolute;
    z-index: 11111;    
    display: none;
    right: 20px;
    float: right;
    top: 1px;
    padding-top: 20px;
    height: 70px;

}
.dialog-box {
    width: 265px;
    height: 60px;
    background-color: #fff;
    border: 2px solid #28F7FD;
    border-radius: 5px;
    float: right;
    box-shadow: 5px 5px 8px #676767;

}

.dialog-return {
    width: 20px;
    float: right;
    right: 12px;
    position: relative;
    top: 20px;
}
.dialog-btn {
    width: 52px;
    float: left;
    text-align: center;
}
.dialog-btn img {
    width: 35px;
}
.dialog-btn p {
    font-size: 9px;
    margin: 0;
    color: #7C7C7D;
    margin-top: -5px;
}
.footer-chat {
    bottom: 0px;

}
.footer-chat .footer-top {
    height: 60px;
}

.footer-chat .footer-top img {
    position: relative
}
.footer-chat.active .footer-top {
    height: 105px;
}
.footer-chat.active .input-box {
    width: calc(100% - 20px);
    bottom: 50px;

}
.footer-chat.active .text-icon {
    top: 30px;
}

.footer-chat.active .emoji {
    left: 10px;
    	width: 30px;
	height: 30px;
        bottom: 10px;
        transform: none;
}
.footer-chat.active .emoji-img {
    display: none;
}
.footer-chat.active .emoji-img-white {
    display: block;

}
.footer-chat.active .send-message-icon {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 15px;
    right: 14px;
    z-index: 1111111;
    padding: 2px;
    line-height: 1px;
}
.footer-chat.active .mic {
    right: calc(75% - 10px);
    bottom: 10px;
    transform: none;
}

.footer-chat.active .photo2 {
    right: calc(50% - 10px);
    bottom: 10px;
    transform: none;
}

.footer-chat.active .clips {
    right: calc(25% - 10px);
    bottom: 10px;
    transform: none;
}
.footer-chat.active .menu {
    bottom: 10px;
    transform: none;
}

#date-now {
    width: 100%;
    display: table;
    background-color: #5A38C0;
    color: white;
}
.day-box {
    width: 50%;
    float: left;
}
.mouth-year-box {
    width: 50%;
    float: left;
}
audio{
 width: 100% !important;
}


.thumbnail {
  position: relative;
  width: 270px;
  height: 270px;
  overflow: hidden;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}



/* mic */
.mic.active {
    z-index: 111111111;
}
.mic.active:before {
content: "";
width: 100px;
height: 100px;
background-color: #5A38C0;
position: absolute;
top: -33px;
left: -33px;
border-radius: 50%;
}

.audio-player {
    width: 100%;
    display: table;
}
.ap-control {
    width: 30px;
    height: 30px;
    float: left;
    margin-right: 10px;
    padding: 7px;
}
.ap-control img {
    width: 100%;
}
.ap-timeline {
    width: calc(100% - 40px);
    height: 30px;
    float: left;
    position: relative;
}
.ap-timeline:before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #C2C2C3;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
}
.ap-progress {
    content: "";
    width: 0;
    height: 3px;
    background-color: #5A38C0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
}
.ap-playhead {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5A38C0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
.ap-total-time {
    position: absolute;
    font-size: 10px;
    left: 80px;
    bottom: 3px;
    color: #7C7C7D;
}
.audio-player audio {
    display: none;
}


/* THUMBNAIL */
#dlg_imagem {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 11111;
    top: 0;
    left: 0;
}
#dlg_imagem .dlg_imagem_menu {
    display: table;
    position: fixed;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 11113;
    padding: 10px;

}
#dlg_imagem .dlg_imagem_back {
    width: 20px;
    float: left;
    margin-top: 10px;
}
#dlg_imagem .dlg_text {
    width: calc(100% - 40px);
    float: left;
    color: white;
    padding: 0 10px;
}
#dlg_imagem .dlg_imagem_date {
    font-size: 10px;
}
#dlg_imagem .dlg_imagem_download {
    width: 20px;
    float: left;
    margin-top: 10px;
}
#dlg_imagem .img-origin {
    width: 100%;
    z-index: 11112;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

}

/*emoji*/
#emoji-box {
    display: none;
    width: 100%;
    max-width: 360px;
    text-align: center;
    min-width: 300px;
    margin: auto;
    position: fixed;
    bottom: 0px;
    z-index: 11;
    height: 250px;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}
.emoji-content {
    width: 100%;
    height: 220px;
    overflow: scroll;
}
#emoji-box p {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 25px;
    float: left;
    margin: 0;
    padding: 8px;
}
#text-message .emoji-text {
    width: 20px;
    bottom: -3px;
}
.message .emoji-text {
    width: 20px;
}



.input-box #text-message {
    width: calc(100% - 70px);
    min-height: 50px;
    border: none;
    font-size: 20px;
    margin: 0;
    line-height: 22px;
    padding-top: 13px;
    padding-bottom: 13px;
    overflow: auto;
    max-height: 92px;
}

.input-box #text-message.txt-msg-overflow {
    max-height: 92px;
    overflow: scroll;
}

.footer-height {
    height: 60px !important;
}