html,
body{
    height: 100%;
}

.main{
    align-items: stretch;
    height: calc(100% - 61px);
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.grow{
    flex-grow: 1;
}

@font-face {
    font-family: display;
    src: url(fonts/SFUIDisplay-Regular.otf);
}
@font-face {
    font-family: text;
    src: url(fonts/SFUIText-Regular.otf);
}
body{
   font-family: 'Roboto', sans-serif;
}
header{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
button{
    outline: none;
    padding: 2px 6px 3px;
}
.btn:focus{
    color: #fff;
    outline: none;
}
.right{
    float:right;
}
.container{
    width: auto;
    margin:0 auto;
    max-width: 1000px;
}
.chats{
    background: #1a2e35;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size:18px;
    padding: 18px 0;
    position: relative;
    max-width: 312px;
    width: calc(50% - 66px);
}
.newChat{
    position: absolute;
    right: 10px;
    top: 13px;
    font-size: 24px;
}
.btn-transparent{
    background: transparent;
    border: none;
}
.noPadding{
    padding-left: 0;
    padding-right: 0;
}
.nav li a:focus,.nav li a:hover {
    background-color: transparent;
    /*color: #fff;*/
}
.nav li a i{
    /*font-size: 22px;*/
    /*line-height: 30px;*/
}
.nav li a{
    color: #768990;
    padding:15px 10px;
}
.nav a img{
    max-width: 100%;
}
.logo{
    flex-grow: 0;
    width: 66px;
    text-align: center;
    background-color: #000;
}
.logo img{
    width: 42px;
    height: 61px;
}
.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
    background-color: transparent;
    border-color: #fff;
}
.navbar-nav li .dropdown-menu{
    border-radius: 5px;
}
.dropdown-menu li a{
    padding: 8px 20px;
}
.dropdown-menu{
    padding: 0;
}
.dropdown-menu li a:hover, .dropdown-menu li a:focus{
    background-color:#a7ffec;
}
.navbar{
    margin: 0;
    border-radius: 0;
    border: none;
    min-height: 61px;
    background-color: #284752;
    width: calc(50% - 66px);
}
.navbar .name{
    color: #fff;
    display: inline-block;
    padding-top: 18px;
    font-weight: 700;
    font-size: 18px;
    width: calc(100% - 100px);
}
.navbar .name img{
    width: 15px;
    height: 15px;
    margin-right: 15px;
}
.settings-navbar .name{
    display: block;
}
.navbar-nav{
    padding-right: 10px;
}
.sidebar a{
    float: left;
    font-size: 22px;
    width: 100%;
    color: #fff;
    position: relative;
    height: 60px;
}
.sidebar{
    width: 66px;
    text-align: center;
    background-color: #000;
}
.sidebar a.chat{
    background: url(../img/menu_chats.svg)no-repeat center center;
    background-size: 24px;
    background-color: #1a2e35;
}
.sidebar a.active {
    color: #a7ffec;
    border-right: 4px solid #a7ffec;
}
.sidebar a.active.chat{
    background: url(../img/menu_chats_active.svg)no-repeat center center;
    background-size: 24px;
    background-color: #284752;
}
.sidebar a.face{
    background: url(../img/face.svg)no-repeat center center;
    background-size: 24px;
    background-color: #1a2e35;
}
.sidebar a.active.face{
    background: url(../img/face_active.svg)no-repeat center center;
    background-size: 24px;
    background-color: #284752;
}
.sidebar a.groups{
    background: url(../img/menu_groups.svg)no-repeat center center;
    background-size: 37px;
    background-color: #1a2e35;
}
.sidebar a.active.groups{
    background: url(../img/menu_groups_active.svg)no-repeat center center;
    background-size: 37px;
    background-color: #284752;
}
.sidebar a.sharedcontacts{
    background: url(../img/menu_multiacc.svg)no-repeat center center;
    background-size: 37px;
    background-color: #1a2e35;
}
.sidebar a.active.sharedcontacts{
    background: url(../img/menu_multiacc_active.svg)no-repeat center center;
    background-size: 37px;
    background-color: #284752;
}
.sidebar a.settings-ico{
    background: url(../img/menu_settings.svg)no-repeat center center;
    background-size: 24px;
    background-color: #1a2e35;
}
.sidebar a.active.settings-ico{
    background: url(../img/menu_settings_active.svg)no-repeat center center;
    background-size: 24px;
    background-color: #284752;
}
.contact{
    color: #7f7f7f;
    max-width: 312px;
    text-align: center;
    font-size: 16px;
    overflow-y: auto;
    overflow-x: hidden;
}
.contact.active{
    text-align: left;
}
.contact p{
    margin-top: 10px;
}
.sharedcontacts-icon{
    width: 23px;
    position: absolute;
    right: 38px;
    top: 16px
}
.warning-icon{
    width: 15px;
    position: absolute;
    right: 48px;
    top: 16px
}
.message{
    background-color: #f6f6f6;
    position: relative;
    /*padding-top: 10px;*/
    max-width: 622px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    /*-webkit-box-pack: justify;
     -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;*/
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: auto;
    display: flex;
    flex-grow: 1;
}
.message.noflex {
    display: block;
}
@media (min-width: 768px){
    .message.wide {
        width: calc(100% - 50px);
        max-width: unset;
    }
}

.footerMessage{
    background-color: #f0f0f0;
}
.nav li a img{
    width: 18px;
}
.footerMessage.active{
    position: relative;
}
.message-header{
    padding: 5px 8px 5px 8px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
}
.footerMessage button svg{
    width: 19px;
}
.footerMessage button svg path{
    fill: #9d9d9d;
}
.footerMessage button{
    vertical-align: middle;
    height: 30px;
    display: inline-block;
    flex-grow: 0;
}
.message-header img{
    width: 22px;
    height: 22px;
}
.footerMessage input{
    background-color: transparent;
    border:none;
    border-bottom: 2px solid #cbcaca;
    flex-grow: 1;
    outline: none;
}
.close{
    color: #fff;
    text-shadow: none;
    opacity: 1;
    font-size: 16px;
}
button.close{
    padding: 0px 16px 0 0;
}
.close:hover{
    color: #fff;
}
.close img{
    width: 24px;
}
.contact ul{
    padding-left: 0;
    list-style: none;
}
.btn-circle{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    float: left;
    color: #fff;
    vertical-align: middle;
    text-align: center;
    line-height: 40px;
}

.btn-2circles{
    width: 52px;
    height: 40px;
    float: left;
    color: #fff;
    vertical-align: middle;
    text-align: center;
    line-height: 40px;
    background: url(../img/sharedcontacts-ava.svg);
    background-size: 80px;
}
.new{
    background-color: #49ccc5;
    font-size: 30px;
}
.contact.active ul li a span.contact-info{
    margin-left: 25px;
    float: left;
    max-width: 235px;
}
.contact.active ul li.active a span.contact-info{
    font-weight: 700;
}
.contact.active ul li a{
    text-decoration: none;
    color: #000;
}
.contact.active ul li{
    padding: 8px 25px;
}
.contact .arrow{
    padding: 5px 30px;
}
.contact .arrow img{
    width: 140px;
    height: 175px;
}
.blue{
    background-color: #0d47a1;
}
.pink{
    background-color: #ce93d8;
}
.lilac{
    background-color: #ab47bc;
}
.new-chat-line{
    color: #284752;
    font-weight: 500;
}
.contact.active ul li.active{
    background-color: #e7e7e7;
}
.date{
    font-weight: 300;
    font-size: 12px;
    color: #a4a4a4;
}
.btn-circle.newChat{
    background-color: #49ccc5;
    padding:0;
    float:none;
    border:none;
    width: 44px;
    height: 44px;
    top:auto;
    bottom: -21px;
    z-index: 99;
    text-align: center;
}
.amount{
    position: absolute;
    border-radius: 100%;
    background-color: #49ccc5;
    width: 18px;
    height: 18px;
    color: #fff;
    text-align: center;
    font-size: 10px;
    top: -2px;
    right: -8px;
    line-height: 19px;
}
.contact .btn-circle{
    position: relative;
}
.contact-new span{
    margin-top: 10px;
}

.user ul li a {
    border-bottom: 2px solid #ececec;
    display: block;
    padding: 10px 0;
	width: 150%;
}
.user ul li.active a{
    border: none;
}
.user ul li {
    position: relative;
}
.user ul li .btn-user{
    position: absolute;
    right: 12px;
    top: 0px;
    font-size: 22px;
    border:none;
	width: initial;
}
.user ul li .btn-user img{
    width: 22px;
}
.user ul li:last-child a{
    border-bottom: none;
}
.settings li a img{
    width: 25px;
    height: 25px;
    float: left;
}
.chat-body{
    padding: 30px 0;
    overflow-y: auto;
    flex-grow: 1;
}
.chat-body .answer.left {
    padding: 0 0 0 30px;
    text-align: left;
    float: left;
}
.contact.active ul li .dropdown-menu li{
    padding: 0;
    overflow: hidden;
}
.contact.active ul li .dropdown-menu li a{
    padding: 10px 15px;
    border: none;
}
.contact.active ul li .dropdown-menu{
    right: 12px;
    left: auto;
    top: 15px;
    min-width: 240px;
}
.chat-body .answer {
    position: relative;
    max-width: 100%;
    clear: both;

    text-align: center;
    font-weight: 300;
    font-size: 12px;
}
.chat-body .text {
    white-space: pre-line;
    word-wrap: break-word;
}
.chat-body .answer.left .text {
    background: #fff;
    color: #333333;
    border-radius: 8px 8px 8px 0;
}
.chat-body .answer .text {
    padding: 12px;
    font-size: 16px;
    line-height: 26px;
    position: relative;
}
.chat-body .answer.left .text:before {
    left: 0px;
    border: 10px solid transparent;
    border-left: 10px solid #fff;
    border-top: 10px solid #fff;
    bottom: -19px;
}
.chat-body .answer .text:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    border: 18px solid transparent;
    border-bottom-width: 0;
}
.chat-body .answer .time {
    display: none;
}
.chat-body .answer.left .time {
    display: block;
    padding-left: 12px;
    color: #7f7f7f;
    font-weight: 300;
    font-size: 12px;
}
.chat-body .answer .time {
    font-size: 16px;
    line-height: 30px;
    position: relative;
    padding-bottom: 1px;
}
.chat-body .answer.right {
    padding: 0 30px;
    text-align: right;
    float: right;
}
.chat-body .answer.right .text {
    background: #b2dfdb;
    color: #000;
    border-radius: 8px 8px 0 8px;
    text-align: left;
}
.chat-body .answer.right .text:before {
   border: 10px solid transparent;
   border-top: 10px solid #b2dfdb;
   border-right: 10px solid #b2dfdb;
   right: 0;
   bottom: -19px;
}
.chat-body .answer.right .time {
    display: block;
    padding-right: 12px;
    color: #7f7f7f;
    font-weight: 300;
    font-size: 12px;
}
.message .date{
    font-size: 14px;
    color: #000;
}
.double-check{
    position: absolute;
    left: -20px;
    top: 50%;
    margin-top: -30px;
}
.double-check img{
    width: 20px;
}
.delete,.edit{
	background: rgba(178, 223, 219, 0.9);
	position: absolute;
	top: 10px;
	right: 10px;
	transition: 0.5s;
	opacity: 0;
	width: 24px;
	height: 24px;
	overflow: hidden;
}

