body {
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: 'alliancec';
    src: url('/design/images/img_for_action/2019/romeo_juliette/fonts/alliancec.otf')  format('truetype')
}
@font-face {
    font-family: 'alliancec-bold';
    src: url('/design/images/img_for_action/2019/romeo_juliette/fonts/alliancec-bold.otf')  format('truetype')
}
.rd__top-side {
    background: url(/design/images/img_for_action/2019/romeo_juliette/main-bg2.png) no-repeat;
    background-position: center;
    background-size: cover;
    padding: 30px 155px;
}
.rd__header-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.rd__main-list {
    margin: 0;
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
}
.rd__main-link {
    font-family: 'alliancec-bold';
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}
.rd__main-link:hover {
    text-decoration: none;
    color: #fff;
}
.rd__main-logo_container {
    display: grid;
}
.rd__main-logo_paragraph {
    font-family: 'alliancec-bold';
    color: #fff;
    font-size: 17px;
    justify-self: center;
    margin-top: 0;
    text-transform: uppercase;
}
.rd__main-logo_img {
    justify-self: center;
}
.rd__age-restrictions_container {
    display: grid;
}
.rd__age-restrictions_img {
    justify-self: end;
}
.rd__main-container {
    max-width: 725px;
}
.rd__main_paragraph {
    font-family: 'alliancec-bold';
    color: #fff;
    font-size: 20px;
    text-align: center;
    margin: 20px 0 50px;
}
.rd__participation-terms_container {
    padding: 38px 24px;
    border: 2px solid #fff;
}
.rd__participation-terms_header {
    font-family: 'alliancec-bold';
    color: #fff;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
}
.rd__participation-terms__list {
    display: grid;
    grid-gap: 20px;
    padding: 0;
}
.rd__participation-terms__item {
    display: grid;
    grid-template-columns: 45px auto;
    grid-column-gap: 10px;
}
.rd__participation-terms__paragraph {
    color: #fff;
    font-size: 20px;
    font-family: 'alliancec';
    margin: auto 0;
}
.rd__participation-terms_link {
    font-family: 'alliancec-bold';
    max-width: 240px;
    padding: 18px 0;
    display: block;
    margin: auto;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #4b321f;
    background: url(/design/images/img_for_action/2019/romeo_juliette/participate-btn.png) no-repeat;
    background-position: center;
    background-size: contain;
}
.rd__participation-terms_link:hover {
    text-decoration: none;
    color: #4b321f;
}
.modal-body__input {
    width: 100%;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, .3);
}
.modal-body__textarea {
    width: 100%;
    height: 140px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, .3);
    resize: vertical;
    padding: 5px 10px;
}
.modal-body__input:focus,
.modal-body__textarea:focus {
    outline: none;
}
.submit__container  {
    display: grid;
}
.participant__submit {
    justify-self: end;
}
.modal-title,
.modal-body__label,
.modal-body__paragraph,
.downloaded-files label,
.modal-body__file,
.participant__submit {
    color: #000;
    font-family: 'alliancec-bold';
    font-size: 18px;
}
.participant__submit {
    background: none;
    border: 2px solid rgba(29, 167, 50, 0.69);
}
.rd__history-side {
    background: url(/design/images/img_for_action/2019/romeo_juliette/main-bg-only.png) no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    padding: 30px 0;
}
.history-side__header {
    font-family: 'alliancec-bold';
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
}
.history-side__history-list {
    margin: 0;
    list-style-type: none;
    padding: 0;
}
.history-side__history-item {
    max-width: 70%;
    margin: auto;
    display: grid;
    border: 1px solid #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
}
.history-item__name-header {
    font-family: 'alliancec-bold';
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
}
.history-item__city-paragraph,
.history-item__story-paragraph{
    font-family: 'alliancec';
    color: #fff;
    font-size: 16px;
}
.history-item__img {
    margin: auto;
    max-width: 100%;
}
#rulesModal .modal-dialog {
    max-width: 850px;
}
.metka-img {
    width: 250px;
    position: absolute;
    left: 0;
    top: -50px;
    transform: rotate(5deg);
}
@media screen and (max-width: 1600px) {
    .rd__top-side {
        padding: 10px 50px;
    }
}
@media screen and (max-width: 1360px) {
    .rd__header-container {
        grid-row-gap: 20px;
    }
    .rd__main-list {
        display: grid;
        grid-area: 1/3/2/1;
        grid-template-columns: repeat(3, 1fr);
    }
    .rd__main-logo_container {
        grid-area: 2/2/2/2;
    }
    .rd__age-restrictions_container {
        grid-area: 2/3/2/3;
    }
}
@media screen and (max-width: 900px) {
    .rd__main-list {
        grid-area: 1/4/2/1;
    }
}
@media screen and (max-width: 767px) {
    .m-none {
        display: none;
    }
    .rd__main_paragraph br {
        display: none;
    }
}
@media screen and (max-width: 460px) {
    .rd__top-side {
        padding: 10px;
    }
    .rd__main-link {
        font-size: 16px;
    }
    .rd__main-logo_img {
        max-width: 200px;
    }
}