/*!
Theme Name: astro
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: astro
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.

astro 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 */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    height: 100%;
    margin: 0;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea{
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Roboto", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    body,
    button,
    input,
    select,
    optgroup,
    textarea {
        font-size: 14px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

.header__notice__c {
    margin: 20px 0;
    color: #FF5401;
}

.graph_will {
    margin: 20px 0;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.text__graph {
    margin: 20px 0;
    color: #FF5401;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}



li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;

}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
    padding: 0 20px;
}


.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #d40605;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-navigation .current_page_item {
    text-decoration: underline;
    color: #d40605;
}

.main-navigation .sub-menu a {
    background: #fff;
}

.main-navigation .sub-menu span {
    text-decoration: none;
    font-size: 18px;
    color: #000000;
    background: #fff;
}

.mob-menu {
    width: 100%;
    background: #f2540a;
    color: white;
    text-align: left;
}

@media screen and (max-width: 800px) {
    .main-navigation a {
        font-size: 14px;
    }

    .main-navigation .sub-menu span {
        font-size: 12px;
    }
}



@media screen and (max-width: 600px) {
    .nav-menudropdown {
        display: flex;
    }
    .menu-dandruff{
        display: flex;
    }
    .nav-menu {
        padding-left: 15px !important;
    }

    .nav-menu ul {
        background: #fff;
        padding-left: 15px;

    }

    .nav-menu li {
        padding: 5px 0;
    }


}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

/*.post,*/
/*.page {*/
/*	margin: 0 0 1.5em;*/
/*}*/

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


.container {
    max-width: 1024px;
    width: 100%;
    flex: 1 1 auto;
    margin: 0 auto;
}

/* HEADER of the site*/


.logo__title__container{
    display: flex;
}


.header {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.info__container {
    padding: 20px;
}

.logo__container {
    height: 83px;
    padding-top: 3px;
}

.logo__container img {
    width: 118px;
    height: 83px;
}

.heading__title__container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.site-title {
    margin: 0;
}

.site-title a:visited {
    color: #000000;
}

.title__heading {
    font-size: 54px;
    text-decoration: none;
    font-weight: 600;
    color: #0c0c0c;
}

@media screen and (max-width: 800px) {
    .logo__container {
        height: 66px;
        padding-top: 3px;
    }

    .logo__container img {
        width: 94px;
        height: 66px;
    }

    .heading__title__container {
        margin-left: 10px;
    }

    .title__heading {
        font-size: 34px;
    }
}

/* End of HEADER Site */

.footer-container {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.info__container {
    display: flex;
    justify-content: space-between;
}
.dandruff{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 0px 20px;
    box-sizing: border-box;
    color: #d40605;
    cursor: pointer;

}

.dandruff a {
    font-size: 30px;
    font-weight: bold;
    height: 40%;
    width: 100%;
    display: flex;
    justify-content: center;

    text-decoration: none;
    color: #fff; /* Adjust the text color */
    background-color: #007bff; /* Adjust the background color */
    transition: background-color 0.3s ease-in-out;
}

#decreaseFont{
    background-color: #6f6f6f;
    color: #FFEB00;
}

#increaseFont{
    background-color: #e0e0e0;
    color: #f2540a;
}

.dandruff a:hover {
    opacity: 0.9;
}
.nav-dandruff{
    display: flex;
    gap: 10px;
    width: 100%;
}
.menu-dandruff{
    display: none;
}
.menu-dandruff{
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    color: #FFEB00;
    cursor: pointer;


}



.nav-dandruff-decreaseFont{
    display:flex;
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    width: 100%;
}

.nav-dandruff-decreaseFont a{
    padding-right: 30px;

}

.nav-menudropdown{
    justify-content: space-around;

    width: 100%;
}
#menu-increaseFont{
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
}
.nav-dandruff-decreaseFont button{
    border: none;
    border-radius: 0px;
    width: 30%;

}

