/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2015-06-02, 11:51:43
    Author     : adam
*/

.clearfix:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.ap-alert {
    float: left;
    margin-top: 20px;
    width: 100%;
    margin-bottom: 0px;
    /*    min-width: 300px;
        max-width: 600px;
        position: fixed;
        top: 10px;
        right: 30px;
        z-index: 1001;*/
}

/*Tables*/
.apt_rpp_form {
    display: inline;
}
.apt_rpp_form .rows_per_page {
    width: 50px;
    height: 30px;
}
.apt_rpp_form .btn {
    margin-bottom: 0px !important;
}

.dataTables_info {
    float: left;
}
.dataTables_info .btn {
    margin-bottom: 0px !important;
}

.apt_col_select {
    display: none;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;   
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}
.ui-helper-hidden-accessible {
    display: none;
}

table.aptable th.searchable {
    background-color: #eee !important;
}

table.aptable th {
    text-align: left !important;
}

.aptable th {
    cursor: default !important;
}
table.dataTable thead .sorting_desc {
    /*background: transparent !important;*/
}

.aptable tr.placeholder {
	background-color: lightgray !important;
}
.aptable .ap-sort-handle {
	cursor: move;
	background-color: #eee !important;
}
/*fixed header*/
/*table.aptable thead {
	display:block;
	top: 20px;
}
table.aptable thead, table.aptable tbody {
	display: table;
  width: 100%;
  table-layout: fixed;
}
table.aptable thead.fixed-nav {
	position: fixed;
	top: 0;
	width: inherit;
}*/


.apt_new_items {
    float: right;
}
.apt_batch_items {
    clear: left;
    float: left;
}
.apt_filters {
    float: none;

}
.apt_filters form {
    float: left;
    width: 80%;
}
.apt_filters_simple {
    float: left;
    margin-bottom: 10px;
}
.apt_filters_simple table td.search {
    padding-right: 5px;
}
.apt_filters_additional p {
    float: left;
    padding: 0px 10px;
	min-height: 30px;
}
.apt_filters_additional p label {
    font-weight: 300;
}

.apt_filters_advanced {
    max-width: 80%;
}
.apt_filters_advanced p {
    float: left;
    padding: 0px 10px;
}
.apt_filters_advanced .toggler {
    float: none;
    padding-bottom: 10px;
}
.apt_filters_advanced .toggler span {
    cursor: pointer;
}
.apt_filters_advanced p label {
    font-weight: 300;
}

.apt_filters_request {
    clear: left;
}
.apt_filters_request p {
    float: left;
    padding: 0px 10px;
}

.main_content_editor{
    min-height: 300px;
}

.adpoint_inactive {
    cursor: pointer;
    color: #aaa;
}

.btns-fixed {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;
}

.btn-cancel-fixed {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;
}
.btn-save-fixed {
    position: fixed;
    right: 120px;
    bottom: 40px;
    z-index: 100;
}

.btn-save-fixed-200 {
    position: fixed;
    right: 200px;
    bottom: 40px;
    z-index: 100;
}

textarea.form-control{
    min-width: 100%;
    max-width: 100%;
}

.big_textarea{
    min-height: 150px;
}

.logo_address_bar {
    width: 80%;
    margin-top: 3px;
    max-width: 80px;
}

.btn-margin-horizontal {
    margin-left: 3px;
    margin-right: 3px;
}

.ap-btn-gray {
	background-color: lightgray !important;
}

input.datepicker {
    width: 130px;
}

.ap-bolder {
    border-color: black;
}

dd, dt {
    padding-top: 4px;
}
.dl, .dl-horizontal {
    margin-bottom: 20px;
}

.dl-70 dt {
    width: 70px;
    white-space: normal;
}
.dl-70 dd {
    margin-left: 90px;
}

.dl-80 dt {
    width: 80px;
    white-space: normal;
}
.dl-80 dd {
    margin-left: 100px;
}

.dl-90 dt {
    width: 90px;
    white-space: normal;
}
.dl-90 dd {
    margin-left: 110px;
}

.dl-100 dt {
    width: 100px;
    white-space: normal;
}
.dl-100 dd {
    margin-left: 120px;
}

.dl-110 dt {
    width: 110px;
    white-space: normal;
}
.dl-110 dd {
    margin-left: 130px;
}

.dl-120 dt {
    width: 120px;
    white-space: normal;
}
.dl-120 dd {
    margin-left: 140px;
}

.dl-130 dt {
    width: 130px;
    white-space: normal;
}
.dl-130 dd {
    margin-left: 150px;
}

.dl-140 dt {
    width: 140px;
    white-space: normal;
}
.dl-140 dd {
    margin-left: 160px;
}

.dl-150 dt {
    width: 150px;
    white-space: normal;
}
.dl-150 dd {
    margin-left: 170px;
}

.dl-160 dt {
    width: 160px;
    white-space: normal;
}
.dl-160 dd {
    margin-left: 180px;
}

