/*.select2-container { width:100%; }*/
/*.select2-container-multi .select2-choices{border-color:#fff!important}.inbox-info-bar .select2-choices>div{display:none}*/
.company-details {
    font-size: 0.9em;
    height: auto !important;
    margin-left: 10px;
    margin-top: 8px;
}

div.timeoutchart {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 !important;
    margin-bottom: 20px !important;
}

.timeoutchart canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.timeoutchart span {
    color: #555;
    display: block;
    line-height: 200px;
    text-align: center;
    width: 200px;
    font-family: sans-serif;
    font-size: 40px;
    font-weight: 100;
}


.timeout {
    width: 250px;
    height: 290px;
    left: 50%;
    top: 10px;
    transform: translate(-50%, 0);
    background-color: #ffffff;
    position: absolute;
    z-index: 9998;
    padding: 25px;
    -webkit-box-shadow: 0 0 5px 0 rgba(204, 204, 204, 1);
    -moz-box-shadow: 0 0 5px 0 rgba(204, 204, 204, 1);
    box-shadow: 0 0 5px 0 rgba(204, 204, 204, 1);
    display: none;
}

.unlock-wrongpass {
    display: none;
}

.lock {
    display: none;
}

.lockscreen-bkgr {
    z-index: 10000;
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #f5f5f5;
    background-image: url("../img/mybg.png");
}

.lockscreen {
    z-index: 10001;
    top: 200px;
}

.row.success {
    background-color: #dff0d8;
}

.row.danger {
    background-color: #f2dede;
}

.row.warning {
    background-color: #fcf8e3;
}

.row.info {
    background-color: #d6dde7;
}

.bg-color-yellow {
    background-color: #F8F6D0 !important;
}

.smart-form .tooltip-error {
    background-color: #B00000;
    font-size: 13px;
    padding: 6px 10px;
}

.smart-form .tooltip-top-right::after {
    border-top: 4px solid #B00000;
}

.smart-form .input-group .btn {
    height: 31px;
    margin: 0 0 0 5px;
    padding: 0 14px;
    font: 300 15px/29px 'Open Sans', Helvetica, Arial, sans-serif;
    cursor: pointer;
}

label.select .error .select2-selection {
    border-color: #f00 !important;
}

.error .select2-selection--multiple {
    border-color: #f00 !important;
}

.select2-search {
    z-index: 1;
}

.select2-selection__arrow {
    background-color: #eee;
    width: 30px !important;
    border-left: 1px solid #ccc;
    height: 32px !important;
}

.select2-selection {
    border-radius: 0 !important;
    white-space: nowrap !important;
}

.select2-selection.select2-selection--single {
    border: 1px solid #BDBDBD;
    height: 34px;
}

.select2-selection__rendered {
    line-height: 30px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3276b1;
    border-color: #2a6395;
    color: #fff;
    border-radius: 0 !important;
    padding: 0 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 6px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #f5f5f5;
}

ul.select2-selection__rendered {
    line-height: 20px !important;
}

.bold {
    font-weight: bold;
}

.text-grey {
    color: #989898;
}

.smart-form .checkbox i.checkall {
    position: relative;
}

/*.jarviswidget div[role=content] {
        overflow: hidden !important;
        height: 100% !important;
        border-bottom: 0;
}*/
#jarviswidget-fullscreen-mode {
    background: #FFF;
    overflow-y: auto !important;
}

input.form-error, textarea.form-error {
    border: 1px solid #F00 !important;
    background: transparent !important;
}


img.online {
    border-left: 4px solid #40ac2b !important
}

img.offline {
    border-left: 4px solid #cc0000 !important
}

.full-length {
    display: block;
    min-width: inherit;
    width: 100%;
}

.fatal-error {
    margin: 40px;
}

.fatal-error h4 {
    background: #CCC;
    padding: 8px;
}

.fatal-error p, .fatal-error h1 {
    background: #fff;
    padding: 8px;
    margin: 0;
}

