/*
    Document   : admin
    Created on : 2013-04-04, 09:42:41
    Author     : Patryk Scholtysek
    Description:
        Purpose of the stylesheet follows.
*/

html, body, #strech { height: 100%; }

body > #strech { height: auto; min-height: 100%; }

form { margin: 0px; }

#content-main { PADDING-bottom: 41px; }

.user-identity {
    color: #777;
    margin-top: 16px
}

.user-identity a {
    color: #777;
    text-decoration: none;
}

.user-identity a:hover {
    color: #333;
    text-decoration: none;
}

ul.nav>li ul {
    display: none;
    position: relative;

    background-color: #e5e5e5;
    list-style-type: none;
    margin-left: 0px;
}

ul.nav > li > ul {
    left: 0px;
    top: 0px;
}

ul.nav > li > ul > li ul {
    left: 80px;
    top: -20px;
}

ul.nav>li li {
    list-style-image: none;
    padding: 10px;
    border: 2px solid #bbbbbb;
    height: 20px;
}

ul.nav > li a {
    color: #555555;

}

ul.nav>li:hover>ul {
    display: block;

}

ul.nav>li:hover>ul>li:hover>ul {
    display: block;

}

.sidebar {
    float: left;
    width: 180px;
    padding: 10px;
    min-height: 600px;
}

.topbar {
    float: left;
    width: 100%;
}

.content {
    float: left;
    width: 930px;
    margin-left: 30px;
}

.ui-multiselect-checkboxes span {
    font-size: 0.8em;
}

#flash-messenger-container {
    width: 100%;
    float: left;
}

#scaffolding-messenger-container {
    float: left;
    margin: 6px;
}

#scaffolding-messenger-container .alert {
    margin-bottom: 0px;
}

.alert-default {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}

.no-margin {
    margin: 0px;
}

.margin-bottom {
    margin-bottom: 20px;
}
.ui-front {
    z-index: 600 !important;
}

.refWindowsLabel {
    margin: 10px 10px 0px 15px;
    display: inline !important;
}

.recs-per-page {
    float: right;
}

.pagination {
    margin: 0px;
}

.recs-per-page select {
    width: 65px;
}

/* header */
a.brand {
    background: url('../../../application/img/logo-admin.gif') no-repeat left center;
    width: 110px;
    height: 50px;
    float: left;
    margin: 0px 10px;
    font-size: 0px;
}

h1 {
    font-size: 24px;
    line-height: 24px;
    margin: 0px 0px 5px;
}

/* overwrite menu styles */
div.row.admin-menubar, div.row-fluid.admin-menubar {
    background: #2a2a2a;
    border-bottom: 5px solid #c2c2c2;
}

#cssmenu > ul {
    font-size: 14px;
}

#cssmenu > ul a:hover, #cssmenu > ul span:hover {
    background-color: #138dc2;
}

#cssmenu ul ul {
    background-color: #fff;
    font-size: 12px;
    box-shadow: 1px 1px 5px #2a2a2a;
    border-radius: 5px;
}

#cssmenu a, #cssmenu span {
    color: #fff;
}

#cssmenu ul ul a, #cssmenu ul ul span {
    color: #2a2a2a;
}

#cssmenu ul ul li {
    border-bottom: 1px solid #c2c2c2;
    margin: 0 5px;
    line-height: 1.5em;
}

#cssmenu ul ul li:last-child {
    border-bottom: none;
}

#cssmenu ul li {
    line-height: 2em;
}
#cssmenu ul li a i.fa, #cssmenu ul li span i.fa {
    margin-right: 5px;
    min-width: 16px;
}
#cssmenu ul ul  span.not-fa-label, #cssmenu ul ul a.not-fa-label {
    padding-left: 31px;
}

div.admin-footer {
    background: url('../img/titlebar-shadow-top.gif') repeat-x top;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #2a2a2a;

    clear: both;
    position: relative;
    z-index: 10;
    height: 20px;
    margin-top: -41px;
}

