body {
    background: #f5f5f5 left top repeat;
}

.modal.fade .modal-dialog
{
    -moz-transition: none !important;
    -o-transition: none !important;
    -webkit-transition: none !important;
    transition: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    -webkit-transform: none !important;
    transform: none !important;
}
.col-xs-12 {
    padding: 0
}
.w-100{
    width: 100%!important;
}
.small_fonts{
    font-size: 11px;
    line-height: 13px;
}
.small_fonts p{
    margin: 0 0 3px 0;
}
.form-control {
    /*height: auto;*/
    width: auto
}

.navbar {
    background: #434a54;
    color: #fff;
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 1000;
}

.navbar-default .navbar-nav > li > a {
    color: #fff
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background: #fff;
    color: #434a54
}

.container {
    width: 100% !important;
}

.view .form-group {
    margin-top: 15px;
    display: block;
    overflow: hidden
}

.navbar select {
    position: absolute;
    top: 12px;
    right: 100px;
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 3px 8px
}

ul.nav.navbar-right a {
    position: absolute;
    top: 12px;
    right: 10px;
    background: #F04444;
    color: #fff;
    border-radius: 4px;
    padding: 3px 8px
}
#clock,
#date{
    position: absolute;
    top: 10px;
    right: 15%;
    font-size: 18px;
}
#date{
    right: 20%;
}
.view {
    width: 1200px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.view blockquote {
    border-left: 0
}

.all_ticket {
    overflow: hidden;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #6EBBFC;
    padding: 0;
}
/*call_view*/
.call_view, .call_hist{
    background: #fff;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    color: #747D89;
    padding: 0;
    overflow: hidden;
    width: 100%;
}
.call_view .ttl {
    text-align: center;
    margin: 0;
    background: #434a54;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5;
    color: #fff;
    font-size: 18px;
    font-weight: bold
}
.call_view  form div{
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    float: left;;
}
.call_view .desc textarea{
    width: 100%;
    height: 80px;
}
.call_view .desc, .call_view .date, .number_div{
    margin-right: 30px;
    width: 300px;
}
.call_view_inn{
    padding: 30px 20px 0 ;
    margin-bottom: 10px;
}
.call_view  div .btn{
    margin-top: 10px;
}
.call_hist{
    padding: 20px;
}
.call_hist table{
    width: 100%;
}
.call_hist table td, .call_hist table th{
    width: 25%;
    text-align: center;
    font-weight: normal;
    border:none
}
.call_hist table tr{
    border-bottom: 1px solid #eee;
}
#calls_form{
    display: inline-block;
    overflow: hidden;
}
.number_div{
    display: inline-block;
    vertical-align: top;
    padding-top: 25px;
}
/*ticket head*/
.tik_view {
    background: #fff;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    color: #747D89;
    padding: 0;
    overflow: hidden;
}

.tik_view .info_blk {
    -moz-box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.8);
    display: inline-block;
    background: #fff;
    padding: 8px 15px;
    margin-right: 20px;
    min-width: 170px;
    color: #333;
    max-width: 400px
}

.tik_view .info_blk p {
    font-weight: normal
}

.tik_view .ttl .ttl_txt {
    display: inline-block;
    text-align: right;
    max-width: 700px
}

/*ticket text*/
.tik_view {
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.tik_view .ttl {
    background: #434a54;
    padding: 5px 15px;
    border-bottom: 1px solid #e5e5e5;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden
}

.tik_view .ttl p {
    margin-bottom: 0px
}

.tik_view .ttl small {
    font-weight: normal
}

.tik_view pre {
    background: #fff;
    padding: 5px 15px;
    border: none;
    border-radius: 0;
    white-space: pre-wrap;
    max-height: 250px;
    font-size: 15px;
    line-height: 15px;
}

/*ticket edit*/
.tik_txt {
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    color: #434a54;
    padding: 0
}

.tik_txt .ttl {
    text-align: center;
    margin: 0;
    background: #434a54;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5;
    color: #fff;
    font-size: 18px;
    font-weight: bold
}

.tik_txt form {
    padding: 0 50px;
    width: 100%;
    display: inline-block;
    float: left
}
@media (max-width: 768px) {
    .tik_txt form{
        padding: 0 10px;
    }
}
.tik_txt label {
    display: none
}

.blk {
    margin: 15px 0
}

.history {
    margin-bottom: 15px
}

.history .ttl {
    text-align: center;
    margin: 0;
    background: #434a54;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5;
    color: #fff;
    font-size: 18px;
    font-weight: bold
}

.view textarea#text {
    min-height: 150px;
    white-space: pre-wrap;
    overflow-x: hidden;
    width: 100%;
}

