/* -- Tiles -- */

.com-stionlinestore .products .tiles,
.com-stionlinestore .prices .tiles {
    flex-wrap: nowrap;
    justify-content: normal;
    overflow-x: auto;
    width: auto;
    margin: 0;
    scrollbar-width: thin;
}
.com-stionlinestore .tile.invisible {
    display: none;
}
.com-stionlinestore .tiles::-webkit-scrollbar {
    height: 6px;
}
.com-stionlinestore .tiles::-webkit-scrollbar-thumb {
    background: #cdcdcd;
}
.com-stionlinestore .tiles:hover::-webkit-scrollbar-thumb {
    background: #a6a6a6;
}


/* -- Products -- */

.com-stionlinestore .products .article {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}
.com-stionlinestore .products .tiles {
    padding: 12px 0 0 10px;
    z-index: 0;
}
.com-stionlinestore .products .tile {
    width: 150px;
    height: 150px;
    transition: margin .2s;
}
.com-stionlinestore .products .tile.ultimate img {
    padding-bottom: 34px;
}
.com-stionlinestore .products .tile#product-reports-web img:not(:first-child) {
    padding-bottom: 28px;
}
.com-stionlinestore .products .tile#product-dashboards-web img:not(:first-child) {
    padding-bottom: 28px;
}
.com-stionlinestore .products .tile img:first-child,
.com-stionlinestore .products .tile.ultimate img:first-child {
    display: none;
    width: 24px;
    height: 24px;
    top: -12px;
    right: -6px;
    padding: 0;
}
.com-stionlinestore .products .tile.licensed img:first-child {
    display: block;
}
.com-stionlinestore .products .tile em {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 3px;
    font-size: 12px;
    text-transform: uppercase;
    font-style: normal;
    white-space: nowrap;
}


/* Offset */