.fatal-error p {
    font-weight: bold;
}

.fatal-error h4 i {
    margin: 5px;
    background: #fff;
    padding: 8px;
    border-radius: 5px;
}

.height-auto {
    min-height: inherit !important;
    height: auto !important;
    max-height: inherit !important;
}

.clear {
    overflow: hidden;
    height: auto;
    clear: both;
}

.pad0 {
    padding: 0 !important;
}

.no-wrap {
    text-wrap: none;
}

.act-sm {
    width: 85px !important;
    min-width: 85px !important;
}

.mt5 {
    margin-top: 5px !important;
}

.ml2 {
    margin-left: 2px !important;
}

.ml3 {
    margin-left: 3px !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mr5 {
    margin-right: 5px !important;
}

.p10 {
    padding: 10px !important;
}

.loading-cover {
    text-align: center;
    background: #ccc;
    opacity: 0.4;
    position: absolute;
    z-index: 105000;
    border-radius: 5px;
}

.loading {
    padding: 20px 40px;
    background: #FFF;
    z-index: 105010;
    border-radius: 10px;
    box-shadow: 0 0 100px #888888;
    text-align: center;
}

.loading span {
    border-bottom: 1px solid;
}

.orange .jGrowl-message, .orange .jGrowl-close {
    color: #900 !important;
}

.red .jGrowl-message, .red .jGrowl-close, .green .jGrowl-message, .green .jGrowl-close {
    color: #FFF;
}

.btn-avatar, .btn-avatar input {
    cursor: pointer !important;
    height: 50px !important;
    width: 50px !important;
    margin: 0 auto;
}

.avatar-frame {
    position: relative;
    width: 50px;
    margin: 0 auto;
}

.avatar-remove {
    position: absolute;
    top: -12px;
    left: 100%;
    margin-left: -10px;
    background: #fff;
    z-index: 1000;
    padding: 3px;
    opacity: .8;
}

.btn-avatar img {
    height: 100%;
    width: 100%;
}

.btn-upload, .btn-upload input {
    cursor: pointer !important;
    padding: 9px;
    line-height: 15px !important;
}

.btn-upload-top, .btn-upload-top input {
    cursor: pointer !important;
}

/* Modal Settings */
body.modal-open {
    overflow: hidden;
}

.modal-large .modal-dialog {
    width: 50%; /* or whatever you wish */
}

#wgt_id_contacts-main-info {
    margin: 0 !important;
}

/* Fix buttons mozilla inside element dead point */
.btn:active:before {
    position: relative;
    top: -1px;
    left: -1px;
}

.admin-login-form {
    float: none !important;
    margin: 40px auto !important;
}

.photo-sm {
    width: 150px;
    height: 80px;
}

.photo {
    width: 165px;
    height: 110px;
}

.photo-md {
    width: 240px;
    height: 180px;
}

.photo-lg {
    width: 300px;
    height: 200px;
}

.icon-width-auto {
    width: auto !important;
}

.superbox {
    margin: 15px 0;
}

.superbox-list {
    background: url(../img/select2-spinner.gif) no-repeat center;
}

.superbox-list:hover {
    background: none;
}

.emptyImg {
    width: 100%;
    height: 100%;
}

/* Gallery */

.superbox-show {
    margin-left: 4px;
    width: 97.8% !important;
    padding: 25px 25px 12px !important;
    /*padding-bottom: 30px;*/
}

.ui-sortable-placeholder {
    height: 50px !important;
    display: inline-block !important;
}

.superbox-current-img, .superbox-video {
    margin-right: 20px;
}

.superbox-video {
    margin-bottom: 20px;
}

.superbox-show #infoBoxTpl {
    display: block !important;
}

#infoBoxTpl {
    display: none;
    height: auto;
    overflow: hidden;
    padding-bottom: 15px;
}

#imgInfoBox h3 {
    padding: 10px;
!important;
    margin: auto !important;
}

#imgInfoBox {
    margin-left: 650px;
    margin-right: 30px;
}

