@import "ui-helpers.css";

/* SAVERBOX JS Plugin stylesheet */
.saverbox-overlay {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.35);
	z-index: 9998;
}
.saverbox-overlay .saverbox-close-btn {
	position: absolute;
    right: 20px;
    top: 10px;
    color: #fff;
    font-weight: bold;
    z-index: 9999;
    font-size: 18pt;
    cursor:pointer;
}
.saverbox-overlay .saverbox-close-btn:hover {
	color:#efefef;
}
.saverbox-content {
	width: 430px;
	background:#fff;
	position: absolute;
	border:1px solid #b0b0b0;
	box-shadow: 0 2px 5px #666;
	margin: 0 auto;
	margin-top: 20px;
	z-index: 9999;
	top:0;
}
.saverbox-content .saverbox-list {

}
.saverbox-content .saverbox-list .saverbox-list-item {
	position: relative;
}
.saverbox-content .saverbox-list .saverbox-list-item:hover {
	background:#eaeaea;
}
.saverbox-content .saverbox-list .saverbox-list-item:not(:last-child) {
	border-bottom: 1px solid #efefef;
}
.saverbox-content .saverbox-list .saverbox-list-item > div {
	padding:5px;
	min-height: 60px;
}
.saverbox-content .saverbox-list .saverbox-list-item div img {
	max-height: 50px;
	max-width: 80px;
}
.saverbox-content .saverbox-list .saverbox-list-item .saverbox-details {
	margin:5px 0;
	position: absolute;
	right: 5px;
	bottom: 5px;
}


.saver-context-menu.v2 {
	border-radius: 8px;
    overflow: hidden;
    box-shadow: 3px 4px 15px #b0b0b0;
    font-family: 'Tahoma';
}
.saver-context-menu.v2 > ul.menu-content {
	border: 0px;
}
.saver-context-menu.v2 > ul.menu-content li {
	
}
.saver-context-menu.v2 > ul.menu-content li:not(:last-child) {
	
}
.saver-context-menu.v2 > ul.menu-content li a .menu-icon {
	float: inherit;
	margin-top: 0;
	margin-left: 0px;
    margin-right: 4px;
    text-align: center;
}
.saver-context-menu.v2 > ul.menu-content li a {
	padding: 4px 12px;
	display: flex;
	align-items: center;
}
.saver-context-menu.v2 > ul.menu-content li a:hover {
	
}

.saver-context-menu.v2 > ul.menu-content > li a ul.extended-menu {
	
}
.saver-context-menu.v2 > ul.menu-content > li:hover a ul.extended-menu {
	
}

.saver-context-menu.v2 > ul.menu-content > li:hover .arrow-right {
	
}

.saver-context-menu.v2 > ul.menu-content > li a ul.extended-menu li {

}
.saver-context-menu.v2 > ul.menu-content > li a ul.extended-menu li a {

}



.bootstrap-select.input-custom-2 > .btn .hide-on-select {
	display: none;
}

/*
*
*		LIGHT THEME styling ONLY
*
*/
.saverbox-overlay.light-theme {
	background:rgb(255,255,255,0.65);
}
.saverbox-overlay.light-theme .saverbox-close-btn {
	color: #005c7e;
}
.saverbox-content.light-theme {
    border: 1px solid #dfdfdf;
    box-shadow: 0 5px 15px #c9c9c9;
}
.saverbox-content.light-theme div#tabs-menu {

}
.saverbox-content.light-theme div#tabs-menu a.btn:not(:last-child) {
	border-right:1px solid #efefef;
}
.saverbox-content.light-theme div#tabs-menu a.btn { 
    background: transparent;
    color: #005c7e;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-bottom: 2px solid #efefef;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    padding: 5px 10px;
}
.saverbox-content.light-theme div#tabs-menu {
	margin-bottom: 10px;
}
.saverbox-content.light-theme div#tabs-menu a.btn.active,
.saverbox-content.light-theme div#tabs-menu a.btn:hover {
	background: #005c7e;
    color: #fff;
}

