:root {
    --roundness: 20px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input[type=button],button{
  padding:10px;
  margin:5px;
  font-size: 16px;
  border-radius: var(--roundness);
  border: 1px solid #000;
  transition: all 0.3s;
}
input[type=button]:not[disabled]:hover,button:not[disabled]:hover{
  filter: brightness(1.6);
}
input[type=button]:not[disabled]:active,button:not[disabled]:active{
  filter: brightness(0.2);
}

img {
  pointer-events: none;
}

a {
    color:yellow;
    text-decoration: none;
    transition: 0.6s;
}
a:hover{
    color:white;
}

body{
    background: #252525;
    background-image: url("../../images/bg.jpg");
    background-size:cover;
    background-attachment:fixed
}

#container{
    display: block;
    color:#FFF;
    padding:10px;
    margin: auto;
    width: 70%;
    position: relative;
    margin-bottom: 100px;
}

.left{
    display: block;
    width:50%;
    background: #333;
    border-radius: var(--roundness);
    padding:5px;
}
.full{
    display: block;
    width:100%;
    backdrop-filter: blur(8px);
    padding:5px;
}

#progressbar {
  background-color: black;
  border-radius: 13px; /* (height of inner div) / 2 + padding */
  padding: 3px;
}

#progressbar > div {
  background: rgb(82,154,133);
  background: linear-gradient(0deg, rgba(82,154,133,1) 33%, rgba(66,130,150,1) 87%, rgba(132,186,210,1) 95%, rgba(60,102,125,1) 100%);
   width: 0%; /* Adjust with JavaScript */
   height: 20px;
   border-radius: 10px;
}


.profile{
display: block;
position: relative;
text-align: center;
padding:10px;
}
.profile img{
    border-radius: 50%;
    width:100%;
    max-width:320px;
}

