:root {
	--scrollbar-width: 6px;
	--scrollbar-color: #676767;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-width);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
  border-radius: 5px;
}

*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar:horizontal {
    height: 6px;
}

body {
    font-family: "Roboto Flex", sans-serif;
    font-size: 12px;
    color: #000;
}

input:focus, select:focus, textarea:focus { outline: none; }

.headerFont {
    font-family: "Roboto Flex", sans-serif;
}

.sans {
    font-family: "Roboto Flex", sans-serif;
}

.fog {
    background-color: rgba(190,190,190,.5);
}

.modalWin {
    margin: auto;
    background-color: #fff;
    border-radius: 3px;
}

.viewPortContainer {
    min-height: calc(100% - 50px);
}

#messageBox {
    z-index: 100;
    position: fixed;
    top: 30px;
    padding: 10px;
    font-size: 12px;
    opacity: .95;
    width: 40ch;
    text-align: center;
    font-weight: 600;
    margin-left: -20ch;
    left: 50%;
    border-radius: 3px;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,.25);
}

input[type="checkbox"].messageMode {
	margin: 0 0 0 0;
}

.modalWin h2 {
    font-size: 1.7em;
    font-weight: 300;
    margin: 0 0 .7em;
}

.modalWin .likeInput {
	line-height: 74px;
    height: 64px;
    margin: 0;
}

.paddingLeft10, .nopadding.paddingLeft10 {
    padding-left: 10px !important;
}

.goldOne {
    background-color: #ffea7b;
    color: #333;
}

.group {
    height: 100%;
    margin-top: 0;
    border: 1px solid #eee;
    overflow-y: auto;
}

.group:not([class $= One]) {
    background: #fff;
}

.marginBottom15 {
    margin-bottom: 15px;
}

.noMarginTop { margin-top: 0 !important; }

.autoWidth { width: auto !important; }

.hPadding10 { padding-left: 10px; padding-right: 10px; }

.paddingRight10 { padding-right: 10px !important; }

.mainViewPort {
    height: 100%;
}

.viewPortContainer { overflow: auto; }

#orkDetails #detailsWrapper {
    height: calc(100% - 86px);
}

#orkDetails #groupsWrapper {
    height: calc(100% - 40px);
}

#detailsTask {
    /*font-family: 'Montserrat', sans-serif;*/
}

#orkMenu {
    background-color: #eee;
    background-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.1));
    box-shadow: 5px 0px 5px 0px rgba(0,0,0,.1);
    /*font-family: montserrat;*/
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 50;
    width: 350px;
    transition: .3s ease-out;
    overflow-y: initial;
    padding: 0;
    height: 100vh;
    /*height: calc(100vh - 30px);*/
}
    
#orkMenu.closed {
    left: -100%;
    box-shadow: none;
}

#orkMenu .menuTabToggler {
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 30px;
    text-align: center;
    background-color: #333;
    font-size: 16px;
    padding: 7px 0px;
}

#orkMenuWrapper {
    overflow-y: auto;
    height: 100%;
    padding: 10px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

a.label-primary { color: #fff !important; }

.label-grey {
   background-color: #aaa; 
}

.label-salad {
    background-color: #c6d680;
    color: #333;
}

.label-filter {
   background-color: purple; 
}

.label-filter:hover { background-color: purple; }

#orkListContainer {
    padding: 0;
    border-right: 1px solid #ccc;
}

.listMenuItem {
    font-size: 17px;
    height: 40px;
    line-height: 40px;
    width: 40px;
    text-align: center;
    cursor: pointer;
}

.listMenuItem:hover { color: #74c3f2; }

.listMenuItem .fa {
    line-height: 40px;
}

.listMenuItem .fa-stack-2x {
    opacity: .8;
}

#orkListTop {
    background: #eee;
    margin: 0;
    height: 86px;
}

#orkListTop .listMenuItem select {
    width: 100%;
    margin-top: 2px;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #aaa;
    padding: 7px 0;
    font-size: 12px;
    background-color: transparent;
}

.listMenuItem.selectWrap {
    width: calc(50% - 105px);
    margin-left: 10px;
}

#listBtnPack, .listBtnPack { 
    background-color: #313131;
    color: #fff;
}

#listSearchPack, .listSearchPack {
    padding: 3px 0px;
    height: 46px;
    background-color: #ddd;
}

#listSearchPack .listSearch {
    width: calc(100% - 80px);
    /*width: calc(100% - 182px);*/
    height: 40px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    transition: .3s ease-out;
}

#listSearchPack .listSearch.new { width: calc(100% - 182px); }

#listSearchPack .listSearch:focus, #listSearchPack .listSearch:hover {
    box-shadow: none;
    border-radius: 0px;
}

#listSearchPack .listMenuItem {
    -webkit-text-stroke: .03em #eee;
}

#listPagination {
    height: 40px;
    background-color: #eee;
}

.pagesLink {
    display: inline-block;
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    margin-top: 2.5px;
    font-weight: 700;
    font-family: monospace;
    vertical-align: middle;
}

.pagesLink .fa { line-height: 35px; }

.pagesLink.curPage {
    background-color: #ddd;
    border-radius: 50%;
}

