/*common*/
.to_uppercase {
	text-transform: uppercase;
}
.text h2 {
	font-size: 18px;
	margin: 15px 0;
}
.text h3 {
	font-size: 16px;
	margin: 10px 0;
}
a.blocked b, .blocked {
	color: #952424;
}
.hidden1 {
    display: none!important;
}
.green {
	color: #249542;
}
.brightorange, a.brightorange  b {
	color: #df8926;
}
.darkgrey {
	color: #3c4554;
}
.purple {
	color: #a72141;
}
.redback {
	background-color: #FFE6E6!important;
}
.redback > td {
	background-color: #FFE6E6;
}
.blueback {
	background-color: #e3f0fc;
}
.greenback {
	background-color: #e3fce8!important;
}
.greenback > td {
	background-color: #e3fce8;
}
.cyanback > td {
	background-color: #a6b8e8;
}
.orangeback {
	background-color: #C1624C!important;
}
.lightblueback {
	background-color: #d8edff!important;
}
.lightblueback > td {
	background-color: #d8edff;
}
.yellowback, .yellowback > td {
	background-color: #FBFACF!important;
}
.yellow {
	color: #4C7DDA;
}
.red {
	color: #ce0633;
}
.bold {
	font-weight: bold;
}
.small_grey {
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	color: #838D8F;
	font-size: 14px;
}
.breadcrumbs {
	font-size: 14px;
	display: inline-block;
}
.breadcrumbs  ul {
	display: inline-block;
	color: #666;
}
.breadcrumbs  ul a {
	color: #666;
}
.breadcrumbs .bigger {
	font-size: 17px;
}
.text-bigger {
	 font-size: 17px;
}

label.inline-block {
	margin-left: 10px;
	display: inline-block;
}

/*Tooltip*/
#ddmenu{margin:0; white-space: nowrap;}
.inline #ddmenu{display: inline-block;}
#ddmenu li { display: inline-block; position: relative; float: left; }
#ddmenu > li {float: none; }
#ddmenu ul {
  position: absolute;
  top: 20px;
  width: 130px;
  background: #5881cd;
  display: none;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  z-index:1;
}

#ddmenu ul li { 
  display: block; 
  font-size: 0.9em; 
  text-shadow: 1px 1px 0 #fff;
}

#ddmenu ul li a {
  display: block;
  padding: 6px 7px;
  line-height: 1.4em;
}


.bloggood {
  position: relative;
}
.bloggood span {
  position: absolute;
  margin-left: -30000px;
  background-color: #f4f4f4;
  color: #555555;
  padding:10px;
  border:1px solid #cfcfcf;
  margin-top: 23px;
    margin-right: -91px;
}
.bloggood:hover span {
  margin-left: 0;
  width: 250px;
  z-index: 1000;
  top:30px;
  left:-120px;
}
.bloggood span:after{
  content: '';
  width:0;
  height:0;
  border: 10px solid transparent;
  border-bottom: 10px solid #f4f4f4;
  position: absolute;
  top:-20px;
  left:130px;
}
a span.bloggood {
background: rgba(17,17,17,1);
background: -moz-linear-gradient(left, rgba(17,17,17,1) 0%, rgba(44,44,44,1) 0%, rgba(89,89,89,0.99) 12%, rgba(102,102,102,0.97) 25%, rgba(71,71,71,0.95) 39%, rgba(43,43,43,0.91) 76%, rgba(28,28,28,0.89) 91%, rgba(19,19,19,0.88) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(17,17,17,1)), color-stop(0%, rgba(44,44,44,1)), color-stop(12%, rgba(89,89,89,0.99)), color-stop(25%, rgba(102,102,102,0.97)), color-stop(39%, rgba(71,71,71,0.95)), color-stop(76%, rgba(43,43,43,0.91)), color-stop(91%, rgba(28,28,28,0.89)), color-stop(100%, rgba(19,19,19,0.88)));
background: -webkit-linear-gradient(left, rgba(17,17,17,1) 0%, rgba(44,44,44,1) 0%, rgba(89,89,89,0.99) 12%, rgba(102,102,102,0.97) 25%, rgba(71,71,71,0.95) 39%, rgba(43,43,43,0.91) 76%, rgba(28,28,28,0.89) 91%, rgba(19,19,19,0.88) 100%);
background: -o-linear-gradient(left, rgba(17,17,17,1) 0%, rgba(44,44,44,1) 0%, rgba(89,89,89,0.99) 12%, rgba(102,102,102,0.97) 25%, rgba(71,71,71,0.95) 39%, rgba(43,43,43,0.91) 76%, rgba(28,28,28,0.89) 91%, rgba(19,19,19,0.88) 100%);
background: -ms-linear-gradient(left, rgba(17,17,17,1) 0%, rgba(44,44,44,1) 0%, rgba(89,89,89,0.99) 12%, rgba(102,102,102,0.97) 25%, rgba(71,71,71,0.95) 39%, rgba(43,43,43,0.91) 76%, rgba(28,28,28,0.89) 91%, rgba(19,19,19,0.88) 100%);
background: linear-gradient(to right, rgba(17,17,17,1) 0%, rgba(44,44,44,1) 0%, rgba(89,89,89,0.99) 12%, rgba(102,102,102,0.97) 25%, rgba(71,71,71,0.95) 39%, rgba(43,43,43,0.91) 76%, rgba(28,28,28,0.89) 91%, rgba(19,19,19,0.88) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#111111', endColorstr='#131313', GradientType=1 );
font-size:14px;
color:#ffffff;
padding: 11px 0px;
vertical-align: top;
display: inline-block;
width: 39px;
text-align:center;
}

