html, body {
    height: 100%;
}

body {
    padding: 0px;
    margin: 0px;
    background-color: #eaedf4;
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

body[item-scroll="no"] {
    overflow-y: hidden;
}

@font-face {
	font-family: BPGMrgvlovaniCaps; src:url('../fonts/bpg_mrgvlovani_caps_2010.ttf?3');
}

@font-face {
	font-family: 'Conv_bpg_arial';
	src: url('../fonts/bpg_arial.eot?3');
	src: url('../fonts/bpg_arial.woff?3') format('woff'), url('../fonts/bpg_arial.ttf?3') format('truetype'), url('../fonts/bpg_arial.svg?3') format('svg');
	font-weight: normal;
	font-style: normal;
}

* {
	outline: none;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: #505050;
}

/* width */
::-webkit-scrollbar {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 3px;
}

/* track */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/* handle */
::-webkit-scrollbar-thumb {
    background: #1a8ff5;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/* handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1a8ff5;
}

.width {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.input {
    font-family: 'Conv_bpg_arial';
    font-size: 16px;
    padding: 15px;
    border: 2px solid #00d416;
    
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.button {
    background-color: #3ded90;
    color: #333333;
    border: none;
    height: 40px;
    font-family: 'Conv_bpg_arial';
    font-size: 17px;
    cursor: pointer;

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.button:hover {
    background-color: #2cda7d;
}

.home {
    /*
        cursor: pointer;
    */
}

.logo {
    height: 50px;
    width: 50px;
    background-image: url(../images/logo-nomrebi.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: left center;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.back {
    display: block;
    height: 50px;
    width: 100%;
    background-image: url(../images/icon-back.svg);
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center center;
}

.title {
    font-family: 'Conv_bpg_arial';
    font-size: 20px;
    color: #0088fe;
    text-align: left;
}

.desc {
    font-family: 'Conv_bpg_arial';
    font-size: 16px;
    color: #3a3a3a;
    text-align: left;
}

.center {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.container {
    position: relative;
    min-height: 500px;
    background-color: rgba(255, 255, 255, 0.7);

    -webkit-box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    -moz-box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

body[is-loading="yes"]::after {
    content: "";
    display: block;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

body[is-loading="yes"]::before {
    content: "";
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -52px;
    margin-top: -52px;
    display: block;
    width: 104px;
    height: 104px;
    background-image: url(../images/preloader.svg?3);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: +1;
}

.products {
    margin-top: 100px;
    padding: 20px;
    text-align: center;
}

.product-item {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
}

.product-item:hover .product-item-icon {
    background-size: 56px 56px;
}

.product-item-icon {
    margin-left: auto;
    margin-right: auto;
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-size: 48px 48px;
    background-position: center center;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.product-item-title {
    font-family: 'Conv_bpg_arial';
    margin-top: 16px;
}

.footer {
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .footer-item {
    display: inline-block;
    font-family: 'Conv_bpg_arial';
    font-size: 16px;
    color: rgb(95, 95, 95);
    margin-left: 10px;
    margin-right: 10px;
}

.footer .footer-item img {
    width: 32px;
    vertical-align: middle;
    margin-right: 5px;
}

.content-item {
    display: none;
}

.line {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.payment {
    margin-top: 15px;
    text-align: center;
}

.round {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.item {
    text-align: left;
    background-color: #ececec;
    color: #383838;
    min-height: 200px;
    margin-bottom: 25px;
    overflow: hidden;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.item-title {
    color: #ffffff;
    font-family: 'Conv_bpg_arial';
    font-size: 20px;
    text-align: center;
    padding: 14px;
    padding-bottom: 10px;
}

.item[item-theme="1"] {
    border: 2px solid #0071d4;
}
.item[item-theme="1"] .item-title,
.item[item-theme="1"] .item-desc,
.item[item-theme="1"] .item-buy {
    background-color: #0071d4;
}
.item[item-theme="1"] .item-more {
    border: 2px solid #0071d4;
}
.item[item-theme="1"] .item-desc {
    color: #ffffff;
}

.item[item-theme="2"] {
    border: 2px solid #6c1ee9;
}
.item[item-theme="2"] .item-title,
.item[item-theme="2"] .item-desc,
.item[item-theme="2"] .item-buy {
    background-color: #6c1ee9;
}
.item[item-theme="2"] .item-more {
    border: 2px solid #6c1ee9;
}
.item[item-theme="2"] .item-desc {
    color: #ffffff;
}

.item[item-theme="3"] {
    border: 2px solid #d40071;
}
.item[item-theme="3"] .item-title,
.item[item-theme="3"] .item-desc,
.item[item-theme="3"] .item-buy {
    background-color: #d40071;
}
.item[item-theme="3"] .item-more {
    border: 2px solid #d40071;
}
.item[item-theme="3"] .item-desc {
    color: #ffffff;
}

.item[item-theme="4"] {
    border: 2px solid #0dde8b;
}
.item[item-theme="4"] .item-title,
.item[item-theme="4"] .item-desc,
.item[item-theme="4"] .item-buy {
    background-color: #0dde8b;
}
.item[item-theme="4"] .item-more {
    border: 2px solid #0dde8b;
}
.item[item-theme="4"] .item-desc {
    color: #4c4c4c;
}

.item[item-theme="5"] {
    border: 2px solid #0066fe;
}
.item[item-theme="5"] .item-title,
.item[item-theme="5"] .item-desc,
.item[item-theme="5"] .item-buy {
    background-color: #0066fe;
}
.item[item-theme="5"] .item-more {
    border: 2px solid #0066fe;
}
.item[item-theme="5"] .item-desc {
    color: #ffffff;
}

.item[item-theme="6"] {
    border: 2px solid #607d8b;
}
.item[item-theme="6"] .item-title,
.item[item-theme="6"] .item-desc,
.item[item-theme="6"] .item-buy {
    background-color: #607d8b;
}
.item[item-theme="6"] .item-more {
    border: 2px solid #607d8b;
}
.item[item-theme="6"] .item-desc {
    color: #ffffff;
}

.item-desc {
    font-family: 'Conv_bpg_arial';
    padding: 14px;
    font-size: 18px;
    text-align: center;
    padding-bottom: 20px;

    -webkit-border-bottom-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.item-price {
    font-family: 'Conv_bpg_arial';
    font-size: 28px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    background-color: #e91e63;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -12px;
    border: 4px solid #ffffff;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.item-price-before {
    position: absolute;
    left: 0px;
    width: 100%;
    margin-top: -75px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    text-decoration: line-through;
}

.item-features {
    padding: 14px;
}

.item-feature {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Conv_bpg_arial';
}

.item-feature img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
}

.item-buy {
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-family: 'Conv_bpg_arial';
    color: #eaeaea;
    background-image: url(../images/icon-buy.svg);
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 24px 24px;
    cursor: pointer;

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.item-buy:hover {
    opacity: 0.8;
}

.item-more {
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-family: 'Conv_bpg_arial';
    color: #1f1f1f;
    background-image: url(../images/icon-dropdown.svg);
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 16px 16px;
    cursor: pointer;

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.item-more:hover {
    opacity: 0.8;
}

.dialog-container {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.dialog-container::before {
    content: "";
    position: fixed;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.dialog {
    position: absolute;
    left: 50%;
    top: 0px;
    background-color: #ffffff;
    margin-top: 10px;
    width: calc(100% - 20px);
    max-width: 400px;
    height: calc(100% - 20px);
    overflow-y: hidden;

    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.dialog-title {
    background-image: url(../images/icon-close.svg);
    background-size: 16px 16px;
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.1);
    font-size: 20px;
    font-family: 'Conv_bpg_arial';
    cursor: pointer;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.dialog-content {
    height: calc(100% - 155px);
    padding: 10px;
    padding-bottom: 80px;
    overflow-y: scroll;
}

.dialog-footer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    background-color: #ffffff;
    width: 100%;
}

.dialog-button {
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-family: 'Conv_bpg_arial';
    color: #eaeaea;
    background-image: url(../images/icon-buy.svg);
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 24px 24px;
    cursor: pointer;

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.dialog-button:hover {
    opacity: 0.6;
}

.dialog[item-theme="1"] .dialog-button {
    background-color: #0071d4;
}

.dialog[item-theme="2"] .dialog-button {
    background-color: #6c1ee9;
}

.dialog[item-theme="3"] .dialog-button {
    background-color: #d40071;
}

.dialog[item-theme="4"] .dialog-button {
    background-color: #0dde8b;
}

.dialog[item-theme="5"] .dialog-button {
    background-color: #0066fe;
}

.dialog[item-theme="6"] .dialog-button {
    background-color: #607d8b;
}


.dialog-image-title {
    font-size: 18px;
    font-family: 'Conv_bpg_arial';
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
}

.dialog-image img {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.checking {
    position: absolute;
    top: 50%;
    left: 0px;
    width: calc(100% - 20px);
    padding: 10px;
    text-align: center;
    font-size: 17px;
    font-family: 'Conv_bpg_arial';

    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media screen and (max-width: 840px) {
    .round {
        -webkit-border-radius: 20px;
        -webkit-border-top-left-radius: 0px;
        -webkit-border-top-right-radius: 1p0pxx;
        -moz-border-radius: 20px;
        -moz-border-radius-topleft: 0px;
        -moz-border-radius-topright: 0px;
        border-radius: 20px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
    
    .center {
        position: static;
        top: auto;
        left: auto;
        padding: 0px;
        width: 100%;
        height: auto;

        -webkit-transform: none;
        transform: none;
    }

    .product-item {
        display: block;
        margin-bottom: 30px;
    }

    .products {
        margin-top: 0px;
    }

    .payment {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .footer-item {
        display: block !important;
        margin-bottom: 20px;
    }
}