div.admin-titlebar {
    background: url('../img/titlebar-shadow-bottom.gif') repeat-x bottom;
    padding: 10px 35px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 20px;
}

/* override table styles */
.table th {
    background-color: #255a7f;
    color: #fff;
    padding: 5px;
    line-height: 14px;
}

.table td {
    padding: 3px 5px;
    line-height: 14px;
}
.table td a {
    color:#0088cc;
}

.table td a.btn {
    color:#fff;
}

.table td ul.dropdown-menu a {
    color:#333333;
}

.table td ul.dropdown-menu a:hover {
    color:#fff;
}

td.admin-filters-label {
    background-color: #e5e5e5;
}

/* filters */
.flt_date {
    width: 135px;
}

/* override buttons */
.btn {
    background-image: none;
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #dddddd;
}

.btn:hover {
    background-color: #138dc2;
    color: #fff;
    border: 1px solid #dddddd;
}

.btn:active {
    background-color: #ffa500;
    color: #fff;
    border: 1px solid #dddddd;
}

.pagination ul>li>a, .pagination ul>li>span {
    padding: 0 12px;
    line-height: 30px;
}

.pagination ul>.active>a, .pagination ul>.active>span {
    color: #fff;
}

.pagination ul>.active>a, .pagination ul>.active>a:hover, .pagination ul>.active>span {
    background-color: #138dc2;
}

.data-table-toolbar {
    margin-left: 20px;
}

/* override form styles */
.form-horizontal .control-group {
    margin-bottom: 5px;
}

ul.errors {
    margin-bottom: 0px;
}

legend {
    margin: 0px;
    padding-left: 2%;
    width: 98%;
    line-height: 30px;
}

legend+.control-group {
    margin-top: 5px;
}

form:not(.row-fluid) fieldset fieldset {
    margin-bottom: 10px;
    margin-right: 5px;
    margin-top: 5px;
}

/* jQuery UI Sortable */

table#sortable>tbody>tr td:first-of-type:before {
    background-position:-432px -119px;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/img/glyphicons-halflings.png");
    background-repeat: no-repeat;
    margin-top: 1px;
    content: ' ';
    margin-right: 4px;
}

.ui-sortable-placeholder {
    height: 40px;
}

/* ref window */

.ref-window-table {
    width: 80%;
    float: left;
}

.ref-window-selected {
    width: 20%;
    position: fixed;
    height: 100%;
    right: 10px;
}

.ref-window-selected select {
    height: 60%;
    font-size: 16px;
    width: 100%;
}

.ref-window-selected .data-table-toolbar {
    margin-left: 0px;
}

.ui-dialog-titlebar-close {
    content: 'x';
    text-indent: 0px;
}
.textarea-big {
    height: 300px;
    width: 970px;
}

.text-big-label {
    width: 440px;
}

span.tab-error {
    padding-right: 1em;
    color: #f00;
}

#tabs {
    clear: both;
}

.article-form-field td {
    width: 788px;
}
.small_modal_ajax_form .container td {
    width:560px;
}

.btn-grey {
    color: #000000;
    background-color: #A0A0A0;
}

.btn-grey [class^="icon-"]{margin-top:0;}

div[id$="_filters"] div.element {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.ui-widget-content a.btn {
    color:#fff;
}

.caret-white {
    border-top-color: #fff;
}

.table td.td-text-right {
    text-align: right;
}

.table td.td-text-left {
    text-align: left;
}

.table td.td-text-center, .table th.td-text-center {
    text-align: center;
}

.table td.td-text-top {
    vertical-align: top;
}

.table td.td-text-middle, .table th.td-text-middle {
    vertical-align: middle;
}

.table td.td-text-bottom {
    vertical-align: bottom;
}

.hide-columns .is-col-visible {
    display: inline-block;
    width: 14px;
    padding: 0 8px;
}

ul.hide-columns.dropdown-menu a {
    padding-left: 0px;
}

ul.dropdown-menu.align-right {
    right: 0;
    left: auto;
}

.btn-chose-columns {
    display: inline-block;
    border: none;
    background: transparent;
}

.dt-table-scroll-x .table {
    margin-bottom: 0px;
}

.dt-table-scroll-x {
    overflow-x: auto;
    margin-bottom: 20px;
}

.dt-summary-row {
    font-weight: bold;
    background-color: #9CC7E5;
}

.table-striped tbody tr.colored:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.25);
}