.delete img,.edit img{
	width: 64px;
	position: relative;
	display: block;
	left: -20px;
	top: -10px;
}

.text:hover .delete,.text:hover .edit{
	opacity: 1;
}

.edit{
	right: 40px;
}

.read{
    position: absolute;
    color: #9d9d9d;
    bottom: 11px;
    left: 0;
    font-size: 12px;
}
.sidebar a .amount{
    background-color: #b71c1c;
    top: 12px;
    right: 11px;
}
.sidebar a svg{
    width: 26px;
    height: 26px;
}
#clear,#rename{
    top:50%;
    margin-top: -150px;
}
#clear .title,#rename .title{
    color: #284752;
    font-weight: 500;
    text-align: center;
    padding-top: 15px;
    font-size: 16px;
}
#clear .modal-body p{
    font-size: 16px;
    margin-bottom: 0;
}
#clear .modal-footer .btn,#rename .modal-footer .btn{
    font-size: 20px;
    font-weight: 500;
    color: #009688;
    padding: 6px 25px;
    outline: none;
}
#clear .modal-footer .btn-clear,#rename .modal-footer .btn-clear{
    float:left;
    color: #737373;
}
#rename input{
    border: none;
    background-color: transparent;
    border-bottom: 2px solid #009688;
    width: 100%;
    outline: none;
}
#rename .modal-dialog{
    width: 350px;
}
#rename .modal-footer .btn{
    text-transform: uppercase;
    font-size: 16px;
}
.footerMessage .active input{
    border-bottom: 2px solid #7f7e7c;
}
.footerMessage.active input.active{
    border-bottom: 2px solid #119c8f;
}
.footerMessage .active button svg path{
    fill: #000;
}
.keyboard {
  background:#1a2e35;
  padding: 4px;
  user-select: none;
}

