/* @import url('https://fonts.googleapis.com/css?family=Cabin:400,500,600,700'); */

/** RESET */
html, body, div, span, applet, object, iframe,
blockquote, pre, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* body {
    font: 400 15px/1 'Cabin', sans-serif;
    color: #5d5955;
} */

a:hover, a:focus, a:active {
    text-decoration: none;
}

button {
    padding: 0;
    outline: none;
}

b {
    font-weight: 700;
}

.qb-select {
    width: 100%;
    padding: 6px;

    border: 1px solid #cdcdcd;
    border-radius: 3px;

    outline: none;
}

.qb-video {
    position: relative;
    padding: 0 0 70% 0; /* 4:3 */
    background: #000;
}
.qb-video_source {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    width: 100%;
    height: 100%;
    margin: auto;
}

.qb-error {
    color: #d0021b;
}

.qb-text {
    color: #808080;
}

.fw-link {
    display: inline-block;
    position: relative;

    color: #025fca;
    font-weight: 600;

    /* reset */
    border: none;
    outline: none;
    text-decoration: none;
    background: transparent;
}
.fw-link:active,
.fw-link:hover {
    color: #025fca;
    text-decoration: none;
}
.fw-link:before {
    content: " ";
    display: block;
    width: 100%;
    height: 1px;

    position: absolute;
    bottom: -2px;
    right: 0;

    background: #025fca;

    opacity: 0;
    transition: all .3s ease;
}
.fw-link:hover:before {
    bottom: 0;
    opacity: 1;
}

.inner {
    position: relative;
    width: 90%;
    max-width: 890px;
    margin: 0 auto;
}
.inner:after {
    content:"";
    display:table;
    clear:both;
}

/*.wait:after {
    content: "";
    display: block;
    min-height: 100%;
    min-width: 100px;
    position: absolute;

    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255,255,255, .8) url('images/loader2.gif') center no-repeat;
}*/

/**
 * HEADER
 */

#servicesPanel .tab-content {
    border: 1px solid #ddd;
    padding: 10px 0px;
}

#servicesPanel .panel {
    border-bottom: 0;
}

.header {
    display: block;
    padding: 32px 0;
    border-bottom: 1px solid #efeff4;
}

.header__logo {
    height: 35px;
    margin: 0 0 10px 0;
}

.header__logo_img {
    max-height: 100%;
}

.header__title {
    position: relative;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    color: #404040;
}
.header__logo,
.header__title {
    text-align: center;
}

.header_version {
    position: absolute;
    bottom: 100%;
    right: 0;
}

@media all and (min-width: 780px) {
    .header__logo,
    .header__title {
        text-align: left;
    }
    .header__logo {
        float: left;
        margin: 0;
    }
    .header__title {
        float: right;
    }
}

/**
 * FOOTER
 */
.footer {
    position: relative;
    width: 100%;
    padding: 18px 0 22px 0;

    background: #efeff4;
    box-shadow: 0 -1px 0 0 #ceced2;

    text-align: center;
}
.footer-fixed {
    position: fixed;
    bottom: 0;
}

.footer__inner .fw-link {
    font-size: 15px;
    font-weight: 600;
}

/**
 * PAGE
 */

.page {
    display: block;
    position: relative;
    margin-bottom: 60px;
}

/**
 * JOIN
 */
.join {
    display: none;
    margin: 30px 0;
    font-size: 18px;
    font-weight: 600;
    color: #6e6e6e;
}
/*.join-wait:after {
    content: "";
    display: block;
    position: absolute;

    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255,255,255, .8) url('images/loader2.gif') center no-repeat;
}*/
.page-join .join {
    display: block;
}

.join__title {
    line-height: 1.4;
    text-align: center;
}

.join__notice {
    margin: 10px 0 0 0;
    font-size: 14px;
}

.join__body {
    width: 90%;
    max-width: 410px;
    position: relative;
    margin: 30px auto 0 auto;
}

