html{
  overflow-x: hidden;
  overflow-y: scroll;
}
html, body{
  height: 100vh;
  margin: 0;
  position: relative;
  background-color: var(--lighter);
}
#wrapper{
  min-height: calc(100vh - 60px);
  margin-left: 200px;
  transition: margin 0.2s ease-in-out;
}
#wrapper.small{
  margin-left: 60px;
}
#content{
  position: relative;
  padding-top: 2.5rem;
}
.largura{
  position: relative;
  padding-left: 5%;
  padding-right: 5%;
}
#footer{
  margin-left: 0;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
  width: 100%;
  transition: width 0.2s ease-in-out;
  padding-left: 60px;
}
#footer:before{
  display: block;
  content: "";
  height: 5px;
  background-size: 100%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.page-login #wrapper{
  display: table;
  width: 100%;
  margin-left: 0;
}
.page-login #wrapper #content{
  display: table-cell;
  vertical-align: middle;
  padding-top: 0;
}
.page-login #footer{
  padding-left: 0;
}

#left{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 200px;
  z-index: 10;
  background: var(--color);
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0, 0.05);
  -moz-box-shadow:    0px 0px 30px 0px rgba(0,0,0, 0.05);
  box-shadow:         0px 0px 30px 0px rgba(0,0,0, 0.05);
  padding-top: 80px;
  transition: width 0.2s ease-in-out;

}
#left .abre-menu{
  display: block;
  z-index: 3;
  position: absolute;
  right: -15px;
  width: 30px;
  height: 30px;
  line-height: 26px;
  color: #FFF;
  background: var(--color);
  border: 3px solid #FFF;
  text-align: center;
  border-radius: 50%;
  top: 50px;
  transition: opacity .3s ease;
  opacity: 0;
}
#left:hover .abre-menu{
  opacity: 1;
}
#left .abre-menu:hover{
  background: var(--color-hover);
}
#left h3{
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 62px;
  background: url('../images/logo.png') center;
  background-size: auto 80%;
  background-repeat: no-repeat;
  text-indent: -9999px;
}
#left .menu{
  height: calc(100vh - 140px);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
#left .menu ul{
  display: block;
}
#left .menu ul li{
  display: block;
  padding: 5px 0;
}
#left .menu ul li a{
  display: block;
  line-height: 30px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration:none;
  padding: 5px 1rem;
  color: #FFF;
  border-left: 4px solid transparent;
  opacity: .5;
}
#left .menu ul li.active a{
  border-left: 4px solid #FFF
}
#left .menu ul li a > i{
  margin-right: .5rem;
}
#left .menu ul li a:hover{
  opacity: 1;
}
#left .menu ul li.active a{
  opacity: 1;
  background: rgba(255,255,255,.1);
}
#left .logout{
  position: absolute;
  bottom: 10px;
  left: 0;
  display: inline;
  line-height: 30px;
  font-weight: 600;
  text-decoration:none;
  padding: 5px 1rem;
  color: #FFF;
  width: 100%;
  border-left: 4px solid transparent;
}
#left .logout:hover{
  background: rgba(255,255,255,.1);
}
#left .logout i{
  margin-right: .5rem;
}

#left.small{
  width: 60px;
  text-align: center;
}
#left.small h3{
  position: absolute;
  top: 2px;
  left: 2px;
  width: 56px;
  height: 56px;
  line-height: 60px;
  background: url('../images/icone.png') center;
  background-size: 100%;
  text-indent: -9999px;    
}
#left.small .menu ul li a{
  display: inline-block;
  border: none;
  width: 40px;
  padding-left: 0;
  padding-right: 0;
  border-radius: 4px;
}
#left.small .menu ul li a > span{
  display: none;
}
#left.small .menu ul li a > i{
  margin-right: 0;
}
#left.small .logout{
  display: inline-block;
  border: none;
  width: 40px;
  padding-left: 0;
  padding-right: 0;
  border-radius: 4px;
  left: 10px;
}
#left.small .logout span{
  display: none;
}
#left.small .logout > i{
  margin-right: 0;
}
#left .abre-menu span{
  display: none;
}
#left.small .abre-menu i:before{
  content:"\f105"
}

