


.paddbox {
  padding: 15px;
}
/*mainhead*/
header {
  position: relative;
  z-index: 99;
  height: 78px;
}

.mainhead {
  /* position: fixed;
  left: 0;
  right: 0;
  top: 0; */
}

.mainhead {
  padding: 2px;
  background: rgb(16,167,232); /* Old browsers */
  background: -moz-linear-gradient(left, rgba(16,167,232,1) 0%, rgba(50,121,238,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(16,167,232,1) 0%,rgba(50,121,238,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(16,167,232,1) 0%,rgba(50,121,238,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#10a7e8', endColorstr='#3279ee',GradientType=1 ); /* IE6-9 */
}

.gradientbox {
  position: relative;
  padding-top: 40px;
  width: 100%;
  overflow: hidden;
  margin-top: -15px !important;
}

  .gradientbox:before {
    background: -moz-linear-gradient(top, rgba(217,246,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(217,246,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(217,246,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9f6ff', endColorstr='#fff',GradientType=0 ); /* IE6-9 */
    content: "";
    height: 400px;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    z-index: -1;
  }

.logo {
  float: left;
  width: 100px;
  display: block;
  position: relative;
  margin: 20px 12px 0;
}

.mainhead .navbar {
  margin: 0;
  border-radius: 0;
}

.mainhead .navbar-nav > li > a {
  color: #fff;
  border-radius: 4px;
}

.mainhead .navbar-nav {
  margin: 11px 0 0;
}


.nav .open > a, .nav .open > a:hover, .nav .open > a:focus,
.mainhead .nav > li > a:hover, .mainhead .nav > li > a:focus {
  background: rgba(0,0,0,0.1) !important;
  color: #fff;
}



.mainhead .nav > li {
  position: relative;
}

.mainhead .navbar-nav .dropdown-menu {
  right: 0;
  left: auto;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
  padding: 0;
  overflow: hidden;
  border: 1px solid #fff;
}

.dropdown-menu > li > a {
  padding: 10px 15px;
  overflow: hidden;
  font-size: 13px;
}

  .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background: #eee;
  }


.dropdown-menu > li.showall-dropdown > a {
  text-align: center;
  font-weight: bold;
  background: #d9f6ff;
  color: #4a57ba !important;
  padding: 10px;
}


  .dropdown-menu > li.showall-dropdown > a:hover, .dropdown-menu > li.showall-dropdown > a:focus {
    background: #a4e9ff;
    color: #4a57ba !important;
  }


.dropdown-menu.notifi-menu > li > a {
  border-bottom: 1px solid #eee;
}

.dropdown-menu > li > a > small {
  display: inline-block;
  font-size: 10px;
  text-align: left;
  float: left;
  color: #999;
  padding: 2px 0;
}


.mainhead .navbar-nav > li.notification_counter > a, .mainhead .navbar-nav > li.notification_counter > a:hover {
  padding: 0;
  margin: 0;
  background: #ffea00 !important;
  color: #000;
  width: 24px;
  height: 24px;
  line-height: 25px;
  text-align: center;
  position: relative;
  right: 12px;
  direction: ltr;
  z-index: 99;
  margin-bottom: 10px;
  font-size: 11px;
  border-radius: 15px;
  box-shadow: 0 0 8px #0c46b5;
}



.mainhead .nav > li.iconicmenu > a img {
  width: 23px;
  margin: 0 auto;
  display: block;
}

.mainhead .navbar-nav > li.iconicmenu {
  position: relative;
}

  .mainhead .navbar-nav > li.iconicmenu > a {
    padding: 3px;
    margin: 10px 2px;
  }

  .mainhead .navbar-nav > li.iconicmenu.newicon {
    margin: 0;
  }


.nav .open > a, .nav .iconicmenu.open > a:hover, .nav .iconicmenu.open > a:focus, .mainhead .nav > li.iconicmenu > a:hover, .mainhead .nav > li.iconicmenu > a:focus {
  background: none !important;
}


.dropdown-menu.notification-dropdown > li > a > h2 {
  font-size: 13px;
  display: block;
  overflow: hidden;
  margin: 0;
  max-width: 300px;
  min-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-menu.notification-dropdown > li {
}

  .dropdown-menu.notification-dropdown > li:last-child {
    border: 0 !important;
  }

.dropdown-menu > li > a.btn {
  display: block;
  margin: 0;
  border-radius: 0;
  padding: 15px;
}

  .dropdown-menu > li > a.btn:hover, .dropdown-menu > li > a.btn:focus {
    background: #a4e9ff;
    color: #4a57ba !important;
  }


/*calendar*/
.datepicker-plot-area {
  border: none;
  margin: 5px auto;
  padding: 15px;
  box-shadow: none;
}

  .datepicker-plot-area * {
    font-family: yekan;
  }


  .datepicker-plot-area .datepicker-day-view .table-days td span, .datepicker-plot-area .datepicker-year-view .year-item, .datepicker-plot-area .datepicker-month-view .month-item, /*hame*/
  .datepicker-plot-area .datepicker-day-view .table-days td.today span, /*emruz*/
  .datepicker-plot-area .datepicker-day-view .table-days td.disabled span, .datepicker-plot-area .datepicker-year-view .year-item-disable, .datepicker-plot-area .datepicker-month-view .month-item-disable /*off*/ {
    border: 1px solid #ccc !important;
    width: 41px;
    height: 20px;
    line-height: 20px;
    border-radius: 3px;
    font-size: 12px;
  }

    .datepicker-plot-area .datepicker-day-view .table-days td.selected span .datepicker-plot-area .datepicker-day-view .table-days td:hover, .datepicker-plot-area .datepicker-day-view .table-days td span:hover, .datepicker-plot-area .datepicker-year-view .year-item:hover, .datepicker-plot-area .datepicker-month-view .month-item:hover {
      background: #a4e9ff;
      color: #4a57ba !important;
      border-color: #a4e9ff !important;
    }

  .datepicker-plot-area .datepicker-day-view .table-days td.selected.today span,
  .datepicker-plot-area .datepicker-day-view .table-days td.selected span .datepicker-plot-area .datepicker-day-view .table-days td.selected:hover, .datepicker-plot-area .datepicker-day-view .table-days td.selected span:hover,
  .datepicker-plot-area .datepicker-day-view .table-days td.selected span .datepicker-plot-area .datepicker-day-view .table-days td.selected, .datepicker-plot-area .datepicker-day-view .table-days td.selected span {
    background: -moz-linear-gradient(bottom, rgba(81,144,254,1) 0%, rgba(33,185,238,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(bottom, rgba(81,144,254,1) 0%,rgba(33,185,238,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to top, rgba(81,144,254,1) 0%,rgba(33,185,238,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5190fe', endColorstr='#20baee',GradientType=0 ); /* IE6-9 */
    color: #fff !important;
    border: none !important;
  }

  .datepicker-plot-area .datepicker-day-view .table-days td span.other-month {
    background-color: "";
    color: #d9d9d9;
    border: none;
    text-shadow: none;
    border: none !important;
  }

  .datepicker-plot-area .datepicker-day-view .table-days td.today span {
    background: #fff;
    color: #4a57ba !important;
    font-weight: bold;
    border: 1px solid #4a57ba !important;
  }

  .datepicker-plot-area .toolbox .pwt-btn-submit, .datepicker-plot-area .toolbox .pwt-btn-calendar, .datepicker-plot-area .toolbox .pwt-btn-today {
    background: #a4e9ff !important;
    color: #4a57ba !important;
    border-radius: 5px;
  }

.pwt-btn.pwt-btn-prev,
.pwt-btn.pwt-btn-next {
  background: #eee !important;
  border-radius: 5px !important;
}


.calendarbox {
  width: 350px;
  border-left: 1px solid #a4e9ff;
  position: fixed;
  right: 0;
  top: 78px;
  background: #fff;
  bottom: 0;
}

.mainboxes {
  float: right;
  width: 100%;
  padding-right: 350px;
}


  .mainboxes.hasfooterlist {
    padding-bottom: 140px;
  }


  .mainboxes.canreplay {
    padding-bottom: 100px;
  }


  .mainboxes > section {
    padding: 15px;
    width: 100%;
    float: right;
  }

.calendarbox_inner .btn.btn-Default {
  width: 300px;
  margin: 3px auto;
  display: block;
  float: none;
}


/*tbox*/

.tbox > h2,
h2.tbtitle {
  color: #4a57ba;
  font-size: 19px;
  overflow: hidden;
  position: relative;
  line-height: 40px;
  padding-top: 19px;
  margin-top: 6px;
  width: 100%;
}

h2.tbtitle {
  font-size: 13px;
}

  h2.tbtitle::after,
  .tbox > h2::after {
    content: "";
    width: 100%;
    background: #4a57ba;
    position: absolute;
    height: 2px;
    margin-top: 21px;
    margin-right: 10px;
    border-radius: 6px;
  }

  h2.tbtitle img,
  .tbox > h2 img {
    width: 35px;
    height: 35px;
    position: relative;
    top: -4px;
    margin-left: 10px;
  }


  .tbox > h2 > span, h2.tbtitle > span {
    font-weight: normal;
    background: #eee;
    padding: 3px 5px;
    margin-left: 6px;
    border-radius: 5px;
  }

  .nav-tabs small > a, .nav-tabs small > a:hover,
  h2.tbtitle .showall, h2.tbtitle .showall:hover,
  .tbox > h2 .showall, .tbox > h2 .showall:hover {
    background: #4a57ba;
    font-size: 12px;
    margin-right: 4px;
    padding: 0 4px;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    padding: 3px 9px;
    float: left;
    position: relative;
    height: 22px;
    line-height: 14px;
    top: 1px;
  }



    .nav-tabs small > a, .nav-tabs small > a:hover {
      border-radius: 3px 3px 0 0;
      top: 19px;
    }


  h2.tbtitle small.ename,
  .tbox > h2 small.ename {
    background: #4a57ba;
    font-size: 12px;
    margin: 0 11px 0 0px;
    padding: 0 4px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    padding: 3px 8px;
    z-index: 99;
    position: relative;
    height: 22px;
    line-height: 22px;
    letter-spacing: 1px;
  }


  h2.tbtitle small.numberic {
    border: 2px solid #4a57ba;
    margin: 8px 0 0 8px;
    border-radius: 6px;
    color: #4a57ba;
    font-size: 13px;
    padding: 2px 6px 0;
    z-index: 99;
    position: relative;
    line-height: 17px;
    width: 23px;
    display: block;
    float: right;
    height: 23px;
    border-radius: 50%;
    text-align: center;
  }

.beynemarizha {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 140px;
  padding: 10px;
  left: 350px;
  background: #d9f6ff;
}


  .beynemarizha > h2 {
    font-size: 14px;
    color: #4a57ba;
    float: right;
    padding: 10px 0 10px 20px;
    margin: 0 0 0 15px;
  }


/*clock*/
.live-clock {
  float: left;
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  margin: 17px 0 0;
  padding: 0 10px;
  color: #fff;
  height: 39px;
  line-height: 35px;
  border-left: 2px solid #fff;
}


  .live-clock > small {
    display: block;
    font-family: yekan;
    font-size: 11px;
    line-height: 4px;
    text-align: left;
  }



/*last_notifications*/

.notification {
  float: right;
  height: 27px;
  padding: 0;
  top: 2px;
  position: relative;
}

  .wnumber > a > small,
  .notification small {
    background-color: #FAACA8;
    background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);
    display: block;
    border: 0;
    position: absolute;
    min-width: 20px;
    padding: 0 4px;
    text-align: center;
    border-radius: 10px;
    top: -9px;
    right: -5px;
    height: 20px;
    line-height: 21px;
    color: #000;
    font-weight: normal;
    font-size: 12px;
  }

  .notification small {
    right: 6px;
    top: -14px;
  }

  .wnumber > a > small,
  .notification small {
    animation: notifiradar 1s 0.1s linear infinite;
  }


  .notification svg {
    float: right;
    height: 50px;
    margin-top: -2px;
    width: 50px;
  }

    .notification svg > path {
      fill: #fff;
    }

.notification--bell {
  animation: bell 2.2s linear infinite;
  transform-origin: 50% 0%;
}

.notification--bellClapper {
  animation: bellClapper 2.2s 0.1s linear infinite;
}

.notification--num {
  background: #74EBD5 none repeat scroll 0 0;
  border-radius: 50px;
  color: #ffffff;
  float: right;
  font-size: 12px;
  padding: 0 10px;
  text-align: center;
}

@keyframes notifiradar {
  0% {
    box-shadow: 0 0 0 0px rgba(45,0,26,0.2);
  }

  100% {
    box-shadow: 0 0 0 8px rgba(45,0,26,0);
  }
}

@keyframes bell {
  0%, 25%, 75%, 100% {
    transform: rotate(0deg);
  }

  40% {
    transform: rotate(10deg);
  }

  45% {
    transform: rotate(-10deg);
  }

  55% {
    transform: rotate(8deg);
  }

  60% {
    transform: rotate(-8deg);
  }
}

@keyframes bellClapper {
  0%, 25%, 75%, 100% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(-0.15em);
  }

  45% {
    transform: translateX(0.15em);
  }

  55% {
    transform: translateX(-0.1em);
  }

  60% {
    transform: translateX(0.1em);
  }
}

/*grid*/
.board {
  position: relative;
  direction: rtl;
}

.board-column-content schedule-item {
  float: right;
  display: block;
}


.board-column.muuri-item-releasing {
  z-index: 2;
}

.board-column.muuri-item-dragging {
  z-index: 3;
  cursor: move;
}

/*.board-item {
  position: absolute;
  margin: 5px;
}*/
.board-item.muuri-item-releasing {
  z-index: 9998;
}

.board-item.muuri-item-dragging {
  z-index: 9999;
  cursor: move;
}

.board-item.muuri-item-hidden {
  z-index: 0;
}

.board-item-content {
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
  height: 220px;
  width: 200px;
  border: 1px solid #ccc;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.board-item.muuri-item-dragging .board-item-content {
  -ms-transform: scale(1.05) !important;
  -webkit-transform: scale(1.05) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
  background: #fff !important;
}


.minibimar-item .board-item-content {
  border: none;
  background: none;
  height: 107px !important;
  width: 100px;
}



.free_times .bimar-item {
  float: right;
  margin: 5px;
}

.mainsick .minibimar-item .board-item-content {
  height: 210px !important;
}


.bimar-item {
  width: 200px;
}


  .bimar-item img {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    position: absolute;
    right: 0;
    left: 0;
    top: -9px;
    border: 0 solid #fff;
    margin: 0 auto;
  }

  .bimar-item.bimar-new img {
    top: 19px;
  }

  .bimar-item.bimar-new h2 {
    margin-top: 67px;
  }

  .bimar-item h2 > b {
    font-size: 16px;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
  }


  .mainsick .minibimar-item .board-item-content > b,
  .bimar-item > div > b {
    font-size: 25px;
    text-align: center;
    display: block;
    font-weight: bold;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    margin: 0 auto 10px;
    padding: 16px 0 9px;
    line-height: 17px;
  }

    .bimar-item > div > b > small {
      font-size: 13px;
      text-align: center;
      display: block;
      font-weight: normal;
    }

    .mainsick .minibimar-item .board-item-content > b > small {
      display: none;
    }

.minibimar-item .board-item-content img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  text-align: center;
}


.minibimar-item .board-item-content h2 {
  margin: 0;
  text-align: center;
}

  .minibimar-item .board-item-content h2 > b {
    color: #000;
    font-weight: bold;
    font-size: 12px;
    margin: 7px 0 0;
    display: block;
  }

.minibimar-item .board-item-content > b {
  display: none;
}



.mainsick .minibimar-item .board-item-content > b {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}


.minibimar-item .board-item-content .status {
  font-weight: normal;
  font-size: 10px;
}

.progress {
  background: none !Important;
  box-shadow: none;
  border-radius: 2px;
  margin: 0;
  height: 14px;
}

.progress-bar {
  box-shadow: none;
  margin: 0;
}

.status {
  text-align: center;
  display: block;
  margin: 4px 0 0;
}


.bimar-mande .status {
  font-size: 15px;
  margin: 17px 0 0;
  color: #999;
}


.progress {
  border: 1px solid #0091ea;
}

.progress-bar {
  background-color: #0091ea;
}

.progress-success {
  border: 1px solid #00BFA5;
}

  .progress-success .progress-bar {
    background-color: #00BFA5;
  }

.progress-warning {
  border: 1px solid #FFAB00;
}

  .progress-warning .progress-bar {
    background-color: #FFAB00;
  }

.progress-danger {
  border: 1px solid #e82d62;
}

  .progress-danger .progress-bar {
    background-color: #e82d62;
  }


@-webkit-keyframes hvr-pulse-shrink {
  to {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

@keyframes hvr-pulse-shrink {
  to {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}



/*spin*/

.bimar-check-in.bimar-item .board-item-content {
  background-color: #b8ffb8;
  background-image: linear-gradient(0deg, #b8ffb8 0%, #FFFFFF 55%);
  border-color: #b8ffb8;
}

.bimar-check.bimar-item .board-item-content {
  background-color: #d9f6ff;
  background-image: linear-gradient(0deg, #d9f6ff 0%, #FFFFFF 55%);
  border-color: #d9f6ff;
}


.bimar-danger.bimar-item .board-item-content {
  background-color: #ffcdd2;
  background-image: linear-gradient(0deg, #ffcdd2 0%, #FFFFFF 55%);
  border-color: #ffcdd2;
  /*
  -webkit-animation-name: hvr-pulse-shrink;
  animation-name: hvr-pulse-shrink;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
*/
}


.bimar-warning.bimar-item .board-item-content {
  background-color: #FFECB3;
  background-image: linear-gradient(0deg, #FFECB3 0%, #FFFFFF 55%);
  border-color: #FFECB3;
}


.bimar-check.bimar-item h2 > b, .bimar-check-in.bimar-item h2 > b {
  padding-top: 39px;
}

.bimar-check.bimar-item img, .bimar-check-in.bimar-item img {
  width: 72px;
  height: 72px;
  border: 5px solid #fff;
}

.spinner {
  animation: 2s linear 0s normal none infinite running spin;
  border: 3px solid #fff;
  border-top-color: rgb(255, 255, 255);
  border-top-color: rgb(217, 217, 217);
  border-radius: 50%;
  z-index: 0;
  display: inline-block;
  height: 76px;
  margin: 0;
  position: absolute;
  width: 76px;
  top: -11px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

  .spinner::before, .spinner::after {
    left: 0px;
    top: 0px;
    display: none;
    position: absolute;
    content: '';
    width: inherit;
    height: inherit;
    border: inherit;
    border-radius: inherit;
  }

.profile_avatar .spinner {
  margin: -2px;
}

/* Keyframes for the animation */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spinner-line {
  border-top-color: #3279ee;
}







/*spin2*/


.spring-spinner, .spring-spinner * {
  box-sizing: border-box;
}

.spring-spinner {
  height: 80px;
  width: 80px;
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  top: -13px;
}

  .spring-spinner .spring-spinner-part {
    overflow: hidden;
    height: calc(80px / 2);
    width: 80px;
  }

    .spring-spinner .spring-spinner-part.bottom {
      transform: rotate(180deg) scale(-1, 1);
    }


  .spring-spinner .spring-spinner-rotator {
    width: 80px;
    height: 80px;
    border: calc(80px / 7) solid transparent;
    border-right-color: #3279ee;
    border-top-color: #3279ee;
    border-radius: 50%;
    box-sizing: border-box;
    animation: spring-spinner-animation 3s ease-in-out infinite;
    transform: rotate(-200deg);
  }


@keyframes spring-spinner-animation {
  0% {
    border-width: calc(80px / 7);
  }

  25% {
    border-width: calc(80px / 23.33);
  }

  50% {
    transform: rotate(115deg);
    border-width: calc(80px / 7);
  }

  75% {
    border-width: calc(80px / 23.33);
  }

  100% {
    border-width: calc(80px / 7);
  }
}





/*right_click*/
.context-menu-list {
  border: 1px solid #fff;
  position: absolute;
  min-width: 200px;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
  background: #fff;
}


.context-menu-item {
  display: block;
  padding: 10px 15px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
}


  .context-menu-item:hover {
    background: #eee;
  }

.context-menu-separator {
  padding: 0;
  border-bottom: 1px solid #eee;
}


.context-menu-item.btn {
  margin: 2px 0 0;
  border-radius: 0;
}


  .context-menu-item.btn:hover {
    background: #a4e9ff;
    color: #4a57ba !important;
  }




/*tabs*/
.tbox > h2 .nav.nav-tabs {
  float: left;
  position: relative;
  top: -18px;
}

.tbox > h2 .nav.nav-tabs {
  float: left;
  position: relative;
  top: -18px;
}

.tbox > h2 .nav-tabs > li.active > a, .tbox > h2 .nav-tabs > li.active > a:hover, .tbox > h2 .nav-tabs > li.active > a:focus {
  color: #ffffff;
  cursor: default;
  background-color: #3f51b5;
  border: 2px solid #3f51b5;
  font-weight: bold;
  border-bottom-color: #3f51b5;
  font-size: 14px;
  padding: 8px 15px;
  border-bottom-color: transparent;
  top: 0;
}

.tbox > h2 .nav-tabs > li {
  margin-right: 10px;
}

  .tbox > h2 .nav-tabs > li > a:hover, .tbox > h2 .nav-tabs > li > a {
    background: #d9f6ff;
    border-color: #d9f6ff;
    font-size: 13px;
    padding: 3px 15px;
    top: 12px;
  }

.nav-tabs {
  border-bottom: 0;
}



/*shifttab*/
.tbox > h2 .nav-tabs.shift-tab > li.active > a > small, .tbox > h2 .nav-tabs.shift-tab > li.active > a:hover > small, .tbox > h2 .nav-tabs.shift-tab > li.active > a:focus > small {
  color: #fff;
}

.tbox > h2 .nav-tabs > li > a:hover > small, .tbox > h2 .nav-tabs > li > a > small {
  margin: 6px 10px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  direction: ltr;
  display: block;
  float: left;
}



/*modal*/

.modal-header > .close, .modal-header > .close:hover, .modal-header > .close:focus {
  font-size: 20px;
  float: left;
  width: 29px;
  height: 29px;
  line-height: 23px;
  color: #000 !important;
  opacity: .4;
  background: #fff;
  z-index: 99;
}


.modal-title > a {
  display: inline-block;
  width: auto;
  font-size: 11px;
  padding: 3px 8px;
  margin: 2px 10px;
  border-radius: 8px;
  float: left;
}


.modal-body > .close:hover, .modal-body > .close:focus {
  background: #aaa !important;
  opacity: .6;
}


.modal-body.nopadd {
  padding: 0;
}

.modal_sidebar {
  padding: 17px;
  border-left: 1px solid #eee;
}


.avatar {
  background: #eee;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  overflow: hidden;
  display: block;
}

/*smallp*/
.smallp {
  overflow: hidden;
  margin: 0 0 15px;
}

  .smallp .avatar {
    float: right;
    width: 50px;
    height: 50px;
  }


  .smallp h4 {
    text-align: left;
    font-size: 17px;
    overflow: hidden;
    margin-top: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }


    .smallp h4 small {
      display: block;
      padding: 6px 0;
      letter-spacing: 3px;
      font-weight: normal;
      font-size: 11px;
    }


.modal_sidebar .list-group {
  border: 0 !important;
  box-shadow: none;
  margin: 0 auto;
  padding: 0;
}


  .modal_sidebar .list-group .list-group-item {
    border: 0;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: 0px;
    overflow: hidden;
    width: 100%;
    padding: 5px 0;
    font-size: 12px;
    border-radius: 0;
  }


    .modal_sidebar .list-group .list-group-item button {
      float: left !important;
      width: auto !important;
      margin: 0 !important;
    }

.modal_inner {
  padding: 15px;
}

.model_inner-full {
  min-height: 530px;
}



.modal_inner.col-sm-6 {
  margin-right: -1px;
  border-right: 1px solid #eee;
}

.col-sm-12.modal_sidebar,
.col-sm-12.modal_inner {
  margin: 0;
  border: none;
}

.modal-body {
  overflow: visible;
}

.modal-content {
  width: 100%;
  float: right;
}

.modal_inner form {
  float: right;
  width: 100%;
  margin: 0;
}

.form-horizontal .form-group {
  margin-right: 0;
  margin-left: 0;
}


.modal_inner .panel-group {
  margin: 0;
}

.modal_inner input[type="text"], .modal_inner input[type="file"], .modal_inner input[type="url"], .modal_inner input[type="number"], .modal_inner input[type="email"], .modal_inner input[type="tel"], .modal_inner input[type="password"], .modal_inner textarea {
  margin: 0;
}

.modal_inner .form-horizontal .control-label {
  text-align: right;
  padding: 10px 0 0;
}


.bootstrap-select .dropdown-menu {
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}


.btn-group.open .dropdown-toggle {
  box-shadow: none;
}

.smallinners .control-label {
  font-size: 11px;
  text-align: left !important;
}

.smallinners .form-group > span {
  display: inline-block;
  padding: 10px 0 0;
  font-weight: bold;
  font-size: 12px;
  position: relative;
  top: 2px;
  margin-right: 4px;
}

.smallinners .control-label > small {
  background: #eee;
  padding: 0 4px;
  border-radius: 6px;
  margin-right: 4px;
}

.col-sm-6.smallinners {
  padding: 4px 0;
  border-top: 1px solid #ccc;
}


.smallinners .form-group {
  margin: 0;
  padding: 0;
}

  .smallinners .form-group > input, .smallinners .form-group > input:focus, .smallinners .form-group > input:hover {
    display: inline-block;
    width: auto;
    padding: 8px;
    border: 0;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: 0px;
    box-shadow: none;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-bottom: 1px solid #7d41c5;
    border-radius: 0;
    font-size: 11px;
    background: none;
    float: left;
  }


.smallinners h4 {
  font-size: 13px;
  text-align: right;
}


  .smallinners h4 > b {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    float: left;
  }


    .smallinners h4 > b::after {
      content: "ریال";
      font-size: 11px;
      margin-right: 5px;
      position: relative;
      top: -3px;
      font-weight: normal;
    }


.btn_boxes {
  float: right;
  width: 100%;
  padding: 0;
  margin-top: 20px;
}

  .btn_boxes.btn_footers {
    margin-top: 0;
    padding: 18px;
    border-top: 1px solid #eee;
  }


  .btn_boxes input.btn-danger, .btn_boxes .btn-danger,
  .btn_boxes input.btn-empty, .btn_boxes .btn-empty,
  .btn_boxes input.btn-default, .btn_boxes .btn-default {
    width: auto;
    font-size: 14px;
    margin: 5px 0;
  }

.big-btn {
  width: 100% !important;
}

.btn_boxes input.btn-primary, .btn_boxes .btn-primary {
  font-size: 14px;
  margin: 5px 0;
}

.numberic-btn {
  text-align: left;
  font-weight: bold;
}

  .numberic-btn > small {
    float: right;
    display: block;
    border-radius: 5px;
    text-align: center;
    background: #fff;
    width: 21px;
    height: 21px;
    line-height: 21px;
    font-weight: bold;
    background: rgba(0,0,0,0.1);
    color: #fff;
  }


.list-group-item .badge {
  background: #eee;
  color: #000;
  font-size: 11px;
}


.list-titles .list-group-item {
  padding: 5px;
}

  .list-titles .list-group-item .close {
    float: right;
    background: #ddd;
    font-size: 14px;
    width: 14px;
    margin-left: 5px;
    height: 14px;
    border-radius: 0;
    line-height: 14px;
    color: #000;
    opacity: 0.8;
  }



    .list-titles .list-group-item .close:hover, .list-titles .list-group-item .close:focus {
      background: #f44336;
      color: #ffffff !important;
      opacity: 1;
    }


  .list-titles .list-group-item .badge {
    padding: 2px 6px 0;
    height: auto;
    line-height: 17px;
    margin: 2px;
  }

.list-titles {
  margin-top: 20px;
}

.modal_sidebar h3 {
  position: relative;
  text-align: center;
  font-size: 15px;
  padding-top: 20px;
}


.modal_inner .form-horizontal .alert {
  padding: 1px 6px;
  margin: 5px 0;
  display: block;
  text-align: left !important;
  line-height: 22px;
}


.panel-default {
  border-color: #ddd;
  box-shadow: none !important;
  border-radius: 0 !important;
}


  .panel-default > .panel-heading > h4 {
    font-size: 12px;
    cursor: pointer;
    color: #4a57ba;
  }

  .panel-default > .panel-heading {
    background: #f4f4f4;
  }


    .panel-default > .panel-heading > h4 > small {
      float: right;
      display: block;
      width: 18px;
      height: 19px;
      line-height: 20px;
      text-align: center;
      border-radius: 7px;
      position: relative;
      top: -3px;
      border: 1px solid #4a57ba;
      color: #4a57ba;
      font-size: 11px;
      right: -5px;
    }


    .panel-default > .panel-heading > h4 > b {
      float: left;
      font-size: 14px;
      color: #4a57ba;
      font-weight: bold;
      letter-spacing: 2px;
      line-height: 15px;
    }


.details_list li {
  width: 33%;
  float: right;
  text-align: right;
  font-size: 11px;
  padding: 5px 9px;
}

  .details_list li:nth-child(odd) {
    background: #f7f7f7;
  }

  .details_list li label > small {
    display: block;
  }


  .details_list li > span {
    display: block;
    text-align: left;
    font-size: 12px;
  }


.col-sm-12.smallinners .form-group > span {
  padding: 0;
}


.col-sm-12.smallinners .form-group {
  border-bottom: 1px solid #eee;
  padding: 7px 0;
}


.moneybox {
  position: relative;
}


  .moneybox::after {
    content: "ریال";
    position: absolute;
    left: 0;
    top: 0;
    margin: 9px;
    left: 16px;
    background: #fff;
    border-right: 1px solid #ccc;
    padding: 0 10px 0 4px;
    width: 37px;
    color: #959595;
  }


  .moneybox > input {
    padding-left: 55px;
    text-align: left !important;
    direction: ltr;
  }

  .percentbox {
    position: relative;
  }
  
  
    .percentbox::after {
      content: "درصد";
      position: absolute;
      left: 0;
      top: 0;
      margin: 9px;
      left: 16px;
      background: #fff;
      border-right: 1px solid #ccc;
      padding: 0 10px 0 4px;
      width: 37px;
      color: #959595;
    }
  
  
    .percentbox > input {
      padding-left: 55px;
      text-align: left !important;
      direction: ltr;
    }


.search_inputs {
  position: relative;
}


  .search_inputs input.col-sm-6 {
    width: 50% !important;
  }

  .search_inputs input, .search_inputs input:focus, .search_inputs input:hover {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 2px solid #666;
    text-align: center;
    padding: 25px;
    font-size: 18px;
  }

    .search_inputs input:hover {
      border-bottom: 2px solid #666;
    }


    .search_inputs input:focus {
      border-bottom: 2px solid #333;
    }




  .search_inputs ::-webkit-input-placeholder { /* WebKit browsers */
    text-align: center;
    font-size: 16px;
    color: #666;
  }

  .search_inputs :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-align: center;
    color: #666;
    font-size: 16px;
  }

  .search_inputs ::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-align: center;
    color: #666;
    font-size: 16px;
  }

  .search_inputs :-ms-input-placeholder { /* Internet Explorer 10+ */
    text-align: center;
    color: #666;
    font-size: 16px;
  }


input.search_btn, input.search_btn:hover, input.search_btn:focus {
  background: none;
  position: absolute;
  left: 0;
  padding: 37px 12px;
  color: #000;
  font-family: 'Glyphicons Halflings' !important;
  top: 0;
  border: 0;
  width: 69px;
  font-size: 22px;
  line-height: 0px;
  cursor: pointer;
  color: #333;
}


  input.search_btn:hover, input.search_btn:focus {
    color: #222 !important;
  }


.board-item.bimar-item.menu-board-item.sprofile {
  position: relative;
  float: none;
  display: inline-block;
  margin-bottom: 12px;
}


.search_result {
  text-align: center;
  padding: 7px;
  float: right;
  width: 100%;
  margin-top: 20px;
}


  .search_result > h6 {
    text-align: center;
  }

.sprofile .board-item-content {
  height: 156px;
}

  .sprofile .board-item-content h2 > b > small {
    display: block;
    letter-spacing: 2px;
    margin-top: 6px;
    font-size: 11px;
  }


  .sprofile .board-item-content > h2 > b {
    border: none !Important;
  }



  .sprofile .board-item-content > h2 {
    margin-bottom: 0;
  }


.htext {
  padding: 40px 10px;
  color: #b4b4b4;
  font-size: 20px;
  text-align: center;
  display: block;
  background: #fafafa;
  border-radius: 5px;
  margin: 0;
}


  .htext small {
    display: block;
    font-size: 12px;
    margin: 12px 0;
    line-height: 20px;
  }


  .htext a img {
    width: 40px;
    display: block;
    margin: 0 auto 10px;
  }


  .htext a {
    display: block;
    width: 100px;
    font-size: 12px;
    padding: 15px;
    border-radius: 4px;
    margin: 13px auto 0;
    width: 200px;
  }





/*upload*/

.upload-circle .actions {
  float: right;
  margin-top: -8px;
}


.upload-circle > input {
  float: left;
  width: auto;
}


.file-btn {
  position: relative;
}

  .file-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer !important;
  }

.file-btn {
  width: 100px;
  height: 100px;
  background: #d5d5d5;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin: 0;
  cursor: pointer !important;
  position: relative;
}

  .file-btn span {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: #757575;
    color: #fff;
    overflow: hidden;
    display: block;
    padding: 10px 10px 15px 10px;
    font-size: 12px;
    text-align: center;
  }

    .file-btn span img {
      width: 20px;
      height: 20px;
      display: block;
      margin: 0 auto;
    }


.upload-circle .upload-circle-wrap,
.upload-circle .upload-result,
.upload-circle .ready .upload-msg {
  display: none;
}

.upload-circle.ready .upload-circle-wrap {
  display: block;
}

.upload-circle.ready .upload-result {
  display: inline-block;
}

.upload-circle-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.upload-msg {
  color: #aaa;
  font-size: 13px;
  margin: 15px 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.box_input {
  background: #fff;
  border-radius: 5px;
  box-shadow: none;
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid #7d41c5;
}


.bimar_boxestion {
  padding: 6px 11px;
  border-radius: 8px;
  border: 3px solid #e8eaf8;
  margin-bottom: 15px;
}



.box_input .bootstrap-select > .btn, .box_input .bootstrap-select > .btn:focus, .box_input .bootstrap-select > .btn:hover,
.box_input input, .box_input input:focus, .box_input input:hover {
  border: none;
  box-shadow: none;
  display: inline-block;
  width: 100px !important;
  background: #efefef;
  padding: 6px 11px;
  margin: 0 5px !important;
}


.box_input .inp3 {
  width: auto !important;
  height: auto !important
}


.modal_inner .ckbox .ckb, .modal_inner .ckbox .nbs {
  float: left;
  margin-right: 30px;
}



.upload-circle > input,
.notitle > input {
  margin: 6px 0 0 !important;
}


.upload-circle {
  float: right;
  width: 100%;
  margin-bottom: 9px;
  margin-right: 20px;
}

.form-horizontal .form-group label.havelink {
  display: block;
}

  .form-horizontal .form-group label.havelink > a {
    float: left;
    display: block;
    width: auto;
    font-size: 11px;
    margin: 0 3px;
    padding: 0 6px;
    border-radius: 6px;
  }

.datepicker-plot-area {
  right: 5px;
  left: auto;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
  padding: 15px;
  overflow: hidden;
  width: 100% !important;
  min-width: 100% !important;
  position: relative !important;
  border: 1px solid #fff;
}

.datepicker-plot-area-inline-view {
  right: auto;
  left: auto;
  box-shadow: none;
}


.tbox.nobatdehi {
  width: 100%;
  float: right;
}

.bimar-danger.bimar-online h2::before,
.bimar-offline h2::after,
.bimar-online h2::after {
  content: "آنلاین";
  display: block;
  font-size: 11px;
  font-weight: normal;
  background: #03A9F4;
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 5px;
  padding: 1px 2px;
  color: #1565C0;
  box-shadow: 0 -3px 5px #1565C0 inset;
  width: 10px;
  height: 10px;
  line-height: 34px;
  font-size: 11px;
  font-weight: bold;
}


.bimar-vip::after {
  content: "VIP";
  display: block;
  font-size: 11px;
  font-weight: normal;
  background: #FDD835;
  position: absolute;
  top: 5px;
  left: 5px;
  right: auto;
  border-radius: 5px;
  padding: 1px 2px;
  color: #FF8F00;
  box-shadow: 0 -3px 5px #F9A825 inset;
  height: 10px;
  line-height: 34px;
  font-size: 11px;
  font-weight: bold;
}



.bimar-danger.bimar-online h2::after {
  background: #f44336;
  color: #c62828;
  box-shadow: 0 -3px 5px #c62828 inset;
}



.bimar-danger.bimar-online h2::before {
  content: "";
  background: #f44336;
  color: #c62828;
  box-shadow: 0 -3px 5px #c62828 inset;
  animation: angryonline 1s 0.1s linear infinite;
}



@keyframes angryonline {
  0% {
    box-shadow: 0 0 0 0 rgba(229,57,53,0.7);
  }

  100% {
    box-shadow: 0 0 0 17px rgba(229,57,53,0);
  }
}


.bimar-offline h2::after {
  content: "آفلاین";
  background: #ccc;
  color: #ddd;
  box-shadow: 0 -3px 5px #ddd inset;
}

.topfilterline {
  background-color: #d9f6ff;
  background-image: linear-gradient(-90deg, #d9f6ff 0%, #FFFFFF 90%);
  border-color: #d9f6ff;
  border-bottom: 1px solid #d9f6ff;
}

  .topfilterline > form {
    margin: 0;
  }

  .topfilterline .form-inline .form-group {
   /* margin-left: 10px;*/
    font-size: 11px;
  }

    .topfilterline .form-inline .form-group label {
      font-size: 13px;
      margin: 0 !important;
    }


      .topfilterline .form-inline .form-group label input {
        top: 2px;
        position: relative;
        margin: 0;
      }


.tags_selected {
  margin: 10px 0;
  float: right;
  width: 100%;
}

.tag_added {
  display: block;
  float: right;
  background: #eee;
  margin: 2px;
  border-radius: 15px;
  padding: 2px 5px;
}

.close_tag {
  background: #c0c0c0;
  padding: 0;
  float: right;
  width: 14px;
  height: 14px;
  line-height: 16px;
  font-size: 14px;
  color: #000;
  border-radius: 50%;
}


  .close_tag:focus,
  .close_tag:hover {
    background: #868686;
    color: #fff;
  }


.withbtninner > div {
  padding: 0;
}


  .withbtninner > div > .btn {
    padding: 3px 6px 1px;
    margin: 9px 6px;
    width: auto;
    display: block;
    font-size: 12px;
  }

.btliner {
  border-bottom: 1px solid #a4e9ff;
  margin: 0;
  float: right;
  width: 100%;
  margin-bottom: 6px;
}

.panel-big .panel-default > .panel-heading > h4 {
  font-size: 14px;
}

  .panel-big .panel-default > .panel-heading > h4 > small {
    line-height: 17px;
    font-size: 13px;
    border: 2px solid #4a57ba;
  }


  .panel-big .panel-default > .panel-heading > h4 > b {
    letter-spacing: 0px;
  }

.details_list.bime_list li {
  width: 100%;
  font-size: 13px;
}

  .details_list.bime_list li label > small {
    float: left;
    margin: 0 20px;
    font-weight: normal;
  }


  .details_list.bime_list li label {
    display: block;
    margin: 0;
    font-weight: bold;
  }


.message_list > li {
  background: #fff;
  padding: 8px;
  float: right;
  position: relative;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 11px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}


  .message_list > li > h4 > b {
    position: absolute;
    left: 0;
    top: 0;
    background: #eee;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 2px;
    padding: 7px;
    border-radius: 2px;
    margin: 3px;
  }

  .message_list > li > h4 > img {
    float: right;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-left: 15px;
    margin-right: 15px;
  }


  .message_list > li > h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

    .message_list > li > h4 > span {
      display: block;
      font-size: 13px;
      padding: 2px 0;
      margin-bottom: 3px;
    }

    .message_list > li > h4 > small {
      display: block;
      font-weight: normal;
      text-align: right;
      font-size: 11px;
      letter-spacing: 2px;
      margin-top: 10px;
    }


  .message_list > li > span {
    display: block;
    padding: 7px 15px;
    border-radius: 6px;
    font-size: 11px;
    text-align: justify;
  }


  .message_list > li.read {
    box-shadow: none;
    border: 0;
    background: #f5f5f5;
  }

    .message_list > li.read > span {
      display: none;
    }

    .message_list > li.read > h4, .message_list > li.read > h4 > a {
      font-weight: normal;
      color: #6B6B6B;
      font-size: 14px;
    }


  .message_list > li > h4 > a > .label {
    font-weight: normal;
    font-size: 10px;
    margin-left: 4px;
    position: relative;
    top: -2px;
  }

/*page_navi*/
.uk-pagination {
  text-align: center;
  margin: 35px 0;
  width: 100%;
  float: right;
  overflow: hidden;
}

  .uk-pagination li {
    display: inline-block;
    margin: 3px;
  }

    .uk-pagination li a,
    .uk-pagination li span {
      background: #f7f7f7;
      padding: 10px;
      display: block;
      border-radius: 4px;
      text-align: center;
      min-width: 42px;
      height: 42px;
      font-size: 14px;
    }

      .uk-pagination li a:hover, .uk-pagination li a:focus {
        background: #d9f6ff;
        color: #000;
      }


    .uk-pagination li.uk-disabled span {
      background: #fff;
      box-shadow: 0 0 3px rgba(0,0,0,0);
      color: #555;
    }


    .uk-pagination li.uk-active span {
      background: -moz-linear-gradient(bottom, rgba(81,144,254,1) 0%, rgba(33,185,238,1) 100%); /* FF3.6-15 */
      background: -webkit-linear-gradient(bottom, rgba(81,144,254,1) 0%,rgba(33,185,238,1) 100%); /* Chrome10-25,Safari5.1-6 */
      background: linear-gradient(to top, rgba(81,144,254,1) 0%,rgba(33,185,238,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5190fe', endColorstr='#20baee',GradientType=0 ); /* IE6-9 */
      color: #fff;
    }



.messagebox {
  background-color: #d9f6ff;
  background-image: linear-gradient(90deg, #d9f6ff 0%, #FFFFFF 90%);
  border-color: #d9f6ff;
  border-top: 1px solid #d9f6ff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 350px;
  padding: 10px 20px;
}

  .messagebox > form {
    margin: 0;
    position: relative;
  }

    .messagebox > form textarea, .messagebox > form textarea:focus, .messagebox > form textarea:hover,
    .messagebox textarea, .messagebox textarea:focus, .messagebox textarea:hover {
      border: 0;
      box-shadow: none;
      background: none;
      border-radius: 0;
      padding-left: 100px;
    }

    .messagebox .btn,
    .messagebox > form .btn {
      position: absolute;
      left: 0;
      bottom: 0;
      margin: 10px;
    }



    .messagebox textarea,
    .messagebox > form textarea {
      min-height: 20px !important;
      height: 49px;
      padding-left: 199px !important;
    }

.visitbimar .btn {
  margin: 20px;
}

.messages > li {
  margin: 15px;
}

  .messages > li.usermessage {
    text-align: right;
    direction: ltr;
  }

  .messages > li > h6 {
    display: block;
    padding: 6px 0 0;
    margin-right: 72px;
    color: #b2b2b2;
    font-size: 13px;
  }

  .messages > li.usermessage > h6 {
    text-align: left;
    margin-left: 72px;
    margin-right: 0;
  }

  .messages > li > img {
    float: right;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 15px;
  }

  .messages > li.usermessage > img {
    float: left;
    margin-left: 0;
    margin-right: 15px;
  }

  .messages > li > span {
    display: block;
    max-width: 60%;
    margin-right: 70px;
  }

  .messages > li.usermessage > span {
    margin-left: 70px;
    margin-right: 0;
    direction: ltr;
    text-align: left;
  }

  .messages > li > span > p {
    background: #d9f6ff;
    color: #4a57ba;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 2px;
  }



  .messages > li.usermessage > span > p {
    text-align: right;
    background: #eee;
    color: #222;
    direction: rtl;
  }

  .messages > li > span > small {
    padding: 0;
    color: #ddd;
    display: block;
    margin: 0 4px 4px;
    letter-spacing: 1px;
  }


  .messages > li.usermessage > span > small {
    text-align: left;
  }


.attach_file,
.attach_img {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 10px;
  left: 59px;
  background: none;
  padding: 0;
}



.attach_file {
  left: 105px;
}



  .attach_file:hover, .attach_file:focus,
  .attach_img:hover, .attach_img:focus {
    background: none;
  }

  .attach_file > span,
  .attach_img > span {
    font-size: 27px;
    color: rgba(0,0,0,0.3);
    padding: 12px;
  }


  .attach_file:hover > span,
  .attach_img:hover > span {
    color: rgba(0,0,0,0.6);
  }


.attachment_img_scr {
  max-width: 100%;
  display: block;
  margin: 0 0 13px;
  border-radius: 4px;
}


.download_file {
  background: #d9f6ff;
  color: #4a57ba;
  padding: 7px 7px 7px 15px;
  display: block;
  max-width: 350px;
  border-radius: 7px 40px 40px 7px;
  font-size: 17px;
  font-weight: bold;
}

.usermessage .download_file {
  background: #eee;
  border-radius: 40px 7px 7px 40px;
  padding: 7px 15px 7px 7px;
}

.download_file:hover {
  background: #a4e9ff;
}

.usermessage .download_file:hover {
  background: #e5e5e5;
}

.download_file .glyphicon {
  font-size: 24px;
  background: rgba(0,0,0,0.1);
  padding: 10px;
  width: 45px;
  height: 45px;
  color: #4a57ba;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  display: block;
  float: right;
  margin-left: 10px;
  margin-right: 2px;
}

.usermessage .download_file .glyphicon {
  float: left;
  margin-right: 10px;
  margin-left: 2px;
}

.download_file > small {
  display: block;
  font-weight: normal;
  font-size: 11px;
  margin-right: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  text-align: right;
}


.usermessage .download_file > small {
  margin-right: 0;
  margin-left: 60px;
  text-align: left;
}


.unread {
  border-bottom: 1px solid #ddd;
  margin: 35px 100px 70px !important;
  position: relative;
  text-align: center;
}

  .unread b {
    background: #fff;
    position: relative;
    bottom: -9px;
    margin: 0 auto;
    padding: 0 16px;
    color: #cfcfcf;
  }


.innermodali .bimar-item {
  width: auto;
  float: right;
  position: relative;
}

.innermodali .board-item-content {
  float: right;
  width: 179px;
  height: 180px;
}

.innermodali .bimar-item img {
  float: right;
  width: 40px;
  height: 40px;
  top: 0;
  position: relative;
}


.innermodali {
  overflow: hidden;
}

  .innermodali .bimar-item > .board-item-content h2 {
    margin: 0;
  }

  .innermodali .bimar-item h2 > b {
    font-size: 14px;
    text-align: left;
    margin: 0;
    padding: 0;
    padding-bottom: 0px;
    line-height: 40px;
    padding-bottom: 7px;
  }

  .innermodali .bimar-item > div > b {
    padding: 12px 0 3px;
    margin-top: 7px;
  }


  .innermodali .message_list > li {
    box-shadow: none;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding: 2px;
  }


    .innermodali .message_list > li:last-child {
      border: 0;
    }

    .innermodali .message_list > li > h4 > span {
      margin-bottom: 6px;
    }

    .innermodali .message_list > li > h4 > b {
      padding: 2px;
      font-size: 11px;
      color: #ddd;
      background: none;
      top: 4px;
    }

    .innermodali .message_list > li > h4 > img {
      float: right;
      width: 40px;
      height: 40px;
      margin: 0 10px;
    }

    .innermodali .message_list > li > h4 {
      font-size: 13px;
    }





.noskhe_list > li {
  padding: 10px 7px;
  cursor: pointer;
  font-weight: bold;
  overflow: hidden;
  width: 100%;
}


  .noskhe_list > li > p {
    float: right;
    margin: 0;
    font-size: 16px;
    color: #aeaeae;
  }

    .noskhe_list > li > p > span {
      color: #000;
    }

  .noskhe_list > li > input {
    float: left;
    width: 150px !important;
    padding: 4px;
    margin: 0 5px;
    border-radius: 2px;
  }

  .noskhe_list > li > small {
    float: left;
    background: #d9f6ff;
    font-size: 12px;
    border-radius: 2px;
    padding: 1px 4px 1px 10px;
    line-height: 27px;
    height: 28px;
  }

    .noskhe_list > li > small > img {
      width: 19px;
      margin: 2px 0px 4px 4px;
      height: 19px;
    }


.noskhebimar ul li h4 {
  text-align: left;
  font-size: 14px;
}

.noskhebimar ul li.bimari_title h4 {
  text-align: center;
  font-size: 17px;
  padding: 10px 0;
}

.noskhebimar ul li h4 img {
  width: 21px;
  height: 21px;
  position: relative;
  top: -2px;
  margin: 0 4px 0 0;
  float: left;
}

.noskhebimar li {
  text-align: right;
  font-size: 13px;
  padding: 2px;
  overflow: hidden;
}

  .noskhebimar li small {
    float: left;
    background: #FFE0B2;
    margin: 0 4px 0 0;
    padding: 0 4px;
    border-radius: 3px;
  }