.join__row {
    margin: 0 0 20px 0;
}
.join__row:last-child {
    margin-bottom: 0;
}

.join__input,
.join__btn {
    display: block;
    width: 100%;
    height: 50px;

    border-radius: 4px;

    font-weight: 500;
    line-height: 50px;

    outline: none;
    transition: all .4s ease;
}
.join__input {
    padding: 0 0 0 15px;
    border: solid 1px #d3d3d3;
    background-color: #ffffff;
    font-size: 17px;
}
.join__input:focus {
    border-color: #959595;
}
.join__btn {
    background-color: #025fca;
    color: #fff;

    border: none;
}

/**
 * DASHBOARD
 */
.dashboard {
    display: none;
}
.page-dashboard .dashboard {
    display: block;
}

.dashboard__inner {
    margin-top: 33px;
}

/**
 * stateBoard
 */
.state_board {
    padding: 10px 0 12px 0;

    font-size: 13px;
    line-height: 1.4;
    color: #808080;

    background: #efeff4;
}
.state_board .fw-link {
    margin: 0 0 0 10px;
}

/**
 * USERS
 */
.users {
    width: 25%;
    float: left;
}

.users__title {
    position: relative;
    padding: 0 25px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    line-height: 24px;
}

.users__refresh {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
}

.users__list {
    position: relative;
    margin: 20px 0 0 0;
}

.users__item {
    margin: 0 0 5px 0;
}

.users__user {
    display: block;
    position: relative;
    width: 100%;
    height: 48px;
    padding: 10px 38px 9px 8px;
    text-align: left;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    border: 1px solid transparent;
    background: transparent;
    outline: none;

    transition: border-color, background-color .3s ease;
}
.users__user:hover {
    background-color: #eee;
}
.users__user.active {
    border-color: #41cc44;
}
.users__user.active:hover {
    background-color: transparent;
}

.user__icon {
    position: absolute;
    top: 50%;
    margin: -14.5px 0 0 0;
    display: block;
    width: 29px;
    height: 29px;

    border-radius: 6.5px;
    background: #ff9500 url("images/user.svg") no-repeat center bottom;
}
.users__item:nth-child(2) .user__icon {
    background-color: #007aff;
}
.users__item:nth-child(3) .user__icon {
    background-color: #fc1b9b;
}
.users__item:nth-child(4) .user__icon {
    background-color: #a727a5;
}
.users__item:nth-child(5) .user__icon {
    background-color: #aa9d00;
}
.users__item:nth-child(6) .user__icon {
    background-color: #50e3c2;
}
.users__item:nth-child(7) .user__icon {
    background-color: #d0021b;
}
.users__item:nth-child(8) .user__icon {
    background-color: #77a846;
}
.users__item:nth-child(9) .user__icon {
    background-color: #007aff;
}

.user__name {
    width: 100%;
    margin: 0 0 0 43px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #1f1f1f;
}

.users__btn_remove {
    display: block;
    width: 28px;
    height: 28px;

    position: absolute;
    top: 50%;
    margin: -14px 0 0 0;
    right: 10px;

    background: url('images/ic_remove.svg') center no-repeat;
    background-size: cover;
    border-radius: 50%;

    color: #fff;
    line-height: 16px;

    box-shadow: inset 0 0 3px 3px rgba(255,255,255,1);

    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;

    cursor: pointer;
}
.users__user.active .users__btn_remove {
    visibility: visible;
    opacity: 1;
}

.board {
    position: relative;
    width: 75%;
    min-height: 300px;
    float: right;
    padding: 0 0 0 14px;
    box-sizing: border-box;
}

/*.frames {
    padding: 0 150px 0 0;
}*/

.caller {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 200px;
}

.caller__ctrl{
    height: 100px;
}