#header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background:#FFF;
  z-index: 9;
  padding: 14px 15px 0 15px;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0, 0.05);
  -moz-box-shadow:    0px 0px 30px 0px rgba(0,0,0, 0.05);
  box-shadow:         0px 0px 30px 0px rgba(0,0,0, 0.05);
  transition: top .3s ease;
}
#header .busca{
  width: 30%;
  margin-left: 60px;
  position: relative;
}
#header .busca:before{
  position: absolute;
  left: 15px;
  top:11px;
  content: "\f002";
  display: block;
  font-family:"Font Awesome 5 Pro";
  font-weight:300;
  z-index: 1;
}
#header .busca .input{
  padding-left: 40px;
  border-radius: 40px;
}
.nav-up #header{
  top: -70px;
}
#header .menu ul{
  display: inline-block;
}
#header .menu ul li{
  display: inline-block;
}
#header .menu ul li a{
  display: inline-block;
  line-height: 30px;
  font-weight: 600;
  text-decoration:none;
  padding: 0 20px;
  color: var(--text);
}
#header .menu ul li a:hover,
#header .menu ul li a.active{
  color: var(--color);
}
#header .user-image{
  display: inline-block;
  background-size: cover;
  overflow: hidden;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  vertical-align: middle;
  margin-right: 5px;
}
#header .user-image img{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
#header a:hover .user-image{
  border-color:var(--color);
}


