
#menu > #bt_account svg {
    color: #F02004;
    fill: #f0200415;
}

#admin_account > .max_width, #user_account > .max_width {
    max-width: 70rem;
}

/** FILTERS **/

#messages > .filters {
    max-width: 45rem;
    width: 100%;
}

#messages > .filters .title {
    font-size: 2.5rem;
    border-bottom: 1px dashed #E9E9E9;
    padding-bottom: 2rem;
    text-align: center;
}

#messages > .filters .subtitle {
    font-weight: bold;
    margin-bottom: 1rem;
}

#messages > .filters .close {
    margin: 3rem auto 0 auto;
}

#messages > .filters fieldset {
    border-bottom: 1px dashed #E9E9E9;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

#messages > .filters fieldset label {
    display: block;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}

#messages > .filters fieldset > div {
    display: flex;
}

#messages > .filters fieldset > div > div {
    width: 100%;
}

#messages > .filters fieldset > .from_to {
    gap: 1rem;
}

#messages > .filters fieldset input {
    padding: 0 2rem;
    margin: 0;
}

/** ACCOUNT **/

#account .status_0 {
    background-color: #A9A9A9;
}

#account .status_1 {
    background-color: #F0B104;
}

#account .status_2 {
    background-color: #04ADF0;
}

#account .status_3 {
    background-color: #7204F0;
}

#account .status_4 {
    background-color: #F02004;
}

#account .status_5 {
    background-color: #24B600;
}

#account .sort_by {
    background-color: #EEEEEE;
}

/** Account: header **/

#account > .container > header {
    align-items: center;
    border-bottom: 1px dashed #E9E9E9;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 2rem;
}

#account > .container > header > h4 {
    font-weight: bold;
}

#account > .container > header > h4 > * {
    display: inline-block;
    vertical-align: middle;
}

#account > .container > header > h4 > span {
    background-color: #656565;
    border-radius: 1rem;
    margin: 0.5rem;
    height: 0.75rem;
    width: 0.75rem;
}

#account > .container > header > h4 > a:hover {
    color: #F02004;
}

#account > .container > header > .session {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

#account > .container > header > .session > .active {
    background-color: #F02004;
    color: #FFFFFF;
}

#account > .container > header > .session > button {
    background-color: #F9F9F9;
    border-radius: 3rem;
    padding: 1rem;
    height: 4rem;
    width: 4rem;
}

#account > .container > header > .session > button > svg {
	-webkit-transition: color 0.25s ease;
	-moz-transition: color 0.25s ease;
	-o-transition: color 0.25s ease;
    transition: color 0.25s ease;
}

#account > .container > header > .session > .inactive:hover > svg {
    color: #F02004;
}

#account > .container > header > .session > button h5 {
    background-color: #FFFFFF;
    border-radius: 2rem;
    color: #A9A9A9;
    display: inline-block;
    opacity: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    white-space: nowrap;
    width: 0;
}

@media (hover: hover) and (pointer: fine) {

    #account > .container > header > .session > button:hover > h5 {
        border: 2px solid #A9A9A9;
        margin-top: 1.5rem;
        opacity: 1;
        padding: 0.75rem 1.5rem;
        -webkit-transition: opacity 0.5s ease;
        -moz-transition: opacity 0.5s ease;
        -o-transition: opacity 0.5s ease;
        transition: opacity 0.5s ease;
        width: auto;
    }
}

/** Account: Clients **/

#account .clients {
    margin-top: 3rem;
}

#account .clients .downloads {
    margin-bottom: 3rem;
}

#account .clients .downloads > button {
    margin: auto;
}

#messages .csv_files {
    border-bottom: 1px dashed #E9E9E9;
    padding: 2rem 0;
}

#messages .csv_files > button {
    font-weight: bold;
    padding: 0.75rem 0;
    margin: 0;
}

#messages .csv_files > button:hover {
    color: #F02004;
}