.caller__ctrl_btn {
    width: 100%;
    padding: 10px 20px;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #025fca;

    background: transparent;
    border: 1px solid #025fca;
    border-radius: 3px;

    transition: all .3s ease;
}
.caller__ctrl_btn.m-video_call:before {
    content: 'Video Call'
}
.caller__ctrl_btn.m-audio_call:before {
    content: 'Audio Call'
}
.caller__ctrl_btn:hover {
    background: #025fca;
    color: #fff;
}

.caller__ctrl_btn.hangup:before {
    content: 'End Call'
}
.caller__ctrl_btn.hangup:hover {
  color: #000;
  background: gray;
  text-shadow: 0px 0px;
  font-weight: 400;
}

.caller__name {
    margin: 20px 0 0 0;

    font-size: 15px;
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.caller__frames {
    margin: 7px 0 0 0;
}

.caller__frames_acts {
    margin: 10px 0 0 0;
}

.caller__frames_acts_btn {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;

    margin: 0 15px 0 0;

    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;

    outline: none;
}
.caller__frames_acts_btn:last-child {
    margin-right: 0;
}
.caller__frames_acts_btn .svg_icon {
    fill: #808080;
    transition: fill .3s ease;
}
.caller__frames_acts_btn.active .svg_icon {
    fill: #41cc44;
}
.caller__frames_acts_btn_record {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;

    margin: 0 15px 0 0;

    border: 3px solid #808080;
    background: #808080;
    border-radius: 50%;
    box-shadow: inset 0px 0 0 3px #fff;
}
.caller__frames_acts_btn_record.active {
    background: #cc0000;
    border-color: #cc0000;
}

.caller__frames_fl {
    margin: 30px 0 10px 0;
}

/**
 * MAIN VIDEO
 */
.frames__main {
    position: relative;
}

.frames__main_timer {
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 10px;
    padding: 10px;

    border-radius: 8px;
    background: rgba(0,0,0, .5);
    color: #fff;
    z-index: 9;
}

/**
 * CALLEES
 */

.frames__callees {
    margin: 17px 0 0 0;
    font-size: 0;
}

.frames_callee {
    display: inline-block;
    position: relative;
    width: 33%;

    margin-bottom: 15px;

    padding-top: 14px;
    padding-right: 10px;

    vertical-align: top;

    font-size: 14px;
}
.frames_callee.wait:after {
    min-width: auto;
    min-height: auto;
    background-size: 30%;
}

.frames_callee__inner {
    position: relative;
    margin: 0 0 10px 0;
}

.frames_callee__status {
    position: absolute;
    width: 100%;
    top: -14px;

    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
}

.frames_callee__video {
    margin: 0 auto;
    border: 4px solid transparent;

    transition: border-color .3s ease;
}
.frames_callee__video.active {
    border-color: #41cc44;
}
/*.frames_callee-wait .callees__callee__inner:before{
    content: " ";
    display: block;

    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;

    background: #bfbfbf url('images/loader3.gif') no-repeat center;
    z-index: 9;
}*/

.frames_callee__name {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
}

ul#menu-userfull-links a {
    font-weight: 500;
}

li.doc-btnviewall a {
    color: #2C97DE !important;
}

.doc-btnviewall i.fa.fa-angle-right {
    color: #2C97DE;
}

.doc-featurelist .demo {
    width: 405px;
    margin-left: 15px;
}

.btn-primary {
    color: #fff;
    background-color: #00B140;
    border-color: #00B140;
}

.doc-widgetcontent .doc-checkbox {
    margin: 6px 0px;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-image: linear-gradient(45deg,#393c3a, #5f5f5f);
}

div#doc-twocolumns {
    margin-top: 4%;
    margin-bottom: 3%;
}

.tg-btn {
  /*  border-color: #2C97DE !important;*/
}

