/* #98b8fe Melsva fono spalva. */

* {
    text-align: center;
}

@media (min-width: 50rem) {
    * {
        text-align: left;
    }
}

/* Antraštė su meniu. */
#header {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-top: 1rem;
}

.logo {
    height: 6rem;
    width: auto;
}

.menu {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    align-items: flex-end;
}

#menu-hamburger {
    height: 3rem;
    width: 3rem;
}

.menu-items {
    display: none;
    position: absolute;
    top: 3rem;
    z-index: 1000;
}

.menu-item {
    margin-top: 0.2rem;
    text-align: left;
    background: #98b8fe;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.icon-socials {
	height: 1.4rem;
	width: auto;
	padding-left: 1.5rem;
    padding-right: 0.5rem;
}

.menu-items-show {
    display: flex;
    flex-direction: column;
}

.menu-item-a {
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    margin-top: 1rem;
    white-space: nowrap;
}

.menu-item-a:hover {
    color: #faba4d;
}

@media (min-width: 50rem) {
    #header {
        max-width: 70rem;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
    }

    #menu-hamburger {
        display: none;
    }

    .menu-items {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .menu-item {
        background: transparent;
        padding-left: 0rem;
        padding-right: 0rem;
    }

    .menu-item-a {
        margin-left: 1rem;
    }
    
    #index-about-us-a {
        margin-top: 1rem;
        text-align: center;
    }
}

/* Nuoroda */
.href-custom-decoration {
    text-decoration: none;
    color: #000000;
}

.href-custom-decoration:hover {
    font-weight: bold;
    color: #faba4d;
    background: #4780fd;
}

/* Puslapio pavadinimas su fonine nuotrauka. */
.page-header-div {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('images/backgrounds/kindergarten-01-1920.jpg');
    background-size: cover;
    background-position: 50% 35%;
    background-repeat: no-repeat;
    height: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-header-title {
    color: #e6effd;
    font-size: 2rem;
    font-weight: bold;
}

@media (min-width: 50rem) {
    .page-header-title {
        text-align: center;
    }
}

.page-header-div-higher {
    height: 32rem;
}

/* Mygtuko stilius. */
.button-background-white {
    background: #ffffff;
    border: none;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 45px;
    transition: all 0.5s;
    font-size: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}

.button-background-white:hover {
    background: #315cfd;
    color: #ffffff;
    font-size: 1.2rem;
}

.button-background-blue {
    background: #98b8fe;
    border: none;
    color: #000000;
    display: inline-block;
    width: auto;
    align-self: center;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 45px;
    transition: all 0.5s;
    font-size: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}

.button-background-blue:hover {
    background: #4780fd;
    color: #ffffff;
    font-size: 1.2rem;
}

.button-send {
    width: 6rem;
    align-self: center;
}

/* Puslapio medžiaga. */
.page-material-div {
    padding-top: 0rem;
    padding-bottom: 2rem;
}

.page-material-div-elements {
    display: flex;
    flex-direction: column;
}


.page-material-div-with-photo {
    display: flex;
    flex-direction: column;
}

.page-material-photo {
    width: 100%;
    height: auto;
}

@media (min-width: 50rem) {
    .page-material-div-elements {
        flex-direction: row;
    }
    
    #form-faq-company-details-div, #form-faq {
        flex: 1;
    }
    
    .page-material-div-with-photo {
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
        padding-left: 4rem;
        padding-right: 4rem;
        max-width: 70rem;
    }
    
    .page-material-div-with-photo-div {
        flex: 0 0 65%;
        max-width: 65%;
    }
    
    .page-material-photo {
        flex: 0 0 35%;
        max-width: 35%;
        height: auto;
        width: auto;
        object-fit: contain;
    }
}

