/*
Theme Name: Flatsome
Theme URI: http://flatsome.uxthemes.com/
Author: UX-Themes
Author URI: http://www.uxthemes.com/
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.4.0
Text Domain: flatsome
License: http://themeforest.net/licenses
License URI: http://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

h1 {
	display: flex;
	align-items: center;
}

h1 img {
	margin-right: 1em;
}

.plovi-button{
	padding: 0.5em;
	border: 1px solid black;
	margin-bottom: 1em;
	display: inline-block;
	border-radius: 15px;
	text-decoration: none;
	background: lightblue;
	color: black;
	margin-right: 0.5em;
}

td {
	word-wrap: break-word;
    word-break: break-all;
	max-width: 5vw;
}

th {
	max-width: 5vw;
	overflow: hidden;
}

.max_width{
	max-width: 15vw;
}

.middle_width{
	max-width: 7vw;
	text-align: center;
}

.sk-input{
	width: 100%;
}

.product_cards {
	display: flex;
    gap: 5px;
	flex-wrap: wrap;
	margin-bottom: 1em;
}

.product_card {
	background: lightblue;
    border-radius: 15px;
    padding: 0.5em;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.product_card div{
	margin-left: 1em;
	border-left: 1px soild black;
}

.product_card .name {
    width: 70%;
}

.product_card .prices{
	display: flex;
	align-items: center;
}

.product_card .delivered {
	text-align: right;
    margin-top: 1em;
}

.product_card .delivered button{
	width: 100%;
}

.finished {
	filter: grayscale(100%);
}

.finished {
	filter: grayscale(100%);
}

.finished button {
	pointer-events: none;
}

.finished input {
	pointer-events: none;
}

@media (max-width: 600px) {
	.statut_div{
		width: calc(100% - 30px);
	}
	
	.product_card .name {
		width: 100%;
	}
	
	.product_card {
		width: 100%;
		flex-wrap: wrap;
        justify-content: center;
	}
	thead {
		display: none;
	}
	
	tr {
		display: flex;
        flex-wrap: wrap;
        border-bottom: 3px solid;
        justify-content: right;
	}
	
	td {
		display: flex;
		flex: 0 0 50%;
        flex-wrap: wrap;
		max-width: none;
	}
	
	.max_width {
		flex: 0 0 100%;
		max-width: none;
	}
	.middle_width {
		flex: 0 0 100%;
		max-width: none;
	}
	
	.btn {
		width: 90%;
        margin-bottom: 1em !important;
	}
	
	.total_block .btn {
		width: 100%;
        /* margin-bottom: 1em !important; */
	}
	
	.btn-finish{
		
	}
}

.summary .product_list {
	display: flex;
	width: 300px;
	gap: 5%;
}

.summary .product_list .name {
	flex: 1 1 80%;
    border-bottom: 1px dotted;
    margin-top: 10px;
}

/* .summary .product_list .quantity { */
	/* flex: 1 1 20%; */
/* } */

/* .summary .product_list .price { */
	/* flex: 1 1 20%; */
/* } */

.summary .product_list .fullprice {
	flex: 1 1 15%;
    align-content: end;
	border-bottom: 1px dotted;
}

.order_total{
	position: fixed;
    top: 10px;
    background: yellow;
    padding: 1em;
    border-radius: 15px;
    border: 4px solid;
    right: 10px;
	z-index: 100000;
}

.order_total h2{
	margin:0px;
}

.order_total h3{
	margin:0px;
}

.table{
	display: table;
}

.row{
	max-width:none;
}

body{
	color: black;
}

.popup-background {
	position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.3);
    z-index: 99999999;
    top: 0px;
    left: 0px;
	backdrop-filter: blur(10px);
	display:none;
}

.popup {
	width: 50%;
    margin: auto;
    margin-top: 20vh;
    border: 1px black solid;
    padding: 1em;
    border-radius: 15px;
    background: white;
	
}

@media (max-width: 600px) {
	.popup {
		width: 80vw;
		margin-top: 10vh;
	}
}

.close{
	border: 1px solid black;
    padding: 0.2em;
    border-radius: 50px;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
	cursor: pointer;
}

.popup-content{
	margin-top: 2em;
    margin-left: 1em;
    margin-right: 1em;
}

td div {
	display: flex;
    align-items: center;
	height: 100%
}

td input {
	/* width: 60% !important; */
	/* margin-right: 1em !important; */
	/* margin-bottom: 0px; */
	/* margin-top: 0px; */
}

button{
	margin: 0px;
    height: 1.5em;
    font-size: 12px !important;
}

.delivery_head{
	display: flex;
    gap: 10px;
	margin-bottom: 0.5em;
    overflow-x: scroll;
}

.delivery_item a{
	color: white;
}

.delivery_item.active {
	font-weight: 900;
}

.delivery_item{
	padding: 0.3em;
}

.total_block{
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.block_hidden{
	display: none !important;
}

.statut_div {
	display: inline-block;
	cursor: pointer;
	height: 25px;
}

.statut_input{
	width: 17px;
}

.statut_apply_button{
	cursor: pointer;
	display:none;
	position: fixed;
    left: 5%;
    top: 10px;
    width: 90%;
    height: px;
    background: yellow;
    z-index: 999;
    text-align: center;
    color: black;
    padding: 0.5em;
    border-radius: 5px;
    border: 4px solid black;
}

#main{
	margin-bottom: 1em;
}

.kontragent_content{
	width: 100%;
}

.little_popup{
	border: 1px black solid;
    position: absolute;
    background: white;
    padding: 0.5em;
    border-radius: 5px;
    z-index: 10;
	display: none;
}

.select-car{
	margin-bottom: 5px;
}

#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 0.5s linear infinite;
}

/* Анимация кручения */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

 .dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-button {
	background-color: #e94242;
	color: white;
	border: none;
	cursor: pointer;
	border-radius: 5px;
	 width: 100%;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: white;
	border: 1px solid #ccc;
	min-width: 200px;
	box-shadow: 0 8px 16px rgba(0,0,0,0.2);
	z-index: 1;
	height: auto;
}

.dropdown-content div {
  padding: 10px;
  cursor: pointer;
}

.dropdown-content div:hover {
  background-color: #e7e7e7;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.add-option {
  border-top: 1px solid #ddd;
  font-weight: bold;
  color: #27ae60;
}

.address-dropdown{
	background: transparent !important;
    color: black;
}

.halfhidden{
	opacity: 0.5;
}

.count_city_all{
	position: absolute;
    left: -10px;
    top: -10px;
    background: red;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    border-radius: 30px;
    color: white;
    z-index: 100;
}

.delivery_item{
	position: relative;
	overflow: visible;
}

.delivery_head_roadmap{
	display: flex;
    gap: 15px;
	margin-bottom: 0.5em;
}

.income_fatura .form_content{
	display: flex;
    gap: 20px;
    align-items: end;
}

.close_docs_head{
	overflow: visible;
    gap: 10px;
}

.weight{
	color: black;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

.weight_alert{
	color: red;
}


.no_scroll{
	margin-top: 20px;
}

.filter_group{
	display: flex;
	gap: 10px;
}

.filter_field{
	
}

.table-bordered thead td, .table-bordered thead th{
	position: sticky;
    top: 0;
    background: black;
    z-index: 100;
}