.ttl_in {
    width: 100%;
    text-align: left;
    padding: 10px 0 0px 50px;
    color: #747D89;
    font-size: 14px;
}

.txt_in {
    width: 100%;
    text-align: left;
    color: #747D89;
    font-size: 12px;
    line-height: 14px
}

.tik_txt form .col-md-10 {
    width: 100%;
    padding: 0
}

.tik_txt .tik_txt_col_right {
    width: 67%;
    display: inline-block;
    float: left;
    padding-right: 3%;
    border-right: 1px solid #e5e5e5;
    overflow: hidden;
    padding-top: 10px
}

.tik_txt .tik_txt_col_left {
    width: 30%;
    display: inline-block;
    float: right;
    min-height: 150px;
    overflow: hidden;
    padding-top: 10px
}
.tik_txt .amount{
    display: inline-block;
    float: left;
    width: 30%;
    padding: 0 15px;
}
@media (max-width: 768px) {
    .tik_txt .tik_txt_col_right,
    .tik_txt .tik_txt_col_left,
    .tik_txt .tik_txt_col_right .upload,
    .tik_txt .tik_txt_col_right .amount,
    .tik_txt .tik_txt_col_right .btns{
        width: 100%!important;
        border: none;
        padding: 0;
        margin: 0;
    }
    .tik_txt .tik_txt_col_right .amount{
        padding: 0;
    }
}

.upload {
    width: 50%;
    display: inline-block;
    float: left
}

.lang_sel {
    width: 28%;
    display: inline-block;
    margin: 0 5%;
    vertical-align: top;
    margin-top: 18px;
}

.lang_sel .form-group {
    margin: 0;
    padding: 0
}

.btns_v {
    width: 15%;
    float: right
}

.tik_txt_col_left .form-control {
    width: 100%
}

/*select block*/
.tik_txt .sel_blk {
    width: 100%;
    display: inline-block;
    margin: 5px 0 15px
}

.tik_txt .sel_blk .form-group {
    width: 100%;
    display: inline-block;
    float: left;;
    padding: 0 20px;
    margin: 0
}

.tik_txt .sel_blk label {
    display: inline-block;
    width: 90%;
    font-weight: normal;
    text-align: left
}

.tik_txt .sel_blk .col-md-10 {
    width: 9%
}

.tik_txt .sel_blk .form-group {
    padding: 0;
    text-align: center;
    box-shadow: none
}

.tik_txt .sel_blk .form-group:first-child .col-md-10 #save_as_template {
    border: none;
    box-shadow: none
}

.save_sel a.btn {
    margin-top: 15px
}

.sel_blk .form-control {
    box-shadow: none
}

.tik_txt_col_left .ttl_in {
    width: 100%;
    text-align: center;
    color: #434a54;
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
    padding: 20px 0 10px;
    border-bottom: 1px solid #e5e5e5;
}

.btns {
    display: inline-block;
    width: 11%;
    overflow: hidden;
    margin-top: 15px;
    float: right
}