.tg-btn:hover {
    background-image: linear-gradient(45deg,#393c3a, #5f5f5f);
}

ul.pagination > li.active > a, ul.pagination > li.active > a:hover, ul.pagination > li.active > a:focus {
    border-color: #00B140 !important;
    background: #00B140 !important;
}

ul.pagination > li > a {
    border: 1px solid #ddd;
}

.row.custom-row, .row.doc-featurelist {
    border-bottom: 1px solid #eaeaea;
}

ul.pagination > li > span {
    padding: 0px 10px;
}

/* ul.pagination {
    font: 400 17px/1 'Cabin', sans-serif;
} */

#menu-footer-menu a:hover, #menu-footer-menu a:focus, #menu-footer-menu a:active {
    color: #fff;
}

#menu-main-menu li a:hover  {
    color: #00B140 !important;
    text-decoration:none;
}

.doc-admin a:hover {
    background-image: linear-gradient(45deg,#393c3a, #5f5f5f) !important;
    text-decoration: none;
}

@media(min-width: 992px) {

	.left-que-box {
		min-height: 600px;
	}

    .control-para {
        height: 410px;
    }

    .video-connecting {
        padding-top: 10%;
    }

    .inner {
        text-align: center;
    }

    .board.clearfix.j-board {
        float: none;
        margin: 0 auto;
        width: 100%;
    }

}

@media(max-width:740px) {

    .doc-featurelist .col-md-6 {
        width: 100%;
        display: block;
        float: left;
        text-align: center;
    }

    .doc-featureimg.col-sm-1 {
        width: 47% !important;
    }

    .doc-featurecontent.col-sm-2 {
        width: 49% !important;
        float: left !important;
    }

    .doc-featurehead {
        font-size: 13px;
        margin: 8px 5px;
    }

    .doc-featurelist .demo {
        width: auto;
        margin-left: 0px;
    }

}


@media(min-width:768px) and (max-width:1080px) {

    #doc-twocolumns {
        margin-left: -20px;
        margin-right: -20px;
    }

    .doc-logo {
        width: 25% !important;
        margin-top: 2%;
    }

    .row.doc-featurelist .col-md-6 {
        width: 100% !important;
    }

    .doc-featurelist .btn.btn-mvp.row {
        margin: 0 auto;
        text-align: center;
        float: right;
        margin: 3% 22%;
    }

    .doc-featurelist .demo {
        margin-left: 0px;
    }

    #doc-sidebar .btn-primary {
        font-size: 13px;
        padding: 7px 14px;
    }

    .custom-row .doc-sortby .doc-select {
        float: left;
        width: 45% !important;
        margin: 3px 2px;
    }

    .col-lg-3.col-md-3.col-sm-4.col-xs-12.pull-left {
        width: 35%;
    }

    .col-lg-9.col-md-9.col-sm-8.col-xs-12.pull-right {
        width: 65%;
    }

}

.video-connecting {
    border: none;
}

/*Vidoe call filter and sub vidoe hidden*/
.caller__frames_fl, .m-video_call, .m-audio_call, .frames__callees.j-callees {
    display: none;
}

.m-video_call.hangup {
   display: block !important;
}

.caller__name {
    display: none;
}

.j-state_board {
     display: none;
}

.dashboard__inner.inner {
    width: 100%;
}

.board.clearfix.j-board {
    padding-left: 0;
}

/*    .end.call {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: none;
}*/

.tab-content h3 {
    margin: 10px;
    font-size: 15px;
    font-weight: bold;
}

.video-caller h3 {
    font-size: 20px;
}

.frames__main .qb-video {
    border-radius: 10px;
}

/*.video-question-box {
    margin-bottom: 0px;
}*/

@media(min-width:992px) {
    .caller__frames {
        margin-top: 125px;
    }

    .dashboard__inner.inner {
        margin-top: 0px;
    }

    .frames__main .qb-video {
        min-height: 600px;
    }

    .caller__ctrl {
         position: absolute;
        bottom: -126px;
        width: 100%;
        right: 200px;
    }

    .caller_receiver .caller {
      position: absolute;
      right: 2px;
      bottom: -24px;
      width: 200px;
  }

  .caller_receiver .caller__ctrl {
    right: 0px;
    bottom: -85px;
    }

}

