/*.select2-container { width:100%; }*/
/*.select2-container-multi .select2-choices{border-color:#fff!important}.inbox-info-bar .select2-choices>div{display:none}*/

button span, button i, a span, a i {
    pointer-events: none;
}

.table > tbody > tr.duplicate > td {
    background-color: #CCEAFF;
}

.productrow {
    margin-bottom: 4px;
}

.badge a {
    color: #fff;
}

.company-details {
    margin-left: 10px;
    margin-top: 8px;
    font-size: 0.9em;
    height: auto !important;
}

.contract-variables {
    font-size: 18px;
}

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

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

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;
}

.mt10 {
    margin-top: 10px !important;
}

.mt15 {
    margin-top: 15px !important;
}

.mt20 {
    margin-top: 20px !important;
}
.mt30 {
    margin-top: 30px !important;
}

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

.ml3 {
    margin-left: 3px !important;
}
.ml5 {
    margin-left: 5px !important;
}
.mb15 {
    margin-bottom: 15px;
}
.mb20 {
    margin-bottom: 20px;
}

.pl5 {
    padding-left: 5px !important;
}
.pr5 {
    padding-right: 5px !important;
}

.pl10 {
    padding-left: 10px !important;
}
.pr10 {
    padding-right: 10px !important;
}

.mx5 {
    margin-left: 5px;
    margin-right: 5px;
}

.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 deadpoint */
.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;
    /*	margin-left:15px;	*/
}

.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;
}

.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;
    /*	margin:0 5px 5px 5px;
        border:1px dotted #CCCCCC;*/
    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 smart-form date-table filter padding*/
/*
.smart-form button.btn{
	padding:0 12px; 
	border-radius: 2px;
	
}
.smart-form a.btn{
	padding:0 12px;
	line-height:24px;
	border-radius: 2px;
}
.smart-form footer .btn{
	line-height:35px;
	height:auto;
	padding:0 12px;	
}
.smart-form .input input, .smart-form .select select{
	height:34px;	
}
.smart-form .date input{
	text-indent:8px;	
} 

.smart-form div.dataTables_filter input{
	padding:0 !important;	
}

*/

/* 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  */
/* TO BE INVESTIGATED */
/*.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;
}

/*
.btn span:not(.glyphicon):not(.fa){
	padding:5px;	
}
*/
.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;
}

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

.popover-content, .popover-title {
    padding: 9px 14px !important;
}

.mr5 {
    margin-right: 5px;
}
.mb5 {
    margin-bottom: 5px;
}

/* Dropdown Check List  */

#paid_list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#paid_list li {
    display: inline-block;
    padding: 0 6px;
}

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

.modal-dialog {
    z-index: 1050;
}

.uppy-FileInput-btn {
    border: 0; padding: 0;
}
.uppy-FileInput-btn:hover {
    background: none;
    color: #000000;
}

.uppy-Root.uppy-FileInput-container {
    margin-bottom: 5px;
}

.signed-contract-file {
    display: block;
}

.smart-form .label {
    color: #838383;
}

.bg-color-light-red {
    background-color: #ffbecd !important;
}

.margin-0 {
    margin: 0 !important;
}
.margin-10 {
    margin: 10px !important;
}

.margin-left-5 {
    margin-left: 5px !important;
}

.input-disabled {
    background-color: #f5f5f5 !important;
    color: #666 !important;
}

.shorten {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.shorten-100 {
    width: 100px;
}
.shorten-200 {
    width: 200px;
}


th.actions, td.actions{
	min-width: auto;
	max-width: 100%;
} 

#pdf_components_container .form-group label{
	margin-left: 10px;
	cursor: pointer;
}

.purple-alert {
	background-color:purple;
	border-left-color:rgb(77, 0, 77);
	color:rgb(247, 214, 247);
}
.purple-btn{
	border-color: rgb(148, 36, 148);
	background-color: purple;
}
.purple-btn:hover, .purple-btn:focus, .purple-btn:active{
	border-color: rgb(99, 29, 99);
	background-color: rgb(116, 25, 116);
}
.disabled-inputs {
	opacity: 0.4;
}
.label-block{
	display: block;
	margin-top:5px;
	padding:5px;
}