.input_row {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.tik_txt .sel_blk .input_row .form-group {
    width: 100%;
    padding: 0 15px
}

.tik_txt .sel_blk .input_row .form-group label {
    width: 100%;
    text-align: center
}

.tik_txt .sel_blk .input_row .form-group .col-md-10 {
    width: 100%
}

.tik_txt .sel_blk .input_row .down_btn {
    line-height: 8px;
}

.tik_txt_col_left .btns_blk {
    text-align: center
}

.blue {
    color: blue
}

.purple {
    color: rgb(216, 14, 216)
}

/*info_blk*/
.info_blk {
    min-width: 100%;
    white-space: nowrap;
}

.info_user .info_blk {
    display: inline-block;
    min-width: 70%;
    max-width: 70%;
}
@media (max-width: 768px) {
    .info_user .info_blk{
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}
.info_blk.user {
    background: #fff;
  border-bottom: 1px solid #999;
  padding: 5px 0;
}
@media (max-width: 768px) {
    .info_blk.user {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}
.tic {
    margin: 0 10px
}

/*list*/
.model-list {
    background: #fff;
}

.model-list thead {
    background: #434a54;
    color: #fff
}

.model-list thead a {
    color: #fff;
    font-weight: normal
}

.table > thead:first-child > tr:first-child > th {
    border: none;
    border-top: 1px solid #434a54;
    border-right: 1px solid #7E8590;
    border-left: 1px solid #434a54;
}

.table-bordered > tbody > tr > td {
    border: 1px solid #C5CCD5;
}

/*nav-tabs*/
.nav-tabs > li > a {
    background: #fff;
    border: 1px solid #C5CCD5;
    color: #434a54
}

.nav-tabs > li > a:hover {
    background: #C5CCD5
}

.nav-tabs > li.active > a {
    background: #C5CCD5;
    color: #000
}

/*info_user*/
.info_user, .user_control {
    background: #fff;
    border-bottom: 1px solid #999;
    padding: 5px 0;
}

.info_user div {
    display: inline-block;
    margin: 0 10px
}
/*user_control*/
.user_control #user_control{
    display: inline-block;
    font-size: 16px;
    overflow: hidden;
    line-height: 16px;
}
/*spoiler*/
.my_spoiler {
    background: #434a54;
    border-bottom: 1px solid #f5f5f5;
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    padding: 0px;
    color: #fff
}

.btn-spoiler {
    color: #fff;
    width: 100%;
    font-size: 12px;
    text-align: left;
    padding: 0 12px
}

.btn-spoiler:hover, .btn-spoiler:focus {
    color: #fff;
    text-decoration: underline
}

.inn_spoiler {
    background: #fff;
    padding: 10px 20px;
    color: #333
}

.my_spoiler .glyphicon {
    margin: 0 10px
}

.empty {
    background: #434a54;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
    color: #fff
}

/*spoiler table*/
.my_spoiler table {
    width: 100%
}

.my_spoiler table th, .my_spoiler table td {
    width: 20%;
    text-align: center;
    border: 1px solid #ddd
}

.all_ticket .btn-default {
    float: right;
    font-size: 10px;
    padding: 3px 5px
}

tr.green {
    background: #A8FFB9
}

tr.silver {
    background: #D3D3D3
}

tr.red {
    background: #FFA0A3
}

.glyphicon.red {
    color: red
}

.glyphicon.green {
    color: green
}

.table {
    margin-bottom: 0
}

.panel-default > .panel-heading.log_ttl {
    background-color: #434a54;
    color: #fff
}

.btn_create {
    border: none;
    color: #F04444;
    padding: 5px;
    font-size: 30px;
    padding-right: 15px;
    display: inline-block;
    line-height: 52px
}

.btn_create:hover {
    color: #F00000;
}

/**/
form.filter input {
    border: 1px solid #7E8590;
    padding: 5px 15px;
}

form.filter .btn {
    padding: 5px 15px;
    vertical-align: top
}

.table.partners > tbody > tr > td:nth-child(odd) {
    background-color: #66707E;
    color: #fff;
}

.table.partners > tbody tr.head {
    background-color: #434a54;
    color: #fff;
}

tr.head th {
    text-align: center
}

.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all {
    z-index: 9999 !important
}

.log {
    width: 13px;
    word-wrap: break-word;
    overflow: hidden;
    display: inline-block;
    letter-spacing: 3px;
    margin-top: 5px;
    border-top: 2px solid #fff;
    padding-top: 5px
}

.table.partners td {
    word-wrap: normal;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
}

.table.partners td p {
    white-space: nowrap;
    padding: 0;
    margin: 0
}

p.task_btn {
    white-space: nowrap
}

.task_edit textarea, .call_task textarea {
    width: 100%;
    min-height: 140px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.task_edit, .call_task {
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    color: #434a54;
    padding: 10px;
}

/*chat*/
.chat{display: none}
.chat.active{display: inline-block;position: absolute;z-index: 4000;padding:0 30px 20px;background: #fff;border-bottom: 1px solid #f5f5f5;
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  color: #434a54;}
.chat.active textarea{width: 300px;height: 200px}
.admin-form{
    padding-left: 80px;
}
.cke_chrome.cke_editor_content{
    width: 80%;
}
.tik_txt .blk.btns{
    width: 20%;
}
.tik_txt #user_status_select{
    display: inline-block;
    margin-right: 15px;
}
.tik_txt .btn_save_template{
    vertical-align: top;
}
.platform_select_f .select2-container{
    min-width: 200px;
    width: auto;
    padding: 0;
    background: none;
    border: none;
}
.filter{
    margin: 15px 0;
    display: inline-block;
}
.platform_select_f{
    margin:15px 0;
    vertical-align: top;
    display: inline-block;
}
.platform_select_f .select2-container-multi .select2-choices{
    background: none;
    border: 1px solid #7E8590;
    height: 32px!important;
}
.platform_select_f .btn-success{
    height: 32px;
}

.table-dark td.dark-td,
.table-dark thead,
.table-dark tfoot{
    background: #4c545e;
    color: #fff;
    white-space: nowrap;
}

.table-dark thead th,
.table-dark tfoot th{
    color: #fff;
}
.table-dark thead th small,
.table-dark tfoot th small{
    display: block;
    font-size: 12px;
    white-space: nowrap;
}
.table-dark thead th span,
.table-dark tfoot th span{
    display: block;
    white-space: nowrap;
}

.table-responsive{
    overflow-x: unset!important;
}