.lightOrangeColumn{
    background-color: #ffe699e1;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.lightOrangeColumn{
    background-color: #ffe699;
    min-width: 88px;
}

.lightVioletColumn{
    background-color: #9ab2ddec;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.lightVioletColumn{
    background-color: #9ab1dd;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.modeCol{
    min-width: 75px;
}
td.lightOrangeColumn{
    background-color: #ffe699e1;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.lightOrangeColumn{
    background-color: #ffe699;
    min-width: 88px;
}

.lightVioletColumn{
    background-color: #9ab2ddec;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.lightVioletColumn{
    background-color: #9ab1dd;
    min-width: 88px;
}

.grayColumn{
    background-color: #c9c9c9e7;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.grayColumn{
    background-color: #c9c9c9;
    min-width: 88px;
}

.greenColumn{
    background-color: #aad08ee1;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.greenColumn{
    background-color: #a9d08e;
    min-width: 88px;
}

.yellowColumn{
    background-color: #ffff66e1;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.yellowColumn{
    background-color: #ffff66;
    min-width: 88px;
}

.lightBlueColumn{
    background-color: #66ffffd5;
    min-width: 88px;
}

.table-striped tbody tr:nth-child(odd) td.lightBlueColumn{
    background-color: #66ffff;
    min-width: 88px;
}

.modeCol{
    min-width: 75px;
}

.table-hover tbody tr.selected td, .table-hover tbody tr.selected td.customSelected, .table-hover tbody tr.selected.colored td {
    background-color: #ffff99;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover td.customSelected, .table-hover tbody tr.colored:hover td {
    background-color: #138dc2;
}

.table-hover tbody tr:hover td, .table-hover tbody tr.colored:hover td {
    color: #fff;
}
.active-email{
    color: #fff !important;
    background-color: #138dc2;
}

.table-hover tbody tr:hover td .modal, .table-hover tbody tr.colored:hover td .modal {
    color: #000;
}

.table-hover tbody tr:hover td>a, .table-hover tbody tr.colored:hover td>a {
    color: #fff;
    text-decoration: underline;
}

#col-settings ul {
    text-align: left;
}
.controls span {
    line-height:30px;
}
.btn-group.overflow-fix, .dropdown.overflow-fix{
    position:static;
}

.overflow-fix ul.dropdown-menu {
    left:auto;
    bottom: auto;
}

.alert-info a, .alert-error a {
    color:#fff;
}
.config-fieldset-indent {
    width: 98%;
    float: right;
}

fieldset fieldset.config-fieldset-indent {
    border: 1px solid #aaaaaa;
    border-radius: 5px;
}

fieldset fieldset.config-fieldset-indent legend {
    left: -1px;
    border: 1px solid #aaaaaa;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    position: relative;
}

/* DASHBOARD WIDGETS */
.dashboard-widgets {
    padding: 0 20px;
}

.dashboard-widgets .widget {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    margin: 10px;
    background-color: white;
}

.dashboard-widgets .widget .widget-header {
    border-bottom: 1px solid #c2c2c2;
    background-color: whitesmoke;
    font-size: 14px;
    padding: 5px 20px;
}

.dashboard-widgets .widget .widget-content {
    padding: 10px;
}

.dashboard-widgets .shortcut-icon {
    margin: 8px;
    width: 60px;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    text-decoration: none !important;
}

.dashboard-widgets .shortcut-icon i {
    padding: 1px;
}