.page-material-div-background-01 {
    /*background-image: url('images/backgrounds/v972-45.jpg');*/
    background-image: url('images/backgrounds/rm183-nunny-15-without-waves.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-material-title {
    margin-top: 0rem;
    margin-bottom: 0rem;
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-material-description {
    line-height: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-material-registration-description-with-qr {
	display: flex;
	flex-direction: row;
}

.registration-qr-code {
	width: auto;
	height: 8rem;
	margin-left: 1rem;
}

.registration-address {
	margin-left: 4rem;
}

.page-material-description-bullet {
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.page-material-button-div {
    margin-top: 1rem;
}

@media (min-width: 50rem) {
    .page-material-div {
        max-width: 70rem;
        margin-left: auto;
        margin-right: auto;
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    .page-material-button-div {
        text-align: center;
    }
}

/* Puslapis "Privatumo politika" */
/* Lentelė */
#table-privacy-policy-goals, #table-privacy-policy-goals th, #table-privacy-policy-goals td {
    border: 1px solid black;
    border-collapse: collapse;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

#table-privacy-policy-goals {
    width: 100%;
    table-layout: fixed;  /* Užtikrinama, kad stulpeliai laikytųsi nustatyto pločio. */
}

#table-privacy-policy-goals th:nth-child(1) {
    width: 15%;
}

#table-privacy-policy-goals th:nth-child(2) {
    width: 30%;
}

#table-privacy-policy-goals th:nth-child(3) {
    width: 35%;
}

#table-privacy-policy-goals th:nth-child(4) {
    width: 20%;
}

#table-privacy-policy-cookies, #table-privacy-policy-cookies th, #table-privacy-policy-cookies td {
    border: 1px solid black;
    border-collapse: collapse;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

#table-privacy-policy-cookies {
    width: 100%;
    table-layout: fixed;  /* Užtikrinama, kad stulpeliai laikytųsi nustatyto pločio. */
}

#table-privacy-policy-cookies th:nth-child(1) {
    width: 20%;
}

#table-privacy-policy-cookies th:nth-child(2) {
    width: 60%;
}

#table-privacy-policy-cookies th:nth-child(3) {
    width: 20%;
}

/* Simboliai. */
.font-uppercase {
    text-transform: uppercase;
}

.font-color-black {
    color: #000000;
}

.font-color-red {
    color: #ff0000;
}

/*&#10059;*/
.font-mandatory-field-symbol {
    font-size: 0.5rem;
    vertical-align: super;
}

/* Poraštės eilučių spalvos. */
#footer {
    background: #97cbff;
}

#privacy-policy-div {
    background: #f9f9f9;
}

/*
#todo {
    background: #e6d4cb;
}

#version {
    background: #ceedd9;
}
*/

/* Puslapis "Apie". */
.staff-member {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.staff-member-photo {
    width: 10rem;
}

.staff-member-name {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.5rem;
    color: #03d078;
}

.staff-member-description {
}

.staff-member-description-paragraph {
    line-height: 1.5;
}


@media (min-width: 50rem) {
    .about-us-text {
        max-width: 70rem;
        margin-left: auto;
        margin-right: auto;
    }

    .staff-member {
        flex-direction: row;
        max-width: 70rem;
        margin-left: auto;
        margin-right: auto;
    }

    .staff-member-name {
        text-align: left;
        margin-top: 0rem;
        margin-left: 1rem;
    }

    .staff-member-description {
        text-align: left;
        margin-left: 1rem;
    }
}

/* Puslapis "DUK" */
#faq-div {
    width: 100%;
}

#faq-div {
    margin-bottom: 0.5rem;
}

.faq-question-div {
    background: #97cbff;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.faq-item {
    border-bottom: 2px solid #ffffff;

}

.faq-plus-sign {
    width: 1rem;
    height: 1rem;
}

.faq-plus-sign-rotated {
    transform: rotate(45deg);
}

.faq-question {
    font-weight: bold;
    text-align: left;
}

.faq-answer {
    display: none;
    padding: 0.5rem;
    background: #e6f2ff;
}

.faq-answer.active {
    display: block;
}

.faq-answer-header {
    color: #2e7d32;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.faq-answer-list {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.faq-answer-list li {
    text-align: left;
}

.explanation-div {
    text-align: left;
}

.explanation-div-bullet {
    font-size: 1.2rem;
}

.explanation-div-key {
    color: #d35400;
    font-weight: bold;
}

.explanation-margin {
    margin-top: 0.5rem;
}

@media (min-width: 50rem) {
    #faq-div {
        max-width: 70rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Puslapis "Anglų kalba" */
#table-lesson-price, #table-lesson-price th, #table-lesson-price td {
    border: 1px solid black;
    border-collapse: collapse;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

#table-lesson-price td {
    text-align: right;
}

#table-lesson-price th {
    background-color: #98b8fe;
    
}