.saverbox-content.light-theme .custom-select {}
.saverbox-content.light-theme .custom-select:nth-child(4n+2),
.saverbox-content.light-theme .custom-select:nth-child(4n+3),
.saverbox-content.light-theme .custom-select:nth-child(4n+4){
	padding-left: 0;
}

.saverbox-content.light-theme .custom-select .selection {
	border: 1px solid #efefef;
	margin-bottom: 5px;
	padding: 5px 10px;
    min-height: 43px;
}
.saverbox-content.light-theme .custom-select .selection:hover,
.saverbox-content.light-theme .custom-select .selection.selected {
	background: #005c7e;
	color: #fff;
	cursor: pointer;
}
.saverbox-content.light-theme .custom-select .selection.selected:hover {
	background: #efefef;
    color: #005c7e;
}

.messages-box {	
    position: fixed !important;
    right: 40px;
    bottom:  10px;
    max-width: 220px;
    z-index: 99;
}
.messages-box .alert {
	width: 220px;
}

/*
	
	DATA Hint module

*/
.data-hint {
	position: absolute;
    padding: 5px 10px;
    background: #33414e;
    color: #fff;
    -webkit-border-radius: 5px;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius: 5px;
    -moz-border-radius-bottomleft: 0;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    z-index: 1000000000;
}

/*

	SAVERBox.inlineEditor module

*/
#inlineEditBox { 
	position: absolute; 
	z-index: 10000;
}
#inlineEditBox .arrow-left {
	position: absolute;
	left: 15px;
	top: 5px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 15px solid #33414e;
	border-bottom: 10px solid transparent;
}
#inlineEditBox .edit-body {
	border:1px solid #33414e;
	background: #fff;
	border-radius: 2px;
}
#inlineEditBox .btn {
	border-radius: initial;
    padding-left: 13px;
	padding-right: 13px;
}
#inlineEditBox .save-btn-holder,
#inlineEditBox .btn {
	height: 100%;
}
#inlineEditBox .inline-input {
    border-radius: 0;
    font-size: 9pt;
	font-family: "Arial";
}

/*

	BootBox - frameless

*/

.bootbox.modal.frameless {
	width:100%;
	padding-right: 0 !important;
	padding-left: 0 !important;
}
.bootbox.modal.frameless .modal-dialog {
	margin-top:0px;
	margin-bottom: 0px;
}
.bootbox.modal.frameless .modal-dialog .modal-content {
	overflow: hidden;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}
.bootbox.modal.frameless .modal-dialog .modal-content .modal-header {
	background:#f5f5f5 url(../m/img/bg.png) left top repeat;
	height:45px;
}
.bootbox.modal.frameless .modal-dialog .modal-content .modal-header button.bootbox-close-button {
	opacity: 0.5; 
}
.bootbox.modal.frameless .modal-dialog .modal-content .modal-header h4 {
	background: transparent;
}
.bootbox.modal.frameless .modal-dialog .modal-content .modal-body {
	padding: 0;
}

.bootbox.modal.frameless > .modal-dialog {
	transition: all 250ms ease-in;
}
.bootbox.modal.frameless .modal-dialog .modal-content .modal-body iframe {
	transition: all 250ms ease-in;
}

.bootbox.modal.frameless.max-wd-1080 .modal-dialog {
	max-width: 1080px;
}

.bootbox.modal.frameless.max .modal-dialog {
	width: 100%;
}
.bootbox.modal.frameless .modal-dialog .window-loader {
 	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
 }
div.star {
	display:inline-block; 
	width:15px; 
	height:15px; 
	background:url('../img/star.gif'); 
	background-position-y: 32px;
}


