﻿.bootstrap-dialog .modal-header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.bootstrap-dialog .bootstrap-dialog-title {
    color: #fff;
    display: inline-block;
    font-size: 16px;
}

.skin-black .bootstrap-dialog.type-primary .modal-header {
    background-color: #333333;
}

.skin-black .modal-header {
    background-color: #333333;
    color: #f9f9f9;
}

.skin-black button.close {
    color: #ffffff;
    opacity: .7;
}

.bootstrap-dialog .bootstrap-dialog-message {
    font-size: 14px;
}

.bootstrap-dialog .bootstrap-dialog-button-icon {
    margin-right: 3px;
}

.bootstrap-dialog .bootstrap-dialog-close-button {
    font-size: 20px;
    float: right;
    filter: alpha(opacity=90);
    -moz-opacity: .9;
    -khtml-opacity: .9;
    opacity: .9;
}

    .bootstrap-dialog .bootstrap-dialog-close-button:hover {
        cursor: pointer;
        filter: alpha(opacity=100);
        -moz-opacity: 1;
        -khtml-opacity: 1;
        opacity: 1;
    }

.bootstrap-dialog.type-default .modal-header {
    background-color: #fff;
}

.bootstrap-dialog.type-default .bootstrap-dialog-title {
    color: #333;
}

.bootstrap-dialog.type-info .modal-header {
    background-color: #5bc0de;
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: #428bca;
}

.bootstrap-dialog.type-success .modal-header {
    background-color: #5cb85c;
}

.bootstrap-dialog.type-warning .modal-header {
    background-color: #f0ad4e;
}

.bootstrap-dialog.type-danger .modal-header {
    background-color: #d9534f;
}

.bootstrap-dialog.size-large .bootstrap-dialog-title {
    font-size: 24px;
}

.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
    font-size: 30px;
}

.bootstrap-dialog.size-large .bootstrap-dialog-message {
    font-size: 18px;
}

.bootstrap-dialog .icon-spin {
    display: inline-block;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

@media print {

    .btn, .button-bar-fixed, .btn-group {
        display: none !important;
    }

    a[href]:after {
        content: none;
    }
}

.side-pop-out {
    position: fixed;
    z-index: 1200;
    width: 400px;
    height: 100%;
    top: 0px;
    bottom: 0px;
    right: -400px;
    border: 1px solid #080808;
    background-color: #3c8dbc;
    background-image: linear-gradient(to bottom,#216287 0,#3c8dbc 100%);
    overflow: hidden;
    color: #ddd;
    padding-top: 36px;
}

.close-pop-out-button {
    position: absolute;
    top: 1px;
    right: 2px;
    height: 32px;
    width: 32px;
    cursor: pointer;
    color: #9d9d9d;
    font-size: 30px;
    display: block;
    border-radius: 2px;
    text-align: center;
    vertical-align: middle;
}

    .close-pop-out-button:hover {
        color: #fee;
    }

.pop-out-overlay {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: 1100;
    background-color: black;
    opacity: 0.5;
}


#loading {
    display: none;
}

    #loading img {
        width: 16px;
        height: 11px;
        margin-top: -8px;
        margin-left: 10px;
    }

.external-event {
    cursor: pointer;
}

.fc-week-number {
    font-size: smaller;
    color: lightgray;
}

.contact-record span {
    cursor: pointer;
    
}
.contact-record:hover span{
text-decoration: underline;
    color: blue;
}

.box-small {
}

    .box-small .box-header > .fa, .box-small .box-header > .glyphicon, .box-small .box-header > .ion, .box-small .box-header .box-title {
        padding: 5px 0px 2px 10px;
    }

    .box-small .box-body {
        padding: 0px 10px 10px 10px;
    }

    .box-small .box-header {
        padding-bottom: 0px;
    }

.task-badge {
    margin-top: 10px;
    margin-right: 10px;
}

.task-list-table {
}

    .task-list-table a {
        font-weight: bold;
        font-size: 110%;
    }

    .task-list-table p {
        color: #aaa;
    }

    .task-list-table tr.completed td, li.completed a {
        text-decoration: line-through;
    }


.priority-high a, .priority-high h3 {
    color: red !important;
}

