/* ========================================= */
/* =========== Events календарь ============ */
/* ========================================= */
.events-calendar h1 {
    margin-top: 0px;
}
.b-event-list .uk-panel-box {
    color: #333;
    box-shadow: 0 0px 8px 0 rgba(160, 166, 168, 0.35);
}
.b-event-list .uk-panel-box > .uk-panel-teaser {
    border-bottom-width: 4px;
    border-bottom-style: solid;
}
.b-event-list .uk-panel.uk-panel-box p {
    font-size: 13px;
    line-height: 1.2em;
    margin-bottom: 5px;
}
.b-event-list .uk-panel .uk-button {
    background-color: inherit;
    color: inherit;
    font-size: .9em;
}
.b-event-list h3.uk-panel-title {
    line-height: 1.2em;
    text-align: center;
}
.b-event-list .uk-panel .date {
    padding: 3px 6px;
    background: #c0e4e8;
    display: inline-block;
    font-weight: 700;
}
.b-event h1 {
    /*color: #2db2c4;*/
    color: #0e5898;
}
.b-event .topic {
    /* min-width: 180px; */
    display: inline-block;
    /* background-color: #2db3c4; */
    background-color: #0e5898;
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    padding: 8px 10px 3px;
    min-height: 30px;
    margin-bottom: 10px;
}
.b-event .date {
    /* background-color: #bfe4e8; */
    background-color: #f58220;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    padding: 8px 10px 0;
    min-height: 30px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.b-event .b-img {
    /* margin-right: 20px; */
    margin-bottom: 20px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}
.b-event .b-img img {
    width: 100%;
    height: auto;
}
.b-event .b-back-to-events {
    background-color: #ececec;
    display: inline-block;
    font-weight: 700;
    padding: 4px 20px 3px 10px;
    min-height: 24px;
    margin-top: 10px;
}
.b-event .ya-share2 {
    float: left;
    margin-right: 0;
}
/* -------------------------------- */


/* =========================================== */
/* =========== Events календарь 2 ============ */
/* =========================================== */
.events-calendar .well button,
.events-calendar .well input,
.events-calendar .well input,
.events-calendar .well select,
.events-calendar .well textarea {
    border: none;
    /*width: auto;*/
    width: 100%;
    outline: none;
}
.events-calendar .well {
    /*background-color: #bfe4e8;*/
    border: none;
    /*border-radius: 0;*/
    position: relative;
    /*padding: 29px 10px 0px !important;*/
    padding: 7px 10px 2px !important;
    background-color: #666666;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.events-calendar .well .search-title {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    padding-bottom: 6px;
}
.events-calendar .b-dr {
    position: relative;
    z-index: 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(221,221,221,1) 30%, rgba(221,221,221,1) 70%, rgba(255,255,255,1) 100%);
}
.events-calendar .b-dr:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    max-height: 300px;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 85%);
}
.events-calendar .b-dr:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    max-height: 300px;
    z-index: -1;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 85%);
}
.events-calendar .fvi__show-more {
    font-size: 13px;
    font-weight: bold;
    border-radius: 6px;
}
.events-calendar .event-card {
    position: relative;
    overflow: hidden;
    height: 160px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.events-calendar .event-card-in {
    position: relative;
    height: 26px;
}
.events-calendar .event-card-in2 {
    line-height: 1.2;
    padding: 0 11px 20px;
    max-height: 70px;
    overflow: hidden;
    position: relative;
}
.events-calendar .event-card .date {
    font-weight: bold;
    display: block;
    background-color: #ааа;
    color: #ed0000;
    font-size: 24px;
    line-height: 1;
    text-align: right;
    padding: 8px 10px 4px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.events-calendar .event-card .event-topic {
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    text-align: right;
    padding: 4px 7px;
    background-color: #0e5898;
}
.events-calendar .event-card .img {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    border-radius: 2px;
    width: auto;
    max-width: 51px;
    height: auto;
    top: -25px;
    left: 11px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    background-color: #666666;
    transition: all .5s;
}
.events-calendar .event-card .img:hover {
    border-radius: 5px;
    max-width: 185px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
}
.events-calendar .event-card .img img {
    width: 100%;
    height: auto;
    transition: all .5s;
}
.events-calendar .event-card .title {
    font-weight: bold;
    line-height: 1.1;
    font-size: 15px;
    transition: all .3s;
}
.events-calendar .event-card .read-more {
    position: absolute;
    z-index: 0;
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    line-height: 1;
    font-size: 14px;
    text-align: right;
    color: #f78421;
    background-color: #ffffff;
    transition: all .3s;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.events-calendar .event-card .read-more:hover {
    color: #fff;
    background-color: #f78421;
}
/* Заголовочная часть */
.events-calendar .request-panel {
    display: block;
    color: #333;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.25);
    transition: all .3s;
    padding: 8px 40px 8px 12px;
    line-height: 1.1;
    /*color: #000;*/
    text-align: right;
    position: relative;
    min-height: 45px;
}
.events-calendar .request-panel:hover {
    background-color: #eee;
    color: #000;
}
.events-calendar .request-panel:after {
    content: '»';
    position: absolute;
    top: 50%;
    margin-top: -17px;
    right: 5px;
    font-size: 57px;
    line-height: 23px;
}
.events-calendar .request-panel:after, .link-marker {color: #f58220;}


/* ==================================================== */
/* =========== Events календарь карточками ============ */
/* ==================================================== */
.events-calendar-card .well button,
.events-calendar-card .well input,
.events-calendar-card .well input,
.events-calendar-card .well select,
.events-calendar-card .well textarea {
    border: none;
    width: 100%;
    outline: none;
}
.events-calendar-card .well {
    border: none;
    position: relative;
    padding: 7px 12px 4px;
    background-color: #666666;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.events-calendar-card .well:before {
    /*display: none;*/
}
.events-calendar-card .well .search-title {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    padding-bottom: 6px;
}
.events-calendar-card .well,
.events-calendar-card .event-card,
.events-calendar-card .request-panel,
.events-calendar-card  .b-dr .fvi {
    border-radius: 10px;
    /*border-radius: 14px;*/
}
.events-calendar-card .b-cal {
    position: relative;
    z-index: 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(221,221,221,1) 30%, rgba(221,221,221,1) 70%, rgba(255,255,255,1) 100%);
}
.events-calendar-card .b-cal:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    max-height: 300px;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 85%);
}
.events-calendar-card .b-cal:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    max-height: 300px;
    z-index: -1;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 85%);
}
.events-calendar-card  .b-dr .fvi {
    min-width: 150px;
    min-height: 340px;
    width: auto;
    height: 340px;
    position: relative;
    overflow: hidden;
}
.events-calendar-card  .b-dr .fvi__show-more {
    font-size: 13px;
    font-weight: bold;
    border-radius: 15px;
}
.events-calendar-card .event-card {
    position: relative;
    overflow: hidden;
    height: 340px;
    background-color: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.events-calendar-card .event-card-in {
    line-height: 1.2;
    padding: 0 11px 20px;
    /*max-height: 85px;*/
    max-height: 100px;
    overflow: hidden;
    position: relative;
}
.events-calendar-card .event-card .date {
    display: block;
    position: absolute;
    bottom: -10px;
    left: 0;
    /* right: 10px; */
    font-weight: bold;
    color: #fffcfc;
    font-size: 26px;
    line-height: 1;
    /* text-align: right; */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding: 4px 22px 4px 15px;
    border-radius: 0 20px 20px 0;
    background-color: #f78421;
    /* border-bottom: 1px solid #ed0000; */
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
}
.events-calendar-card .event-card .event-topic {
    position: absolute;
    top: 7px;
    right: 7px;
    /*left: 7px;*/
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    /* text-align: right; */
    padding: 4px 7px;
    border-radius: 10px;
    background-color: rgba(14, 88, 152, 0.8);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.events-calendar-card .event-card .a-img {
    display: block;
    position: relative;
    margin-bottom: 18px;
}
.events-calendar-card .event-card .img {
    position: relative;
    overflow: hidden;
    max-height: 210px;
}
.events-calendar-card .event-card .img img {
    width: 100%;
    height: auto;
    transition: all .7s;
}
.events-calendar-card .event-card .img:hover img {
    -webkit-filter: brightness(80%);
    /*filter: brightness(80%);*/
    filter: brightness(120%);
}
.events-calendar-card .event-card .title {
    font-weight: bold;
    line-height: 1.1;
    font-size: 15px;
    transition: all .3s;
    word-break: break-word;
}
.events-calendar-card .event-card .read-more {
    position: absolute;
    z-index: 0;
    bottom: 6px;
    /*left: 6px;*/
    right: 6px;
    padding: 6px 10px;
    border-radius: 15px;
    font-weight: bold;
    line-height: 1;
    font-size: 14px;
    text-align: right;
    color: #f78421;
    background-color: #f2f2f2;
    transition: all .3s;
    /* box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1); */
}
.events-calendar-card .event-card .read-more:hover {
    color: #fff;
    background-color: #f78421;
}
/* Карточки со ссылками */
.events-calendar-card .request-panel {
    display: block;
    color: #333;
    background-color: #fff;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.25);
    transition: all .3s;
    padding: 12px 40px 12px 12px;
    line-height: 1.1;
    text-align: right;
    position: relative;
    min-height: 45px;
}
.events-calendar-card .request-panel:hover {
    background-color: #eee;
    color: #000;
}
.events-calendar-card .request-panel:after {
    content: '»';
    position: absolute;
    top: 50%;
    margin-top: -17px;
    right: 5px;
    font-size: 57px;
    line-height: 23px;
}
.events-calendar-card .request-panel:after, .link-marker {color: #f58220;}