/*

	PopUp card

*/
.popup-card {
	background: #fff;
    min-width: 450px;
    border-radius: 2px;
    box-shadow: 0 5px 10px #ccc;
    font-family: 'Open Sans';
}
.popup-card .popup-card-body {}


.google-style-link {
	border: 1px solid #afafaf;
	background: #f6f6f6;
	display: inline-block;
	padding: 5px 13px;
	text-decoration: none;
	font-weight: normal;
	color: #000;
}

/*
	saver style buttons
*/
.saver-btn {
	border-radius: 3px;
	padding: 4px 10px;
	font-family: "Arial";
}

a.circle-button {
	border: 1px solid #ccc;
    display: inline-block;
    text-decoration: none;
    border-radius: 50%;
    padding: 1px 4px;
}
a.circle-button.success {
	border: none;
	background: #95b75d;
	color: #fafafa;
}
/*****************************/


table.saverbox-table {}
table.saverbox-table thead tr th,
table.saverbox-table tbody tr td {
	padding: 5px 10px;
}
table.saverbox-table thead tr th,
table.saverbox-table tbody tr.group-name td {
	color:#000;
	background: #f3f3f3;
	font-weight: bold;
}
table.saverbox-table tbody tr td {

}
table.saverbox-table thead tr th,
table.saverbox-table tbody tr:not(:last-child) td {
	border-bottom: 1px solid #dcdcdc;
}
table.saverbox-table thead tr th:not(:last-child),
table.saverbox-table tbody tr td:not(:last-child) {
	border-right: 1px solid #dcdcdc;
}


table tr.sort-arrows td:not(.ignore-sorting) {
	position: relative;
	padding-right: 15px !important;
	cursor: pointer;
}

table tr.sort-arrows td:not(.ignore-sorting)::before,
table tr.sort-arrows td:not(.ignore-sorting)::after,
table tr.sort-arrows td:not(.ignore-sorting)[data-order="asc"]::before,
table tr.sort-arrows td:not(.ignore-sorting)[data-order="desc"]::after {
	content: '';
	display: block;
	position: absolute;
	width: 0px;
	height: 0px;
	border: 4px solid transparent;
	right: 5px;
}

table tr.sort-arrows td:not(.ignore-sorting)::before {
	border-bottom-color: #ccc;
	top: 3px;
}

table tr.sort-arrows td:not(.ignore-sorting)[data-order="asc"]::before {
	border-bottom-color: #888;
}

table tr.sort-arrows td:not(.ignore-sorting)::after {
	border-top-color: #ccc;
	top: 13px;
}
table tr.sort-arrows td:not(.ignore-sorting)[data-order="desc"]::after {
	border-top-color: #888;
}

table tr.selected td,
table tr.selected:hover td {
	background: #ffffdf !important;
}
table tr.inactive > td,
table tr.inactive:hover > td {
	color: #bdbdbd;
}


