@import url("bootstrap-grid.css");
@import url("elements.css");

:root {
   --color: #02DF79;
   --color-hover: #0CB768;
 }

/** STRUCTURE **/
body{
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--gray-dark);
  font-size: 14px;
}
html{
  overflow-x: hidden;
  overflow-y: scroll;
}
html, body{
  height: 100%;
  margin: 0;
  background: var(--light);
  position: relative;
}

.largura{
  padding-left: 5%;
  padding-right: 5%;
}
#wrapper{
  min-height: calc(100vh - 60px);
}
#content{
  padding-top: 150px;
  position: relative;
  transition: padding 0.2s ease-in-out;
}
#content .largura.no-sub-header{
  margin-top: -100px;
}

/**HEADER**/
#header{
  position: fixed;
  background: var(--gray-dark);
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 55px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: top 0.2s ease-in-out, left 0.2s ease-in-out;
}
#header .logo{
  margin-left: -15px;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
  transition: opacity 0.2s ease-in-out;
}
#header .logo:hover{
  opacity: .8;
}
#header .produto-2im a{
  text-decoration: none;
  display: block;
  color: #FFF;
}
#header .produto-2im a:hover{
  text-decoration: none;
  opacity: .8;
}
#header .produto-2im img{
  width: 22px;
}
#header .btn-user{
  margin-right: -15px;
}
#header .button-group > a{
  color: #FFF;
  line-height: 30px;
  display: inline-block;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 30px;
}
#header .button-group > a:hover, 
#header .button-group > a.active{
  text-decoration: none;
  background: rgba(255,255,255,.05);
}
#header .button-group .badge{
  position: absolute;
  background: var(--blue);
  color: #FFF;
  font-size: 8px;
  line-height: 8px;
  border-radius: 30px;
  padding: 5px;
  min-width: 18px;
  text-align: center;
  top: 3px;
  right: 3px;
  display: block;
}
#header #menu ul{
  display: inline-block;
}
#header #menu ul li{
  display: block;
  float: left;
  padding: 0 5px;
}
#header #menu ul li a{
  display: block;
  float: left;
  line-height: 30px;
  color: #FFF;
  padding: 0 20px;
  text-decoration: none;
  border-radius: 30px;
}
#header #menu ul li a:hover{
  background: rgba(255,255,255,.05);
}

#header #menu ul li.active a{
  line-height: 30px;
  background: rgba(255,255,255,.15);
}
.nav-up #header{
  top: -55px;
}

#sub-header{
  position: fixed;
  background: #FFF;
  top: 55px;
  left: 0;
  right: 0;
  z-index: 90;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: top 0.2s ease-in-out, left 0.2s ease-in-out;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.nav-up #sub-header{
  top: 0;
}

/**table**/
.default .button{
  margin-top: -5px;
  margin-bottom: -5px;
}

/**FOOTER**/
#footer{
  height: 60px;
  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;
}
#footer:before{
  display: block;
  content: "";
  height: 5px;
  background-size: 100%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
#footer .logo-2im{
  position: absolute;
  right: 25px;
  top: 50%;
  margin-top: -14px;
  float: right;
}

/**LOGIN**/
#page-login #wrapper{
  display: table;
  height: calc(100vh - 60px);
  width: 100%;
}
#page-login #wrapper:before{
  content: "";
  display: block;
  position: fixed;
  width: 100%;
  height: 50vh;
  background: var(--gray-dark);
}
#page-login #content {
  padding-top: 0;
  display: table-cell;
  vertical-align: middle;
}
#page-login #content > .largura{
  position: relative;
  z-index: 1;
}
.box-login{
  max-width: 400px;
  margin: 0 auto;
}
.box-login input:-webkit-autofill,
.box-login input:-webkit-autofill:hover, 
.box-login input:-webkit-autofill:focus, 
.box-login input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 0 white inset !important;
}
@-webkit-keyframes autofill {
    to {
        background: rgba(255,255,255,.1);
    }
}
.box-login input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

/**PEDIDO**/
#page-pedido #wrapper:before{
  content: "";
  display: block;
  position: fixed;
  width: 100%;
  height: 50vh;
  background: var(--gray-dark);
}
#page-pedido #content {
  padding-top: 0;
}

/**ERROR**/
#page-error #wrapper{
  display: table;
  height: calc(100vh - 60px);
  width: 100%;
}
#page-error #wrapper:before{
  content: "";
  display: block;
  position: fixed;
  width: 100%;
  height: 50vh;
  background: var(--gray-dark);
}
#page-error #content {
  padding-top: 0;
  display: table-cell;
  vertical-align: middle;
  height: 100%;
}
#page-error #content > .largura{
  position: relative;
  z-index: 1;
}

.img-error{
  background: url('../images/error.png') no-repeat center center;
  background-size: 100%;
  text-align: center;
  position: relative;
}
.img-error:before{
  position: relative;
  display: block;
  content: "";
  padding-bottom: 75%;
}
.img-error span{
  font-weight: bold;
  font-size: 50px;
  display: block;
  position: absolute;
  top: 28%;
  width: 100%;
}

/**BOX**/
.box{
  position: relative;
  background: #FFF;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:    0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow:         0px 0px 30px 0px rgba(0, 0, 0, 0.1);
}
.box h3{
  overflow: hidden;
  line-height: 28px;
}

#box-pagamento{
  max-width: 800px;
  margin: 0 auto;
}

/**buton table**/
.button-hover{
  white-space: nowrap;
}

img.sucesso{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  height: 200px;
}

/** MEDIA QUERIES **/    
@media only screen and (max-width: 2000px) {
} 
@media only screen and (max-width: 1400px) {
}
@media only screen and (max-width: 1199px) {
}
@media only screen and (max-width: 991px) {
}
@media only screen and (max-width: 960px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 640px) {
  #footer .logo-2im{
    display: none;
  }
}

@media only screen and (max-width: 575px) {
  #content{
    padding-top: 200px;
  }
  #content .largura.no-sub-header{
    margin-top: -150px;
  }
}
@media only screen and (max-width: 480px) {
}
@media only screen and (max-width: 320px) {
}