body{
    overflow-x: hidden;
}

body *{
    font-size: 12px;
}

.page_title{
    float: left;
    font-size: 20px;
}

.page_buttons{
    float: right;
}

.hr{
    clear: both;
    margin: 20px 0;
    border-bottom: 1px solid #dfdfdf;
}

.form_wf .input-group-text{
    width: 200px;
}

.form_wf .input-group .input-group-text + input[type="checkbox"]{
    margin-left: 20px;
}

.icon_link{
    color: #333;
    cursor: pointer;
    margin-left: 10px;
}

.comments_block{
    padding: 20px 10px 10px 10px;
    overflow: hidden;
}

.comments_block .fa-arrow-down{
    position: absolute;
    width: 20px;
    left: 50%;
    bottom: 0;
}

.comments_block .comment{
    border-bottom: 1px solid gray;
    padding: 10px;
}

.comments_block .comment .comment_autor,
.comments_block .comment .comment_date{
    font-size: 12px;
    color: #404040;
    display: inline-block;
}

#list_orders .comments_block{
    padding: 0;
    height: 54px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

#list_orders .comments_block .comment{
    padding: 0;
    line-height: 1em;
    font-size: 12px;
    border: none;
}

#list_orders .comments_block .comment .comment_autor,
#list_orders .comments_block .comment .comment_date{
    font-size: 8px;
}

#list_orders th a{
    color: #333;
    text-decoration: none;
}

.event_items .fa{
    cursor: pointer;
}

.page-item.active .page-link{
    z-index: 3;
    color: #fff !important  ;
    background-color: #000000 !important;
    border-color: #000000 !important;
    border-radius: 50%;
    padding: 6px 12px;
}
.page-link{
    z-index: 3;
    color: #000000 !important;
    background-color: #fff;
    border-color: #000000;
    border-radius: 50%;
    padding: 6px 12px !important;
}
.page-item:first-child .page-link{
    border-radius: 10% !important;
}
.page-item:last-child .page-link{
    border-radius: 10% !important;
}
.pagination li{
    padding: 3px;
}
.disabled .page-link{
    color: #212529 !important;
    opacity: 0.5 !important;
}

#list_tasks .tasks_title{
    background-color: #ecffee;
    text-align: center;
    font-weight: bold;
}

.copy_block_textarea{
    position: absolute; right: -9999px;
}

.to_customer_link{
    text-decoration: none;
    color: #212529;
    cursor: pointer;
}

.highlight{
    background-color: yellow;
}

.nav_count_tasks{
    background: red;
    color: #fff;
    border-radius: 10px;
    padding: 2px 7px;
    font-weight: bold;
    font-size: 10px;
}

.add_payment_ref .fa,
.add_payment_promo .fa{
    font-size: 1.2rem;
    cursor: pointer;
}

tbody td.comments_td,
tbody td.comments_lead_td{
    position: relative;
    word-break: break-all;
}

.upload_label{
    position: relative;
    display: inline-block;
    width: 300px;
    height: 300px;
    font-size: 40px;
    text-align: center;
    vertical-align: top;
    top: 0px;
}

.upload_label input{
    display: none;
}

.upload_label i{
    margin: 0;
   position: absolute;               
   top: 50%;                         
   transform: translate(0, -50%)
}

.complect_image{
    display: inline-block;
    max-width: 500px;
    vertical-align: top;
    top: 0px;
}

.download_label{
    position: relative;
    display: inline-block;
    width: 300px;
    height: 300px;
    font-size: 40px;
    text-align: center;
    vertical-align: top;
    top: 0px;
}

.download_label a{
    color: #000000;
    font-size: 40px;
    margin: 0;
   position: absolute;               
   top: 50%;                         
   transform: translate(0, -50%)
}

.empty_track{
    background-color: #ffcdcd;
}

.upload_label_td input{
    display: none;
}

.upload_label_td i{
    cursor: pointer;
}

.label_td a{
    color: #000000;
}

#list_claims .fa,
#list_shipments .fa{
    color: #000000;
}

.files_label_text{
    position: relative;
    display: inline-block;
    width: 300px;
    height: 300px;
}