#orkList {
    height: calc(100% - 126px);
    overflow-y: auto;
    margin: 0;
    padding: 0px 10px;
    border-top: 1px solid #ddd;
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,.15) inset;
}

#orkList select, #orkListTop select {
    width: 160px;
}

#orkListTop select.listMenuSelect {
    width: 84px;
    height: 40px;
    line-height: 40px;
    border: none;
    background-color: transparent;
}

.listMenuItem.listMenuItemThin {
    width: 18px;
    font-size: 15px;
    margin: 0;
}

.taskSourceInfo {
    padding-bottom: 2px;
}

.taskSourceInfo .brick {
    width: 12ch;
}

.taskSourceInfo .badge { font-size: .9em; box-shadow: 0px 2px 2px 0px rgba(0,0,0,.1); }

#taskLinkWrapper {
    height: 1px;
    opacity: 0;
    width: 1px;
    overflow: hidden;
}

.statusIcons {
    height: 43px;
    font-size: 1.5vw;
    display: inline-block;
    -webkit-text-stroke: .01em #eee;
    padding: 0;
    vertical-align: top;
    color: #bbb;
    border-bottom: 3px solid #bbb;
    transition: .3s ease-out;
    width: 20%;
    text-align: center;
}

.statusIcons * {
    vertical-align: middle;
    line-height: 40px;
}

.statusTitle {
    font-size: 12px;
    -webkit-text-stroke: initial;
    height: 14px;
    display: inline-block;
    line-height: 14px;
}

.statusIcons.achieved, .statusIcons.btnIcon:hover {
    border-bottom: 3px solid #76d02c;
}
.statusIcons.achieved {
    color: #76d02c;
    font-size: 1vw;
    padding-top: calc(30px - 1vw);
}

.statusIcons.achieved[value="4"] {
    color: #76d02c;
}

.statusIcons.btnIcon {
    color: #00a8ff;
    cursor: pointer;
}

input {
    border: 1px solid #ddd;
}

select:focus, input:focus {
    background-color: #66d5ff;
    border-color: #66d5ff;
    color: #333;
    outline: none;
}

select[multiple] {
    width: 100%;
    height: 6em;
}

select[multiple][data-type=groups] { height: 8em; }
select[multiple][data-type=wgroups] { height: 14em; }

input[type=file] { border: none; }

#orkList select { border: none; }
#orkList select:focus { background-color: #fff; }
#orkList .task:hover select, #orkList .task.active select { border: none; color: #333; }

#orkMenuWrapper select:focus, #orkMenuWrapper input:focus { background-color: #fff; }

#orkList .task {
    border-bottom: 1.5px solid #ddd;
    margin-left: -10px;
    margin-right: -10px;
    padding: 10px;
    position: relative;
    background-color: #c3c3c3;
    color: #000;
}

#orkList .task .badge { font-size: 10px; }

#orkList .task .fa-filter { width: 1.2ch; }

#orkList .task .fa-filter + .badge.oneLine { 
    max-width: calc(100% - 2ch);
    padding: 2px 4px;
    font-weight: 400;
}

#orkList .task:hover, #orkList .task.active {
    background-color: #eee;
}

#orkList .task:hover .text-muted, #orkList .task.active .text-muted { 
    color: #eee;
}

#orkList .task div {
    vertical-align: top;
}

.label {
    display: inline-block;
    margin: 2px 0px;
    font-size: 90%;
    font-weight: 400;
}

.preloader {
    display: flex;
    margin: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    align-items: center;
    background: rgba(190,190,190,0.4);
}

.preloader .wrapper {
    width: 100%;
    text-align: center;
    color: #d9534f;
}

.awesomeCheckbox + label {
    margin-bottom: 10px;
    display: inline-block;
}

.elegantBtn {
    padding: .7em 1.3em;
    /*font-family: montserrat;*/
    border-bottom: 2px solid rgba(0,0,0,.4);
    border-radius: 1.5em;
}

.bigAwesomeBtn {
    background: #569bd6;
    background: linear-gradient(to bottom, #569bd6, #3a86c7);
    color: #fff;
    font-size: 1.2em;
    padding: 0.7em 1.4em;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 3px;
    border-bottom: 2px solid rgba(0,0,0,0.3);
    cursor: pointer;
}

.bigAwesomeBtn:hover {
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.4);
}

.bigAwesomeBtn:active {
    background: linear-gradient(to top, #569bd6, #3a86c7);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.15) inset;
    border-bottom: 2px solid transparent;
}

.likeBigAwesome {
    display: inline-block;
    font-size: 1.2em;
    padding: 0.7em 1.4em;
    cursor: pointer;
}

.likeBigAwesome:hover {
    text-decoration: underline;
}

#directingButtons {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.grey {
    color: rgba(150,150,150,0.9);
}

.dashedBottomLine {
    border-bottom: 1px dashed #d20;
}

h3 {
    font-size: 1.4em;
    font-weight: 200;
}

.dialogBtnsRight {
    height: 5em;
    width: 50px;
}

.dialogBtnsLeft {
    width: calc(100% - 50px);
}