.menu-dandruff a {
    font-size: 30px;
    font-weight: bold;
    width: 100%;
    display: flex;
    justify-content: center;

    text-decoration: none;
    color: #fff; /* Adjust the text color */
    background-color: #007bff; /* Adjust the background color */
    transition: background-color 0.3s ease-in-out;
}

#menu-decreaseFont{
    background-color: #6f6f6f;
    color: #FFEB00;
}

#menu-increaseFont{
    background-color: #e0e0e0;
    color: #f2540a;
}

@media screen and (max-width: 600px) {
    .menu-dandruff {
        display: flex;
    }
    .dandruff{
        display: none;
    }
    .menu-dandruff a {
        font-size: 20px;
    }
}
@media screen and (min-width: 601px){
    #menu-increaseFont{
        border: none;
    }
    .nav-dandruff-decreaseFont{
        display:none;
        border: none;
    }
}

/* Upper yellow line */
.upper-line {
    width: 100%;
    height: 5px;
    background-color: #ffeb00;
}

.upper-line-thin {
    width: 100%;
    height: 4px;
    background-color: #ffeb00;
}

/* Lower red line */
.lower-line {
    width: 100%;
    height: 5px;
    background-color: #f2540a;
}

.lower-line-thin {
    width: 100%;
    height: 4px;
    background-color: #f2540a;
}

.upper-line-header {
    width: 100%;
    height: 15px;
    background-color: #ffeb00;
}

/* Lower red line */
.lower-line-header {
    width: 100%;
    height: 15px;
    background-color: #f2540a;
}



.container__about__text__img {
    width: 100%;
    display: flex;
}

.form-group {
    display: flex;
}

.sub-menu {
    display: flex;
    flex-direction: column;
}

#myChart {
    box-sizing: content-box !important;
    width: 100% !important;
    height: auto !important;
}

/* Square of Pythagoras */
.pifagor {
    background-color: #f1f1f1;
}

.stp {
        overflow-wrap: break-word;
    }

.pifagor-square {
    width: 100%;
    box-sizing: border-box;
}

.pifagor-square .kvad {
    border: 2px solid rgba(81, 71, 71, 0.3);
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.pifagor-square .kvad-row {
    background-color: #fff;
    display: flex;
}

.pifagor-square .kvad-row:nth-child(2n) {
    background-color: #eee;
}

.pifagor-square .kvad-dir {
    width: 327px;
    height: 326.67px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 2px solid rgba(81, 71, 71, 0.3);
    font-size: 22px;
    font-weight: 600;
}

.pifagor-square .kvad p {
    margin: 20px 0;
}

.pifagor-title {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #f2540a;
    margin: 20px 0;
}

.pifagor-text {
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
}

.pifagor-info {
    padding: 0 20px;
    font-size: 22px;
    font-weight: 600;
}

.pifagor-info-title {
    color: #f2540a;
}

@media screen and (max-width: 1024px) {
    .pifagor-square .kvad-dir {
        width: 252px;
        height: 252px;
    }
}

@media screen and (max-width: 800px) {
    .pifagor-square .kvad-dir {
        width: 185px;
        height: 185px;
        padding: 0;
        padding-bottom: 10px;
        font-size: 14px;
    }

    .pifagor-square .kvad p {
        margin: 0;
    }

    .pifagor-title {
        font-size: 14px;
    }

    .pifagor-text {
        font-size: 14px;
    }

    .pifagor-info {
        font-size: 14px;
    }
}

@media screen and (max-width: 600px) {
    .pifagor-square .kvad-dir {
        width: 118px;
        height: 118px;
    }
}

@media screen and (max-width: 400px) {
    .pifagor-square .kvad-dir {
        width: 105px;
        height: 105px;
    }
}

/* End Square of Pythagoras */

/* Schedule*/
.result {
    display: none;
    padding: 20px 20px;
    background-color: #000000;
    color: #ffffff;
    text-transform: uppercase;
    padding-bottom: 0;
}

.graph__container {
    padding: 10px 20px;
}

#birthday {
    color: #ff0000;
    margin-left: 10px;
    text-transform: uppercase;
}

