html,
body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#mainwrap {
    overflow: hidden;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.pointer {
    cursor: pointer;
}

.float {
    width: auto;
    float: left;
}

.flex {
    display: flex;
    align-items: center;
}

img {
    border: none;
}

a {
    color: #0096ff;
    text-decoration: none;
}

a:hover {
    color: #047FD3;
    text-decoration: none;
}

b, strong {
    font-weight: bold;
}

.border1 {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
}

.red {
    color: red;
}

.green {
    color: #00af43;
}

.gray {
    color: #aaa
}

.blue {
    color: blue
}

.block {
    display: block;
}

.left {
    text-align: left;
}

.justify {
    text-align: justify;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.nowrap {
    white-space: nowrap;
}

.upper {
    text-transform: uppercase;
}

.relative {
    position: relative;
}

.faded {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10%;
    height: 100%;
    background: #c00;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 1)));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=1);
}

label {
    cursor: pointer
}

select,
input {
    cursor: pointer;
}

.radio {
    border: none !important;
    padding: 0 !important;
    margin: 2px !important;
    background: none;
}

.popupbackground {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: #333333;
    opacity: 0.60;
}

.tbt, tr.tbt td, tr.tbt th {
    border-top: 1px solid #e5e2e7
}

.tbr, tr.tbr td, tr.tbr th {
    border-right: 1px solid #e5e2e7
}

.tbb, tr.tbb td, tr.tbb th {
    border-bottom: 1px solid #e5e2e7
}

.tbl, tr.tbl td, tr.tbl th {
    border-left: 1px solid #e5e2e7
}

.smallScreenDebug {
    z-index: 2001;
    display: none;
    position: absolute;
    text-align: center;
    color: red;
    width: 100%;
}

.messageBox {
    background: #ffa97f url('/resources/images/admin/mes_icon_error.gif') 3px 0 no-repeat;
    border: 1px solid #417e39;
    display: block;
    font-size: 18px;
    font-weight: normal;
    margin: 60px 4px 0 4px;
    padding: 7px 26px 5px 45px;
    color: white;
}

.messageBox_ok {
    position: fixed;
    left: 50%;
    top: 50px;
    width: 508px;
    height: 70px;
    margin-left: -254px;
    z-index: 99;
    background-color: #DFFFDD;
    background-image: url('/resources/images/icons/success-green.svg');
    background-repeat: no-repeat;
    background-position: 16px 50%;
    box-shadow: 0 3px 6px #00000029;
    border-left: 4px solid #4aa45c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: normal;
    padding: 0 10px 0 50px;
    color: #24272E;
    line-height: normal;
}

.messageBox_ok span.close {
    cursor: pointer;
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -7px;
    background: #DFFFDD url('/resources/images/icons/close-message-ok.svg') 0 0 no-repeat;
}

.modal-dialog {
    max-width: none;
}

#modal-msg .modal-dialog {
    max-width: 350px;
}

#modal-msg button.bu01.ok {
    display: block;
    width: 100%;
    padding: 10px 15px;
}

.ptop {
    padding-top: 60px;
    padding-bottom: 40px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vertical-center {
    display: flex;
    align-items: center;
}

.no-transition {
    transition: none !important;
}

.aspect-ratio-box {
    height: 0;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.aspect-ratio-box-inside,
.aspect-ratio-box > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vertical-box {
    max-width: 100%;
    max-height: 100%;
}

.row.flex-center {
    display: flex;
    align-items: center;
}

.cart-limit {
    color: red;
    padding-bottom: 15px;
}

@media (max-width: 767px) {

    .ptop {
        padding-top: 40px;
    }

    .smallScreenDebug {
        display: block;
    }
}

body > .controller-time {
    z-index: 777;
    background-color: #ececec;
    position: fixed;
    color: #143255;
    left: calc(50% - 60px);
    top: 8px;
    font-size: 12px;
    text-align: center;
    padding: 2px 0;
    width: 120px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(188, 188, 188, 0.5);
}

body.ad-banner-visible > .controller-time {
    top: 14px;
}

@media (min-width: 992px) {
    body > .controller-time {
        top: 14px;
    }
}
