﻿@font-face {
     font-family: 'Yekan';
     src: url('../fonts/Yekan.eot');
     src: local('☺'),
     local('Yekan'),
     url('../fonts/Yekan.woff') format('woff'),
     url('../fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    outline: 0;
}

body {
    font-family: "Yekan", tahoma !important;
    font-size: 14px;
    margin: 0 !important;
}
html {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

label {
    font-weight: normal;
   
}

.modal-footer {
    text-align: left;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: right;
}

@media (min-width:768px) {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: right;
    }
}

@media (min-width:992px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: right;
    }
}

@media (min-width:1200px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: right;
    }
}


.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    margin-left: 0;
    position: relative;
    top: 4px;
}



/*[]*/

html, body, .wrapper {
    height: 100%;
}

body {
    padding-top: 50px;
}

a {
    text-decoration: none !important;
}

.header {
    background: #AECB45;
    height: 50px;
    width: 100%;
    z-index: 2;
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
}

    .header .logo {
        height: 50px;
        font-size: 19px;
        margin: 5px 25px 0 0;
    }

    .header .logo img {
        outline: 0;
        height: 40px;
        max-height: 100%;
    }

/*[header-nav]*/
.header-nav {
    list-style: none;
    margin-left: 25px;
}

    .header-nav > li {
        float: right;
        height: 50px;
        border-right: 1px solid #a2c037;
    }

        .header-nav > li > a {
            display: block;
            height: 50px;
            line-height: 50px;
            color: #fff;
            padding: 0 10px 0 0;
            outline: none;
            font-size: 16px;
            position: relative;
            transition: color 300ms linear;
        }

            .header-nav > li > a:hover,
            .header-nav > li.open > a {
                background: #b1d434;
                color: #fff;
            }

            .header-nav > li > a > i {
                font-size: 18px;
                position: relative;
                top: 3px;
                margin-left: 5px;
            }

        .header-nav > li a.new-message {
            color: #80c601;
        }

        .header-nav > li .dropdown-menu {
            font-size: 16px;
        }


            .header-nav > li .dropdown-menu i {
                font-size: 14px;
                margin-left: 6px;
                position: relative;
                top: 2px;
            }


.wrapper {
    width: 100%;
    height: 100%;
}
.list-group {
    padding-right: 0;
}
.sidebar {
    min-width: 250px;
    background-color: #f5f5f5;
    height: 100%;
    float: right;
    position: fixed;
    top: 50px;
    z-index: 1;
    color: #ccc;
    overflow: hidden;
    padding-bottom: 55px;
    padding-top: 5px;
}

.sidebar-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.content {
    display: table-cell;
    float: left;
    margin-top: 50px;
}

.content-wrapper {
    padding: 30px;
}

/*[sidebar]*/
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav {
    padding-top: 20px !important;
}

    .sidebar-nav ul {
        padding-right: 20px;
        padding-left: 20px;
        display: none;
    }


    .sidebar-nav > li {
        padding: 0;
    }

    .sidebar-nav li.active > ul {
        display: block;
    }

    .sidebar-nav li .tree-toggler {
        cursor: pointer;
        display: block;
    }

    .sidebar-nav li a {
        line-height: 30px;
        color: #333;
        padding-right: 25px;
        padding-left: 25px;
        font-size: 14px;
        -moz-transition: all ease 0.5s;
        -o-transition: all ease 0.5s;
        -webkit-transition: all ease 0.5s;
        transition: all ease 0.5s;
    }

        .sidebar-nav li a i {
            position: relative;
            top: 3px;
            margin-left: 10px;
        }
        .sidebar-nav > li >  a {
            font-weight: bold;
            font-size: 15px;
            display: block;
        }
        .sidebar-nav li > ul > li > a {
            display: block;
            padding-top: 5px;
            padding-bottom: 5px;
        }
        .sidebar-nav > li >  a {
            background: #f5f5f5;
            line-height: 40px;
            border-bottom: 1px solid #eee;
        }
        .sidebar-nav li.active > a {
            color: #95b700;
            line-height: 40px;
        }
        .sidebar-nav li.active > ul > li,
        .sidebar-nav li.active > ul > li > a {
            color: #95b700;
        }
    .sidebar-nav ul li a:hover {
        color: #2a6496;
    }


    /*[table]*/
    table tr td {
        vertical-align: middle;
    }
    .td-btn {
        width: 1%;
        text-align: center;
    }

    .td-checkbox {
        text-align: center;
        width: 20px;
    }
    .table{ margin-top: 10px;}

  /*[profile control]*/

    .profile-control-img {
        margin: 0;
        padding: 0;
        outline: 0;
        overflow: hidden;
        position: relative;
        float: left;
        transition: all 200ms linear;
    }

    .profile-control-img img {
        width: 40px;
        height: 40px;
        border-radius: 150px;
        border: 2px solid #ffffff;
    }

    .cursor-pointer {
        cursor: pointer;
    }

    .profile-control .dropdown-menu {
        min-width: 100%;
        border-radius: 0;
        margin: 0;
        background-color: #b1d434;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .profile-control .dropdown-menu li,
    .profile-control .dropdown-menu li a {
        width: 100%;
        float: right;
        text-align: right;
        color: #fff;
    }

    .profile-control .dropdown-menu>li>a:hover,
    .profile-control  .dropdown-menu>li>a:focus {
         background: #AECB45;
    }

    .badge.red {
      color: #fff;
      background-color: #ff0000;
      margin-top: 12px;
      display: inline-block;
      float: left;
      margin-top: 19px;
      position: relative;
      top: -12px;
      left: 11px;
    }

    .badge.white {
      color: #b5da2d;
      background-color: #fff;
      margin-top: 12px;
      display: inline-block;
      float: left;
      margin-top: 19px;
      position: relative;
      top: -12px;
      left: 11px;
    }

    .msg-notification {
        left: 11px;
    }

    .alarm-notification {
        left: 14px;
    }

    .btn .fa {
        line-height: 34px;
        margin: 0 2px;
    }
    .btn
     #drugSection {
        margin: 15px 0;
    }

    .drugBox {
        position: relative;
        padding-right: 0;
    }

    .drugBox .remove {
          position: absolute;
          top: -10px;
          left: -10px;
          border-radius: 100%;
          width: 30px;
        height: 30px;
        padding: 0;
;          min-height: 30px;
    }

    #drugSection label {
        padding: auto 0 !important;
    }

    .input-group .btn .fa {
      line-height: 30px;
      margin: 0;
    }

    
    .no-padding {
        padding: 0 !important;
    }
    .container .btn{
        display:block !important;
    }
    .no-margin {
        margin: 0 !important;
    }

    .sample-list {
        margin: 0;
        padding: 0;
        line-height: 28px;
        list-style: none;
    }

    .sample-list.sick-info {
        float: right;
        margin-right: 15px;
    }

    .sick-thumb {
        width: 100px;
        height: 100px;
        border-radius: 100%;
        overflow: hidden;
        margin-top: -52px;
        float: left;
    }

    .sick-thumb img {
        max-width: 100%;
    }

    .important-info .panel-body {
        min-height: 250px;
    }

    .span-indent strong {
        display: inline-block;
    }

    .text-small {
        
    }

    .text-regular {
        font-size: 110%;
    }

    .text-large {
        font-size: 120%;
    }

    .default-input-height {
        height: 34px;
        line-height: 34px;
        margin-bottom: 5px;
    }

    .padding-top {
        padding-top: 25px;
    }

  label span {
      position: absolute;
      top: 0;
      right: 0;
      color: inherit;
      padding: 0 28px 0 15px;
      line-height: 34px;
  }

  .active-page {
     color: #666 !important;
    background-color: #dedede;
  }

  .pointer {
      cursor: pointer;
  }

  .font-bold {
    font-weight: bold !important;
}