.key-row {
    margin:0 auto 3px;
    line-height:46px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: 44px;
    overflow: hidden;
}

.key, .arrowkey-container {
   margin:0 3px 0 0;
  text-align:center;
}

.key {
  background:#132126;
  color:#fff;
  transition:0.1s;
  align-items:center;
  align-content:center;
  height:44px;
  cursor:pointer;
}

.key-sub {
	color: #888;
	position: relative;
	top: 10px;
	left: 7px;
	font-size: 80%;
}

.icon img{
    max-width: 100%;
    width: 16px;
}
.icon{
    background: #284752;
}
sup, sub { outline:1px solid magenta; display:block; align-self:center; }

.key:active {
    transform: scale(1.1);
    background:rgb(30, 50, 57);
}

.one { flex:1;}
.two { flex:2.06; }
.nine { flex:9.5; }
.three{ flex:3; }

.key-row .key:last-child { margin:0; }
.enter{
    background:#49ccc5;
}
.icon.up img,.icon.down img{
    width: 13px;
}
.icon.left img,.icon.right img{
    width: 8px;
}
.key-row:last-child{
    margin-bottom: 0;
}
.warning{
    background-color: #e6e600;
    font-weight: 300;
    font-size: 11px;
    padding: 10px 15px;
    margin-bottom: 10px;
    margin-top: -10px;
    min-height: 38px;
}
.add-modal .modal-header{
    color: #284752;
    font-weight: 500;
    padding: 10px;
    font-size: 16px;
}
.add-modal .modal-body a{
    display: block;
    color: #49ccc5;
    font-weight: 500;
    padding: 8px 15px;
    text-decoration: none;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}