.priority-low a, .priority-low h3 {
    color: silver !important;
}

.product-list-image {
    max-width: 50px;
    max-height: 50px;
}

.product-row:hover, .view-row:hover, .opportunity-row:hover, .contact-row:hover {
    cursor: pointer;
}

tr.inactive td {
    color: gray;
    text-decoration: line-through;
}

.note-author {
    font-size: 75%;
    padding-top: 5px;
    color: #aac;
}

.note-text {
    margin-bottom: 5px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 6px;
}

.contact-record:hover td {
    background-color: lightyellow !important;
}

.field-value {
    height: auto;
    min-height: 2em;
}

.tab-button {
    float: right;
    margin-top: -10px;
}

.profile-image {
    margin: 0 6px;
    border: 1px dotted #cccccc;
    float: left;
    width: 77px;
    height: 77px;
}

table.layout {
    width: auto;
}

    table.layout td, table.layout th {
        padding: 5px 10px;
    }

    table.layout th {
        text-align: right;
        font-weight: 700;
    }

.btn-wide {
    padding-left: 2em;
    padding-right: 2em;
}

.btn-spaced {
    margin-left: 5px;
    margin-right: 5px;
}

.button-bar-fixed {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1000;
}

.auto-size {
    width: auto;
}

.roomy .row, .roomy > div {
    margin-bottom: 7px;
}

.form-group {
    margin-bottom: 0px;
}

a.link-item {
    background-color: #eeeeee;
    padding: 3px 5px;
    margin-right: 10px;
}

.modal-header {
    background-color: #428BCA;
    color: white;
}

.form-inline label {
    margin-left: 15px;
}


@media screen and (min-width: 992px) {
    .control-label {
        text-align: right;
    }
}

button .glyphicon, a.btn > .glyphicon {
    margin-right: 7px;
}

.product-list-table td {
    border-left: 1px dotted silver;
}

    .product-list-table td.right {
        text-align: right;
    }


.bootstrap-switch-container {
    max-height: 2.5em;
}

.text-bold {
    font-weight: bold;
}



.top-border-thick {
    border-top: 2px solid black;
}

.bottom-border-double {
    border-bottom: 5px double black;
}

.btn-success, .btn-warning, .btn-primary {
    color: white !important;
}

.click-item {
    cursor: pointer;
}

.easy-autocomplete-container {
    z-index: 999;
}

tr.link {
    cursor: pointer;
}

.print-only, .print-only-inline, .print-only-inline-block {
    display: none;
}


@media print {

    .print-only {
        display: block !important;
    }

    .print-only-inline {
        display: inline !important;
    }

    .print-only-inline-block {
        display: inline-block !important;
    }

    .no-print, .print-none {
        display: none !important;
    }

    .form-control {
        border: 0px none !important;
        height: auto;
    }

    .input-group-addon {
        display: none !important;
    }

    .page-break {
        page-break-before: always !important;
        page-break-inside: avoid !important;
        overflow: visible !important;
        position: relative !important;
    }

    table {
        float: none !important;
    }

    div {
        float: none !important;
    }


    * {
        float: none !important;
        position: relative;
    }

    .contact-record span, .contact-record:hover span{
        text-decoration: none;
        color: inherit;
    }
   
}

.account-label {
    margin-bottom: 3px;
    display: block;
    padding: 5px 20px;
}

    .account-label .label-edit {
        visibility: hidden;
        cursor: pointer;
    }

    .account-label:hover .label-edit {
        visibility: visible;
    }

.customer-label {
    margin-left: 2px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 1px;
    padding-bottom: 0px;
    white-space:nowrap;
    position:relative;
}

.customer-label-big {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 110%;
    display: inline-block;
}

.customer-label i {
    display:none;
    cursor:pointer;
    background-color:red;
    color:white;
    position:absolute;
    right:0px;
    top:0px;
    padding-top:2px;
    padding-bottom:2px;
    text-shadow:none;
    border-radius:3px;
}
.customer-label:hover i {
    display:block;
}

.add-label-button {
    visibility:hidden;
    margin-left:5px;
}

.contact-record:hover .add-label-button {
    visibility:visible;
    cursor:pointer;
}

.label-menu {
    position:fixed;
}