.dashboard-widgets .shortcut-icon span {
    font-size: 12px;
    padding-top: 5px;
}

.dashboard-widgets .go-to-module {
    display: inline-block;
    float: right;
    margin: 5px 20px;
}

.dashboard-widgets .dt-table-scroll-x {
    margin-bottom: 0px;
}

.widget-add {
    padding-top: 25px;
    padding-bottom: 25px;
}

.add-icon {
    color: #DCDCDC;
}

.add-link:hover .add-icon {
    color: #A0A0A0 !important;
}
/* END DASHBOARD WIDGETS */

.flot-holder {
    padding: 15px 0px 15px 15px;
    float:left;
}
.flot-title {
    float:left;
    height: 25px;
    width:100%;
}
.flot-title p {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #dedede;
}

.flot-container {
    float: left;
    width: 100%;
}
p.flot_pie {
    font-size: 12px;
    color:#fff;
    margin: 0;
}

.flot-legend {
    float:left;
    padding: 5px 15px 0px 0px;
    margin-top: 35px;
    border-top: 1px solid #dedede;

}
.outer-flot {
    display: inline-flex;
}

td.no-wrap {
    white-space: nowrap;
}
.modal.modal-data-filter {
    width:900px;
    margin:-250px 0 0 -450px;
}
.modal-data-filter .modal-header p {
    color:#ababab;
    padding:10px 0px 3px 5px;
    margin-bottom: 10px;
    border-bottom:1px solid #ababab;
}

.modal.modal-data-filter .modal-body table tr td:hover {
    cursor: pointer;
}
.modal.modal-data-filter .modal-body {
    min-height: 100px;
    padding: 0px 15px 15px 15px;
}
.modal.modal-data-filter .modal-body.preloader {
    background:url('../img/preloader_blue.gif') no-repeat center center #fff;
}
.modal.modal-data-filter .modal-header {
    padding: 9px 15px 0px 15px;;
    border-bottom: none;
}
.table-hover tbody tr:hover td.no-wrap>a, .table-hover tbody tr.colored:hover td.no-wrap>a {
    color: #fff;
    text-decoration: none;
}
.table-hover tbody tr td.no-wrap>a:hover, .table-hover tbody tr.colored td.no-wrap>a:hover {
    text-decoration: underline;
}

div.modal-body table tr th {
    background:#255a7f !important;
}

div.modal-body table tr td {
    background:#fff !important;
    color:#000 !important;
}

div.modal-body table  {
    width:100%;
}
.table-hover tbody tr:hover td .fa, .table-hover tbody tr.colored:hover td .fa {
    color: #000;
}

.table-hover tbody tr:hover td div.modal-dialog  .fa, .table-hover tbody tr.colored:hover td div.modal-dialog .fa{
    color: #fff;
}
.form-horizontal .control-label.wider {
    width:320px;
    padding-right: 20px;
}

fieldset *:hover a.btn, fieldset *:hover a.fa{
    text-decoration:none !important;
}

.rotator i:hover{
    cursor: pointer;
}
.admin-filters-label a {
    padding: 0px 3px !important;
}
html body div#strech div#content-main form.form.form-horizontal div.data-validation table.table.table-bordered tbody tr td input#flt_submit.btn.btn-small{
    margin-left:48%;
}

.modal-data-filter .modal-header:hover{
    cursor: move;
}
.small_modal_ajax_form fieldset {
    border:none;
    margin:0;
}
.simpleCollectionElem {
    margin-right:5px;
}
.simpleCollectionRow {
    padding-bottom: 5px;
}

/* CRM */

.crm-tri-column .modal input {
    width: auto;
    margin: 0px;
}

.crm-tri-column input, .crm-tri-column textarea {
    width: 90%;
    margin: 15px 15px 0 15px;
}

.crm-tri-column select:not([multiple='multiple']) {
    width: 93%;
    margin: 15px 15px 0 15px;
}