.pushLeft { float: left; }
.pushRight { float: right; }

.vBottom { vertical-align: bottom; }

#dialogArea {
    resize: vertical;
    border: none;
    border-bottom: 1px solid #eee;
    width: 100%;
    display: block;
    margin-bottom: 5px;
    padding: 5px 7px;
    height: 70px;
    min-height: 70px;
    border-radius: 10px;
}

#dhintsContainer {
    position: absolute;
    bottom: 30px;
    background-color: #f5f5f5;
    box-shadow: 0px -4px 5px 0px rgba(0,0,0,.05);
    padding: 5px 10px;
    background-image: linear-gradient(-155deg, rgba(0,0,0,.1), transparent);
}

#dhints {
    height: 25px;
}

.dialogBtns, .dialogBtns.fa {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #777;
    line-height: 27px;
    margin: 2px 5px;
    cursor: pointer;
    font-size: 25px;
}

span.avatar {
    width: 4.6em;
    height: 4.6em;
    line-height: 4.6em;
    margin: 0.2em;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    color: #fff;
    background: linear-gradient(to bottom, rgba(255,0,0,0.7), rgba(191,0,0,0.7)), linear-gradient(to bottom, rgba(255,0,0,0.7), rgba(191,0,0,0.7));
}

#dialogWin {
    /*min-height: 8em;
    max-height: 20em;*/
    height: calc(100% - 125px);
    border: 1px solid #eee;
    margin: 5px 0px 0px;
    /*border-bottom-color: #ccc;*/
    overflow: auto;
    background-color: #f5f5f5;
    background-image: url('../images/back/back-08.png');
}

#dialogWin.closed { height: calc(100% - 30px); }

.quickMessage {
    display: inline-block;
    cursor: pointer;
}

#dialogs .system {
    font-size: .85em;
}

#dialogs .system .systemTitle {
    font-style: italic;
}

#dialogs {
    margin-top: 26px;
    height: calc(100% - 26px);
    /*height: 100%;*/
}

.glow {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2);
}

.tMessageHeader {
    margin: 0;
    font-size: .95em;
    color: #8b9a6e;
}

.tMessageFooter {
    margin: 0 0 -5px;
    text-align: right;
    font-size: .8em;
}

.tMessageBody {
    
}

.tMessageSenderName {
    padding-left: 0;
}

.nomarginTop .tMessageTools {
    margin-top: -10px;
}

.tMessageTools {
    padding-right: 0;
}

.incomeMessage {
    background-color: #fff;
}

.ticketMessage.selfMessage {
    background-color: #c8eaf7;
    float: right;
}

.ticketMessage {
    float: left;
    position: relative;
    margin: 15px 10px 2px;
    padding: 10px;
    border-radius: 5px;
    max-width: calc(100% - 70px);
    min-width: 280px;
    width: auto;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,.15);
    transition: .2s ease-out;
}

.ticketMessage.taskResult {
    background-color: #b7e49e;
}

.taskResult .tMessageHeader {
    color: #333;
    margin-top: 5px;
}

.ticketMessage.taskResult:before {
    content: "✔ результат работы";
    font-size: .7em/* Montserrat*/;
    font-weight: 600;
    position: absolute;
    top: 5px;
}

.ticketMessage.declineMessage {
    background-color: #ff7070;
}

.declineMessage .tMessageHeader {
    color: #333;
    margin-top: 5px;
}

.ticketMessage.declineMessage .tMessageHeader {
	color: #333;
}

.ticketMessage.declineMessage:before {
    content: "⚠ Замечание";
    font-size: .7em/* Montserrat*/;
    font-weight: 600;
    position: absolute;
    top: 5px;
}

#dialogAreaWrapper {
    padding: 10px;
    background-color: #eee;
}

blockquote, .blockquote {
    margin: 0 0 5px;
    font-size: .9em;
    border-left: 5px solid palegoldenrod;
    font-family: Georgia;
    background-color: rgba(0,0,0,.05);
    border-radius: 3px;
    padding: .5em;
}

blockquote footer:before, blockquote small:before, blockquote .small:before { display: none; }

.removeQuottes {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    z-index: 5;
}

