.table-bordered {border-radius: 0.25rem;}

.table-bordered tr th:first-child {border-top-left-radius: 0.25rem;}
.table-bordered tr th:last-child {border-top-right-radius: 0.25rem;}

/*.table-bordered thead th {border-radius: 0.25rem;}*/



.avatar .ui-icon {background-size: contain;}

.input-group-text {
  color: #fff;
  background-color: transparent;
  border-color: #ced4da;
}

.error {color: red;}

input.error {border-color: red !important;}
select.error {border-color: red !important;}


.ui-timepicker-container {z-index:9999 !important}

.select2-container {z-index:9999 !important}

.select2-search__field {z-index:99991 !important}

.select2-container .select2-selection--single {
	height: 40px;
	padding-top:5px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top:5px;
}

.day_wrapper {
	padding:0px 10px 0 10px; border:1px dotted silver; border-radius: 7px;
	 background: #e79b9b ; margin-bottom: 14px;
	position: relative;
}

.day_wrapper_active {
	background: #a4e1c6;
}

.day_wrapper .ttext_open {display:none}
.day_wrapper .ttext_closed {display:inline-block;}

.day_wrapper_active .ttext_open {display:inline-block;}
.day_wrapper_active .ttext_closed {display:none}


.accordion .acd-group .card-header.border-success .acd-heading:hover {
	color: #299429;
}

tr.bg-success th,
tr.bg-primary th 
{
	color: white;
}

.bg-gradient {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#54b849+0,299429+100 */
	background: #54b849 !important;
	background: -moz-linear-gradient(left,  #54b849 0%, #299429 100%) !important;
	background: -webkit-linear-gradient(left,  #54b849 0%,#299429 100%) !important;
	background: linear-gradient(to right,  #54b849 0%,#299429 100%) !important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#54b849', endColorstr='#299429',GradientType=1 ) !important;
}

.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu a.dropdown-item:focus, 
.top-bar .navbar .nav-right .nav-item.user-profile .dropdown-menu a.dropdown-item:hover {
    color: #32b432;
}


.bootstrap-duallistbox-container label {
    color: #32b432;
}

.bootstrap-duallistbox-container .btn-group .btn:focus, .bootstrap-duallistbox-container .btn-group .btn:hover {
    background-color: #32b432;
    border-color: #32b432;
}

.bootstrap-duallistbox-container .btn-outline-secondary {
    background-color: #32b432;
    border-color: #32b432;
}


.bootstrap-duallistbox-container .up, .bootstrap-duallistbox-container .down {
	width: 50%;
	box-sizing: content-box;
}

.bootstrap-tagsinput {
	display: block;
	box-shadow: none;
	line-height:2.1;
	padding: .375rem .75rem;
}

.tag.label {font-size: inherit !important;}


.preview {
	position: relative;	
}

#preview_buttons {
	background-image: url(/images/background-page.png);
	background-size: cover;
}

.preview_panels {
	min-height: 500px;
	height: calc(100vh - 320px); 
	overflow: auto;
}

.preview_panels .popup4lead_sticky-contact-buttons {
	display: none;
}

.preview_panels #popup4lead_popup_wrapper .popup4lead_sticky-contact-panel {
	height:fit-content;
}

.preview_panels #popup4lead_popup_wrapper .popup4lead_sticky-contact-panel label,
.preview_panels #popup4lead_popup_wrapper .popup4lead_sticky-contact-panel p {
	font-weight:inherit;
	color: inherit;
}

.preview_panels #popup4lead_popup_wrapper select {
	width: 100%;
	padding: 1rem 1.25rem;
	/*border-radius: 10px;*/
	border: 1px solid #FFFFFF;
	font-weight:inherit;
	font-family: inherit;
	font-style: inherit;
	
}

/*
.preview_panels #popup4lead_popup_wrapper .popup4lead_form-div-wrapper {
	margin-left: 25px;
	margin-right: 25px;
}

.preview_panels #popup4lead_popup_wrapper .popup4lead_text-div-wrapper {
	margin-left: 25px;
	margin-right: 0;
}
*/


.preview_mobile {
	border: 1px dashed silver;
	margin: 0 auto;
	width:428px;
	background-size: contain;

}


#preview_buttons.preview_mobile {
	background-image: url(/images/mobile-background.png);
	background-size: 100%;
	background-repeat: no-repeat;
	border:none;
	width: 460px; position:relative;

}


ul.ui-menu-icons {max-height: calc(100vh - 250px)}

ul.ui-menu-icons .ui-menu-item-wrapper {white-space: nowrap;}

.custom-file-label{ cursor:pointer}
	
/*	
.custom-file-label.success::after {
	background-color: var(--theme-color);
}

.custom-file-label.primary::after {
	background-color: var(--theme-color);
}
*/

.custom-file-label::after {
	background-color: var(--theme-color);
	color:white;
}

.custom-file-label:hover::after {
	background-color: var(--theme-color-hover);
}

tr.paused td:not(.n):not(.actions){
	color: red;
	text-decoration: line-through;
}

.dashboard_no_data {
	height: 350px; display: flex; align-items: center; justify-content:center;
}

.dashboard_no_data span::before {
	content: url("/images/triangle-exclamation.svg");
	position: absolute;
	margin-left: -25px;
	padding-top: 2px;
}

.popup4lead_error {display:none}

.dataTable span.dtr-data {white-space: normal;}


.checkbox.checbox-switch.checkbox-small label span { width: 44px; height: 22px;	}
.checkbox.checbox-switch.checkbox-small label span::before { width: 20px; height:20px; }
.checkbox.checbox-switch.checkbox-small label > input:checked + span::before { left: 21px; }