.com-stionlinestore .products .tile.reports:not(#product-reports-java) {
    margin-right: -23px;
}
.com-stionlinestore .products .tile.reports:not(#product-reports-web):after {
    content: '';
    display: block;
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -10px;
    width: 40px;
    border-radius: 8px;
    transition: width .2s;
    background: linear-gradient(90deg, #eee 70%, transparent);
}
.com-stionlinestore .products .tiles:not(:hover) .tile.reports.active:not(#product-reports-web),
.com-stionlinestore .products .tile.reports:not(#product-reports-web):hover {
    margin-left: 35px;
}
.com-stionlinestore .products .tiles:not(:hover) .tile.reports.active:not(#product-reports-web):after,
.com-stionlinestore .products .tile.reports:not(#product-reports-web):hover:after {
    width: 10px;
    background: transparent;
}
@media (max-width: 1190px) {
    .com-stionlinestore .products .tile.reports:not(#product-reports-web):after {
        display: none;
    }
    .com-stionlinestore .products .tiles:not(:hover) .tile.reports.active:not(#product-reports-web),
    .com-stionlinestore .products .tile.reports:not(#product-reports-web):hover {
        margin-left: 0;
    }
    .com-stionlinestore .products .tile.reports:not(#product-reports-java) {
        margin-right: 10px;
    }
}


/* -- BEST VALUE -- */

.com-stionlinestore .products .tile strong {
    position: absolute;
    display: inline-block;
    left: -10px;
    top: -12px;
    padding: 4px 12px;
    background: #338adb;
    color: white;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: normal;
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}


/* -- Descriptions -- */

.com-stionlinestore .descriptions {
    margin-bottom: -5px;
}
.com-stionlinestore .descriptions .section {
    width: 100%;
}
.com-stionlinestore .descriptions .section h1 {
    margin-top: -5px;
}
.com-stionlinestore .descriptions .section > div > div {
    display: flex;
}
.com-stionlinestore .descriptions .section > div > div > div:first-child {
    flex-shrink: 0;
    margin: 5px 30px 0 0;
}
@media (max-width: 480px) {
    .com-stionlinestore .descriptions .section h1 {
        text-align: center;
    }
    .com-stionlinestore .descriptions .section > div > div > div:first-child {
        width: 100%;
        margin: 5px 0 20px 0;
    }
    .com-stionlinestore .descriptions .section > div > div {
        flex-wrap: wrap;
        width: 100%;
    }
}


/* -- Prices -- */

.com-stionlinestore .prices .article:first-child {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}
.com-stionlinestore .prices .tiles {
    padding: 0 0 0 5px;
}
.com-stionlinestore .prices .article > .section {
    flex-wrap: wrap;
    overflow: hidden;
}
.com-stionlinestore .prices .tile {
    display: flex;
    flex-direction: column;
    width: 215px;
    height: auto;
    margin-top: 3px;
    padding-bottom: 0;
    cursor: auto;
}
.com-stionlinestore .prices .tile:hover {
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.15);
}
.com-stionlinestore .prices .tile.rus h3 {
    padding-left: 35px;
    padding-right: 35px;
}
.com-stionlinestore .prices .tile .features {
    margin: 0 0 20px 0;
    padding: 0 0 11px 10px;
    border-bottom: 1px solid #cfd8dc;
}
.com-stionlinestore .prices .tile .features table {
    font-size: 14px;
    width: 100%;
    cursor: default;
}
.com-stionlinestore .prices .tile .features td:last-child {
    width: 28%;
    font-weight: 600;
}
.com-stionlinestore .prices .tile.rus .features td:last-child {
    width: 33%;
}
.com-stionlinestore .prices .tile .value {
    display: none;
    margin: 0 0 20px 0;
    padding: 0 20px;
    text-align: left;
    font-size: 14px;
}
.com-stionlinestore .prices .tile .value > span {
    display: block;
    color: #909090;
    font-size: 14px;
    margin: 12px 0 0 0;
}
.com-stionlinestore .prices .tile .value h4 {
    margin: 0;
}
.com-stionlinestore .prices .tile .value h4 span {
    color: #909090;
}
.com-stionlinestore .prices .tile .value a {
    font-size: 24px;
    line-height: 28px;
}
.com-stionlinestore .prices .tile .value a .discount {
    font-size: 16px;
    line-height: normal;
    color: #909090;
    text-decoration: line-through;
}
.com-stionlinestore .prices .tile .value a .discount:after {
    content: '';
    display: block;
}
.com-stionlinestore .prices .tile .value.renewal,
.com-stionlinestore .prices .tile .value.upgrade {
    padding-top: 0;
}
.com-stionlinestore .prices .tile .value.renewal a,
.com-stionlinestore .prices .tile .value.upgrade a {
    font-size: 16px;
    line-height: normal;
}
.com-stionlinestore .prices .tile .value.renewal.disabled a {
    color: gray;
    cursor: default;
    text-decoration: none;
}
.com-stionlinestore .prices .tile .value.upgrade a {
    color: #1abc9c;
}
.com-stionlinestore .prices .tile .value a img {
    display: none;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 3px 6px;
}
.com-stionlinestore .prices .tile .value.renewal.grace a img {
    display: inline-block;
}
.com-stionlinestore .prices .tile .buttons {
    margin: auto 0 0 0;
}
.com-stionlinestore .prices .tile .button {
    display: none;
    width: 100%;
    margin: 0 0 5px 0;
    padding-left: 0;
    padding-right: 0;
}
.com-stionlinestore .prices .tile:not(.source) .value:not(.source),
.com-stionlinestore .prices .tile.source .value.source,
.com-stionlinestore .prices .tile:not(.source) .button:not(.source),
.com-stionlinestore .prices .tile.source .button.source {
    display: block;
}


/* -- Source switcher -- */

.com-stionlinestore .prices .switcher {
    width: 0;
    flex-basis: 100%;
    margin: 0 0 0 5px;
    -webkit-tap-highlight-color: transparent;
}
.com-stionlinestore .prices .switcher label {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    white-space: nowrap;
    user-select: none;
}
.com-stionlinestore .prices .switcher h3 {
    margin: 0 0 0 54px;
    padding: 1px 52px 0 0;
    cursor: pointer;
    overflow: visible;
}
.com-stionlinestore .prices .switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}
.com-stionlinestore .prices .switcher span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
    background-color: #b9bfc6;
    transition: .15s;
    border-radius: 12px;
}
.com-stionlinestore .prices .switcher span:before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .15s;
    border-radius: 8px;
}
.com-stionlinestore .prices .switcher input:checked + span {
    background-color: #3498db;
}
.com-stionlinestore .prices .switcher input:checked + span:before {
    transform: translateX(20px);
}
