@charset "utf-8";
    body {
      font-family: "Roboto", sans-serif;
  	  font-optical-sizing: auto;
	  font-size: 17px;
	  line-height: 28px;
      padding: 0px;
    }

	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		width:1050px;
	}

	.mb-3 {
		margin-bottom:10px!important;
	}
	#rubrikWrapper {
		width:24%;
		padding-top:5px;
		float:left;
	}
	#menyKnappWrapper {
		width:52%;
		float:left;
		display: flex;             
  		justify-content: center; 
	}
	#helpWrapper h4 {
		margin-top:50px;
	}
	#helpWrapper p {
		margin-bottom:0.4rem;
	}
	#helpWrapper h5 {
		margin-top:20px;
	}
	#logoutWrapper {
		width:24%;
		float:right;
	}

input[type="checkbox"] {
  transform: scale(1.3); 
  margin-right: 8px;
}

.check {
	width:100%;
	position: relative;
	height:auto;
}

.leftCheck {
	position: relative;
	width:30px;
	text-align: center;
	float:left;
	min-height: 40px;
}
.rightCheck {
	float:right;
}

    .product-box {
	  position: relative;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 10px;
	  width:986px;
    }

    .product-header {
      background-color: #f4f4f4;
      padding: 8px 14px;
	 /* padding-top: 8px;*/
      cursor: pointer;
	  height:auto;
      /*display: flex;*/
      /*align-items: center;*/
      /*justify-content: space-between;*/
    }

    .product-header span {
      font-weight: bold;
    }
	
	.webbKatalog {
		float:right;
		margin-right:20px;
	}

	.dept-filter {
		padding: 6px 10px;
		border: 1px #ddd solid;
		border-radius: 4px;
		text-decoration: none;
		background-color: #eee;
		margin-right: 10px;
    	line-height: 47px;
		white-space: nowrap;
		color: #000;
    	font-weight: 500;
	}

	.no-hyphen { 
		hyphens: none; 
}

#webKatVal {
	width:40%;
	float:right;
}

#all {
		width:15%;
		padding:0 0 0 4px;
		float:left;
	}

	#visaAntal {
	text-align: left;
    width: 45%;
    float: left;
}

.checkWebbKatalog {
	float:right;
	padding-right:20px;
}

	#categ {
		padding-left:26px;
		line-height: 14px;
	}

    .product-details {
      display: none;
      border-top: 1px solid #ccc;
    }

	.product-flikar {
      margin-top:30px;
    }
	  
	.links {
	  width:80%;
	  padding:4px;
	  padding-top: 7px;
	  float:left;
	  font-size:15px;
	  font-weight: 400;
	  padding-left: 30px;
	}

	.detalj-links {
	  width:100%;
	  padding:4px;
	  padding-left:0px;
	  float:left;
	  font-size:15px;
	  font-weight: 400;
	  margin-bottom: 13px;
	  margin-left: -15px;
	}

	.form-label {
    margin-bottom: .5rem;
    font-size: 14px;
	font-weight: 600;
	margin-top: 20px;
	}

	#flikar {
		border-bottom: 1px solid #ccc;
	}

    .links a {
      text-decoration: none;
	  padding: 4px 9px 4px 9px;
      margin-left: 8px;
      background-color: #666;
      color: #fff;
      border-radius: 6px;
    }

	.links a:hover, .detalj-links a:hover {
      background-color: #292929;
    }

	.detalj-links a {
	  text-decoration: none;
	  padding: 4px 12px 4px 12px;
      margin-left: 10px;
      background-color: #666;
      color: #fff;
      border-radius: 6px;
    }

    .checkboxes label {
      margin-right: 15px;
    }

	.btn-primary  {
		background-color:#2f67cb;
	}

	.delete {
		background-color: #c51818!important;
		color:#fff;
		font-size:0.875rem!important;
		padding:0.30rem 0.5rem
	}

	.spara {
		background-color: #0ab627!important;
		border: none!important;
	}

    .icons {
	  width:19%;
      float: right;
	  font-size:24px;
	  padding:5px 0;
    }

    .icons button {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      margin-left: 13px;
    }