.error-message {

    margin: 0 0 10px;
    padding: 10px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    border-width: 0 0 1px !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;

    border-color: #953b39;
    color: #fff;
    background-color: #c26565;
    text-shadow: none;

}

.a-underline {
    text-decoration: underline !important;
} 

.copy-text{
	cursor: pointer !important;
	-moz-appearance:button;
	-webkit-appearance:button;
	display: inline-block;
	padding: 2px 5px;
} 

input.order {
    padding: 0 !important;
    font-size: 10px !important;
    text-align: center;
    position: absolute;
    top: 6px;
    right: -32px;
    width: 30px !important;
    height: auto !important;
    border-radius: 10px !important;
}

.table-form td .alert.alert-danger { line-height: normal !important; }
.widget-body.no-padding .alert { padding: 4px 6px; } 

#__compare_calendar_users_list {
	list-style: none;
}
#__compare_calendar_users_list li {
	margin: 3px;
}

#__compare_calendar span.used-slot {
    width: 100%;
    height: 3px;  
	display: block;
	background-color: gray;
	border-bottom: 1px solid white;
}
.jscolor {  
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	width: 70px;
	height: 22px;
	padding:0;
	float: right;
  }


.notification {
	background:rgba(0,0,0,0.04);
	border:1px solid #ccc;
	padding:4px;
	margin:2px 1px; 
	border-radius:4px;
}
.notification .note {
	color: #333;
	font-size: 14px;
	text-align: right;
}
.notification span.number {
	font-size:10px;
	line-height: 20px;
	border-radius: 50%;
	background-color: #666;
	display: inline-block;
	width: 20px;
	height: 20px;
	text-align: center;
	color:#fff;
}

.smart-form .tooltip {
    opacity: 1;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.p0 {
    padding: 0 !important;
}
.p40 {
    padding: 40px !important;
}
.py20 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}
.px40 {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.holiday-upload-file-item {
    overflow: hidden;
    margin:20px 0;
}
.holiday-add-more-files {
    margin:20px 0;
}
.dropzone{
 min-height: 200px !important;
}
.dropzone.dz-clickable, .dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message span {
    text-align: center !important;
}
.dz-message span {
    line-height:100px !important;
}
.dropzone .dz-preview .dz-details, .dropzone-previews .dz-preview .dz-details{
    cursor: pointer !important;
}
.dropzone .dz-preview.dz-error .dz-error-message, .dropzone-previews .dz-preview.dz-error .dz-error-message {
    opacity: 1 !important;
}
.dropzone .dz-preview.dz-image-preview:hover .dz-details img, .dropzone-previews .dz-preview.dz-image-preview:hover .dz-details img {
    opacity: 0.8 !important;
}

.dropzone a.dz-remove, .dropzone-previews a.dz-remove {
    background-image: none !important;
    border: none;
    text-decoration: none;
    padding: 8px 12px 5px;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer !important;
}
.dropzone.dz-clickable *{
    cursor: pointer !important;
}
.dz-filename {
    overflow: hidden;
    white-space: nowrap; /* Don't forget this one */
    text-overflow: ellipsis;
    width: 100px;
}
.dz-filename:hover {
    overflow:unset;
    white-space:unset;
    word-break: break-all;
    text-overflow:unset;
}
.dropzone .dz-preview .dz-details, .dropzone-previews .dz-preview .dz-details{
    background: none;
}
.dz-preview:hover .dz-remove-btn {
    display: block !important;
}
.dz-remove-btn {
    display: none;
    z-index: 1020;
    position: absolute;
    top: -10px;
    right: -10px;
}
.dz-date {
    color: #ccc;
    font-size: 11px;
}

.col-centered{
    float: none;
    margin: 0 auto;
}

.text-purple {
    color: purple;
}

input:disabled {
    background: #eeeeee !important;
}

.highlight {
    border: 1px solid #8cb68c;
}

.jarviswidget.highlight > div {
    background-color: #a3c5a3 !important;
}

#main {
    position: relative !important;
}

.refresh-icon {
    z-index: 10000;
    top: 49%;
    left: 49%;
    position: absolute !important;
    font-size: 50px;
    display: none;
}
.select2-results, .select2-results__options {
    min-height: 300px;
}