.bloggood2 {
  position: relative;
}
.bloggood2 span {
  position: absolute;
  margin-left: -30000px;
  background-color: #f4f4f4;
  color: #555555;
  padding:10px;
  border:1px solid #cfcfcf;
  margin-top: 3px;
margin-right: -91px;
text-align: center;
}
.bloggood2:hover span {
  margin-left: 0;
  width: 200px;
  z-index: 1000;
  top:30px;
  left:-100px;
}
.bloggood2 span:after{
  content: '';
  width:0;
  height:0;
  border: 10px solid transparent;
  border-bottom: 10px solid #f4f4f4;
  position: absolute;
  top:-20px;
  left:96px;
}
.vmiddle {
	vertical-align: middle;
}
.vbaseline {
	vertical-align: baseline;
}
/*corrections*/
.datetimepicker {
	cursor: pointer;
}
.main-nav_link:focus { 
	color: white!important;
}
h1.title_type1 a {
    color: #666;
}
a.btn-message {
	color: #666;
	font-family: OpenSans-Bold;
}

table  td a.edit {
	color: #666;
	font-family: OpenSans-Bold;
}
table  td a.edit:hover {
	text-decoration: underline;
}

a.link-underline {
	text-decoration: underline;
}

.text-hint {
	margin-bottom: 10px;
}
.text-hint-success {
    background: #00800036;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.text-hint-warning {
	color: #B70932;
	font-weight: normal;
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.mbtn {
	   display: inline-block;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #5c95ff;
    border-radius: 2px;
    padding: 5px 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 26px;
    height: 36px;
    margin-bottom: 15px;
    min-width: 100px;
	text-align: center;
}
.text-hint .mbtn {
	margin-top: 10px;
	margin-right: 10px;
}
.btn:focus {
    outline: none;
    color: white;
}
	
.common-table.light-table td {
	background: #E5EDFD;
}
.common-table.light-table tr.unread td {
	background: #d8e6ff;
}
.common-table {
    min-width: 250px;
}

.btn.btn-100 {
	width: 100%;
	font-size: 12px;
}
.w-100 {
	width: 100%;
}
	
/*forms*/
.input_fixed{
	width: 100%;
    max-width: 100%;
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    margin-bottom: 12px;
    line-height: 32px;
    padding: 0 15px;
    font-family: "OpenSans-Regular";
	display: block;
	background: white;
	height: 32px;
}
.form-label {
	color: #666;
	font-size: 10pt;
	margin-left: 15px;
	margin-bottom: 3px;
}
.form-error {
	color: #BF3131;
	font-size: 10pt;
	margin: -6px 2px 14px 2px;
	
}

td.text-center a img {
	margin: 5px;
}
.common-table td a {
	color: #00163e;
}

.label-checkbox {
	margin-bottom: 10px;
}
select.multiselect:not(.no_style) {
	display: none;
}
select.multiselect.no_style {
	width: 100%;
	margin-bottom: 10px;
	min-width: 120px;
	display: inline-block!important;
}

.form_remark {
	display: none;
}

input[type="radio"] + label::before , input[type="radio"] + label{
	cursor: pointer;
}

.radio-inline {
	margin-right: 20px;
	display: inline-block;
	padding-left: 0px;
}

.card-bl.driver_info {
	padding: 20px;
	margin-bottom: 10px;
}
.card-bl.driver_info  .title-form {
	margin-left: 20px;
}
.card-bl.driver_info   .radio-bl {
	margin-bottom: 0px;
}

input.field_error  {
	box-shadow: 0 0 5px rgba(206, 51, 101, 0.85);
}

.form-mselect .selectize-control {
	margin-bottom: 5px;
}
.form-mselect .selectize-input > input {
	height: 28px;
}
.form-mselect .selectize-input  {
	box-shadow: none;
	-webkit-box-shadow: none;
}
.form-mselect {
	margin-top: 20px;
}
.form-mselect.no-margin-top {
	margin-top: 0;
}


.chosen-container-multi .chosen-choices li.search-choice {
    background-color: #699dff;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
    display: inline-block;
    font-size: 12px;
    vertical-align: top;
    line-height: 24px;
    padding: 0 5px;
    margin-right: 6px;
    margin-bottom: 6px;
    margin-top: 0px;
    background-image: none;
}

 .chosen-container-multi li.grey {
	 color: #d0d0d0;
 }

 .chosen-container-multi .chosen-choices li.search-field {
	width: 215px;
    margin-right: 6px;
    height: 32px;
    width: auto;
	min-width: 180px!important;
    max-width: 100%;
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    margin-bottom: 12px;
    line-height: 32px;
    padding: 0 15px;
	margin-top: 1px;
    font-family: "OpenSans-Regular";
	background: white;
}
 .chosen-container-multi .chosen-choices {
	background: none;
	width: auto!important;
	border: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	padding: 0;
}

 .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
	background: url(../images/icons/del.png) no-repeat left top;
	top: 9px;
    right: 1px;
}

 .chosen-container-multi .chosen-choices li.search-choice span {
	margin-right: 10px;
}
.chosen-container-multi .chosen-choices li.search-field input {
	 width: auto!important;
}

