body { font-size: 14px; }
label.error {
    width: 100%;
    color: #f00;
    margin-top: 4px;
    font-weight: 600;
    font-size: 13px;
}
.topbar .dropdown-menu {
    background-color: #1c81d9;
    min-width: 180px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
    z-index: 1;
    right: 0;
    padding: 0;
    left: initial;
    border: none;
    margin: 0;
    border-radius: 0;
}
.topbar .dropdown-menu a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}
.topbar .dropdown-menu a:hover {
    background-color: #3990dc;
}
.pull-right{
    float: right;
}
tr.row_validation {
    background-color: #e4e4e4;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    float: left;
}
.form-horizontal label {
    margin-bottom: 10px !important;
}
#login label {
    margin-bottom: 0px !important;
}
.form-group {
    margin-bottom: 25px;
    display: flow-root;
}

.badge-normal { background-color: #ccc; }
.badge-medium { background-color: #f90; }
.badge-high { background-color: #f00; }

.sticky-top { top: 70px; }



@media (max-width: 767px){
    .topbar .top-navbar .navbar-nav > .nav-item.show {
        position: relative !important;
    }
    .topbar .top-navbar .navbar-nav > .nav-item.show .dropdown-menu {
        width: auto !important;
    }
    #new_task_modal #overview {
        padding: 0;
    }
    #table_tasks, #table_tasks tr, #table_tasks tr th, #table_tasks tr td {
    display: block;
     width: 100%; 
    float: left;
    padding-left: 0;
    padding-right: 0;
    }
}

.fa-2x {
    font-size: 1.5em !important;
}

.badge-success{
    background: #5cb85c !important;
}

.customFilter .form-control {
    padding: .3rem !important;
}

.mandatory{
    color:red;
}

.comment-view-box{
    margin-bottom: 10px;
    /*padding: 5px;*/
}
.left-sidebar {
    width: 200px;
}
.msg-box { background: #efefef; }
.msg-box p { margin-bottom: 0.5rem; }
/*-- Task Listing Section --*/

.task-listing .block{
    background-color: #fff;
    box-shadow: 0 0 10px #ccc;
    border-radius: 5px;
}
.task-listing .block .header{
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 500;
    color: #000;
}
.dashboard_newtask .fa {
    font-size: 18px !important;
}
.project_block {
    border-radius: 5px;
}
.task-listing .block .projects {
    border-bottom: 1px solid #fff;
    margin-bottom: 7px;
    padding-bottom: 7px;
}
.task-listing .block .projects:last-child {
    border: none;
    margin: 0;
    padding: 0;
}
.projects h4 {
    cursor: pointer;
    padding-right: 20px;
    position: relative;
    margin-bottom: 0;
    color: #222;
    font-size: 16px;
}
/*.projects h4 .view_project:before {
    content: '\f107';
    font-family: FontAwesome;
    transition: all 0.2s linear;
    margin-right: 10px;
}*/
/*.projects h4:before {
    content: '\f107';
    font-family: FontAwesome;
    transition: all 0.2s linear;
    margin-right: 10px;
}*/
.projects h4 {
    /*width: 10px;
    float: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-left: 10px;
    line-height: 1;*/
}
.projects h4.active:before {
    transform: rotate(180deg);
}
.projects .project_tasks {
    margin-top: 5px;
}
.task-block {
    background-color: #fff;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    position: relative;
    /*padding-left: 55px;*/
    padding-left: 0px;
    min-height: 50px;
}
.task-block:last-child {
    margin-bottom: 0;
}
.task-block h3 {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 19px;
    word-break: break-all;
}
.task-block span {
    font-size: 14px;
}
.task-block .pri-assi {
    /*position: absolute;
    top: 5px;
    left: 5px;
    transform: translateY(-50%);*/
    width: 40px;
    /*margin: 0 5px;*/
    float: left;
}
.task_col {
    width: calc(100% - 50px);
    float: left;
}
.task-block .pri-assi .priority {
    /*width: 20px;
    height: 20px;
    border-radius: 50px;
    margin-right: 5px;*/
}
.task-block.priority.high {
    border-right: 5px solid #f00;
}
.task-block.priority.medium {
    border-right: 5px solid #f90;
}
.task-block.priority.normal {
    border-right: 5px solid #ccc;
}
/*.task-block .pri-assi .assigne img {*/
.task-block .assigne .user-img {
    line-height: 0;
    width: 22px;
    height: 22px;
    /*overflow: hidden;*/
    background: #dadada;
    margin-bottom: 5px;
    border-radius: 50%;
    -webkit-box-shadow: 0 8px 10px -4px #777;
    -moz-box-shadow: 0 8px 10px -4px #777;
    box-shadow: 0 8px 10px -4px #777;
    font-size: 0;
    display: block;
    float: left;
    margin-right: -5px;
    margin-bottom: 0px;
}
.task-block .assigne .mdi-account:before {
    content: "\F004";
    /*font-size: 35px !important;
    width: 40px;
    height: 40px;
    background: #ececec;
    line-height: 0;
    padding: 19px 1px;
    border-radius: 50%;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 5px 6px -6px #777;
    border: 1px solid #c1c1c1;*/
}
.task-block .assigne .mdi-account {
   /* padding: 21px 0;
    cursor: pointer;*/
    cursor: pointer;
    content: "\F004";
    font-size: 18px !important;
    width: 22px;
    height: 22px;
    background: #ececec;
    line-height: 0;
    border-radius: 50%;
    -webkit-box-shadow: 0 8px 10px -4px #777;
    -moz-box-shadow: 0 8px 10px -4px #777;
    box-shadow: 0 8px 10px -4px #777;
    border: 1px solid #c1c1c1;
    display: block;
    float: left;
    margin-right: 3px;
    margin-bottom: 8px;
}
#table_tasks .mdi-account {
    padding: 18px 0;
    cursor: pointer;
}
#table_tasks img {
    /*margin:0 3px 3px 3px;*/
}
#table_tasks .mdi-account:before {
    content: "\F004";
    font-size: 20px !important;
    width: 22px;
    height: 22px;
    background: #ececec;
    padding: 0px;
    border-radius: 50%;
    text-align: center;
    -webkit-box-shadow: 0 8px 10px -4px #777;
    -moz-box-shadow:0 8px 10px -4px #777;
    box-shadow: 0 8px 10px -4px #777;
    border: 1px solid #c1c1c1;
    margin: 0 3px 3px 3px;
}
.task-block .pri-assi .assigne img:hover, .task-block .pri-assi .assigne .mdi-account:hover:before, #table_tasks .mdi-account:hover:before, #table_tasks .mdi-account:hover:before {
    /*transform: scale(1.2);*/
}
/*.task-block .pri-assi .assigne img {
     width: 100%; 
    margin-top: -10px;
    border: 1px solid #c1c1c1;
}*/
.task-block .pri-assi .assigne img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 50%;
}
/*#table_tasks td img {*/
#table_tasks td .viewTaskUser {
    line-height: 0;
    width: 40px !important;
    height: 40px !important;
    overflow: hidden;
    background: #dadada;
    margin-bottom: 5px;
    border-radius: 50%;
    -webkit-box-shadow: 0 8px 10px -4px #777;
    -moz-box-shadow: 0 8px 10px -4px #777;
    box-shadow: 0 8px 10px -4px #777;
    float: left;
    font-size: 0;
    display: block;
    float: left;
    margin-right: 5px;
    border: 1px solid #c1c1c1;
}
#table_tasks td .viewTaskUser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    margin: 0;
}
#table_tasks td img.viewTask_tab {
    width: auto !important;
    height: 22px !important;
    background: none !important;
    box-shadow: none;
    border-radius: 0;
}
#table_tasks td img:hover {
    /*transform: scale(1.2);*/
}
.current_assignee {
     /*border: 2px solid #008000 !important;*/
}
.rest_assignee {
    /*border:2px solid #c1c1c1 !important;*/
}
@media (min-width: 1024px) {
    .page-wrapper {
        margin-left: 200px;
    }
}
@media (min-width: 768px) {
    .navbar-header {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 80% !important;
    }
}

.datepicker {
  z-index: 1600 !important; /* has to be larger than 1050 */
}