.files_label_text textarea{
    width: 100%;
    height: 100%;
}

.open_label_text_modal{
    cursor: pointer;
}

.dropdown_print_block{
    position: relative;
}

.dropdown_print_block .dropdown_btn i{
    cursor: pointer;
}

.dropdown_print_block ul{
    position: absolute;
    z-index: 1;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    list-style: none;
    box-shadow: 0px 0px 5px #cacaca;
    right: 0;
}

.dropdown_print_block ul.opened{
    display: block;
}

.add_bottom_line {
    border-bottom: 30px solid #6e5151;
}

.ui-widget.ui-widget-content{
    list-style: none;
    margin: 0px;
    padding: 10px;
    width: 300px;
    display: none;
}

.ui-widget.ui-widget-content li{
    padding: 3px 0;
    border-bottom: 1px solid #cacaca;
}


.task_order_block{
    border: 3px dashed;
    padding: 10px;
}


.unreaded{
    background-color: #ecd0c17a !important
}

.end_deadline_task {
    background-color: #ffcdcd !important;
}

/* .end_deadline_status {
    animation: blinker 1s linear infinite;
  } */
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }

.end_deadline_status_red{
    color: red;
}

.ment_unread{
    animation: blinker 1s linear infinite;
    position: absolute;
    left: 20px;
    top: -5px;
    font-size: 22px;
    font-weight: bold;
    color: red;
}

.ui-helper-hidden-accessible{
    visibility: hidden;
}

.comment_text{
    word-wrap: break-word;
}

.unreaded_tab {
    animation: blinker 1s linear infinite;
}

.loader_modal{
    position: fixed;
    width: 200px;
    height: 110px;
    right: -37px;
    top: 64px;
    z-index: 10000;
}

.loader_modal .loader_inner{
    width: 100%;
    height: 100%;
}

.loader_modal .loader_inner img{
    max-width: 100%;
}

.loader_modal.loader_modal_hide{
    display: none;
}

.loader_modal.loader_modal_show{
    display: block;
}

.reply_button{
    font-style: italic;
    cursor: pointer;
    font-weight: bold;
}

.status_history_last span{
    font-size: 9px;
}

.motifications_block{
    position: fixed;
    right: 20px;
    bottom: 0;
    max-width: 30%;
    z-index: 10;
}

.motifications_block .notice {
    cursor: pointer;
}

.order_task_link{
    font-weight: bold;
}

.edit_prod_params_list{
    list-style: none;
    padding: 0;
}

.edit_prod_params_list li{
    display: flex;
    vertical-align: middle;
}

.edit_prod_params_list li label{
    padding-left: 5px;
}

.edit_prod_params_title{
    font-weight: bold;
}

#order_file{
    display: none;
}

.order_file_link{
    font-size: 20px;
    color: #000;
    text-decoration: none;
}

.pre_transit_warning{
    background-color: red !important;
    animation: blinker 1s linear infinite;
}

.table_order_files td{
    vertical-align: middle;
}

.calendar_events{
    width: 100%;
    overflow: auto;
}

.calendar_events th{
    text-align: center;
}

.calendar_events th:nth-child(6),
.calendar_events th:nth-child(7),
.calendar_events td:nth-child(6),
.calendar_events td:nth-child(7)
{
    color: red;
}

.calendar_events th{
    font-size: 16px;
}

.calendar_events .calendar_moth th{
    font-size: 18px;
}

.calendar_events .day_header{
    text-align: right;
    font-weight: bold;
    padding: 0 10px 0 0;
    /* border-bottom: 1px solid #dee2e6; */
}

.calendar_events td{
    padding: 0 !important;
    width: 14.3%;
}

.calendar_events .day th{
    padding: .1rem !important;
}

.calendar_events .calendar_order{
    position: relative;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin: 3px 5px;
    padding: 3px 5px;
    cursor: pointer;
}

.calendar_events .calendar_order:hover{
    background-color: #cacaca;
}

.calendar_events .calendar_order span{
    position: absolute;
    right: 10px;
    top: 2px;
    color: #000;
}