#pil {
	width:25px;
	padding-left:3px;
	float:left;
	font-size: 17px;
	font-weight: 700;
}
#prodnamn {
	width:600px;
	float:left;
	font-size: 17px;
	font-weight: 700;
}
#prodspec {
	float:left;
	padding:10px;
	padding-left:40px;
	padding-top: 16px;
	width: 100%;
}
.topbard {
	position:absolute;
	top:0px;
	width:100%;
	background-color: #000;
	text-align: center;
	font-size:24px;
	color:#FFF;
	padding:15px;
	margin-bottom:25px;
	}
.storKnapp {
	width: 170px;
    height: 50px;
    background-color: #353535;
    font-size: 16px;
    text-align: center;
    padding-top: 17px;
    color: #FFF;
    border-radius: 6px;
    border: 0px solid #c5c5c5;
    float: right;
    margin-left: 15px;
    cursor: pointer;
    z-index: 9999;
	line-height: 17px;
}
.storKnappLeft {
	width:150px;
	height:50px;
	background-color: #717171;
	font-size:15px;
	text-align: center;
	padding-top:13px;
	color:#FFF;
	border-radius: 6px;
	border:0px solid #FFF;
	float:left;
	margin-left:15px;
	cursor: pointer;
	z-index: 9999;
}
.storKnappLeft:hover, .storKnapp:hover {
	background-color: #555;
}
/* #knappProdukter {
	display: none;
} */
.popup {
	position:absolute;
	width:400px;
	height:300px;
	padding:0;
	position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius:8px;
	box-shadow: 1px -1px 20px 1px rgba(0,0,0,0.43);
	-webkit-box-shadow: 1px -1px 20px 1px rgba(0,0,0,0.43);
	-moz-box-shadow: 1px -1px 20px 1px rgba(0,0,0,0.43);
	display: none; 
	z-index: 999;
	background-color: #ededed;
}
.innerBox {
	position:relative;
	width:100%;
	height:100%;
	display: flex;
  	justify-content: center; 
	flex-wrap: wrap; 
}
.popRubr {
	font-size: 28px;
	text-align: center;
	margin-top:70px;
	width:100%;
}

.popRubr2 {
	font-size: 28px;
	text-align: center;
	margin-top:40px;
	width:100%;
}
.popVal {
	margin-top:-30px;
	width:100%;
	text-align: center;
}
.radioVal {
	display:inline-block;
	margin-left:15px;
}
.syncKnapp {
	width:150px;
	height:40px;
	background-color: #717171;
	font-size:15px;
	text-align: center;
	padding:5px 15px 0 15px;
	color:#FFF;
	border-radius: 6px;
	border:0px solid #c5c5c5;
	cursor: pointer;
	z-index: 9999;
	margin: 40px auto;
}
#syncrubrik {
	text-align:center;
	width:100%;
}
#syncWrapper {
    text-align: center;
	padding-top:70px;
}
#syncResult h3 {
	font-size:16px!important;
}
#laddaUppWrapper {
	width:60%;
	max-width: 600px;
	height: 50%;
	max-height: 350px;
	z-index: 99999;
	padding: 35px;
	background-color: #fff;
	border-radius: 6px;
}
#exportBtn, #updateBtn, #bulkUpdate {
	width:150px;
	height:40px;   
	background-color: #000;
	font-size:15px;
	text-align: center;
	padding-top:5px;
	color:#FFF;
	border-radius: 6px;
	cursor: pointer;
	z-index: 9999;
}
#importVal, #updateVal {
	margin-top:-25px;
	margin-left:50px;
}

.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.btnx.danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 2px 8px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 18px;
    line-height: 1;
}

.btnx.danger:hover {
    background-color: #c82333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#columnDropdown {
	width:300px;
	margin-top:-37px;
	height: 35px;
	border: 1px solid #a9a9a9;
    border-radius: 4px;
	padding:0 15px;
}

#bulkValue {
	height: 35px;
	margin-top: -17px;
	border: 1px solid #a9a9a9;
}

#detaljrubrik {
	margin-top:60px;
}

.form-control {
	background-color: #efefef;
	font-weight: 500;
}

.form-label {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.4px;
}

