body { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 {
    color: #0a0a0a;
    font-size: initial;
    font-weight: initial;
    text-transform: initial;
}

.light-bg {
    background: #fafafa;
}

button {
    margin: 10px 0;
    padding: 12px;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 3px;
    font-weight: 700;
}

input {
    width: 100%;
    margin: 10px 0;
    padding: 10px 30px;
    outline: none;
    border: 1px solid #EBF0FF;
    border-radius: 5px;
}

input:focus {
    border: 0.5px solid rgba(31, 39, 101, 0.609);
}

/*header*/

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 1rem 0;
    width: 100vw;
    box-sizing: border-box;
    z-index: 10;
    transition: .15s;
}
header.active {
    background: rgba(29, 6, 82, .95);
    box-shadow: 7px 11px 24px rgba(0, 0, 0, 0.13);
}

header nav {
    float: right;
    font-size: 0.9em;
}

header .logo {
    width: 7rem;
    float: left;
}

header .logo img {
    width: 100%;
    object-fit: cover;
}

header nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin: 0 10px;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

header li a:hover {
    color: #fff;
}

header li:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    opacity: 0;
    transition: .15s;
}

header li:last-child:after {
    display: none;
}

header li:hover:after {
    opacity: 1;
}

header nav ul li a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
}


header nav ul li a.border{
    border: 1px solid #fff;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    width: 2rem;
    float: right;
}