#messages .csv_files > button > span {
    display: inline-block;
    background-image: url(../../svg/file_1.svg);
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 0.5rem;
    height: 2.5rem;
    width: 1.5rem;
}

#messages .csv_files > button:hover > span {
    background-image: url(../../svg/file_2.svg);
}

#account .clients > table tr {
    cursor: pointer;
}

#account .clients > table td {
    padding: 1rem;
}

#account .clients > table th, #account .clients > table td {
    width: 30%;
}

#account .clients > table th:nth-child(3), #account .clients > table td:nth-child(3) {
    width: 20%;
}

#account .clients > table th:nth-child(4), #account .clients > table td:nth-child(4) {
    width: 20%;
}

#account .clients th:hover {
    background-color: #EEEEEE;
}

/** Account: Client info **/

#account .client_info {
    margin-top: 3rem;
}

#account .client_info > table td:nth-child(1) {
    font-weight: bold;
    max-width: unset;
}

#account .client_info > table td:nth-child(2) {
    width: 100%;
}

/** Account: Commerces **/

#account .commerce {
    border-bottom: 1px dashed #E9E9E9;
    cursor: pointer;
    margin-top: 3rem;
    padding-bottom: 3rem;
    text-align: center;
}

#account .commerce:hover > h4 {
    color: #F02004;
}

#account .commerce > h4 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

#account .commerce > h5 {
    color: #A9A9A9;
    line-height: 2rem;
}

/** Account: Products **/

#account .products > header {
    padding: 3rem 0;
}

#account .products > header > button {
    margin: auto;
}

#account .products > table div {
    border-radius: 2rem;
    padding: 1rem 2rem;
}

#account .products > table tr {
    cursor: pointer;
}

#account .products > table th:nth-child(5){
    text-align: center;
}

#account .products > table td {
    vertical-align: middle;
}

#account .products > table td:nth-child(5){
    color: #FFFFFF;
    text-align: center;
    width: 1%;
}

#account .products > table th, #account .products > table td {
    width: 14%;
}

#account .products > table th:nth-child(2), #account .products > table td:nth-child(2) {
    width: 30%;
}

#account .products > table th:nth-child(3), #account .products > table td:nth-child(43) {
    width: 20%
}

#account .products > table th:nth-child(5), #account .products > table td:nth-child(5) {
    width: 22%;
}

/** Account: Invoices **/

#account .invoices > header {
    padding: 3rem 0;
}

#account .invoices > header > button {
    margin: auto;
}

#account .invoices > header > .filtered {
    background-color: #F02004;
}

#account .invoices > table div {
    border-radius: 2rem;
    padding: 1rem 2rem;
}

#account .invoices > table tr {
    cursor: pointer;
}

#account .invoices > table th:nth-child(4){
    text-align: center;
}

#account .invoices > table td {
    vertical-align: middle;
}

#account .invoices > table td:nth-child(4){
    color: #FFFFFF;
    text-align: center;
    width: 1%;
}

#account .invoices > table th, #account .invoices > table td {
    width: 30%;
}

#account .invoices > table th:nth-child(1), #account .invoices > table td:nth-child(1) {
    width: 15%;
}

#account .invoices > table th:nth-child(4), #account .invoices > table td:nth-child(4) {
    width: 25%;
}

/** Account: Invoices > No invoices **/

#account .no_invoices {
    margin: 5rem 1rem 2.5rem 1rem;
}

#account .no_invoices > img {
    opacity: 0.15;
    margin: auto;
    max-width: 15rem;
    width: 50%;
}

#account .no_invoices > p {
    font-size: 1.8rem;
    line-height: 2.2rem;
    margin-top: 3rem;
    opacity: 0.4;
    text-align: center;
}

/** Account: Invoices > Order **/

#account .product_list .info {
    border-bottom: 1px dashed #E9E9E9;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 3rem 0;
}

