@media (min-width: 768px) {
    .site.profile .scope-list .ideal-scopes .form-check,
    .site.subscribe .scope-list .ideal-scopes .form-check,
    .site.subscribe .secondary-scopes .ideal-scopes .form-check {
        width: 50%;
    }

    ul.loclist li {
        width: 50%;
    }
}
@media (max-width: 1400px) {
    .language-switch {
        right: 10px;
    }

    #bapNav > div ul {
        margin-right: 15px;
    }
}
@media (max-width: 1240px) {
    #bapNav > div ul {
        margin-right: 25px;
    }
}
@media (max-width: 1024px) {
    #bapNav > div ul {
        margin-right: 55px;
    }
}

@media (min-width: 992px) {
    .site.profile .content-wrapper .sidebar {
        width: 200px;
        min-width: 200px;
    }

    #mc_embed_signup .button.bap-button {
        padding: 8px 30px;
        font-size: 16px;
        line-height: 21px;
    }
    section.section.half-steps .single-step .title span {
        font-size: 60px;
    }
}

@media (max-width: 992px) {
    .language-switch {
        left: calc(50% - 15px);
        right: auto;
    }

    .site.seekers .searchform-container .searchform-row a {
        line-height: 28px;
    }

    .site .big-checkbox-wrapper .form-check,
    .site .big-radio-wrapper .form-check {
        max-width: none;
        width: 100%;
    }

    .site.profile .content-wrapper .main-content .big-checkbox-wrapper label,
    .site.registration .notif-row .big-checkbox-wrapper label {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .site.seekers .swiper-pagination {
        display: none;
    }
    .site.profile .content-wrapper .main-content h3,
    .site.profile .content-wrapper .main-content .h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .site form h2,
    .site form .h2 {
        font-size: 20px;
        line-height: 24px;
    }

    .ad-source-holder .form-check {
        width: 100%;
    }

    table.existing-attachments thead {
        display: none;
    }

    table.existing-attachments tbody,
    table.existing-attachments td,
    table.existing-attachments tr {
        display: block;
    }

    table.existing-attachments tbody tr td {
        display: block;
        width: 100%;
        border-bottom: none;
        border-right: none;
        background: #fff;
        padding-right: 10px;
    }

    table.existing-attachments tbody tr td[data-label]::before {
        content: attr(data-label);
        padding: 0.3125rem 0.625rem 0.3125rem 0;
        display: block;
        width: 100%;
        color: #000;
        font-weight: bold;
        font-size: 1em;
    }

    table.existing-attachments tbody tr.deleted td[data-label]::before {
        color: #eee;
    }

    table.existing-attachments tbody tr td.half-width {
        width: 50%;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    table.existing-attachments tbody tr::after {
        display: block;
        content: '';
        clear: both;
    }

    table.existing-attachments tbody tr {
        border-bottom: 1px solid #aaa;
        margin-bottom: 15px;
    }

    table.existing-attachments tbody tr td.half-width.left {
        float: left;
    }

    table.existing-attachments tbody tr td.half-width.right {
        float: left;
    }

    table.existing-attachments tbody td a {
        margin: 0 auto;
    }

    table.existing-attachments tbody td input[type='text'] {
        width: 100%;
    }
}

@media (max-width: 570px) {
    .typeahead.dropdown-menu > li > a {
        white-space: normal;
    }
}

@media (max-width: 450px) {
    .typeahead {
        min-width: 0;
    }
}
