/*GENERAL ELEMENT*/
:root {
  --color: #ffc258;
  --colorhover: #ffce59;
}

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html,
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: rgb(5, 5, 5);
  font-weight: 600;
}
h1 {
  font-size: xx-large;/*TODO*/
}
h3 {
  font-size: medium;/*TODO*/
}

button,
submit, button:visited, submit:visited {
  background-color: var(--color);
  color: #000;
  padding: 12px 45px;
  border-radius: 24px;
  border: 1px solid var(--color);
  font-size: 16px;
}
button:hover,
submit:hover, button:active,
submit:active, button:focus, submit:focus {
  background-color: var(--colorhover);
  border: 1px solid var(--colorhover);
}

button.small {
  font-size: 70%;
  padding: 3px 10px;
}

submit[disabled],
button[disabled] {
  background-color: #ccc;
  color: #000;
  border: 1px solid #ccc;
  cursor: not-allowed;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px 18px;
  margin: 8px 0;
  border: 1px solid #252525;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="checkbox"]{
  width: 30px;
  height: 30px;
}

input[type="checkbox"]:checked {
  accent-color: var(--color);
  width: 30px;
  height: 30px;
}

.smal {
  font-size: 75%;
}

.fs_sitelogo{
  margin:10px 20px 20px 10px;
}

.fs-container {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  padding: 1%;
}

.fs-two-column-flex-container {
  display: flex;
  flex-direction: row;
}

.fs-two-column-first {
  width: 47%;
  margin-right: 2%;
  padding: 1%;
}

.fs-two-column-second {
  width: 47%;
  padding: 1%;
}

.fs-two-column-first-65 {
  width: 62%;
  margin-right: 2%;
  padding: 1%;
}

.fs-two-column-second-35 {
  width: 32%;
  padding: 1%;
}

.fs_feedback{
  margin:2%;
  border-top-color:var(--color) ;
}

/*KATEGORI & PRODUCT GRID*/
.fs_category_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 40px;
  margin: 50px auto;
  clear: both;
  max-width: 1200px!important;/*TODO*/
}

.fs_category_grid-box {
  padding: 2%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 2px;
  position: relative;
}

.fs_category_grid-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom:20px;
}

.fs_category_grid-image > img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}


/*PRODUCT GRID*/
.fs_product_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 40px;
  margin: 50px auto;
  clear: both;
  max-width: 1200px!important;/*TODO*/
}

.fs_product_grid-box {
  padding: 2%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 2px;
  position: relative;
  padding-bottom: 85px;
}

.fs_product_grid-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom:20px;
}

.fs_product_grid-image > img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.fa-trash-can {
  cursor: pointer;
}

.fs_price > p {
  margin-bottom: 0em;
}

.fs_price {
  text-align:center;
  font-weight: 600;
  font-size: 140%;
  margin-top:-20px;
  position: absolute;
  bottom: 65px;
  width: 100%;
}


.fs-minus{
		width:50px;
		height:50px;
		background:#f2f2f2;
		border-radius:4px;
		padding:8px 5px 8px 5px;
		border:1px solid #ddd;
    display: inline-block;
    vertical-align: middle !important;
    text-align: center;
    cursor:pointer;
		}

    .fs-plus{
      width:50px;
      height:50px;
      background:#f2f2f2;
      border-radius:4px;
      padding:8px 5px 8px 5px;
      border:1px solid #ddd;
      display: inline-block;
      vertical-align: middle !important;
      text-align: center;
      cursor:pointer;
      }

	.fs_antal{
		height:50px !important;
    width: 100px !important;
    text-align: center;
    font-size: 24px;
		border:1px solid #ddd;
		border-radius:4px;
    display: inline-block;
    vertical-align: middle;
}

.fs_bottom{
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 601px) {
  .fs_antal{
		height:auto;
    padding-top:2px
  }
}

/*********SÄLJARE*************/

.fs-circle {
  border-radius: 50%;
  width: 15px;
  height: 15px;
  padding: 5px;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 15px;
  margin-right: 10px;
  display: inline-block;
  box-sizing: content-box;
}