.crm-tri-column .simpleCollectionRow input {
    margin-right: 3px;
    width: 82%;
}

.crm-tri-column .simpleCollectionRow a {
    margin-top: 15px;
}

.crm-tri-column select.dynamic-select {
    margin-right: 3px;
    width: 84%;
}

.crm-tri-column .dynamic-select-btn {
    margin-top: 15px;
}

.crm-tri-column button.ui-multiselect {
    width: 93% !important;
    margin: 15px 15px 0 15px;
    padding: 4px 6px;
}

.crm-tri-column .hasDatepicker {
    width: 79% !important;
}

.crm-tri-column .ui-datepicker-trigger{
    margin-top:15px;
    padding:3px 9px 3px 9px;
}

/* Add customer - check if exists modal */

#customerExistsModal ul, #setMainAddressModal ul {
    list-style-type: none;
}

#customerExistsModal ul li input, #setMainAddressModal ul li input {
    margin-top: -3px;
    margin-right: 5px;
}

#customerExistsModal ul li label, #setMainAddressModal ul li label {
    display: inline;
    line-height: 25px;
}

#customerExistsModal ul ul {
    list-style-type: disc;
    padding-left: 20px;
}

.customer-file dt {
    width: 120px;
}

.customer-file dd {
    margin-left: 140px;
}

.customer-file .contact-list i {
    width: 20px;
    text-align: center;
}

.crm-ajax-form input {
    width: 75%;
    margin: 5px;
}

.crm-ajax-form input[type='checkbox']{
    width: 20px;
}

.crm-ajax-form select {
    width: 77%;
    margin: 5px;
}

.crm-ajax-form .input-label {
    width: 79%;
}

.crm-ajax-form .input-textarea {
    width: 79%;
    margin: 5px;
}

.crm-ajax-form .input-street {
    width: 50%;
}

.crm-ajax-form .input-building-no {
    width: 10%;
}

.crm-ajax-form .input-apartment-no {
    width: 10%;
}

.crm-ajax-form .input-postal {
    width: 20%;
}

.crm-ajax-form .input-city {
    width: 55%;
}

.crm-ajax-form .input-country {
    width: 74%;
}

.crm-ajax-form .input-type {
    width: 82%;
}

.df-crm-address {
    height: 175px;
    margin-bottom: 20px;
}

.df-crm-address:nth-of-type(4n + 1) {
    margin-left: 0px;
}

.df-crm-person {
    height: 175px;
    margin-bottom: 20px;
}

.df-crm-person:nth-of-type(3n+1){
    margin-left: 0px
}

#add-df.df-crm-person {
    padding: 45px;
}

#add-df.df-crm-address {
    padding: 45px;
}

.df-crm-bank-account {
    height: 175px;
    margin-bottom: 20px;
}

.df-crm-bank-account h5 {
    margin: 5px 0;
}

#add-df.df-crm-bank-account {
    padding: 45px;
}

.df-crm-bank-account:nth-of-type(4n+1){
    margin-left: 0px
}

.form-horizontal .control-group.reverse .control-label {
    padding-top: 0px;
}
.form-horizontal .control-group.reverse .controls {
    font-size: 14px;
}

.df-crm-address h4 span {
    font-size: 12px;
    margin-top: -4px;
}
.accounting-list {
    word-wrap: break-word;
}
.events-container-target {
    padding: 10px 0px;
    min-height: 128px;
}
.events-container  {
    border: 1px solid #ddd;
    padding: 10px 0px;
    position:relative;
    margin-bottom: 15px;
    border-radius: 5px;
}
span.events-container-title  {

    position:absolute;
    top:-10px;
    left:10px;
    padding:0px 10px;
    background:#fff;
    color:#555555;
}

.events-container-preloader {
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
    min-height: 128px;
    background: url('../../../neocraft-calendar/img/preloader.GIF') no-repeat center center #fff;
    z-index: 200;
    opacity: 0.7;
}

