﻿.div-account-bar {
    max-width: 1100px;
    height: 90px;
    margin: 0 auto;
    position: relative;
}

.div-account-bar img {
    float: right;
    height: 45px;
    margin: 20px 30px 0 0;
}

/* ==================== */

.div-account-container {
    padding: 40px 0 40px 0;
}

.div-account-container:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.btn-my-account,
.btn-my-tickets,
.btn-my-transactions {
    max-width: 300px;
    min-width: 260px;
    width: 25%;
    height: 60px;
    text-transform: uppercase;
    font-size: 1.8em;
    line-height: 2.1em;
    position: relative;
    text-align: left;
    padding-left: 20px;
}

.btn-my-account .btn-icon,
.btn-my-tickets .btn-icon,
.btn-my-transactions .btn-icon {
    position: absolute;
    top: 13px;
    right: 13px;
}

.btn-save-my-account {
    width: 100%;
    display: block;
}

.div-account-tab-strip {
    text-align: center;
}

.div-account-tab-strip span{
    margin: 0 10px 10px 10px;
}

.div-account-icon,
.div-tickets-icon,
.div-transactions-icon,
.div-deposit-icon {
    background: #cccccc;
    text-align: center;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    margin-right: 25px;
}

.div-deposit-buttons div:not(:last-child){
    margin: 0 10px 20px 0;
}

.div-account-icon {
    padding: 12%
}

.div-account-icon img {
    width: 100%;
    display: block;
}

.div-transactions-icon {
    padding: 6%;
}

.div-transactions-icon img {
    width: 100%;
    display: block;
}

.div-deposit-icon {
    padding: 12% 16% 12% 8%;
}

.div-deposit-icon img {
    width: 100%;
    display: block;
}

.div-tickets-icon {
    padding: 16% 8% 16% 8%
}

.div-tickets-icon img {
    width: 100%;
    display: block;
}

.div-account-content {
    padding: 0 10px 0 10px;
}

.account-balance {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 400;
}

/* ==================== */

.div-no-transactions,
.div-no-tickets {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 400;
}

.tbl-transactions {
    width: 100%;
    /*border-collapse: separate;*/

    
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 400;
}

.tbl-transactions th {
    text-align: left;
    font-weight: bold;
    padding-bottom: 20px;
}

.tbl-transactions th:last-child,
.tbl-transactions td:last-child {
    text-align: right;
}

.tbl-transactions td {
    border: solid 1px #e3e3e3;
    padding: 10px;
    font-size: .9em;
}

.tbl-entries {
    width: 100%;
    /*border-collapse: separate;*/

    
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 400;
}

.tbl-entries th {
    text-align: left;
    font-weight: bold;
    padding-bottom: 20px;
}

.tbl-entries th:nth-last-child(2),
.tbl-entries td:nth-last-child(2) {
    text-align: right;
}

.tbl-transactions tbody tr:nth-of-type(odd),
.tbl-entries tbody tr:nth-of-type(odd) { 
    background: #eee; 
}

.tbl-entries td {
    border: solid 1px #e3e3e3;
    padding: 10px;
    font-size: .9em;
    position: relative;
}

.tbl-entries td:first-child img {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 28px;
}

.tbl-entries tr td:last-child {
    padding-right: 38px
}

.icon-ticket {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.div-ticket-popup {
    text-align: center;
    margin-right: 10px;
}

.div-ticket-popup img {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 3px 20px 0 rgba(0,0,0,0.19);
}

/* ==================== */

.div-payment-method {
    position: relative;
    min-height: 44px;
    font-size: .9em;
    margin-bottom: 5px;
}

.div-payment-method:last-child {
    margin-bottom: 20px;
}

.div-payment-method label{
    display: block;
    min-height: 29px;
    position: relative;
    cursor: pointer;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -ms-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    padding: 8px 0 8px 40px;
}

.div-payment-method input[type=radio]{
    position: absolute;
    visibility: hidden;
}

.div-payment-method label:hover{
    background: #ececec;
}

.div-payment-method input[type="radio"]:checked+label {
    background: #ececec;
} 

.div-payment-method img {
    position: absolute;
    top: 2px;
    right: 6px;
    width: 40px;
    height: 40px;
}

.div-payment-method .check {
    display: block;
    position: absolute;
    border: 2px solid #bababa;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    top: 10px;
    left: 6px;
    z-index: 5;
    -webkit-transition: border .25s linear;
    transition: border .25s linear;
}

.div-payment-method .check,
.div-payment-method img {
    pointer-events: none;
}

.div-payment-method .check::before {
    display: block;
    position: absolute;
    content: '';
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    height: 14px;
    width: 14px;
    top: 3px;
    left: 3px;
    margin: auto;
    -webkit-transition: background 0.25s linear;
    transition: background 0.25s linear;
}

.div-payment-method input[type=radio]:checked ~ .check::before{
    background: #2ce24b;
}

tr.failed td {
    color: red;
}

.div-my-account > div:nth-child(2) > div:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.div-my-account-tickets:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.div-deposit {
    max-width: 360px;
}

@media screen and (max-width: 900px) {
    .div-my-account > div:first-child,
    .div-my-account-deposit > div:first-child,
    .div-my-account-tickets > div:first-child,
    .div-my-account-transactions > div:first-child {
        display: none;
    }
    .div-my-account > div:nth-child(2),
    .div-my-account-deposit > div:last-child,
    .div-my-account-tickets > div:last-child,
    .div-my-account-transactions > div:last-child {
        width: 100% !important;
    }

    .div-my-account > div:last-child {
        width: 100% !important;
    }

    .div-my-account > div:last-child button {
        width: 140px;
    }
}
@media screen and (max-width: 650px) {
    .div-my-account > div:nth-child(2) div {
        width: 100% !important;
    }
}

@media screen and (max-width: 760px) {
    .tbl-entries table, 
    .tbl-entries thead, 
    .tbl-entries tbody, 
    .tbl-entries th, 
    .tbl-entries td, 
    .tbl-entries tr,
    .tbl-transactions table, 
    .tbl-transactions thead, 
    .tbl-transactions tbody, 
    .tbl-transactions th, 
    .tbl-transactions td, 
    .tbl-transactions tr { 
        display: block;
        min-height: 35px;
    }
    .tbl-entries thead,
    .tbl-transactions thead {
        display: none;
    }

    .tbl-entries td, 
    .tbl-transactions td { 
        /* Behave  like a "row" */
        position: relative;
        padding: 0 !important;
        padding-left: 50% !important;
        text-align: left !important;
    }
    .tbl-entries img {
        position: relative !important;
        left: 0 !important;
        top: 4px !important;
    }

    .tbl-entries td:before, 
    .tbl-transactions td:before { 
        /* Now like a table header */
        position: absolute !important;
        /* Top/left values mimic padding */
        left: 6px;
        top: 3px;
        width: 45%; 
        padding-right: 10px;
        font-weight: bold;
        white-space: nowrap;
    }

    .tbl-entries td:before { content: attr(title); }
    .tbl-transactions td:before { content: attr(title); }
}