.ticketMessage.innerMessage {
    background-color: #777;
    color: #fff;
    background-image: linear-gradient(to bottom right, #777, #555);
}

.tMessageParent {
    padding: 5px;
    background-color: rgba(0,0,0,0.2);
    margin: -10px -10px 3px;
    border-radius: 5px 5px 0px 0px;
    border-bottom: 2px solid rgba(0,0,0,.1);
}

.tMessageParentSender {
    font-weight: 700;
    color: #a7b981;
}

.tMessageParentQuotte { 
    height: auto;
    max-height: 2.6em;
    line-height: 1.3em;
}

.tMessageParentQuotte.oneline br { display: none; }

.tMessageParentQuotte .orkDialogPic {
    height: auto !important;
    position: relative;
    border: none;
    width: auto;
    display: inline-block;
}

.tMessageParentQuotte .orkDialogPic a {
    display: inline-block;
    height: 2em;
    position: relative;
    color: #cc7d45;
    font-size: .8em;
}

.tMessageParentQuotte .orkDialogPic a p {
    display: inline-block;
    width: 2em;
}

.tMessageParentQuotte .orkAttachSign {
    padding: .1em .2em;
    border-radius: 0;
    margin: 0;
    line-height: 1.2em;
    width: calc(100% - 2em);
    background-color: transparent;
    color: #cc7d45;
}

.innerMessage .tMessageHeader { color: #97bb50; }

.innerMessage .text-muted { color: #ccc; }

.orangeOne {
    background: #f80;
    background: linear-gradient(to bottom, #f80, #f60);
    color: #fff;
    font-size: 1.2em;
    padding: 0.7em 1.4em;
    text-transform: uppercase;
    border-radius: 0.2em;
    border: none;
}

.orangeOne:hover, .orangeOne:active {
    color: #eee;
    background: #f80;
    background: linear-gradient(to bottom, #f80, #f60);
}

#newTaskContainer {
    background: rgba(100, 100, 100, 0.4);
    padding: 10px;
    margin: -10px -10px 20px;
    text-align: center;
}

.filterContainer {
    
}

.filterContainer a {
    display: block;
    color: #fff;
    border-bottom: 1px solid rgba(190,190,190,0.15);
    font-size: 1.2em;
    padding: 0.3em;
}

.filterContainer a:hover {
    text-decoration: none;
}

.filterContainer a:hover .fa {
    transform: rotate(360deg);
}

.filterContainer a .fa {
    margin-right: 10px;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    transition: 0.2s ease-out;
}

.filterContainer .filters {
    background-color: transparent;
    display: block;
    width: 100%;
    padding: 0.2em;
    font-size: 1.1em;
    border: 1px solid transparent;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.4em;
}

.filterContainer .filters:active, .filterContainer .filters:hover {
    border: 1px solid #eee;
    background: #fff;
    color: #333;
}
.filterContainer .filters option {
    background: #fff;
    color: #333;
}

.statLinkContainer {
    
}

.statLinkContainer a {
    display: block;
    color: #fff;
    border-bottom: 1px solid rgba(190,190,190,0.15);
    font-size: 1.2em;
    padding: 0.3em;
    transition: 0.2s ease-out;
}

.statLinkContainer a:hover {
    text-decoration: none;
    border-bottom: 1px solid rgba(190,190,190,0.55);
}

.statLinkContainer a .fa {
    margin-right: 10px;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
}

.modalWin select, .modalWin input {
    width: 100%;
    padding: 9px;
    box-sizing: border-box;
    font-size: 14px;
}

.modalWin textarea {
    padding: 9px;
    margin: 15px 0;
    width: 100%;
    resize: vertical;
    height: 70px;
    font-size: 14px;
}

.blueOne {
    background: #569bd6;
    background: linear-gradient(to bottom, #569bd6, #3a86c7);
}

.baseInfo * {
    vertical-align: middle;
}

.orkDialogPic {
    width: 200px;
    height: 130px;
    border: 3px solid #ff6a00;
    border-radius: 8px;
    position: relative;
}

.orkDialogPic .label.label-filter {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.taskImageContainer {
    max-height: 200px;
    overflow: hidden;
}

.taskImageContainer img { width: 100%; }

.printDialogPic {
    width: 200px;
    padding-bottom: .5em;
}

#attaches {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
}

#attaches .printDialogPic {
    width: 80px;
}

#attaches div {
    vertical-align: top;
}

.orkAttachSign {
    line-height: 1.6em;
    display: inline-block;
    width: 200px;
    font-size: small;
    background-color: #ff6a00;
    padding: 1px 5px;
    margin-top: -6px;
    border-radius: 0px 0px 6px 6px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oneline {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.coverFull {
    position: absolute;
    lefT: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}


#attaches .orkDialogPic {
    width: 80px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 3px;
    opacity: 0.8;
}

.orkDialogPic p {
    margin-bottom: 0;
}

.tMessageBody .orkDialogPic .fa {
    margin-top: 10px;
}

#attaches .orkDialogPic .label {
    padding: .1em;
    font-size: .8em;
}

a.coverImage {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: inline-block;
    width: 200px;
    height: 130px;
    border-radius: 3px;
    -webkit-filter: grayscale(0.8);
    -moz-filter: grayscale(0.8);
    -o-filter: grayscale(0.8);
    filter: grayscale(0.8);
    border: 2px solid #ddd;
    transition: -webkit-filter 0.4s ease-out;
    transition: -moz-filter 0.4s ease-out;
    transition: -o-filter 0.4s ease-out;
    transition: filter 0.4s ease-out;
}

a.coverImage:hover {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -o-filter: grayscale(0);
}

.insertedUser {
    cursor: pointer;
    border-bottom: 1px dashed #d20;
}

.beforeStart {
    background: linear-gradient(to bottom, #fff 0%, #eee 20%, #eee 70%, #fff 90%);
    padding: 20px 50px;
    font-size: 0.8em;
    margin: 0px -50px;
}

.takeme:disabled {
    background-color: #f3f1f1;
    color: #bbb;
}

.dialogApiLink {
    margin-left: 70px;
    padding: 5px 5px 5px 20px;
    background-color: #ffeb7e;
    margin-top: -5px;
    margin-bottom: 10px;
    cursor: pointer;
}

.onDragCover {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.6;
    background: #ccc;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    text-align: center;
    font-size: 30px;
}

#orkDetails.hover .onDragCover/*, #orkDetails:hover .onDragCover*/ {
    display: flex;
}

#orkDetails.drop {
    
}

.notifyCircle {
    color: #747976;
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 1.2em;
}

.alertWin {
    background: #fff;
    border: 1px solid #ddd;
    margin: 0px auto;
    z-index: 50;
    top: 10vh;
    left: 50%;
    position: fixed;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25);
    width: 300px;
    margin-left: -150px;
    /*padding: 30px;
    box-sizing: border-box;*/
    max-width: 100%;
}

.alertWin .inner { 
    padding: 15px; 
    max-height: 40vh;
    overflow: auto;
}

.alertWin .inner p {
    font-size: 12px;
}

.alertWin .inner h1, .alertWin .inner h2, .alertWin .inner h3 {
    font-size: 18px;
    font-weight: bold;
    /*font-family: Montserrat;*/
    margin: 0 0 10px;
}

.alertWin h2 {
    margin: 0;
    font-size: 12px;
    background: rgba(190, 190, 190, 0.1);
    color: #777;
    padding: 9px 15px;
    font-weight: 300;
    white-space: nowrap;
    text-align: left;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alertWin .closeBtn {
    text-align: center;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    right: 0;
    top: 0;
}

.showCadOrder {
    color: #d20; 
    border-bottom: 1px dashed;
    cursor: pointer;
}

.modalWin .mainViewPort {
    font-size: .8em;
    height: auto;
}

.contactLabel {
    width: 17ch;
}

.contactTools {
    width: 4ch;
}

.contactData {
    width: calc(100% - 22ch);
}

.contactRow {
    padding: 5px 0;
}

.contactData select {
    padding: 0px 5px 0px 0px;
    margin: -0px 0px 0px -5px;
    border: none;
}

#taskAcceptWrapper input { 
    margin: 1px 5px 0px; 
    width: 7ch; 
    border: none; 
    border-bottom: 1px solid #ccc;
}

#veryText {
    padding-top: 30px;
    line-height: 1.5em;
    position: relative;
}
#veryText.fetchedTable { padding-top: 0; }