.back-green {
    background-color: #effbc2 !important;
}

.drugBox .alert-dismissable .close, .alert-dismissible .close {
    position: absolute;
  top: 5px;
  left: 10px;
  color: inherit;
  opacity: .8;
}

.responsive-menu-btn span {
    transition: all 200ms linear;
}

.responsive-menu-btn:hover span:nth-child(1),
responsive-menu-btn:focus span:nth-child(1)  {
  width: 50%;
  margin-right: 62%;
  transform: rotate(-45deg) translateY(3px);
  -webkit-transform: rotate(-45deg) translateY(3px);
}

.responsive-menu-btn:hover span:nth-child(3),
responsive-menu-btn:focus span:nth-child(3)  {
  width: 50%;
  margin-right: 62%;
  transform: rotate(-45deg) translateY(3px);
  -webkit-transform: rotate(45deg) translateY(-3px);
}

@media screen and (max-width: 767px) {
     .header-nav {
      margin: 0;
  }

  .header .logo {
      margin: 5px 5px 0 0;
  }

  .content-wrapper {
      padding: 5px;
  }

  label input[type=checkbox] + span {
        position: relative !important;
        margin: 0;
        line-height: 20px;
        padding: 0;
      width: 90%;
    }

    .sick-thumb {
        margin-top: 0;
        float: right;        
    }
}

/* Sidebar off-canvas styles */
/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
  margin-top: 50px;
}
footer {
  padding: 30px 0;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }
  .profile-control-img {
      width: 40px;
      height: 40px;
      margin-top: 5px;
  }
   .profile-control-img img {
      width: 40px;
      height: 40px;
   }
  .profile-control:nth-of-type(3) {
      min-width: auto;
  }
  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -100%; /* 6 columns */
    padding-top: 50px;
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -100%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 100%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 100%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 100%; /* 6 columns */
  }
}


/* Custom Checkbox */
input[type=checkbox] {
      width: 15px;
      height: 15px;
      font-size: 14px;
      line-height: 34px;
      background: none;
      height: 34px;
      margin-left: 5px;
}

input[type=checkbox] + span,
input[type=checkbox] + strong {
    margin-right: 10px;
}

.caret.ui-select-toggle {
    margin: 15px 8px 0 0;
}

#diagnosisSection {
    margin-top: 15px;
}

#diagnosisSection .drugBox {
    margin-left: 15px;
}

#diagnosisSection h4 {
    padding: 0 15px;
    font-size: 16px;
    margin: 0;
}

.ui-select-container.dropdown {
    width: 100% !important;
}

.alarm .alert .close {
    position: absolute;
    top: 5px;
    color: inherit;
    left: 10px;
    right: auto;
}

.btn-back {
    border-radius: 4px;
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: #AECB45;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    margin-bottom: 25px;
    cursor: pointer;
}

.btn-back:hover,
.btn-back:focus {
    color: #fff;
    background-color: #b1d434;
}
.btn-custom{
    display:block;
    width:100%;
    background-color:#2a6496 !important;
}
