@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700|PT+Sans:400,400i,700,700i&display=swap&subset=cyrillic');
@import url('/tpl/fontawesome/css/all.min.css');
@import url('/tpl/feb/css/vars.css');

body {
    /* font-family: 'PT Sans Narrow', sans-serif; */ 
    font-family: 'PT Sans', sans-serif; 
    font-size: 18px;
    color: #2c2c2d;
    padding-top:80px;
}


.account-block {
    display: flex;
    flex-direction: row;
    margin: 30px;

}

.account-left-col {
    flex-grow:2;
    margin-right: 1rem;
    flex-basis:0;
}
.account-right-col {
    flex-grow:1;
    flex-basis:0;
}

.account-row{
    clear:both;
}

.orders-header {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom:60px;
}

.orders-header h2 {
    font-size:24px;
}

.account-row a {
    /* color: #2431dd !important; */
    text-decoration: underline;
}

a.account-link {
    /* color: #2431dd !important; */
    text-decoration: underline !important;
}
a.account-link i{
    /* color: #2431dd !important; */
    text-decoration: underline !important;
}

.orders-header a {
    color: #949494 !important;
}
.orders-header a.active {
    color: #2c2c2d !important;
}

.photo-col {
    float:left;
    width: 280px;
    height: 280px;
    overflow: hidden;
    border-radius: 999px;
    margin-right:20px;
    background:50% 50% no-repeat;
    background-size:cover;
  
}

.pro-mark {
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding: 16px 12px;
    border-radius: 555px;
    background: #f46d23;
}


.photo-col img {
    width: 100%;
    min-height: 320px;
   
}

.personl-data h1{
    margin-bottom:42px;
}

.personl-data div {
    margin-bottom:0.5em;
}

.account-edit-block-spacer {
    height:38px;
}