.dl-170 dt {
    width: 170px;
    white-space: normal;
}
.dl-170 dd {
    margin-left: 190px;
}

.dl-180 dt {
    width: 180px;
    white-space: normal;
}
.dl-180 dd {
    margin-left: 200px;
}

.ap_hidden {
    display: none;
}


.aptable_container {
    width: 100%;
    overflow-x: scroll;
}

.ap-text-danger, .ap-text-danger .help-block, .ap-text-danger input {
    color: #a94442 !important;
    border-color: #a94442 !important;
}

.chat-discussion {
    height: auto;
    max-height: 400px;
}

.note-editor {
    border: 1px solid #ddd;
}


.aptable.table tr.dark td {
    background-color: #f9f9f9;
}
.aptable.table tr.light td {
    background-color: white;
}


.aptable.table tr.ap-table-inactive td {
    background-color: #ddd;
}

tr.ap-table-faded-row td {
	font-size: 11px;
	
}
tr.ap-table-danger-row td {
	color: #ed5565 !important;
}

/*menu i header*/
.ap-header {
    min-height: 90px;
}
.ap-header-top {
    padding: 10px 20px 10px 0px;
    min-height: 40px;
}
.ap-header-top li {
    list-style: none;
}

.dropdown-menu li {
    width: 220px;
    float: left;
}
.dropdown-menu li.empty-menu-item {
    height: 35px;
}
.ap-dropdown-menu2 {
    left: 220px;
	border-left: 0px solid !important;
}
/*.dropdown-menu li.register {
    margin-left: 194px;
}*/
.top-navigation .navbar-nav .open .dropdown-menu > li > a, .top-navigation .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 20px;
}


.ap-bg-dark td  {
    background-color: #f2f2f2;
}

.ap-bg-gray {
	background-color: #f5f5f5;
}

.select2-container--disabled {
    cursor: none !important;
    opacity: 0.6;
}

.select2-container.select2width300 {
	width: 300px !important;
}

.cursor-pointer{
	cursor:pointer;
}
.transparent-input{
	position:absolute;
	top:0;
	right:0;
	z-index:1;
	background-color: transparent !important;
	border: 0px !important;
	cursor:pointer !important;
}
.transparent-input:focus {
	outline: 0px white !important;
}

ul.ap-collection {
	list-style-type: none;
	margin-left:0px;
	padding-left:0px;
}
.hr-line-dashed-collection {
	margin-top:5px;
	margin-bottom:5px;
}

.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

.ap-input-sm-text {
	font-size: 0.9em !important;
}

.ap-homepage-btn {
	padding-left: 20px;
}

.ap-column-price {
	min-width: 81px;
}
.ap-column-object-number {
	min-width: 85px;
}
.ap-column-part-number {
	min-width: 111px;
}
.ap-column-date {
	min-width: 80px;
}
.ap-column-datetime {
	min-width: 110px;
}

.ap-column-nowrap {
	white-space: nowrap;
}


.ap-column-wrap-text {
	word-break: break-all;
}

.ap-column-33-percent {
	width: 33%;
}

.ap-column-product-name {
	overflow-x: hidden;
	/*text-overflow: ellipsis;*/
	white-space: nowrap;
	max-width: 150px;
}
.ap-column-product-name:hover {
	overflow-x: auto;

}
.ap-column-minwidth-100 {
	min-width: 100px;
}
.ap-column-minwidth-110 {
	min-width: 110px;
}
.ap-column-minwidth-300 {
	min-width: 300px;
}
.ap-column-minwidth-70 {
	min-width: 70px;
}
.ap-column-minwidth-60 {
	min-width: 60px;
}
.ap-column-minwidth-50 {
	min-width: 50px;
}
.ap-column-minwidth-40 {
	min-width: 40px;
}
.ap-column-width-250 {
	width: 250px;
}
.ap-column-width-150 {
	width: 150px;
}


.ap-product-comment-hidden {
	/*display: none;*/
}

.version-text-in-header {
	font-weight: bold;
	color: red;
	font-size: 20px;
}

.wrapper-content {
	padding: 20px 10px 0px !important;
}

.ap-narrow-checkbox {
	padding: 0px !important;
}

.ap-tooltip {
	display: none;
	width: 350px;
	border: 1px solid lightgray;
	border-right: 4px solid #1c84c6;
	border-top: 4px solid #1c84c6;
	background-color: white;
	padding: 5px 8px;
	position: absolute;
	z-index: 999;
	margin-left: -350px;
}
.ap-tooltip-parent {
	position: relative;
	display: inline-block;
}