.footer-buttons{
  position: sticky;
  bottom: 0;
  left: 60px;
  right: 0;
  padding: 10px 0 30px 0;
  background: -moz-linear-gradient(0deg, rgba(249,249,249,1) 0%, rgba(249,249,249,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(249,249,249,1) 0%, rgba(249,249,249,0) 100%);
  background: linear-gradient(0deg, rgba(249,249,249,1) 0%, rgba(249,249,249,0) 100%);
  z-index: 5;
}


/**BOX**/
.box{
  position: relative;
  background: #FFF;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0, 0.05);
  -moz-box-shadow:    0px 0px 30px 0px rgba(0,0,0, 0.05);
  box-shadow:         0px 0px 30px 0px rgba(0,0,0, 0.05);
  border-radius: 20px;
}
.box-login{
  max-width: 400px;
  margin: 0 auto;
  border-left: 30px solid var(--color);
}
.box-login .icon{
  position: absolute;
  font-size: 100px;
  right: 10px;
  top: 10px;
  opacity: .05;
}
.equal-height .box,
.equal-boxes .box {
  min-height: calc(100% - 1.5rem);
}
.equal-height .box.mb-0,
.equal-boxes .box.mb-0 {
  min-height: 100%;
}

/**DASHBOARD**/
.scroll-config .carousel-cell{
  width: 100%;
}
.scroll-config .flickity-page-dots{
  bottom: 10px;
}
.scroll-config .flickity-page-dots .dot{
  background-color: #FFF;
}


.fotos-produto .add-photo{
  cursor: pointer;
}
.fotos-produto .add-photo:hover{
  border-color: var(--gray);
  background-color: var(--light);
}
.fotos-produto ul li{
	display: inline-block;
	width: 100px;
	height: 100px;
	line-height: 95px;
	border:1px solid var(--border);
	-moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  position: relative;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 5px;
}
.fotos-produto ul li.active{
	border-color: var(--color);
}
.fotos-produto ul li a{
	background:#FFF;
	border-left:1px solid var(--border);
	border-bottom:1px solid var(--border);
  width: 30px;
  text-align: center;
  color: var(--gray);
  display: none;
}
.fotos-produto ul li:hover a{
  display: block;
}
.fotos-produto ul li a:hover{
	color: var(--gray);
}
.fotos-produto ul li a.excluir{
	position: absolute;
	right: 0;
	top: 0;
	line-height: initial;
	padding: 5px;
}
.fotos-produto ul li a.destacar-foto{
	position: absolute;
	right: 30px;
	top: 0;
	line-height: initial;
	padding: 5px;
}
.fotos-produto ul li.active a.destacar-foto{
	color: var(--yellow);
	cursor: default;
}
.fotos-produto ul li img{
	display: inline-block;
	vertical-align: middle;
	max-width: 90%;
	max-height: 90%;
}



/* IMAGEM UPLOAD */
.imagem-upload{
	position: relative;
	text-align: center;
	height: 196px;
}
.imagem-upload img{
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	right: 0;
	margin:auto; 
	height: 100%;
}
.imagem-upload .upload-foto{
	position: absolute;
  cursor: pointer;
	top: 0;
	left: 0;
	width: 100%;
	height: 196px;
	z-index: 2;
	padding: 0;
	border: none;
	background: none;
	overflow: hidden;
}
.imagem-upload .upload-foto .dz-message {
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 60px;
  line-height: 20px;
  padding: 10px 0;
  overflow: hidden;
  display: none;
  background: rgba(255,255,255, .8)
}
.imagem-upload .upload-foto:hover .dz-message{
   display: block;
}
.imagem-upload .upload-foto .dz-preview{
  display: none;
}

/** Custom Legend**/
.custom-legend .item-hover{
  transition: all 0.2s ease-in-out;
}
.custom-legend:hover > .item-hover{
  opacity: .5;
}
.custom-legend:hover > .item-hover:hover,
.custom-legend > .item-hover.active{
  opacity: 1;
  background: var(--light);
  margin-right: -1.5rem;
  margin-left: -1.5rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/**INPUT MOEDA**/
.input.moeda{
  min-width: 65px;
}
/**LISTA ATRIBUTOS**/
.lista-atributos .editar{
  cursor: pointer;
}
.lista-atributos .editar .dz-preview{
  display: none;
}
.lista-atributos .editar:before{
  content: "\f040";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  color: var(--color);
}

/**VENDAS**/
.nova-venda{
  position: fixed;
  bottom: 30px;
  right: 15px;
  padding: 1rem 15px;
  background:var(--color);
  color: var(--text-white);
  text-align: center;
  border-radius: 23px;
  z-index: 9;
}
.nova-venda i{
  vertical-align: middle;
}
.nova-venda span{
  width: 0;
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  transition: width 0.2s ease-in-out;
  vertical-align: middle;
}
.nova-venda:hover{
  background:var(--color-hover);
}
.nova-venda:hover span{
  width: 88px;
}

/**CONQUISTAS**/
.conquista{
  border-radius: 50%;
  width: 80px;
  position: relative;
  height: 80px;
  line-height: 80px;
  text-align: center;
  font-size: 35px;
  background: var(--color);
  display: inline-block;
  color: white;
}
.conquista:before{
  border: 2px solid #FFF;
  width: 96%;
  height: 96%;
  content: "";
  position:absolute;
  left: 2%;
  top: 2%;
  border-radius: 50%;
}
#conquistas-list .o-5:hover{
  opacity: 1;
}

.trofeu{
  margin-top: -60px;
}
/** MEDIA QUERIES **/    
@media only screen and (max-width: 2000px) {
} 
@media only screen and (max-width: 1599px) {
  .trofeu{
    margin-top: 0;
  }
}

@media only screen and (max-width: 1199px) {
}

@media only screen and (max-width: 991px) {

}
@media only screen and (max-width: 960px) {
  #wrapper{
    margin-left: 60px;
  }
  #left{
    width: 60px;
    text-align: center;
  }
  #left .abre-menu{
    display: none;
  }
  #left .menu ul li a{
    display: inline-block;
    border: none;
    width: 40px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 4px;
  }
  #left .menu ul li.active a{
    border: none;
  }
  #left .menu ul li a > span{
    display: none;
  }
  #left .menu ul li a > i{
    margin-right: 0;
  }
  #left .logout{
    display: inline-block;
    border: none;
    width: 40px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 4px;
    left: 10px;
    border-left: none;
  }
  #left .logout span{
    display: none;
  }
  #left .logout > i{
    margin-right: 0;
  }
  #left .abre-menu i:before{
    content:"\f105"
  } 
  #left h3,
  #left.small h3{
    position: absolute;
    top: 2px;
    left: 2px;
    width: 56px;
    height: 56px;
    line-height: 60px;
    background: url('../images/icone.png') center;
    background-size: 100%;
    text-indent: -9999px;    
  }
}
@media only screen and (max-width: 767px) {
  #wrapper,
  #wrapper.small{
    margin-left: 0;
  }
  #content{
    padding-top: 100px;
  }
  #left,
  #left.small{
    bottom: initial;
    width: initial;
    height: 60px;
    right: 0;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 0;
    text-align: center;
  }
  #left .menu{
    max-height: initial;
    overflow-y: hidden;
    height: initial;
  }
  #left .menu ul li{
    border-bottom: 2px solid transparent;
    display: inline-block;
    height: 60px;
    padding-top: 10px;
  }
  #left .menu ul li.active{
    border-bottom: 2px solid #FFF;
    border-right:initial;
  }
  #left .menu ul li a{
    display: inline-block;
    border: none;
    width: 40px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 4px;
  }
  #left .menu ul li.active a{
    border-left: none;
  }
  #left .menu ul li a > span{
    display: none;
  }
  #left .menu ul li a > i{
    margin-right: 0;
  }
  #left .logout,
  #left.small .logout{
    display: inline-block;
    border: none;
    width: 40px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 4px;
    bottom: initial;
    left: initial;
    right: 10px;
    top: 10px;
  }
  #left .logout span{
    display: none;
  }
  #left .logout > i{
    margin-right: 0;
  }
  #left .abre-menu{
    display: none;
  }
  #left .abre-menu i:before{
    content:"\f105"
  }
  #footer{
    padding-left: 0;
  }

}