/*Kategorifilter*/
.category-filters {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.category-filter-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-link {
    background-color: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-link:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
}

.category-link.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.clear-filter {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.clear-filter:hover {
    background-color: #c82333;
    color: white;
}

/* tabellen */
#filtabell td {
	padding-top:7px;
	padding-bottom:6px;
	border-bottom:1px #ccc dashed;
}

#filtabell td {
	font-size:15px!important;
}

#filtabell th {
	font-weight:400!important;
	font-size:14px!important;
}

#filtabell tr:nth-child(odd) {
    background-color:rgba(242, 242, 242, 1)!important;
}

#filtabell tr:first-child {
    background-color:#fff!important;
}

/* En-produkt filer */

#buttonWrapper {
margin-bottom:25px;
margin-top:130px;
position: relative;
}

.filKnapp {
width:160px;
height:34px;
background-color:#666!important;
color:#fff;
font-size:16px;
text-align: center;
padding-top:4px;
border-radius:6px;
float:left;
margin-right:20px;
text-decoration: none;
}

#filProduktWrapper {
position: relative;
padding:10px 20px;
border:1px #ccc solid;
border-radius:8px;
}

#filProduktWrapper::after {
    content: "";
    display: table;
    clear: both;
}

.filProduktRubrik1 {
width:15%;
font-size:14px;
float:left;
}

.filProduktRubrik {
width:27%;
font-size:14px;
float:left;
}

.filProduktText1 {
width:15%;
float:left;
margin-top:-5px;
font-size:16px;
}

.filProduktText {
width:27%;
float:left;
margin-top:-5px;
font-size:16px;
}

.filUppgiftWrapper {
position: relative;
margin-top:10px;
margin-bottom:10px;
overflow:visible;
}

.filboxWrapper {
width:33.3%;
float:left;
overflow:visible;
}

#colorFilbox1 {
background-color: rgba(129, 151, 49, 1);
}

#colorFilbox2 {
background-color: rgba(188, 119, 14, 1);
}

#colorFilbox3 {
background-color: rgba(65, 116, 162, 1);
}

#colorFilbox4 {
background-color: rgba(169, 68, 196, 1);
}

#colorFilbox5 {
background-color: rgba(177, 174, 17, 1);
}

#colorFilbox6 {
background-color: rgba(107, 107, 107, 1);
}

.colorFilbox {
width: 12px;
height: 51px;
float: left;
border-radius: 6px;
}

.filbox {
width:110px;
font-size:13px;
float:left;
margin-left:15px;
margin-top:-4px;
}

.filnamn {
font-size: 16px;
margin-left: 10px;
float: left;
margin-top: -5px;
width:200px;
display: flex;
flex-wrap: wrap;
gap: 5px;
min-height: 20px;
}

#dropWrapper {
position: relative;
margin-top:70px;
width:100%;
}

.dropBox {
width:154px;
height:154px;
float:left;
margin-right:20px;
}

.dropBox:last-child {
margin-right:0px;
}

#manual {
background-color:rgba(129, 151, 49, 1);
margin-left:0;
}

#broschyr {
background-color:rgba(188, 119, 14, 1);
}

#ritning {
background-color:rgba(65, 116, 162, 1);
}

#ce {
background-color:rgba(169, 68, 196, 1);
}

#elschema {
background-color:rgba(177, 174, 17, 1);
}