#fs-copied {
  display: none;
  margin-top:-60px;
  right: 10px;
  width: 200px;
  height: 60px;
  border-radius:10px;
  text-align: center;
  padding-top:15px;
  border: 1px solid #555;
  background-color: #555;
  color:#FFF;
  position: absolute;
  z-index: 1;
}

#fs-copied::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 90%;
  margin-left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

@media screen and (max-width: 601px) {
  #fs-copied {
    top:30%;
    right: 20px;
    position: fixed;
  }
}

/*ADMIN CHILD*/
.fs-info-box {
  background-color: var(--color);
  border-radius: 5px;
  padding: 23px;
  margin: 7px 0 25px 0;
  max-width: 320px;
  width: 92%;
}

/*RESPONSIVE*/
@media screen and (max-width: 1000px) {
  .fs-two-column-flex-container {
    display: flex;
    flex-direction: column;
  }

  .fs-two-column-first {
    width: 98%;
    margin-right: 0;
  }

  .fs-two-column-second {
    width: 98%;
  }

  .fs-two-column-first-65 {
    width: 98%;
    margin-right: 0;
  }

  .fs-two-column-second-35 {
    width: 98%;
  }
}

/*********TABLE************/
.rwd-table {
  min-width: 300px;
  max-width: 100%;
  margin: 5px;
  color: #333;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 14px;
  border-collapse: collapse;
}

.rwd-table tr:first-child {
  border-top: none;
  background: var(--color);
  color: rgb(71, 70, 70);
}

.rwd-table tr {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background-color: #fefefe;
}

.rwd-table tr:nth-child(odd):not(:first-child) {
  background-color: #fafafa;
}

.rwd-table th {
  display: none;
}

.rwd-table td {
  display: block;
}

.rwd-table td:first-child {
  margin-top: 0.5em;
}

.rwd-table td:last-child {
  margin-bottom: 0.5em;
}

.rwd-table td:before {
  content: attr(data-th) " ";
  font-weight: bold;
  width: 120px;
  display: inline-block;
  color: #000;
  height: 100%;
}

.rwd-table td.block:before {
  content: attr(data-th) " ";
  font-weight: bold;
  width: 120px;
  display: block;
  color: #000;
  height: 100%;
}

.rwd-table th,
.rwd-table td {
  text-align: left;
}


.rwd-table tr {
  border-color: #bfbfbf;
}

.rwd-table th,
.rwd-table td {
  padding: 0.4em 1em;
}
@media screen and (max-width: 601px) {
  .rwd-table tr:nth-child(2) {
    border-top: none;
  }
}
@media screen and (min-width: 600px) {
  .rwd-table tr:hover:not(:first-child) {
    background-color: #fbfbfc;
  }
  .rwd-table td:before {
    display: none;
  }
  .rwd-table td.block:before {
    display: none;
  }
  .rwd-table th,
  .rwd-table td {
    display: table-cell;
    padding: 0.1em 0.5em;
  }
  .rwd-table th:first-child,
  .rwd-table td:first-child {
    padding-left: 0;
  }
  .rwd-table th:last-child,
  .rwd-table td:last-child {
    padding-right: 0;
  }
  .rwd-table th,
  .rwd-table td {
    padding: 0.6em !important;
  }
}
/*********TOOLTIP************/
.tooltip {
  position: relative;
  display: inline;
}

.tooltip .tooltiptext {
  display: none;
  width: 150px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
}

.tooltiptext a {
  color: #fff;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}


.tooltip .tableofContents {
  width: 190px;
  text-align: left;
  padding: 5px 4px;
  margin-left: -180px;
  font-size: 80%;
  line-height: 1.2em;
}

.tooltip .tableofContents::after {
  left: 95%;
}


/*********TAB********************/
.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3) {
  display: block;
}

.tabset > label {
  position: relative;
  display: inline-block;
  padding: 6px 15px 10px;
  border: 1px solid #ccc;
  border-top: 8px solid #ccc;
  border-radius: 8px 8px 0 0;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 400;
  background-color: rgb(235, 235, 235);
}

.tabset > label:hover,
.tabset > input:focus + label {
  background-color: #fff;
}

.tabset > input:checked + label {
  border-color: #ccc;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
  background-color: #fff;
  border-top: 8px solid var(--color);
}

