/**
Theme Name: Eventastic - Child
Theme URI: http://themeforest.net/user/elbisnero/portfolio
Author: Daniel S.
Author URI: https://themeforest.net/user/elbisnero
Description: The Eventastic child theme.
Version: 1.0.0
Template: eventastic
Text Domain: eventastic
*/

@font-face {
    font-family: PTSans-Regular;
    src: url(/wp-content/uploads/fonts/PTSans-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: PTSans-Bold;
    src: url(/wp-content/uploads/fonts/PTSans-Bold.ttf);
    font-weight: normal;
}

@font-face {
    font-family: PTSans-Italic;
    src: url(/wp-content/uploads/fonts/PTSans-Italic.ttf);
    font-weight: normal;
}

@font-face {
    font-family: PTSans-BoldItalic;
    src: url(/wp-content/uploads/fonts/PTSans-BoldItalic.ttf);
    font-weight: normal;
}

@font-face {
    font-family: PTSansNarrow-Regular;
    src: url(/wp-content/uploads/fonts/PTSansNarrow-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: PTSansNarrow-Bold;
    src: url(/wp-content/uploads/fonts/PTSansNarrow-Bold.ttf);
    font-weight: normal;
}

#main-content {
    padding: 30px 0;
    position: relative;
    min-height: 45.3vh;
}

.btn.wpes-mobile-menu-toggle {
    float: right;
    margin: 20px 10px;
    margin-top: 40px;
    margin-right: 10px;
    margin-bottom: 39px;
    margin-left: 10px;
}

.news-block-title {
    font-family: "PTSans-Regular", Verdana, sans-serif !important;
    font-size: 20px;
    text-transform: uppercase;
    font-family: Verdana;
    font-weight: bold;
    margin-right: 5px;
    color: #000000;
}

.news-block-separator {
    color: gray;
    margin-right: 5px;
}

.news-block-all-link {
    font-family: "PTSans-Regular", Verdana, sans-serif !important;
    color: #2f5547;
    font-weight: 700;
}
.news-block-all-link{
    color: #2f5547;
}
a:hover{
    text-decoration: underline;
}
/** Посмотрите ближайшие события на главной */
.fw-action-content h2, .card-title a span, .footer-widget-title {
    font-family: "PTSans-Regular", Verdana, sans-serif !important;
}

.grid-small-title {
    font-size: 16px;
    text-transform: uppercase;
    font-family: Verdana;
    font-weight: bold;
}

.events-list-date-box {
    width: 32px;
    height: 32px;
    padding: 2px 2px 2px 2px;
    background-color: #002246;
    color: #ffffff;
    margin-top: 4px;
}
.events-list-date-box-day, .events-list-date-box-month {
    display: block;
    text-align: center;
    line-height: 14px;
}
.events-list-date-box-day {
    font-family: "PTSans-Bold", Verdana, sans-serif !important;
    font-size: 16px;
}
.events-list-date-box-month {
    font-size: 12px;
}
.event-list-title {
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 0px;
    color: black;
    font-weight: bold;
}

.event-list-card {
    margin-top: 10px;
    margin-bottom: 10px;
}

/**
 * Убрал padding 15px слева от логотипа.
 */
/*.main-nav .wpes-logo-wrap {*/
/*    padding: 0 10px 0 0px;*/
/*}*/

.card-description, .description {
    color: #333333;
}

/** Убираем сглажтивание - текст на страницах становится более черным, а то был серым */
html * {
    -webkit-font-smoothing: initial;
}

/**
 * Уменьшаем высоту заголовков карточек постов
 */
.grid-small-title {
    font-size: 12px;
    text-transform: none !important;
}
.entry-title.card-title {
    font-size: 16px;
    line-height: 0.8rem;
}
/**
 * Уменьшаем отступ между заголовком секции и карточками.
 */
[class*=contactus-], [class*=features-], [class*=pricing-], [class*=projects-], [class*=team-], [class*=testimonials-] {
    padding: 0px 0px !important;
}
.btn.btn-vk {
    color: #fff;
    background-color: #4A77A8;
    border-color: #125688;
    box-shadow: 0 2px 2px 0 rgba(18,86,136,.14), 0 3px 1px -2px rgba(18,86,136,.2), 0 1px 5px 0 rgba(18,86,136,.12);
}
/**
 * Шрифт для заголовка в слайдере
 */
.slider-header {
    font-family: "PTSansNarrow-Bold", Verdana, sans-serif !important;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}
/**
 * Высота блоке комментария к посту = 2 строка
 */
textarea#comment {
	height: 2.857142rem!important;
}
.search-submit {
    height:35px;
    position:relative;
    background-color: #51c85c;
    text-transform:capitalize;
    font-weight:normal;
    font-size: inherit;
    text-align:center;
    margin-block-start: 1em;
    right:0;
    padding-top:8px
}
input.search-submit {
    height:35px;
    text-transform:capitalize;
    font-weight:normal;
    font-size: inherit;
    text-align:center;
    margin-block-start: 1em;
    padding-top:8px;
}
/*
 * Одинаковая высота карточек в блоке Events Carousel
 */
.wpes-event-carousel div.card-body {
    min-height: 120px
}
/*
 * Чтобы заголовок карточки (многострочный) не слиплялся в блоке Events Carousel
 */
.wpes-event-carousel .entry-title.card-title {
    line-height: 1rem;
}

/*
 * Чтобы избежать отображение и мобильного и десктопного переключателя языка на планшетах.
 * Мобильный прячем, так как при этих размерах уже показывается десктопный.
 */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-lang-selector { display: none !important; }
}