#reservdelslista {
background-color:rgba(107, 107, 107, 1);
margin-right:0;
}

	.dropBox {
        border-radius: 5px;
		color:#fff;
        padding: 20px;
		padding-top:37px;
        text-align: center;
        margin: 6px;
        min-height: 100px;
        background-color: #f9f9f9;
        transition: all 0.3s;
        position: relative;
    }
    .dropBox:hover {
        border: 8px solid #999;
        background-color: #f0f0f0;
    }
    .dropBox.drag-over {
        border: 8px solid #999;
        background-color: #e8f5e9;
    }
  /*   .dropBox.empty::after {
        content: 'Släpp filen här';
        color: #ffffff;
        font-size: 14px;
        display: block;
        margin-top: 10px;
    } */
    .dropBox.has-file {
        background-color: #e3f2fd;
        border-color: #2196F3;
    }
    /* .dropBox.has-file::after {
        content: 'Släpp fler här';
        color: #ffffff;
        font-size: 14px;
        display: block;
        margin-top: 10px;
    } */
	.dropBox.empty::after {
		content: 'Släpp filer här';  /* Ändrat från "filen" till "fil(er)" */
		color: #ffffff;
		font-size: 14px;
		display: block;
		margin-top: 10px;
	}

	.dropBox.has-file::after {
		content: 'Släpp filer här';  /* Uppdaterad text */
		color: #ffffff;
		font-size: 14px;
		display: block;
		margin-top: 10px;
	}
    .file-link {
        color: #2196F3;
        text-decoration: none;
        display: inline-block;
        margin-right: 5px;
        padding: 2px 5px;
        border-radius: 3px;
        transition: all 0.2s;
    }
    .file-link:hover {
        text-decoration: underline;
        background-color: #e3f2fd;
    }
    .file-item {
        /* display: inline-block; */
        margin-right: 10px;
        margin-bottom: 0px;
		font-size: 13px;
    	line-height: 14px;
		vertical-align: top;
    }

	/*Flera produkter */

	.product-checkbox {
		margin-left:6px;
		margin-top:3px;
	}

	/* Fillista */

	.fillist_label {
		width:31.5%;
		float:left;
		margin-right:1.5%;
		font-size: 13px;
		font-style: italic;
		color:#777;
		margin-bottom:-6px;
		margin-top:5px;
	}

	.fillist_namn {
		width:31.5%;
		float:left;
		margin-right:1.5%;
		font-size: 14px;
		margin-bottom:2px;
		margin-top:0px;
	}

	.fillist_label:nth-child(3),
	.fillist_namn:nth-child(3) {
		margin-right:0%;
	}

	#productListaWrapper {
		border:1px #999 solid;
		border-radius:8px;
		padding:10px;
	}

/* Husikon – utvald produkt på startsidan */
.homepage-featured-star {
    cursor: pointer;
    font-size: 24px;
    color: #ccc;
    line-height: 1;
    margin-left: 6px;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
    user-select: none;
}
.homepage-featured-star:hover {
    color: #2196F3;
    transform: scale(1.2);
}
.homepage-featured-star.active {
    color: #0c5691;
}
.homepage-featured-star.active:hover {
    color: #e53935;
}

.hf-counter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #c2c2c2;
    border: 1px solid #828282;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 13px;
    color: #343434;
    font-weight: 500;
    margin-left: 12px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
	float:right;
}
.hf-counter:hover {
    background: #e1e1e1;
}
.hf-counter.full {
    background: #e4e4e4;
    border-color: #828282;
    color: #343434;
}

/* Bilduppladdning */
 /* body { font-family: system-ui, sans-serif; margin: 40px; } */
    .dropzone {
      border: 2px dashed #14A9CD; border-radius: 12px; padding: 40px; text-align: center;
      transition: background 0.2s, border-color 0.2s; cursor: pointer;
    }
    .dropzone.highlight { background: #fff; border-color: #0d7fa0; }
    .dropzone small { color: #666; display:block; margin-top:.5rem;}
    #fileInput { display: none; }
    .btn { background:#14A9CD; color:#fff; border:0; padding:10px 16px; border-radius:10px; cursor:pointer; }
    .btn:disabled { opacity:.6; cursor:not-allowed; }
	.btn:hover { background:#000;color:#fff;};

    /* Modal */
    .modal-backdrop {
      position: absolute; inset: 0; background: rgba(151, 168, 201, 0.4);
      display: none; align-items: center; justify-content: center;
    }
    .modal {
      background: #fff; border-radius: 12px; max-width: 300px; width: 92%; padding: 20px;
      box-shadow: 0 10px 30px rgba(0,0,0,.2);
    }
    .modal header { font-weight: 700; margin-bottom: 8px; }
    .modal .list { max-height: 300px; overflow: auto; margin: 10px 0; }
    .modal .list li { margin: 6px 0; }
    .modal .actions { text-align: right; margin-top: 12px; }

	#resultlist li {
		text-align: center!important;
	}
/* /Bilduppladdning */