.add-modal .modal-body a img{
    margin-right: 15px;
    width: 25px;
    height: 25px;
}
.add-modal .modal-body{
    padding: 0;
}
.add-modal .modal-footer{
    padding: 10px;
    text-align: center;
}
.add-modal .modal-footer .btn-transparent{
    text-transform: uppercase;
    color: #737373;
    font-weight: 500;
}
.add-modal{
    top:50%;
    margin-top: -150px;
}
.invite{
    padding:0 20px 30px 20px;
}
.invite p{
    font-size: 16px;
    font-weight: 300;
}
.invite .name{
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 2px solid #5d5d5d;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
}
.nice-checkbox input[type=checkbox] {
    display: none;
}
.nice-checkbox{
    padding-left: 0;
    margin: 15px 0;
}
.radio label, .checkbox label{
    padding-left: 0;
}
.nice-checkbox input[type=checkbox]:checked + span.check{
    background-color: #49ccc5;
    border:none;
    background-image: url(../img/contacts_add_accept.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.nice-checkbox input[type=checkbox]:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.nice-checkbox span.check{
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #787878;
    vertical-align: middle;
    margin-right: 15px;
}
.nice-checkbox span.check:after{
     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 19px;
    height: 19px;
    background-image: url(../img/contacts_add_accept.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color:#49ccc5;
    top: 0px;
    left: 0px;
}
.nice-checkbox span.check:hover::after{
     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.3;
}
.btn-blue{
    background-color: #49ccc5;
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    max-width: 325px;
    width: 100%;
}
.btn-blue:hover{
    color: #fff;
    background-color: rgba(73, 204, 197, 0.65);
}
.btn-red{
    background-color: #b71c1c;
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    max-width: 325px;
    width: 100%;
}
.btn-green{
    background-color: #009688;
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    max-width: 325px;
    width: 100%;
}
.invite .btn{
    margin-top: 25px;
}
.btn-red:hover{
    color: #fff;
    background-color: rgba(183, 28, 28, 0.79);
}
.btn-green:hover{
    color: #fff;
    background-color: rgba(0, 150, 136, 0.75);
}
.btn-disabled{
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    max-width: 325px;
    width: 100%;
    background: #bdbdbd;
}
.btn-disabled:hover{
    color: #fff;
}
.message-code{
    background-color: #e6e6e6;
    font-size: 16px;
    padding: 15px;
    font-weight: 300;
}
.qr-code{
  max-width: 320px;
}
.message-code .links img{
    width: 25px;
    margin-right: 5px;
    height: 25px;
}
.code{
    margin: 20px 0 10px 0;
    text-align: center;
    font-weight: 500;
    word-wrap: break-word;
}
.message-code .links{
    font-size: 13px;
    text-align: center;
}
.message-code .links a{
    color: #333;
    text-decoration: underline;
}
.message-code .links i{
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.mobile-keyboard .light .key{
    background-color: #1a2e35;
    margin: 0;
}
.mobile-keyboard .dark .key{
    background-color: #132126;
    margin: 0;
}
.mobile-keyboard .key-row{
    margin: 0;
}
.mobile-keyboard{
    background-color: #1a2e35;
    user-select: none;
}

.user ul .toGroup a{
    border-bottom: none;
}
.toGroup .amount{
    width: 23px;
    border-radius: 8px;
    font-size: 9px;
    right: -12px;
}
.box-name{
    background: #e7e7e7;
    padding: 8px 5px 8px 45px;
    position: relative;
    max-width: 150px;
    border-radius: 20px;
    margin-bottom: 15px;
}
.box-name .circle{
    border-radius: 100%;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    color: #fff;
    line-height: 38px;
}
.message .newChat{
    position:relative;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    z-index: 1;
}
.invite .title{
    color: #1a2e35;
    font-weight: 500;
    font-size: 18px;
    padding: 10px 0;
}
.invite .table tr td span{
    padding-top: 10px;
    display: inline-block;
    font-size: 16px;
    margin-left: 10px;
}
.table>tbody>tr>td{
    border-bottom: 1px solid #dedede;
    border-top:none;
    padding: 10px 0;
}
.invite .date{
    font-weight: 300;
    font-size: 12px;
    color: #a4a4a4;
}
.groups-table{
    overflow: auto;
}
.groups-table img{
    width: 16px;
    padding-top: 10px;
    vertical-align: middle;
    height: 26px;
}
.settings-box{
    overflow: auto;
}
.groups-table>tbody>tr>td{
    vertical-align: middle;
}
.invite .name-group{
    width: 100%;
    background-color: transparent;
    border:none;
    border-bottom: 2px solid #284752;
    font-size: 16px;
    outline: none;
    color: #000;
}
.invite .name-group::-webkit-input-placeholder {font-size: 16px;}
.invite .name-group::-moz-placeholder{font-size: 16px;}
.invite .name-group:-moz-placeholder{font-size: 16px;}
.invite .name-group:-ms-input-placeholder{font-size: 16px;;}

.list{
    padding: 20px 0;
    overflow-y: auto;
}
.list .nice-checkbox{
    font-size: 16px;
}
.list .nice-checkbox span{
    margin-right: 40px;
}
.settings span{
    text-transform:uppercase;
}
.settings span .date span{
    text-transform: none;
}
.contact.settings.active ul li{
    padding: 10px 12px;
}
.contact.settings.active ul li.active .date{
    font-weight: 500;
}
.title-sm{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.settings-block .onoffswitch{
    float: right;
    margin-right: 10px;
}
.settings-block p{
    float: left;
    margin-bottom: 20px;
}
.settings-block{
    padding: 25px 0;
}
.settings-block .title-sm{
    padding-bottom: 20px;
}
.onoffswitch {
    position: relative; width: 43px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border-radius: 50px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 14px; padding: 0; line-height: 14px;
    font-size: 10px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "";
    padding-left: 5px;
    background-color: #49CCC5; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "";
    padding-right: 5px;
    background-color: #bfbebe;
    text-align: right;
}
.onoffswitch-switch {
    display: block;
    width: 22px;
    height: 22px;
    margin: -4px;
    background: #EEEEEE;
    position: absolute; top: 0; bottom: 0;
    right: 25px;
    border-radius: 50px;
    transition: all 0.3s ease-in 0s;
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.32);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.32);
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.32);
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
    background-color: #009688;
}
.settings-account .btn{
    margin:20px 0;
}
.remove-time{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    padding: 20px 0;
    display: flex;
}

.remove-time .time{
    margin-right: 10px;
    color: #009688;
    font-size: 28px;
    text-align: center;
    font-weight: 100;
    line-height: 20px;
    cursor: pointer;
    padding: 8px 5px 5px 5px;
    border-radius: 5px;
}
.remove-time .time:hover{
    background-color: #fbfbfb;
    box-shadow: 0 0 4px #c0c0c0;
}
.remove-time .time.active{
    background-color: #fbfbfb;
    box-shadow: 0 0 4px #c0c0c0;
}
.remove-time .time span{
    display: block;
    font-size: 16px;
}
.remove-time .time.light{
    color: rgba(0, 150, 136, 0.32);
}
.remove-time .time.light-two{
    color: rgba(0, 150, 136, 0.59);
}
.current{
    font-style: italic;
    font-size: 16px;
    color: #000;
    margin-top: -15px;
}
.settings-account select{
    max-width: 400px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-bottom: 1px solid #666;
    border-radius: 0;
    font-size: 16px;
    padding-left: 0;
    margin-bottom: 20px;
}
.message-box{
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
}
.settings-account select:focus{
    border-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid #666;
}
.btn-box button{
    max-width: 260px;
    margin: 0 10px;
}
.settings-account .btn-box button{
    margin: 20px 10px;
}
.invite a{
    text-decoration: underline;
    color: #000;
}
.warning-box{
    background-color: #fff;
    position: relative;
    padding: 15px;
    font-size: 16px;
}
.settings-box-info{
    min-height: 100%;
    overflow: auto;
}
@media (max-width: 991px){
   .btn-box button{
        max-width: 210px;
   }
   .two {
        flex: 2.09;
    }
    .nine {
        flex: 9.6;
    }
    .message{
        width:25%;
    }
}
@media (max-width: 860px){
   .btn-box button{
    max-width: 160px;
   }
   .remove-time .time{
        width: 15%;
        font-size: 16px;
        margin-right: 0;
   }
   .remove-time .time span{
        font-size: 12px;
   }
   .settings-block p{
        max-width: 300px;
   }
}

@media (max-width: 767px){
    .main{
        flex-direction: column;
    }
    .main.listcontainer{
        height: 100%;
    }
   .contact{
    max-width: none;
    background-color: #f6f6f6;
    overflow: auto;
   }
   .settings-box{
        max-height: 100%;
        overflow: initial;
   }
   .sidebar{
    width: auto;
    text-align: left;
    background-color: #1a2e35;
    position: relative;
   }
   .sidebar a{
    float: none;
    width: 75px;
    display: inline-block;
    background-color: transparent;
    padding: 16px 0px;
    text-align: center;
    height: 65px;
    }
    .sidebar a.chat,.sidebar a.face,.sidebar a.groups,.sidebar a.settings-ico,.sidebar a.sharedcontacts,.sidebar a.active.groups,.sidebar a.active.chat,.sidebar a.active.face,.sidebar a.active.settings-ico,.sidebar a.active.sharedcontacts{
        background-position: center 9px;
    }
   .sidebar a.active{
    border-right: none;
    border-bottom: 4px solid #a7ffec;
    background-color: transparent;
   }
   .mobile-menu{
        font-size: 9px;
        text-transform: uppercase;
        padding-top:25px;
   }

   .contact .arrow{
        padding: 25px 80px;
   }
   .list{
        overflow: auto;
        height: 100%;
   }
   .btn-box button{
    max-width: 120px;
   }
   .settings-block p{
        font-size: 13px;
   }
   .settings-account .btn-box button{
        max-width: 100%;
   }
   .sidebar a .amount{
        right: 11px;
   }
   .mobileFooter{
    position: relative;
   }
   .chat-body{
        height: auto;
   }
   .warning{
    min-height: 50px;
   }
   .groups-table{
        max-height:100%;
        overflow: initial;
    }
   .footerMessage{
        max-width: 100%;
   }
   _::-webkit-:not(:root:root), .sidebar {
        height: 100%;
        max-height: 65px;
}
    .sidebar a .amount{
        top: 5px;
    }
    .settings-box-info{
        overflow: visible;
        height: auto;
    }
    .message{
        width:100%;
        max-width:100%;
    }
    .nice-checkbox span:hover::after{
         -ms-filter: none;
        filter: none;
        opacity: 0;
    }

}
@media (max-width: 360px){
    .sidebar a{
        width: 65px;
    }
    .mobile-menu{
        font-size: 8px;
    }
    .footerMessage input{
        height: 24px;
    }
    .sidebar a .amount{
       top:2px;
    }
    .settings-block p{
        max-width: 200px;
    }
    .warning{
        min-height: 30px;
        font-size: 9px;
        padding: 3px 15px;
    }
    .sidebar a{
        padding: 16px 10px;
    }

    .contact.active ul li {
        padding: 0px 25px;
    }

    .footerMessage button{
        padding: 0 2px;
        height: 26px;
    }
    .settings-account .btn-box button{
        max-width: 195px;
    }
    .remove-time .time{
        width: 13%;
    }
    .remove-time .time span{
        font-size: 10px;
    }
    .contact li a{
        padding: 8px 0;
        display: inline-block;
    }
    .contact{
        height: 225px;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #bdbdbd;
}
.ie9 img[src$=".svg"] {
  max-width: 100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    max-width: 100%;
  }
}
.nice-checkbox{
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
    -ms-user-select: none;
   user-select: none;
}


_::-webkit-:not(:root:root), .footerMessage{
   flex:0 0 auto;

}

.message-input {
    width: calc(100% - 93px);
    overflow: hidden;
    /*flex-grow: 1;*/
}
@media (max-width: 767px) {
    .message-input {
        width: calc(100% - 60px);
    }
}

.custom-input {
    padding-top: 4px;
    border-bottom: #cbcaca solid 2px;
    -webkit-user-select: text;
    user-select: text;
    background: 0 0;
    overflow-x: auto;
    white-space: nowrap;
}
.custom-input.editing {
}
.custom-input.multiline {
	white-space: pre-line;
    max-height: 130px;
	word-wrap: break-word;
	padding: 0 0 0 0;
	border-bottom: none;
    overflow-y: auto;
    font-family: monospace;
}
.custom-input .placeholder {
    color: #aaa;
	-webkit-user-select: none;
}
.custom-input .cursor {
	animation: blink 1s steps(2, start) infinite;
	font-weight: bold;
	width: 0;
	display: inline;
	margin-left: -4px;
    margin-right: -3.69px;
}

@keyframes blink {
	to {
		visibility: hidden;
	}
}
@-webkit-keyframes blink {
	to {
		visibility: hidden;
	}
}

@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu.dropdown-nav-menu {
        right: 0;
        left: initial;
        position: absolute;
        float: left;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,0.15);
        box-shadow: 0 6px 12px rgba(0,0,0,0.175);
    }
}
.nav .dropdown-nav-menu li a {
    color: #333;
}
.toast {
	position: absolute;
	bottom: 100px;
	text-align: center;
	z-index: 10000;
	width: 100%;
	opacity: 1;
	transition: opacity 1s;
    color: #fff;
    pointer-events: none;
}

.toast > div {
	padding: 8px;
	border-radius: 10px;
	background-color: #444;
	display: inline-block;
    pointer-events: none;
}

.toast.hide {
	opacity: 0;
}

.back-button {
  width: 32px;
  height: 32px;
  padding: 9px 9px 9px 0;
}

.search-svg {
	position: absolute;
	right: 32px;
	width: 30px;
    padding-top: 5px;
}
.search-input {
    text-align: left;
    padding: 0 11px;
    width: 80%;
    margin: 0 4px;
    font-size: 16px;
    background: transparent;
    border: none;
    text-transform: none;
}

.dragging {
  border: green 2px dotted;
  opacity: 0.5;
}
