html{
    height: 100%;
    /*overscroll-behavior-y: contain;*/
}
body{
	position: relative;
    height: 100%;
    /*overscroll-behavior-y: contain;*/
    
}

.page{
	position: relative;
    height: 100%;
    /*overscroll-behavior-y: contain;*/

}
.content-wrap{
	position: relative;
    margin: 0 auto;
    max-width: 500px;
    min-height: 100%;
    background-color: #fff;
    box-shadow: 0 0 24px rgb(0 0 0 / 20%);	
    display: flex;
    flex-direction: column;

}
.header-wraper{
	
}
.home-wrap{
	justify-content: center;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;	
    text-align: center;
    margin-bottom: 200px;
}
.welcom{
	margin-bottom: 20px;	
	color: #ffc314;
}
.welcom span{
	font-size: 18px;
    font-weight: bold;	
}
.infoNumUser{
	margin-top: 20px;
	color: #ffc314;	
}
.infoNumUser span{
	font-size: 18px;
    font-weight: bold;	
    	
}
.calling-wrap{
    background: black;
}
.keyboard-wrap, .calling-wrap{
	justify-content: flex-end;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.content{
	flex-direction: column;
    display: flex;
    flex: 1 0 auto;
}

.call-out-wrap{
	position: relative;
    margin: 0 auto;
    max-width: 500px;
    min-height: 100%;
    background-color: #fff;
    box-shadow: 0 0 24px rgb(0 0 0 / 20%);	
    display: flex;
    flex-direction: column;
}

.header-group{
	 flex: 0 0 auto;	
}
.number-group{
	 flex: 1 0 auto;
	 display: flex;
     justify-content: center;
     align-items: center;		
     
}

.call-phone{
	border: 0;
	outline: none;	
	color: #003878;
	font-size: 50px;
    font-weight: bold;
    text-align: center;
    word-break: break-all;
    margin: 0 10px;
    white-space: pre-line;
}

.keyboard-group{
	flex: 0 0 auto;
	border-top: 1px solid #ddd;
    margin: 0 10px;
	
}
.keyboard-list{
	list-style: none;
	display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
  	margin: 10px 0 10px 0;
    padding: 0px 30px;
}
.keyboard-list li{
	width: 60px;
    height: 60px;
    background-color: #ffd500;
    border: 1px solid transparent;
    border-radius: 50%;
    margin: 10px;
    display: flex;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    align-items: center;
   
}
.keyboard-list li a{
	color: #0057b8 !important;
	width: 55px;
	outline: 0;
    box-shadow: none !important;
    border: 0;
}
.keyboard-list hr{
	width: 100%;
	margin: 0;
	border: none;
}
.keyboard-call a{
	display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.keyboard-call a i{
	font-size: 30px;
}
.keyboard-hun{
	background-color: #ff0000 !important;	
}
.keyboard-change-cam{
	background-color: #FFC312 !important;		
}
.keyboard-call-in{
	background-color: #5cff12 !important;	
}
.keyboard-backspace i{
	font-size: 30px;
}
.keyboard-backspace a{
	display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.hidden{
	display:none !important;
}

.info-call{
	/*border-color: rgb(255 195 19);
    border-style: solid;*/
    text-align: center;
    padding: 0 20px 0 20px;
    border-radius: 5px;
    border-width: 5px;
}
.fadeInDownForm {
  -webkit-animation-name: fadeInDownForm;
  animation-name: fadeInDownForm;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  /*-webkit-animation-fill-mode: both;
  animation-fill-mode: both;*/
}


@-webkit-keyframes fadeInDownForm {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    z-index: 1;
    position: relative;
  }
}
@keyframes fadeInDownForm {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 0,  0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    z-index: 1;
    position: relative;
  }
}

.display-group{
	    position: relative;	
}
.localVideo{
	max-width: 100px;
    max-height: 150px;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1;

}
.localVideoMirror{
    /*Mirror code starts*/
    transform: rotateY(180deg);
    -webkit-transform:rotateY(180deg);/* Safari and Chrome */
    -moz-transform:rotateY(180deg); /* Firefox */
    /*Mirror code ends*/
}
.remoteVideo{
	width: 100%;
    max-height: 100%;
    position: absolute;
    margin-bottom: 20px;
}
.header-wrap{
    bottom: 0px;
    width: 100%;
    background-color: #ffd500;
    /*border-top: 1px solid #ffc313;*/
    align-items: flex-start;
    display: flex;
    text-align: center;
    justify-content: center;
    z-index: 999;
    padding: 5px 0 0px 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
.header-wrap i{
	height: 28px;
    display: block;
    font-size: 28px;
}
.header-wrap svg{
	width: 20px;	
}
.header-content-a{
	flex: 1 1 auto;
    display: flex;
    justify-content: center;
    margin: 5px;	
}

.header-content{
	flex: 1 1 auto;
    display: flex;
    overflow: auto;
    padding: 5px 0px;	
}
.header-wrap a{
	font-size: 14px;
	padding-bottom: 3px;
	padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    text-decoration: none;
    color: #0057b8
}

.header-wrap .active{
	border-bottom: 2px solid #0057b8;
}

.image-user{
	height: 150px;
    width: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.contacts-wrap{
	padding: 10px;
}
.contImageGroup{
	position: relative;	
}

.contImageGroup img{
	width: 60px;
    height: 61px;
    border-radius: 50%;
    object-fit: cover;
} 

.contactGroup{
	flex: 1 0 auto;
    display: flex;
    justify-content: left;
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    align-items: center;
}
.contactGroup:last-child{
    border-bottom: none;
}
.msgContIfoGroup{
    flex: 1 0 auto;
    width: calc(100% - 100px);
    margin-left: 10px;
}
.msgGroupLnk{
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    color: black;
    text-decoration: none;
    margin-right: 20px;
    width: calc(100% - 50px);
}
.msgGroupLnk span{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contIfoGroup span{
	display: block;
	font-weight: bold;
}
.no_msg{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0);
    font-size: 22px;
    font-weight: bold;
    color: #65676b;
    width: 100%;
    text-align: center;

}

.contIfoGroup{
	margin-left: 10px;	
	flex: 1 0 auto;
}
.group-status{
	width: 14px;
    height: 14px;
    background-color: #ffffff;
    position: absolute;
    border-radius: 50%;
    right: 5px;
    bottom: 5px;	
}

.status-online{
	width: 10px;
    height: 10px;
    background-color: #31a24c;
    position: absolute;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}
.contBtnGroup-call:last-child{
	margin-right: 0px;	
}
.contBtnGroup-call{
	width: 30px;
    height: 30px;
    background-color: #33ff00;
    border-radius: 50%;	
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.contBtnGroup-call a{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
}
.contBtnGroup{
	display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.dlg-msg{
	position: absolute;
    top: 75px;   
    width: 100%;
   display: none;
}
.dlg-msg-wrap{
	background-color: #013978;
	border-radius: 5px;
	width: 90%;
	margin: auto;
	padding: 10px;
	color: white;	
}

.dlg-msg-header{
	display: flex;
	margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.dlg-msg-header-text{
	flex:1 0;
	display: flex;
	align-items: center;	
}
.dlg-msg-header-text i{
	font-size: 24px;
    margin-right: 5px;	
}

.dlg-msg-header-text span{
	font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    font-family: math;
}
.dlg-msg-header-btn a{
	color: #ffffff;
    font-size: 20px;
}

.dlg-msg-cont span{
	word-break: break-word;
	white-space: pre-line;
}

.dlg-msg-cont{
	font-size: 18px;
    margin: 15px 0 10px;
}

.header-content-a .dropdown-toggle:after{
	content:none;
}
.dropstart .dropdown-toggle-amp:before{
    content: none;
}
.header-content-a .dropdown{
	position: fixed;	
}
.header-content-a .dropdown-menu {
	top: 10px !important;
	box-shadow: 0 0 24px rgb(0 0 0 / 20%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-color: transparent;
}
hr:not([size]) {
    height: 0px;
}

.header-content-a .dropdown-item{
    font-size: 15px;
    padding: 3px 20px;
    margin: 0;
    font-weight: bold;
}
.header-content-a .dropdown-item i{
    display: inline-block;
    font-size: 16px;
    height: 16px;
}
.form-switch{
    text-align: left;
    padding: 0;
}
.form-switch .form-check-input{
    float: right;
}
/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInKeyboard {
    -webkit-animation-name: fadeInKeyboard;
    animation-name: fadeInKeyboard;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInKeyboard {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}
@keyframes fadeInKeyboard {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}
.fadeOutKeyboard {
    -webkit-animation-name: fadeOutKeyboard;
    animation-name: fadeOutKeyboard;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeOutKeyboard {
    0% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}
@keyframes fadeOutKeyboard {
    0% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}
.header-msg{
    display: flex;
    align-items: center;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
}
.msg-user-info{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 auto;
}
.msg-user-info-foto img{
    width: 40px;
    height: 40px;
    border-radius: 50%;

}
.msg-user-info-foto{
    padding: 0 10px;
    position: relative;
}
.msg-user-info-name{
    font-weight: bold;
}
.msg-btn-back a{
    font-size: 30px;
}

.msg-wraper{
    position: relative;
    display: flex;
    justify-content: inherit;
    max-height: inherit;
    flex-grow: 1;
    flex-direction: column;
}
.msg-content{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-x: hidden;
    isolation: isolate;
    flex-basis: auto;
    height: 0;
}
.msg-by-user{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.group-msg{
    display: flex;
    align-items: center;
}
.group-msg.msg-in{
    color: black;
}
.group-msg.msg-out{
    justify-content: flex-end;
}
.msg-user-image img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.msg-in .msg-text{
    background-color: #E4E6EB;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: calc(100% - 30px);
    word-wrap: break-word;
}
.msg-out .msg-text{
    background-color: rgb(0, 132, 255);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: calc(100%);
    word-wrap: break-word;
}
.group-msg .msg-text span{
    white-space: pre-wrap;
}
.group-msg.msg-out span a{
    color: #4bff00;
}
.group-msg.msg-in span a{
    color: #0084ff;
}
.group-cont-msg{
    margin: 0px 10px 10px 10px;
}
.group-cont-msg:first-child{
    margin-top: 10px;
}
.msg-user-image{
    margin-right: 5px;
}
.msg-sender-wrap{
    border-top: 1px solid #eaeaea;
}
.msg-sender-cont{
    padding: 10px;
    background-color: white;
    display: flex;
    align-items: center;
}
.msg-sender-cont-t textarea{
    border-radius: 30px;
    overflow: hidden;
    resize: none;
}
.msg-sender-cont-t{
    flex: 1 1 auto;
    position: relative;
}
.msg-read-status{
    color: #0084ff;
    margin-left: 5px;
    font-size: 14px;
}
.btn_send_message .btn{
    padding: 5px;
}
.placeholder-amp{
    /*padding: 10px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    padding: 10px;
    position: sticky;
    top: 50px;
}
.btns-call-msg{
    display: flex;
    align-items: center;
}
.btns-call-msg .contBtnGroup-call{
    background: transparent;
    margin-right: 15px;
    border: 1px solid #33ff00;
    height: 30px;
    width: 30px;
}
.btns-call-msg .contBtnGroup-call a{
    color: #33ff00;
    font-size: 18px;
}
.jconfirm .jconfirm-box.jconfirm-animation-news{
    transform: rotate(400deg) scale(0);
}
.message{
    position: absolute;
    bottom: 5px;
    right: 0px;
    display: none;
    z-index: 999999;
    max-width: calc(100%);
}
.message #textMessage{
    max-width: calc(100% - 50px);
    word-wrap: break-word;
}

.message .alert{
    margin-bottom: 10px;
    max-width: 100%;
}
.message ul{
    list-style: none;
    margin-bottom: 0;
}
.message ul li{
    opacity: 0;
    display: flex;
    justify-content: end;
}
.message .btn-close{
    position: absolute;
    right: 5px;
    top: 5px;
    width: 5px;
    height: 5px;
}

/* Simple CSS3 Fade-in-down Animation */
.fadeInMessage {
    -webkit-animation-name: fadeInMessage;
    animation-name: fadeInMessage;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInMessage {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInMessage {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeOutMessage {
    -webkit-animation-name: fadeOutMessage;
    animation-name: fadeOutMessage;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
@-webkit-keyframes fadeOutMessage {
    0% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}
@keyframes fadeOutMessage {
    0% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}
.custom-tooltip {
    --bs-tooltip-bg: var(--bs-success);
}