@media print {
	a[href]:after {
		content: none !important;
	}

	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
		float: left;
	}
	.col-sm-12 {
		width: 100%;
	}
	.col-sm-11 {
		width: 91.66666667%;
	}
	.col-sm-10 {
		width: 83.33333333%;
	}
	.col-sm-9 {
		width: 75%;
	}
	.col-sm-8 {
		width: 66.66666667%;
	}
	.col-sm-7 {
		width: 58.33333333%;
	}
	.col-sm-6 {
		width: 50%;
	}
	.col-sm-5 {
		width: 41.66666667%;
	}
	.col-sm-4 {
		width: 33.33333333%;
	}
	.col-sm-3 {
		width: 25%;
	}
	.col-sm-2 {
		width: 16.66666667%;
	}
	.col-sm-1 {
		width: 8.33333333%;
	}
	.col-sm-pull-12 {
		right: 100%;
	}
	.col-sm-pull-11 {
		right: 91.66666667%;
	}
	.col-sm-pull-10 {
		right: 83.33333333%;
	}
	.col-sm-pull-9 {
		right: 75%;
	}
	.col-sm-pull-8 {
		right: 66.66666667%;
	}
	.col-sm-pull-7 {
		right: 58.33333333%;
	}
	.col-sm-pull-6 {
		right: 50%;
	}
	.col-sm-pull-5 {
		right: 41.66666667%;
	}
	.col-sm-pull-4 {
		right: 33.33333333%;
	}
	.col-sm-pull-3 {
		right: 25%;
	}
	.col-sm-pull-2 {
		right: 16.66666667%;
	}
	.col-sm-pull-1 {
		right: 8.33333333%;
	}
	.col-sm-pull-0 {
		right: auto;
	}
	.col-sm-push-12 {
		left: 100%;
	}
	.col-sm-push-11 {
		left: 91.66666667%;
	}
	.col-sm-push-10 {
		left: 83.33333333%;
	}
	.col-sm-push-9 {
		left: 75%;
	}
	.col-sm-push-8 {
		left: 66.66666667%;
	}
	.col-sm-push-7 {
		left: 58.33333333%;
	}
	.col-sm-push-6 {
		left: 50%;
	}
	.col-sm-push-5 {
		left: 41.66666667%;
	}
	.col-sm-push-4 {
		left: 33.33333333%;
	}
	.col-sm-push-3 {
		left: 25%;
	}
	.col-sm-push-2 {
		left: 16.66666667%;
	}
	.col-sm-push-1 {
		left: 8.33333333%;
	}
	.col-sm-push-0 {
		left: auto;
	}
	.col-sm-offset-12 {
		margin-left: 100%;
	}
	.col-sm-offset-11 {
		margin-left: 91.66666667%;
	}
	.col-sm-offset-10 {
		margin-left: 83.33333333%;
	}
	.col-sm-offset-9 {
		margin-left: 75%;
	}
	.col-sm-offset-8 {
		margin-left: 66.66666667%;
	}
	.col-sm-offset-7 {
		margin-left: 58.33333333%;
	}
	.col-sm-offset-6 {
		margin-left: 50%;
	}
	.col-sm-offset-5 {
		margin-left: 41.66666667%;
	}
	.col-sm-offset-4 {
		margin-left: 33.33333333%;
	}
	.col-sm-offset-3 {
		margin-left: 25%;
	}
	.col-sm-offset-2 {
		margin-left: 16.66666667%;
	}
	.col-sm-offset-1 {
		margin-left: 8.33333333%;
	}
	.col-sm-offset-0 {
		margin-left: 0%;
	}
	.visible-xs {
		display: none !important;
	}
	.hidden-xs {
		display: block !important;
	}
	table.hidden-xs {
		display: table;
	}
	tr.hidden-xs {
		display: table-row !important;
	}
	th.hidden-xs,
	td.hidden-xs {
		display: table-cell !important;
	}
	.hidden-xs.hidden-print {
		display: none !important;
	}
	.hidden-sm {
		display: none !important;
	}
	.visible-sm {
		display: block !important;
	}
	table.visible-sm {
		display: table;
	}
	tr.visible-sm {
		display: table-row !important;
	}
	th.visible-sm,
	td.visible-sm {
		display: table-cell !important;
	}
}

.verticalAlignment{
	padding-top: 7px;
}

.badge-purple{
	background-color:#CC00CC; 
	color: white;
}

.overlay-transparent {
    position:absolute;
    bottom:0;
    left:0;
/*    background-color: grey;*/
    filter:alpha(opacity=50); /* IE */
    opacity: 0.5; /* Safari, Opera */
    -moz-opacity:0.50; /* FireFox */
    z-index: 10000;
    height: 100%;

    width: 100%;

    top: 0px;

    left: 0px;

}

.background-color-bright-blue{
	background-color: #D9EDF7
}
.table-hover > tbody > tr:hover {
  background-color: #f8f9ae !important;
  /*#ededed*/
}
.aptable.table tr.light:hover td, .aptable.table tr.dark:hover td {
	background-color: #f8f9ae !important;
}

.ap-input-like-select {
	border: 1px solid blue;
}

.font-italic {
	font-style: italic;
}

.ibox-tools {
	float: right;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ap-column-link {
	max-width: 300px;
}

.chosen-container, .select2-container {
	min-width: 160px !important;
}