@font-face {
  font-family: "YandexSansText-Regular";
  src: url("../fonts/YandexSansText-Regular.woff");
}

body {
    font-family: 'YandexSansText-Regular';
    background-color: #f2f9fe;
}

.wrap {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

/** HEADER */

.header {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.main {
    max-width: 1200px;
    width: 100%;
    margin: 50px auto;
}

.header_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

blockquote {
    border-radius: 5px;
    font-size: larger;
}

.header_logo {
    width: 150px;
    margin: 20px auto;
}

.header_logo img {
    width: 100%;
}

.header_slogan {
    width: 600px;
    text-align: center;
    margin: 0 auto;
}

.header_bottom {
    text-align: center;
    max-width: 600px;
    margin: 10px auto;
}

.header_bottom  strong {
    background: #fff;
    border-radius: 5px;
    padding: 5px;
    color: rgb(171, 37, 37);
    box-shadow: 0 0 20px;
}

.header_bottom {
    text-shadow: 0 0 20px #fff;
}

/** END HEADER */

/** MENU */

.nav {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.nav a {
    margin: 5px;
    color: #000;
    text-decoration: none;
}

/** END MENU /*

/** EVENTS */

.events {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
}

.event {
    width: 300px;
    margin: 30px 10px;
}

.event_img {
    width: 100%;
    height: 150px;
}

.event_img img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.event_info {
    margin-top: 5px;
}

/** END ACTION */

/** ACTION */

.actions_search_events {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.actions,
.search {
    max-width: 500px;
    width: 100%;
}

.action {
    margin: 30px 10px;
}

.action_img {
    width: 100%;
    height: 200px;
}

.action_img img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.action_info {
    margin-top: 5px;
}

.action_info time {
    color: #9c9292;
}

.actions_more {
    padding: 10px;
    background-color: #0980c6;
    border: none;
    border-radius: 5px;
    width: 200px;
    height: 30px;
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
}

/** END ACTION */

/** SEARCH */

input::placeholder {
    font-family: 'YandexSansText-Regular';
    font-size: 14px;
}

input::-moz-placeholder {
    font-family: 'YandexSansText-Regular';
    font-size: 14px;
}

select {
    font-family: 'YandexSansText-Regular';
    font-size: 14px;
}

option {
    font-family: 'YandexSansText-Regular';
    font-size: 14px;
}


.search_input {
    display: flex;
    justify-content: center;
}

.search_input input {
    width: 75%;
    height: 40px;
    margin: 10px 5px;
    border-radius: 5px;
}

.search_input_extra input {
    width: 98.3%;
    height: 35px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid;
}

.search_region select,
.search_struct select {
    width: 99.8%;
    height: 40px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #fff;
}

.search_date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search_date input {
    width: 200px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid;
}

.search_form button {
    width: 40%;
    height: 40px;
    margin: 20px auto;
    background-color: #0980c6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    font-family: 'YandexSansText-Regular';
    font-size: 16px;
}

.search_btn {
    border: none;
    background-color: transparent;
    color: rgb(171, 37, 37);
    font-family: 'YandexSansText-Regular';
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.main_search {
    padding-top: 20%;
    padding-bottom: 5%;
    background-image: url(/assets/img/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 1200px;
    margin: 0 auto;
}

.head_form {
    max-width: 1000px;
    margin: 0 auto;
}

/** END SEARCH */

/** IN TOUCH */

.in_touch {
    margin-top: 40px;
}

.in_touch button {
    width: 200px;
    height: 40px;
    margin: 20px auto;
    background-color: #0980c6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    font-family: 'YandexSansText-Regular';
    font-size: 16px;
}

/** END IN TOUCH */

/** FOOTER */

.footer {
    text-align: center;
}

.footer i {
    font-size: 32px;
    color: #0980c6;
}

/** END FOOTER */

.modal {
    display: none;
   position: fixed;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   background-color: #fff;
   padding: 20px 40px;
   width: 300px;
   border: 1px solid #000;
   border-radius: 5px;
}

.modal input {
    display: block;
    height: 20px;
    width: 100%;
    margin: 10px 0;
}

.modal textarea {
    height: 200px;
    width: 100%;
}

.modal button {
    display: block;
    width: 200px;
    height: 40px;
    margin: 20px auto;
    background-color: #0980c6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'YandexSansText-Regular';
    font-size: 16px;
}

.modal a {
    text-align: center;
    display: block;
    cursor: pointer;
}

.alert_success {
    background-color: lightgreen;
}