@media screen and (min-width: 901px) and (max-width: 1275px) {
    .mobile-scroll-hint {
        display: block;
    }
}

@media screen and (max-width: 1250px) {
    header {
        text-align: center;
    }
}

@media screen and (max-width: 1020px) {
    section > .blockWrap {
        width: auto;
    }

    footer {
        height: auto;
        width: auto;
        display: block;
    }
}

@media screen and (max-width: 1000px) {
    .equalsSizeChildBlocks {
        text-align: center;
    }

    .equalsSizeChildBlocks > div {
        margin: 15px;
        width: 200px;
    }

    .equalsSizeChildBlocks > .hideImgContent {
        margin: 15px;
        width: auto;
    }

    .equalsSizeChildBlocks > .hideImgContent > #imObj > #imCelImg_Cont {
        opacity: 1;
    }

    .structureList {
        display: block;
    }

    .structureList li {
        display: block;
        width: 70%;
        margin: 15px auto;
    }

    .structureList li:first-child {
        margin: 15px auto;
    }

    .structureList li:after {
        top: auto;
        bottom: -10px;
        right: 45%;
    }
}

@media screen and (max-width: 915px) {
    .allExhibitionsBlock > div {
        text-align: center;
    }

    .allExhibitionsBlock > div > img {
        margin: 0 0 20px 0;
    }

    .allExhibitionsBlock > div > .link {
        margin: 10px 20px 0 0;
    }

    .allExhibitionsBlock > div > .description {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    header > section > .blockWrap > div > .logo > a > img {
        margin-left: 0;
    }

    header > section > .blockWrap > div > .logo {
        text-align: center;
    }

    nav {
        text-align: center;
        margin: 0 auto;
    }

    .topMenu {
        margin: 15px auto;
        width: 50%;
    }

    .topMenu li {
        display: block;
        height: auto !important;
    }

    .topMenu > li {
        border-bottom: 1px solid #cccccc;
    }

    .topMenu > li:last-child {
        border-bottom: none;
    }

    .topMenu > li > a {
        display: inline-block;
        color: #626061;
    }

    .topMenu > li:hover > a, .topMenu a.active {
        border: 1px solid transparent;
        background: transparent;
    }

    li:hover > .subMenu {
        display: block;
        opacity: 1;
    }

    .subMenu {
        visibility: visible;
        position: relative;
        display: none;
        background: transparent;
        width: auto;
        margin: 5px;
        left: 0;
        border: none;
        -webkit-transform: none;
        -moz-transform: none;
        transform: none;
        opacity: 0;
    }

    .subMenu > li > a {
        color: #626061;
        border-bottom: 1px solid transparent;
    }

    .subMenu > li {
        text-align: left;
    }

    table {
        border: 0;
    }

    table th {
        display: none;
    }

    table tr {
        margin-bottom: 10px;
        display: block;
    }

    table td {
        display: block;
        font-size: 0.8125em;
        margin-bottom: 2px;
    }

    .report td {
        width: 100%;
    }

    table td:before {
        content: attr(data-label);
        text-transform: uppercase;
        font-weight: bold;
        padding: 0 0 6px 10px;
        display: block;
    }

    .tabs_caption {
        height: 100%;
    }

    .tabs_caption li {
        overflow: hidden;
        display: block;
        padding: 0;
        text-align: center;
        border-top: 4px solid transparent;
        float: none;
    }

    .tabs_caption li:after {
        background: none;
    }

    .tabs_caption li:last-child.active, .tabs_caption .active {
        border-top: 4px solid #008DD2;
    }
}

@media screen and (max-width: 760px) {
    .circleBlock {
        text-align: center;
    }

    .circleBlock > div {
        margin: 15px;
    }
}

@media screen and (max-width: 685px) {
    #email {
        margin: 15px 0 15px 0;
    }

    .blank > .inlineText {
        display: block;
        width: 100%;
    }

    .blank > textarea {
        width: 100%;
    }

    /* Block query */
    .block-query {
        padding: 20px 0;
    }

    .block-query__row {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .block-query__label {
        padding: 0;
        text-align: left;
    }

    .block-query .select {
        width: 100%;
    }

    .block-query__input-wrap {
        margin-bottom: 10px;
    }

    .block-query__input-wrap:last-child {
        margin-bottom: 0;
    }

    .block-query__buttons {
        position: static;
        display: flex;
        -webkit-justify-content: flex-end;
                justify-content: flex-end;
        margin-top: 10px;
    }

    .block-query__input-wrap.block-query__input-wrap--locality .block-query__input,
    .block-query__input-wrap.block-query__input-wrap--church .block-query__input,
    .block-query__input-wrap.block-query__input-wrap--owner .block-query__input {
        width: 100%;
        margin: 0;
    }
}

/*@media screen and (max-width: 400px) {
    .blockQuery > div {
        width: auto;
    }
}*/

.toast {
    display: none;
    max-width: 350px;
    overflow: hidden;
    font-size: .875rem;
    background-color: #75482126;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    /*opacity: 0;*/
    border-radius: .25rem;
}

.toast.show {
    /*opacity: 1;*/
    display: block;
}

.toast-body {
    padding: .75rem;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}