.mails-container-preloader {
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
    min-height: 880px;
    background: url('../../../neocraft-calendar/img/preloader.GIF') no-repeat center center #fff;
    z-index: 200;
    opacity: 0.7;
}

.mails-container-target .modal {
    width: 1000px;
    margin: -400px 0 0 -500px;
    height: 700px;
}

.mails-container-target .modal-content {
    height:680px;
}

.mails-container-target .modal-body {
    height:610px !important;
    max-height: none;
}

.events-container .btn-toolbar {
    padding: 0px 20px;
}

.events-container .scrolled {
    overflow-x: auto;
}

#eventModal .modal-body {
    max-height: 700px;
}

#data-table-wrapper-upper{
    overflow-x: scroll;
    overflow-y: hidden;
    display: none;
    height: 20px;
    clear: both;
}

#data-table-upper-scroll {
    height: 20px;
}

.default-tooltip {
    display:inline-block;
    padding-top:8px;
}

.column-tooltip {
    padding: 6px;
}

.column-tooltip i {
    position: relative;
    top:7px;
}

.events-container > p {
    padding: 20px;
}

.df-status-and-owner {
    margin-bottom:10px;
    margin-left: 0px;
    display: inline-block;
}
.status-and-owner {
    padding-bottom: 10px;
}

.status-and-owner > dl {
    margin: 0px;
    position: relative;
    left:-30px;
}

.df-crm-accounting {
    height: 160px;
    margin-bottom: 20px;
}

.df-crm-general {
    min-height: 110px !important;
    margin-bottom: 20px;
}

.crm-ajax-form > fieldset > button {
    margin-left: 5px;
}

.crm-ajax-form-hide-button + a{
    display: none;
}

/* admin fixed layout */

#admin-fixed {
    height: 100%;
    overflow: hidden;
    padding: 0px;
}

#admin-fixed .admin-menubar {
    height: 5%;
    border-bottom: none;
}

#admin-fixed .admin-logobar {
    height: 5%;
    overflow: hidden;
}

#admin-fixed #content-main {
    height: 90%;
}

#admin-fixed #content-main form, #admin-fixed #content-main form>div, #admin-fixed #content-main form>div>div {
    height: 100%;
}

#admin-fixed #content-main .table-50-height {
    height: 35%;
    overflow-y: scroll;
}

#admin-fixed #message-container {
    height: 58%;
}

/* end admin fixed layout */

#message-loader {
    display: none;
    position: fixed;
    top: 75%;
    left: 55%;
}

#list-loader {
    display: none;
    padding: 10px 0;
}

.btn.btn-group {
    padding: 0px;
    border: none;
    border-radius: 0px;
}

.btn.btn-group .btn {
    border-radius: 0px;
}

.btn.btn-group:last-of-type .btn {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.mail-menu>.btn:not(.btn-group), .mail-menu>.btn-group>.btn {
    padding: 4px 8px;
}

.mail-menu {
    margin-bottom: 10px;
}

.table-50-height table tr td {
    padding: 0px 5px;
    vertical-align: middle;
}

.table-50-height table {
    margin-bottom: 0px;
}

.table-50-height .pagination ul>li>a, .pagination ul>li>span {
    padding: 0px 8px;
    line-height: 20px;
}

.table-50-height .pagination {
    height: auto;
}

.table-50-height .change-recs {
    width: 50px !important;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    padding: 0 3px;
}

.table-50-height .change-recs-button {
    height: 20px;
    padding: 0px 5px;
    font-size: 12px;
    margin-right: 10px;
}

.table-50-height {
    border-bottom: 1px solid #2a2a2a;
    border-left: 1px solid #2a2a2a;
    box-sizing: border-box;
    text-align: center;
    margin-top: 20px;
}

#message-container {
    border-left: 1px solid #2a2a2a;
    box-sizing: border-box;
    position: relative;
}

.row-fluid .span10.mail-full-height {
    margin-left: 0px;
    width: 85.470085470085474%;
}

