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

/*.select2-container { width:100%; }*/
.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;}
.smart-form .btn{height:31px;margin:0 0 0 5px;padding:0 14px;font:300 15px/29px 'Open Sans',Helvetica,Arial,sans-serif;cursor:pointer}






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;	
}
.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:0px 0px 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:8.5px;
	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;
	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;
	min-height:30px;
	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  */
.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;	
	}
}

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


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

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