.container-div {
    padding: 100px 0;
}
.price-item {
    max-width: 266px;
    height: 330px;
    background: #FFFFFF;
    text-align: center;
    margin: 0;
    padding: 30px 0;
    cursor: pointer;
    color: black;
    box-shadow:0px 0px 4px rgba(56,143,255,0.2);
    border-radius:4px;
    border-top: 6px solid #FFFFFF;
}
.price-item.active{
    border: 4px solid #388FFF;
    box-shadow: 0 0 10px 0 #ccc;
    height: 300px;
}

.price-every-month {
    display: block;
    font-size: 1.6rem;
    line-height: 19px;
    color: rgba(153,153,153,1);
    margin-bottom: 24px;
}

.price-item.active .price-every-month {
    margin-bottom: 30px;
}

.price-item-number {
    font-size: 4.6rem;
    font-weight: 400;
    line-height: 55px;
    color: rgba(51,51,51,1);
}

.price-item.active .price-item-number{
    margin-top: -5px;
}
.price-item:hover {
    box-shadow: 0px 10px 20px rgba(56,143,255,0.2);
    border-top: 6px solid rgba(56,143,255,1);
}
.price-item h2 {
    margin: 0 0 20px;
    font-size: 2rem;
    color: #388FFF;
    font-weight: bold;
}
.price-item-currency {
    font-size: 1.6rem;
    color: #333333;
    vertical-align: text-bottom;
    display: inline-block;
    line-height: 19px;
    position: absolute;
    left: 40px;
    top: 28px;
}

.price-item-origin-price {
    font-size: 1.6rem;
    color: #999999;
    text-decoration: line-through;
    line-height: 19px;
    color: rgba(153,153,153,1);
}

.price-item a {
    position: absolute;
    bottom: 30px;
    left: calc((100% - 150px) / 2);
}

.current-total-price{
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 29px;
    color: rgba(51,51,51,1);
}

.product-type-title {
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-type-div {
    font-size: 2rem;
    font-weight: 400;
    line-height: 24px;
    color: rgba(153,153,153,1);
    margin: 0 20px;
    cursor: pointer;
    width: 33%;
    text-align: center;
}

.product-type-div-active {
    color: #388FFF;
}

.product-type {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 16px;
    margin-top: 60px;
}

.price-item {
    height: 320px;
    cursor: default;
}

a.price-item-a-common{
    background: #FFF;
    border:  none;
    color: #388FFF;
}

.price-item .btn:focus,
.price-item-a-common:focus{
    color: #388FFF;
    background: #e0eeff;
    opacity: 1;
}

.price-item .price-item-a-common:hover,
.price-item a:hover, .price-item .btn:hover{
    background: #388FFF;
    color: #FFF;
    opacity: 1;
}

.price-item .btn {
    padding: 6px;
    width: 150px;
    height: 42px;
    background: rgba(224,238,255,1);
    border-radius: 31px;
    line-height: 30px;
}
.purchase-title {
    font-size: 4.6rem;
    font-weight: bold;
    line-height: 55px;
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
}
.product-type-bottom-line {
    display: flex;
    width: 100%;
    height: 5px;
    background: rgba(204,204,204,1);
    opacity: 1;
    border-radius: 4px;
    margin: 14px auto 0;
}

.activity-extra-month {
    color:#FFA039;
}

.product-type-bottom-line .bottom-line {
    width: 33.3%;
    height: 5px;
    background-color: rgba(204,204,204,1);
    border-radius: 4px;
    transition: background-color .5s ease-out;
}

.product-type-bottom-line div.bottom-line.active {
    background-color: #388FFF;
}

.row {
    margin: 0;
}

@media all and (-ms-high-contrast:none)
{

    .price-item .price-item-a-common {
        line-height: 44px;
        padding: 0;
        vertical-align: middle;
    }
}

@media (max-width: 1199px) {
    .current-total-price {
        font-size: 1.5rem;
    }
    .price-item-currency {
        left: 20px;
    }

}
@media (max-width: 1000px) {
    .price-item-currency {
        position: relative;
        left: 0;
        top: 0;
    }
}
@media (max-width: 991px) and (min-width: 768px){
    .product-type-div {
        width: 32%;
        display: block;
        padding: 15px;
        height: 100%;
        margin: 20px 5px;
    }
    .price-item {
        margin-bottom: 20px;
        clear: both;
        width: 100%;
        max-width: unset;
        height: 300px;
    }
    .price-item.active {
        height: 280px;
    }
}
@media (max-width: 767px) {
    .container {
        padding: 10px;
    }
    .price-item {
        margin: 0 auto 20px;
        padding: 30px 0;
        width: 90%;
        max-width: unset;
    }
    .price-item.active {
        height: 290px;
    }
    .product-type {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-type-div {
        width: 100%;
        display: block;
        padding: 15px;
        margin: 10px auto;
        min-height: unset;
        font-size: 1.6rem;
    }
    .product-type-bottom-line {
        width: 90%;
    }
    .purchase-title {
        margin-bottom: 10px;
        font-size: 3rem;
    }
    .product-type-title {
        width: 90%;
        margin: auto;
    }
}

@media (max-width: 450px) {
    a.price-item-a-common {
        width: 110px!important;
        left: calc((100% - 110px)/2);
    }
}