#table-lesson-price {
    width: 20rem;
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;  /* Užtikrinama, kad stulpeliai laikytųsi nustatyto pločio. */
    margin-top: 0.5rem;
}

@media (min-width: 50rem) {
    #table-lesson-price th {
        text-align: center;
    }
}

.language-english-ul {
    list-style-type: none;
    padding-left: 0rem;
    margin-top: 0rem;
    
}

.language-english-ul li {
    text-align: left;
    position: relative;  /* Svarbu pseudoelemento pozicionavimui */
    padding-left: 1rem;  /* Vieta bullet simboliui */
}

.language-english-ul li::before {
    /*content: &#10039;*/
    content: "\2737";
    position: absolute;
    left: 0;  /* Fiksuota pozicija kairėje */
    
}

@media (min-width: 50rem) {
}

/* Forma */
.form-background-color {
    background: #97cbff;
}

.form-elements {
    display: flex;
    flex-direction: column;
}

.form-element {
    margin-top: 0.2rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.form-checkbox-div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.form-message-sent-success {
    display: none;
    color: #097233;
    font-weight: bold;
    align-self: center;
}

.form-message-sent-fail, .form-error {
    display: none;
    color: #ff0000;
    font-weight: bold;
    font-size: 0.8rem;
}

.form-message-sent-fail {
    align-self: center;
}

.form-checkbox-label {
    margin-left: 0.5rem;
}

#form-faq-question, #form-review-message {
    margin-top: 0.2rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 0.2rem;
}

@media (min-width: 50rem) {
    .form-element {
        margin-left: 0rem;
        margin-right: 0rem;
    }
    
    #form-faq-question, #form-review-message {
        margin-left: 0rem;
        margin-right: 0rem;
    }
}

/* Klausimo forma. */
#form-faq-company-details-div p {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.form-faq-company-details {
    font-weight: bold;
    font-size: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

#form-faq p {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

/* Registracijos į pamoką forma. */
#form-registration p {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

#form-registration-dob {
    width: 100%;
}


/* Puslapis "Darbai" */
.todo-table-stopped {
    background: #ff9779;
}

.todo-table-doing {
    background: #ece75f;
}

.todo-table-finished {
    background: #84e66a;
}

/* Puslapis 'Galerija' */
.gallery-section {
    padding: 2rem 1rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
    
}

.gallery-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.albums-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.album {
    width: 300px;
    cursor: pointer;
    transition: transform 0.3s;
}

.album:hover {
    transform: scale(1.03);
}

.album-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.album-title {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: bold;
    color: #333;
}

/* Modalinio lango stiliai */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 1200px;
    padding: 20px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.modal-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

.image-info {
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    max-width: 800px;
}

#imageCaption {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

#imageCounter {
    color: #ccc;
}

@media (max-width: 768px) {
    .album {
        width: 100%;
        max-width: 300px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* Slapukų pranešimas. */
.thumbnails-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 800px;
    width: 100%;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.modal-image {
    transition: opacity 0.3s ease;
}

/* Atsiliepimų kortelės */
#review-div {
	max-width: 70rem;
	margin: 2rem auto;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.review-card {
	background: #ffffff;
	border-radius: 1rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
	padding: 1.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:nth-child(4n+1) {
	background: #92c9fd;
}

.review-card:nth-child(4n+2) {
	background: #94d2fc;
}

.review-card:nth-child(4n+3) {
	background: #95dafb;
}

.review-card:nth-child(4n+4) {
	background: #97e2fa;
}

.review-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.review-text {
	font-size: 1.1rem;
	line-height: 1.5;
	color: #1e2a3a;
	margin: 0 0 0.75rem 0;
	font-style: normal;
	position: relative;
	padding-left: 1.2rem;
}

.review-text::before {
	content: "“";
	font-size: 2rem;
	color: #98b8fe;
	position: absolute;
	left: -0.2rem;
	top: -0.5rem;
	font-family: serif;
}

.review-author {
	text-align: right;
	font-weight: 600;
	color: #315cfd;
	margin: 0;
	font-size: 0.95rem;
	letter-spacing: 0.3px;
}

.review-author::before {
	content: "— ";
	color: #98b8fe;
}

@media (min-width: 50rem) {
	#review-div {
		padding: 0 2rem;
	}
	
	.review-text {
		font-size: 1.2rem;
	}
}
