a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

    .contacts * {
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        text-wrap: wrap;
    }

.contacts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    gap: 10px;
}

.contacts-item {
    display: flex;
    border-bottom: dotted;
    border-width: 1px;
    border-color: lightgray;
    padding: 10px 0px;
}

    .contacts-item a {
        padding: 0;
        font-size: 18px;
        word-break: break-word;
        /*text-wrap: wrap;*/
        text-align: left;
        color: black;
    }

    .contacts-item i {
        margin-right: 5px;
    }

.contact-block {
    width: 560px;
    height: 400px;
}

.copyright {
    text-align: center;
}

@media (max-width: 767px) {
    .contact-block {
        width: 100%;
        height: 400px;
    }

    .contacts-info {
        padding: 0 0px;
    }

    .contacts-container {
        padding: 0 10px;
    }
}
