/*!
Theme Name: mnu_mind
Theme URI: http://mnu.kz/
Author: MNU DWTS
Author URI: http://mnu.kz/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mnu_mind
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mnu_mind is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* check lines */
/* * {
  outline: 1px solid limegreen !important;
} */

/* wysiwyg content style */

.wysiwyg-content {
  width: 100% !important;
}

.wysiwyg-content > * + * {
  margin-top: 1rem !important;
}

.wysiwyg-content h1 {
  font-size: 28px !important;
}

.wysiwyg-content h2 {
  font-size: 24px !important;
}

.wysiwyg-content h3 {
  font-size: 20px !important;
}

.wysiwyg-content h4 {
  font-size: 16px !important;
}

.wysiwyg-content p {
  font-size: 16px !important;
  font-weight: 300 !important;
}

/* wysiwyg table*/

.wysiwyg-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  font-size: 16px !important;
  font-weight: 300 !important;
}

.wysiwyg-content th,
.wysiwyg-content td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.wysiwyg-content th {
  background-color: #f4f4f4;
}

.wysiwyg-content ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 1em;
}

.wysiwyg-content ol li {
  margin-bottom: 0.5em;
  font-size: 16px !important;
  font-weight: 300 !important;
}

.wysiwyg-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 1em;
}

.wysiwyg-content ul li {
  margin-bottom: 0.5em;
  font-size: 16px !important;
  font-weight: 300 !important;
}

/* pagination */

.pagination .nav-links {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination .nav-links .page-numbers {
  padding: 10px 20px;
}

.pagination .nav-links .current {
  padding: 10px 20px;
  background-color: #d62e1f;
  color: white;
}

/* link animation underline */

h1 a,
.animated-hover,
.off-edge__title,
.news-card__title,
.events-card__title,
.media-card__title,
.single-article-content p a,
.archive-news-post .title {
  background: linear-gradient(
      to right,
      rgba(100, 200, 200, 0),
      rgba(100, 200, 200, 0)
    ),
    linear-gradient(to right, rgba(214, 46, 31, 1), rgba(214, 46, 31, 1));
  background-size: 100% 0.08em, 0 0.08em;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}

.single-article-content p a {
  background: linear-gradient(to right, rgb(195, 195, 195), rgb(195, 195, 195)),
    linear-gradient(to right, rgba(214, 46, 31, 1), rgba(214, 46, 31, 1));
  background-size: 100% 0.08em, 0 0.08em;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}

h1 a:hover,
h1 a:focus,
.animated-hover:hover,
.animated-hover:focus,
.off-edge__title:hover,
.off-edge__title:focus,
.news-card__title:hover,
.news-card__title:focus,
.media-card__title:hover,
.media-card__title:focus,
.events-card__title:hover,
.events-card__title:focus,
.single-article-content p a:hover,
.single-article-content p a:focus,
.archive-news-post .title:hover,
.archive-news-post .title:focus {
  background-size: 0 0.08em, 100% 0.08em;
}

@keyframes animeVisMenu {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes animeHideMenu {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}
