@font-face {
  font-family: 'sofia_proregular';
  src: url('../fonts/sofiapro-regular-webfont.woff2') format('woff2'),
       url('../fonts/sofiapro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sofia_proregular, "Segoe UI", sans-serif;
}

html {
  height: 100%;
  width: 100%
}

body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  min-height: 100vh;
  max-width: 100vw;
}

h1 {
  display: inline-block;
  font-weight: normal;
  font-size: 36px;
  color: white;
}

h2 {
    font-style: normal;
    font-weight: normal;
    padding: 10px;
    color:#572d2d;
    font-size: 24px;
    background-color: lightgrey;
    width: 100%;
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;

  }

h3 {
    font-style: normal;
    font-weight: bold;
    padding: 10px;
    color:#572d2d;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

.mylink {
  color: black;
}
.mylink:hover {
  color: crimson;
}
.basicinput {
  font-size: 16px;
}

.title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #d30d2b;
  padding: 10px 16px;
}

.fleximage {
  max-height: 34px;
  max-width: 30%;
}
.svgimage {
  height: 34px;
  max-width: 100%;
}
.skuimage {
  max-width: 600px;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  background-color: #b80e29;
  padding: 0px 16px 0px 0px;
}

.navbar-loggedin {
  justify-content: space-between;
}
.navbar-loggedout {
  justify-content: flex-end;
}

.leftnav {
  display:inline-flex;
}

.navlink {
  text-decoration: none;
  font-weight: normal;
  font-size: 16px;
  padding: 5px 30px;
  border: 1px solid red;
  color: aliceblue;
  background-color: dimgrey;
  display: inline-block;
}
.navlink:hover {
  background-color: grey;
  color: black;
  cursor:pointer;
}

.navtext {
  display: inline-block;
  font-weight: normal;
  font-size: 14px;
  color: white;
  padding: 7px 0px;
}

.main {
  width: 100%;
  max-width: 1000px;
  margin: 0px;
  padding: 5px;
}
.mainloginpage {
  width: 100%;
  margin: 0px;
  padding: 0px;
}

p {
  line-height: normal;
}

.loginpanel {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.loginheading {
  display: inline-block;
  font-weight: bold;
  font-size: 48px;
  color:#572d2d;
  line-height: 2;
}

.loginbutton {
  display:inline-block;
  padding: 12px 64px;
  font-size: 16px;
  vertical-align:middle;
  overflow:hidden;
  text-decoration:none;
  color:white;
  background-color: #b80e29;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
  border-radius: 32px;
  border:1px solid #b80e29;
}
.loginbutton:hover {
  background-color: darkred;
  color: white;
  border:1px solid pink;
  cursor:pointer;
}

.logininput {
  width: 30%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  font-size: 16px;
  border-radius: 12px;
  background-color: lightgrey;
}

.orderinput {
  font-size: 16px;
}

.inputfield {
  font-size: 24px;
  text-align: center;
  text-align-last: center;
  background-color: white;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  color: #282828;
}
.inputfieldadmin {
  font-size: 16px;
  text-align: right;
  text-align-last: right;
  background-color: white;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  color: #282828;
}
textarea {
  resize: none;
  border-radius: 5px;
  border: 1px solid #ccc;
}

input[type=text]:focus {
  border: 1px solid cadetblue;
}

input[type=email] {
  font-size: 16px;
  text-align: center;
  text-align-last: center;
  background-color: white;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  color: #282828;
}

.errormsg {
  color: crimson;
}
.successmsg {
  color: green;
}

.center {
  margin: 0 auto;
}

.homelabel {
  text-align: right;
  font-size: 16px;
  display: inline-block;
  font-weight: bold;
}
.homesection {
  padding: 0px 5px;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: baseline;
  align-content: flex-start;

  border: 0px solid black;
}
.homesectionitem {
  flex: 1 1 auto;
}
.adminsection {
  padding: 0px 5px;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: baseline;
  align-content: flex-start;

  border: 0px solid black;
}
.adminsectionitem {
  flex: 1 1 auto;
}
.submitsection {
  padding: 0px 5px;
  width: 100%;
  max-width: 750px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: baseline;
  align-content: flex-start;

  border: 0px solid black;
}
.gobutton {
  padding: 5px 42px;
  font-size: 16px;
  vertical-align:middle;
  text-decoration:none;
  color:white;
  background-color: #b80e29;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
  border-radius: 10px;
  border:1px solid black;
}
.gobutton:hover {
  background-color: darkred;
  color: white;
  border:1px solid pink;
  cursor:pointer;
}
.gobuttonassoc {
  margin-bottom: 5px;
  padding: 5px 42px;
  font-size: 16px;
  vertical-align:middle;
  text-decoration:none;
  color:white;
  background-color: #b80e29;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
  border-radius: 10px;
  border:1px solid black;
}
.gobuttonassoc:hover {
  background-color: darkred;
  color: white;
  border:1px solid pink;
  cursor:pointer;
}
.adminbutton {
  margin-right: 5px;
  padding: 5px 5px;
  font-size: 16px;
  vertical-align:middle;
  text-decoration:none;
  color:white;
  background-color: #b80e29;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
  border:1px solid black;
}
.adminbutton:hover {
  background-color: darkred;
  color: white;
  border:1px solid pink;
  cursor:pointer;
}
.confirmbutton {
  margin-right: 5px;
  padding: 5px 30px;
  font-size: 16px;
  vertical-align:middle;
  text-decoration:none;
  color:white;
  background-color: #b80e29;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
  border:1px solid black;
  border-radius: 10px;
}
.confirmbutton:hover {
  background-color: darkred;
  color: white;
  border:1px solid pink;
  cursor:pointer;
}
.gridlabel {
  width: 100%;
  font-weight: bold;
  color: white;
  background-color: #b80e29;
  text-align:center;
}

.ordergrid {
  max-width: 750px;
  display: grid;
  grid-template-columns: 60px 2fr 3fr 100px;
  grid-row-gap: 2px;
}

.hideondesktop {
  display: none;
}

.qtyright {
  text-align: right;
}


.footer {
  margin-top: auto;
  background-color: black;
  height: 130px;
}

/* Start Loading Animation */
.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: rgb(89, 16, 16);
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* End Loading Animation */

@media only screen and (max-width: 600px) {
  .navlink {
    padding: 5px 10px;
  }
  .hideondesktop {
    display: inline-block;
  }
  .ordergrid {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
  }
  .ordergriditem {
    flex: 1 0 auto;
  }
  .orderinput {
    font-size: 20px;
  }
  .break {
  flex-basis: 1;
  width: 100%;
}
.flexorderlabel {
  width: 50px;
  font-weight: bold;
  text-align: right;
}
.flexorderitemspace {
  margin-bottom: 20px;
}

  .logininput {
    width: 95%;
  }

  .hideonmobile {
    display: none;
  }
  .skuimage {
    max-width: 100%;
  }
}