#account .product_list .info > div {
    margin-right: 2rem;
}

#account .product_list .info .status {
    display: inline-block;
	border-radius: 2rem;
	color: #FFFFFF;
	padding: 1.1rem 2rem;
    margin-bottom: 2rem;
    white-space: nowrap;
}

#account .product_list .info .order {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#account .product_list .info .date > span {
    white-space: nowrap;
}

#account .product_list .tag > div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

#account .product_list .name {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#account .product_list .name > span {
    display: block;
    white-space: nowrap;
}

#account .product_list .name > .category {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
}

#account .product_list .subtotal {
    font-weight: bold;
    flex-shrink: 0;
}

#account .product_list .price {
    color: #A9A9A9;
    font-weight: normal;
    white-space: nowrap;
}

#account .product_list .total {
    font-size: 2.2rem;
    font-weight: 500;
    margin: 3rem auto 0 auto;
    text-align: center;
}

#account .product_list .cancel_order {
    border-radius: 3rem;
    color: #F02004;
    margin: 3rem auto 1.5rem auto;
    padding: 1.5rem 2rem;
    text-align: center;
}

#account .product_list .cancel_order:hover {
    background-color: #F9F9F9;
}

#account .registry > h4 {
    border-top: 1px dashed #E9E9E9;
    font-size: 2.2rem;
    font-weight: 500;
    margin: 4rem auto 2rem auto;
    padding-top: 2rem;
    text-align: center;
}

#account .registry > table th, #account .registry > table td {
    width: 35%;
}

#account .registry > table th:nth-child(2), #account .registry > table td:nth-child(2) {
    width: 30%;
}

/** Account: Update **/

#account .update p {
    padding: 3rem 0 5rem 0;
}

#account .update > hr {
    border-bottom: 1px dashed #E9E9E9;
    margin: 2.5rem 0;
}

#account .update > input[type=submit] {
    border-radius: 2.5rem;
    font-size: 1.6rem;
    line-height: 3rem;
    margin: 3rem auto 1rem auto;
}

/** RESPONSIVE **/

@media (max-width: 750px) {

    #admin_account > .max_width, #user_account > .max_width {
        max-width: none;
    }

    #admin_account .container, #user_account .container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 4rem 0;
    }

    #account > .container > header > .session > button {
        height: 4.5rem;
        width: 4.5rem;
    }

    #account .commerce {
        margin: 3rem 2rem 0 2rem;
    }

    #account > .container > header {
        padding: 0 2rem 2rem 2rem;
    }

    #account .product_list .info {
        padding: 3rem 2rem 2rem 2rem;
    }

    #account table th, #account table td {
        border-radius: 0;
    }

    #account table th:first-child, #account table td:first-child {
        padding-left: 2rem;
    }

    #account table th:last-child, #account table td:last-child {
        padding-right: 2rem;
    }

    #account .update > fieldset {
        padding: 0 2rem;
    }
}

@media (max-width: 530px) {

    #account > .container > header {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 2rem;
    }

    #account > .container > header > .session > div {
        height: 4.5rem;
        width: 4.5rem;
    }

    #account table td span {
        display: none;
    }

    #account .update p {
        text-align: center;
    }
}

@media (max-width: 400px) {

    #messages > .filters fieldset > div {
        flex-direction: column;
    }

    #account .products > table th:nth-child(1), #account .products > table td:nth-child(1) {
        display: none;
    }

    #account .products > table th:nth-child(2), #account .products > table td:nth-child(2) {
        padding-left: 2rem;
        width: 50%;
    }

    #account .products > table th:nth-child(3), #account .products > table td:nth-child(3) {
        width: 25%;
    }

    #account .products > table th:nth-child(4), #account .products > table td:nth-child(4) {
        display: none;
    }

    #account .products > table th:nth-child(5), #account .products > table td:nth-child(5) {
        width: 25%;
    }
}