/**
 * CSS Buttons Stylesheet
 *
 * Thanks to paulm for much of the content of the CSS buttons code
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: stylesheet_css_buttons.css,v 1.2 2009-10-06 09:21:51 stefan Exp $
 */

/* css buttons */
.cssButton, .cssButton:focus {
    display: inline-block;
    color: #ccc;
    background-color: #222;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    height: 3.2rem;
    line-height: 2.4rem;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    padding: 0.4rem 1.6rem 0.4rem 1.6rem;
    cursor: pointer;
    box-sizing: border-box;
}

.cssButton:hover {
    color: #eee;
    background-color: #444;
}

.cssButton:active {
    color: #eee;
    background-color: #222;
}

.cssButton:disabled {
    opacity: 0.7;
}

.buttonFixed {
    font-size: 12px;
}

.flexCenter {
    align-self: center;
}

.smallButton, .smallButton:focus, .smallButton:active {
    font-size: 1rem;
    font-style: normal;
    margin-top: 0.8rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    height: auto;
    margin-left: auto;
    margin-right: 0px;
    display: block;
}

.buttonRow {
    display: flex;
}

.buttonRow div {
    margin-right: 0.4rem;
}

input.ng-invalid {
        border-color: #444;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#enterAddressBook {
    max-width: 500px;
    box-sizing: border-box;
}

#createAccount {
    margin: auto;
    flex-direction: column;
    max-width: 500px;
    box-sizing: border-box;
}

#createAccountTab {
    display: flex;
    flex-direction: column;
    border: 1px solid #aaa;
    border-top: none;
    max-width: 500px;
    box-sizing: border-box;
    padding: 0.8rem 0.4rem 0.8rem 0.8rem;
}

.tabHeader {
    margin-top: 2rem;
    display: flex;
}

.accountLink {
    min-width: 16rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.accountTab {
    color: #444;
    background-color: #eee;
    font-size: 1.3em;
    border: 1px solid #aaa;
    border-right: none;
    padding: 0.8rem;
    margin: 0.8rem 0rem 0rem 0rem;
    box-sizing: border-box;
    width: 16rem;
    transition: background-color 0.3s ease;
}

.activeTab {
    background-color: white;
    border-bottom: none;
    margin-top: 0.7rem;
    transition: background-color 0.3s ease;
}

.accountTab:hover {
    background-color: #eee8;
}

.activeTab:hover {
    background-color: white;
}

.tabLine {
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #aaa;
    margin-top: 0.8rem;
    flex-grow: 1;
    max-width: 200px;
}

.tabInfo {
    color: #444;
}

#tabSubmit {
    margin-top: 1.2rem;
}

#notFound.ng-hide {
    transition:all 0.4s ease 0s;
    max-height: 0;
    opacity: 0;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

#notFound {
    color: #aa4400;
    transition:all 0.4s ease 0s;
    max-height: 3.2rem;
    opacity: 1;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

#isCompany {
    transition:all 0.3s ease 0s;
    max-height: 5rem;
    opacity: 1;
}

#isCompany.ng-hide {
    transition:all 0.2s linear 0s;
    max-height: 0rem;
    opacity: 0;
}

#coAddress {
    transition: all 0.6s ease 0s;
    max-height: 3em;
    opacity: 1;
}

#coAddress.ng-hide {
    max-height: 0rem;
    opacity: 0;
}

#coButton {
    box-sizing: border-box;
    transition: all 0.6s ease 0s;
    opacity: 1;
    width: 12rem;
}

#coButton.ng-hide {
    box-sizing: border-box;
    opacity: 0;
    padding: 0rem;
    margin: 0rem;
    width: 0rem;
}

.nogrow {
    flex-grow: 0 !important;
}

.inputHeader {
    margin: 1.2rem 0.8rem 0rem 0.8rem;
    color: #444;
}

.inputField {
    display: flex;
    margin: 0.4rem 0.8rem 0.4rem 0.8rem;
}

.tabForm {
    margin: 0rem 0.8rem 0.4rem 0.8rem;
}

.inputField > .cssButton, .inputField > input {
    box-sizing: border-box;
    margin: 0rem;
    margin-right: 0.4rem;
    flex-grow: 1;
}

.length1x, .length2x, .length3x {
    box-sizing: border-box;
    width: 8rem;
}

.length1x {
    flex-basis: 8rem;
}

.length2x {
    flex-basis: 16rem;
}

.length3x {
    flex-basis: 24rem;
}

.length4x {
    flex-basis: 32rem;
}

.accountTab:focus {
    outline: 0;
}

input:focus {
    outline: 0;
}

a:focus {
    outline: 0;
}

.cssButton:focus {
    outline: 0;
}

.search, .search:active, .cartToggle:active, .search:focus {
    color: black;
    background-color: #c4bc46;
}

.search:hover, .cartToggle:hover {
    color: black;
    background-color: #e5dc53;
}

.input_search {
    margin: 0rem;
    width: 12rem;
    height: 3.2rem;
    color: #222;
    font-size: 1.2rem;
    border: none;
    margin: 0rem;
    padding: 0rem 0.8rem 0rem 0.8rem;
    vertical-align: top;
}

td.attribElement {
    vertical-align: middle;
}

.attribElement > select {
    min-width: 14rem;
    max-width: 28rem;
	width: 100%;
}

#cartAdd {
    display: flex;
    margin: 1rem;
    align-self: center;
    min-width: 25rem;
}

#cartAdd > input[type="text"] {
	width: 4rem;
	flex: 0 0 3rem;
    text-align: center;
}

#cartAdd > input[type="submit"] {
	flex-grow: 1;
}

.back {
    float: left;
}

.forward {
    float: right;
}

.rugerSubmit {
    position: absolute;
    top: 347px;
    left: 384px;
    z-index: 20;
}

.paymentButton {
    font-weight: bold;
    padding: 1rem 1rem;
    border: 0.4rem solid #eee;
    font-size: 1.6rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.4rem;
    min-width: 20rem;
    max-width: 20rem;
    text-align: center;
}

.paymentButton:hover {
  border-color: #ada;
  color: black;
}