.dashboard.j-dashboard.caller_receiver {
    margin-top: 4%;
}

#main_video {
    border-radius: 10px;
}

.modal-header h4 {
    font-size: 14px;
    text-align: center;
}

.m-video_call.hangup {
    width: 100%;
    height: 36px;
    border-radius: 6px;
    background-image: linear-gradient(to bottom, #d8d8d8, #b3b3b3);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 0 #ffffff;
    border: solid 1px #979797;
    font-size: 14px;
    font-weight: bold;
    color: #4a4a4a;
    text-shadow: 0 1px 0 #ffffff;
    display: block !important;
    text-align: center;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-bottom: 4%;
    text-transform: uppercase;
}

.feedback-form2 {
    min-height: 50px;
    resize: none;
}

.feedback-form {
  resize: none;
}

@media(max-width: 480px) {

  .caller {
    width: 120px;
    top: 21%;
    right: 0%;
  }

}

@media(max-width: 767px) {
  .frames__main .qb-video {
    padding: 0 0 100% 0;
  }

  .board {
    width: 100%;
  }

  .caller {
    width: 120px;
    top: 29%;
    right: 0%;
  }

  .caller__ctrl_btn.j-actions.m-video_call.hangup {
    position: absolute;
    bottom: -47px;
    right: 3px;
   }

  .dashboard.j-dashboard.caller_receiver {
    width: 95%;
    margin: 0 auto;
  }

  #doc-nav {
    position: absolute;
    left: 0px;
    float: left;
    width: 100%;
    z-index: 999;
  }

  #menu-main-menu {
    margin-top: 15px;
    margin-bottom: 15px;
	}

  .navbar-header {
    display: inline-block;
    margin-left: 12px;
  }

  .doc-admin {
    z-index: 999;
  }

}

@media(min-width: 768px) and (max-width: 1023px) {

  .right-ques-box {
    min-height: 400px;
  }

  .board {
    width: 100%;
  }

  .right-ques-box.left-que-box ul li {
    padding-left: 31px;
  }

.video-question-box .col-sm-6 {
    width: 100%;
  }

  .caller {
    width: 150px;
    top: auto;
    right: 0%;
  }

  .video-caller h3 {
    position: absolute;
    bottom: 22%;
    left: 105%;
    width: 100%;
  }

  .video-connect .col-sm-12 {
    width: 80%;
  }

}

.right-ques-box.left-que-box.panal-body-control .panel-body {
    height: 235px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.practitioner label {
    padding: 14px 4px;
    padding-bottom: 14px;
    display: block;
    font-size: 13px;
    padding-bottom: 5px;
}

    .practitioner .practitioner-text {
        min-height: 100px;
        resize: none;
    }

    .code td {
        padding: 10px;
    }
    #absenceform label {
        padding: 15px 4px;
    }

    .endCallBtn, .cancelCallBtn  {
    bottom: -7%;
    position: relative;
    width: 24%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
    /* border: 1px solid #979797; */
    text-transform: uppercase;
    /* text-shadow: 0px 0px 0px #000; */
    background-image: linear-gradient(to bottom, #d8d8d8, #b3b3b3) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 0 #ffffff;
    border: solid 1px #979797;
    font-size: 12px;
    z-index: 999;
}

#waiting_list_tab .modal-header h3 {
    display: inline-block;
    color: #fff !important;
    text-align: center !important;
    float: none !important;
    margin: 0;
}


/******========================== Quickbox *****************================*/
.users {
    width: 100% !important;
    float: none !important;
    text-align: left;
}

.users__item {
    display: inline-block !important;
}

.ui-dialog .button:hover, button:hover {
  background-position: 0px !important;
}


.caller__ctrl_btn:hover {
    background: #2C97DE;
  }

.caller__ctrl_btn {
  border-color: #2C97DE;
}