select[disabled] + .selectize-control .selectize-input {
	background-color: rgb(235, 235, 228); opacity: 0.8;
}
select[disabled] + .selectboxit-container .selectboxit-btn {
	background-color: rgb(235, 235, 228); opacity: 0.8;
}


/*form files */
.jq-file__browse {
	cursor: pointer;
    background: #D4D4D4;
    padding: 8px;
    width: auto;
    text-align: center;
    border-radius: 3px;
    color: #404040;
	display: inline-block;
    margin-right: 20px;
    min-width: 160px;
}
.jq-file {
	width: auto;
}

.jq-file__name {
	display: inline-block;
}


/*Level Table*/

 .tr_level2, .tr_level3, .tr_level4, .tr_level5, .tr_level6, .tr_level7 {
	display: none;
 }
 .tr_level2 > td:first-child {
	padding-left: 25px;
 }
 .tr_level3 > td:first-child {
	padding-left: 45px;
 }
 .tr_level4 > td:first-child ,  .tr_level5 > td:first-child ,  .tr_level6 > td:first-child ,  .tr_level7 > td:first-child {
	padding-left: 60px;
 }
 .tr_level5 > td:first-child ,  .tr_level6 > td:first-child ,  .tr_level7 > td:first-child {
	padding-left: 70px;
 }
.tr_level6 > td:first-child ,  .tr_level7 > td:first-child {
	padding-left: 75px;
 }
 
 select.no_style { 
	height: 32px;
    border: 1px solid #cdcdcd;
    font-size: 14px;
    border-radius: 3px;
	color: #707070;
	padding: 2px 10px;
    margin-bottom: 12px;
 }
 
 /*DIALOG*/
 
 .dialog .row {
	 margin: 0px;
 }
 .dialog h2 {
	 font-size: 16px;
	 margin: 15px 15px 25px 15px;
 }
 .dialog p {
	 margin-bottom: 5px;
 }
 .dialog-static .dialog { 
	display: none;
 }
 
 .dialog-query .dialog-item {
	
 }
 
 .dialog form .row > div {
	 min-height: 80px;
	 text-align: left;
 }
 .dialog form .row > div select.no_style {
	 width: 100%;
 }
  .dialog form .row > div input[type="submit"] {
	 margin-top: 15px;
 }
 
/*REMARKS*/
input.has_q, textarea.has_q {
	padding-left: 25px;
}
.q_hidden {
	display: none;
}
.q_hidden.q_visible {
	display: block;
	position: absolute;
	background: #e0e0e0;
	color: black;
	padding: 7px;
	margin-top: 15px;
	margin-left: -15px;
	font-style: normal;
	line-height: 18px;
	font-size: 11px;
}
.q_text {
	position: absolute;
	margin-left: 8px;
	margin-top: 9px;
	width: 14px;
	height: 14px;
	background: url("../images/q.png?v=1") no-repeat left top;
	cursor: pointer;
}
.q_simple {
	margin: 3px;
    display: inline-block;
    width: 14px;
    
    height: 14px;
    background: url(../images/q.png?v=1) no-repeat left top;
    cursor: pointer;
}
.left-nav a .q_text {
	position: static;
	margin: 2px 0 2px 2px;
	float: right;
}
.q_select{
	padding-top: 2px;
	display: inline-block;
	margin-bottom: -1px;
	margin-right: 5px;
	width: 14px;
	height: 14px;
	background: url("../images/q_sel.png?v=1") no-repeat left top;
	cursor: pointer;
}
.q:hover, .q.active, .q_simple:hover, .q_simple.active {
	background-position: left bottom;
}
.form-label.has_q {
	margin-left: 8px;
}
.radio-bl_title.has_q {
	margin-left: 8px;
}
.btn {
	text-transform: initial;
}
	