.header-block {
    background: linear-gradient(127.04deg, #10054D 0.06%, #3D065F 77.03%, #45108A 98.82%);
    color: #fff;
    padding-bottom: 5rem;
}

.header-block .container {
    padding: 3rem 0;
    display: flex;
    align-items: center;
}

.header-text p {
    margin: 20px 0;
    line-height: 30px;
}

.header-text button {
    font-size: 1.2em;
    padding: 1rem;
    background: #fff;
    color: #200553;
}

.header-illustration {
    width: 100rem;
    margin-right: -5rem;
    margin-bottom: 5rem;
}

@media(min-width: 1024px) {
    .header-illustration {
        width: 50rem;
        margin-right: -5rem;
        margin-bottom: 5rem;
    }
}


/*content*/

article {
    width: 100%;
    padding: 40px 0;
}

article .heading_wrapper {
    margin: 0 auto;
    text-align: center;
}

.crm {
    text-transform: uppercase;
    font-weight: 700;
    color: #ec6b46;
}

article .heading_wrapper .text {
    width: 70%;
    margin: 20px auto;
    line-height: 30px;
}

article .heading_wrapper h1 {
    color: #1e1f3d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.125;
}

/*video*/

.video {
    display: flex;
    justify-content: center;
}

iframe {
    width: 75%;
    height: 430px;
    margin: auto;
    margin-top: -100px;
    box-shadow: 7px 11px 24px rgba(0, 0, 0, 0.13);
    border-radius: 14px;
}

/*problems-wrapper*/
.problems-wrapper {
    padding: 4rem 0 6rem;
}

.problems-wrapper .icon {
    width: 9rem;
    height: 9rem;
    position: relative;
}

.problems-wrapper .icon img {
    width: 65%;
    position: absolute;
    left: 0;
    bottom: 0;
    object-fit: cover;
}

.problems-wrapper h4 {
    margin: 0.7rem 0;
    font-size: 1.3em;
    font-weight: 500;
}

.problems-wrapper .column {
    padding: .75rem 3rem;
}

.problems-wrapper .column p {
    line-height: 19px;
    text-align: justify;
    color: #4B4F51;
}


/*steps-wrapper*/

.diagram {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diagram-items {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.diagram-items .item {
    margin: 6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diagram-items .left {
    text-align: right;
}

.diagram-items .right {
    text-align: left;
}

.diagram-items .icon {
    width: 25%;
}

.diagram-items .icon img {
    width: 100%;
    object-fit: cover;
}

.diagram-items .item .text {
    width: 70%;
}

.diagram-items .item .text h4 {
    margin: 10px 0;
    color: #3C285C;
}

.diagram-items .item .text p {
    color: #4C4552;
}

.diagram-items .time {
    padding: 4px 8px;
    color: #FFFFFF;
    background: #EB5C33;
    border-radius: 18px;
}

.diagram-items .infinity {
    background: #118942;
}

.diagram .line {
    width: 15%;
}

.diagram .line img {
    width: 100%;
    object-fit: cover;
}

.bottom-text {
    text-align: center;
    font-weight: 700;
    color: #1C1D3C;
}

/*example-wrapper*/

.example-wrapper {
    background: #fafafa;
}

.tabContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tabContainer .buttonContainer {
    min-width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    background: #FFFFFF;
    box-shadow: 20px 14px 44px rgba(0, 0, 0, 0.09);
    border-radius: 16px;
}

.tabContainer .buttonContainer button {
    width: 30%;
    margin: 5px;
    border: none;
    outline:none;
    cursor: pointer;
    padding: 13px;
    color: #4B4F51;
    background: #fff;
    border-radius: 10px;
    transition: .3s;
}

.tabContainer .buttonContainer button:hover {
    background-color: #1F2765;
    color: #fff;
}

.tabContainer .tabPanel {
    margin: 1.5rem auto;
}

.tabContainer .tabPanel img {
    width: 100%;
    object-fit: cover;
    box-shadow: 0px 16px 32px rgba(75, 77, 82, 0.24);
    border-radius: 4px;
}


/*prices-wrapper*/

.prices-items {
    margin: 3rem 0 !important;;
}

.prices-item {
    height: 100%;
    max-width: 450px;
    margin: 1rem auto;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #E3E3F6;
}

.prices-items_content {
    margin: 0 2rem 1rem;
    text-align: center;
}

.prices-item h3 {
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 1.4em;
}

.prices-item .price {
    margin: 30px 0;
    display: flex;
    justify-content: center
}

.prices-item .price h2 {
    font-size: 3em;
}

.prices-item .price p {
    font-size: 2em;
    margin-top: 0.3rem;
}

.prices-item .price .mo {
    font-size: 1.7em;
    margin-top: 1.8rem;
}

.prices-item .space {
    width: 13rem;
}

.prices-item .points {
    margin: 0.5rem 0;
    color: #4B4F51;
}

.prices-item .point {
    margin: 0.3rem 0;
    display: flex;
    justify-content: space-between;
}

.prices-item .point .tick {
    width: 6%;
}

.prices-item .tick img {
    width: 100%;
}

.prices-item .point p {
    width: 90%;
    text-align: left;
    line-height: 20px;
}

.prices-item button {
    color: #fff;
    background: #1F2765;
    font-weight: 700;
    font-size: 1.1em;
}

.standart {
    background: #1F2765;
    color: #fff;
    border: none;
    transform: scale(1.05);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 1.5rem 0;
}

.standart .prices-items_content {
    margin: 0 2rem 1rem;
}

.standart .space {
    width: 15rem;
}

.standart .price {
    margin: 35px 0;
}

.standart .points {
    margin: .5rem 0;
    color: #fff;
}

.standart button {
    background: #fff;
    color: #1F2765;
    font-weight: 700;
}
.standart h3, .standart h2 {
    color: #fff;
}

/*respond-wrapper*/

.review {
    margin: 2rem;
    padding: 3rem;
}

.review .comment {
    font-style: italic;
    margin-bottom: 2rem;
}
.review .avatar {
    width: 4rem;
}

.tns-nav {
    text-align: center;
    margin: 10px 0;
}
.tns-nav > [aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
}
.tns-nav > .tns-nav-active {
    background: #999;
}
.tns-outer [aria-controls], .tns-outer [data-action] {
    cursor: pointer;
}

/*customer-wrapper*/
.customers {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.customer-logo {
    margin: 2rem;
    height: 3rem;
}

.customer-logo.middle {
    margin: 1.5rem;
    height: 4.2rem;
}

.customer-logo.large {
    margin: 1rem;
    height: 5rem;
}

/*contact-wrapper*/

.contact-wrapper {
    background-color: #fafafa;
}

.contact-items {
    margin: 20px 0;
    align-items: center;
}

.contact-items .form {
    padding: 3% 5%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.contact-items .form h2 {
    font-weight: bold;
    color: #1C1D3C;
}

.contact-items .form form {
    margin: 10px 0;
}

.contact-items .username, .email {
    position: relative;
}

.contact-items .username:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto 0;
    width: 15px;
    height: 14px;
    /*background: url('../image/icons/user.png') no-repeat;*/
    background-size: cover;
}

.contact-items .email:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto 0;
    width: 15px;
    height: 14px;
    /*background: url('../image/icons/envelope.png') no-repeat;*/
    background-size: cover;
}

.contact-items .form button {
    background: #1F2765;
    color: #fff;
}

/*footer*/

footer {
    margin-top: 20px;
    padding: 20px 0;
}

.pre_footer {
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

.pre_footer .logo {
    width: 10%;
}

.pre_footer .logo img {
    width: 100%;
}

.pre_footer .footer-nav {
    width: 74%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.pre_footer .footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.pre_footer .footer-nav li {
    margin-right: 0.8rem;
}

.pre_footer .footer-nav li a {
    text-decoration: none;
    color: #000;
}

.pre_footer .social {
    width: 15%;
    display: flex;
    justify-content: space-between;
}

.pre_footer .social .social-item {
    width: 20%;
    align-items: center;
}

.pre_footer .social .social-item img {
    width: 60%;
    object-fit: cover;
}

footer p {
    width: 100%;
    padding: 20px 0 0 0;
    text-align: center;
    color: #415E56;
}

footer p a {
    text-decoration: none;
    color: #415E56;
}

@media(max-width: 650px) {
    .diagram-items .item { margin: 2rem 0; text-align: center }
}

@media(max-width: 796px) {
    .header-text .title { font-size: 2rem; }
    .header-illustration { margin-right: 0 }
    .header-block .container {
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
        text-align: center;
    }
    .features > .column, .features > .column p {text-align: center}
    .diagram .line { width: 20%; }
    .diagram-items .item { margin: 3rem 0 !important; text-align: center }
    .diagram-items .left { -webkit-flex-direction: column-reverse; flex-direction: column-reverse;  }
    .diagram-items .right { -webkit-flex-direction: column; flex-direction: column;  }

    /* Footer */
    /*.pre_footer { display: block }*/
    .pre_footer > .footer-nav ul { display: block }
    .pre_footer > .logo { width: 30% }
    .pre_footer > .social { width: 40% }
}

@media(max-width: 1000px) {
    .menu-toggle { display: block; }

    header nav {
        position: fixed;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        top: 4rem;
        left: -100%;
        transition: .5s;
    }

    header .logo {
        width: 5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    header nav.active { left: 0; }
    header nav ul { display: block; }
    header nav ul li { padding: 1rem 0 0.5rem 1.2rem; margin: 0;}
    header li:after { display: none; }
    header nav ul li a { color: #000; font-size: 1.5em }
    header nav ul li a:hover { color: gray; }

    .diagram-items .item { margin: 4rem 0; }
}

@media(max-width: 1030px) {
    .container {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;;
    }
}

@media(max-width: 1215px) {
    .header-text .title {
        font-size: 2.2rem;
    }
}

img.emojione {
    display: none !important;
}
