/*
    Theme Name: Naturopathyschool
    Version: 1.0
    Author: itelniy | Email: itelniy.m@gmail.com | Telegram: @itelniy | itelniy.com
*/

section.text-block {
    padding: 30px 0;
}

section.text-block:first-child {
	padding-top: 60px;
}

section.text-block:last-child {
	padding-bottom: 60px;
}

section.text-block p,
section.text-block a {
    font-size: 20px;
    line-height: 120%;
    font-weight: 400;
    color: #111604;
}

section.text-block p {
    margin: 0 0 20px;
}

section.text-block a {
    color: #8BC020;
}

section.text-block a:hover {
    text-decoration: none;
}

section.text-block h1,
section.text-block h2,
section.text-block h3,
section.text-block h4,
section.text-block h5,
section.text-block h6 {
    color: #8BC020;
    font-size: 50px;
    margin: 0 0 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

section.text-block h2 {
    font-size: 45px;
}

section.text-block h3 {
    font-size: 40px;
}

section.text-block h4 {
    font-size: 35px;
}

section.text-block h5,
section.text-block h6 {
    font-size: 30px;
}

section.text-block strong,
section.text-block b {
	font-size: inherit;
	font-weight: bold;
}

@media (max-width: 991px) {
    section.text-block {
        padding: 20px 0;
    }

    section.text-block h1 {
        font-size: 20px;
        margin: 0 0 20px;
    }

    section.text-block h2,
    section.text-block h3,
    section.text-block h4,
    section.text-block h5,
    section.text-block h6 {
        font-size: 18px;
        margin: 0 0 20px;
    }

    section.text-block p,
    section.text-block a {
        font-size: 20px;
    }
}

section.students {
    padding-bottom: 50px;
}

section.students h2 {
    margin-bottom: 50px;
}

section.students .graduations .graduation {
    margin-bottom: 30px;
}

section.students .graduations .graduation:last-of-type {
    margin-bottom: 0;
}

section.students .graduations .graduation .graduation-name {
    font-size: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
    cursor: pointer;
}

section.students .flows {
    display: none;
}

section.students .flows .flow {
    margin-bottom: 15px;
}

section.students .graduations .graduation .graduation-name,
section.students .flows .flow-name {
	max-width: max-content;
	text-decoration: underline;
}

section.students .graduations .graduation .graduation-name:hover,
section.students .flows .flow-name:hover {
	text-decoration: none;
}

section.students .flows .flow:last-of-type {
    margin-bottom: 0;
}

section.students .flows .flow .flow-name {
    font-size: 25px;
    margin-bottom: 10px;
    cursor: pointer;
}

section.students .flows .flow .table {
    overflow-x: auto;
    display: none;
}

/* Table Styling */
section.students .flows .flow .table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #111604;
    table-layout: auto;
    min-width: 900px;
}

/* Table Body */
section.students .flows .flow .table tr:first-of-type td {
    background-color: #c7e8b0;
}

section.students .flows .flow .table td {
    padding: 10px;
    border: 1px solid #000;
    text-align: left;
    vertical-align: middle;
}

section.students .flows .flow .table td a {
    color: #8BC020;
}

section.students .flows .flow .table td a:hover {
    text-decoration: none;
}

@media (max-width: 991px) {
    section.students .graduations .graduation .graduation-name {
        font-size: 30px;
    }

    section.students .flows .flow .flow-name {
        font-size: 20px;
    }
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    section.students .flows .flow .table table {
        font-size: 12px; /* Smaller font size for smaller screens */
    }

    section.students .flows .flow .table th,
    section.students .flows .flow .table td {
        padding: 8px; /* Reduced padding for small screens */
    }
}

section.left-text-right-image {
    padding: 60px 0;
}

section.left-text-right-image .cols {
    display: flex;
    margin: 0 -20px;
}

section.left-text-right-image .cols .col {
    width: 50%;
    padding: 0 20px;
}

section.left-text-right-image .cols .col > img {
    display: block;
    width: 100%;
    height: auto;
}

section.left-text-right-image h2 {
    color: #8BC020;
    font-size: 45px;
    margin: 0 0 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

section.left-text-right-image .content p {
    font-size: 32px;
    line-height: 120%;
    font-weight: 400;
    color: #111604;
}

@media (max-width: 991px) {
    section.left-text-right-image h2 {
        font-size: 18px;
        margin: 0 0 20px;
    }

    section.left-text-right-image .content p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    section.left-text-right-image {
        padding: 20px 0;
    }

    section.left-text-right-image .cols {
        flex-direction: column;
        margin: 0;
    }

    section.left-text-right-image .cols .col {
        width: 100%;
        padding: 20px 0;
    }
}