#veryText:not(.fetchedTable):before {
    content: "«";
    font-size: 5em;
    opacity: .3;
    position: absolute;
    font-weight: 800;
    left: -.1em;
    top: 0em;
}

.attachesTools {
    padding: 5px;
    background-color: #eee;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,.1) inset;
}

.attachesWrapper {
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    background-color: #f8f8f8;
    padding: 0px 5px;
    box-shadow: 5px 0px 5px 0px rgba(0,0,0,.1);
}

.attachesInner {
    width: auto;
    min-width: 100%;
    height: 64px;
    padding: 2px 0;
}
.attachesInner .tMessageHeader, 
.attachesInner .tMessageFooter, 
.attachesInner .ticketMessage + br.clear { display: none; }

.attachesInner .ticketMessage {
    min-width: auto;
    margin: 0;
    padding: 0px;
}

.attachesInner .orkAttachSign {
    width: 80px;
    margin-top: -1.4em;
    font-size: .75em;
    border-radius: 3px;
    line-height: 1.2em;
    padding: 1px 3px;
}

.filterContact.active { color: red; }

.sideVertical #taskText { /*margin-top: 30px;*/ }

#operationResultStatus {
    transition: .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 200;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    font-size: 1.4em;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(to bottom right, transparent, rgba(0,0,0,.2));
    text-shadow: 0em .2em rgba(0,0,0,.3);
    box-shadow: 0px 10px 5px 0px rgba(0,0,0,.3);
    margin-left: -1em;
    opacity: 1;
}

#operationResultStatus.green { background-color: #87bf6e; }
#operationResultStatus.red { background-color: #f32121; }

#operationResultStatus .fa {
    line-height: 1.92em;
}

#operationResultStatus.resultHidden {
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,.1);
    text-shadow: 0em .05em rgba(0,0,0,.1);
    margin-top: 10px;
    opacity: 0;
}

#operationResultStatus.resultHidden .fa {
    line-height: 2em;
}

.push-left {float: left;}
.push-right {float: right;}
.historyBox {
    font-size: 0.8em;
    max-height: 500px;
    overflow: auto;
}

.underlined {
    border-bottom: 1px dashed;
}

.red { color: red; }

.pointer { cursor: pointer; }

textarea.takeme.partition {
    margin: 5px 0;
    width: 100%;
    height: calc(1.4em + 20px);
}

.variantLabel {     
    display: inline-block;
    padding: 10px 0; 
}

