/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 80px;
  font-size: 16px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
  text-align: right;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container {
  width: auto;
  max-width: 1080px;
  padding: 0 15px;
}
.container .text-muted {
  margin: 20px 0;
}

.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.login-panel {
    margin-top:25%;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.orderbtn {
    font-size: 25px;
    margin-right:20px;
    height: 200px;
    width: 47%;
}
.dwbtn {
    font-size: 25px;
    line-height: 1.8;
    margin-right:20px;
    padding: 30px;
}
.item-name {
    font-size:18px;
    font-weight:bold;
    display:block;
}
.item-source {
    margin-right:10px;
    min-width: 6em;
    display: inline-block;
}
table.amounttable {
    /*width: 30%;*/
}
table.amounttable td:nth-child(1) {
    text-align: center;
}
table.ordertable {
    width: auto !important;
}
table.amounttable th,
table.ordertable th {
    background-color: #eee;
    text-align: center;
}
table.ordertable td {
    vertical-align: middle !important;
}
.ordernum {
    width: 100px;
}

.shipping_box {
  margin: 0 auto;
}
.shipping_box .unit {
    min-width: 70px;
    padding: 10px 20px;
    font-size: 18px !important;
    font-weight: bold;
}
#shipping-date {
  font-size: 18px !important;
  font-weight: bold;
  padding: 10px 20px;
  height: 40px;
  background-color: #fff !important;
}


.btn {
  white-space: normal;
}

.staff_img {
  max-width: 80%;
  max-height: 130px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.point {
  font-size: 30px;
  font-weight: bold;
}
.point-update {
  font-size:13px;
}

#alert-deliv {
  diplay: none;
}

/* @media screen and (max-width:767px){ */
@media screen and (max-width:990px){
    input[type=text],textarea, select {
      font-size: 16px !important;
      /* transform: scale(0.8); */
    }
    .spshow {
        display: inline;
    }
    .pcshow {
        display: none;
    }
    .carousel .item {
        height: 200px;
        background-color: #777;
    }
    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        max-height: 100%;
    }
    table.ordertable {
        border: none;
        width: 100% !important;
    }
    table.ordertable thead {
        display: none;
    }
    table.ordertable tr {
        border-top: 1px solid #999;
        display: block;
        margin-bottom: 20px;
    }
    table.ordertable td {
        border-right: 1px solid #999;
        border-bottom: 1px solid #999;
        display: block;
        padding: 10px;
        text-align: right;
    }
    table.ordertable td.item {
        text-align: left;
        background-color: rgba(222, 222, 222, 0.8);
    }
    table.ordertable td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        padding-right:10px;
    }
    table.ordertable td.item::before {
        content: none;
    }

    .ordernum {
        width: auto;
    }
    .ordernum input {
        display: inline-block;
        width: 50%;
        right: 0;
        text-align: right;
    }
    table.amounttable {
        width: 100%;
    }
}
@media screen and (max-width:767px){
  input,textarea,select {
    font-size:16px !important;
  }
  form {
    margin-bottom: 50px;
  }
}
@media screen and (max-width:420px){
  .shipping_box {
    width: 100%;
  }
}
@media screen and (max-width:360px){
  .shipping_box {
    width: 100%;
    margin-bottom:10px;
  }
  h1 {
    font-size:26px;
  }
  h2 {
    font-size:22px;
  }
  h3 {
    font-size:18px;
  }
  h4 {
    font-size:16px;
  }
  #ui-datepicker-div {
    left: 0 !important;
  }
  .navbar-fixed-top {
    position: relative;
  }
  .page-header {
    margin: 0;
    padding: 0;
  }
}

@media screen and (min-width:768px){
    .spshow {
        display: none;
    }
    .pcshow {
        display: inline;
    }
}