#imgInfoBox > div {
    margin-top: 10px;
}

#imgInfoBox .editable-input {
    margin: 0 10px 0 0;
!important;
}

#imgInfoBox .editable-input input {
    padding: 0 4px;
}

#imgInfoBox .popover-content {
    padding: 10px;
!important;
}

#imgInfoBox .editable-container {
    color: #000 !important;
}

.table .popover {
    padding: 0 !important;
}

/*tables*/
.table-middle td {
    vertical-align: middle !important;
}

/* dropFiles */
.dropFiles {
    /*background: url(/img/dropFiles.png) #fff right no-repeat;*/
    overflow: auto;
    max-height: 70px;
    z-index: 1000;
    opacity: 0.8;
    margin-top: 2px;
    position: absolute;
    min-height: 67px;
    width: 100%;
    top: -22px;
}

.dtable-toolbar {
    padding-top: 38px;
}

.dtable-toolbar .dataTables_filter {
    left: 0;
}

.dtable-toolbar .dataTables_length {
    right: 0;
}

.dtable-toolbar .form-control {
    text-indent: 5px;
    width: 300px;
}

.dtable-toolbar .row {
    margin: 0 !important;
}

.dtable-toolbar .dt-wrapper {
    max-height: 150px;
    overflow: auto;
}

/* Fix Select2 error paint */
.state-success .select2-choice {
    border: #7DC27D 1px solid !important;
    background: none repeat scroll 0 0 #F0FFF0 !important;
}

.invalid .select2-choice {
    border: #A90329 1px solid !important;
    background: none repeat scroll 0 0 #FFF0F0 !important;
}

/* Uploadifive style */
.uploadifive-queue-item {
    background: #E4E4E4;
    margin: 4px;
    padding: 8px;
}

.uploadifive-queue-item .close {
    float: right !important;
}

.multy-check {
    position: absolute;
    top: 2px !important;
    left: 100%;
    z-index: 100000;
    margin-left: -20px !important;
}

.fa-2 {
    font-size: 18px !important;
}

.btn-primary span, .btn-danger span {
    color: #FFF !important;
}

.mini-gallery {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-gallery li {
    border-radius: 5px;
    float: left;
    margin: 2px;
    padding: 3px;
}

nav li a {
    cursor: pointer;
}

/* Fix select2 tags */

.select2-search-choice-close {
    min-height: inherit !important;
}

.select2-container-multi .select2-choices {
}

.select2-search-choice-close:before {
    float: left;
    margin: 2px;
}

.select2-container-multi .select2-choices .select2-search-choice {
    font-size: 14px;
    line-height: 14px;
    padding: 6px 32px 6px 8px;
}

/* Tabs */
.tab-content > .acticve {
    display: block !important;
}


/* GALLERY  */
/*.file-xls, .file-xlsx {
    background: url(/img/icons/file-xls.gif) center no-repeat #FFF;
}

.file-pdf {
    background: url(/img/icons/file-pdf.gif) center no-repeat #FFF;
}

.file-unknown {
    background: url(/img/icons/file-unknown.gif) center no-repeat #FFF;
}

.file-txt {
    background: url(/img/icons/file-text.gif) center no-repeat #FFF;
}

.file-doc, .file-docx {
    background: url(/img/icons/file-msword.gif) center no-repeat #FFF;
}*/

.gallery-file-info {
    position: absolute;
    top: 70%;
    width: 195px;
    text-align: center;
    z-index: 100;
}

.gallery-multy-delete {
    height: 195px;
    width: 195px;
    position: absolute !important;
    top: 2px;
}

/* contacts */
.address-well header, .contacts-well header {
    margin-bottom: 20px;
    margin-top: 0;
}

.contacts-well, .address-well {
    padding: 5px 0;
    margin: 15px;
}

.address-well fieldset, .address-well header, .contacts-well header {
    background: none !important;
}

.dropdown-menu {
    padding: 5px 0 !important;
}

.pull-right > .left-dropdown-menu {
    right: inherit !important;
}

.table-form td {
    line-height: 30px !important;
}

.table-no-length .dataTables_length {
    display: none !important;
}

.txt-color-white span {
    color: #FFF;
}

.smart-form .dd3-handle {
    width: auto;
}

.smart-form .dd-list .checkbox, .smart-form .radio {
    line-height: 20px !important;
}

.smart-form .dd3-content {
    margin-top: 0 !important;
}

#ajaxModal .jarviswidget {
    margin: 0 !important;
}