.jurFields { width: 100%; font-size: .8em; }
.jurFields th { background-color: #eee; font-weight: normal; }
.jurFields th, .jurFields td { padding: 4px; }

.scriptBtn {
    padding: .1em 2.4em .15em;
    display: inline-block;
    border-radius: .3em;
    font-variant: all-small-caps;
    border-bottom: .15em solid rgba(0,0,0,.3);
}

.scriptBtn:not(.disabled):active, .scriptBtn:not(.disabled):hover {
    border-bottom: none;
    border-top: .15em solid rgba(0,0,0,.3);
}

.grey-back { background-color: #ccc; }
.green-back { background-color: #c5ff78; }
.yellow-back { background-color: gold; }

.modalWin {
    /*padding: 30px;*/
    max-width: 800px;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,.1);
}

.modalWin .closeBtn.fa {
    background: transparent;
    color: #333;
    font-weight: 600;
    font-size: 2em;
    right: 0;
    top: 0;
}

.modalWin { 
    padding: 30px 0 15px;
    box-sizing: initial; 
}

.modalWin #modalWinSlider {
    max-height: 80vh;
}

#modalWinSlider .inner {
    height: auto;
    padding: 15px;
}

#modalWinSlider .inner p:only-child {
    margin-bottom: 0;
}

#modalWinTitle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: calc(100% - 30px);
    height: 30px;
    padding: 5px 15px;
}

#modalWinTitle h2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preInputLabel {
    margin: 10px 0 0;
    font-size: .8em;
}

.workGroupListItem, .suspTplItem {
    padding: 5px;
    border-bottom: 2px solid rgba(0,0,0,.2);
    background-color: #b2de5b;
    background-image: linear-gradient(to top, rgba(0,0,0, .05), transparent);
    width: 300px;
    border-radius: 5px;
    cursor: pointer;
}

.workGroupListItem:hover, .suspTplItem:hover {
    border-bottom: none;
    border-top: 2px solid rgba(0,0,0,.1);
}

.workGroupListItem.addUserGroup, .suspTplItem.addSuspTpl {
    background-color: #63d4ff;
}

.wGroupCounter {
    width: 4em;
    text-align: center;
    height: 2em;
    line-height: 2em;
}

.wGroupInput, .sTplInput {
    width: calc(100% - 6em);
}

.wGroupManageBtn {
    width: 2em;
    text-align: center;
    height: 2em;
}

.wGroupInput input, .sTplInput input {
    line-height: 1.22em;
    padding: .4em .4em;
    border: none;
    width: 100%;
    background-color: transparent;
}

.wGroupInput input:disabled, .sTplInput input:disabled { cursor: pointer; }

.wGroupManageBtn .fa {
    font-size: 1.2em;
    line-height: 1.7em;
}

.wGroupInput span, .sTplInput span {
    height: 2em;
    line-height: 1.8em;
    padding: 0 .4em;
}

.groupUserItem, .stUserItem {
    display: inline-block;
    padding: .5em .7em;
    border: 1px solid #ddd;
    width: 100%;
}

.stUserItem { width: calc(50% - 3px); vertical-align: middle; margin-bottom: 3px; }

.sTplInput.clickable input { display: none; }
.sTplInput:not(.clickable) .holder { display: none; }

#StTplUsrSelect { border: none; }

.addStUser {
    background-color: #60cdf7;
    border-color: transparent;
    border-bottom: 2px solid rgba(0, 0, 0, .2);
}

/*.stUserItem .stHalt { margin-right: 15px; }*/

.groupUserItem .groupHalt, 
.stUserItem .stHalt,
.groupUserItem .groupChange, 
.groupUserItem .uEdit,
.groupDeptItem .dEdit {
    width: 35px;
    text-align: center;
}

.groupUserItem .fa, .stUserItem .fa, .groupDeptItem .fa {
    height: 18px;
    line-height: 18px;
}