/*HEADER*/
.icon-h-counter {
	color: white;
	background: rgba(230,20,20,0.8);
	padding: 3px;
	font-size: 11px;
	border-radius: 9px;
	text-align: center;
	display: inline-block;
	margin: 0px 0px 0px 5px;
	height: 18px;
	width: 18px;
	overflow: visible;
	line-height: 12px;
}


/*sortable*/
.sortable-placeholder {
	height: 33px;
	background-color: #FBFACF;
} 
.sortable tr {
	background: #d8e6ff;
}
.sortable tr > td.handle {
	cursor: move;
}
.sortable tr > td.pop_change, .sortable .label-checkbox {
	cursor: pointer;
}
.sortable tr.greenback {
	background: #e3fce8;
}

/*table*/
.table-border-right  td {
	border-right: 1px solid #ffffff;
}

/*calendar*/
.table-calendar td {
    height: 48px;
    padding: 2px;
    position: relative;
    overflow: visible;
    vertical-align: top;
    min-width: 90px;
    cursor: pointer;
}
.table-calendar th.today {
    background-color: #e3fce8;
}
.table-calendar td.not-working {
    background-color: #ffe6e6 !important;
}
.table-calendar td.busy:not(.calendar-time-td) {
    /*background: repeating-linear-gradient(45deg,#ffffff,#ffffff 5px,#d8e6ff 5px,#d8e6ff 10px);*/
    /*background: repeating-linear-gradient(45deg,#ffffff,#ffffff 3px,#6492e6 3px,#6492e6 12px);*/
    background-color: #d0afbf!important;
}
.table-calendar.common-tabla_type-zebra tr:nth-child(even) td.busy:not(.calendar-time-td) {
    background-color: #d0afbf!important;
}

.table-calendar .label-checkbox {
    margin-bottom: 0;
}
.calendar-weekdate {
	display: inline-block;
	margin-left: 10px;
	cursor: pointer;
	vertical-align: bottom;
}
.calendar-event {
	border: 1px solid #a5c1f5;
    padding: 2px;
    font-size: 12px;
    border-radius: 2px;
	display: block;
	margin-bottom: 5px;
	background-color: #fafafa;
	position: absolute;
    width: calc(100% - 4px);
    top: 2px;
    overflow: hidden;
    z-index: 1;
}
.calendar-event:hover {
    height: auto!important;
    z-index: 2;
    /*max-height: none!important;*/
}
.calendar-legend {
    font-weight: 600;
    padding: 5px
}
.calendar-legend-item {
    width: 12px;
    height: 12px;
    margin-right: 10px;
    display: inline-block;
}
.legend-hint {
    font-weight: 300;
    font-size: 12px;
}
.calendar-event-x {
	position: absolute;
	right: 3px;
	top: 3px;
	width: 12px; height: 12px;
	background: url(../images/icons/del2.png);
    background-size: contain;
}
.icon-menu9 {
	background: url(../images/icons/calendar_blue.png) no-repeat left top;
	width: 24px;
	height: 24px;
}
.table-calendar td.calendar-time-td {
    vertical-align: middle;
    text-align: center;
}
.calendar-time-td .busytime-control {
    position: absolute;
}

/*selectize*/
.selectize-control.multi .selectize-input {
    padding: 1px 8px 2px;
	
}
 .selectize-control.single {
	 margin-bottom: 10px;
 }
 .selectize-control.single .selectize-input {
	 padding: 8px 8px 8px;
	 padding: 6px 8px 3px;
	 height: 34px;
 }
.selectize-control.multi .selectize-input.has-items {
    padding: 1px 8px 2px;
}
.selectize-control.single .selectize-input.has-items {
	padding: 8px 8px 8px;
	padding: 6px 8px 3px;
}
.selectize-control.single .selectize-input input {
	height: 24px;
	margin-top: 0;
}
.selectize-control.disabled .selectize-input {
	background: #f3f3f3!important;
}


