import 'reset-css';
import './global.css';
import './scripts/header.js';
import './styles/layout/container.css';
import './styles/layout/footer.css';
import './styles/layout/header/header.css';

import './styles/layout/container.css';
import './styles/layout/footer.css';



import './styles/components/advert-item.css';
import './styles/components/article-item.css';
import './styles/components/article-single.css';
import './styles/components/contacts.css';
import './styles/components/event-item.css';
import './styles/components/interview-item.css';
import './styles/components/partner-item.css';
import './styles/components/single-partner-item.css';
import './styles/components/suggestion-item.css';
import './styles/components/agro-informer.css';
import './styles/components/cookie-consent.css';
import './styles/components/author.css';


// rfo
import './styles/rfo/rfo.css';
import './styles/rfo/search-rfo.css';
import './styles/rfo/featured.css';
import './styles/rfo/social.css';
import './styles/rfo/article.css';
import './styles/rfo/article-main.css';
import './styles/rfo/breadcrumbs.css';
import './styles/rfo/landing.css';
import './styles/rfo/interview.css';

//spravochniki
import './styles/spravochniki/spravochniki.css';
import './styles/spravochniki/pesticidy.css';

import './scripts/calendar.js';
import './scripts/menu-vertical.js';
import './scripts/modal.js';
import './scripts/scroll-to-top.js';
import './scripts/search-form.js';
import './scripts/select.js';
import './scripts/subscription-form.js';
import './scripts/agroserver.js';
import './scripts/cookie-consent.js';
import './styles/components/about.css';
import './styles/components/banner.css';
import './styles/components/breadcrumbs.css';
import './styles/components/button.css';
import './styles/components/calendar.css';
import './styles/components/checkbox.css';
import './styles/components/error-page.css';
import './styles/components/event-item.css';
import './styles/components/fonts.css';
import './styles/components/hero.css';
import './styles/components/input.css';
import './styles/components/menu-vertical.css';
import './styles/components/menu.css';
import './styles/components/modal.css';
import './styles/components/most-read.css';
import './styles/components/nav.css';
import './styles/components/pagination.css';
import './styles/components/search-form.css';
import './styles/components/section-title.css';
import './styles/components/select.css';
import './styles/components/shared.css';
import './styles/components/socials.css';
import './styles/components/subscribe-form.css';
import './styles/components/subscription-form.css';
import './styles/components/tag.css';
import './styles/components/to-top.css';
import './styles/components/upcoming-events.css';

import { initCalendar } from './scripts/calendar.js';
import { initMenuVertical } from './scripts/menu-vertical.js';
import { initModal } from './scripts/modal.js';
import { initScrollToTop } from './scripts/scroll-to-top.js';

import { initHeader } from './scripts/header.js';
import { initSearchForm } from './scripts/search-form.js';
import { initSelect } from './scripts/select.js';
import { initSubscriptionForm } from './scripts/subscription-form.js';
import './styles/pages/main.css';

document.addEventListener('DOMContentLoaded', function () {
  initCalendar();
  initMenuVertical();
  initModal();
  initScrollToTop();
  initSearchForm();
  initSelect();
  initSubscriptionForm();
  initHeader();
});