#list-loader-btn {
    display: none;
    margin: 10px 0;
}

.span2 div.admin-titlebar {
    margin-bottom: 0px;
}

#folder-tree {
    overflow: auto;
}

.mailbox-titlebar {
    background: url('../img/titlebar-shadow-bottom.gif') repeat-x bottom;
    padding: 10px 0px;
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 20px;
}

.mailbox-titlebar .mail-menu>a, .mailbox-titlebar .mail-menu>div, .mailbox-titlebar #assign {
    text-align: left;
}

input.sls_input {
    width: 90px;
}

.tab-pane#mails {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tab-pane#mails .row-fluid {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tab-pane#mails .row-fluid .span6 {
    position: relative;
    overflow-y: auto;
    height: 100%;
}

.tab-pane#mails .row-fluid .span6 iframe {
    height: 98%;
}

.tab-pane#mails .fa-sign-in {
    color: #0066cc;
    font-weight: bold;
}

.tab-pane#mails .fa-sign-out {
    color: #009900;
    font-weight: bold;
}

.tab-pane#mails tbody tr {
    cursor: pointer;
}

.tab-pane#mails #message-container-loader {
    position: absolute;
    top: 45%;
    left: 45%;
}

.tab-pane#mails #message-container body {
    padding: 0px;
}

#msg {
    font-size: 12px;
    color: red;
    margin-left: 180px;
}

#send-modal-form {
    font-size: 12px;
}

select.sls_product {
    width: 515px;
}

a.crm-agency-link:after {
    content:", ";
}
a.crm-agency-link:last-of-type:after {
    content:none;
}

select.select-disabled {
    background-color: #eee;
}

select.select-disabled option{
    display: none;
}

div#eventModal {
    overflow: auto;
    max-height: 100%;
}
.controls .fileinput span {
    line-height: inherit;
}

#account-no-loader {
    position: relative;
    top: 5px;
    left: 5px;
}

.error-rb {
    border: 1px solid #f00 !important;
}

.mw140 {
    max-width: 140px;
}

.r-click-menu {
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 5px;
    color: #333;
    display: none;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    z-index: 1000;
}

.r-click-menu li {
    cursor: pointer;
    list-style-type: none;
    padding: 3px 12px;
}

.r-click-menu li:hover {
    background-color: lightskyblue;
}

tr.end-msg {
    width: 100%;
    background: #255a7f !important;
    color: #fff;
    font-weight: bold;
}
.table-50-height table tr.end-msg td {
    text-align: center;
    padding: 2px 0px;
}
.calendar-view-filter {
    margin-top: -24px;
    text-align: right;
    margin-bottom: -8px;
}

.layers > div {
    max-height: 637px;
    overflow-y: scroll;
    border-bottom: 1px solid #2a2a2a;
}

.layers > a {
    margin-top: 10px;
    margin-bottom: 10px;
}

@media all and (min-width: 768px) and (max-width: 1225px) {
    .calendar-view-filter {
        margin-top: 0px;
        text-align: left;
    }
}

.input-append.grouped-input .add-on {
    background-color: #2a2a2a;
}

.ui-widget .grouped-input textarea {
    font-size: 14px !important;
}

.input-append .add-on.btn {
    background-color: #000 !important;
}
.input-append .add-on.btn:hover {
    background-color:#138dc2 !important;
}

.document_edit_link_field {
    color: #0088cc !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
}
body .chosen-container-multi .chosen-choices li.search-choice {
    height: auto;
}

.criterior-icon {
    vertical-align: middle;
    font-size: 1.7em !important;
    margin-left: 5px;
}
.records_fieldset tr td {
    position: relative;
}
.elem-preloader {
    position: absolute;
    left: 0px;
    right:0px;
    bottom:0px;
    top:0px;
    z-index: 50;
    background: url('../img/reload.gif') no-repeat left 10px center #fff;
    opacity: 0.75;
}