.noselect{
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.panel{
  display: flex;
}
.panel .promo:hover{
  transform: scale(1.1);
}
.wrap {
  flex-wrap: wrap;
}

.promo{
    display: inline-block;
    text-align: center;
    width:200px;
    min-height: 300px;
    margin:10px;
    padding:10px;
    background:#888;
    border-radius: var(--roundness);
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgb(15, 15, 15) 0%, rgba(33,33,33,1) 40%, rgba(60,60,60,1) 91%, rgba(48,48,48,1) 100%);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: ease all .5s;
}
.promo img{
  max-width:100%;
  max-height: 300px;
}
.queue{
  position: relative;
  min-height: unset;
  height: 200px;
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg, rgb(134, 134, 134) 0%, rgb(70, 70, 70) 40%, rgba(60,60,60,1) 91%, rgb(66, 66, 66) 100%);
}
.queue .header{
  background-color: #000;
  border-radius: var(--roundness);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin-bottom: 5px;
}
.queue h2{
  width: 100%;
  height: 50%;
}
.queue .status{
  padding: 3px;
  border-radius: var(--roundness);
  background-color: #ffffff;
  color: #000;
  font-weight: bold;
  margin: 3px;
  position: relative;
}
.queue .status.Accepted{ background-color: #519dc9;}
.queue .status.OnHold{ background-color: #c5a240;}
.queue .status.Cancelled,.queue .status.Declined{ background-color: #b82e2e;}
.queue .status.Finished{ background-color: #00d861;}

.queue .attrib{
  font-size: 16px;
  color: yellow;
  background-color: #007032;
  border-radius: var(--roundness);
  padding: 5px;
  position: absolute;
  left:5px;
  top:0px;
  border: 1px solid #fff;
}
.queue .attrib.rush{
  left:unset;
  right:10px;
  animation: pulse 2s infinite;
  background: #589bff;
  color:#000;
}
.queue.rush{
  -webkit-box-shadow: 0px 0px 20px 5px rgba(255,234,112,1);
  -moz-box-shadow: 0px 0px 20px 5px rgba(255,234,112,1);
  box-shadow: 0px 0px 20px 5px rgba(255,234,112,1);
}

.navbar a{
    border-radius: var(--roundness);
    font-size: 24px;
    display: inline-block;
    padding:10px;
    margin:10px;
    background:rgba(0, 0, 0, 0);
    transition: 0.5s;
}
.navbar a:hover{
    background: rgb(52, 51, 70,1);
}
.navbarmin{
  text-align: center;
  display: none;
  width: 100%;
}

#overlay{
    position: fixed;
    bottom:0;
    background:#000;
    width:100%;
    height:70px;
    z-index: 1000;
}
#overlay span{
  color:#FFF;
  text-align: center;
  float: right;
  margin: 10px;
}

.dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    top:50%;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.profilebtn{
    background-color: #272a3b;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
  from {
    -webkit-box-shadow:0px 0px 20px 3px rgba(252,208,119,0.9);
    -moz-box-shadow: 0px 0px 20px 3px rgba(252,208,119,0.9);
    box-shadow: 0px 0px 20px 3px rgba(252,208,119,0.9);
  }
  to {
    -webkit-box-shadow:0px 0px 20px 3px rgba(252,208,119,0.2);
    -moz-box-shadow: 0px 0px 20px 3px rgba(252,208,119,0.2);
    box-shadow: 0px 0px 20px 3px rgba(252,208,119,0.2);
  }
}


.smallicon{
    width:80px;
    border-radius: 50%;
}


  /* The container <div> - needed to position the dropup content */
  .dropup {
    position: relative;
    display: inline-block;
  }

  /* Dropup content (Hidden by Default) */
  .dropup-content {
    text-align: center;
    display: none;
    position: absolute;
    bottom: 50px;
    background-color: #000000;
    color:#FFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 5px;
    border-radius: var(--roundness);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .dropup-content .username{
    color:yellow;
  }

  /* Links inside the dropup */
  .dropup-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: #222222;
    color:#FFF;
  }
  .dropup-content a:first-of-type{
    border-top-left-radius: var(--roundness);
    border-top-right-radius: var(--roundness);
  }
  .dropup-content a:last-of-type{
    border-bottom-left-radius: var(--roundness);
    border-bottom-right-radius: var(--roundness);
  }

  /* Change color of dropup links on hover */
  .dropup-content a:hover {background-color: #444444;color:yellow;}

  /* Show the dropup menu on hover */
  .dropup:hover .dropup-content {
    display: block;
  }

  /* Change the background color of the dropup button when the dropup content is shown */
  .dropbtn {
    background-color: #222222;
    border: 1px solid #FFF;
    margin: 5px;
    border-radius: var(--roundness);
  }
  .dropup:hover{
    background-color: #000;
  }

/*
    Confirmation styles
*/
.popup-bg{
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width:100%;
  height:100%;
  z-index: 2000;
}
.popup-panel{
  text-align: center;
  min-height: 100px;
  min-width: 360px;
  width:360px;
  background: #888;
  border-radius: var(--roundness);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-panel p{
  background:#FFF;
  padding: 5px;
  margin:10px;
  border-radius: var(--roundness);
}
.popup-panel .yesbtn{
  color:#ffffff;
  background-color: #0c8d00;
}
.popup-panel .nobtn{
  color:yellow;
  background-color: #440000;
}

.popup-panel.error h2{
  color: yellow;
}
.popup-panel.error{
  background-color: #440000;
}
.popup-panel ul{
  list-style: none;
}
.popup-panel ul li{
  padding: 4px;
  margin-bottom: 3px;
  background-color: #a5a5a5;
  border-radius: var(--roundness);
}
.popup-panel.error ul li{
 background-color: #2b2b2b;
 color: #fff;
}
/*
    Profile page
*/
.userprofile img{
  border-radius: 50%;
}
.userprofile h1{
  margin-bottom: 10px;
}
.userprofile a{
  padding: 10px;
  background: #333;
  border: 1px solid #fff;
  border-radius: var(--roundness);
}
/* end profile */

/* 
    Priceguide 
*/
.priceguide section{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.priceguide section .header{
  flex-basis: 100%;
}
.priceguide .menutoggle{
  position: sticky;
  top:0;
  z-index: 5;
  background: rgba(0, 0, 0,0.7);
  text-align: center;
  border-radius: var(--roundness);
}
.priceguide h1,.priceguide h2,.priceguide h3{
  margin-bottom: 16px;
  margin-top: 16px;
  text-align: center;
}
.menutoggle a{
  display: inline-block;
  padding: 10px;
  background: #222222;
  border-radius: var(--roundness);
  border:1px solid #fff;
}
.menutoggle a:hover{ background: #505050; }
.menutoggle a:active{ background: #acacac25; }
.priceguide .priceitem{
  flex-direction: column;
  background: #444444;
  flex-basis: 300px;
  border-radius: var(--roundness);
  padding: 5px;
  margin: 5px;
  margin-top: 30px;
  min-height: 200px;
  position: relative;
  /*
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  */
}

.priceguide a{
  font-weight: bold;
}
.priceguide a:hover{
  transform: scale(1.1);
}

.priceitem h2 span{
  background: #1f90d198;
  color: yellow;
  border-radius: var(--roundness);
  border:1px solid #fff;
  padding: 5px;
  position: absolute;
  top:-20px;
  left:-10px;
  transform: rotate(-25deg);
}
.priceitem .attribs{
  display: flex;  
  flex-wrap: wrap;
  flex-direction: row;
  position: inherit;
  font-size: 16px;
  margin: 5px;
  align-items: center;
  justify-content: center;
}
.priceitem .itemdesc{
  border-top: 1px solid #fff;
  max-height: 100px;
  overflow-y: auto;
  padding: 5px;
}

.priceitem .itemimage{
  display: block;
  height:200px;
  width:200px;
  margin: 0 auto;
}
.itemimage img{
  width: 100%;
  height: 100%;
}

.aitem {
  font-weight: bold;
  background: #4f4b72;
  padding: 5px;
  margin: 3px;
  text-align: center;
  border-radius: var(--roundness);
  border: 1px solid #fff;
  font-size: 18px;
}
.aitem.stock{ background: #a06800; }
.aitem.nostock{ background: #000; }
.aitem.closed{ background: #8d0000; }
.aitem.discount{ background: #007032; }

/*
    end priceguide
*/

/*
    Notification styles
*/
.msgbox-container{
  display: block;
  position: fixed;
  margin: 5% auto;
  top:0;
  left: 0;
  right: 0;
  min-width: 360px;
  max-width: 600px;
  z-index: 2000;
}

.msgbox-base {
  border-radius: var(--roundness);
  border: 1px solid #000;
  background: #444444;
  color:#FFF;
  padding:10px;
  margin: 10px;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  animation-name: msgbox-blinkin;
  animation-duration: 1s;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 1);
}
.msgbox-base .title{
  background: #222222;
  margin:-10px;
  padding:10px;
  margin-bottom: 5px;
  border-top-left-radius: var(--roundness);
  border-top-right-radius: var(--roundness);
}

.FCStyle-error .title{
  background-color: #440000;
}

.terms ul{
  list-style: none;
  width:100%;
  color:#000;
  font-size: 18px;
}
.terms ul li{
  text-indent: 25px;
  padding: 10px;
  margin:10px;
  background-color: #a0a0a0;
  border: 1px solid #fff;
  border-radius: var(--roundness);
}
.terms ul li:nth-child(even){
  background-color: #d8d8d8;
}
.important{
  animation: pulse 2s infinite;
  background-color: #7e1717 !important;
  color:yellow;
  padding: 3px;
  border-radius: var(--roundness);
}
.faq h2{
  flex-basis: 100%;
  background-color: #a0a0a0;
  border-radius: var(--roundness);
  padding: 10px;
  color:#000;
  margin-top: 20px;
}
.faq p{
  padding: 10px;
  margin: 5px;
  font-size: 18px;
}
.hiddenlist{
  transition: none;
}
.hiddenlist li{
display: inline-block;
text-indent: unset !important;
}

@keyframes msgbox-blinkin {
  from {filter: brightness(2);}
  to {filter: brightness(1);}
}
@media only screen and (max-width: 800px) {
    .navbar{display: none;}
    .navbarmin{display: block;}

    .promo{
        display: block;
        width: 100%;
    }
    .promo img{width: auto;}
    .panel{
      display: block;
    }
    #container{
      width: 100%;
    }
    body{
      background-image: none;
    }
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
    filter: brightness(1.0);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
    filter: brightness(1.2);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
    filter: brightness(1.0);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}