@import "reset.css";

:root {
    --light-color: #2a2a31;
    --dark-color: #1c1b21;
    --dark-light-color: #292930;
    --main-color: #c44bfe;
    --main-color-2: #b314ff;
    --red-color: #de4040;
    --orange-color: #e2b126;
    --green-color: #009c00;
}

html,
body {
    background: var(--dark-color);
    color: #fff;
    width: 100vw;
    height: 100vh;
    font-size: 15px;
    /*font-family: 'Roboto Condensed', sans-serif;*/
    font-family: 'Open Sans', sans-serif;
}

#main {
    display: flex;
    width: 100vw;
    height: 100vh;
}

nav ul {
    padding: 0 10px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background: var(--dark-light-color);
}

nav ul li a {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

nav ul li a img {
    height: 30px;
    opacity: .6;
    transition: .3s all ease-in-out;
}

nav ul li a:hover img {
    opacity: 1;
}

section {
    flex-grow: 1;
    padding: 100px;
    position: relative;
    height: 100vh;
    overflow: auto;
}

body.section-center section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.image-bg section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/bg.jpg') no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
    opacity: .1;
}

body.no-logo .logo {
	display:none;
}


h1 {
    font-size: 26px;
    margin: 0 0 30px 0;
}

.homepage-menu a {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    width: 230px;
    min-height: 300px;
    padding: 40px 25px;
    margin: 0 30px 30px 0;
    color: #fff;
    border-left: 10px solid #2a2a31;
    background: #26262d;
    position: relative;
    transition: .3s all ease-in-out;
}

.homepage-menu a:hover {
    border-left: 10px solid #34343b;
    background: #2d2d34;
}

.homepage-menu .menu-title {
    font-size: 18px;
    line-height: 20px;
    position: relative;
}

.homepage-menu .menu-title:before {
    content: "";
    width: 5px;
    height: 100%;
    position: absolute;
    left: -35px;
    border-left: 2px solid var(--main-color);
}

.homepage-menu .menu-description {
    margin-top: 20px;
    font-size: 14px;
    line-height: 18px;
    color: #ababb1;
}

label {
    display: block;
    margin-bottom: 30px;
}

label > strong {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

label > input {
    display: block;
    width: 100%;
    background: #393944;
    border: none;
    padding: 15px;
    outline: none;
    color: #fff;
    font-size: 15px;
    border-radius: 3px;
}

.center-form {
    max-width: 500px;
    width: 100%;
    background: #26262d;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.center-form input {
    background: #393944;
}

.form-text {
    line-height: 18px;
    margin-bottom: 20px;
}

.account-paid {
    display: inline-block;
    background: var(--main-color);
    padding: 2px 4px;
    border-radius: 4px;
}

.paid-filter {
    display: inline-block;
    margin-right: 10px;
}

.paid-filter input {
    display: inline-block !important;
    width: auto !important;
}

.choose-photo {
    cursor: pointer;
    display: flex;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    background: #393944;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.choose-photo {

}

.choose-photo input {
    display: none;
}

.agreement {
    display: flex;
    align-content: center;
}

.agreement span {
    padding-left: 15px;
}

.agreement input {
    width: auto;
}

button {
    border: none;
    padding: 15px;
    background: var(--main-color);
    font-size: 15px;
    width: 100%;
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
}

.account-form {
    /*display: flex;*/
}

.account-form > div:first-child {
    padding-right: 40px;
}

.account-form > div:last-child {
    width: 100%;
}

.msg {
    margin-bottom: 20px;
    color: var(--orange-color);
}

.msg .error {
    color: var(--red-color);
    margin-bottom: 4px;
}

.msg .success {
    color: var(--green-color);
    margin-bottom: 4px;
}

.message {
    text-align: center;
    z-index: 2;
}

.message a {
    color: white;
}

.logo {
    margin-bottom: 50px;
    z-index: 2;
}

.logo img {
    width: 350px;
}

.account {
    display: flex;
}

.account-info {
    border-radius: 3px;
    width: 350px;
    min-width: 350px;
}

.account-card-info {
    width: 100%;
}

.account-card {
    margin-bottom: 20px;
    position: relative;
}

.account-card img {
    max-width: 100%;
}

.account-card-data {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
}

.account-photo {
    width: 150px;
    height: 150px;
    max-height: 100% !important;
    max-width: 100% !important;
    background-size: cover;
    position: relative;
    border-radius: 3px;
}

#account-qr {
    margin-left: 10px;
    max-width: 50%;
    padding: 5px;
    background: white;
}

#account-qr canvas {
    max-width: 100%;
    max-height: 100%;
}

.align-center {
    text-align: center;
}

.my-qr {
    margin-top: 20px;
}

.my-qr span {
    display: flex;
    background: var(--main-color);
    padding: 13px 30px;
    align-items: center;
    border-radius: 100px;
    justify-content: center;
    cursor: pointer;
}

.my-qr span img {
    height: 20px;
    margin-right: 10px;
}