.model-dialog.chat-modal {
	font-family: 'Open Sans', sans-serif;
}
.modal-dialog.chat-modal .modal-content {
    border-radius: 6px !important;
    overflow: hidden;
}
.modal-dialog.chat-modal .modal-content .modal-header {
	color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    padding: 15px 15px 10px;
}
.modal-dialog.chat-modal .modal-content .modal-header .modal-title {
	background: transparent;
	font-size: 13px;
	font-weight: 300;
}
.modal-dialog.chat-modal .modal-content .modal-body {
	padding: 0;
	font-family: 'Open Sans', sans-serif;
}
.modal-dialog.chat-modal .dataTables_wrapper {
	padding: 10px;
    background: #fff;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.modal-dialog.chat-modal .dataTables_wrapper .paginate_button.previous,
.modal-dialog.chat-modal .dataTables_wrapper .paginate_button.next {
	display: none;
}



.btn.btn-settings-style {
    border: 1px solid #efefef;
    border-radius: 3px;
    margin-bottom: 3px;
    padding: 2px 5px;
    font-size: 7.5pt;
}
.btn.btn-settings-style:hover {
	background: #456f93;
	color: #fafafa;
}

.wd-550 {
  width: 550px;
}

.wd-800 {
  width: 800px;
}

div.autosuggest {
	position: relative;
}
div.autosuggest div.autosuggest-items {
    position: absolute;
    z-index: 10;
    top: 24px;
    width: 100%;
    background: #fff;
    border: 1px solid #000;
    max-height: 240px;
    overflow: auto;
}
div.autosuggest div.autosuggest-items div.item {}
div.autosuggest div.autosuggest-items div.item:not(:last-child) {
	border-bottom: 1px solid #aaa;	
}

div.autosuggest div.autosuggest-items div.item a {
	display: block;
	padding: 5px 10px;
	cursor: pointer;
}


/*
	Custom patele
*/
.customPalette {
    position: absolute;
    top: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    right: -80px;
    width: 170px;
    box-shadow: 0px 10px 10px #d6d6d6;
    padding: 10px 10px 10px 10px;
    z-index: 1000;
}
.customPalette:not(.show){
	display: none;
}
.customPalette a.paleteColor {
	display: inline-block;
	width: 23px;
	height: 23px;
	border:1px solid #efefef;
	margin-right: 5px;
}
.customPalette a.paleteColor:nth-child(n+5){
	margin-right: 0;
}

.color-green {
    color: #95b75d;
}
.color-orange {
    color: #f0ad4e;
}
.color-grey {
	color: #797979;
}
.color-grey-light {
	color: #cacaca;
}

.cursor-pointer {
	cursor: pointer;
}


/*
	Loading-PopUp screen
*/
div.loading-popup {
	background-color: rgba(0, 0, 0, 0.25);
	position: fixed;
	display: flex;
	vertical-align: middle;
	text-align: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}
div.loading-popup div.loading-container {
	background: #fff;
	padding: 20px 25px 15px;
	border-radius: 10px;
	width: fit-content;
	width: -moz-fit-content;
	height: auto;
	height: -moz-fit-content;
	margin: auto;
}


div.loading-popup-white {
	background-color: #fff;
	position: fixed;
	display: block;
	padding-top: 10px;
	vertical-align: middle;
	text-align: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
}
div.loading-popup-white div.loading-container {
	width: fit-content;
	width: -moz-fit-content;
	height: auto;
	height: -moz-fit-content;
	margin: auto;
}

/*
	Sorting list
*/
ul.sorting-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.sorting-list li.ui-sortable-placeholder {
	background: #ecf6ff;
	border: 1px dashed #93b1ce;
}

/*
	Arrows list
*/
.arrows {
    border: 5px solid transparent;
    position: absolute;
    margin-left: 3px;
    margin-top: 5px;
}
.arrows.down {
    border-top: 7px solid #6f6f6f;
}

.dropdown-menu.al-10:after, 
.dropdown-menu.al-10:before {
	left: 10% !important;
}
.dropdown-menu.al-10 a.dropdown-item {
	display: block;
    text-decoration: none;
    padding: 7px 10px;
    font-weight: normal;
}
.dropdown-menu.al-10 a.dropdown-item:not(:last-child){
    border-bottom: 1px solid #efefef;
}
.dropdown-menu.al-10 a.dropdown-item:hover {
 	background: #005c7e;
    color: #fafafa;
 }

 span.copy-module-uid {
 	background: #d3e5e8;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 8pt;
 }
 span.copy-module-uid:hover {
 	background: #d6eef7;
    color: #0a77a0;
 	cursor: pointer;
 }

 span.copy-module-uid.disabled {
 	background: #b64645;
 	color: #fafafa;
 }
 span.copy-module-uid.disabled:hover {
 	cursor: not-allowed;
 }

 .text-wrap {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

 }

input.only-text {
	background: transparent !important;
    border: none;
    height: auto;
    padding: 0;
}
table.compact-table tr td {
	padding: 5px 0;
}

.align-middle {
	vertical-align: middle !important;
}
.no-radius {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

tr.red-row td {
	background: #fff0f0;
}

.text-decoration-none {
	text-decoration: none
}
.d-flex { 
	display: flex;
}
.flex-direction-column {
	flex-direction: column;
}
.justify-content-space-between {
	justify-content: space-between;
}
.justify-content-end {
	justify-content:  end;
}


.subrow-content:not(.active):not(.inverse) table tr:not(:last-child) {
	display: none;
}
.subrow-content:not(.active).inverse table tr:not(:first-child) {
	display: none;
}
.subrow-content.active.highlight,
.subrow-content.active {
	background: transparent !important;
}
.subrow-content.active table tr:hover td {
	background: #fdf9ce !important;
}

.subrow-content:not(.active) .hide-not-active {
	display: none;
}
.subrow-content.active .hide-when-active {
	display: none;
}


/*
	Input change style
*/
.re-calculated,
.changed-manually,
.changed-manually + .bootstrap-select > .btn {
	border-color: #fea223 !important;
}
input[type="checkbox"].changed-manually + ins.iCheck-helper {
    background: transparent !important;
    opacity: 1 !important;
    border: 1px solid #f49917 !important;
}


.blue-link-2 {
	text-decoration: none;
    font-weight: inherit;
    color: #005c7e !important;
}

.colors-list {}
.colors-list .color-item {
	cursor: pointer;
}
.colors-list .color-item.selected {
	border-color: #000;
}


/**
 * 
 * */
.tableview ul.debug-container {
    width: 30px;
    list-style: none;
}

.tableview ul.debug-container li {
    text-align: center;
    margin-bottom: 2px;
}

.tableview ul.debug-container li a {
    display: block;
    font-size: 9pt;
    cursor: pointer;
    color: #fefefe;
    background: #33414e;
    padding: 4px 6px;
}

.tableview ul.debug-container li:hover a {
    background: #5f9ea0;
}


/**
 * 	Hot fix for tableview.js for non layoyt.ini modules
 * */
.tableview ul.table-actions-container {
	padding: 0;
	margin: 0 0 6px 0;
	list-style: none;
	border: 2px solid #efefef;
	background: #fff;
}
.tableview ul.table-actions-container li {
	text-align: center;
	padding: 0;
	margin: 0;
}

.tableview ul.table-actions-container li:not(:last-child) a {
	border-bottom: 2px solid #efefef;
}

.tableview ul.table-actions-container li a {
	display: block;
    font-size: 9pt;
    cursor: pointer;
    padding: 4px 6px;
}
.tableview ul.table-actions-container li:hover a {
	background: #eaeaea;
}


/**
 * 	Files uploader
 * */
.files-list {
    text-align: left;
    position: relative;
}

.files-list .file-holder {
    float: left;
    position: relative;
    border: 1px solid #dfdfdf;
    margin: 5px;
    padding: 3px;
    width: 100%;
    max-width: 135px;
}

.files-list .file-holder .file-img {
    overflow: hidden;
    text-align: center;
}

.files-list .file-holder .file-img .actions-list {
    display: none;
}

.files-list .file-holder:hover .file-img .actions-list {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12pt;
    background: rgba(0,0,0,0.75);
}

.files-list .file-holder .file-img .actions-list a {
    padding: 5px;
    color: #fafafa;
    float: left;
}

.files-list .file-holder .file-img .actions-list a:hover {
    background: #c00;
}

.files-list .file-holder .file-img .actions-list a.preview:hover {
    background: #0c0;
}

.files-list .file-holder .file-img a img {
    height: 85px !important;
}

.files-list .file-holder .file-name {
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.75);
    color: #fafafa;
    padding: 3px 5px;
}


.mwi {
	max-width: initial;
}
.custom-modal:not(.backdrop-transparent) {
	background: rgba(0,0,0,0.15);
}