.selectize-control.multi .selectize-input > div, .selectize-control.multi .selectize-input > div.active {
    cursor: pointer;
    margin: 3px 3px 3px 0;
    padding: 2px 6px;
    background: #5c95ff;
    color: #ffffff;
    border: 0 solid #d0d0d0;
}

.table.tos .selectize-control {
    float: left;
    width: 85%;
}

.table.tos .btn {
	font-size: 11px;
	min-width: 30px;
}

.tg_start {
	margin-left: 30px;
}
.tg_start img {
	width: 24px;
	margin: 0px 10px;
}

textarea.longt {
	min-height: 100px;
	resize: auto;

}


.table-responsive>.table.tos>tbody>tr>td {
	    white-space: normal;
}

.icon {
	    padding: 0px;
    display: inline-block;
    vertical-align: top;
}
.icon > a {
	margin: 6px;
    display: inline-block;
}
.small {
	margin-top: -8px;
}
.small label {
	font-size: 10px;
}
.table-fixed {
	table-layout: fixed;
}

#preview-container {
    max-width: 500px;
}
.image-preview {
    display: block;
    max-height: 300px;
    min-height: 100px;
    overflow: auto;
    margin-bottom: 10px;
    position: relative;
    background: #5c95ff;
}
.image-preview img {
    max-width: 100%;
}
.image-preview-remove {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    width: 24px;
    height: 22px;
    text-align: center;
    border-radius: 25%;
}
.disabled .image-preview-remove {
    display:  none;
}
.image-preview-download {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    height: 22px;
    text-align: center;
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: 600;
}
.busytime:checked+label::after {
    content: 'Занято';
}
.calendar__multicell-event {
    vertical-align: top;

}

.select__show-long-names .selectboxit-text  {
    position: absolute;
    left: 8px;
}

/*himsel*/

.himsel-list {
    display: none;
}
.himsel-current-value {
    width: 100%;
    max-width: 100%;
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    margin-bottom: 12px;
    line-height: 32px;
    padding: 0 15px;
    min-height: 32px;
    background: white;
    cursor: pointer;
}
.himsel-item {
    padding: 8px 10px;
    margin: 8px 0;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
}
.himsel-item p {
    color: black;
    font-size: 12px;
}
.himsel-item:hover, .himsel-item.selected {
    background-color: #5c95ff;
    color: white;
}
.himsel-item:hover p, .himsel-item.selected p {
    color: white;
}
.himsel-current-value h5, .himsel-item h5 {
    margin: 6px 0;
    font-weight: 600;
}
.himsel-current-value p, .himsel-item p {
    margin: 6px 0;
    font-weight: 300;
    text-align: left;
    font-size: 14px;
    color: black;
}
.himsel-current-value .coords, .himsel-item .coords {
    display: none;
}
.himsel-dialog-wrapper {
    max-height: 500px;
    overflow-y: auto;
}
.map-hidden {
    display: none;
}

.offset_data_popup {
    margin: 10px;
    line-height: 18px;
}
.OFFSET_PRICE_HINT {
    color: grey;
    margin-left: 10px;
}
.date_array__picker_wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
}
.date_array__picker_wrapper::before {
    content: 'Добавить дату:';
    display: block;
    margin-bottom: 12px;
    padding-right: 5px;
    white-space: nowrap;
}

.menu-compact {
    margin-bottom: 12px;
}
.menu-compact > .btn, .btn.compact {
    height: 30px;
    vertical-align: top;
    padding-top: 2px;
    margin-bottom: 4px;
}
.panel {
    margin-bottom: 12px;
}

.div-space::after {
    content: '';
    display: block;
    height: 5px;
    border-bottom: 2px solid #a5b2ca;
    margin-bottom: 7px;
}
td.nowrap_center {
    text-align: center;
    white-space: nowrap;
}
.hint-active {
    text-decoration: underline;
    font-weight: bold;
    margin: 0 5px;
}

.form-input-group {
    display: flex;
    align-items: center;
}
.form-input-group label {
    padding-right: 10px;
}
.form-input-group select, .form-input-group input {
    flex: auto;
}

.position-relative {
    position: relative;
}
.parameters-link {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 15px 0 0;
}
.icon-cog {
    background: url('../images/cog.png');
    height: 20px;
    width: 20px;
}
i.icon-menucog {
    background: url(../images/cog_blue.png) no-repeat left top;
    height: 24px;
    width: 24px;
    background-size: 22px 22px;
}

#common_map_cont, #map_input_filter {
	margin-bottom: 15px;
}

.top-nav .container>.navbar-collapse {
    overflow: hidden;
}