.account-name {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.account-menu {
    margin: 20px 0;
    padding: 0;
}

.account-menu li a {
    display: flex;
    align-items: center;
    font-size: 13px;
    padding: 10px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
}

.account-menu li a:hover {
    background: #32323a;
}

.account-menu li a img {
    height: 20px;
    margin-right: 10px;
}

.account-content {
    margin-left: 40px;
    width: 100%;
    background: var(--dark-light-color);
    padding: 30px;
    border-radius: 3px;
}

.list-table {
    display: table;
    width: 100%;
}

.list-row {
    display: table-row;
}

.list-table .list-row:nth-child(odd) {
    background: #363640;
}

.list-table .list-row:nth-child(odd) .list-cell:first-child {
    border-radius: 5px 0 0 5px;
}

.list-table .list-cell:first-child {
    padding-left: 10px;
}

.list-table .list-row .list-cell:last-child {
    padding-right: 10px;
}

.list-table .list-row:nth-child(odd) .list-cell:last-child {
    border-radius: 0 5px 5px 0;
}

.list-row:hover {
}

.list-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    line-height: 20px;
    font-size: 13px;
}

.list-cell.photo-cell {
    width: 50px;
}

.list-cell strong {
    font-weight: bold;
}

.list-cell a {
    color: var(--main-color);
    text-decoration: none;
}

.list-photo {
    display: block;
    width: 50px;
    height: 50px;
    background-size: cover;
    border-radius: 5px;
    margin: 5px 0;
}

.cell-agree {
    width: 60px;
}

.cell-agree span {
    display: block;
    padding: 5px 10px;
    border: 2px solid var(--main-color);
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: .3s ease-in-out;
    margin-top: 4px;
}

.cell-agree span:first-child {
    margin-top: 0;
}

.cell-agree span:hover {
    background: var(--main-color);
}


.cell-agree span.solid {
    background: var(--main-color);
}

#modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease-in-out;
    overflow: auto;
}

#modal #modal-shadow {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(2px);
}

#modal #modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    z-index: 101;
    background: #26262d;
}

#modal .block {
    padding: 40px;
}

#modal .title,
#modal .body,
#modal .footer {
    padding: 20px 50px;
}

#modal .title {
    padding-top: 50px;
    font-size: 26px;
}

#modal .footer {

}

#modal .title {
    margin-bottom: 0;
}

body.show-modal #modal,
body.show-modal #modal #modal-shadow {
    opacity: 1;
    pointer-events: all;
}

.password-generation {
    float: right;
    cursor: pointer;
    color: var(--main-color);
}

#my-qr-block {
    padding: 20px;
    background: #fff;
}

.small-form {
    max-width: 500px;
    margin: 0 auto;
}

.account-history {
    position: relative;
}

.account-history-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 20px;
}

.account-history-item.is-date {
    padding-left: 0;
    padding-bottom: 40px;
}

.account-history-item:before {
    content: "";
    border: 2px solid #fff;
    width: 11px;
    height: 11px;
    border-radius: 100px;
    position: absolute;
    left: 0;
    top: 3px;
    background: var(--dark-light-color);
    z-index: 2;
}

.account-history-item.is-date:before {
    top: 5px;
}

.account-history-item:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    border-left: 1px solid #fff;
    height: 100%;
    z-index: 1;
}

.account-history-date {
    position: absolute;
    background: #fff;
    color: #000;
    display: inline-block;
    left: -5px;
    top: 0;
    font-size: 11px;
    padding: 5px 10px 5px 25px;
    border-radius: 100px;
    font-weight: bold;
}

.account-history-time {
    position: absolute;
    left: 10px;
    top: -3px;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 100px;
    font-weight: bold;
}

.account-history-description {
    font-weight: bold;
    padding-bottom: 10px;
}

.account-history-buy {
    margin-top: 10px;
    font-size: 12px;
}

.account-history-buy-item {
    margin-top: 5px;
}

.account-history-buy-cost {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: var(--main-color);
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border-right: 1px solid var(--main-color-2);
}

.account-history-buy-cost .label {
    font-size: 12px;
    margin-right: 8px;
    padding-right: 8px;
    border-right: 1px solid var(--main-color-2);
}

.account-status {
    margin-top: 20px;
}

.account-status-bar {
    margin-top: 10px;
    text-align: center;
    height: 5px;
    background: var(--light-color);
    position: relative;
}

.account-status .name {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: bold;
}

.account-status .fill {
    position: absolute;
    left: 0;
    top: 0;
    background: white;
    height: 100%;
    background: var(--main-color);
    z-index: 1;
}

.list-status {
    padding: 2px 8px;
    display: inline-block;
    background: var(--main-color);
    border-radius: 4px;
    margin-bottom: 2px;
}

.hide-desktop {
    display: none;
}

.close-modal {
    position: absolute;
    bottom: -50px;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.page-title {
    float: left;
}

.search-form {
    float: right;
}

.search-form input {
    border: 2px solid white;
    background: none;
    padding: 5px;
    border-radius: 4px;
    color: white;
    outline: none;
}

.btn-new {
    margin-bottom: 20px;
}

#my-qr-block canvas {
    width: 100%;
}

.social-cell {
    word-break: break-word;
}