@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html, body {
    height: auto;
    min-height: 100vh;
}

body {
    background: url("../img/bg.png") 50% 0 no-repeat #fff;
    background-size: cover;
    display: flex;
    justify-content: center;
    max-width: none;
}

.popup-social, .popup-social-mobile {
    display: none !important;
}

.header, .content {
    background-color: #fff;
}

.tabs {
    margin-bottom: 0;
    z-index: 1;
}

h1 {
    margin-top: 0;
    padding-top: 0.67em;
}

.wrapper {
    order: 2;
    background-color: transparent;
    width: 1230px;
}

.wrapper-left {
    order: 1;
    margin-right: 20px;
}

.wrapper-right {
    order: 3;
    margin-left: 20px;
}

.wrapper-left, .wrapper-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

.wrapper-left {
    width: 335px;
}

.wrapper-right {
    width: 290px;
}

.card {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 1px 1px 15px 1px rgba(42, 60, 98, 0.1);
}

.card .card-body {
    padding: 25px 28px 25px;
}

.card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
}

.card .card-title:first-child {
    margin-top: 0;
}

.card .card-img {
    display: block;
    margin: 0 auto;
}

.card .card-title a {
    color: inherit;
}

.card .card-full-link:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.card.info {
    min-height: 86px;
}

.card.info .card-body {
    position: relative;
    padding: 13px 15px;
}

.card.info .card-body:before {
    display: block;
    content: "";
    width: 39px;
    height: 1px;
    background: #0055A2;
    position: absolute;
    top: 21px;
    left: 40px;
}

.card-bg-1 {
    background: url("../img/bg-card-1.png") 98% 5px no-repeat #fff;
}

.card-bg-2 {
    background: url("../img/bg-card-2.png") 98% 20px no-repeat #fff;
}

.card-bg-3 {
    background: url("../img/bg-card-3.png") 98% 12px no-repeat #fff;
}

.card-bg-4 {
    background: url("../img/bg-card-4.png") 98% 12px no-repeat #fff;
}

.card.price .card-body {
    padding: 20px 25px;
}

.card.price .card-title {
    margin-bottom: 12px;
    font-size: 22px;
    text-align: center;
}

.card.banner {
    margin: 24px 0;
}

.card.banner .card-body {
    padding: 33px 28px;
}

.card.banner .card-title {
    font-size: 28px;
    text-align: center;
}

.btn {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
    border-radius: 8px;
    padding: 8px 16px;
    color: #333333;
    border: 1px solid transparent;
    line-height: 1;
    transition: all .25s linear;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: 1px 4px 7px 1px rgba(189, 208, 251, 0.25);
}

.btn-primary {
    background-color: #C00431;
    border-color: #C00431;
    color: #fff;
}

.btn-primary:hover {
    background-color: #fff;
    color: #C00431;
}

.btn-outline-light {
    background-color: transparent;
    border-color: #C00431;
    color: #C00431;
}

.btn-outline-light:hover {
    background-color: #C00431;
    border-color: #C00431;
    color: #fff;
}

.btn-block {
    display: block !important;
}

.text-primary {
    color: #0055A2;
}

.text-uppercase {
    text-transform: uppercase;
}

@media (max-width: 1229.98px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
    }

    footer {
        margin-bottom: 20px;
    }

    .wrapper {
        order: 1;
        width: 100%;
    }

    .wrapper-left {
        order: 2;
        margin-right: 0;
    }

    .wrapper-right {
        margin-left: 0;
    }

    .wrapper-left, .wrapper-right {
        justify-content: flex-start;
        height: auto;
        width: 100%;
    }

    .wrapper-right {
        flex-direction: row;
    }

    .wrapper-right .card {
        width: 50%;
    }

    .card, .card.banner {
        margin-left: 15px;
        margin-right: 15px;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .card.banner .card-title {
        font-size: 22px;
    }

    .card.price .card-title {
        font-size: 20px;
        margin-bottom: 23px;
    }

    .card.price .card-img {
        display: none;
    }

    .btn {
        font-size: 14px;
        padding: 8px 24px;
    }
}

@media (max-width: 575.98px) {
    .wrapper-right {
        flex-direction: column;
    }

    .wrapper-right .card {
        width: auto;
    }

    .card.banner {
        margin: 0;
        border-radius: 0;
    }

    .card.banner .card-title {
        text-transform: none;
        line-height: 1.7;
    }
}