.button-primary {
    background-color: #2A2A27;
    font-family: Courier, monospace, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 40px 15px 40px;
    display: inline-block;
    min-width: 250px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: bold;
}

#place_order {
    background-color: #92AD85;
    border: 1px solid #92AD85;
    font-family: Courier, monospace, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 40px 15px 40px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 30px auto 10px auto;
    display: block;
    min-width: 320px;
    max-width: 400px;
    cursor: pointer;
}

#place_order.inactive {
    background-color: #999999;
    border: 1px solid #999999;
    pointer-events: none;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

button.button-primary {
    min-width: 100%;
}

.button-primary.big {
    padding: 20px 40px 20px 40px;
}

.button-primary.small {
    padding: 5px 15px;
}

.button-primary.inactive {
    background-color: #999999;
    border: 1px solid #999999;
    pointer-events: none;
}

.button-primary.active {
    background-color: #92AD85;
    font-weight: bold;
    border: 1px solid #92AD85;
    cursor: pointer;
}

.button-primary.white {
    background: none;
    color: #2A2A27;
    border: 1px solid #283333;
    font-family: Arimo Bold, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.button-primary.loader:after {
    animation: spin 500ms infinite linear;
    border: 2px solid #fff;
    border-radius: 32px;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    content: "";
    display: block;
    height: 14px;
    top: 50%;
    left: 50%;
    margin: 0 auto;
    width: 14px;
}

.button-primary.loader {
    font-size: 0;
}

button.button-primary.loader {
    font-size: 0;
    display: block;
}

.add_to_cart_button {
    font-family: Courier, monospace, Arial, Helvetica, sans-serif;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 15px 0 15px 0;
    display: inline-block;
    text-align: center;
    min-width: 250px;
    width: 100%;
    background-color: #000;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.add_to_cart_button.loader:after {
    animation: spin 500ms infinite linear;
    border: 2px solid #fff;
    border-radius: 32px;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    content: "";
    display: block;
    height: 14px;
    top: 50%;
    left: 50%;
    margin: 0 auto;
    width: 14px;
}

.add_to_cart_button.loader {
    font-size: 0;
}

.add_to_cart_button_cs.loader:after {
  animation: spin 500ms infinite linear;
  border: 2px solid #000000;
  border-radius: 32px;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
  content: "";
  display: block;
  height: 14px;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  width: 14px;
}

.add_to_cart_button_cs.loader {
  font-size: 0 !important;
  width: 56px !important;
  height: 15px !important;
}

@media screen and (max-width: 812px) {
    #diagnostic .button-primary {
        width: calc(100% - 80px);
    }
}
