/*
Description: dataforseo-apps
Author: Vadym Borovok
Author URI: 
Date:2018-07-13
Modified Date:2018-07-13
*/

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
	white-space: normal;
}

.tabulator-header, .tabulator-headers {
	height: 70px;
}

.tabulator-col {
	height: 70px;
}

.tabulator-sortable {
	height: 70px;
}

.price-old {
	color: #b13131;
	text-decoration: line-through;
}

.price-new {
	color: green;
	margin-left: 10px;
	font-weight: 700;
}

.button {
	cursor: pointer;
}

html::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
html::-webkit-scrollbar-button:start:decrement,
html::-webkit-scrollbar-button:end:increment  {
	height: 10px;
	background-color: transparent;
}
html::-webkit-scrollbar-track-piece  {
	background-color: #E3E5E5;
	-webkit-border-radius: 16px;
}
html::-webkit-scrollbar-thumb:vertical {
	height: 10px;
	background-color: #5b657c;
	border: 1px solid #eee;
	-webkit-border-radius: 16px;
}

.tabulator .tabulator-header,
.tabulator .tabulator-header .tabulator-col {
	background-color: #F5F6FA!important;
	color: #5b657c;
	border-right: 1px solid #e3e5e5!important;
}
.tabulator-header-filter input {
	border: 1px solid #dfe1e5;
	border-radius: 2px;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-arrow {
	border-bottom: 6px solid #5b658c;
}
.tabulator .tabulator-tableHolder .tabulator-table,
.tabulator .tabulator-footer{
	color: #5b657c!important;
}
.tabulator-row .tabulator-cell {
	border-right: 1px solid #e3e5e5 !important;
}
.tabulator-row.tabulator-row-even {
	background-color: #F9FAFC;
}
/*.tabulator-cell input[type="button" i] {
	color: #5b657c!important;
	border: 1px solid rgb(91 101 123 / 20%)!important;
	border-radius: 2px!important;
	background: #ebedf3!important;
}*/
.button {
	color: #5b657c!important;
	border: 1px solid rgb(91 101 123 / 20%)!important;
	border-radius: 2px!important;
	background: #ebedf3!important;
}
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
	background: #f5f6fa!important;
	color: #5b657c!important;
}
.tabulator-row.tabulator-selectable:hover {
	box-shadow: inset 0 0 0 rgb(91 101 124);
	background: #ebedf3!important;
	color: rgb(91 101 124)!important;
	cursor: pointer;
}

.table-downloads {
    display: flex;
    justify-content: flex-end;
	align-items: center;
}

.table-downloads .table-downloads-button {
	margin-left: 5px;
    cursor: pointer;
    background-color: #fff;
    border: 2px solid #b2dd4c!important;
    color: #b2dd4c;
    font-size: 15px;
    font-family: Raleway,sans-serif;
    font-weight: 700;
    padding: 4px 15px;
    border-radius: 4px;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.table-downloads-button:hover {
    background-color: #b2dd4c;
    color: #ffffff;
}

#results {
    margin: 20px 0 20px 0;
}

.tabulator-calcs {
	font-weight: bold;
}

body .tabulator .tabulator-footer {
	padding: 0;
}

body .tabulator .tabulator-footer .tabulator-calcs-holder {
	margin: 0;
}

.expand-row {
	padding: 2px 5px;
	line-height: 1;
	margin-left: 3px;
	border-radius: 10em;
	transition: background-color 0.25s ease;
}

.expand-row:hover {
	background-color: #d6d4d4;
}


.selected-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 20px !important;
}

.selected-items-table th,
.selected-items-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.selected-items-table th {
    background-color: #b2dd4c;
    color: white;
    font-weight: bold;
}

.selected-items-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.selected-items-table tbody tr:hover {
    background-color: #f0f0f0;
}

.selected-items-table tr td:first-child {
    font-weight: 700;
}

.selected-items-table .remove-item {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
}

.selected-items-table .remove-item:hover {
    background-color: #c82333;
}

/* Banner */
.dfs-db-items-banner {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    background: #0062CE;
    color: white;
    padding: 15px 20px;
	margin: 0 auto;
	border-radius: 8px;
	width: 1200px;
	max-width: 90%;
    box-shadow: 0 0px 20px rgb(33 33 33 / 45%);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.dfs-db-items-banner.hidden {
    transform: translateY(100%);
}

.dfs-db-items-banner.hide-on-form {
    transform: translateY(150%);
}

.dfs-db-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dfs-db-banner-text {
    flex: 1;
}

.dfs-db-banner-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

#items-preview {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dfs-db-banner-button {
    background:#b2dd4c;
	border: 2px solid #b2dd4c;
	text-transform: uppercase;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.3s;
}

.dfs-db-banner-button:hover {
	background-color: #fff;
	color: #b2dd4c;
}
@media (max-width: 991px) {
    .dfs-db-banner-content {
    	flex-direction: column;
	}
	.dfs-db-banner-text strong,
	#items-preview {
    	text-align: center;
	}
}

@media (max-width: 768px) {
    .dfs-db-banner-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .dfs-db-banner-text {
        text-align: center;
		width: 100%;
    }
    
    .dfs-db-banner-button {
        width: auto;
        text-align: center;
    }
	

    .selected-items-table {
  	  	display: block;
    	width: 100%;
    	overflow-x: auto;
    	white-space: nowrap;
  	}

  	.selected-items-table thead,
  	.selected-items-table tbody,
  	.selected-items-table tr,
  	.selected-items-table th,
  	.selected-items-table td {
    	white-space: nowrap;
  	}
}
}