.blink-out {
    -webkit-animation: myfirst 0.1s; /* Chrome, Safari, Opera */
    animation: myfirst 1s;
}


/* Chrome, Safari, Opera */
@-webkit-keyframes myfirst {
    100% {
        background: #fff;
    }
    0% {
        background: green;
    }
}

/* Standard syntax */
@keyframes myfirst {
    100% {
        background: #fff;
    }
    0% {
        background: green;
    }
}

/*Make buttons responsive, each button text has to be warpt in span tag!*/
@media only screen and (min-width: 0px) and (max-width: 768px) {
    .modal-dialog {
        width: 98% !important;
    }

    .btn-group-justified > .btn, .btn-group-justified > .btn-group {
        width: auto;
        display: block;
    }
}

@media only screen and (min-width: 0px) and (max-width: 1280px) {
    .modal-large .modal-dialog {
        width: 98% !important;
    }

    .dTable .btn-group .btn {
        width: 40px !important;
    }
}

@media only screen and (min-width: 0px) and (max-width: 679px) {

    .dataTables_filter {
        display: none;
    }

    .dt-wrapper {
        overflow: auto !important;
    }

    .btn span.glyphicon, .btn span.fa {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gallery-file-info {
        display: none;
    }
}


/* fix gallery images dimenssions */
@media only screen and (max-width: 1024px) {
    #imgInfoBox {
        padding-top: 15px;
        margin-left: 3px;
        margin-right: 3px;
        clear: both;
    }
}

@media only screen and (min-width: 320px) {
    .superbox-list {
        width: 47.1%;
    }

    .superbox-video {
        width: 300px !important;
        height: 200px !important;
    }
}

@media only screen and (min-width: 486px) {
    .superbox-list {
        width: 24.1%;
    }

    .superbox-video {
        width: 400px !important;
        height: 300px !important;
    }

}

@media only screen and (min-width: 1024px) {
    .superbox-list {
        width: 18.9%;
    }

    .superbox-video {
        width: 600px !important;
        height: 400px !important;
    }
}

@media only screen and (min-width: 1824px) {
    .superbox-list {
        width: 12.1%;
    }

    .superbox-video {
        width: 600px !important;
        height: 400px !important;
    }
}

.dataTables_length select {
    height: 31px !important;
}

.inbox-nav-bar-bordered {
    border-bottom: 1px solid #dfdfdf;
}


.select2-hidden-accessible {
    display: none;
}

.table-responsive {
    overflow-y: visible !important;
}

.modal-dialog.modal-super-lg {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.modal-dialog.modal-fullscreen {
    width: 97%;
    margin-left: auto;
    margin-right: auto;
}

.text-lg {
    font-size: 20px;
}

.badge a {
    color: #fff;
}

.modal-footer {
    padding: 10px !important;
}

.header .icon {
}

.btn-label {
    left: -5px !important;
    padding: 0 6px !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 1.2em !important;
}
.swal2-popup.swal2-toast .swal2-html-container {
    font-size: 1.1em !important;
    margin-top: 0 !important;
}

.smart-form .badge {
    padding: 2px 4px !important;
    font-size: 0.8rem;
}

input[type=text]:disabled {
    background: #eeeeee !important;
}

.checkbox.disabled i {
    background: #eeeeee !important;
    border-color: #cccccc !important;
}
.checkbox.disabled i::after {
    color: #ababab !important;
}