.groupUserName {
    width: calc(100% - 123px);
    height: 18px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.groupUserName.wider { width: calc(100% - 70px); }

.userListCompany {
    width: 120px;
    height: 18px;
}

.userListCompany .badge {
    background-color: #629c9c;
    max-width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.groupUserName.userListName {
    width: calc(100% - 418px);
}

.groupUserPhone {
    width: 120px;
    height: 18px;
}

.groupUserNewTask {
    width: 125px;
    height: 18px;
}

.groupDeptItem {
    padding: .5em .7em;
    border: 1px solid #ddd;
    width: 100%;
    margin: 1px 0px;
}

.groupDeptName:disabled { background-color: #fff; }

.groupDeptInput { 
    width: calc( 50% - 27px );
    padding-left: .7em;
    padding-right: .7em;
    border-color: transparent;
    margin: -3px 0;
}

.deptsListWrapper { column-gap: 2px; }

input[type="checkbox"].roundCheckCheckbox {
    display: inline-block;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}

.roundCheckCheckbox + label {
    margin-bottom: 0;
}

.roundCheck, .roundCheckCheckbox + label {
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 50%;
    transition: .15s ease-out;
}

.roundCheck:after, .roundCheckCheckbox + label:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
}

.roundCheck.checked, .roundCheckCheckbox:checked + label {
    border-color: #60cef8;
}

.roundCheck.checked:after, .roundCheckCheckbox:checked + label:after {
    background-color: #60cef8;
}

#groupUsersList { column-gap: 0px; column-count: 3; }

.sideVertical #groupUsersList { column-count: 2; }

.groupChangeForm {
    position: absolute;
    border: 1px solid #ddd;
    box-shadow: 0px 5px 8px 0px rgba(0,0,0,.1);
    background-color: #fff;
    padding: 5px;
    transition: .3s ease-out;
    margin-top: 0;
    opacity: 1;
}

.groupChangeSelect {
    padding: 0px;
    font-size: 12px;
    line-height: 12px;
    height: 25px;
    z-index: 5;
    position: relative;
}

.groupChangeOk, .groupChangeHalt {
    width: 25px;
    height: 25px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 3px;
    cursor:  pointer;
}

.groupChangeOk .fa, .groupChangeHalt .fa {
    line-height: 25px;
}

.groupChangeForm:before {
    background-color: #fff;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -5px;
    left: 50%;
    transform: rotate(45deg);
}

.groupChangeForm.faded {
    margin-top: 10px;
    opacity: 0;
}

.fa-remove::before, .fa-close::before, .fa-times::before {
    content: "✕" !important;
}

.taskFooter {
    /*background-color: #65809a;
    color: #fff;*/
    padding: 5px;
    margin: 0px -10px -10px;
    font-size: 11px /*Montserrat*/;
}

#orkList .task:hover .badge, #orkList .task.active .badge {
    /*background-color: #fff;
    color: #65809a;*/
}


.jackShowPic {
    width: 800px;
    height: 600px;
}

.jackShowPic .imgContainer {
    width: 100%;
    height: 100%;
}

#loadProgressWrapper {
    z-index: 999;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    display: flex;
    align-items: center;
    background: #eee;
    border: 1px solid #eee;
    background: linear-gradient(to bottom , #f5f5f5 0%, #fff 40%, #f5f5f5 100%);
    text-align: center;
    border-radius: 5%;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.1);
}

#loadProgressWrapper .bar {
    width: 100%;
    font-size: 1.4em;
}

.detailsBlockItem:empty { display: none; }

.badge { font-size: 10px; }

.detailsBlockItem .oneLine:not(.badge) {
    height: 22px;
    line-height: 22px;
}

#taskAcceptWrapper { width: 100%; }

@media all and (min-width:1200px) {
    .hidelg { display: none; }
    .taskSides {
        overflow: auto;
    }

    .taskSides.sideVertical {
        width: 50%;
        position: absolute;
        top: 0;
        height: 100%;
    }
    
    .taskSides.sideHorizontal {
        width: 100%;
    }
    
    .sideVertical .detailsBlockItem.mid { width: 100%; }
    .sideHorizontal .detailsBlockItem.mid { width: 50%; }
    .sideVertical .detailsBlockItem.quat { width: 50%; }
    .sideHorizontal .detailsBlockItem.quat { width: 25%; }
    
    #detailsTask.sideVertical { left: 0; }
    #detailsDialogs.sideVertical { right: 0; }
    
    .detailsBlock { /*width: 100%;*/ }
    
    .sideHorizontal .detailsBlock {
        /*
        width: 50%;
        float: left;
        */
    }
    
    .sideVertical #taskText.pushRight {
        float: none !important;
    }
    
    .sideVertical #taskText.pushRight #veryText.fetchedTable {
        margin-top: -30px;
    }
    
    .statusTitle {
        display: block;
    }
    
    .userListWrapper { column-count: 2; }
    
    .deptsListWrapper { column-count: 3; }
    
    .ticketMessage { font-size: 12.5px; }
}

@media all and (min-width:1010px) and (max-width: 1199px) {
    
    body { font-size: 13px; }
    
    .hidemd { display: none; }

    select { padding: 5px 7px; }
    
    .listMenuItem {
        width: 45px;
    }
    
    .priorityContainer {
        margin: 4px 0;
    }
    
    .sideVertical .detailsBlockItem.mid { width: 100%; }
    .sideHorizontal .detailsBlockItem.mid { width: 50%; }
    .sideVertical .detailsBlockItem.quat { width: 50%; }
    .sideHorizontal .detailsBlockItem.quat { width: 25%; }
    
    #taskWorkersWrapper.marginTop30 { margin-top: 10px; }
    
    #veryText { padding-top: 20px; }
    
    #veryText:not(.fetchedTable):before { font-size: 3em; }

    #taskTopLabel { font-size: 16px; }
    
    .tMessageBody { font-size: 12px; }
    
    .xsGreyLine {
        padding-left: 0;
    }
    
    .statusTitle {
        font-size: 10px;
        height: 16px;
        line-height: 16px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        top: -14px;
        white-space: nowrap;
    }
    
    .taskSides.sideVertical {
        width: 50%;
        position: absolute;
        top: 0;
        height: 100%;
    }
    
    .taskSides.sideHorizontal {
        width: 100%;
    }
    
    #orkList .task {
        font-size: 12px;
        padding: 5px;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    #orkList .task .workerColumn, 
    #orkList .task .objectColumn {
        padding: 0;
        padding-left: 5px;
    }
    
    #orkList .task .objectColumn p, 
    #orkList .task .objectColumn .label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    #orkList .task select.updateme {
        margin-left: -10px;
        width: calc(100% + 17px);
    }
    
    #orkList .task .baseInfo big { font-size: .9em; }
    
    #groupUsersList, .userListWrapper {
        column-count: 2;
    }
    
    .deptsListWrapper { column-count: 2; }
    
}