#europeanZodiac {
    color: #ff0000;
    margin-left: 10px;
    text-transform: uppercase;
}

#age {
    color: #ff0000;
    margin-left: 10px;
    text-transform: uppercase;
}

#chineseZodiac {
    color: #ff0000;
    margin-left: 10px;
    text-transform: uppercase;
}

#element {
    color: #ff0000;
    margin-left: 10px;
    text-transform: uppercase;
}

#zodiacYear {
    color: #ff0000;
    margin-left: 10px;
    text-transform: uppercase;
}

#clear-button {
    background-color: #E8532B;
    color: white;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
}

#clear-button:hover {
    color: black;
}

#calc-button {
    background-color: #E8532B;
    color: white;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
}

#calc-button:hover {
    color: black;
}

#myChart {
    background-color: black;
    margin-top: 20px;
   
}

.item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.item::after {
    content: "";
    width: 50px;
    height: 3px;
    margin-left: 5px;
    background: #ffeb00;
    margin-top: 5px;
}

.item:nth-child(2)::after {
    background: #f2540a;
}

.castom {
    display: flex;
    justify-content: space-between;
}

.countGoro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

#birth-info-fields .birth-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    line-height: 1.6;
}

#birth-info-fields .birth-info-label {
    color: #ffffff;
}

#birth-info-fields .birth-info-value {
    color: #ff0000;
}

.birth-info-graph-link {
    background: none;
    border: none;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-transform: uppercase;
}

.birth-info-graph-link:hover {
    text-decoration: underline;
}

.birth-info-note {
    margin-top: 1px;
    margin-bottom: 3px;
    font-size: 25px;
    color: #ffffff;
    font-style: italic;
    text-transform: none;
    white-space: pre-line;
    line-height: normal;
}

/* End Schedule*/

/* Statistics page*/
.static {
    margin-left: 138px;
}

.static ul {
    margin-left: 0;
    padding-left: 0;
}

.static li {
    text-transform: none;
    font-size: 22px !important;
    font-weight: 600;
}

.static li span {
    margin-right: 30px;
}

.cutata {
    text-align: center;
}

.title_cutata {
    text-align: center;
    text-transform: uppercase;
    font-size: 22px !important;
    font-weight: 600;
}

.title_request {
    text-transform: uppercase;
    font-size: 22px !important;
    font-weight: 600;
}

.quote {
    width: 50%;
    margin: 0 auto;
}

.text_request {
    text-transform: none;
    font-size: 22px !important;
    font-weight: 600;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .static {
        margin-left: 50px;
    }

    .static li {
        font-size: 14px !important;
    }

    .cutata {
        width: 100%;
    }

    .title_cutata {
        font-size: 14px !important;
    }

    .title_request {
        font-size: 14px !important;
    }

    .text_request {
        font-size: 14px !important;
    }
}

/* End Page Statistics*/

/* FOOTER */


.link__item a {
    color: #E8E7DD;
    text-decoration: none;
}

.link__item a:hover {
    color: #CCCBC2;
}

.item__footer {
    color: white;
}

.site-footer {
    background-color: #f2540a;
    color: #E8E7DD;
    padding: 15px 0;
}

.footer__container__cust {
    display: flex;
    justify-content: space-around;
}

.copyright__container {
    display: flex;
    justify-content: center;
    color: #E8E7DD;
    margin-top: 10px;
}



/* End of FOOTER*/

/* Astrology page */

.astro__container {
    padding: 0 20px;
}

.page_form {
    padding: 0 20px;
}

.date_time_input_cust {
    margin-right: 5%;
}

.input_form_title {
    margin: 30px auto;
    text-align: center;
}

.input_form_btn {
    width: 30%;
    background-color: #ec812d;
    color: white;
    font-size: 20px;
}