.tab-panel {
  padding: 40px 10px;
  border-top: 1px solid #ccc;
}

.tabset {
  max-width: 1000px;
  margin: 40px 0;
}

/*********STATISTIC*************/
/* Pie Chart */
.progress-pie-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #949393;
  position: relative;
}
.progress-pie-chart.gt-50 {
  background-color: var(--color);
}

.ppc-progress {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 100px);
  top: calc(50% - 100px);
  width: 200px;
  height: 200px;
  clip: rect(0, 200px, 200px, 100px);
}
.ppc-progress .ppc-progress-fill {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 100px);
  top: calc(50% - 100px);
  width: 200px;
  height: 200px;
  clip: rect(0, 100px, 200px, 0);
  background: var(--color);
  transform: rotate(60deg);
}
.gt-50 .ppc-progress {
  clip: rect(0, 100px, 200px, 0);
}
.gt-50 .ppc-progress .ppc-progress-fill {
  clip: rect(0, 200px, 200px, 100px);
  background: #e5e5e5;
}

.ppc-percents {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 173.91304px / 2);
  top: calc(50% - 173.91304px / 2);
  width: 173.91304px;
  height: 173.91304px;
  background: #fff;
  text-align: center;
  display: table;
}
.ppc-percents span {
  display: block;
  font-size: 2.6em;
  font-weight: bold;
  color: var(--color);
}

.pcc-percents-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.progress-pie-chart {
  margin: 20px auto 10px;
}

.fs-salda-box {
  display: inline-block;
  background: var(--color);
  width: 20px;
  height: 20px;
  margin: 0 10px -5px 0px;
}
.fs-kvar-box {
  display: inline-block;
  background: #e5e5e5;
  width: 20px;
  height: 20px;
  margin: 0 10px -5px 20px;
}

/**********MENU*****************/
.menu {
  float: right;
  display: block;
  margin: 25px 20px 0px 0px;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.menu li {
  float: left;
}

.menu li button {
  margin-left:10px;
}

.menu li a {
  display: block;
  padding: 8px 18px;
  color: #070707;
  text-decoration: none;
  font-size: 18px;
}


.menu li a:visited {
  color: #070707;
  text-decoration: none;
}

.menu a:hover {
  color: #727272;
  text-decoration: none;
}

.menu a.active {
  font-weight: bold;/*TODO*/
  color: #3b3b3b;
  text-decoration: none;
}


.menu a.decno {
  text-decoration: none;
}

.hamburger {
  display: none;
}
.cross {
  display: none;
}

@media screen and (max-width: 1200px) {
  .menu {
    z-index: 1000000;
    width: 100%;
    position: absolute;
    left:0;
    text-align: center;
    display: none;
    border-top: #dddddd 1px solid;
    margin: 0px;
    padding: 0px;
  }
  .menu ul li {
    float: none;
    padding: 15px 20px 15px 20px;
    border-bottom: #dddddd 1px solid;
    background-color: #fff;
  }
  .menu li:hover {
    display: block;
  }
  .menu ul li a {
    margin: 0px;
    color: #666;
    text-decoration: none;
  }
  .menu ul li a:hover {
    color: #666;
    text-decoration: none;
  }
  .menu a {
    text-decoration: none;
    color: #666;
  }
  
  .menu a:hover {
    text-decoration: none;
    color: #666;
  }

  .menu li button {
    margin-bottom:-10px;
  }

  .hamburger {
    display: block;
    background: none;
    position: absolute;
    top: 5px;
    right: 40px;
    line-height: 45px;
    padding: 5px 15px 0px 15px;
    margin: 15px;
    color: #181818;
    border: 0;
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 10000000000000;
  }

  .hamburger:hover, .hamburger:focus {
    background: #fff;
    color: #181818;
    border: 0px;
  }
  .cross {
    background: none;
    position: absolute;
    top: 15px;
    right: 45px;
    padding: 7px 15px 0px 15px;
    margin: 15px;
    color: #181818;
    border: 0;
    font-size: 4em;
    line-height: 45px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 10000000000000;
  }

  .cross:hover, .cross:focus {
    background: #fff;
    color: #181818;
    border: 0px;
  }
}
