@charset "UTF-8";

/*
Theme Name: Ilyinsky Foundation
Theme URI: https://ilyinsky-foundation.org.ua/themes
Author: Oleksandr Karas
Author URI: https://wordpress.org/
Description: The special theme for Ilyinskiy Foundation
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilyfound
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

Ilyinsky Foundation WordPress Theme, (C) 2022 Oleksandr Karas
*/



/* Слайдер */
/* .owl-carousel {
    max-width: 750px;
    margin: 0 auto;
    height: auto;
} */
.main-content .slider {
    margin-bottom: 30px;
    position: relative;
}

.main-content .slider .owl-item.active.center .slider-card {
    transform: scale(1.15);
    opacity: 1;
    background: #ff9966;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #ff5e62, #ff9966);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #ff5e62, #ff9966);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
}

.main-content .slider-card {
    background: #fff;
    padding: 0px 0px;
    margin: 50px 15px 90px 15px;
    border-radius: 5px;
    box-shadow: 0 15px 45px -20px rgb(0 0 0 / 73%);
    transform: scale(0.9);
    opacity: 0.5;
    transition: all 0.3s;
}

.main-content .slider-card img {
    border-radius: 5px 5px 0px 0px;
}

.main-content .owl-nav .owl-prev {
    position: absolute;
    top: calc(50% - 25px);
    left: 0;
    opacity: 1;
    font-size: 30px !important;
    z-index: 1;
}

.main-content .owl-nav .owl-next {
    position: absolute;
    top: calc(50% - 25px);
    right: 0;
    opacity: 1;
    font-size: 30px !important;
    z-index: 1;
}

.main-content .owl-dots {
    text-align: center;
}

.main-content .owl-dots .owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background: #ccc !important;
    margin-left: 3px;
    margin-right: 3px;
    outline: none;
}

.main-content .owl-dots .owl-dot.active {
    background: #f44336 !important;
}

.main-content .owl-item.active {
    border: none;
}

/* .main-content .owl-theme .owl-nav {
    position: absolute;
    top: 46%;
    left: 0;
    right: 0;
}

.main-content .owl-theme .owl-nav .owl-prev,
.main-content .owl-theme .owl-nav .owl-next {
    position: absolute;
    height: 100px;
    color: inherit;
    background: none;
    border: none;
    z-index: 100;
}

.main-content .owl-theme .owl-nav .owl-prev i,
.main-content .owl-theme .owl-nav .owl-next i {
    font-size: 4.5rem;
    color: #cecece;
}

.main-content .owl-theme .owl-nav .owl-prev {
    left: 0;
}

.main-content .owl-theme .owl-nav .owl-next {
    right: 0;
} */

.news-section__main-text {
    margin-top: 50px;
}

/* Pagination buttons */

.pagination {
    margin-top: 40px;
    justify-content: center;
}

.nav-links>* {
    padding: 5px 15px;
    border: 2px solid black;
    margin: 0;
    font-weight: 500;
    color: black;
    background-color: rgba(226, 132, 132, 0.5);
    font-size: 16px;
    transition: all .5s ease-in-out;
}

.nav-links>*:hover {
    color: rgba(0, 0, 0, 0.5);
    transition: all .5s ease-in-out;
}

@media (max-width: 1200px) {
    .nav-links>* {
        font-size: calc(12px + (4) * (100vw / 1200));
    }
}

@media (max-width: 767px) {
    .nav-links>* {
        padding: 4px 8px;
        font-size: calc(12px + (4 + 4 * 0.7) * ((100vw - 320px) / 1200));
    }
}

/* Dropdown list for language selector */

a.dropdown-item {
    font-size: 16px;
    padding: 3.5px 10px;
    font-weight: 500;
}

ul.language-chooser {
    padding: 0;
}

li.language-chooser-item.active {
    background-color: rgba(226, 132, 132, 0.5);
    border: none;
}

@media (max-width:1200px) {
    a.dropdown-item {
        font-size: calc(10px + (6) * (100vw / 1200));
    }
}

@media (max-width:767px) {
    a.dropdown-item {
        padding: 3.5px 8px;
        font-size: calc(10px + (6 + 6 * 0.7) * ((100vw - 320px) / 1200));
    }
}

/* Breadcrumbs */

.kama_breadcrumbs span a,
.kb_title {
    color: rgb(0, 0, 0, 0.7);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.5s ease-in-out;
}

.kama_breadcrumbs span a:hover,
.kb_title:hover {
    color: rgb(0, 0, 0, 0.5);
    transition: all 0.5s ease-in-out;
}


@media (max-width: 1200px) {

    .kama_breadcrumbs span a,
    .kb_title {
        font-size: calc(14px + (2) * (100vw / 1200));
    }
}

@media (max-width: 767px) {

    .kama_breadcrumbs span a,
    .kb_title {
        font-size: calc(14px + (2 + 2 * 0.7) * ((100vw - 320px) / 1200));
    }
}