.input_form {
    display: flex;
    width: 100%;
}

.input_form_lab {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-group_text {
    height: 35px;
    margin-top: 10px;
    background-color: #EEEEEE;
}

.input-group_btn {
    width: 45%;
    height: 40px;
    /*margin: 8px 30px;*/
    border-radius: 10px;
    color: white;
    background-color: #ec6c30;
}

.input-group_btn_2 {
    width: 45%;
    height: 40px;
    border-radius: 10px;
    color: white;
    background-color: #ec6c30;
}


.input_form label {
    margin-bottom: 10px;
}

input[type="submit"].input-group_btn {
    background-color: #f2540a;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

/*Change the color of the text on the hover button */
input[type="submit"].input-group_btn:hover {
    color: black;
}

input[type="submit"].input-group_btn_2 {
    background-color: #f2540a;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* Change the color of the text on the hover button*/
input[type="submit"].input-group_btn_2:hover {
    color: black;
}

input[type="submit"].input_form_btn {
    background-color: #f2540a;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Change the color of the text on the hover button */
input[type="submit"].input_form_btn:hover {
    color: black;
}

.input-group_email {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.label_email_cust {
    font-weight: 600;
}

/* Top line*/
.line-top {
    width: 100%;
    height: 5px;
    background-color: #ffeb00;
}

/* The bottom line */
.line-bottom {
    width: 100%;
    height: 5px;
    background-color: #FF0000;
}

.text_bold_cust {
    font-weight: 600;
}

.input_form_lab_index {
    display: inline-grid;
    justify-items: center;
}


.label-email-code {
    font-weight: bold;
}

.date_month_input_cust,
.date_year_input_cust,
.date_time_input_cust {
    margin-left: 5%;
}

.date_month_input_cust,
.date_day_input_cust,
.date_year_input_cust,
.date_time_input_cust {
    width: 95%;
}
@media (max-width: 600px) {
    .input-group_btn{
        width: 80%;
    }
    .input-group_btn_2{
        width: 80%;
    }
}
    /* End of page astroprognosis */

/* page about us */


.first_text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.first_virsh {
    flex: 1;
}

.color_yellom {
    background-color: #2c8d72;
}

.about_abzas {
    padding: 0 20px;
}

.about_abzas_sun {
    padding: 30px;
    color: white;
    width: 80%;
    margin: 0 auto;
}

.about_red {
    color: red;
    font-size: 22px;
    padding: 0 20px;
    text-transform: uppercase;
}

.about_yellom {
    color: #ffeb00;
}

@media screen and (max-width: 768px) {
    .first_text {
        flex-direction: column-reverse;
    }

    .first_img {
        order: 2;
    }

    .first_virsh {
        text-align: center;
    }

    .container_about {
        padding: 0 20px;
    }

    .about_red {
        font-size: 14px;
    }
}


/* End of page about us */

/* Privacy policy*/
@media screen and (max-width: 768px) {
    .policy {
        padding: 0 20px;
    }
}

/* breadcrumb */
#breadcrumbs {
    margin: 15px 20px;
}

#breadcrumbs span {
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
}

#breadcrumbs a {
    text-decoration: none;
    color: #0c0c0c;
}

@media screen and (max-width: 768px) {
    #breadcrumbs span {
        font-size: 14px;
    }
}

/* End of breadcrumb*/

/* verifydata */


    .button__group{
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 20px;
    }

    .input-group_btn{
        color: #fff !important;
        padding: 10px 50px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .input-group_btn:hover{
        color: black !important;
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

/* /verifydata */

.html-sitemap-list-item .html-sitemap-post-37,
.html-sitemap-list-item .html-sitemap-post-371,
.html-sitemap-list-item .html-sitemap-post-331,
.html-sitemap-list-item .html-sitemap-post-264,
.html-sitemap-list-item .html-sitemap-post-374,
.html-sitemap-list-item .html-sitemap-post-379,
.html-sitemap-list-item .html-sitemap-post-236,
.html-sitemap-list-item .html-sitemap-post-274,
.html-sitemap-list-item .html-sitemap-post-377,
.html-sitemap-list-item .html-sitemap-post-307{
    display: none;
}


.html-sitemap-post-377{
  display: none;
}
.html-sitemap-post-374{
display: none;
}

.icon_crown{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2%;
}
.icon_crown img {
    width: 15%;
}

/* counter */
.visitor-counter {
    background-color: #FFEB00;
    color: #F3540A;
    padding: 15px;
    margin: 0 0 10px 0;
    font-size: 18px;
    text-align: center;
}

/* quotes */

.identify-content{
     word-break: break-all;
}
.one-quote-container{
padding: 0 20px;
}
.img__quote__item__one{
    width: 100%;
}
.quote-one-item__info_head{
    display: flex;
    justify-content: space-between;
}

.show-more{
    display: flex;
    justify-content:space-between;
}

.show-more a {
            cursor: pointer;
            color: #d40605;
        }
        .show-more a:hover{
            text-decoration: underline;
        }
        .font-weight{
        font-weight: 600;
    }

.accordion-item__info_head{
    display: flex;
    justify-content: space-between;
}


 .accordion-item__info_head_modified {
     display: flex;
     justify-content: end;
 }


.container h1,h2,h3,h4,h5{
    margin: 0;
    padding: 0;
}
/*.container p{*/
/*    margin: 0 auto;*/
/*    padding: 0;*/
/*}*/


.quote-share {
    display: flex;
}

.share-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-button {
    margin-left: auto;
    cursor: pointer;
}

.copy-icon,
.email-icon {
    cursor: pointer;
}


.share-link,
.whatsapp-share-link,
.copy-icon,
.email-icon{
    text-decoration: none;
    display: none;
}

.quote-container {
    margin-bottom: 20px;
    padding:  0 20px;
}

.quote-content {
    font-style: italic;
}

.pagination {
    text-align: center;
    margin-top: 20px;
    color: #d40605;
}

.pagination span,
.pagination a {
    margin: 0 5px;
    color: #d40605;
    text-decoration: none;
}

.pagination span {
    text-decoration: underline;
}

.category-form {
    margin-bottom: 50px;
    padding: 0 20px;
}

.search-form {
    padding: 10px 20px;
}
.search-form input[type="text"] {
    width: 65.1%;
}
.accordion-item__info_head{
    display: flex;
    justify-content: space-between;
}


/* video page */

.image-content img {
    width: 100%;
}
.video__page__container{
    padding: 0 20px;
}

.video__item__container{
    display: flex;
    gap: 30px;
    padding-bottom: 10px;
}

.image__video__container{

    overflow: hidden;
    display: flex;
}

.social__link__video__container{
    display: flex;
    gap: 30px;
    width: 300px;

}

.date__video__container{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b1b1b1;
}

.search .search-form input#keyword{
    width: 65.1%;

}

.search-div {
    padding-bottom: 10px;
}
select#category{
    font-weight: 500;
    width: 48.3%;
}

.container{
   
    line-height: 1.15;
}

.pagination {
    text-align: center;
    margin-top: 20px;
    color: #d40605;

}

.pagination span,
.pagination a {
    margin: 0 5px;
    color: #d40605;
    text-decoration: none;
}

.pagination span {
    text-decoration: underline;
}



.social__link__video__container img{
    width: 80%;
}

.img__video__item{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.category{

    }


.image__video__container{
        width: 150px;
        height: 150px;
    }
    
    
.title__video__container,
 .descriptions__video__container{
         font-family: 'Roboto Flex';
    font-weight: 400;
    }
    
.descriptions__video__container{
    margin-top: 20px;
}
   .social__link__video__container{
       margin: 20px 0;
   }
   
.languages-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.lang-item{
     list-style: none;
}

.languages-navigation{
    width: unset;
    margin-right: 20px;
}

.sub-menu{
    width: 220px;
    display: none;
position: absolute;
    right: 0;
}

.sub-menu li{
    text-decoration: none;
    font-size: 18px;
    color: #d40605;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    padding: 2px 30px;
}

.languages-navigation:hover .sub-menu{
    display: flex;
}
.menu-languages-container ul {
    margin: 0;
}

.without__bread{
    justify-content: end;
      align-items: center;
      margin-top: 20px;
}

.languages-menu span{
color: #d40605;
}

.languages-menu a {
      text-decoration: none;
}

.languages-menu li{
    position: relative;

}

.pagination-container{
    margin-bottom: 15px;
}

.date__identify__video__container{
    display: flex;
    justify-content: space-between;
}
.identify__video__container{
display: flex;
justify-content: end;
}

.text__video__container{
    width: 100%;
}


/*Сторінка файлів*/
.btn__file__download {
  display: inline-block;
  position: relative;
  padding: 10px 50px;
  text-decoration: none;
  color: #ffffff; /* білий текст */
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(90deg, #d40605 50%, #a80000 50%); /* градієнт */
  background-size: 200% 100%;
  transition: background-position 0.3s;
}

.btn__file__download:hover {
  background-position: -100% 0;
}

.btn__file__download span {
  position: relative;
  z-index: 2;
}

.btn__file__download i {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #ffffff; /* білий колір іконки */
  transition: opacity 0.3s;
}


.ftp__page__container{
    padding: 0 20px;
}

.ftp__item__container{
    display: flex;
    gap: 30px;
    padding-bottom: 10px;
}

.date__ftp__container{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b1b1b1;
}

.image__ftp__container{
  width: 150px;
    height: 150px;
    overflow: hidden;
    display: flex;
}
.img__ftp__item{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.text__ftp__container{
    width: 100%;
}
.identify__ftp__container{
    display: flex;
    justify-content: end;
}

.descriptions__ftp__container{
    margin-top: 20px;
}

.footer__feedback {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__feedback p, a {
    text-decoration: none;
    color: #F3540A;
}

.btn__link__ftp_container{
    margin: 20px 0;
}

/*home*/

.form__group__button__cust{
    display: flex;
    justify-content: center;
    align-items: end;
}
    .form__group__cust {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .form__group__button__cust {
        width: 47%;
    }
    
    .change__input__date {
        width: 50%;
        display: flex;
        gap: 10px;
    }
    
    .change__input__date > div {
        width: 33%;
    }
    
    .change__input__date > div > input {
        width: 100%;
    }
    
    @media screen and (max-width: 600px) {
        .form__group__button__cust {
        width: 100%;
    }
    
    .change__input__date {
        width: 100%;
    }
    
    #clear-button {
        margin-left: 0;
    }
    }


@media screen and (max-width: 599px) {
/*Сторінка відео*/
    .title__video__container{
        display: contents;
    }

    .video__item__container{
        display: flex;
        flex-wrap: wrap;
    }

    .date__video__container{
        display: block;
    }

    .img{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info__video__container{
        width: 100%;
    }

    .identify__video__container{
        display: flex;
        justify-content: start;
        padding-bottom: 5px;
    }
    
    /*Сторінка файлів*/
    .ftp__page__container{
        display: contents;
    }

    .ftp__item__container{
        display: flex;
        flex-wrap: wrap;
        padding: 0 20px;
    }

    .date__ftp__container{
        display: block;
    }

    .img{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info__ftp__container{
        width: 100%;
    }

    .identify__ftp__container{
        display: flex;
        justify-content: start;
        padding-bottom: 5px;
    }
    .title__ftp__container{
        display: flex;
        justify-content: center;
    }
    .descriptions__ftp__container{
        display: flex;
        justify-content: center;
    }
    .btn__link__ftp_container{
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 470px) {
    .footer__container__cust {
        display: block;
        text-align: center;
    }

    .site-footer {
        padding: 20px;
    }
}