.orders-tabs-header {
    border-bottom:1px solid #949494;
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.orders-tabs-header a{
    display: block;
    padding-bottom:12px;
    font-size:20px;
    color: #949494 !important;
    border-bottom:2px solid #949494;
    margin-right:34px;
}

.orders-tabs-header a.active {
    color: #2c2c2d !important;
    border-color:var(--default-green);
    font-weight: bold;
}

h1, h2 {
    margin:0;
    padding: 0;
}

i {
    color: #949494;
    font-size:14px;
    display: block;
}

a i {
    color:inherit;
}

.form-block {
    position: absolute;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    padding:8px 2px;
}

.form-block .button {
    cursor: pointer;
    color: white;
    background: var(--default-green);
    border-radius: 4px;
    padding:8px;
    text-align:center;
    font-size:14px;
    font-weight: bold;
    border-style: none;
    border: solid 2px var(--default-green);
    transition:all 0.4s ease-in-out;
}

.form-block .button:hover {
    color:var(--default-green);
    background: white;
}

.discounts-block {
    background-color: #fff9c5;
    padding: 30px;
    margin-bottom:50px;
}

.discounts-list {
    border-bottom:1px dashed #949494;
    padding: 24px 0px;
    margin-bottom:24px;
}

.delivery-block {
    background-color: #efefef;
    padding: 30px;
    margin-bottom:50px;
    position: relative;
}

.delivery-block a{
    position: absolute;
    right:30px;
    font-size: 14px;
    /*    color: #2431dd !important; */
}

.grey {
    color: #949494;
}

.modal-popup {
    display:block;
    position:fixed;
    max-height:0px;
    opacity:0;
    top:25%;
    right:25%;
    width:640px;
    border-radius:8px;
    background:white;
    border:#949494 1px solid;
    box-shadow: 0px 0px 4px #2c2c2d;
    transition:all 0.4s ease-in-out;
    padding: 20px;
    overflow:hidden;
}

.modal-header {
    background:white;
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:auto;
    padding:36px;
    font-size:21px;
    font-weight:bold;
}

.modal-close {
    display:block;
    margin-right: -18px;
    float:right;
    color: #2c2c2d !important;
    text-decoration:none;
    font-size:22px;
    transition: color 0.5s ease-in-out;
}

.modal-close:hover{
    color: #949494 !important;
}

.modal-popup.active {
    opacity:1;
    max-height:100%;
}

.modal-inner {
    margin-top: 68px;
    min-height:160px;
    padding: 14px;
}

.modal-inner div {
    margin-bottom:6px;
}

.modal-inner div label {
    display: block;
    width:100%;
    font-style: italic;
}

.modal-inner div input {
    display: block;
    width:100%;
}
.modal-inner div textarea {
    display: block;
    width:100%;
    min-height:120px;
    margin-bottom:18px;
    border-radius: 8px;
    padding:8px;
    outline: none !important;
}

.modal-inner a {
    display: inline-block;
    cursor: pointer;
    color: white !important;
    background-color: var(--default-green);
    border-radius: 8px;
    padding:15px 32px;
    text-align:center;
    font-size:18px;
    font-weight: bold;
    border-style: none;
    border: solid 3px var(--default-green);
    transition:all 0.4s ease-in-out;
    text-decoration: none;
}

.modal-inner a:hover {
    background-color: white;
    color: var(--default-green) !important;
}



.success-block {
    padding: 20px 20px;
    color: white;
    font-size: 1.2em;

    position: absolute;
    bottom: 50%;
    background: #000;
    opacity: 0.8;
    left: 50%;
    /* box-shadow: 0px 0px 3px #666; */
    z-index: 9999;
    margin-left: -10rem;
}

.order-details {
    border-bottom:1px solid #949494;
    padding: 36px 0px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1.5fr;
    font-size: 15px;
}

.order-paused {
    background-color: #FFFBF2;
}

.odc-body a {
    padding-top:8px;
    display: inline-block;
    font-size: 14px;
    color: #949494 !important;
    text-decoration: underline !important;
}

a.account-pay-btn {
    display:block;
    text-align:center;
    background-color: #fdaf11;
    border:2px solid #fdaf11;
    color: white !important;
    font-weight: bold;
    text-decoration:none !important;
    padding:17px 0px;
    border-radius: 4px;
    text-align:center;
    width:100%;
}

a.account-pay-btn:hover {
    background-color: white;
    color: #fdaf11 !important;
}

a.account-rcp-btn {
    display:block;
    text-align:center;
    background-color: white;
    border:2px solid #111;
    color: #111 !important;
    font-weight: bold;
    text-decoration:none !important;
    padding:17px 0px;
    border-radius: 4px;
    text-align:center;
    width:100%;
}

.order-details-cell {
    padding-right:10px;
}

.odc-header {
    color: #949494;
    margin-bottom:18px;
}

.odc-body {
    margin-bottom:20px;
}

#profile-popup-menu {
    /* display: none; */
    opacity: 0;
    transform: scale(0) translate(0px, -420px);;
    position: absolute;
    width: 140px;
    top: 80px;
    
    padding:24px 8px;
    background: white;
    transition: all 0.3s ease-in-out;
    background: white !important;
    box-shadow:0px 0px 3px #888;
    margin-left:-50px;
}

.top-arrow-img {
    display: block;
    position: absolute;
    top: -16px;
    left: 50%;
    margin-left: -12px;
}

a:hover #profile-popup-menu {
    opacity: 1;
    transform: scale(1) translate(0px, 0px);;
}

#profile-popup-menu a {
    display: block;
    color: var(--default-green);
    margin-bottom:4px;
}

#profile-popup-menu a:hover {
    display: block;
    color: #333;
}

@media screen and (max-width: 480px) {
    body {
        /* font-family: 'PT Sans Narrow', sans-serif; */ 
        font-family: 'PT Sans', sans-serif; 
        font-size: 18px;
        color: #2c2c2d;
        padding-top:0px;
    }

    #rec188347282 {
        display: none;
    }

    .account-edit-block-spacer {
        display: none;
    }

    .photo-col {
        width: 80vw;
        height: 80vw;
    }

    .account-row {
        padding-left: 20px;
        padding-right: 20px;
    }

    .orders-header {
        flex-direction: column;
    }

    .order-details {
        grid-template-columns: 1fr 2fr;
    }
}