/* Customer Portal */

#customer-portal .reload {
    cursor: pointer;
}

#customer-portal .container {
    width: 100% !Important;
}

.cp-content-wrapper {
    align-items: center;
    align-self: stretch;
    border: 1px #f0f0f0 solid;
    position: relative;
    z-index: 1;
}

.cp-content-wrapper.active {
    border: 1px #404040 solid;
}

.cp-content-wrapper {
    margin-bottom: 20px;
}

.cp-content-wrapper:last-child {
    margin-bottom: 50px;
}

#customer-portal h2 {
    display: flex;
    letter-spacing: .025em;
    line-height: 30px;
    margin: 0 0 15px;
    text-transform: uppercase;
}

#customer-portal h1:after,
#customer-portal h2:after,
#customer-portal h3:after,
#customer-portal h4:after,
#customer-portal h5:after,
#customer-portal h6:after {
    background: url('../assets/img/bg-stripe-tile.png') -5px top;
    content: "";
    flex: 1;
    height: 16px;
    margin: auto 0 auto 20px
}

#customer-portal .cp-logout {
    border: 0 !important;
    width: 100%;
}

#customer-portal p {
    letter-spacing: .03em;
    line-height: 30px;
    margin: 0 auto 30px;
    text-align: justify;
}

/* Login, Registration and Profile Forms */

#wppb-login-wrap,
#wppb-register-user {
    border-radius: 4px 4px 0 0;
    margin: 0 auto;
    max-width: 600px;
    padding: 20px 30px;
}

#wppb-loginform {
    display: flex;
    flex-direction: column;
    position: relative;
}

.wppb-user-forms #wppb-loginform .login-username input,
.wppb-user-forms #wppb-loginform .login-password input[type="password"],
#wppb-register-user input[type="text"],
#wppb-register-user input[type="email"],
#wppb-register-user input[type="password"] {
    background: #edf0f2;
    border-color: #edf0f2;
    border-radius: 0;
    border-style: solid;
    border-width: 1px !important;
    color: #000;
    font-family: franklin-gothic-atf, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    letter-spacing: .025em;
    line-height: 24px !important;
    margin: 0 auto;
    outline: 0;
    padding: 7px 24px;
    transition: border-color .3s;
    width: 100%;
}

.wppb-user-forms input[type=submit] {
    background: #50677f;
    border: 0;
    -webkit-clip-path: polygon(100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 0, 100% 0);
    clip-path: polygon(100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 0, 100% 0);
    color: #fff;
    display: block;
    font-family: "Space Mono", monospace;
    font-size: 24px;
    letter-spacing: .1em;
    line-height: 32px !important;
    margin: 0;
    outline: 0;
    padding: 13px 34px 15px;
    text-align: center;
    text-transform: uppercase;
    width: calc(50% - 25px)
}

.wppb-user-forms input[type=submit]:hover {
    background: #3b3b3b;
}

.wppb-user-forms .login-register-lost-password {
    bottom: 5px;
    left: 50px;
    position: absolute;
}

#wppb-login-wrap {
    position: relative;
}

#wppb-login-wrap .login-submit {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

#wppb-login-wrap .login-submit:before {
    align-self: stretch;
    background: url('../assets/img/bg-stripe-tile.png') -3px top;
    content: "";
    display: block;
    height: inherit;
    width: 50%;
}

#wppb-login-wrap .login-password button img,
.wppb-form-field.wppb-default-password button img {
    filter: invert(1);
    position: relative;
    right: 10px;
}

#wppb-login-wrap .login-remember {
    order: 1;
    padding-bottom: 0;
}

/*#wppb-login-wrap .login-remember label,*/
.wppb-send-credentials-checkbox label {
    color: #fff;
    font-weight: 300;
}

.default_page_section .the-content .wppb-error {
    display: inline-block;
    margin: 0 auto 30px;
    text-align: center;
}

.general-page-content #wppb-register-user ul li:before {
    display: none;
}

.wppb-form-field h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 6px;
    margin-top: 5px;
}

.wppb-user-forms ul {
    display: flex;
    flex-wrap: wrap;
}

.wppb-user-forms ul li {
    width: 50%;
}

.wppb-user-forms ul li[class*="heading"] {
    width: 100%;
}

/* Tabs */
.cp-content-wrapper .tabs {
    display: flex;
}

.cp-content-wrapper .tab {
    background-color: #ddd;
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    margin-right: 5px;
    padding: 10px;
    transition: all .2s ease;
}

.cp-content-wrapper .tab.active {
    background-color: #000;
    color: #fff;
}

.cp-content-wrapper .tab-content {
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 5px;
    display: none;
    padding: 20px;
}

.cp-content-wrapper .tab-content:first-child {
    display: block;
}

/* Show the first tab content by default */
#customer-portal .tab-content[data-content="orders"] {
    display: block;
}

#customer-portal .dealer-info {
    margin-bottom: 40px;
}

#customer-portal .info {
    margin-bottom: 10px;
}

table.orders {
    border-collapse: collapse;
    margin-bottom: 40px;
    width: 100%;
}

table.orders th,
table.orders td {
    border: 1px solid #dddddd;
    font-size: 14px;
    padding: 8px;
    text-align: left;
    text-transform: capitalize;
}

table.orders tr:nth-child(even) {
    background-color: #f2f2f2;
}

table.orders th {
    background-color: #3b3b3b;
    color: white;
}

#customer-portal.sales_rep .dealer-info {
    margin-bottom: 10px;
}

#customer-portal.sales_rep .search-form {
    margin-bottom: 40px;
}

#customer-portal.sales_rep .search-form input[type="text"] {
    max-width: 300px;
    width: 100%;
}

#customer-portal.sales_rep .search-form input {
    margin-right: 10px;
    padding: 5px 10px;
}