@media only screen and (max-width: 640px) {
}

@media only screen and (max-width: 575px) {
  
}

@media only screen and (max-width: 480px){
  #left .abre-menu{
    display: inline-block;
    position: relative;
    opacity: 1;
    margin: initial;
    left: initial;
    right: initial;
    top: initial;
    border: none;
    height: initial;
    width: initial;
    margin-top: 12px;
    border-radius: initial;
    text-decoration: none;
    padding: 5px 1rem;
    border-radius: 4px;
  }
  #left .abre-menu:hover{
    background: rgba(255,255,255,.1);
  }
  #left .abre-menu span{
    display: initial;
  }
  #left .abre-menu i{
    margin-right: .5rem;
  }
  #left .abre-menu i:before,
  #left.small .abre-menu i:before{
    content:"\f0c9"
  }
  #left .abre-menu.active i:before,
  #left.small .abre-menu.active i:before{
    content:"\f00d"
  }
  #left .menu{
    display: block;
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    background:var(--color);
    transition: top 0.2s ease-in-out;
  }
  #left.active .menu{
    top: 60px;
  }
  #left .menu ul,
  #left.small .menu ul{
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 60px);
    padding-bottom: 15px;
  }
  #left .menu ul li,
  #left.small .menu ul li{
    display: block;
    height: auto;
    padding: 0;
  }
  #left .menu ul li a,
  #left.small .menu ul li a{
    width: auto;
    display: flex;
    justify-content: flex-end;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  #left .menu ul li a > span,
  #left.small .menu ul li a > span{
    display: initial;
    margin-left: .5rem;
    width: 52%;
  }
}

@media only screen and (max-width: 370px) {

}

@media (min-width: 992px) {
}

@media print {
  html, body {
    width: auto;
    height: auto;
    background: #FFF;
    position: relative;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
}