@media all and (max-width:1009px) and (min-width:750px) { 
    
    .hidesm { display: none; }
    
    #orkDetails {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .sideVertical .detailsBlockItem.mid { width: 100%; }
    .sideHorizontal .detailsBlockItem.mid { width: 50%; }
    .sideVertical .detailsBlockItem.quat { width: 100%; }
    .sideHorizontal .detailsBlockItem.quat { width: 50%; }
    
    #orkDetails #detailsWrapper {
        width: 100%;
        height: calc(100% - 110px);
    }
    
    .statusIcons {
        width: 20%;
        text-align: center;
        padding: 0;
        font-size: 3vw;
    }
    
    .xsGreyLine {
        background-color: #eee;
    }
    
    .taskSourceInfo {
        height: 22px;
        line-height: 18px;
        padding: 2px 0;
    }

    .statusTitle {
        font-size: 10px;
        height: 16px;
        line-height: 16px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        top: -14px;
        white-space: nowrap;
    }

    #groupsWrapper .taskSides:not(#groupUsers) {
        padding-bottom: 45px;
    }
    
    .workGroupListItem.addUserGroup {
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        border-radius: 0;
    }
    
    .jackShowPic .imgContainer {
        width: 750px;
        height: 450px;
    }
    
    .deptsListWrapper { column-count: 1; }
}

@media all and (max-width:740px) { 
    
    .detailsBlockItem { width: 100%; }
    
    .modalWin .closeBtn.fa, .fileWin .closeBtn.fa, .fileWin2 .closeBtn.fa {
        top: 0;
        right: 0;
        padding: 10px;
        color: #000;
        background-color: transparent;
        font-size: 30px;      
    }
    
    .modalWin, .fileWin, .fileWin2 {
        top: 0;
        left: 0;
        padding: 10px;
        height: 100%;
        width: 100%;
    }
    
    .jackShowPic .imgContainer {
        width: 100%;
        height: 100%;
    }
    
    
    #mobileTop {
        padding: 10px;
        margin: -10px -10px 0px;
    }
    
    #mobileTop .iconMobile.btn {
        padding: 0 1em;
        width: 24%;
        cursor: pointer;
        background-color: orange;
        font-size: 1.2em;
        height: 2em;
    }
    
    .iconMobile.btn .fa {
        margin-right: 0;
    }
    
    .iconMobile .fa.fa-lg {
        margin-top: .3em;
        -webkit-text-stroke: .04em orange;
    }
    
    .bigAwesomeBtn {
        font-size: 1em;
        padding: 0.5em 1em;
    }
    
    .hidexs { display: none; }
    
    .alertWin {
        width: 90vw;
        box-sizing: border-box;
        align-items: center;
        margin-left: 5vw;
        left: 0;
    }
    
    .alertWin .inner h1, .alertWin .inner h2, .alertWin .inner h3 { font-size: 16px; }
    
    .alertWin .inner p { font-size: 13px; }
    
    #orkMenu {
        width: 100%;
        /*height: auto;*/
    }
    
    #orkList { width: 100%; }
    
    #orkDetails {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    #orkDetails #detailsWrapper {
        width: 100%;
        height: calc(100% - 148px);
    }
    
    #dialogs {
        height: calc(100% - 26px);
    }
    
    #taskTopLabel, #groupListTitle {
        font-size: 1em;
        text-align: left;
        width: 100% !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #groupListTitle {
        width: calc(100% - 50px) !important;
    }
    
    .workGroupListItem { width: 100%; }
    
    .xsAutoWidth { width: auto !important; }
    
    .listMenuItem .badge {
        height: 18px;
        margin: 11px 0;
    }
    
    .statusIcons {
        width: 20%;
        text-align: center;
        padding: 0;
        font-size: 6vw;
    }
    
    .xsGreyLine {
        background-color: #eee;
    }
    
    .taskSourceInfo {
        height: 22px;
        line-height: 18px;
        padding: 2px 0;
    }

    .statusTitle {
        font-size: 10px;
        height: 16px;
        line-height: 16px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        top: 0px;
        white-space: nowrap;
    }
    
    .taskSides {
        height: 100% !important;
        overflow: auto;
        background-color: #fff;
    }
    
    .taskSides.unshown { display: none; }
    
    #detailsDialogs, #groupUsers { 
        position: absolute; 
        top: 0; 
        left: 0 !important; 
        width: 100%;
    }
    
    #groupsWrapper .taskSides:not(#groupUsers) {
        padding-bottom: 45px;
    }
    
    .workGroupListItem.addUserGroup {
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        border-radius: 0;
    }
    
    #groupUsersList, .deptsListWrapper { column-count: 1; }
    
    .messageModeWrapper { font-size: 12px; }
    .messageModeWrapper * {
        vertical-align: middle;
        margin: 0;
    }
    
    .statusIcons.achieved {
        font-size: 2vh;
        padding-top: calc(30px - 2vh);
    }
}