
textarea {
    resize: none;
}

.noteForm {
    margin-bottom: 3px;
}

.noteForm textarea {
    font-size: 10px;
    line-height: 14px;
    width: 100%;
    height: 100px;
    padding: 6px 8px;
    min-width: 200px;
}

.noteUpdated {
    font-size: 10px;
}

.noteUpdated.old {
    color: red;
}

.noteUpdated:before {
    content: 'Последнее обновление: ';
}

.sortableHolder {
    padding: 0 10px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
}

#sortable {
    padding: 10px 0;
    position: relative;
    margin-bottom: 0;
}

#sortable li {
    list-style: none;
    margin-bottom: 4px;
    width: 100% !important;
}

#sortable li:last-child {
    margin-bottom: 0;
}

.templateBlock .title {
    padding-right: 30px;
}

.templateBlock .actions {
    position: absolute;
    right: 10px;
    top: 0;

    height: 100%;
}

.templateBlock .actions .removeBlock, .templateBlock .actions .toggleProperties {
    font-size: 12px;
    line-height: 46px;
    cursor: pointer;
}

.templateBlock {
    position: relative;
    background: #f7fafc;
    /*padding: 10px 10px 10px 15px;*/

    border: 2px solid #bdc3c7;
    border-radius: 6px;
    cursor: move;
    font-size: 14px;

    margin-bottom: 0;
}

.templateBlock .panel-body {
    display: none;
}

.templateBlock.open .panel-body {
    display: block;
}

#draggable {
    padding-left: 0;
    padding-top: 12px;
}

#draggable li {
    list-style: none;
    margin-bottom: 4px;
    width: 100%;
}

#draggable li .templateBlock .actions {
    display: none;
}

.ui-draggable-disabled {
    opacity: 0.5;
}

.actions button {
    padding: 0;
    display: inline-block;
    border: none;
    background: none;
    outline: none;
}

.remember-checkbox {
    line-height: 1.3;
}

.logo {
    display: inline-block;
    vertical-align: middle;
}

.logo > span {
    display: inline-block;
    vertical-align: middle;
    color: #9ea1a5;
    font-size: 14px;
    line-height: 1.43;
}

.logo-text {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.logo img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}

#sitesTable td, #sitesTable th {
    vertical-align: middle;
}

#sitesTable.active tbody tr, #sitesTable:not(.active) tbody tr.actived  {
    display: none;
}

#sitesTable.active tbody tr.actived {
    display: table-row;
}

#sitesTable thead tr, #sitesTableWatcher thead tr{
    border-top: 2px solid #eef0f0;
}

.nowrap {
    white-space: nowrap;
}

.table-project-user-pic {
    width: 40px;
    height: 40px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    position: relative;
}

.table-project-user-pic img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}

span.table-project-user-pic.add,
span.table-project-user-pic {
    background-color: #27AE60;
    font-weight: bold;
    color: #fff;
}

.table-project-user-pic:not(:first-child) {
    margin-left: 10px;
}

.table-project-user-pic.watcher-pic {
    margin-left: 20px;
    position: relative;
    background-color: #27AE60;
    font-weight: bold;
    color: #fff;
}

span.table-project-user-pic.add {
    background-color: #BDC3C7;
    color: #ECF0F1;
    font-size: 36px;
    font-weight: 300;
    -webkit-transition: background .4s linear, color .4s linear;
    -moz-transition: background .4s linear, color .4s linear;
    -ms-transition: background .4s linear, color .4s linear;
    -o-transition: background .4s linear, color .4s linear;
    transition: background .4s linear, color .4s linear;
}

span.table-project-user-pic.add:hover {
    background-color: transparent;
    color: #7F8C8D;
}

.watcher-pic:before {
    position: absolute;
    content: '';
    left: -10px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #BDC3C7;
}

.can-remove:after {
    position: absolute;
    content: 'x';
    right: -3px;
    top: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #34495E;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 12px;
    font-weight: 300;
    -webkit-transition: opacity .25s linear;
    -moz-transition: opacity .25s linear;
    -ms-transition: opacity .25s linear;
    -o-transition: opacity .25s linear;
    transition: opacity .25s linear;
    opacity: 0;
}

.can-remove:hover:after {
    opacity: 1;
}

.relative-item {
    position: relative;
}

.select-user {
    opacity: 0;
    z-index: -1;
    position: absolute;
    left: 65%;
    top: 50%;
    transform: translateY(-50%);
}

.select-user.active {
    opacity: 1;
    z-index: 2;
}

#sitesTable .table .checkbox {
    display: inline-block;
    width: 20px;
    margin: 0;
    vertical-align: top;
    padding-left: 20px;
    top: 0;
}

#sitesTable .table > tbody > tr > td:first-child, #sitesTable .table > thead > tr > th:first-child {
    padding: 5px 10px;
}

#sitesTable .table > tbody > tr > td, #sitesTable .table > thead > tr > th {
    padding: 9px 15px;
}

#sitesTable:not(.active) .table tr * label {
    display: none;
}

.table-responsive + .table-responsive {
    display: none;
}

.mass-edit .navbar-nav > li > a {
    padding: 10px 21px;
}

.mass-edit .dropdown-toggle .caret {
    margin-top: -2px;
}

.mass-edit .navbar-nav > li > .dropdown-menu {
    margin-top: 5px;
}

.mass-edit .dropdown-menu > li > a.dropdown-toggle {
    padding: 8px 25px 8px 16px;
}

.mass-edit .dropdown label {
    line-height: initial;
    margin-bottom: 0;
}

.tooltip {
    font-size: 12px;
}

#sitesTable .table-striped > tbody > tr > td, #sitesTable .table-striped > tbody > tr {
    background-color: transparent;
}

.table .selected-row > td {
    background-color: #f9fafb !important;
}

.edit-form .form-group {
    min-height: 40px;
}

.multiple-block, .multiple-block > * {
    position: relative;
}

.close-multiple-block {
    position: absolute;
    right: 0px;
    top: 20px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    font-weight: 500;
    cursor: pointer;
    z-index: 1;
    -webkit-transition: opacity .25s linear;
    -moz-transition: opacity .25s linear;
    -ms-transition: opacity .25s linear;
    -o-transition: opacity .25s linear;
    transition: opacity .25s linear;
    opacity: 0;
}

.multiple-block:hover .close-multiple-block {
    opacity: 1;
}

.multiple-blocks .multiple-block:first-child hr {
    display: none;
}

.multiple-blocks .multiple-block hr {
    margin-top: 0;
}

.multiple-blocks .multiple-block .col-md-12 > .close-multiple-block {
    right: 15px;
}

.multiple-blocks .multiple-block:first-child .close-multiple-block {
    top: -5px;
}

.mgt {
    margin-top: 15px;
}

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-15px;}
.dropdown-submenu:hover>a:after{border-left-color:#555;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
